// Updates the state when a the shipment states changes to a different state.
Updates the state when a the shipment states changes to a different state.
// Updates the state when a the shipment states changes to a different state .
func (c *Client) UpdateJobShipmentState(ctx context.Context, params *UpdateJobShipmentStateInput, optFns ...func(*Options)) (*UpdateJobShipmentStateOutput, error) {
	if params == nil {
		params = &UpdateJobShipmentStateInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "UpdateJobShipmentState", params, optFns, addOperationUpdateJobShipmentStateMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*UpdateJobShipmentStateOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) UpdateJobShipmentState ( ctx context . Context , params * UpdateJobShipmentStateInput , optFns ... func ( * Options ) ) ( * UpdateJobShipmentStateOutput , error ) { if params == nil { params = & UpdateJobShipmentStateInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationUpdateJobShipmentStateMiddlewares ) if err != nil { return nil , err } out := result . ( * UpdateJobShipmentStateOutput ) out . ResultMetadata = metadata return out , nil }
Updates the state when a the shipment states changes to a different state.
Updates the state when a the shipment states changes to a different state .