Snowball / Client / create_long_term_pricing

create_long_term_pricing#

Snowball.Client.create_long_term_pricing(**kwargs)#

Creates a job with the long-term usage option for a device. The long-term usage is a 1-year or 3-year long-term pricing type for the device. You are billed upfront, and Amazon Web Services provides discounts for long-term pricing.

See also: AWS API Documentation

Request Syntax

response = client.create_long_term_pricing(
    LongTermPricingType='OneYear'|'ThreeYear'|'OneMonth',
    IsLongTermPricingAutoRenew=True|False,
    SnowballType='STANDARD'|'EDGE'|'EDGE_C'|'EDGE_CG'|'EDGE_S'|'SNC1_HDD'|'SNC1_SSD'|'V3_5C'|'V3_5S'|'RACK_5U_C'
)
Parameters:
  • LongTermPricingType (string) –

    [REQUIRED]

    The type of long-term pricing option you want for the device, either 1-year or 3-year long-term pricing.

  • IsLongTermPricingAutoRenew (boolean) – Specifies whether the current long-term pricing type for the device should be renewed.

  • SnowballType (string) –

    [REQUIRED]

    The type of Snow Family devices to use for the long-term pricing job.

Return type:

dict

Returns:

Response Syntax

{
    'LongTermPricingId': 'string'
}

Response Structure

  • (dict) –

    • LongTermPricingId (string) –

      The ID of the long-term pricing type for the device.

Exceptions