aws-sdk-snowball 1.24.0 → 1.25.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 +5 -5
- data/lib/aws-sdk-snowball.rb +1 -1
- data/lib/aws-sdk-snowball/client.rb +36 -29
- data/lib/aws-sdk-snowball/resource.rb +1 -7
- data/lib/aws-sdk-snowball/types.rb +4 -4
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: a426c5e560cf02b67051436e1114c12b20a8a09d7fa2b2dc07c9d4822817da92
|
|
4
|
+
data.tar.gz: 7f4aa0a56b2745a932db00948c76c65b1b567dd5712308dcdd78fc5d6a8c80eb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3b84a1c469009f41edaf3fc11dec55d107165c3bc1f463d31841f7f3b859aaf7b97fd26af73f2a6d40060856a1cbc3cb60b7698e7a7c773f60f207a89a375490
|
|
7
|
+
data.tar.gz: 8434d78701be8427b4d8a88c6b5443189b4f44504fd0095ab2386a961e8e91690d56a56b5e3b5d2cf0ee589822eb73f34a7915d76490d476f82fe9c9cba7ace9
|
data/lib/aws-sdk-snowball.rb
CHANGED
|
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:snowball)
|
|
|
32
32
|
module Aws::Snowball
|
|
33
33
|
# An API client for Snowball. To construct a client, you need to configure a `:region` and `:credentials`.
|
|
34
34
|
#
|
|
35
|
-
#
|
|
36
|
-
#
|
|
37
|
-
#
|
|
38
|
-
#
|
|
39
|
-
#
|
|
35
|
+
# client = Aws::Snowball::Client.new(
|
|
36
|
+
# region: region_name,
|
|
37
|
+
# credentials: credentials,
|
|
38
|
+
# # ...
|
|
39
|
+
# )
|
|
40
40
|
#
|
|
41
41
|
# For details on configuring region and credentials see
|
|
42
42
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
|
@@ -229,15 +229,19 @@ module Aws::Snowball
|
|
|
229
229
|
#
|
|
230
230
|
# @option options [String] :retry_mode ("legacy")
|
|
231
231
|
# Specifies which retry algorithm to use. Values are:
|
|
232
|
-
#
|
|
233
|
-
#
|
|
234
|
-
#
|
|
235
|
-
#
|
|
236
|
-
#
|
|
237
|
-
#
|
|
238
|
-
#
|
|
239
|
-
#
|
|
240
|
-
#
|
|
232
|
+
#
|
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
|
234
|
+
# no retry mode is provided.
|
|
235
|
+
#
|
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
|
238
|
+
# unsuccessful retries a client can make.
|
|
239
|
+
#
|
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
|
243
|
+
# in the future.
|
|
244
|
+
#
|
|
241
245
|
#
|
|
242
246
|
# @option options [String] :secret_access_key
|
|
243
247
|
#
|
|
@@ -275,8 +279,7 @@ module Aws::Snowball
|
|
|
275
279
|
#
|
|
276
280
|
# @option options [Integer] :http_read_timeout (60) The default
|
|
277
281
|
# number of seconds to wait for response data. This value can
|
|
278
|
-
# safely be set
|
|
279
|
-
# per-request on the session yielded by {#session_for}.
|
|
282
|
+
# safely be set per-request on the session.
|
|
280
283
|
#
|
|
281
284
|
# @option options [Float] :http_idle_timeout (5) The number of
|
|
282
285
|
# seconds a connection is allowed to sit idle before it is
|
|
@@ -288,7 +291,7 @@ module Aws::Snowball
|
|
|
288
291
|
# request body. This option has no effect unless the request has
|
|
289
292
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
|
290
293
|
# disables this behaviour. This value can safely be set per
|
|
291
|
-
# request on the session
|
|
294
|
+
# request on the session.
|
|
292
295
|
#
|
|
293
296
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
|
294
297
|
# HTTP debug output will be sent to the `:logger`.
|
|
@@ -608,7 +611,7 @@ module Aws::Snowball
|
|
|
608
611
|
# address_id: "AddressId", # required
|
|
609
612
|
# kms_key_arn: "KmsKeyARN",
|
|
610
613
|
# role_arn: "RoleARN", # required
|
|
611
|
-
# snowball_type: "STANDARD", # accepts STANDARD, EDGE, EDGE_C, EDGE_CG
|
|
614
|
+
# snowball_type: "STANDARD", # accepts STANDARD, EDGE, EDGE_C, EDGE_CG, EDGE_S
|
|
612
615
|
# shipping_option: "SECOND_DAY", # required, accepts SECOND_DAY, NEXT_DAY, EXPRESS, STANDARD
|
|
613
616
|
# notification: {
|
|
614
617
|
# sns_topic_arn: "SnsTopicARN",
|
|
@@ -810,7 +813,7 @@ module Aws::Snowball
|
|
|
810
813
|
# address_id: "AddressId",
|
|
811
814
|
# kms_key_arn: "KmsKeyARN",
|
|
812
815
|
# role_arn: "RoleARN",
|
|
813
|
-
# snowball_capacity_preference: "T50", # accepts T50, T80, T100, T42, NoPreference
|
|
816
|
+
# snowball_capacity_preference: "T50", # accepts T50, T80, T100, T42, T98, NoPreference
|
|
814
817
|
# shipping_option: "SECOND_DAY", # accepts SECOND_DAY, NEXT_DAY, EXPRESS, STANDARD
|
|
815
818
|
# notification: {
|
|
816
819
|
# sns_topic_arn: "SnsTopicARN",
|
|
@@ -818,7 +821,7 @@ module Aws::Snowball
|
|
|
818
821
|
# notify_all: false,
|
|
819
822
|
# },
|
|
820
823
|
# cluster_id: "ClusterId",
|
|
821
|
-
# snowball_type: "STANDARD", # accepts STANDARD, EDGE, EDGE_C, EDGE_CG
|
|
824
|
+
# snowball_type: "STANDARD", # accepts STANDARD, EDGE, EDGE_C, EDGE_CG, EDGE_S
|
|
822
825
|
# forwarding_address_id: "AddressId",
|
|
823
826
|
# tax_documents: {
|
|
824
827
|
# ind: {
|
|
@@ -924,6 +927,8 @@ module Aws::Snowball
|
|
|
924
927
|
# * {Types::DescribeAddressesResult#addresses #addresses} => Array<Types::Address>
|
|
925
928
|
# * {Types::DescribeAddressesResult#next_token #next_token} => String
|
|
926
929
|
#
|
|
930
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
931
|
+
#
|
|
927
932
|
#
|
|
928
933
|
# @example Example: To describe all the addresses you've created for AWS Snowball
|
|
929
934
|
#
|
|
@@ -1048,7 +1053,7 @@ module Aws::Snowball
|
|
|
1048
1053
|
# resp.cluster_metadata.role_arn #=> String
|
|
1049
1054
|
# resp.cluster_metadata.cluster_state #=> String, one of "AwaitingQuorum", "Pending", "InUse", "Complete", "Cancelled"
|
|
1050
1055
|
# resp.cluster_metadata.job_type #=> String, one of "IMPORT", "EXPORT", "LOCAL_USE"
|
|
1051
|
-
# resp.cluster_metadata.snowball_type #=> String, one of "STANDARD", "EDGE", "EDGE_C", "EDGE_CG"
|
|
1056
|
+
# resp.cluster_metadata.snowball_type #=> String, one of "STANDARD", "EDGE", "EDGE_C", "EDGE_CG", "EDGE_S"
|
|
1052
1057
|
# resp.cluster_metadata.creation_date #=> Time
|
|
1053
1058
|
# resp.cluster_metadata.resources.s3_resources #=> Array
|
|
1054
1059
|
# resp.cluster_metadata.resources.s3_resources[0].bucket_arn #=> String
|
|
@@ -1144,7 +1149,7 @@ module Aws::Snowball
|
|
|
1144
1149
|
# resp.job_metadata.job_id #=> String
|
|
1145
1150
|
# resp.job_metadata.job_state #=> String, one of "New", "PreparingAppliance", "PreparingShipment", "InTransitToCustomer", "WithCustomer", "InTransitToAWS", "WithAWSSortingFacility", "WithAWS", "InProgress", "Complete", "Cancelled", "Listing", "Pending"
|
|
1146
1151
|
# resp.job_metadata.job_type #=> String, one of "IMPORT", "EXPORT", "LOCAL_USE"
|
|
1147
|
-
# resp.job_metadata.snowball_type #=> String, one of "STANDARD", "EDGE", "EDGE_C", "EDGE_CG"
|
|
1152
|
+
# resp.job_metadata.snowball_type #=> String, one of "STANDARD", "EDGE", "EDGE_C", "EDGE_CG", "EDGE_S"
|
|
1148
1153
|
# resp.job_metadata.creation_date #=> Time
|
|
1149
1154
|
# resp.job_metadata.resources.s3_resources #=> Array
|
|
1150
1155
|
# resp.job_metadata.resources.s3_resources[0].bucket_arn #=> String
|
|
@@ -1166,7 +1171,7 @@ module Aws::Snowball
|
|
|
1166
1171
|
# resp.job_metadata.shipping_details.inbound_shipment.tracking_number #=> String
|
|
1167
1172
|
# resp.job_metadata.shipping_details.outbound_shipment.status #=> String
|
|
1168
1173
|
# resp.job_metadata.shipping_details.outbound_shipment.tracking_number #=> String
|
|
1169
|
-
# resp.job_metadata.snowball_capacity_preference #=> String, one of "T50", "T80", "T100", "T42", "NoPreference"
|
|
1174
|
+
# resp.job_metadata.snowball_capacity_preference #=> String, one of "T50", "T80", "T100", "T42", "T98", "NoPreference"
|
|
1170
1175
|
# resp.job_metadata.notification.sns_topic_arn #=> String
|
|
1171
1176
|
# resp.job_metadata.notification.job_states_to_notify #=> Array
|
|
1172
1177
|
# resp.job_metadata.notification.job_states_to_notify[0] #=> String, one of "New", "PreparingAppliance", "PreparingShipment", "InTransitToCustomer", "WithCustomer", "InTransitToAWS", "WithAWSSortingFacility", "WithAWS", "InProgress", "Complete", "Cancelled", "Listing", "Pending"
|
|
@@ -1185,7 +1190,7 @@ module Aws::Snowball
|
|
|
1185
1190
|
# resp.sub_job_metadata[0].job_id #=> String
|
|
1186
1191
|
# resp.sub_job_metadata[0].job_state #=> String, one of "New", "PreparingAppliance", "PreparingShipment", "InTransitToCustomer", "WithCustomer", "InTransitToAWS", "WithAWSSortingFacility", "WithAWS", "InProgress", "Complete", "Cancelled", "Listing", "Pending"
|
|
1187
1192
|
# resp.sub_job_metadata[0].job_type #=> String, one of "IMPORT", "EXPORT", "LOCAL_USE"
|
|
1188
|
-
# resp.sub_job_metadata[0].snowball_type #=> String, one of "STANDARD", "EDGE", "EDGE_C", "EDGE_CG"
|
|
1193
|
+
# resp.sub_job_metadata[0].snowball_type #=> String, one of "STANDARD", "EDGE", "EDGE_C", "EDGE_CG", "EDGE_S"
|
|
1189
1194
|
# resp.sub_job_metadata[0].creation_date #=> Time
|
|
1190
1195
|
# resp.sub_job_metadata[0].resources.s3_resources #=> Array
|
|
1191
1196
|
# resp.sub_job_metadata[0].resources.s3_resources[0].bucket_arn #=> String
|
|
@@ -1207,7 +1212,7 @@ module Aws::Snowball
|
|
|
1207
1212
|
# resp.sub_job_metadata[0].shipping_details.inbound_shipment.tracking_number #=> String
|
|
1208
1213
|
# resp.sub_job_metadata[0].shipping_details.outbound_shipment.status #=> String
|
|
1209
1214
|
# resp.sub_job_metadata[0].shipping_details.outbound_shipment.tracking_number #=> String
|
|
1210
|
-
# resp.sub_job_metadata[0].snowball_capacity_preference #=> String, one of "T50", "T80", "T100", "T42", "NoPreference"
|
|
1215
|
+
# resp.sub_job_metadata[0].snowball_capacity_preference #=> String, one of "T50", "T80", "T100", "T42", "T98", "NoPreference"
|
|
1211
1216
|
# resp.sub_job_metadata[0].notification.sns_topic_arn #=> String
|
|
1212
1217
|
# resp.sub_job_metadata[0].notification.job_states_to_notify #=> Array
|
|
1213
1218
|
# resp.sub_job_metadata[0].notification.job_states_to_notify[0] #=> String, one of "New", "PreparingAppliance", "PreparingShipment", "InTransitToCustomer", "WithCustomer", "InTransitToAWS", "WithAWSSortingFacility", "WithAWS", "InProgress", "Complete", "Cancelled", "Listing", "Pending"
|
|
@@ -1534,7 +1539,7 @@ module Aws::Snowball
|
|
|
1534
1539
|
# resp.job_list_entries[0].job_state #=> String, one of "New", "PreparingAppliance", "PreparingShipment", "InTransitToCustomer", "WithCustomer", "InTransitToAWS", "WithAWSSortingFacility", "WithAWS", "InProgress", "Complete", "Cancelled", "Listing", "Pending"
|
|
1535
1540
|
# resp.job_list_entries[0].is_master #=> Boolean
|
|
1536
1541
|
# resp.job_list_entries[0].job_type #=> String, one of "IMPORT", "EXPORT", "LOCAL_USE"
|
|
1537
|
-
# resp.job_list_entries[0].snowball_type #=> String, one of "STANDARD", "EDGE", "EDGE_C", "EDGE_CG"
|
|
1542
|
+
# resp.job_list_entries[0].snowball_type #=> String, one of "STANDARD", "EDGE", "EDGE_C", "EDGE_CG", "EDGE_S"
|
|
1538
1543
|
# resp.job_list_entries[0].creation_date #=> Time
|
|
1539
1544
|
# resp.job_list_entries[0].description #=> String
|
|
1540
1545
|
# resp.next_token #=> String
|
|
@@ -1675,6 +1680,8 @@ module Aws::Snowball
|
|
|
1675
1680
|
# * {Types::ListJobsResult#job_list_entries #job_list_entries} => Array<Types::JobListEntry>
|
|
1676
1681
|
# * {Types::ListJobsResult#next_token #next_token} => String
|
|
1677
1682
|
#
|
|
1683
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1684
|
+
#
|
|
1678
1685
|
#
|
|
1679
1686
|
# @example Example: To get a list of jobs that you've created for AWS Snowball
|
|
1680
1687
|
#
|
|
@@ -1714,7 +1721,7 @@ module Aws::Snowball
|
|
|
1714
1721
|
# resp.job_list_entries[0].job_state #=> String, one of "New", "PreparingAppliance", "PreparingShipment", "InTransitToCustomer", "WithCustomer", "InTransitToAWS", "WithAWSSortingFacility", "WithAWS", "InProgress", "Complete", "Cancelled", "Listing", "Pending"
|
|
1715
1722
|
# resp.job_list_entries[0].is_master #=> Boolean
|
|
1716
1723
|
# resp.job_list_entries[0].job_type #=> String, one of "IMPORT", "EXPORT", "LOCAL_USE"
|
|
1717
|
-
# resp.job_list_entries[0].snowball_type #=> String, one of "STANDARD", "EDGE", "EDGE_C", "EDGE_CG"
|
|
1724
|
+
# resp.job_list_entries[0].snowball_type #=> String, one of "STANDARD", "EDGE", "EDGE_C", "EDGE_CG", "EDGE_S"
|
|
1718
1725
|
# resp.job_list_entries[0].creation_date #=> Time
|
|
1719
1726
|
# resp.job_list_entries[0].description #=> String
|
|
1720
1727
|
# resp.next_token #=> String
|
|
@@ -1932,7 +1939,7 @@ module Aws::Snowball
|
|
|
1932
1939
|
# address_id: "AddressId",
|
|
1933
1940
|
# shipping_option: "SECOND_DAY", # accepts SECOND_DAY, NEXT_DAY, EXPRESS, STANDARD
|
|
1934
1941
|
# description: "String",
|
|
1935
|
-
# snowball_capacity_preference: "T50", # accepts T50, T80, T100, T42, NoPreference
|
|
1942
|
+
# snowball_capacity_preference: "T50", # accepts T50, T80, T100, T42, T98, NoPreference
|
|
1936
1943
|
# forwarding_address_id: "AddressId",
|
|
1937
1944
|
# })
|
|
1938
1945
|
#
|
|
@@ -1958,7 +1965,7 @@ module Aws::Snowball
|
|
|
1958
1965
|
params: params,
|
|
1959
1966
|
config: config)
|
|
1960
1967
|
context[:gem_name] = 'aws-sdk-snowball'
|
|
1961
|
-
context[:gem_version] = '1.
|
|
1968
|
+
context[:gem_version] = '1.25.0'
|
|
1962
1969
|
Seahorse::Client::Request.new(handlers, context)
|
|
1963
1970
|
end
|
|
1964
1971
|
|
|
@@ -6,13 +6,7 @@
|
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
|
7
7
|
|
|
8
8
|
module Aws::Snowball
|
|
9
|
-
|
|
10
|
-
# To create a resource object:
|
|
11
|
-
# resource = Aws::Snowball::Resource.new(region: 'us-west-2')
|
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
|
14
|
-
# client = Aws::Snowball::Client.new(region: 'us-west-2')
|
|
15
|
-
# resource = Aws::Snowball::Resource.new(client: client)
|
|
9
|
+
|
|
16
10
|
class Resource
|
|
17
11
|
|
|
18
12
|
# @param options ({})
|
|
@@ -433,7 +433,7 @@ module Aws::Snowball
|
|
|
433
433
|
# address_id: "AddressId", # required
|
|
434
434
|
# kms_key_arn: "KmsKeyARN",
|
|
435
435
|
# role_arn: "RoleARN", # required
|
|
436
|
-
# snowball_type: "STANDARD", # accepts STANDARD, EDGE, EDGE_C, EDGE_CG
|
|
436
|
+
# snowball_type: "STANDARD", # accepts STANDARD, EDGE, EDGE_C, EDGE_CG, EDGE_S
|
|
437
437
|
# shipping_option: "SECOND_DAY", # required, accepts SECOND_DAY, NEXT_DAY, EXPRESS, STANDARD
|
|
438
438
|
# notification: {
|
|
439
439
|
# sns_topic_arn: "SnsTopicARN",
|
|
@@ -599,7 +599,7 @@ module Aws::Snowball
|
|
|
599
599
|
# address_id: "AddressId",
|
|
600
600
|
# kms_key_arn: "KmsKeyARN",
|
|
601
601
|
# role_arn: "RoleARN",
|
|
602
|
-
# snowball_capacity_preference: "T50", # accepts T50, T80, T100, T42, NoPreference
|
|
602
|
+
# snowball_capacity_preference: "T50", # accepts T50, T80, T100, T42, T98, NoPreference
|
|
603
603
|
# shipping_option: "SECOND_DAY", # accepts SECOND_DAY, NEXT_DAY, EXPRESS, STANDARD
|
|
604
604
|
# notification: {
|
|
605
605
|
# sns_topic_arn: "SnsTopicARN",
|
|
@@ -607,7 +607,7 @@ module Aws::Snowball
|
|
|
607
607
|
# notify_all: false,
|
|
608
608
|
# },
|
|
609
609
|
# cluster_id: "ClusterId",
|
|
610
|
-
# snowball_type: "STANDARD", # accepts STANDARD, EDGE, EDGE_C, EDGE_CG
|
|
610
|
+
# snowball_type: "STANDARD", # accepts STANDARD, EDGE, EDGE_C, EDGE_CG, EDGE_S
|
|
611
611
|
# forwarding_address_id: "AddressId",
|
|
612
612
|
# tax_documents: {
|
|
613
613
|
# ind: {
|
|
@@ -2096,7 +2096,7 @@ module Aws::Snowball
|
|
|
2096
2096
|
# address_id: "AddressId",
|
|
2097
2097
|
# shipping_option: "SECOND_DAY", # accepts SECOND_DAY, NEXT_DAY, EXPRESS, STANDARD
|
|
2098
2098
|
# description: "String",
|
|
2099
|
-
# snowball_capacity_preference: "T50", # accepts T50, T80, T100, T42, NoPreference
|
|
2099
|
+
# snowball_capacity_preference: "T50", # accepts T50, T80, T100, T42, T98, NoPreference
|
|
2100
2100
|
# forwarding_address_id: "AddressId",
|
|
2101
2101
|
# }
|
|
2102
2102
|
#
|
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.
|
|
4
|
+
version: 1.25.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-
|
|
11
|
+
date: 2020-04-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
81
81
|
version: '0'
|
|
82
82
|
requirements: []
|
|
83
83
|
rubyforge_project:
|
|
84
|
-
rubygems_version: 2.
|
|
84
|
+
rubygems_version: 2.7.6.2
|
|
85
85
|
signing_key:
|
|
86
86
|
specification_version: 4
|
|
87
87
|
summary: AWS SDK for Ruby - Amazon Snowball
|