aws-sdk-snowball 1.37.0 → 1.38.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 32b9d815cdbff7de9384be11206dbf2eba044ffea3dd07cc07ee3302c92d5d38
4
- data.tar.gz: 7e6169e3e87764e74bf3cde665c0f5729f25a93c295fdc94f9e21943d736395e
3
+ metadata.gz: 7f38fafebd59d7a3ef0db441d634aeeb6fd7b1fa880222defaacead06b164ea3
4
+ data.tar.gz: d728face22753ff1e2417f36b2d51a2f0ef089a286dc0f53c407c64b44ee39c3
5
5
  SHA512:
6
- metadata.gz: edc1e5263f75eebd6855fd4b4975cf0301dd283deabd7ec78ba730316dd76564767fd991ca07354e4a7be97ce612c297250736096685bdfb926978cb68d3d03d
7
- data.tar.gz: 9f071db5d3096905d7fb2de833f470aa58fa458793a474a575ad0ec24a48fefac05f471e3da2a3fa1e0bc80c9714866b1925ed7f32b59ea7943fee81c2d56e1f
6
+ metadata.gz: fac63ec52404fd4967ca3dd8801b5e6c94576c525c8c10926303df76c0437d305d7a5de5c60512a645ab4031e82d4ff64186b86c21702725ca0aefb7ab9d0a1b
7
+ data.tar.gz: 6bdcd401010a6071bf2336a726885253d9d236fa6c796a821329fd7ea626ce6536d075a108bdd7882c2fc6ee8210d6e64484f6f56aa2acf61a9edba2954571b9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.38.0 (2021-05-06)
5
+ ------------------
6
+
7
+ * Feature - AWS Snow Family adds APIs for ordering and managing Snow jobs with long term pricing
8
+
4
9
  1.37.0 (2021-03-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.37.0
1
+ 1.38.0
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-snowball/customizations'
48
48
  # @!group service
49
49
  module Aws::Snowball
50
50
 
51
- GEM_VERSION = '1.37.0'
51
+ GEM_VERSION = '1.38.0'
52
52
 
53
53
  end
@@ -487,6 +487,12 @@ module Aws::Snowball
487
487
  # The type of job for this cluster. Currently, the only job type
488
488
  # supported for clusters is `LOCAL_USE`.
489
489
  #
490
+ # For more information, see
491
+ # "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html"
492
+ # (Snow Family Devices and Capacity) in the *Snowcone User Guide* or
493
+ # "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html"
494
+ # (Snow Family Devices and Capacity) in the *Snowcone User Guide*.
495
+ #
490
496
  # @option params [required, Types::JobResource] :resources
491
497
  # The resources associated with the cluster job. These resources include
492
498
  # Amazon S3 buckets and optional AWS Lambda functions written in the
@@ -517,7 +523,7 @@ module Aws::Snowball
517
523
  #
518
524
  # [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html
519
525
  #
520
- # @option params [String] :snowball_type
526
+ # @option params [required, String] :snowball_type
521
527
  # The type of AWS Snow Family device to use for this cluster.
522
528
  #
523
529
  # <note markdown="1"> For cluster jobs, AWS Snow Family currently supports only the `EDGE`
@@ -525,6 +531,12 @@ module Aws::Snowball
525
531
  #
526
532
  # </note>
527
533
  #
534
+ # For more information, see
535
+ # "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html"
536
+ # (Snow Family Devices and Capacity) in the *Snowcone User Guide* or
537
+ # "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html"
538
+ # (Snow Family Devices and Capacity) in the *Snowcone User Guide*.
539
+ #
528
540
  # @option params [required, String] :shipping_option
529
541
  # The shipping speed for each node in this cluster. This speed doesn't
530
542
  # dictate how soon you'll get each Snowball Edge device, rather it
@@ -642,7 +654,7 @@ module Aws::Snowball
642
654
  # address_id: "AddressId", # required
643
655
  # kms_key_arn: "KmsKeyARN",
644
656
  # role_arn: "RoleARN", # required
645
- # snowball_type: "STANDARD", # accepts STANDARD, EDGE, EDGE_C, EDGE_CG, EDGE_S, SNC1_HDD
657
+ # snowball_type: "STANDARD", # required, accepts STANDARD, EDGE, EDGE_C, EDGE_CG, EDGE_S, SNC1_HDD, SNC1_SSD
646
658
  # shipping_option: "SECOND_DAY", # required, accepts SECOND_DAY, NEXT_DAY, EXPRESS, STANDARD
647
659
  # notification: {
648
660
  # sns_topic_arn: "SnsTopicARN",
@@ -677,6 +689,97 @@ module Aws::Snowball
677
689
  # provide the `clusterId` value; the other job attributes are inherited
678
690
  # from the cluster.
679
691
  #
692
+ # <note markdown="1"> Only the Snowball; Edge device type is supported when ordering
693
+ # clustered jobs.
694
+ #
695
+ # The device capacity is optional.
696
+ #
697
+ # Availability of device types differ by AWS Region. For more
698
+ # information about region availability, see [AWS Regional Services][1].
699
+ #
700
+ # </note>
701
+ #
702
+ #
703
+ #
704
+ # **AWS Snow Family device types and their capacities.**
705
+ #
706
+ # * Snow Family device type: **SNC1\_SSD**
707
+ #
708
+ # * Capacity: T14
709
+ #
710
+ # * Description: Snowcone
711
+ #
712
+ #
713
+ #
714
+ # * Snow Family device type: **SNC1\_HDD**
715
+ #
716
+ # * Capacity: T8
717
+ #
718
+ # * Description: Snowcone
719
+ #
720
+ #
721
+ #
722
+ # * Device type: **EDGE\_S**
723
+ #
724
+ # * Capacity: T98
725
+ #
726
+ # * Description: Snowball Edge Storage Optimized for data transfer
727
+ # only
728
+ #
729
+ #
730
+ #
731
+ # * Device type: **EDGE\_CG**
732
+ #
733
+ # * Capacity: T42
734
+ #
735
+ # * Description: Snowball Edge Compute Optimized with GPU
736
+ #
737
+ #
738
+ #
739
+ # * Device type: **EDGE\_C**
740
+ #
741
+ # * Capacity: T42
742
+ #
743
+ # * Description: Snowball Edge Compute Optimized without GPU
744
+ #
745
+ #
746
+ #
747
+ # * Device type: **EDGE**
748
+ #
749
+ # * Capacity: T100
750
+ #
751
+ # * Description: Snowball Edge Storage Optimized with EC2 Compute
752
+ #
753
+ #
754
+ #
755
+ # * Device type: **STANDARD**
756
+ #
757
+ # * Capacity: T50
758
+ #
759
+ # * Description: Original Snowball device
760
+ #
761
+ # <note markdown="1"> This device is only available in the Ningxia, Beijing, and
762
+ # Singapore AWS Regions.
763
+ #
764
+ # </note>
765
+ #
766
+ #
767
+ #
768
+ # * Device type: **STANDARD**
769
+ #
770
+ # * Capacity: T80
771
+ #
772
+ # * Description: Original Snowball device
773
+ #
774
+ # <note markdown="1"> This device is only available in the Ningxia, Beijing, and
775
+ # Singapore AWS Regions.
776
+ #
777
+ # </note>
778
+ #
779
+ #
780
+ #
781
+ # [1]: https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/?p=ngi&amp;loc=4
782
+ #
680
783
  # @option params [String] :job_type
681
784
  # Defines the type of job that you're creating.
682
785
  #
@@ -723,6 +826,12 @@ module Aws::Snowball
723
826
  # option of specifying what size Snow device you'd like for this job.
724
827
  # In all other regions, Snowballs come with 80 TB in storage capacity.
725
828
  #
829
+ # For more information, see
830
+ # "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html"
831
+ # (Snow Family Devices and Capacity) in the *Snowcone User Guide* or
832
+ # "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html"
833
+ # (Snow Family Devices and Capacity) in the *Snowcone User Guide*.
834
+ #
726
835
  # @option params [String] :shipping_option
727
836
  # The shipping speed for this job. This speed doesn't dictate how soon
728
837
  # you'll get the Snow device, rather it represents how quickly the Snow
@@ -764,6 +873,12 @@ module Aws::Snowball
764
873
  # For more information, see [Snowball Edge Device Options][1] in the
765
874
  # Snowball Edge Developer Guide.
766
875
  #
876
+ # For more information, see
877
+ # "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html"
878
+ # (Snow Family Devices and Capacity) in the *Snowcone User Guide* or
879
+ # "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html"
880
+ # (Snow Family Devices and Capacity) in the *Snowcone User Guide*.
881
+ #
767
882
  #
768
883
  #
769
884
  # [1]: https://docs.aws.amazon.com/snowball/latest/developer-guide/device-differences.html
@@ -778,6 +893,15 @@ module Aws::Snowball
778
893
  # @option params [Types::DeviceConfiguration] :device_configuration
779
894
  # Defines the device configuration for an AWS Snowcone job.
780
895
  #
896
+ # For more information, see
897
+ # "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html"
898
+ # (Snow Family Devices and Capacity) in the *Snowcone User Guide* or
899
+ # "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html"
900
+ # (Snow Family Devices and Capacity) in the *Snowcone User Guide*.
901
+ #
902
+ # @option params [String] :long_term_pricing_id
903
+ # The ID of the long term pricing type for the device.
904
+ #
781
905
  # @return [Types::CreateJobResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
782
906
  #
783
907
  # * {Types::CreateJobResult#job_id #job_id} => String
@@ -854,7 +978,7 @@ module Aws::Snowball
854
978
  # address_id: "AddressId",
855
979
  # kms_key_arn: "KmsKeyARN",
856
980
  # role_arn: "RoleARN",
857
- # snowball_capacity_preference: "T50", # accepts T50, T80, T100, T42, T98, T8, NoPreference
981
+ # snowball_capacity_preference: "T50", # accepts T50, T80, T100, T42, T98, T8, T14, NoPreference
858
982
  # shipping_option: "SECOND_DAY", # accepts SECOND_DAY, NEXT_DAY, EXPRESS, STANDARD
859
983
  # notification: {
860
984
  # sns_topic_arn: "SnsTopicARN",
@@ -862,7 +986,7 @@ module Aws::Snowball
862
986
  # notify_all: false,
863
987
  # },
864
988
  # cluster_id: "ClusterId",
865
- # snowball_type: "STANDARD", # accepts STANDARD, EDGE, EDGE_C, EDGE_CG, EDGE_S, SNC1_HDD
989
+ # snowball_type: "STANDARD", # accepts STANDARD, EDGE, EDGE_C, EDGE_CG, EDGE_S, SNC1_HDD, SNC1_SSD
866
990
  # forwarding_address_id: "AddressId",
867
991
  # tax_documents: {
868
992
  # ind: {
@@ -876,6 +1000,7 @@ module Aws::Snowball
876
1000
  # },
877
1001
  # },
878
1002
  # },
1003
+ # long_term_pricing_id: "LongTermPricingId",
879
1004
  # })
880
1005
  #
881
1006
  # @example Response structure
@@ -891,6 +1016,48 @@ module Aws::Snowball
891
1016
  req.send_request(options)
892
1017
  end
893
1018
 
1019
+ # Creates a job with long term usage option for a device. The long term
1020
+ # usage is a one year or three year long term pricing type for the
1021
+ # device. You are billed upfront and AWS give discounts for long term
1022
+ # pricing. For detailed information see XXXXXXXX
1023
+ #
1024
+ # @option params [required, String] :long_term_pricing_type
1025
+ # The type of long term pricing option you want for the device - one
1026
+ # year or three year long term pricing.
1027
+ #
1028
+ # @option params [Boolean] :is_long_term_pricing_auto_renew
1029
+ # Specifies whether the current long term pricing type for the device
1030
+ # should be renewed.
1031
+ #
1032
+ # @option params [String] :snowball_type
1033
+ # The type of AWS Snow Family device to use for the long term pricing
1034
+ # job.
1035
+ #
1036
+ # @return [Types::CreateLongTermPricingResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1037
+ #
1038
+ # * {Types::CreateLongTermPricingResult#long_term_pricing_id #long_term_pricing_id} => String
1039
+ #
1040
+ # @example Request syntax with placeholder values
1041
+ #
1042
+ # resp = client.create_long_term_pricing({
1043
+ # long_term_pricing_type: "OneYear", # required, accepts OneYear, ThreeYear
1044
+ # is_long_term_pricing_auto_renew: false,
1045
+ # snowball_type: "STANDARD", # accepts STANDARD, EDGE, EDGE_C, EDGE_CG, EDGE_S, SNC1_HDD, SNC1_SSD
1046
+ # })
1047
+ #
1048
+ # @example Response structure
1049
+ #
1050
+ # resp.long_term_pricing_id #=> String
1051
+ #
1052
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CreateLongTermPricing AWS API Documentation
1053
+ #
1054
+ # @overload create_long_term_pricing(params = {})
1055
+ # @param [Hash] params ({})
1056
+ def create_long_term_pricing(params = {}, options = {})
1057
+ req = build_request(:create_long_term_pricing, params)
1058
+ req.send_request(options)
1059
+ end
1060
+
894
1061
  # Creates a shipping label that will be used to return the Snow device
895
1062
  # to AWS.
896
1063
  #
@@ -1138,7 +1305,7 @@ module Aws::Snowball
1138
1305
  # resp.cluster_metadata.role_arn #=> String
1139
1306
  # resp.cluster_metadata.cluster_state #=> String, one of "AwaitingQuorum", "Pending", "InUse", "Complete", "Cancelled"
1140
1307
  # resp.cluster_metadata.job_type #=> String, one of "IMPORT", "EXPORT", "LOCAL_USE"
1141
- # resp.cluster_metadata.snowball_type #=> String, one of "STANDARD", "EDGE", "EDGE_C", "EDGE_CG", "EDGE_S", "SNC1_HDD"
1308
+ # resp.cluster_metadata.snowball_type #=> String, one of "STANDARD", "EDGE", "EDGE_C", "EDGE_CG", "EDGE_S", "SNC1_HDD", "SNC1_SSD"
1142
1309
  # resp.cluster_metadata.creation_date #=> Time
1143
1310
  # resp.cluster_metadata.resources.s3_resources #=> Array
1144
1311
  # resp.cluster_metadata.resources.s3_resources[0].bucket_arn #=> String
@@ -1234,7 +1401,7 @@ module Aws::Snowball
1234
1401
  # resp.job_metadata.job_id #=> String
1235
1402
  # resp.job_metadata.job_state #=> String, one of "New", "PreparingAppliance", "PreparingShipment", "InTransitToCustomer", "WithCustomer", "InTransitToAWS", "WithAWSSortingFacility", "WithAWS", "InProgress", "Complete", "Cancelled", "Listing", "Pending"
1236
1403
  # resp.job_metadata.job_type #=> String, one of "IMPORT", "EXPORT", "LOCAL_USE"
1237
- # resp.job_metadata.snowball_type #=> String, one of "STANDARD", "EDGE", "EDGE_C", "EDGE_CG", "EDGE_S", "SNC1_HDD"
1404
+ # resp.job_metadata.snowball_type #=> String, one of "STANDARD", "EDGE", "EDGE_C", "EDGE_CG", "EDGE_S", "SNC1_HDD", "SNC1_SSD"
1238
1405
  # resp.job_metadata.creation_date #=> Time
1239
1406
  # resp.job_metadata.resources.s3_resources #=> Array
1240
1407
  # resp.job_metadata.resources.s3_resources[0].bucket_arn #=> String
@@ -1256,7 +1423,7 @@ module Aws::Snowball
1256
1423
  # resp.job_metadata.shipping_details.inbound_shipment.tracking_number #=> String
1257
1424
  # resp.job_metadata.shipping_details.outbound_shipment.status #=> String
1258
1425
  # resp.job_metadata.shipping_details.outbound_shipment.tracking_number #=> String
1259
- # resp.job_metadata.snowball_capacity_preference #=> String, one of "T50", "T80", "T100", "T42", "T98", "T8", "NoPreference"
1426
+ # resp.job_metadata.snowball_capacity_preference #=> String, one of "T50", "T80", "T100", "T42", "T98", "T8", "T14", "NoPreference"
1260
1427
  # resp.job_metadata.notification.sns_topic_arn #=> String
1261
1428
  # resp.job_metadata.notification.job_states_to_notify #=> Array
1262
1429
  # resp.job_metadata.notification.job_states_to_notify[0] #=> String, one of "New", "PreparingAppliance", "PreparingShipment", "InTransitToCustomer", "WithCustomer", "InTransitToAWS", "WithAWSSortingFacility", "WithAWS", "InProgress", "Complete", "Cancelled", "Listing", "Pending"
@@ -1272,11 +1439,12 @@ module Aws::Snowball
1272
1439
  # resp.job_metadata.forwarding_address_id #=> String
1273
1440
  # resp.job_metadata.tax_documents.ind.gstin #=> String
1274
1441
  # resp.job_metadata.device_configuration.snowcone_device_configuration.wireless_connection.is_wifi_enabled #=> Boolean
1442
+ # resp.job_metadata.long_term_pricing_id #=> String
1275
1443
  # resp.sub_job_metadata #=> Array
1276
1444
  # resp.sub_job_metadata[0].job_id #=> String
1277
1445
  # resp.sub_job_metadata[0].job_state #=> String, one of "New", "PreparingAppliance", "PreparingShipment", "InTransitToCustomer", "WithCustomer", "InTransitToAWS", "WithAWSSortingFacility", "WithAWS", "InProgress", "Complete", "Cancelled", "Listing", "Pending"
1278
1446
  # resp.sub_job_metadata[0].job_type #=> String, one of "IMPORT", "EXPORT", "LOCAL_USE"
1279
- # resp.sub_job_metadata[0].snowball_type #=> String, one of "STANDARD", "EDGE", "EDGE_C", "EDGE_CG", "EDGE_S", "SNC1_HDD"
1447
+ # resp.sub_job_metadata[0].snowball_type #=> String, one of "STANDARD", "EDGE", "EDGE_C", "EDGE_CG", "EDGE_S", "SNC1_HDD", "SNC1_SSD"
1280
1448
  # resp.sub_job_metadata[0].creation_date #=> Time
1281
1449
  # resp.sub_job_metadata[0].resources.s3_resources #=> Array
1282
1450
  # resp.sub_job_metadata[0].resources.s3_resources[0].bucket_arn #=> String
@@ -1298,7 +1466,7 @@ module Aws::Snowball
1298
1466
  # resp.sub_job_metadata[0].shipping_details.inbound_shipment.tracking_number #=> String
1299
1467
  # resp.sub_job_metadata[0].shipping_details.outbound_shipment.status #=> String
1300
1468
  # resp.sub_job_metadata[0].shipping_details.outbound_shipment.tracking_number #=> String
1301
- # resp.sub_job_metadata[0].snowball_capacity_preference #=> String, one of "T50", "T80", "T100", "T42", "T98", "T8", "NoPreference"
1469
+ # resp.sub_job_metadata[0].snowball_capacity_preference #=> String, one of "T50", "T80", "T100", "T42", "T98", "T8", "T14", "NoPreference"
1302
1470
  # resp.sub_job_metadata[0].notification.sns_topic_arn #=> String
1303
1471
  # resp.sub_job_metadata[0].notification.job_states_to_notify #=> Array
1304
1472
  # resp.sub_job_metadata[0].notification.job_states_to_notify[0] #=> String, one of "New", "PreparingAppliance", "PreparingShipment", "InTransitToCustomer", "WithCustomer", "InTransitToAWS", "WithAWSSortingFacility", "WithAWS", "InProgress", "Complete", "Cancelled", "Listing", "Pending"
@@ -1314,6 +1482,7 @@ module Aws::Snowball
1314
1482
  # resp.sub_job_metadata[0].forwarding_address_id #=> String
1315
1483
  # resp.sub_job_metadata[0].tax_documents.ind.gstin #=> String
1316
1484
  # resp.sub_job_metadata[0].device_configuration.snowcone_device_configuration.wireless_connection.is_wifi_enabled #=> Boolean
1485
+ # resp.sub_job_metadata[0].long_term_pricing_id #=> String
1317
1486
  #
1318
1487
  # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/DescribeJob AWS API Documentation
1319
1488
  #
@@ -1327,7 +1496,7 @@ module Aws::Snowball
1327
1496
  # Information on the shipping label of a Snow device that is being
1328
1497
  # returned to AWS.
1329
1498
  #
1330
- # @option params [String] :job_id
1499
+ # @option params [required, String] :job_id
1331
1500
  # The automatically generated ID for a job, for example
1332
1501
  # `JID123e4567-e89b-12d3-a456-426655440000`.
1333
1502
  #
@@ -1339,7 +1508,7 @@ module Aws::Snowball
1339
1508
  # @example Request syntax with placeholder values
1340
1509
  #
1341
1510
  # resp = client.describe_return_shipping_label({
1342
- # job_id: "JobId",
1511
+ # job_id: "JobId", # required
1343
1512
  # })
1344
1513
  #
1345
1514
  # @example Response structure
@@ -1374,7 +1543,7 @@ module Aws::Snowball
1374
1543
  # gaining access to the Snow device associated with that job.
1375
1544
  #
1376
1545
  # The credentials of a given job, including its manifest file and unlock
1377
- # code, expire 90 days after the job is created.
1546
+ # code, expire 360 days after the job is created.
1378
1547
  #
1379
1548
  # @option params [required, String] :job_id
1380
1549
  # The ID for a job that you want to get the manifest file for, for
@@ -1427,7 +1596,7 @@ module Aws::Snowball
1427
1596
  end
1428
1597
 
1429
1598
  # Returns the `UnlockCode` code value for the specified job. A
1430
- # particular `UnlockCode` value can be accessed for up to 90 days after
1599
+ # particular `UnlockCode` value can be accessed for up to 360 days after
1431
1600
  # the associated job has been created.
1432
1601
  #
1433
1602
  # The `UnlockCode` value is a 29-character code with 25 alphanumeric
@@ -1659,7 +1828,7 @@ module Aws::Snowball
1659
1828
  # resp.job_list_entries[0].job_state #=> String, one of "New", "PreparingAppliance", "PreparingShipment", "InTransitToCustomer", "WithCustomer", "InTransitToAWS", "WithAWSSortingFacility", "WithAWS", "InProgress", "Complete", "Cancelled", "Listing", "Pending"
1660
1829
  # resp.job_list_entries[0].is_master #=> Boolean
1661
1830
  # resp.job_list_entries[0].job_type #=> String, one of "IMPORT", "EXPORT", "LOCAL_USE"
1662
- # resp.job_list_entries[0].snowball_type #=> String, one of "STANDARD", "EDGE", "EDGE_C", "EDGE_CG", "EDGE_S", "SNC1_HDD"
1831
+ # resp.job_list_entries[0].snowball_type #=> String, one of "STANDARD", "EDGE", "EDGE_C", "EDGE_CG", "EDGE_S", "SNC1_HDD", "SNC1_SSD"
1663
1832
  # resp.job_list_entries[0].creation_date #=> Time
1664
1833
  # resp.job_list_entries[0].description #=> String
1665
1834
  # resp.next_token #=> String
@@ -1841,7 +2010,7 @@ module Aws::Snowball
1841
2010
  # resp.job_list_entries[0].job_state #=> String, one of "New", "PreparingAppliance", "PreparingShipment", "InTransitToCustomer", "WithCustomer", "InTransitToAWS", "WithAWSSortingFacility", "WithAWS", "InProgress", "Complete", "Cancelled", "Listing", "Pending"
1842
2011
  # resp.job_list_entries[0].is_master #=> Boolean
1843
2012
  # resp.job_list_entries[0].job_type #=> String, one of "IMPORT", "EXPORT", "LOCAL_USE"
1844
- # resp.job_list_entries[0].snowball_type #=> String, one of "STANDARD", "EDGE", "EDGE_C", "EDGE_CG", "EDGE_S", "SNC1_HDD"
2013
+ # resp.job_list_entries[0].snowball_type #=> String, one of "STANDARD", "EDGE", "EDGE_C", "EDGE_CG", "EDGE_S", "SNC1_HDD", "SNC1_SSD"
1845
2014
  # resp.job_list_entries[0].creation_date #=> Time
1846
2015
  # resp.job_list_entries[0].description #=> String
1847
2016
  # resp.next_token #=> String
@@ -1855,6 +2024,52 @@ module Aws::Snowball
1855
2024
  req.send_request(options)
1856
2025
  end
1857
2026
 
2027
+ # Lists all long term pricing types.
2028
+ #
2029
+ # @option params [Integer] :max_results
2030
+ # The maximum number of `ListLongTermPricing` objects to return.
2031
+ #
2032
+ # @option params [String] :next_token
2033
+ # Because HTTP requests are stateless, this is the starting point for
2034
+ # your next list of `ListLongTermPricing` to return.
2035
+ #
2036
+ # @return [Types::ListLongTermPricingResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2037
+ #
2038
+ # * {Types::ListLongTermPricingResult#long_term_pricing_entries #long_term_pricing_entries} => Array&lt;Types::LongTermPricingListEntry&gt;
2039
+ # * {Types::ListLongTermPricingResult#next_token #next_token} => String
2040
+ #
2041
+ # @example Request syntax with placeholder values
2042
+ #
2043
+ # resp = client.list_long_term_pricing({
2044
+ # max_results: 1,
2045
+ # next_token: "String",
2046
+ # })
2047
+ #
2048
+ # @example Response structure
2049
+ #
2050
+ # resp.long_term_pricing_entries #=> Array
2051
+ # resp.long_term_pricing_entries[0].long_term_pricing_id #=> String
2052
+ # resp.long_term_pricing_entries[0].long_term_pricing_end_date #=> Time
2053
+ # resp.long_term_pricing_entries[0].long_term_pricing_start_date #=> Time
2054
+ # resp.long_term_pricing_entries[0].long_term_pricing_type #=> String, one of "OneYear", "ThreeYear"
2055
+ # resp.long_term_pricing_entries[0].current_active_job #=> String
2056
+ # resp.long_term_pricing_entries[0].replacement_job #=> String
2057
+ # resp.long_term_pricing_entries[0].is_long_term_pricing_auto_renew #=> Boolean
2058
+ # resp.long_term_pricing_entries[0].long_term_pricing_status #=> String
2059
+ # resp.long_term_pricing_entries[0].snowball_type #=> String, one of "STANDARD", "EDGE", "EDGE_C", "EDGE_CG", "EDGE_S", "SNC1_HDD", "SNC1_SSD"
2060
+ # resp.long_term_pricing_entries[0].job_ids #=> Array
2061
+ # resp.long_term_pricing_entries[0].job_ids[0] #=> String
2062
+ # resp.next_token #=> String
2063
+ #
2064
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ListLongTermPricing AWS API Documentation
2065
+ #
2066
+ # @overload list_long_term_pricing(params = {})
2067
+ # @param [Hash] params ({})
2068
+ def list_long_term_pricing(params = {}, options = {})
2069
+ req = build_request(:list_long_term_pricing, params)
2070
+ req.send_request(options)
2071
+ end
2072
+
1858
2073
  # While a cluster's `ClusterState` value is in the `AwaitingQuorum`
1859
2074
  # state, you can update some of the information associated with a
1860
2075
  # cluster. Once the cluster changes to a different job state, usually 60
@@ -1999,6 +2214,12 @@ module Aws::Snowball
1999
2214
  # The updated `SnowballCapacityPreference` of this job's JobMetadata
2000
2215
  # object. The 50 TB Snowballs are only available in the US regions.
2001
2216
  #
2217
+ # For more information, see
2218
+ # "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html"
2219
+ # (Snow Family Devices and Capacity) in the *Snowcone User Guide* or
2220
+ # "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html"
2221
+ # (Snow Family Devices and Capacity) in the *Snowcone User Guide*.
2222
+ #
2002
2223
  # @option params [String] :forwarding_address_id
2003
2224
  # The updated ID for the forwarding address for a job. This field is not
2004
2225
  # supported in most regions.
@@ -2059,7 +2280,7 @@ module Aws::Snowball
2059
2280
  # address_id: "AddressId",
2060
2281
  # shipping_option: "SECOND_DAY", # accepts SECOND_DAY, NEXT_DAY, EXPRESS, STANDARD
2061
2282
  # description: "String",
2062
- # snowball_capacity_preference: "T50", # accepts T50, T80, T100, T42, T98, T8, NoPreference
2283
+ # snowball_capacity_preference: "T50", # accepts T50, T80, T100, T42, T98, T8, T14, NoPreference
2063
2284
  # forwarding_address_id: "AddressId",
2064
2285
  # })
2065
2286
  #
@@ -2104,6 +2325,39 @@ module Aws::Snowball
2104
2325
  req.send_request(options)
2105
2326
  end
2106
2327
 
2328
+ # Updates the long term pricing type.
2329
+ #
2330
+ # @option params [required, String] :long_term_pricing_id
2331
+ # The ID of the long term pricing type for the device.
2332
+ #
2333
+ # @option params [String] :replacement_job
2334
+ # Specifies that a device that is ordered with long term pricing should
2335
+ # be replaced with a new device.
2336
+ #
2337
+ # @option params [Boolean] :is_long_term_pricing_auto_renew
2338
+ # If set to `true`, specifies that the current long term pricing type
2339
+ # for the device should be automatically renewed before the long term
2340
+ # pricing contract expires.
2341
+ #
2342
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2343
+ #
2344
+ # @example Request syntax with placeholder values
2345
+ #
2346
+ # resp = client.update_long_term_pricing({
2347
+ # long_term_pricing_id: "LongTermPricingId", # required
2348
+ # replacement_job: "JobId",
2349
+ # is_long_term_pricing_auto_renew: false,
2350
+ # })
2351
+ #
2352
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/UpdateLongTermPricing AWS API Documentation
2353
+ #
2354
+ # @overload update_long_term_pricing(params = {})
2355
+ # @param [Hash] params ({})
2356
+ def update_long_term_pricing(params = {}, options = {})
2357
+ req = build_request(:update_long_term_pricing, params)
2358
+ req.send_request(options)
2359
+ end
2360
+
2107
2361
  # @!endgroup
2108
2362
 
2109
2363
  # @param params ({})
@@ -2117,7 +2371,7 @@ module Aws::Snowball
2117
2371
  params: params,
2118
2372
  config: config)
2119
2373
  context[:gem_name] = 'aws-sdk-snowball'
2120
- context[:gem_version] = '1.37.0'
2374
+ context[:gem_version] = '1.38.0'
2121
2375
  Seahorse::Client::Request.new(handlers, context)
2122
2376
  end
2123
2377
 
@@ -37,6 +37,8 @@ module Aws::Snowball
37
37
  CreateClusterResult = Shapes::StructureShape.new(name: 'CreateClusterResult')
38
38
  CreateJobRequest = Shapes::StructureShape.new(name: 'CreateJobRequest')
39
39
  CreateJobResult = Shapes::StructureShape.new(name: 'CreateJobResult')
40
+ CreateLongTermPricingRequest = Shapes::StructureShape.new(name: 'CreateLongTermPricingRequest')
41
+ CreateLongTermPricingResult = Shapes::StructureShape.new(name: 'CreateLongTermPricingResult')
40
42
  CreateReturnShippingLabelRequest = Shapes::StructureShape.new(name: 'CreateReturnShippingLabelRequest')
41
43
  CreateReturnShippingLabelResult = Shapes::StructureShape.new(name: 'CreateReturnShippingLabelResult')
42
44
  DataTransfer = Shapes::StructureShape.new(name: 'DataTransfer')
@@ -72,6 +74,7 @@ module Aws::Snowball
72
74
  InvalidJobStateException = Shapes::StructureShape.new(name: 'InvalidJobStateException')
73
75
  InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
74
76
  InvalidResourceException = Shapes::StructureShape.new(name: 'InvalidResourceException')
77
+ JavaBoolean = Shapes::BooleanShape.new(name: 'JavaBoolean')
75
78
  JobId = Shapes::StringShape.new(name: 'JobId')
76
79
  JobListEntry = Shapes::StructureShape.new(name: 'JobListEntry')
77
80
  JobListEntryList = Shapes::ListShape.new(name: 'JobListEntryList')
@@ -96,7 +99,14 @@ module Aws::Snowball
96
99
  ListJobsRequest = Shapes::StructureShape.new(name: 'ListJobsRequest')
97
100
  ListJobsResult = Shapes::StructureShape.new(name: 'ListJobsResult')
98
101
  ListLimit = Shapes::IntegerShape.new(name: 'ListLimit')
102
+ ListLongTermPricingRequest = Shapes::StructureShape.new(name: 'ListLongTermPricingRequest')
103
+ ListLongTermPricingResult = Shapes::StructureShape.new(name: 'ListLongTermPricingResult')
99
104
  Long = Shapes::IntegerShape.new(name: 'Long')
105
+ LongTermPricingAssociatedJobIdList = Shapes::ListShape.new(name: 'LongTermPricingAssociatedJobIdList')
106
+ LongTermPricingEntryList = Shapes::ListShape.new(name: 'LongTermPricingEntryList')
107
+ LongTermPricingId = Shapes::StringShape.new(name: 'LongTermPricingId')
108
+ LongTermPricingListEntry = Shapes::StructureShape.new(name: 'LongTermPricingListEntry')
109
+ LongTermPricingType = Shapes::StringShape.new(name: 'LongTermPricingType')
100
110
  Notification = Shapes::StructureShape.new(name: 'Notification')
101
111
  ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
102
112
  ReturnShippingLabelAlreadyExistsException = Shapes::StructureShape.new(name: 'ReturnShippingLabelAlreadyExistsException')
@@ -122,6 +132,8 @@ module Aws::Snowball
122
132
  UpdateJobResult = Shapes::StructureShape.new(name: 'UpdateJobResult')
123
133
  UpdateJobShipmentStateRequest = Shapes::StructureShape.new(name: 'UpdateJobShipmentStateRequest')
124
134
  UpdateJobShipmentStateResult = Shapes::StructureShape.new(name: 'UpdateJobShipmentStateResult')
135
+ UpdateLongTermPricingRequest = Shapes::StructureShape.new(name: 'UpdateLongTermPricingRequest')
136
+ UpdateLongTermPricingResult = Shapes::StructureShape.new(name: 'UpdateLongTermPricingResult')
125
137
  WirelessConnection = Shapes::StructureShape.new(name: 'WirelessConnection')
126
138
 
127
139
  Address.add_member(:address_id, Shapes::ShapeRef.new(shape: AddressId, location_name: "AddressId"))
@@ -201,7 +213,7 @@ module Aws::Snowball
201
213
  CreateClusterRequest.add_member(:address_id, Shapes::ShapeRef.new(shape: AddressId, required: true, location_name: "AddressId"))
202
214
  CreateClusterRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyARN, location_name: "KmsKeyARN"))
203
215
  CreateClusterRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, required: true, location_name: "RoleARN"))
204
- CreateClusterRequest.add_member(:snowball_type, Shapes::ShapeRef.new(shape: SnowballType, location_name: "SnowballType"))
216
+ CreateClusterRequest.add_member(:snowball_type, Shapes::ShapeRef.new(shape: SnowballType, required: true, location_name: "SnowballType"))
205
217
  CreateClusterRequest.add_member(:shipping_option, Shapes::ShapeRef.new(shape: ShippingOption, required: true, location_name: "ShippingOption"))
206
218
  CreateClusterRequest.add_member(:notification, Shapes::ShapeRef.new(shape: Notification, location_name: "Notification"))
207
219
  CreateClusterRequest.add_member(:forwarding_address_id, Shapes::ShapeRef.new(shape: AddressId, location_name: "ForwardingAddressId"))
@@ -225,11 +237,20 @@ module Aws::Snowball
225
237
  CreateJobRequest.add_member(:forwarding_address_id, Shapes::ShapeRef.new(shape: AddressId, location_name: "ForwardingAddressId"))
226
238
  CreateJobRequest.add_member(:tax_documents, Shapes::ShapeRef.new(shape: TaxDocuments, location_name: "TaxDocuments"))
227
239
  CreateJobRequest.add_member(:device_configuration, Shapes::ShapeRef.new(shape: DeviceConfiguration, location_name: "DeviceConfiguration"))
240
+ CreateJobRequest.add_member(:long_term_pricing_id, Shapes::ShapeRef.new(shape: LongTermPricingId, location_name: "LongTermPricingId"))
228
241
  CreateJobRequest.struct_class = Types::CreateJobRequest
229
242
 
230
243
  CreateJobResult.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
231
244
  CreateJobResult.struct_class = Types::CreateJobResult
232
245
 
246
+ CreateLongTermPricingRequest.add_member(:long_term_pricing_type, Shapes::ShapeRef.new(shape: LongTermPricingType, required: true, location_name: "LongTermPricingType"))
247
+ CreateLongTermPricingRequest.add_member(:is_long_term_pricing_auto_renew, Shapes::ShapeRef.new(shape: JavaBoolean, location_name: "IsLongTermPricingAutoRenew"))
248
+ CreateLongTermPricingRequest.add_member(:snowball_type, Shapes::ShapeRef.new(shape: SnowballType, location_name: "SnowballType"))
249
+ CreateLongTermPricingRequest.struct_class = Types::CreateLongTermPricingRequest
250
+
251
+ CreateLongTermPricingResult.add_member(:long_term_pricing_id, Shapes::ShapeRef.new(shape: LongTermPricingId, location_name: "LongTermPricingId"))
252
+ CreateLongTermPricingResult.struct_class = Types::CreateLongTermPricingResult
253
+
233
254
  CreateReturnShippingLabelRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
234
255
  CreateReturnShippingLabelRequest.add_member(:shipping_option, Shapes::ShapeRef.new(shape: ShippingOption, location_name: "ShippingOption"))
235
256
  CreateReturnShippingLabelRequest.struct_class = Types::CreateReturnShippingLabelRequest
@@ -270,7 +291,7 @@ module Aws::Snowball
270
291
  DescribeJobResult.add_member(:sub_job_metadata, Shapes::ShapeRef.new(shape: JobMetadataList, location_name: "SubJobMetadata"))
271
292
  DescribeJobResult.struct_class = Types::DescribeJobResult
272
293
 
273
- DescribeReturnShippingLabelRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
294
+ DescribeReturnShippingLabelRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
274
295
  DescribeReturnShippingLabelRequest.struct_class = Types::DescribeReturnShippingLabelRequest
275
296
 
276
297
  DescribeReturnShippingLabelResult.add_member(:status, Shapes::ShapeRef.new(shape: ShippingLabelStatus, location_name: "Status"))
@@ -372,6 +393,7 @@ module Aws::Snowball
372
393
  JobMetadata.add_member(:forwarding_address_id, Shapes::ShapeRef.new(shape: AddressId, location_name: "ForwardingAddressId"))
373
394
  JobMetadata.add_member(:tax_documents, Shapes::ShapeRef.new(shape: TaxDocuments, location_name: "TaxDocuments"))
374
395
  JobMetadata.add_member(:device_configuration, Shapes::ShapeRef.new(shape: DeviceConfiguration, location_name: "DeviceConfiguration"))
396
+ JobMetadata.add_member(:long_term_pricing_id, Shapes::ShapeRef.new(shape: LongTermPricingId, location_name: "LongTermPricingId"))
375
397
  JobMetadata.struct_class = Types::JobMetadata
376
398
 
377
399
  JobMetadataList.member = Shapes::ShapeRef.new(shape: JobMetadata)
@@ -429,6 +451,30 @@ module Aws::Snowball
429
451
  ListJobsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
430
452
  ListJobsResult.struct_class = Types::ListJobsResult
431
453
 
454
+ ListLongTermPricingRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListLimit, location_name: "MaxResults"))
455
+ ListLongTermPricingRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
456
+ ListLongTermPricingRequest.struct_class = Types::ListLongTermPricingRequest
457
+
458
+ ListLongTermPricingResult.add_member(:long_term_pricing_entries, Shapes::ShapeRef.new(shape: LongTermPricingEntryList, location_name: "LongTermPricingEntries"))
459
+ ListLongTermPricingResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
460
+ ListLongTermPricingResult.struct_class = Types::ListLongTermPricingResult
461
+
462
+ LongTermPricingAssociatedJobIdList.member = Shapes::ShapeRef.new(shape: JobId)
463
+
464
+ LongTermPricingEntryList.member = Shapes::ShapeRef.new(shape: LongTermPricingListEntry)
465
+
466
+ LongTermPricingListEntry.add_member(:long_term_pricing_id, Shapes::ShapeRef.new(shape: LongTermPricingId, location_name: "LongTermPricingId"))
467
+ LongTermPricingListEntry.add_member(:long_term_pricing_end_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LongTermPricingEndDate"))
468
+ LongTermPricingListEntry.add_member(:long_term_pricing_start_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LongTermPricingStartDate"))
469
+ LongTermPricingListEntry.add_member(:long_term_pricing_type, Shapes::ShapeRef.new(shape: LongTermPricingType, location_name: "LongTermPricingType"))
470
+ LongTermPricingListEntry.add_member(:current_active_job, Shapes::ShapeRef.new(shape: JobId, location_name: "CurrentActiveJob"))
471
+ LongTermPricingListEntry.add_member(:replacement_job, Shapes::ShapeRef.new(shape: JobId, location_name: "ReplacementJob"))
472
+ LongTermPricingListEntry.add_member(:is_long_term_pricing_auto_renew, Shapes::ShapeRef.new(shape: JavaBoolean, location_name: "IsLongTermPricingAutoRenew"))
473
+ LongTermPricingListEntry.add_member(:long_term_pricing_status, Shapes::ShapeRef.new(shape: String, location_name: "LongTermPricingStatus"))
474
+ LongTermPricingListEntry.add_member(:snowball_type, Shapes::ShapeRef.new(shape: SnowballType, location_name: "SnowballType"))
475
+ LongTermPricingListEntry.add_member(:job_ids, Shapes::ShapeRef.new(shape: LongTermPricingAssociatedJobIdList, location_name: "JobIds"))
476
+ LongTermPricingListEntry.struct_class = Types::LongTermPricingListEntry
477
+
432
478
  Notification.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: SnsTopicARN, location_name: "SnsTopicARN"))
433
479
  Notification.add_member(:job_states_to_notify, Shapes::ShapeRef.new(shape: JobStateList, location_name: "JobStatesToNotify"))
434
480
  Notification.add_member(:notify_all, Shapes::ShapeRef.new(shape: Boolean, location_name: "NotifyAll"))
@@ -492,6 +538,13 @@ module Aws::Snowball
492
538
 
493
539
  UpdateJobShipmentStateResult.struct_class = Types::UpdateJobShipmentStateResult
494
540
 
541
+ UpdateLongTermPricingRequest.add_member(:long_term_pricing_id, Shapes::ShapeRef.new(shape: LongTermPricingId, required: true, location_name: "LongTermPricingId"))
542
+ UpdateLongTermPricingRequest.add_member(:replacement_job, Shapes::ShapeRef.new(shape: JobId, location_name: "ReplacementJob"))
543
+ UpdateLongTermPricingRequest.add_member(:is_long_term_pricing_auto_renew, Shapes::ShapeRef.new(shape: JavaBoolean, location_name: "IsLongTermPricingAutoRenew"))
544
+ UpdateLongTermPricingRequest.struct_class = Types::UpdateLongTermPricingRequest
545
+
546
+ UpdateLongTermPricingResult.struct_class = Types::UpdateLongTermPricingResult
547
+
495
548
  WirelessConnection.add_member(:is_wifi_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsWifiEnabled"))
496
549
  WirelessConnection.struct_class = Types::WirelessConnection
497
550
 
@@ -571,6 +624,15 @@ module Aws::Snowball
571
624
  o.errors << Shapes::ShapeRef.new(shape: Ec2RequestFailedException)
572
625
  end)
573
626
 
627
+ api.add_operation(:create_long_term_pricing, Seahorse::Model::Operation.new.tap do |o|
628
+ o.name = "CreateLongTermPricing"
629
+ o.http_method = "POST"
630
+ o.http_request_uri = "/"
631
+ o.input = Shapes::ShapeRef.new(shape: CreateLongTermPricingRequest)
632
+ o.output = Shapes::ShapeRef.new(shape: CreateLongTermPricingResult)
633
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
634
+ end)
635
+
574
636
  api.add_operation(:create_return_shipping_label, Seahorse::Model::Operation.new.tap do |o|
575
637
  o.name = "CreateReturnShippingLabel"
576
638
  o.http_method = "POST"
@@ -720,6 +782,16 @@ module Aws::Snowball
720
782
  )
721
783
  end)
722
784
 
785
+ api.add_operation(:list_long_term_pricing, Seahorse::Model::Operation.new.tap do |o|
786
+ o.name = "ListLongTermPricing"
787
+ o.http_method = "POST"
788
+ o.http_request_uri = "/"
789
+ o.input = Shapes::ShapeRef.new(shape: ListLongTermPricingRequest)
790
+ o.output = Shapes::ShapeRef.new(shape: ListLongTermPricingResult)
791
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
792
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
793
+ end)
794
+
723
795
  api.add_operation(:update_cluster, Seahorse::Model::Operation.new.tap do |o|
724
796
  o.name = "UpdateCluster"
725
797
  o.http_method = "POST"
@@ -756,6 +828,15 @@ module Aws::Snowball
756
828
  o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
757
829
  o.errors << Shapes::ShapeRef.new(shape: InvalidJobStateException)
758
830
  end)
831
+
832
+ api.add_operation(:update_long_term_pricing, Seahorse::Model::Operation.new.tap do |o|
833
+ o.name = "UpdateLongTermPricing"
834
+ o.http_method = "POST"
835
+ o.http_request_uri = "/"
836
+ o.input = Shapes::ShapeRef.new(shape: UpdateLongTermPricingRequest)
837
+ o.output = Shapes::ShapeRef.new(shape: UpdateLongTermPricingResult)
838
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
839
+ end)
759
840
  end
760
841
 
761
842
  end
@@ -2,7 +2,7 @@
2
2
  # WARNING ABOUT GENERATED CODE
3
3
  #
4
4
  # This file is generated. See the contributing for info on making contributions:
5
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
6
6
  #
7
7
  # WARNING ABOUT GENERATED CODE
8
8
 
@@ -459,7 +459,7 @@ module Aws::Snowball
459
459
  # address_id: "AddressId", # required
460
460
  # kms_key_arn: "KmsKeyARN",
461
461
  # role_arn: "RoleARN", # required
462
- # snowball_type: "STANDARD", # accepts STANDARD, EDGE, EDGE_C, EDGE_CG, EDGE_S, SNC1_HDD
462
+ # snowball_type: "STANDARD", # required, accepts STANDARD, EDGE, EDGE_C, EDGE_CG, EDGE_S, SNC1_HDD, SNC1_SSD
463
463
  # shipping_option: "SECOND_DAY", # required, accepts SECOND_DAY, NEXT_DAY, EXPRESS, STANDARD
464
464
  # notification: {
465
465
  # sns_topic_arn: "SnsTopicARN",
@@ -477,6 +477,12 @@ module Aws::Snowball
477
477
  # @!attribute [rw] job_type
478
478
  # The type of job for this cluster. Currently, the only job type
479
479
  # supported for clusters is `LOCAL_USE`.
480
+ #
481
+ # For more information, see
482
+ # "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html"
483
+ # (Snow Family Devices and Capacity) in the *Snowcone User Guide* or
484
+ # "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html"
485
+ # (Snow Family Devices and Capacity) in the *Snowcone User Guide*.
480
486
  # @return [String]
481
487
  #
482
488
  # @!attribute [rw] resources
@@ -521,6 +527,12 @@ module Aws::Snowball
521
527
  # device type.
522
528
  #
523
529
  # </note>
530
+ #
531
+ # For more information, see
532
+ # "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html"
533
+ # (Snow Family Devices and Capacity) in the *Snowcone User Guide* or
534
+ # "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html"
535
+ # (Snow Family Devices and Capacity) in the *Snowcone User Guide*.
524
536
  # @return [String]
525
537
  #
526
538
  # @!attribute [rw] shipping_option
@@ -638,7 +650,7 @@ module Aws::Snowball
638
650
  # address_id: "AddressId",
639
651
  # kms_key_arn: "KmsKeyARN",
640
652
  # role_arn: "RoleARN",
641
- # snowball_capacity_preference: "T50", # accepts T50, T80, T100, T42, T98, T8, NoPreference
653
+ # snowball_capacity_preference: "T50", # accepts T50, T80, T100, T42, T98, T8, T14, NoPreference
642
654
  # shipping_option: "SECOND_DAY", # accepts SECOND_DAY, NEXT_DAY, EXPRESS, STANDARD
643
655
  # notification: {
644
656
  # sns_topic_arn: "SnsTopicARN",
@@ -646,7 +658,7 @@ module Aws::Snowball
646
658
  # notify_all: false,
647
659
  # },
648
660
  # cluster_id: "ClusterId",
649
- # snowball_type: "STANDARD", # accepts STANDARD, EDGE, EDGE_C, EDGE_CG, EDGE_S, SNC1_HDD
661
+ # snowball_type: "STANDARD", # accepts STANDARD, EDGE, EDGE_C, EDGE_CG, EDGE_S, SNC1_HDD, SNC1_SSD
650
662
  # forwarding_address_id: "AddressId",
651
663
  # tax_documents: {
652
664
  # ind: {
@@ -660,6 +672,7 @@ module Aws::Snowball
660
672
  # },
661
673
  # },
662
674
  # },
675
+ # long_term_pricing_id: "LongTermPricingId",
663
676
  # }
664
677
  #
665
678
  # @!attribute [rw] job_type
@@ -713,6 +726,12 @@ module Aws::Snowball
713
726
  # If your job is being created in one of the US regions, you have the
714
727
  # option of specifying what size Snow device you'd like for this job.
715
728
  # In all other regions, Snowballs come with 80 TB in storage capacity.
729
+ #
730
+ # For more information, see
731
+ # "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html"
732
+ # (Snow Family Devices and Capacity) in the *Snowcone User Guide* or
733
+ # "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html"
734
+ # (Snow Family Devices and Capacity) in the *Snowcone User Guide*.
716
735
  # @return [String]
717
736
  #
718
737
  # @!attribute [rw] shipping_option
@@ -760,6 +779,12 @@ module Aws::Snowball
760
779
  # For more information, see [Snowball Edge Device Options][1] in the
761
780
  # Snowball Edge Developer Guide.
762
781
  #
782
+ # For more information, see
783
+ # "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html"
784
+ # (Snow Family Devices and Capacity) in the *Snowcone User Guide* or
785
+ # "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html"
786
+ # (Snow Family Devices and Capacity) in the *Snowcone User Guide*.
787
+ #
763
788
  #
764
789
  #
765
790
  # [1]: https://docs.aws.amazon.com/snowball/latest/developer-guide/device-differences.html
@@ -776,8 +801,18 @@ module Aws::Snowball
776
801
  #
777
802
  # @!attribute [rw] device_configuration
778
803
  # Defines the device configuration for an AWS Snowcone job.
804
+ #
805
+ # For more information, see
806
+ # "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html"
807
+ # (Snow Family Devices and Capacity) in the *Snowcone User Guide* or
808
+ # "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html"
809
+ # (Snow Family Devices and Capacity) in the *Snowcone User Guide*.
779
810
  # @return [Types::DeviceConfiguration]
780
811
  #
812
+ # @!attribute [rw] long_term_pricing_id
813
+ # The ID of the long term pricing type for the device.
814
+ # @return [String]
815
+ #
781
816
  # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CreateJobRequest AWS API Documentation
782
817
  #
783
818
  class CreateJobRequest < Struct.new(
@@ -794,7 +829,8 @@ module Aws::Snowball
794
829
  :snowball_type,
795
830
  :forwarding_address_id,
796
831
  :tax_documents,
797
- :device_configuration)
832
+ :device_configuration,
833
+ :long_term_pricing_id)
798
834
  SENSITIVE = []
799
835
  include Aws::Structure
800
836
  end
@@ -812,6 +848,52 @@ module Aws::Snowball
812
848
  include Aws::Structure
813
849
  end
814
850
 
851
+ # @note When making an API call, you may pass CreateLongTermPricingRequest
852
+ # data as a hash:
853
+ #
854
+ # {
855
+ # long_term_pricing_type: "OneYear", # required, accepts OneYear, ThreeYear
856
+ # is_long_term_pricing_auto_renew: false,
857
+ # snowball_type: "STANDARD", # accepts STANDARD, EDGE, EDGE_C, EDGE_CG, EDGE_S, SNC1_HDD, SNC1_SSD
858
+ # }
859
+ #
860
+ # @!attribute [rw] long_term_pricing_type
861
+ # The type of long term pricing option you want for the device - one
862
+ # year or three year long term pricing.
863
+ # @return [String]
864
+ #
865
+ # @!attribute [rw] is_long_term_pricing_auto_renew
866
+ # Specifies whether the current long term pricing type for the device
867
+ # should be renewed.
868
+ # @return [Boolean]
869
+ #
870
+ # @!attribute [rw] snowball_type
871
+ # The type of AWS Snow Family device to use for the long term pricing
872
+ # job.
873
+ # @return [String]
874
+ #
875
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CreateLongTermPricingRequest AWS API Documentation
876
+ #
877
+ class CreateLongTermPricingRequest < Struct.new(
878
+ :long_term_pricing_type,
879
+ :is_long_term_pricing_auto_renew,
880
+ :snowball_type)
881
+ SENSITIVE = []
882
+ include Aws::Structure
883
+ end
884
+
885
+ # @!attribute [rw] long_term_pricing_id
886
+ # The ID of the long term pricing type for the device.
887
+ # @return [String]
888
+ #
889
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CreateLongTermPricingResult AWS API Documentation
890
+ #
891
+ class CreateLongTermPricingResult < Struct.new(
892
+ :long_term_pricing_id)
893
+ SENSITIVE = []
894
+ include Aws::Structure
895
+ end
896
+
815
897
  # @note When making an API call, you may pass CreateReturnShippingLabelRequest
816
898
  # data as a hash:
817
899
  #
@@ -1046,7 +1128,7 @@ module Aws::Snowball
1046
1128
  # data as a hash:
1047
1129
  #
1048
1130
  # {
1049
- # job_id: "JobId",
1131
+ # job_id: "JobId", # required
1050
1132
  # }
1051
1133
  #
1052
1134
  # @!attribute [rw] job_id
@@ -1227,7 +1309,7 @@ module Aws::Snowball
1227
1309
 
1228
1310
  # @!attribute [rw] unlock_code
1229
1311
  # The `UnlockCode` value for the specified job. The `UnlockCode` value
1230
- # can be accessed for up to 90 days after the job has been created.
1312
+ # can be accessed for up to 360 days after the job has been created.
1231
1313
  # @return [String]
1232
1314
  #
1233
1315
  # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/GetJobUnlockCodeResult AWS API Documentation
@@ -1569,6 +1651,12 @@ module Aws::Snowball
1569
1651
  # The Snow device capacity preference for this job, specified at job
1570
1652
  # creation. In US regions, you can choose between 50 TB and 80 TB
1571
1653
  # Snowballs. All other regions use 80 TB capacity Snowballs.
1654
+ #
1655
+ # For more information, see
1656
+ # "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html"
1657
+ # (Snow Family Devices and Capacity) in the *Snowcone User Guide* or
1658
+ # "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html"
1659
+ # (Snow Family Devices and Capacity) in the *Snowcone User Guide*.
1572
1660
  # @return [String]
1573
1661
  #
1574
1662
  # @!attribute [rw] notification
@@ -1613,6 +1701,10 @@ module Aws::Snowball
1613
1701
  # The container for `SnowconeDeviceConfiguration`.
1614
1702
  # @return [Types::DeviceConfiguration]
1615
1703
  #
1704
+ # @!attribute [rw] long_term_pricing_id
1705
+ # The ID of the long term pricing type for the device.
1706
+ # @return [String]
1707
+ #
1616
1708
  # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/JobMetadata AWS API Documentation
1617
1709
  #
1618
1710
  class JobMetadata < Struct.new(
@@ -1634,7 +1726,8 @@ module Aws::Snowball
1634
1726
  :cluster_id,
1635
1727
  :forwarding_address_id,
1636
1728
  :tax_documents,
1637
- :device_configuration)
1729
+ :device_configuration,
1730
+ :long_term_pricing_id)
1638
1731
  SENSITIVE = []
1639
1732
  include Aws::Structure
1640
1733
  end
@@ -1973,6 +2066,116 @@ module Aws::Snowball
1973
2066
  include Aws::Structure
1974
2067
  end
1975
2068
 
2069
+ # @note When making an API call, you may pass ListLongTermPricingRequest
2070
+ # data as a hash:
2071
+ #
2072
+ # {
2073
+ # max_results: 1,
2074
+ # next_token: "String",
2075
+ # }
2076
+ #
2077
+ # @!attribute [rw] max_results
2078
+ # The maximum number of `ListLongTermPricing` objects to return.
2079
+ # @return [Integer]
2080
+ #
2081
+ # @!attribute [rw] next_token
2082
+ # Because HTTP requests are stateless, this is the starting point for
2083
+ # your next list of `ListLongTermPricing` to return.
2084
+ # @return [String]
2085
+ #
2086
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ListLongTermPricingRequest AWS API Documentation
2087
+ #
2088
+ class ListLongTermPricingRequest < Struct.new(
2089
+ :max_results,
2090
+ :next_token)
2091
+ SENSITIVE = []
2092
+ include Aws::Structure
2093
+ end
2094
+
2095
+ # @!attribute [rw] long_term_pricing_entries
2096
+ # Each `LongTermPricingEntry` object contains a status, ID, and other
2097
+ # information about the `LongTermPricing` type.
2098
+ # @return [Array<Types::LongTermPricingListEntry>]
2099
+ #
2100
+ # @!attribute [rw] next_token
2101
+ # Because HTTP requests are stateless, this is the starting point for
2102
+ # your next list of returned `ListLongTermPricing` list.
2103
+ # @return [String]
2104
+ #
2105
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ListLongTermPricingResult AWS API Documentation
2106
+ #
2107
+ class ListLongTermPricingResult < Struct.new(
2108
+ :long_term_pricing_entries,
2109
+ :next_token)
2110
+ SENSITIVE = []
2111
+ include Aws::Structure
2112
+ end
2113
+
2114
+ # Each `LongTermPricingListEntry` object contains information about a
2115
+ # long term pricing type.
2116
+ #
2117
+ # @!attribute [rw] long_term_pricing_id
2118
+ # The ID of the long term pricing type for the device.
2119
+ # @return [String]
2120
+ #
2121
+ # @!attribute [rw] long_term_pricing_end_date
2122
+ # The end date the long term pricing contract.
2123
+ # @return [Time]
2124
+ #
2125
+ # @!attribute [rw] long_term_pricing_start_date
2126
+ # The start date of the long term pricing contract.
2127
+ # @return [Time]
2128
+ #
2129
+ # @!attribute [rw] long_term_pricing_type
2130
+ # The type of long term pricing that was selected for the device.
2131
+ # @return [String]
2132
+ #
2133
+ # @!attribute [rw] current_active_job
2134
+ # The current active jobs on the device the long term pricing type.
2135
+ # @return [String]
2136
+ #
2137
+ # @!attribute [rw] replacement_job
2138
+ # A new device that replaces a device that is ordered with long term
2139
+ # pricing.
2140
+ # @return [String]
2141
+ #
2142
+ # @!attribute [rw] is_long_term_pricing_auto_renew
2143
+ # If set to `true`, specifies that the current long term pricing type
2144
+ # for the device should be automatically renewed before the long term
2145
+ # pricing contract expires.
2146
+ # @return [Boolean]
2147
+ #
2148
+ # @!attribute [rw] long_term_pricing_status
2149
+ # The status of the long term pricing type.
2150
+ # @return [String]
2151
+ #
2152
+ # @!attribute [rw] snowball_type
2153
+ # The type of AWS Snow Family device associated with this long term
2154
+ # pricing job.
2155
+ # @return [String]
2156
+ #
2157
+ # @!attribute [rw] job_ids
2158
+ # The IDs of the jobs that are associated with a long term pricing
2159
+ # type.
2160
+ # @return [Array<String>]
2161
+ #
2162
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/LongTermPricingListEntry AWS API Documentation
2163
+ #
2164
+ class LongTermPricingListEntry < Struct.new(
2165
+ :long_term_pricing_id,
2166
+ :long_term_pricing_end_date,
2167
+ :long_term_pricing_start_date,
2168
+ :long_term_pricing_type,
2169
+ :current_active_job,
2170
+ :replacement_job,
2171
+ :is_long_term_pricing_auto_renew,
2172
+ :long_term_pricing_status,
2173
+ :snowball_type,
2174
+ :job_ids)
2175
+ SENSITIVE = []
2176
+ include Aws::Structure
2177
+ end
2178
+
1976
2179
  # The Amazon Simple Notification Service (Amazon SNS) notification
1977
2180
  # settings associated with a specific job. The `Notification` object is
1978
2181
  # returned as a part of the response syntax of the `DescribeJob` action
@@ -2355,7 +2558,7 @@ module Aws::Snowball
2355
2558
  # address_id: "AddressId",
2356
2559
  # shipping_option: "SECOND_DAY", # accepts SECOND_DAY, NEXT_DAY, EXPRESS, STANDARD
2357
2560
  # description: "String",
2358
- # snowball_capacity_preference: "T50", # accepts T50, T80, T100, T42, T98, T8, NoPreference
2561
+ # snowball_capacity_preference: "T50", # accepts T50, T80, T100, T42, T98, T8, T14, NoPreference
2359
2562
  # forwarding_address_id: "AddressId",
2360
2563
  # }
2361
2564
  #
@@ -2398,6 +2601,12 @@ module Aws::Snowball
2398
2601
  # @!attribute [rw] snowball_capacity_preference
2399
2602
  # The updated `SnowballCapacityPreference` of this job's JobMetadata
2400
2603
  # object. The 50 TB Snowballs are only available in the US regions.
2604
+ #
2605
+ # For more information, see
2606
+ # "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html"
2607
+ # (Snow Family Devices and Capacity) in the *Snowcone User Guide* or
2608
+ # "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html"
2609
+ # (Snow Family Devices and Capacity) in the *Snowcone User Guide*.
2401
2610
  # @return [String]
2402
2611
  #
2403
2612
  # @!attribute [rw] forwarding_address_id
@@ -2459,6 +2668,44 @@ module Aws::Snowball
2459
2668
  #
2460
2669
  class UpdateJobShipmentStateResult < Aws::EmptyStructure; end
2461
2670
 
2671
+ # @note When making an API call, you may pass UpdateLongTermPricingRequest
2672
+ # data as a hash:
2673
+ #
2674
+ # {
2675
+ # long_term_pricing_id: "LongTermPricingId", # required
2676
+ # replacement_job: "JobId",
2677
+ # is_long_term_pricing_auto_renew: false,
2678
+ # }
2679
+ #
2680
+ # @!attribute [rw] long_term_pricing_id
2681
+ # The ID of the long term pricing type for the device.
2682
+ # @return [String]
2683
+ #
2684
+ # @!attribute [rw] replacement_job
2685
+ # Specifies that a device that is ordered with long term pricing
2686
+ # should be replaced with a new device.
2687
+ # @return [String]
2688
+ #
2689
+ # @!attribute [rw] is_long_term_pricing_auto_renew
2690
+ # If set to `true`, specifies that the current long term pricing type
2691
+ # for the device should be automatically renewed before the long term
2692
+ # pricing contract expires.
2693
+ # @return [Boolean]
2694
+ #
2695
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/UpdateLongTermPricingRequest AWS API Documentation
2696
+ #
2697
+ class UpdateLongTermPricingRequest < Struct.new(
2698
+ :long_term_pricing_id,
2699
+ :replacement_job,
2700
+ :is_long_term_pricing_auto_renew)
2701
+ SENSITIVE = []
2702
+ include Aws::Structure
2703
+ end
2704
+
2705
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/UpdateLongTermPricingResult AWS API Documentation
2706
+ #
2707
+ class UpdateLongTermPricingResult < Aws::EmptyStructure; end
2708
+
2462
2709
  # Configures the wireless connection on an AWS Snowcone device.
2463
2710
  #
2464
2711
  # @note When making an API call, you may pass WirelessConnection
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-snowball
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.37.0
4
+ version: 1.38.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-10 00:00:00.000000000 Z
11
+ date: 2021-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -66,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
66
66
  licenses:
67
67
  - Apache-2.0
68
68
  metadata:
69
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-snowball
70
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-snowball/CHANGELOG.md
69
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-snowball
70
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-snowball/CHANGELOG.md
71
71
  post_install_message:
72
72
  rdoc_options: []
73
73
  require_paths:
@@ -83,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  requirements: []
86
- rubyforge_project:
87
- rubygems_version: 2.7.6.2
86
+ rubygems_version: 3.1.6
88
87
  signing_key:
89
88
  specification_version: 4
90
89
  summary: AWS SDK for Ruby - Amazon Snowball