aws-sdk-snowball 1.34.0 → 1.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 638096bae5af776d2e9af1c80ae9c88fc5b0ab172137a24232c835b34bbeb51a
4
- data.tar.gz: 51e619c03b7923dba99c873d4cffcce27d750ea02cb8eafa54ad7b07065cf77f
3
+ metadata.gz: 5b8e1a8dfd04dca3f618d53f4bd0d30a32d4f9443c15a0372d8e6074ec3090dc
4
+ data.tar.gz: 265c7216da45962e21b569cb2d1bf1daa62cdb3f054932b8e2271936020b5687
5
5
  SHA512:
6
- metadata.gz: 48b6742761f332f20890d57b8f328471d168e7f38ea107bee5285512b854b1124fe32297489f42d2bac73b55194374f5377570d04fba2c27b5a83a9717757618
7
- data.tar.gz: d43bc347fdc3a04a8dba18fc89797edb5c21943fd74d089b570f046b81994881b349713624c16a31382274087c5ebc053f53e5c6feac5a9fa2655e200311694d
6
+ metadata.gz: 141cb0ea26b1f0651bf4395b0c0c8c248dabb93c12076ad7512109f7aed0274ff090f4841653b3fa53275fa353839915bb41ab6598df70cea2a4ec4e3cc3a26f
7
+ data.tar.gz: d944d3939f467d922192a4f99f746464d9ad354e4c463aa6f39ec8d22644d343d04fe9381f360011f485a10b0f0479cfb69cbdac91a5ef49ac65b2ac9a3ec86a
@@ -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.34.0'
51
+ GEM_VERSION = '1.35.0'
52
52
 
53
53
  end
@@ -406,13 +406,14 @@ module Aws::Snowball
406
406
  req.send_request(options)
407
407
  end
408
408
 
409
- # Creates an address for a Snowball to be shipped to. In most regions,
410
- # addresses are validated at the time of creation. The address you
411
- # provide must be located within the serviceable area of your region. If
412
- # the address is invalid or unsupported, then an exception is thrown.
409
+ # Creates an address for a Snow device to be shipped to. In most
410
+ # regions, addresses are validated at the time of creation. The address
411
+ # you provide must be located within the serviceable area of your
412
+ # region. If the address is invalid or unsupported, then an exception is
413
+ # thrown.
413
414
  #
414
415
  # @option params [required, Types::Address] :address
415
- # The address that you want the Snowball shipped to.
416
+ # The address that you want the Snow device shipped to.
416
417
  #
417
418
  # @return [Types::CreateAddressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
418
419
  #
@@ -517,9 +518,9 @@ module Aws::Snowball
517
518
  # [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html
518
519
  #
519
520
  # @option params [String] :snowball_type
520
- # The type of AWS Snowball device to use for this cluster.
521
+ # The type of AWS Snow Family device to use for this cluster.
521
522
  #
522
- # <note markdown="1"> For cluster jobs, AWS Snowball currently supports only the `EDGE`
523
+ # <note markdown="1"> For cluster jobs, AWS Snow Family currently supports only the `EDGE`
523
524
  # device type.
524
525
  #
525
526
  # </note>
@@ -530,15 +531,15 @@ module Aws::Snowball
530
531
  # represents how quickly each device moves to its destination while in
531
532
  # transit. Regional shipping speeds are as follows:
532
533
  #
533
- # * In Australia, you have access to express shipping. Typically,
534
- # Snowballs shipped express are delivered in about a day.
534
+ # * In Australia, you have access to express shipping. Typically, Snow
535
+ # devices shipped express are delivered in about a day.
535
536
  #
536
537
  # * In the European Union (EU), you have access to express shipping.
537
- # Typically, Snowballs shipped express are delivered in about a day.
538
- # In addition, most countries in the EU have access to standard
538
+ # Typically, Snow devices shipped express are delivered in about a
539
+ # day. In addition, most countries in the EU have access to standard
539
540
  # shipping, which typically takes less than a week, one way.
540
541
  #
541
- # * In India, Snowballs are delivered in one to seven days.
542
+ # * In India, Snow device are delivered in one to seven days.
542
543
  #
543
544
  # * In the United States of America (US), you have access to one-day
544
545
  # shipping and two-day shipping.
@@ -548,11 +549,11 @@ module Aws::Snowball
548
549
  # devices shipped express are delivered in about a day.
549
550
  #
550
551
  # * In the European Union (EU), you have access to express shipping.
551
- # Typically, Snowball Edges shipped express are delivered in about a
552
+ # Typically, Snow devices shipped express are delivered in about a
552
553
  # day. In addition, most countries in the EU have access to standard
553
554
  # shipping, which typically takes less than a week, one way.
554
555
  #
555
- # * In India, Snowball Edges are delivered in one to seven days.
556
+ # * In India, Snow device are delivered in one to seven days.
556
557
  #
557
558
  # * In the US, you have access to one-day shipping and two-day shipping.
558
559
  #
@@ -671,8 +672,8 @@ module Aws::Snowball
671
672
 
672
673
  # Creates a job to import or export data between Amazon S3 and your
673
674
  # on-premises data center. Your AWS account must have the right trust
674
- # policies and permissions in place to create a job for Snowball. If
675
- # you're creating a job for a node in a cluster, you only need to
675
+ # policies and permissions in place to create a job for a Snow device.
676
+ # If you're creating a job for a node in a cluster, you only need to
676
677
  # provide the `clusterId` value; the other job attributes are inherited
677
678
  # from the cluster.
678
679
  #
@@ -697,7 +698,7 @@ module Aws::Snowball
697
698
  # `Important Photos 2016-08-11`.
698
699
  #
699
700
  # @option params [String] :address_id
700
- # The ID for the address that you want the Snowball shipped to.
701
+ # The ID for the address that you want the Snow device shipped to.
701
702
  #
702
703
  # @option params [String] :kms_key_arn
703
704
  # The `KmsKeyARN` that you want to associate with this job. `KmsKeyARN`s
@@ -719,24 +720,24 @@ module Aws::Snowball
719
720
  #
720
721
  # @option params [String] :snowball_capacity_preference
721
722
  # If your job is being created in one of the US regions, you have the
722
- # option of specifying what size Snowball you'd like for this job. In
723
- # all other regions, Snowballs come with 80 TB in storage capacity.
723
+ # option of specifying what size Snow device you'd like for this job.
724
+ # In all other regions, Snowballs come with 80 TB in storage capacity.
724
725
  #
725
726
  # @option params [String] :shipping_option
726
727
  # The shipping speed for this job. This speed doesn't dictate how soon
727
- # you'll get the Snowball, rather it represents how quickly the
728
- # Snowball moves to its destination while in transit. Regional shipping
728
+ # you'll get the Snow device, rather it represents how quickly the Snow
729
+ # device moves to its destination while in transit. Regional shipping
729
730
  # speeds are as follows:
730
731
  #
731
- # * In Australia, you have access to express shipping. Typically,
732
- # Snowballs shipped express are delivered in about a day.
732
+ # * In Australia, you have access to express shipping. Typically, Snow
733
+ # devices shipped express are delivered in about a day.
733
734
  #
734
735
  # * In the European Union (EU), you have access to express shipping.
735
- # Typically, Snowballs shipped express are delivered in about a day.
736
- # In addition, most countries in the EU have access to standard
736
+ # Typically, Snow devices shipped express are delivered in about a
737
+ # day. In addition, most countries in the EU have access to standard
737
738
  # shipping, which typically takes less than a week, one way.
738
739
  #
739
- # * In India, Snowballs are delivered in one to seven days.
740
+ # * In India, Snow devices are delivered in one to seven days.
740
741
  #
741
742
  # * In the US, you have access to one-day shipping and two-day shipping.
742
743
  #
@@ -750,15 +751,15 @@ module Aws::Snowball
750
751
  # job attributes are inherited from the cluster.
751
752
  #
752
753
  # @option params [String] :snowball_type
753
- # The type of AWS Snowball device to use for this job.
754
+ # The type of AWS Snow Family device to use for this job.
754
755
  #
755
- # <note markdown="1"> For cluster jobs, AWS Snowball currently supports only the `EDGE`
756
+ # <note markdown="1"> For cluster jobs, AWS Snow Family currently supports only the `EDGE`
756
757
  # device type.
757
758
  #
758
759
  # </note>
759
760
  #
760
- # The type of AWS Snowball device to use for this job. Currently, the
761
- # only supported device type for cluster jobs is `EDGE`.
761
+ # The type of AWS Snow device to use for this job. Currently, the only
762
+ # supported device type for cluster jobs is `EDGE`.
762
763
  #
763
764
  # For more information, see [Snowball Edge Device Options][1] in the
764
765
  # Snowball Edge Developer Guide.
@@ -890,6 +891,43 @@ module Aws::Snowball
890
891
  req.send_request(options)
891
892
  end
892
893
 
894
+ # Creates a shipping label that will be used to return the Snow device
895
+ # to AWS.
896
+ #
897
+ # @option params [required, String] :job_id
898
+ # The ID for a job that you want to create the return shipping label
899
+ # for. For example `JID123e4567-e89b-12d3-a456-426655440000`.
900
+ #
901
+ # @option params [String] :shipping_option
902
+ # The shipping speed for a particular job. This speed doesn't dictate
903
+ # how soon the device is returned to AWS. This speed represents how
904
+ # quickly it moves to its destination while in transit. Regional
905
+ # shipping speeds are as follows:
906
+ #
907
+ # @return [Types::CreateReturnShippingLabelResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
908
+ #
909
+ # * {Types::CreateReturnShippingLabelResult#status #status} => String
910
+ #
911
+ # @example Request syntax with placeholder values
912
+ #
913
+ # resp = client.create_return_shipping_label({
914
+ # job_id: "JobId", # required
915
+ # shipping_option: "SECOND_DAY", # accepts SECOND_DAY, NEXT_DAY, EXPRESS, STANDARD
916
+ # })
917
+ #
918
+ # @example Response structure
919
+ #
920
+ # resp.status #=> String, one of "InProgress", "TimedOut", "Succeeded", "Failed"
921
+ #
922
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CreateReturnShippingLabel AWS API Documentation
923
+ #
924
+ # @overload create_return_shipping_label(params = {})
925
+ # @param [Hash] params ({})
926
+ def create_return_shipping_label(params = {}, options = {})
927
+ req = build_request(:create_return_shipping_label, params)
928
+ req.send_request(options)
929
+ end
930
+
893
931
  # Takes an `AddressId` and returns specific details about that address
894
932
  # in the form of an `Address` object.
895
933
  #
@@ -1286,6 +1324,38 @@ module Aws::Snowball
1286
1324
  req.send_request(options)
1287
1325
  end
1288
1326
 
1327
+ # Information on the shipping label of a Snow device that is being
1328
+ # returned to AWS.
1329
+ #
1330
+ # @option params [String] :job_id
1331
+ # The automatically generated ID for a job, for example
1332
+ # `JID123e4567-e89b-12d3-a456-426655440000`.
1333
+ #
1334
+ # @return [Types::DescribeReturnShippingLabelResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1335
+ #
1336
+ # * {Types::DescribeReturnShippingLabelResult#status #status} => String
1337
+ # * {Types::DescribeReturnShippingLabelResult#expiration_date #expiration_date} => Time
1338
+ #
1339
+ # @example Request syntax with placeholder values
1340
+ #
1341
+ # resp = client.describe_return_shipping_label({
1342
+ # job_id: "JobId",
1343
+ # })
1344
+ #
1345
+ # @example Response structure
1346
+ #
1347
+ # resp.status #=> String, one of "InProgress", "TimedOut", "Succeeded", "Failed"
1348
+ # resp.expiration_date #=> Time
1349
+ #
1350
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/DescribeReturnShippingLabel AWS API Documentation
1351
+ #
1352
+ # @overload describe_return_shipping_label(params = {})
1353
+ # @param [Hash] params ({})
1354
+ def describe_return_shipping_label(params = {}, options = {})
1355
+ req = build_request(:describe_return_shipping_label, params)
1356
+ req.send_request(options)
1357
+ end
1358
+
1289
1359
  # Returns a link to an Amazon S3 presigned URL for the manifest file
1290
1360
  # associated with the specified `JobId` value. You can access the
1291
1361
  # manifest file for up to 60 minutes after this request has been made.
@@ -1294,14 +1364,14 @@ module Aws::Snowball
1294
1364
  #
1295
1365
  # The manifest is an encrypted file that you can download after your job
1296
1366
  # enters the `WithCustomer` status. The manifest is decrypted by using
1297
- # the `UnlockCode` code value, when you pass both values to the Snowball
1298
- # through the Snowball client when the client is started for the first
1299
- # time.
1367
+ # the `UnlockCode` code value, when you pass both values to the Snow
1368
+ # device through the Snowball client when the client is started for the
1369
+ # first time.
1300
1370
  #
1301
1371
  # As a best practice, we recommend that you don't save a copy of an
1302
1372
  # `UnlockCode` value in the same location as the manifest file for that
1303
1373
  # job. Saving these separately helps prevent unauthorized parties from
1304
- # gaining access to the Snowball associated with that job.
1374
+ # gaining access to the Snow device associated with that job.
1305
1375
  #
1306
1376
  # The credentials of a given job, including its manifest file and unlock
1307
1377
  # code, expire 90 days after the job is created.
@@ -1362,13 +1432,14 @@ module Aws::Snowball
1362
1432
  #
1363
1433
  # The `UnlockCode` value is a 29-character code with 25 alphanumeric
1364
1434
  # characters and 4 hyphens. This code is used to decrypt the manifest
1365
- # file when it is passed along with the manifest to the Snowball through
1366
- # the Snowball client when the client is started for the first time.
1435
+ # file when it is passed along with the manifest to the Snow device
1436
+ # through the Snowball client when the client is started for the first
1437
+ # time.
1367
1438
  #
1368
1439
  # As a best practice, we recommend that you don't save a copy of the
1369
1440
  # `UnlockCode` in the same location as the manifest file for that job.
1370
1441
  # Saving these separately helps prevent unauthorized parties from
1371
- # gaining access to the Snowball associated with that job.
1442
+ # gaining access to the Snow device associated with that job.
1372
1443
  #
1373
1444
  # @option params [required, String] :job_id
1374
1445
  # The ID for the job that you want to get the `UnlockCode` value for,
@@ -1418,10 +1489,10 @@ module Aws::Snowball
1418
1489
  req.send_request(options)
1419
1490
  end
1420
1491
 
1421
- # Returns information about the Snowball service limit for your account,
1422
- # and also the number of Snowballs your account has in use.
1492
+ # Returns information about the Snow Family service limit for your
1493
+ # account, and also the number of Snow devices your account has in use.
1423
1494
  #
1424
- # The default service limit for the number of Snowballs that you can
1495
+ # The default service limit for the number of Snow devices that you can
1425
1496
  # have at one time is 1. If you want to increase your service limit,
1426
1497
  # contact AWS Support.
1427
1498
  #
@@ -1667,8 +1738,8 @@ module Aws::Snowball
1667
1738
 
1668
1739
  # This action returns a list of the different Amazon EC2 Amazon Machine
1669
1740
  # Images (AMIs) that are owned by your AWS account that would be
1670
- # supported for use on a Snowball Edge device. Currently, supported AMIs
1671
- # are based on the CentOS 7 (x86\_64) - with Updates HVM, Ubuntu Server
1741
+ # supported for use on a Snow device. Currently, supported AMIs are
1742
+ # based on the CentOS 7 (x86\_64) - with Updates HVM, Ubuntu Server
1672
1743
  # 14.04 LTS (HVM), and Ubuntu 16.04 LTS - Xenial (HVM) images, available
1673
1744
  # on the AWS Marketplace.
1674
1745
  #
@@ -2001,6 +2072,38 @@ module Aws::Snowball
2001
2072
  req.send_request(options)
2002
2073
  end
2003
2074
 
2075
+ # Updates the state when a the shipment states changes to a different
2076
+ # state.
2077
+ #
2078
+ # @option params [required, String] :job_id
2079
+ # The job ID of the job whose shipment date you want to update, for
2080
+ # example `JID123e4567-e89b-12d3-a456-426655440000`.
2081
+ #
2082
+ # @option params [required, String] :shipment_state
2083
+ # The state of a device when it is being shipped.
2084
+ #
2085
+ # Set to `RECEIVED` when the device arrives at your location.
2086
+ #
2087
+ # Set to `RETURNED` when you have returned the device to AWS.
2088
+ #
2089
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2090
+ #
2091
+ # @example Request syntax with placeholder values
2092
+ #
2093
+ # resp = client.update_job_shipment_state({
2094
+ # job_id: "JobId", # required
2095
+ # shipment_state: "RECEIVED", # required, accepts RECEIVED, RETURNED
2096
+ # })
2097
+ #
2098
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/UpdateJobShipmentState AWS API Documentation
2099
+ #
2100
+ # @overload update_job_shipment_state(params = {})
2101
+ # @param [Hash] params ({})
2102
+ def update_job_shipment_state(params = {}, options = {})
2103
+ req = build_request(:update_job_shipment_state, params)
2104
+ req.send_request(options)
2105
+ end
2106
+
2004
2107
  # @!endgroup
2005
2108
 
2006
2109
  # @param params ({})
@@ -2014,7 +2117,7 @@ module Aws::Snowball
2014
2117
  params: params,
2015
2118
  config: config)
2016
2119
  context[:gem_name] = 'aws-sdk-snowball'
2017
- context[:gem_version] = '1.34.0'
2120
+ context[:gem_version] = '1.35.0'
2018
2121
  Seahorse::Client::Request.new(handlers, context)
2019
2122
  end
2020
2123
 
@@ -30,12 +30,15 @@ module Aws::Snowball
30
30
  ClusterState = Shapes::StringShape.new(name: 'ClusterState')
31
31
  CompatibleImage = Shapes::StructureShape.new(name: 'CompatibleImage')
32
32
  CompatibleImageList = Shapes::ListShape.new(name: 'CompatibleImageList')
33
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
33
34
  CreateAddressRequest = Shapes::StructureShape.new(name: 'CreateAddressRequest')
34
35
  CreateAddressResult = Shapes::StructureShape.new(name: 'CreateAddressResult')
35
36
  CreateClusterRequest = Shapes::StructureShape.new(name: 'CreateClusterRequest')
36
37
  CreateClusterResult = Shapes::StructureShape.new(name: 'CreateClusterResult')
37
38
  CreateJobRequest = Shapes::StructureShape.new(name: 'CreateJobRequest')
38
39
  CreateJobResult = Shapes::StructureShape.new(name: 'CreateJobResult')
40
+ CreateReturnShippingLabelRequest = Shapes::StructureShape.new(name: 'CreateReturnShippingLabelRequest')
41
+ CreateReturnShippingLabelResult = Shapes::StructureShape.new(name: 'CreateReturnShippingLabelResult')
39
42
  DataTransfer = Shapes::StructureShape.new(name: 'DataTransfer')
40
43
  DescribeAddressRequest = Shapes::StructureShape.new(name: 'DescribeAddressRequest')
41
44
  DescribeAddressResult = Shapes::StructureShape.new(name: 'DescribeAddressResult')
@@ -45,6 +48,8 @@ module Aws::Snowball
45
48
  DescribeClusterResult = Shapes::StructureShape.new(name: 'DescribeClusterResult')
46
49
  DescribeJobRequest = Shapes::StructureShape.new(name: 'DescribeJobRequest')
47
50
  DescribeJobResult = Shapes::StructureShape.new(name: 'DescribeJobResult')
51
+ DescribeReturnShippingLabelRequest = Shapes::StructureShape.new(name: 'DescribeReturnShippingLabelRequest')
52
+ DescribeReturnShippingLabelResult = Shapes::StructureShape.new(name: 'DescribeReturnShippingLabelResult')
48
53
  DeviceConfiguration = Shapes::StructureShape.new(name: 'DeviceConfiguration')
49
54
  Ec2AmiResource = Shapes::StructureShape.new(name: 'Ec2AmiResource')
50
55
  Ec2AmiResourceList = Shapes::ListShape.new(name: 'Ec2AmiResourceList')
@@ -94,11 +99,14 @@ module Aws::Snowball
94
99
  Long = Shapes::IntegerShape.new(name: 'Long')
95
100
  Notification = Shapes::StructureShape.new(name: 'Notification')
96
101
  ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
102
+ ReturnShippingLabelAlreadyExistsException = Shapes::StructureShape.new(name: 'ReturnShippingLabelAlreadyExistsException')
97
103
  RoleARN = Shapes::StringShape.new(name: 'RoleARN')
98
104
  S3Resource = Shapes::StructureShape.new(name: 'S3Resource')
99
105
  S3ResourceList = Shapes::ListShape.new(name: 'S3ResourceList')
100
106
  Shipment = Shapes::StructureShape.new(name: 'Shipment')
107
+ ShipmentState = Shapes::StringShape.new(name: 'ShipmentState')
101
108
  ShippingDetails = Shapes::StructureShape.new(name: 'ShippingDetails')
109
+ ShippingLabelStatus = Shapes::StringShape.new(name: 'ShippingLabelStatus')
102
110
  ShippingOption = Shapes::StringShape.new(name: 'ShippingOption')
103
111
  SnowballCapacity = Shapes::StringShape.new(name: 'SnowballCapacity')
104
112
  SnowballType = Shapes::StringShape.new(name: 'SnowballType')
@@ -112,6 +120,8 @@ module Aws::Snowball
112
120
  UpdateClusterResult = Shapes::StructureShape.new(name: 'UpdateClusterResult')
113
121
  UpdateJobRequest = Shapes::StructureShape.new(name: 'UpdateJobRequest')
114
122
  UpdateJobResult = Shapes::StructureShape.new(name: 'UpdateJobResult')
123
+ UpdateJobShipmentStateRequest = Shapes::StructureShape.new(name: 'UpdateJobShipmentStateRequest')
124
+ UpdateJobShipmentStateResult = Shapes::StructureShape.new(name: 'UpdateJobShipmentStateResult')
115
125
  WirelessConnection = Shapes::StructureShape.new(name: 'WirelessConnection')
116
126
 
117
127
  Address.add_member(:address_id, Shapes::ShapeRef.new(shape: AddressId, location_name: "AddressId"))
@@ -175,6 +185,10 @@ module Aws::Snowball
175
185
 
176
186
  CompatibleImageList.member = Shapes::ShapeRef.new(shape: CompatibleImage)
177
187
 
188
+ ConflictException.add_member(:conflict_resource, Shapes::ShapeRef.new(shape: String, location_name: "ConflictResource"))
189
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
190
+ ConflictException.struct_class = Types::ConflictException
191
+
178
192
  CreateAddressRequest.add_member(:address, Shapes::ShapeRef.new(shape: Address, required: true, location_name: "Address"))
179
193
  CreateAddressRequest.struct_class = Types::CreateAddressRequest
180
194
 
@@ -216,6 +230,13 @@ module Aws::Snowball
216
230
  CreateJobResult.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
217
231
  CreateJobResult.struct_class = Types::CreateJobResult
218
232
 
233
+ CreateReturnShippingLabelRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
234
+ CreateReturnShippingLabelRequest.add_member(:shipping_option, Shapes::ShapeRef.new(shape: ShippingOption, location_name: "ShippingOption"))
235
+ CreateReturnShippingLabelRequest.struct_class = Types::CreateReturnShippingLabelRequest
236
+
237
+ CreateReturnShippingLabelResult.add_member(:status, Shapes::ShapeRef.new(shape: ShippingLabelStatus, location_name: "Status"))
238
+ CreateReturnShippingLabelResult.struct_class = Types::CreateReturnShippingLabelResult
239
+
219
240
  DataTransfer.add_member(:bytes_transferred, Shapes::ShapeRef.new(shape: Long, location_name: "BytesTransferred"))
220
241
  DataTransfer.add_member(:objects_transferred, Shapes::ShapeRef.new(shape: Long, location_name: "ObjectsTransferred"))
221
242
  DataTransfer.add_member(:total_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "TotalBytes"))
@@ -249,6 +270,13 @@ module Aws::Snowball
249
270
  DescribeJobResult.add_member(:sub_job_metadata, Shapes::ShapeRef.new(shape: JobMetadataList, location_name: "SubJobMetadata"))
250
271
  DescribeJobResult.struct_class = Types::DescribeJobResult
251
272
 
273
+ DescribeReturnShippingLabelRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "JobId"))
274
+ DescribeReturnShippingLabelRequest.struct_class = Types::DescribeReturnShippingLabelRequest
275
+
276
+ DescribeReturnShippingLabelResult.add_member(:status, Shapes::ShapeRef.new(shape: ShippingLabelStatus, location_name: "Status"))
277
+ DescribeReturnShippingLabelResult.add_member(:expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ExpirationDate"))
278
+ DescribeReturnShippingLabelResult.struct_class = Types::DescribeReturnShippingLabelResult
279
+
252
280
  DeviceConfiguration.add_member(:snowcone_device_configuration, Shapes::ShapeRef.new(shape: SnowconeDeviceConfiguration, location_name: "SnowconeDeviceConfiguration"))
253
281
  DeviceConfiguration.struct_class = Types::DeviceConfiguration
254
282
 
@@ -406,6 +434,9 @@ module Aws::Snowball
406
434
  Notification.add_member(:notify_all, Shapes::ShapeRef.new(shape: Boolean, location_name: "NotifyAll"))
407
435
  Notification.struct_class = Types::Notification
408
436
 
437
+ ReturnShippingLabelAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
438
+ ReturnShippingLabelAlreadyExistsException.struct_class = Types::ReturnShippingLabelAlreadyExistsException
439
+
409
440
  S3Resource.add_member(:bucket_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "BucketArn"))
410
441
  S3Resource.add_member(:key_range, Shapes::ShapeRef.new(shape: KeyRange, location_name: "KeyRange"))
411
442
  S3Resource.struct_class = Types::S3Resource
@@ -455,6 +486,12 @@ module Aws::Snowball
455
486
 
456
487
  UpdateJobResult.struct_class = Types::UpdateJobResult
457
488
 
489
+ UpdateJobShipmentStateRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "JobId"))
490
+ UpdateJobShipmentStateRequest.add_member(:shipment_state, Shapes::ShapeRef.new(shape: ShipmentState, required: true, location_name: "ShipmentState"))
491
+ UpdateJobShipmentStateRequest.struct_class = Types::UpdateJobShipmentStateRequest
492
+
493
+ UpdateJobShipmentStateResult.struct_class = Types::UpdateJobShipmentStateResult
494
+
458
495
  WirelessConnection.add_member(:is_wifi_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsWifiEnabled"))
459
496
  WirelessConnection.struct_class = Types::WirelessConnection
460
497
 
@@ -534,6 +571,19 @@ module Aws::Snowball
534
571
  o.errors << Shapes::ShapeRef.new(shape: Ec2RequestFailedException)
535
572
  end)
536
573
 
574
+ api.add_operation(:create_return_shipping_label, Seahorse::Model::Operation.new.tap do |o|
575
+ o.name = "CreateReturnShippingLabel"
576
+ o.http_method = "POST"
577
+ o.http_request_uri = "/"
578
+ o.input = Shapes::ShapeRef.new(shape: CreateReturnShippingLabelRequest)
579
+ o.output = Shapes::ShapeRef.new(shape: CreateReturnShippingLabelResult)
580
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
581
+ o.errors << Shapes::ShapeRef.new(shape: InvalidJobStateException)
582
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputCombinationException)
583
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
584
+ o.errors << Shapes::ShapeRef.new(shape: ReturnShippingLabelAlreadyExistsException)
585
+ end)
586
+
537
587
  api.add_operation(:describe_address, Seahorse::Model::Operation.new.tap do |o|
538
588
  o.name = "DescribeAddress"
539
589
  o.http_method = "POST"
@@ -577,6 +627,17 @@ module Aws::Snowball
577
627
  o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
578
628
  end)
579
629
 
630
+ api.add_operation(:describe_return_shipping_label, Seahorse::Model::Operation.new.tap do |o|
631
+ o.name = "DescribeReturnShippingLabel"
632
+ o.http_method = "POST"
633
+ o.http_request_uri = "/"
634
+ o.input = Shapes::ShapeRef.new(shape: DescribeReturnShippingLabelRequest)
635
+ o.output = Shapes::ShapeRef.new(shape: DescribeReturnShippingLabelResult)
636
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
637
+ o.errors << Shapes::ShapeRef.new(shape: InvalidJobStateException)
638
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
639
+ end)
640
+
580
641
  api.add_operation(:get_job_manifest, Seahorse::Model::Operation.new.tap do |o|
581
642
  o.name = "GetJobManifest"
582
643
  o.http_method = "POST"
@@ -685,6 +746,16 @@ module Aws::Snowball
685
746
  o.errors << Shapes::ShapeRef.new(shape: ClusterLimitExceededException)
686
747
  o.errors << Shapes::ShapeRef.new(shape: Ec2RequestFailedException)
687
748
  end)
749
+
750
+ api.add_operation(:update_job_shipment_state, Seahorse::Model::Operation.new.tap do |o|
751
+ o.name = "UpdateJobShipmentState"
752
+ o.http_method = "POST"
753
+ o.http_request_uri = "/"
754
+ o.input = Shapes::ShapeRef.new(shape: UpdateJobShipmentStateRequest)
755
+ o.output = Shapes::ShapeRef.new(shape: UpdateJobShipmentStateResult)
756
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
757
+ o.errors << Shapes::ShapeRef.new(shape: InvalidJobStateException)
758
+ end)
688
759
  end
689
760
 
690
761
  end
@@ -28,6 +28,7 @@ module Aws::Snowball
28
28
  #
29
29
  # ## Error Classes
30
30
  # * {ClusterLimitExceededException}
31
+ # * {ConflictException}
31
32
  # * {Ec2RequestFailedException}
32
33
  # * {InvalidAddressException}
33
34
  # * {InvalidInputCombinationException}
@@ -35,6 +36,7 @@ module Aws::Snowball
35
36
  # * {InvalidNextTokenException}
36
37
  # * {InvalidResourceException}
37
38
  # * {KMSRequestFailedException}
39
+ # * {ReturnShippingLabelAlreadyExistsException}
38
40
  # * {UnsupportedAddressException}
39
41
  #
40
42
  # Additionally, error classes are dynamically generated for service errors based on the error code
@@ -58,6 +60,26 @@ module Aws::Snowball
58
60
  end
59
61
  end
60
62
 
63
+ class ConflictException < ServiceError
64
+
65
+ # @param [Seahorse::Client::RequestContext] context
66
+ # @param [String] message
67
+ # @param [Aws::Snowball::Types::ConflictException] data
68
+ def initialize(context, message, data = Aws::EmptyStructure.new)
69
+ super(context, message, data)
70
+ end
71
+
72
+ # @return [String]
73
+ def conflict_resource
74
+ @data[:conflict_resource]
75
+ end
76
+
77
+ # @return [String]
78
+ def message
79
+ @message || @data[:message]
80
+ end
81
+ end
82
+
61
83
  class Ec2RequestFailedException < ServiceError
62
84
 
63
85
  # @param [Seahorse::Client::RequestContext] context
@@ -168,6 +190,21 @@ module Aws::Snowball
168
190
  end
169
191
  end
170
192
 
193
+ class ReturnShippingLabelAlreadyExistsException < ServiceError
194
+
195
+ # @param [Seahorse::Client::RequestContext] context
196
+ # @param [String] message
197
+ # @param [Aws::Snowball::Types::ReturnShippingLabelAlreadyExistsException] data
198
+ def initialize(context, message, data = Aws::EmptyStructure.new)
199
+ super(context, message, data)
200
+ end
201
+
202
+ # @return [String]
203
+ def message
204
+ @message || @data[:message]
205
+ end
206
+ end
207
+
171
208
  class UnsupportedAddressException < ServiceError
172
209
 
173
210
  # @param [Seahorse::Client::RequestContext] context
@@ -10,7 +10,7 @@
10
10
  module Aws::Snowball
11
11
  module Types
12
12
 
13
- # The address that you want the Snowball or Snowballs associated with a
13
+ # The address that you want the Snow device(s) associated with a
14
14
  # specific job to be shipped to. Addresses are validated at the time of
15
15
  # creation. The address you provide must be located within the
16
16
  # serviceable area of your region. Although no individual elements of
@@ -42,34 +42,34 @@ module Aws::Snowball
42
42
  # @return [String]
43
43
  #
44
44
  # @!attribute [rw] name
45
- # The name of a person to receive a Snowball at an address.
45
+ # The name of a person to receive a Snow device at an address.
46
46
  # @return [String]
47
47
  #
48
48
  # @!attribute [rw] company
49
- # The name of the company to receive a Snowball at an address.
49
+ # The name of the company to receive a Snow device at an address.
50
50
  # @return [String]
51
51
  #
52
52
  # @!attribute [rw] street_1
53
- # The first line in a street address that a Snowball is to be
53
+ # The first line in a street address that a Snow device is to be
54
54
  # delivered to.
55
55
  # @return [String]
56
56
  #
57
57
  # @!attribute [rw] street_2
58
- # The second line in a street address that a Snowball is to be
58
+ # The second line in a street address that a Snow device is to be
59
59
  # delivered to.
60
60
  # @return [String]
61
61
  #
62
62
  # @!attribute [rw] street_3
63
- # The third line in a street address that a Snowball is to be
63
+ # The third line in a street address that a Snow device is to be
64
64
  # delivered to.
65
65
  # @return [String]
66
66
  #
67
67
  # @!attribute [rw] city
68
- # The city in an address that a Snowball is to be delivered to.
68
+ # The city in an address that a Snow device is to be delivered to.
69
69
  # @return [String]
70
70
  #
71
71
  # @!attribute [rw] state_or_province
72
- # The state or province in an address that a Snowball is to be
72
+ # The state or province in an address that a Snow device is to be
73
73
  # delivered to.
74
74
  # @return [String]
75
75
  #
@@ -82,16 +82,17 @@ module Aws::Snowball
82
82
  # @return [String]
83
83
  #
84
84
  # @!attribute [rw] country
85
- # The country in an address that a Snowball is to be delivered to.
85
+ # The country in an address that a Snow device is to be delivered to.
86
86
  # @return [String]
87
87
  #
88
88
  # @!attribute [rw] postal_code
89
- # The postal code in an address that a Snowball is to be delivered to.
89
+ # The postal code in an address that a Snow device is to be delivered
90
+ # to.
90
91
  # @return [String]
91
92
  #
92
93
  # @!attribute [rw] phone_number
93
- # The phone number associated with an address that a Snowball is to be
94
- # delivered to.
94
+ # The phone number associated with an address that a Snow device is to
95
+ # be delivered to.
95
96
  # @return [String]
96
97
  #
97
98
  # @!attribute [rw] is_restricted
@@ -257,9 +258,9 @@ module Aws::Snowball
257
258
  # @return [String]
258
259
  #
259
260
  # @!attribute [rw] snowball_type
260
- # The type of AWS Snowball device to use for this cluster.
261
+ # The type of AWS Snow device to use for this cluster.
261
262
  #
262
- # <note markdown="1"> For cluster jobs, AWS Snowball currently supports only the `EDGE`
263
+ # <note markdown="1"> For cluster jobs, AWS Snow Family currently supports only the `EDGE`
263
264
  # device type.
264
265
  #
265
266
  # </note>
@@ -280,20 +281,19 @@ module Aws::Snowball
280
281
  #
281
282
  # @!attribute [rw] shipping_option
282
283
  # The shipping speed for each node in this cluster. This speed
283
- # doesn't dictate how soon you'll get each Snowball Edge device,
284
- # rather it represents how quickly each device moves to its
285
- # destination while in transit. Regional shipping speeds are as
286
- # follows:
284
+ # doesn't dictate how soon you'll get each device, rather it
285
+ # represents how quickly each device moves to its destination while in
286
+ # transit. Regional shipping speeds are as follows:
287
287
  #
288
288
  # * In Australia, you have access to express shipping. Typically,
289
289
  # devices shipped express are delivered in about a day.
290
290
  #
291
291
  # * In the European Union (EU), you have access to express shipping.
292
- # Typically, Snowball Edges shipped express are delivered in about a
292
+ # Typically, Snow devices shipped express are delivered in about a
293
293
  # day. In addition, most countries in the EU have access to standard
294
294
  # shipping, which typically takes less than a week, one way.
295
295
  #
296
- # * In India, Snowball Edges are delivered in one to seven days.
296
+ # * In India, Snow devices are delivered in one to seven days.
297
297
  #
298
298
  # * In the US, you have access to one-day shipping and two-day
299
299
  # shipping.
@@ -336,12 +336,12 @@ module Aws::Snowball
336
336
  end
337
337
 
338
338
  # A JSON-formatted object that describes a compatible Amazon Machine
339
- # Image (AMI), including the ID and name for a Snowball Edge AMI. This
340
- # AMI is compatible with the device's physical hardware requirements,
341
- # and it should be able to be run in an SBE1 instance on the device.
339
+ # Image (AMI), including the ID and name for a Snow device AMI. This AMI
340
+ # is compatible with the device's physical hardware requirements, and
341
+ # it should be able to be run in an SBE1 instance on the device.
342
342
  #
343
343
  # @!attribute [rw] ami_id
344
- # The unique identifier for an individual Snowball Edge AMI.
344
+ # The unique identifier for an individual Snow device AMI.
345
345
  # @return [String]
346
346
  #
347
347
  # @!attribute [rw] name
@@ -357,6 +357,24 @@ module Aws::Snowball
357
357
  include Aws::Structure
358
358
  end
359
359
 
360
+ # You get this exception when you call `CreateReturnShippingLabel` more
361
+ # than once when other requests are not completed.
362
+ #
363
+ # @!attribute [rw] conflict_resource
364
+ # @return [String]
365
+ #
366
+ # @!attribute [rw] message
367
+ # @return [String]
368
+ #
369
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ConflictException AWS API Documentation
370
+ #
371
+ class ConflictException < Struct.new(
372
+ :conflict_resource,
373
+ :message)
374
+ SENSITIVE = []
375
+ include Aws::Structure
376
+ end
377
+
360
378
  # @note When making an API call, you may pass CreateAddressRequest
361
379
  # data as a hash:
362
380
  #
@@ -380,7 +398,7 @@ module Aws::Snowball
380
398
  # }
381
399
  #
382
400
  # @!attribute [rw] address
383
- # The address that you want the Snowball shipped to.
401
+ # The address that you want the Snow device shipped to.
384
402
  # @return [Types::Address]
385
403
  #
386
404
  # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CreateAddressRequest AWS API Documentation
@@ -394,7 +412,7 @@ module Aws::Snowball
394
412
  # @!attribute [rw] address_id
395
413
  # The automatically generated ID for a specific address. You'll use
396
414
  # this ID when you create a job to specify which address you want the
397
- # Snowball for that job shipped to.
415
+ # Snow device for that job shipped to.
398
416
  # @return [String]
399
417
  #
400
418
  # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CreateAddressResult AWS API Documentation
@@ -497,9 +515,9 @@ module Aws::Snowball
497
515
  # @return [String]
498
516
  #
499
517
  # @!attribute [rw] snowball_type
500
- # The type of AWS Snowball device to use for this cluster.
518
+ # The type of AWS Snow Family device to use for this cluster.
501
519
  #
502
- # <note markdown="1"> For cluster jobs, AWS Snowball currently supports only the `EDGE`
520
+ # <note markdown="1"> For cluster jobs, AWS Snow Family currently supports only the `EDGE`
503
521
  # device type.
504
522
  #
505
523
  # </note>
@@ -512,15 +530,15 @@ module Aws::Snowball
512
530
  # destination while in transit. Regional shipping speeds are as
513
531
  # follows:
514
532
  #
515
- # * In Australia, you have access to express shipping. Typically,
516
- # Snowballs shipped express are delivered in about a day.
533
+ # * In Australia, you have access to express shipping. Typically, Snow
534
+ # devices shipped express are delivered in about a day.
517
535
  #
518
536
  # * In the European Union (EU), you have access to express shipping.
519
- # Typically, Snowballs shipped express are delivered in about a day.
520
- # In addition, most countries in the EU have access to standard
537
+ # Typically, Snow devices shipped express are delivered in about a
538
+ # day. In addition, most countries in the EU have access to standard
521
539
  # shipping, which typically takes less than a week, one way.
522
540
  #
523
- # * In India, Snowballs are delivered in one to seven days.
541
+ # * In India, Snow device are delivered in one to seven days.
524
542
  #
525
543
  # * In the United States of America (US), you have access to one-day
526
544
  # shipping and two-day shipping.
@@ -530,11 +548,11 @@ module Aws::Snowball
530
548
  # devices shipped express are delivered in about a day.
531
549
  #
532
550
  # * In the European Union (EU), you have access to express shipping.
533
- # Typically, Snowball Edges shipped express are delivered in about a
551
+ # Typically, Snow devices shipped express are delivered in about a
534
552
  # day. In addition, most countries in the EU have access to standard
535
553
  # shipping, which typically takes less than a week, one way.
536
554
  #
537
- # * In India, Snowball Edges are delivered in one to seven days.
555
+ # * In India, Snow device are delivered in one to seven days.
538
556
  #
539
557
  # * In the US, you have access to one-day shipping and two-day
540
558
  # shipping.
@@ -668,7 +686,7 @@ module Aws::Snowball
668
686
  # @return [String]
669
687
  #
670
688
  # @!attribute [rw] address_id
671
- # The ID for the address that you want the Snowball shipped to.
689
+ # The ID for the address that you want the Snow device shipped to.
672
690
  # @return [String]
673
691
  #
674
692
  # @!attribute [rw] kms_key_arn
@@ -693,25 +711,25 @@ module Aws::Snowball
693
711
  #
694
712
  # @!attribute [rw] snowball_capacity_preference
695
713
  # If your job is being created in one of the US regions, you have the
696
- # option of specifying what size Snowball you'd like for this job. In
697
- # all other regions, Snowballs come with 80 TB in storage capacity.
714
+ # option of specifying what size Snow device you'd like for this job.
715
+ # In all other regions, Snowballs come with 80 TB in storage capacity.
698
716
  # @return [String]
699
717
  #
700
718
  # @!attribute [rw] shipping_option
701
719
  # The shipping speed for this job. This speed doesn't dictate how
702
- # soon you'll get the Snowball, rather it represents how quickly the
703
- # Snowball moves to its destination while in transit. Regional
720
+ # soon you'll get the Snow device, rather it represents how quickly
721
+ # the Snow device moves to its destination while in transit. Regional
704
722
  # shipping speeds are as follows:
705
723
  #
706
- # * In Australia, you have access to express shipping. Typically,
707
- # Snowballs shipped express are delivered in about a day.
724
+ # * In Australia, you have access to express shipping. Typically, Snow
725
+ # devices shipped express are delivered in about a day.
708
726
  #
709
727
  # * In the European Union (EU), you have access to express shipping.
710
- # Typically, Snowballs shipped express are delivered in about a day.
711
- # In addition, most countries in the EU have access to standard
728
+ # Typically, Snow devices shipped express are delivered in about a
729
+ # day. In addition, most countries in the EU have access to standard
712
730
  # shipping, which typically takes less than a week, one way.
713
731
  #
714
- # * In India, Snowballs are delivered in one to seven days.
732
+ # * In India, Snow devices are delivered in one to seven days.
715
733
  #
716
734
  # * In the US, you have access to one-day shipping and two-day
717
735
  # shipping.
@@ -729,15 +747,15 @@ module Aws::Snowball
729
747
  # @return [String]
730
748
  #
731
749
  # @!attribute [rw] snowball_type
732
- # The type of AWS Snowball device to use for this job.
750
+ # The type of AWS Snow Family device to use for this job.
733
751
  #
734
- # <note markdown="1"> For cluster jobs, AWS Snowball currently supports only the `EDGE`
752
+ # <note markdown="1"> For cluster jobs, AWS Snow Family currently supports only the `EDGE`
735
753
  # device type.
736
754
  #
737
755
  # </note>
738
756
  #
739
- # The type of AWS Snowball device to use for this job. Currently, the
740
- # only supported device type for cluster jobs is `EDGE`.
757
+ # The type of AWS Snow device to use for this job. Currently, the only
758
+ # supported device type for cluster jobs is `EDGE`.
741
759
  #
742
760
  # For more information, see [Snowball Edge Device Options][1] in the
743
761
  # Snowball Edge Developer Guide.
@@ -794,26 +812,69 @@ module Aws::Snowball
794
812
  include Aws::Structure
795
813
  end
796
814
 
797
- # Defines the real-time status of a Snowball's data transfer while the
798
- # device is at AWS. This data is only available while a job has a
815
+ # @note When making an API call, you may pass CreateReturnShippingLabelRequest
816
+ # data as a hash:
817
+ #
818
+ # {
819
+ # job_id: "JobId", # required
820
+ # shipping_option: "SECOND_DAY", # accepts SECOND_DAY, NEXT_DAY, EXPRESS, STANDARD
821
+ # }
822
+ #
823
+ # @!attribute [rw] job_id
824
+ # The ID for a job that you want to create the return shipping label
825
+ # for. For example `JID123e4567-e89b-12d3-a456-426655440000`.
826
+ # @return [String]
827
+ #
828
+ # @!attribute [rw] shipping_option
829
+ # The shipping speed for a particular job. This speed doesn't dictate
830
+ # how soon the device is returned to AWS. This speed represents how
831
+ # quickly it moves to its destination while in transit. Regional
832
+ # shipping speeds are as follows:
833
+ # @return [String]
834
+ #
835
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CreateReturnShippingLabelRequest AWS API Documentation
836
+ #
837
+ class CreateReturnShippingLabelRequest < Struct.new(
838
+ :job_id,
839
+ :shipping_option)
840
+ SENSITIVE = []
841
+ include Aws::Structure
842
+ end
843
+
844
+ # @!attribute [rw] status
845
+ # The status information of the task on a Snow device that is being
846
+ # returned to AWS.
847
+ # @return [String]
848
+ #
849
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CreateReturnShippingLabelResult AWS API Documentation
850
+ #
851
+ class CreateReturnShippingLabelResult < Struct.new(
852
+ :status)
853
+ SENSITIVE = []
854
+ include Aws::Structure
855
+ end
856
+
857
+ # Defines the real-time status of a Snow device's data transfer while
858
+ # the device is at AWS. This data is only available while a job has a
799
859
  # `JobState` value of `InProgress`, for both import and export jobs.
800
860
  #
801
861
  # @!attribute [rw] bytes_transferred
802
- # The number of bytes transferred between a Snowball and Amazon S3.
862
+ # The number of bytes transferred between a Snow device and Amazon S3.
803
863
  # @return [Integer]
804
864
  #
805
865
  # @!attribute [rw] objects_transferred
806
- # The number of objects transferred between a Snowball and Amazon S3.
866
+ # The number of objects transferred between a Snow device and Amazon
867
+ # S3.
807
868
  # @return [Integer]
808
869
  #
809
870
  # @!attribute [rw] total_bytes
810
- # The total bytes of data for a transfer between a Snowball and Amazon
811
- # S3. This value is set to 0 (zero) until all the keys that will be
812
- # transferred have been listed.
871
+ # The total bytes of data for a transfer between a Snow device and
872
+ # Amazon S3. This value is set to 0 (zero) until all the keys that
873
+ # will be transferred have been listed.
813
874
  # @return [Integer]
814
875
  #
815
876
  # @!attribute [rw] total_objects
816
- # The total number of objects for a transfer between a Snowball and
877
+ # The total number of objects for a transfer between a Snow device and
817
878
  # Amazon S3. This value is set to 0 (zero) until all the keys that
818
879
  # will be transferred have been listed.
819
880
  # @return [Integer]
@@ -849,8 +910,8 @@ module Aws::Snowball
849
910
  end
850
911
 
851
912
  # @!attribute [rw] address
852
- # The address that you want the Snowball or Snowballs associated with
853
- # a specific job to be shipped to.
913
+ # The address that you want the Snow device(s) associated with a
914
+ # specific job to be shipped to.
854
915
  # @return [Types::Address]
855
916
  #
856
917
  # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/DescribeAddressResult AWS API Documentation
@@ -890,7 +951,8 @@ module Aws::Snowball
890
951
  end
891
952
 
892
953
  # @!attribute [rw] addresses
893
- # The Snowball shipping addresses that were created for this account.
954
+ # The Snow device shipping addresses that were created for this
955
+ # account.
894
956
  # @return [Array<Types::Address>]
895
957
  #
896
958
  # @!attribute [rw] next_token
@@ -980,6 +1042,44 @@ module Aws::Snowball
980
1042
  include Aws::Structure
981
1043
  end
982
1044
 
1045
+ # @note When making an API call, you may pass DescribeReturnShippingLabelRequest
1046
+ # data as a hash:
1047
+ #
1048
+ # {
1049
+ # job_id: "JobId",
1050
+ # }
1051
+ #
1052
+ # @!attribute [rw] job_id
1053
+ # The automatically generated ID for a job, for example
1054
+ # `JID123e4567-e89b-12d3-a456-426655440000`.
1055
+ # @return [String]
1056
+ #
1057
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/DescribeReturnShippingLabelRequest AWS API Documentation
1058
+ #
1059
+ class DescribeReturnShippingLabelRequest < Struct.new(
1060
+ :job_id)
1061
+ SENSITIVE = []
1062
+ include Aws::Structure
1063
+ end
1064
+
1065
+ # @!attribute [rw] status
1066
+ # The status information of the task on a Snow device that is being
1067
+ # returned to AWS.
1068
+ # @return [String]
1069
+ #
1070
+ # @!attribute [rw] expiration_date
1071
+ # The expiration date of the current return shipping label.
1072
+ # @return [Time]
1073
+ #
1074
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/DescribeReturnShippingLabelResult AWS API Documentation
1075
+ #
1076
+ class DescribeReturnShippingLabelResult < Struct.new(
1077
+ :status,
1078
+ :expiration_date)
1079
+ SENSITIVE = []
1080
+ include Aws::Structure
1081
+ end
1082
+
983
1083
  # The container for `SnowconeDeviceConfiguration`.
984
1084
  #
985
1085
  # @note When making an API call, you may pass DeviceConfiguration
@@ -1007,7 +1107,7 @@ module Aws::Snowball
1007
1107
  end
1008
1108
 
1009
1109
  # A JSON-formatted object that contains the IDs for an Amazon Machine
1010
- # Image (AMI), including the Amazon EC2 AMI ID and the Snowball Edge AMI
1110
+ # Image (AMI), including the Amazon EC2 AMI ID and the Snow device AMI
1011
1111
  # ID. Each AMI has these two IDs to simplify identifying the AMI in both
1012
1112
  # the AWS Cloud and on the device.
1013
1113
  #
@@ -1024,7 +1124,7 @@ module Aws::Snowball
1024
1124
  # @return [String]
1025
1125
  #
1026
1126
  # @!attribute [rw] snowball_ami_id
1027
- # The ID of the AMI on the Snowball Edge device.
1127
+ # The ID of the AMI on the Snow device.
1028
1128
  # @return [String]
1029
1129
  #
1030
1130
  # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/Ec2AmiResource AWS API Documentation
@@ -1145,12 +1245,12 @@ module Aws::Snowball
1145
1245
  class GetSnowballUsageRequest < Aws::EmptyStructure; end
1146
1246
 
1147
1247
  # @!attribute [rw] snowball_limit
1148
- # The service limit for number of Snowballs this account can have at
1149
- # once. The default service limit is 1 (one).
1248
+ # The service limit for number of Snow devices this account can have
1249
+ # at once. The default service limit is 1 (one).
1150
1250
  # @return [Integer]
1151
1251
  #
1152
1252
  # @!attribute [rw] snowballs_in_use
1153
- # The number of Snowballs that this account is currently using.
1253
+ # The number of Snow devices that this account is currently using.
1154
1254
  # @return [Integer]
1155
1255
  #
1156
1256
  # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/GetSnowballUsageResult AWS API Documentation
@@ -1311,13 +1411,13 @@ module Aws::Snowball
1311
1411
  # @return [String]
1312
1412
  #
1313
1413
  # @!attribute [rw] is_master
1314
- # A value that indicates that this job is a master job. A master job
1315
- # represents a successful request to create an export job. Master jobs
1316
- # aren't associated with any Snowballs. Instead, each master job will
1414
+ # A value that indicates that this job is a main job. A main job
1415
+ # represents a successful request to create an export job. Main jobs
1416
+ # aren't associated with any Snowballs. Instead, each main job will
1317
1417
  # have at least one job part, and each job part is associated with a
1318
1418
  # Snowball. It might take some time before the job parts associated
1319
- # with a particular master job are listed, because they are created
1320
- # after the master job is created.
1419
+ # with a particular main job are listed, because they are created
1420
+ # after the main job is created.
1321
1421
  # @return [Boolean]
1322
1422
  #
1323
1423
  # @!attribute [rw] job_type
@@ -1351,18 +1451,19 @@ module Aws::Snowball
1351
1451
  include Aws::Structure
1352
1452
  end
1353
1453
 
1354
- # Contains job logs. Whenever Snowball is used to import data into or
1355
- # export data out of Amazon S3, you'll have the option of downloading a
1356
- # PDF job report. Job logs are returned as a part of the response syntax
1357
- # of the `DescribeJob` action in the `JobMetadata` data type. The job
1358
- # logs can be accessed for up to 60 minutes after this request has been
1359
- # made. To access any of the job logs after 60 minutes have passed,
1360
- # you'll have to make another call to the `DescribeJob` action.
1454
+ # Contains job logs. Whenever a Snow device is used to import data into
1455
+ # or export data out of Amazon S3, you'll have the option of
1456
+ # downloading a PDF job report. Job logs are returned as a part of the
1457
+ # response syntax of the `DescribeJob` action in the `JobMetadata` data
1458
+ # type. The job logs can be accessed for up to 60 minutes after this
1459
+ # request has been made. To access any of the job logs after 60 minutes
1460
+ # have passed, you'll have to make another call to the `DescribeJob`
1461
+ # action.
1361
1462
  #
1362
1463
  # For import jobs, the PDF job report becomes available at the end of
1363
1464
  # the import process. For export jobs, your job report typically becomes
1364
- # available while the Snowball for your job part is being delivered to
1365
- # you.
1465
+ # available while the Snow device for your job part is being delivered
1466
+ # to you.
1366
1467
  #
1367
1468
  # The job report provides you insight into the state of your Amazon S3
1368
1469
  # data transfer. The report includes details about your job or job part
@@ -1456,7 +1557,7 @@ module Aws::Snowball
1456
1557
  # @return [String]
1457
1558
  #
1458
1559
  # @!attribute [rw] address_id
1459
- # The ID for the address that you want the Snowball shipped to.
1560
+ # The ID for the address that you want the Snow device shipped to.
1460
1561
  # @return [String]
1461
1562
  #
1462
1563
  # @!attribute [rw] shipping_details
@@ -1465,7 +1566,7 @@ module Aws::Snowball
1465
1566
  # @return [Types::ShippingDetails]
1466
1567
  #
1467
1568
  # @!attribute [rw] snowball_capacity_preference
1468
- # The Snowball capacity preference for this job, specified at job
1569
+ # The Snow device capacity preference for this job, specified at job
1469
1570
  # creation. In US regions, you can choose between 50 TB and 80 TB
1470
1571
  # Snowballs. All other regions use 80 TB capacity Snowballs.
1471
1572
  # @return [String]
@@ -1478,7 +1579,7 @@ module Aws::Snowball
1478
1579
  # @return [Types::Notification]
1479
1580
  #
1480
1581
  # @!attribute [rw] data_transfer_progress
1481
- # A value that defines the real-time status of a Snowball's data
1582
+ # A value that defines the real-time status of a Snow device's data
1482
1583
  # transfer while the device is at AWS. This data is only available
1483
1584
  # while a job has a `JobState` value of `InProgress`, for both import
1484
1585
  # and export jobs.
@@ -1488,8 +1589,8 @@ module Aws::Snowball
1488
1589
  # Links to Amazon S3 presigned URLs for the job report and logs. For
1489
1590
  # import jobs, the PDF job report becomes available at the end of the
1490
1591
  # import process. For export jobs, your job report typically becomes
1491
- # available while the Snowball for your job part is being delivered to
1492
- # you.
1592
+ # available while the Snow device for your job part is being delivered
1593
+ # to you.
1493
1594
  # @return [Types::JobLogs]
1494
1595
  #
1495
1596
  # @!attribute [rw] cluster_id
@@ -1807,7 +1908,7 @@ module Aws::Snowball
1807
1908
 
1808
1909
  # @!attribute [rw] compatible_images
1809
1910
  # A JSON-formatted object that describes a compatible AMI, including
1810
- # the ID and name for a Snowball Edge AMI.
1911
+ # the ID and name for a Snow device AMI.
1811
1912
  # @return [Array<Types::CompatibleImage>]
1812
1913
  #
1813
1914
  # @!attribute [rw] next_token
@@ -1926,6 +2027,21 @@ module Aws::Snowball
1926
2027
  include Aws::Structure
1927
2028
  end
1928
2029
 
2030
+ # You get this exception if you call `CreateReturnShippingLabel` and a
2031
+ # valid return shipping label already exists. In this case, use
2032
+ # `DescribeReturnShippingLabel` to get the url.
2033
+ #
2034
+ # @!attribute [rw] message
2035
+ # @return [String]
2036
+ #
2037
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ReturnShippingLabelAlreadyExistsException AWS API Documentation
2038
+ #
2039
+ class ReturnShippingLabelAlreadyExistsException < Struct.new(
2040
+ :message)
2041
+ SENSITIVE = []
2042
+ include Aws::Structure
2043
+ end
2044
+
1929
2045
  # Each `S3Resource` object represents an Amazon S3 bucket that your
1930
2046
  # transferred data will be exported from or imported into. For export
1931
2047
  # jobs, this object can have an optional `KeyRange` value. The length of
@@ -1973,8 +2089,8 @@ module Aws::Snowball
1973
2089
  #
1974
2090
  # @!attribute [rw] tracking_number
1975
2091
  # The tracking number for this job. Using this tracking number with
1976
- # your region's carrier's website, you can track a Snowball as the
1977
- # carrier transports it.
2092
+ # your region's carrier's website, you can track a Snow device as
2093
+ # the carrier transports it.
1978
2094
  #
1979
2095
  # For India, the carrier is Amazon Logistics. For all other regions,
1980
2096
  # UPS is the carrier.
@@ -1994,31 +2110,31 @@ module Aws::Snowball
1994
2110
  #
1995
2111
  # @!attribute [rw] shipping_option
1996
2112
  # The shipping speed for a particular job. This speed doesn't dictate
1997
- # how soon you'll get the Snowball from the job's creation date.
2113
+ # how soon you'll get the Snow device from the job's creation date.
1998
2114
  # This speed represents how quickly it moves to its destination while
1999
2115
  # in transit. Regional shipping speeds are as follows:
2000
2116
  #
2001
- # * In Australia, you have access to express shipping. Typically,
2002
- # Snowballs shipped express are delivered in about a day.
2117
+ # * In Australia, you have access to express shipping. Typically, Snow
2118
+ # devices shipped express are delivered in about a day.
2003
2119
  #
2004
2120
  # * In the European Union (EU), you have access to express shipping.
2005
- # Typically, Snowballs shipped express are delivered in about a day.
2006
- # In addition, most countries in the EU have access to standard
2121
+ # Typically, Snow devices shipped express are delivered in about a
2122
+ # day. In addition, most countries in the EU have access to standard
2007
2123
  # shipping, which typically takes less than a week, one way.
2008
2124
  #
2009
- # * In India, Snowballs are delivered in one to seven days.
2125
+ # * In India, Snow device are delivered in one to seven days.
2010
2126
  #
2011
2127
  # * In the United States of America (US), you have access to one-day
2012
2128
  # shipping and two-day shipping.
2013
2129
  # @return [String]
2014
2130
  #
2015
2131
  # @!attribute [rw] inbound_shipment
2016
- # The `Status` and `TrackingNumber` values for a Snowball being
2132
+ # The `Status` and `TrackingNumber` values for a Snow device being
2017
2133
  # returned to AWS for a particular job.
2018
2134
  # @return [Types::Shipment]
2019
2135
  #
2020
2136
  # @!attribute [rw] outbound_shipment
2021
- # The `Status` and `TrackingNumber` values for a Snowball being
2137
+ # The `Status` and `TrackingNumber` values for a Snow device being
2022
2138
  # delivered to the address that you specified for a particular job.
2023
2139
  # @return [Types::Shipment]
2024
2140
  #
@@ -2309,6 +2425,40 @@ module Aws::Snowball
2309
2425
  #
2310
2426
  class UpdateJobResult < Aws::EmptyStructure; end
2311
2427
 
2428
+ # @note When making an API call, you may pass UpdateJobShipmentStateRequest
2429
+ # data as a hash:
2430
+ #
2431
+ # {
2432
+ # job_id: "JobId", # required
2433
+ # shipment_state: "RECEIVED", # required, accepts RECEIVED, RETURNED
2434
+ # }
2435
+ #
2436
+ # @!attribute [rw] job_id
2437
+ # The job ID of the job whose shipment date you want to update, for
2438
+ # example `JID123e4567-e89b-12d3-a456-426655440000`.
2439
+ # @return [String]
2440
+ #
2441
+ # @!attribute [rw] shipment_state
2442
+ # The state of a device when it is being shipped.
2443
+ #
2444
+ # Set to `RECEIVED` when the device arrives at your location.
2445
+ #
2446
+ # Set to `RETURNED` when you have returned the device to AWS.
2447
+ # @return [String]
2448
+ #
2449
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/UpdateJobShipmentStateRequest AWS API Documentation
2450
+ #
2451
+ class UpdateJobShipmentStateRequest < Struct.new(
2452
+ :job_id,
2453
+ :shipment_state)
2454
+ SENSITIVE = []
2455
+ include Aws::Structure
2456
+ end
2457
+
2458
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/UpdateJobShipmentStateResult AWS API Documentation
2459
+ #
2460
+ class UpdateJobShipmentStateResult < Aws::EmptyStructure; end
2461
+
2312
2462
  # Configures the wireless connection on an AWS Snowcone device.
2313
2463
  #
2314
2464
  # @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.34.0
4
+ version: 1.35.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: 2020-09-30 00:00:00.000000000 Z
11
+ date: 2020-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core