// Creates a replication task using the specified parameters.
Creates a replication task using the specified parameters.
// Creates a replication task using the specified parameters .
func (c *Client) CreateReplicationTask(ctx context.Context, params *CreateReplicationTaskInput, optFns ...func(*Options)) (*CreateReplicationTaskOutput, error) {
	if params == nil {
		params = &CreateReplicationTaskInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "CreateReplicationTask", params, optFns, addOperationCreateReplicationTaskMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*CreateReplicationTaskOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) CreateReplicationTask ( ctx context . Context , params * CreateReplicationTaskInput , optFns ... func ( * Options ) ) ( * CreateReplicationTaskOutput , error ) { if params == nil { params = & CreateReplicationTaskInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationCreateReplicationTaskMiddlewares ) if err != nil { return nil , err } out := result . ( * CreateReplicationTaskOutput ) out . ResultMetadata = metadata return out , nil }
Creates a replication task using the specified parameters.
Creates a replication task using the specified parameters .