// Tests the connection between the replication instance and the endpoint.
Tests the connection between the replication instance and the endpoint.
// Tests the connection between the replication instance and the endpoint .
func (c *Client) TestConnection(ctx context.Context, params *TestConnectionInput, optFns ...func(*Options)) (*TestConnectionOutput, error) {
	if params == nil {
		params = &TestConnectionInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "TestConnection", params, optFns, addOperationTestConnectionMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*TestConnectionOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) TestConnection ( ctx context . Context , params * TestConnectionInput , optFns ... func ( * Options ) ) ( * TestConnectionOutput , error ) { if params == nil { params = & TestConnectionInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationTestConnectionMiddlewares ) if err != nil { return nil , err } out := result . ( * TestConnectionOutput ) out . ResultMetadata = metadata return out , nil }
Tests the connection between the replication instance and the endpoint.
Tests the connection between the replication instance and the endpoint .