// Start a test that verifies that the specified gateway is configured for High
// Availability monitoring in your host environment. This request only initiates
// the test and that a successful response only indicates that the test was
// started. It doesn't indicate that the test passed. For the status of the test,
// invoke the DescribeAvailabilityMonitorTest API. Starting this test will cause
// your gateway to go offline for a brief period.
Start a test that verifies that the specified gateway is configured for High
Availability monitoring in your host environment. This request only initiates
the test and that a successful response only indicates that the test was
started. It doesn't indicate that the test passed. For the status of the test,
invoke the DescribeAvailabilityMonitorTest API. Starting this test will cause
your gateway to go offline for a brief period.
// Start a test that verifies that the specified gateway is configured for High // Availability monitoring in your host environment . This request only initiates // the test and that a successful response only indicates that the test was // started . It doesn ' t indicate that the test passed . For the status of the test // invoke the DescribeAvailabilityMonitorTest API . Starting this test will cause // your gateway to go offline for a brief period .
func (c *Client) StartAvailabilityMonitorTest(ctx context.Context, params *StartAvailabilityMonitorTestInput, optFns ...func(*Options)) (*StartAvailabilityMonitorTestOutput, error) {
	if params == nil {
		params = &StartAvailabilityMonitorTestInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "StartAvailabilityMonitorTest", params, optFns, addOperationStartAvailabilityMonitorTestMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*StartAvailabilityMonitorTestOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) StartAvailabilityMonitorTest ( ctx context . Context , params * StartAvailabilityMonitorTestInput , optFns ... func ( * Options ) ) ( * StartAvailabilityMonitorTestOutput , error ) { if params == nil { params = & StartAvailabilityMonitorTestInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationStartAvailabilityMonitorTestMiddlewares ) if err != nil { return nil , err } out := result . ( * StartAvailabilityMonitorTestOutput ) out . ResultMetadata = metadata return out , nil }
Start a test that verifies that the specified gateway is configured for High
Availability monitoring in your host environment.
Start a test that verifies that the specified gateway is configured for High Availability monitoring in your host environment .