// Reserves a contact using specified parameters.
Reserves a contact using specified parameters.
// Reserves a contact using specified parameters .
func (c *Client) ReserveContact(ctx context.Context, params *ReserveContactInput, optFns ...func(*Options)) (*ReserveContactOutput, error) {
	if params == nil {
		params = &ReserveContactInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ReserveContact", params, optFns, addOperationReserveContactMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ReserveContactOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ReserveContact ( ctx context . Context , params * ReserveContactInput , optFns ... func ( * Options ) ) ( * ReserveContactOutput , error ) { if params == nil { params = & ReserveContactInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationReserveContactMiddlewares ) if err != nil { return nil , err } out := result . ( * ReserveContactOutput ) out . ResultMetadata = metadata return out , nil }
Reserves a contact using specified parameters.
Reserves a contact using specified parameters .