/// <summary>
 /// Update the shipment status.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='orderId'>
 /// An Amazon-defined order identifier, in 3-7-7 format.
 /// </param>
 /// <param name='payload'>
 /// Request to update the shipment status.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <UpdateShipmentStatusErrorResponse> UpdateShipmentStatusAsync(this IOrdersClient operations, string orderId, UpdateShipmentStatusRequest payload, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.UpdateShipmentStatusWithHttpMessagesAsync(orderId, payload, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Update the shipment status.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='orderId'>
 /// An Amazon-defined order identifier, in 3-7-7 format.
 /// </param>
 /// <param name='payload'>
 /// Request to update the shipment status.
 /// </param>
 public static UpdateShipmentStatusErrorResponse UpdateShipmentStatus(this IOrdersClient operations, string orderId, UpdateShipmentStatusRequest payload)
 {
     return(operations.UpdateShipmentStatusAsync(orderId, payload).GetAwaiter().GetResult());
 }