aws-sdk-snowball 1.30.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 +4 -4
- data/lib/aws-sdk-snowball.rb +3 -2
- data/lib/aws-sdk-snowball/client.rb +168 -50
- data/lib/aws-sdk-snowball/client_api.rb +71 -0
- data/lib/aws-sdk-snowball/errors.rb +37 -0
- data/lib/aws-sdk-snowball/types.rb +245 -95
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b8e1a8dfd04dca3f618d53f4bd0d30a32d4f9443c15a0372d8e6074ec3090dc
|
4
|
+
data.tar.gz: 265c7216da45962e21b569cb2d1bf1daa62cdb3f054932b8e2271936020b5687
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 141cb0ea26b1f0651bf4395b0c0c8c248dabb93c12076ad7512109f7aed0274ff090f4841653b3fa53275fa353839915bb41ab6598df70cea2a4ec4e3cc3a26f
|
7
|
+
data.tar.gz: d944d3939f467d922192a4f99f746464d9ad354e4c463aa6f39ec8d22644d343d04fe9381f360011f485a10b0f0479cfb69cbdac91a5ef49ac65b2ac9a3ec86a
|
data/lib/aws-sdk-snowball.rb
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-snowball/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::Snowball
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.35.0'
|
51
52
|
|
52
53
|
end
|
@@ -85,13 +85,28 @@ module Aws::Snowball
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::Snowball
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -391,13 +406,14 @@ module Aws::Snowball
|
|
391
406
|
req.send_request(options)
|
392
407
|
end
|
393
408
|
|
394
|
-
# Creates an address for a
|
395
|
-
# addresses are validated at the time of creation. The address
|
396
|
-
# provide must be located within the serviceable area of your
|
397
|
-
# the address is invalid or unsupported, then an exception is
|
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.
|
398
414
|
#
|
399
415
|
# @option params [required, Types::Address] :address
|
400
|
-
# The address that you want the
|
416
|
+
# The address that you want the Snow device shipped to.
|
401
417
|
#
|
402
418
|
# @return [Types::CreateAddressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
403
419
|
#
|
@@ -502,9 +518,9 @@ module Aws::Snowball
|
|
502
518
|
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html
|
503
519
|
#
|
504
520
|
# @option params [String] :snowball_type
|
505
|
-
# The type of AWS
|
521
|
+
# The type of AWS Snow Family device to use for this cluster.
|
506
522
|
#
|
507
|
-
# <note markdown="1"> For cluster jobs, AWS
|
523
|
+
# <note markdown="1"> For cluster jobs, AWS Snow Family currently supports only the `EDGE`
|
508
524
|
# device type.
|
509
525
|
#
|
510
526
|
# </note>
|
@@ -515,15 +531,15 @@ module Aws::Snowball
|
|
515
531
|
# represents how quickly each device moves to its destination while in
|
516
532
|
# transit. Regional shipping speeds are as follows:
|
517
533
|
#
|
518
|
-
# * In Australia, you have access to express shipping. Typically,
|
519
|
-
#
|
534
|
+
# * In Australia, you have access to express shipping. Typically, Snow
|
535
|
+
# devices shipped express are delivered in about a day.
|
520
536
|
#
|
521
537
|
# * In the European Union (EU), you have access to express shipping.
|
522
|
-
# Typically,
|
523
|
-
# 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
|
524
540
|
# shipping, which typically takes less than a week, one way.
|
525
541
|
#
|
526
|
-
# * In India,
|
542
|
+
# * In India, Snow device are delivered in one to seven days.
|
527
543
|
#
|
528
544
|
# * In the United States of America (US), you have access to one-day
|
529
545
|
# shipping and two-day shipping.
|
@@ -533,11 +549,11 @@ module Aws::Snowball
|
|
533
549
|
# devices shipped express are delivered in about a day.
|
534
550
|
#
|
535
551
|
# * In the European Union (EU), you have access to express shipping.
|
536
|
-
# Typically,
|
552
|
+
# Typically, Snow devices shipped express are delivered in about a
|
537
553
|
# day. In addition, most countries in the EU have access to standard
|
538
554
|
# shipping, which typically takes less than a week, one way.
|
539
555
|
#
|
540
|
-
# * In India,
|
556
|
+
# * In India, Snow device are delivered in one to seven days.
|
541
557
|
#
|
542
558
|
# * In the US, you have access to one-day shipping and two-day shipping.
|
543
559
|
#
|
@@ -656,8 +672,8 @@ module Aws::Snowball
|
|
656
672
|
|
657
673
|
# Creates a job to import or export data between Amazon S3 and your
|
658
674
|
# on-premises data center. Your AWS account must have the right trust
|
659
|
-
# policies and permissions in place to create a job for
|
660
|
-
# 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
|
661
677
|
# provide the `clusterId` value; the other job attributes are inherited
|
662
678
|
# from the cluster.
|
663
679
|
#
|
@@ -682,7 +698,7 @@ module Aws::Snowball
|
|
682
698
|
# `Important Photos 2016-08-11`.
|
683
699
|
#
|
684
700
|
# @option params [String] :address_id
|
685
|
-
# The ID for the address that you want the
|
701
|
+
# The ID for the address that you want the Snow device shipped to.
|
686
702
|
#
|
687
703
|
# @option params [String] :kms_key_arn
|
688
704
|
# The `KmsKeyARN` that you want to associate with this job. `KmsKeyARN`s
|
@@ -704,24 +720,24 @@ module Aws::Snowball
|
|
704
720
|
#
|
705
721
|
# @option params [String] :snowball_capacity_preference
|
706
722
|
# If your job is being created in one of the US regions, you have the
|
707
|
-
# option of specifying what size
|
708
|
-
# 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.
|
709
725
|
#
|
710
726
|
# @option params [String] :shipping_option
|
711
727
|
# The shipping speed for this job. This speed doesn't dictate how soon
|
712
|
-
# you'll get the
|
713
|
-
#
|
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
|
714
730
|
# speeds are as follows:
|
715
731
|
#
|
716
|
-
# * In Australia, you have access to express shipping. Typically,
|
717
|
-
#
|
732
|
+
# * In Australia, you have access to express shipping. Typically, Snow
|
733
|
+
# devices shipped express are delivered in about a day.
|
718
734
|
#
|
719
735
|
# * In the European Union (EU), you have access to express shipping.
|
720
|
-
# Typically,
|
721
|
-
# 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
|
722
738
|
# shipping, which typically takes less than a week, one way.
|
723
739
|
#
|
724
|
-
# * In India,
|
740
|
+
# * In India, Snow devices are delivered in one to seven days.
|
725
741
|
#
|
726
742
|
# * In the US, you have access to one-day shipping and two-day shipping.
|
727
743
|
#
|
@@ -735,15 +751,15 @@ module Aws::Snowball
|
|
735
751
|
# job attributes are inherited from the cluster.
|
736
752
|
#
|
737
753
|
# @option params [String] :snowball_type
|
738
|
-
# The type of AWS
|
754
|
+
# The type of AWS Snow Family device to use for this job.
|
739
755
|
#
|
740
|
-
# <note markdown="1"> For cluster jobs, AWS
|
756
|
+
# <note markdown="1"> For cluster jobs, AWS Snow Family currently supports only the `EDGE`
|
741
757
|
# device type.
|
742
758
|
#
|
743
759
|
# </note>
|
744
760
|
#
|
745
|
-
# The type of AWS
|
746
|
-
#
|
761
|
+
# The type of AWS Snow device to use for this job. Currently, the only
|
762
|
+
# supported device type for cluster jobs is `EDGE`.
|
747
763
|
#
|
748
764
|
# For more information, see [Snowball Edge Device Options][1] in the
|
749
765
|
# Snowball Edge Developer Guide.
|
@@ -875,6 +891,43 @@ module Aws::Snowball
|
|
875
891
|
req.send_request(options)
|
876
892
|
end
|
877
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
|
+
|
878
931
|
# Takes an `AddressId` and returns specific details about that address
|
879
932
|
# in the form of an `Address` object.
|
880
933
|
#
|
@@ -1271,6 +1324,38 @@ module Aws::Snowball
|
|
1271
1324
|
req.send_request(options)
|
1272
1325
|
end
|
1273
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
|
+
|
1274
1359
|
# Returns a link to an Amazon S3 presigned URL for the manifest file
|
1275
1360
|
# associated with the specified `JobId` value. You can access the
|
1276
1361
|
# manifest file for up to 60 minutes after this request has been made.
|
@@ -1279,14 +1364,14 @@ module Aws::Snowball
|
|
1279
1364
|
#
|
1280
1365
|
# The manifest is an encrypted file that you can download after your job
|
1281
1366
|
# enters the `WithCustomer` status. The manifest is decrypted by using
|
1282
|
-
# the `UnlockCode` code value, when you pass both values to the
|
1283
|
-
# through the Snowball client when the client is started for the
|
1284
|
-
# 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.
|
1285
1370
|
#
|
1286
1371
|
# As a best practice, we recommend that you don't save a copy of an
|
1287
1372
|
# `UnlockCode` value in the same location as the manifest file for that
|
1288
1373
|
# job. Saving these separately helps prevent unauthorized parties from
|
1289
|
-
# gaining access to the
|
1374
|
+
# gaining access to the Snow device associated with that job.
|
1290
1375
|
#
|
1291
1376
|
# The credentials of a given job, including its manifest file and unlock
|
1292
1377
|
# code, expire 90 days after the job is created.
|
@@ -1347,13 +1432,14 @@ module Aws::Snowball
|
|
1347
1432
|
#
|
1348
1433
|
# The `UnlockCode` value is a 29-character code with 25 alphanumeric
|
1349
1434
|
# characters and 4 hyphens. This code is used to decrypt the manifest
|
1350
|
-
# file when it is passed along with the manifest to the
|
1351
|
-
# the Snowball client when the client is started for the first
|
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.
|
1352
1438
|
#
|
1353
1439
|
# As a best practice, we recommend that you don't save a copy of the
|
1354
1440
|
# `UnlockCode` in the same location as the manifest file for that job.
|
1355
1441
|
# Saving these separately helps prevent unauthorized parties from
|
1356
|
-
# gaining access to the
|
1442
|
+
# gaining access to the Snow device associated with that job.
|
1357
1443
|
#
|
1358
1444
|
# @option params [required, String] :job_id
|
1359
1445
|
# The ID for the job that you want to get the `UnlockCode` value for,
|
@@ -1403,10 +1489,10 @@ module Aws::Snowball
|
|
1403
1489
|
req.send_request(options)
|
1404
1490
|
end
|
1405
1491
|
|
1406
|
-
# Returns information about the
|
1407
|
-
# and also the number of
|
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.
|
1408
1494
|
#
|
1409
|
-
# The default service limit for the number of
|
1495
|
+
# The default service limit for the number of Snow devices that you can
|
1410
1496
|
# have at one time is 1. If you want to increase your service limit,
|
1411
1497
|
# contact AWS Support.
|
1412
1498
|
#
|
@@ -1652,8 +1738,8 @@ module Aws::Snowball
|
|
1652
1738
|
|
1653
1739
|
# This action returns a list of the different Amazon EC2 Amazon Machine
|
1654
1740
|
# Images (AMIs) that are owned by your AWS account that would be
|
1655
|
-
# supported for use on a
|
1656
|
-
#
|
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
|
1657
1743
|
# 14.04 LTS (HVM), and Ubuntu 16.04 LTS - Xenial (HVM) images, available
|
1658
1744
|
# on the AWS Marketplace.
|
1659
1745
|
#
|
@@ -1986,6 +2072,38 @@ module Aws::Snowball
|
|
1986
2072
|
req.send_request(options)
|
1987
2073
|
end
|
1988
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
|
+
|
1989
2107
|
# @!endgroup
|
1990
2108
|
|
1991
2109
|
# @param params ({})
|
@@ -1999,7 +2117,7 @@ module Aws::Snowball
|
|
1999
2117
|
params: params,
|
2000
2118
|
config: config)
|
2001
2119
|
context[:gem_name] = 'aws-sdk-snowball'
|
2002
|
-
context[:gem_version] = '1.
|
2120
|
+
context[:gem_version] = '1.35.0'
|
2003
2121
|
Seahorse::Client::Request.new(handlers, context)
|
2004
2122
|
end
|
2005
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
|