aws-sdk-snowball 1.52.0 → 1.53.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-snowball/client.rb +88 -15
- data/lib/aws-sdk-snowball/client_api.rb +46 -0
- data/lib/aws-sdk-snowball/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-snowball/endpoints.rb +14 -0
- data/lib/aws-sdk-snowball/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-snowball/types.rb +120 -3
- data/lib/aws-sdk-snowball.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fead9594d00c243f1a2815dd9e09d9179ec3ab37f7993de03aad4a531bb9d2a
|
4
|
+
data.tar.gz: bdcb15daa46c311780a8af3dd7a31f4201f1058b1fa9857513c539205305ad75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d54a7df1d64e84f3a481a5cb811c1c20c5954824133e2ed0ec88fe1f5194c0473fe81acc2379d086b93403167452ba8ed9134a5140829cd87af2ba883aa659b4
|
7
|
+
data.tar.gz: a5f5014ccc03c2ad16ac58dd56727e6e356b26cdb1d39e04c4325d30101be880c55bfe72f8b7a534d63b0655cf589eaaa99f1584422d70900bf540c7a9ab206f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.53.0 (2023-02-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adds support for EKS Anywhere on Snowball. AWS Snow Family customers can now install EKS Anywhere service on Snowball Edge Compute Optimized devices.
|
8
|
+
|
4
9
|
1.52.0 (2023-01-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.53.0
|
@@ -719,6 +719,10 @@ module Aws::Snowball
|
|
719
719
|
# storage_limit: 1,
|
720
720
|
# storage_unit: "TB", # accepts TB
|
721
721
|
# },
|
722
|
+
# eks_on_device_service: {
|
723
|
+
# kubernetes_version: "String",
|
724
|
+
# eks_anywhere_version: "String",
|
725
|
+
# },
|
722
726
|
# },
|
723
727
|
# description: "String",
|
724
728
|
# address_id: "AddressId", # required
|
@@ -824,14 +828,6 @@ module Aws::Snowball
|
|
824
828
|
#
|
825
829
|
#
|
826
830
|
#
|
827
|
-
# * Device type: **V3\_5C**
|
828
|
-
#
|
829
|
-
# * Capacity: T32
|
830
|
-
#
|
831
|
-
# * Description: Snowball Edge Compute Optimized without GPU
|
832
|
-
#
|
833
|
-
#
|
834
|
-
#
|
835
831
|
# * Device type: **STANDARD**
|
836
832
|
#
|
837
833
|
# * Capacity: T50
|
@@ -1082,12 +1078,16 @@ module Aws::Snowball
|
|
1082
1078
|
# storage_limit: 1,
|
1083
1079
|
# storage_unit: "TB", # accepts TB
|
1084
1080
|
# },
|
1081
|
+
# eks_on_device_service: {
|
1082
|
+
# kubernetes_version: "String",
|
1083
|
+
# eks_anywhere_version: "String",
|
1084
|
+
# },
|
1085
1085
|
# },
|
1086
1086
|
# description: "String",
|
1087
1087
|
# address_id: "AddressId",
|
1088
1088
|
# kms_key_arn: "KmsKeyARN",
|
1089
1089
|
# role_arn: "RoleARN",
|
1090
|
-
# snowball_capacity_preference: "T50", # accepts T50, T80, T100, T42, T98, T8, T14,
|
1090
|
+
# snowball_capacity_preference: "T50", # accepts T50, T80, T100, T42, T98, T8, T14, T32, NoPreference
|
1091
1091
|
# shipping_option: "SECOND_DAY", # accepts SECOND_DAY, NEXT_DAY, EXPRESS, STANDARD
|
1092
1092
|
# notification: {
|
1093
1093
|
# sns_topic_arn: "SnsTopicARN",
|
@@ -1136,8 +1136,6 @@ module Aws::Snowball
|
|
1136
1136
|
# 1-year or 3-year long-term pricing.
|
1137
1137
|
#
|
1138
1138
|
# @option params [Boolean] :is_long_term_pricing_auto_renew
|
1139
|
-
# snowballty
|
1140
|
-
#
|
1141
1139
|
# Specifies whether the current long-term pricing type for the device
|
1142
1140
|
# should be renewed.
|
1143
1141
|
#
|
@@ -1444,6 +1442,8 @@ module Aws::Snowball
|
|
1444
1442
|
# resp.cluster_metadata.on_device_service_configuration.nfs_on_device_service.storage_unit #=> String, one of "TB"
|
1445
1443
|
# resp.cluster_metadata.on_device_service_configuration.tgw_on_device_service.storage_limit #=> Integer
|
1446
1444
|
# resp.cluster_metadata.on_device_service_configuration.tgw_on_device_service.storage_unit #=> String, one of "TB"
|
1445
|
+
# resp.cluster_metadata.on_device_service_configuration.eks_on_device_service.kubernetes_version #=> String
|
1446
|
+
# resp.cluster_metadata.on_device_service_configuration.eks_on_device_service.eks_anywhere_version #=> String
|
1447
1447
|
#
|
1448
1448
|
# @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/DescribeCluster AWS API Documentation
|
1449
1449
|
#
|
@@ -1544,7 +1544,7 @@ module Aws::Snowball
|
|
1544
1544
|
# resp.job_metadata.shipping_details.inbound_shipment.tracking_number #=> String
|
1545
1545
|
# resp.job_metadata.shipping_details.outbound_shipment.status #=> String
|
1546
1546
|
# resp.job_metadata.shipping_details.outbound_shipment.tracking_number #=> String
|
1547
|
-
# resp.job_metadata.snowball_capacity_preference #=> String, one of "T50", "T80", "T100", "T42", "T98", "T8", "T14", "
|
1547
|
+
# resp.job_metadata.snowball_capacity_preference #=> String, one of "T50", "T80", "T100", "T42", "T98", "T8", "T14", "T32", "NoPreference"
|
1548
1548
|
# resp.job_metadata.notification.sns_topic_arn #=> String
|
1549
1549
|
# resp.job_metadata.notification.job_states_to_notify #=> Array
|
1550
1550
|
# 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"
|
@@ -1566,6 +1566,8 @@ module Aws::Snowball
|
|
1566
1566
|
# resp.job_metadata.on_device_service_configuration.nfs_on_device_service.storage_unit #=> String, one of "TB"
|
1567
1567
|
# resp.job_metadata.on_device_service_configuration.tgw_on_device_service.storage_limit #=> Integer
|
1568
1568
|
# resp.job_metadata.on_device_service_configuration.tgw_on_device_service.storage_unit #=> String, one of "TB"
|
1569
|
+
# resp.job_metadata.on_device_service_configuration.eks_on_device_service.kubernetes_version #=> String
|
1570
|
+
# resp.job_metadata.on_device_service_configuration.eks_on_device_service.eks_anywhere_version #=> String
|
1569
1571
|
# resp.sub_job_metadata #=> Array
|
1570
1572
|
# resp.sub_job_metadata[0].job_id #=> String
|
1571
1573
|
# resp.sub_job_metadata[0].job_state #=> String, one of "New", "PreparingAppliance", "PreparingShipment", "InTransitToCustomer", "WithCustomer", "InTransitToAWS", "WithAWSSortingFacility", "WithAWS", "InProgress", "Complete", "Cancelled", "Listing", "Pending"
|
@@ -1595,7 +1597,7 @@ module Aws::Snowball
|
|
1595
1597
|
# resp.sub_job_metadata[0].shipping_details.inbound_shipment.tracking_number #=> String
|
1596
1598
|
# resp.sub_job_metadata[0].shipping_details.outbound_shipment.status #=> String
|
1597
1599
|
# resp.sub_job_metadata[0].shipping_details.outbound_shipment.tracking_number #=> String
|
1598
|
-
# resp.sub_job_metadata[0].snowball_capacity_preference #=> String, one of "T50", "T80", "T100", "T42", "T98", "T8", "T14", "
|
1600
|
+
# resp.sub_job_metadata[0].snowball_capacity_preference #=> String, one of "T50", "T80", "T100", "T42", "T98", "T8", "T14", "T32", "NoPreference"
|
1599
1601
|
# resp.sub_job_metadata[0].notification.sns_topic_arn #=> String
|
1600
1602
|
# resp.sub_job_metadata[0].notification.job_states_to_notify #=> Array
|
1601
1603
|
# 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"
|
@@ -1617,6 +1619,8 @@ module Aws::Snowball
|
|
1617
1619
|
# resp.sub_job_metadata[0].on_device_service_configuration.nfs_on_device_service.storage_unit #=> String, one of "TB"
|
1618
1620
|
# resp.sub_job_metadata[0].on_device_service_configuration.tgw_on_device_service.storage_limit #=> Integer
|
1619
1621
|
# resp.sub_job_metadata[0].on_device_service_configuration.tgw_on_device_service.storage_unit #=> String, one of "TB"
|
1622
|
+
# resp.sub_job_metadata[0].on_device_service_configuration.eks_on_device_service.kubernetes_version #=> String
|
1623
|
+
# resp.sub_job_metadata[0].on_device_service_configuration.eks_on_device_service.eks_anywhere_version #=> String
|
1620
1624
|
#
|
1621
1625
|
# @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/DescribeJob AWS API Documentation
|
1622
1626
|
#
|
@@ -2218,6 +2222,67 @@ module Aws::Snowball
|
|
2218
2222
|
req.send_request(options)
|
2219
2223
|
end
|
2220
2224
|
|
2225
|
+
# Lists all supported versions for Snow on-device services. Returns an
|
2226
|
+
# array of `ServiceVersion` object containing the supported versions for
|
2227
|
+
# a particular service.
|
2228
|
+
#
|
2229
|
+
# @option params [required, String] :service_name
|
2230
|
+
# The name of the service for which you're requesting supported
|
2231
|
+
# versions.
|
2232
|
+
#
|
2233
|
+
# @option params [Array<Types::DependentService>] :dependent_services
|
2234
|
+
# A list of names and versions of dependant services of the requested
|
2235
|
+
# service.
|
2236
|
+
#
|
2237
|
+
# @option params [Integer] :max_results
|
2238
|
+
# The maximum number of `ListServiceVersions` objects to return.
|
2239
|
+
#
|
2240
|
+
# @option params [String] :next_token
|
2241
|
+
# Because HTTP requests are stateless, this is the starting point for
|
2242
|
+
# the next list of returned `ListServiceVersionsRequest` versions.
|
2243
|
+
#
|
2244
|
+
# @return [Types::ListServiceVersionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2245
|
+
#
|
2246
|
+
# * {Types::ListServiceVersionsResult#service_versions #service_versions} => Array<Types::ServiceVersion>
|
2247
|
+
# * {Types::ListServiceVersionsResult#service_name #service_name} => String
|
2248
|
+
# * {Types::ListServiceVersionsResult#dependent_services #dependent_services} => Array<Types::DependentService>
|
2249
|
+
# * {Types::ListServiceVersionsResult#next_token #next_token} => String
|
2250
|
+
#
|
2251
|
+
# @example Request syntax with placeholder values
|
2252
|
+
#
|
2253
|
+
# resp = client.list_service_versions({
|
2254
|
+
# service_name: "KUBERNETES", # required, accepts KUBERNETES, EKS_ANYWHERE
|
2255
|
+
# dependent_services: [
|
2256
|
+
# {
|
2257
|
+
# service_name: "KUBERNETES", # accepts KUBERNETES, EKS_ANYWHERE
|
2258
|
+
# service_version: {
|
2259
|
+
# version: "String",
|
2260
|
+
# },
|
2261
|
+
# },
|
2262
|
+
# ],
|
2263
|
+
# max_results: 1,
|
2264
|
+
# next_token: "String",
|
2265
|
+
# })
|
2266
|
+
#
|
2267
|
+
# @example Response structure
|
2268
|
+
#
|
2269
|
+
# resp.service_versions #=> Array
|
2270
|
+
# resp.service_versions[0].version #=> String
|
2271
|
+
# resp.service_name #=> String, one of "KUBERNETES", "EKS_ANYWHERE"
|
2272
|
+
# resp.dependent_services #=> Array
|
2273
|
+
# resp.dependent_services[0].service_name #=> String, one of "KUBERNETES", "EKS_ANYWHERE"
|
2274
|
+
# resp.dependent_services[0].service_version.version #=> String
|
2275
|
+
# resp.next_token #=> String
|
2276
|
+
#
|
2277
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ListServiceVersions AWS API Documentation
|
2278
|
+
#
|
2279
|
+
# @overload list_service_versions(params = {})
|
2280
|
+
# @param [Hash] params ({})
|
2281
|
+
def list_service_versions(params = {}, options = {})
|
2282
|
+
req = build_request(:list_service_versions, params)
|
2283
|
+
req.send_request(options)
|
2284
|
+
end
|
2285
|
+
|
2221
2286
|
# While a cluster's `ClusterState` value is in the `AwaitingQuorum`
|
2222
2287
|
# state, you can update some of the information associated with a
|
2223
2288
|
# cluster. Once the cluster changes to a different job state, usually 60
|
@@ -2326,6 +2391,10 @@ module Aws::Snowball
|
|
2326
2391
|
# storage_limit: 1,
|
2327
2392
|
# storage_unit: "TB", # accepts TB
|
2328
2393
|
# },
|
2394
|
+
# eks_on_device_service: {
|
2395
|
+
# kubernetes_version: "String",
|
2396
|
+
# eks_anywhere_version: "String",
|
2397
|
+
# },
|
2329
2398
|
# },
|
2330
2399
|
# address_id: "AddressId",
|
2331
2400
|
# shipping_option: "SECOND_DAY", # accepts SECOND_DAY, NEXT_DAY, EXPRESS, STANDARD
|
@@ -2468,11 +2537,15 @@ module Aws::Snowball
|
|
2468
2537
|
# storage_limit: 1,
|
2469
2538
|
# storage_unit: "TB", # accepts TB
|
2470
2539
|
# },
|
2540
|
+
# eks_on_device_service: {
|
2541
|
+
# kubernetes_version: "String",
|
2542
|
+
# eks_anywhere_version: "String",
|
2543
|
+
# },
|
2471
2544
|
# },
|
2472
2545
|
# address_id: "AddressId",
|
2473
2546
|
# shipping_option: "SECOND_DAY", # accepts SECOND_DAY, NEXT_DAY, EXPRESS, STANDARD
|
2474
2547
|
# description: "String",
|
2475
|
-
# snowball_capacity_preference: "T50", # accepts T50, T80, T100, T42, T98, T8, T14,
|
2548
|
+
# snowball_capacity_preference: "T50", # accepts T50, T80, T100, T42, T98, T8, T14, T32, NoPreference
|
2476
2549
|
# forwarding_address_id: "AddressId",
|
2477
2550
|
# })
|
2478
2551
|
#
|
@@ -2563,7 +2636,7 @@ module Aws::Snowball
|
|
2563
2636
|
params: params,
|
2564
2637
|
config: config)
|
2565
2638
|
context[:gem_name] = 'aws-sdk-snowball'
|
2566
|
-
context[:gem_version] = '1.
|
2639
|
+
context[:gem_version] = '1.53.0'
|
2567
2640
|
Seahorse::Client::Request.new(handlers, context)
|
2568
2641
|
end
|
2569
2642
|
|
@@ -42,6 +42,8 @@ module Aws::Snowball
|
|
42
42
|
CreateReturnShippingLabelRequest = Shapes::StructureShape.new(name: 'CreateReturnShippingLabelRequest')
|
43
43
|
CreateReturnShippingLabelResult = Shapes::StructureShape.new(name: 'CreateReturnShippingLabelResult')
|
44
44
|
DataTransfer = Shapes::StructureShape.new(name: 'DataTransfer')
|
45
|
+
DependentService = Shapes::StructureShape.new(name: 'DependentService')
|
46
|
+
DependentServiceList = Shapes::ListShape.new(name: 'DependentServiceList')
|
45
47
|
DescribeAddressRequest = Shapes::StructureShape.new(name: 'DescribeAddressRequest')
|
46
48
|
DescribeAddressResult = Shapes::StructureShape.new(name: 'DescribeAddressResult')
|
47
49
|
DescribeAddressesRequest = Shapes::StructureShape.new(name: 'DescribeAddressesRequest')
|
@@ -54,6 +56,7 @@ module Aws::Snowball
|
|
54
56
|
DescribeReturnShippingLabelResult = Shapes::StructureShape.new(name: 'DescribeReturnShippingLabelResult')
|
55
57
|
DeviceConfiguration = Shapes::StructureShape.new(name: 'DeviceConfiguration')
|
56
58
|
DeviceServiceName = Shapes::StringShape.new(name: 'DeviceServiceName')
|
59
|
+
EKSOnDeviceServiceConfiguration = Shapes::StructureShape.new(name: 'EKSOnDeviceServiceConfiguration')
|
57
60
|
Ec2AmiResource = Shapes::StructureShape.new(name: 'Ec2AmiResource')
|
58
61
|
Ec2AmiResourceList = Shapes::ListShape.new(name: 'Ec2AmiResourceList')
|
59
62
|
Ec2RequestFailedException = Shapes::StructureShape.new(name: 'Ec2RequestFailedException')
|
@@ -102,6 +105,8 @@ module Aws::Snowball
|
|
102
105
|
ListLimit = Shapes::IntegerShape.new(name: 'ListLimit')
|
103
106
|
ListLongTermPricingRequest = Shapes::StructureShape.new(name: 'ListLongTermPricingRequest')
|
104
107
|
ListLongTermPricingResult = Shapes::StructureShape.new(name: 'ListLongTermPricingResult')
|
108
|
+
ListServiceVersionsRequest = Shapes::StructureShape.new(name: 'ListServiceVersionsRequest')
|
109
|
+
ListServiceVersionsResult = Shapes::StructureShape.new(name: 'ListServiceVersionsResult')
|
105
110
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
106
111
|
LongTermPricingAssociatedJobIdList = Shapes::ListShape.new(name: 'LongTermPricingAssociatedJobIdList')
|
107
112
|
LongTermPricingEntryList = Shapes::ListShape.new(name: 'LongTermPricingEntryList')
|
@@ -117,6 +122,9 @@ module Aws::Snowball
|
|
117
122
|
RoleARN = Shapes::StringShape.new(name: 'RoleARN')
|
118
123
|
S3Resource = Shapes::StructureShape.new(name: 'S3Resource')
|
119
124
|
S3ResourceList = Shapes::ListShape.new(name: 'S3ResourceList')
|
125
|
+
ServiceName = Shapes::StringShape.new(name: 'ServiceName')
|
126
|
+
ServiceVersion = Shapes::StructureShape.new(name: 'ServiceVersion')
|
127
|
+
ServiceVersionList = Shapes::ListShape.new(name: 'ServiceVersionList')
|
120
128
|
Shipment = Shapes::StructureShape.new(name: 'Shipment')
|
121
129
|
ShipmentState = Shapes::StringShape.new(name: 'ShipmentState')
|
122
130
|
ShippingDetails = Shapes::StructureShape.new(name: 'ShippingDetails')
|
@@ -279,6 +287,12 @@ module Aws::Snowball
|
|
279
287
|
DataTransfer.add_member(:total_objects, Shapes::ShapeRef.new(shape: Long, location_name: "TotalObjects"))
|
280
288
|
DataTransfer.struct_class = Types::DataTransfer
|
281
289
|
|
290
|
+
DependentService.add_member(:service_name, Shapes::ShapeRef.new(shape: ServiceName, location_name: "ServiceName"))
|
291
|
+
DependentService.add_member(:service_version, Shapes::ShapeRef.new(shape: ServiceVersion, location_name: "ServiceVersion"))
|
292
|
+
DependentService.struct_class = Types::DependentService
|
293
|
+
|
294
|
+
DependentServiceList.member = Shapes::ShapeRef.new(shape: DependentService)
|
295
|
+
|
282
296
|
DescribeAddressRequest.add_member(:address_id, Shapes::ShapeRef.new(shape: AddressId, required: true, location_name: "AddressId"))
|
283
297
|
DescribeAddressRequest.struct_class = Types::DescribeAddressRequest
|
284
298
|
|
@@ -317,6 +331,10 @@ module Aws::Snowball
|
|
317
331
|
DeviceConfiguration.add_member(:snowcone_device_configuration, Shapes::ShapeRef.new(shape: SnowconeDeviceConfiguration, location_name: "SnowconeDeviceConfiguration"))
|
318
332
|
DeviceConfiguration.struct_class = Types::DeviceConfiguration
|
319
333
|
|
334
|
+
EKSOnDeviceServiceConfiguration.add_member(:kubernetes_version, Shapes::ShapeRef.new(shape: String, location_name: "KubernetesVersion"))
|
335
|
+
EKSOnDeviceServiceConfiguration.add_member(:eks_anywhere_version, Shapes::ShapeRef.new(shape: String, location_name: "EKSAnywhereVersion"))
|
336
|
+
EKSOnDeviceServiceConfiguration.struct_class = Types::EKSOnDeviceServiceConfiguration
|
337
|
+
|
320
338
|
Ec2AmiResource.add_member(:ami_id, Shapes::ShapeRef.new(shape: AmiId, required: true, location_name: "AmiId"))
|
321
339
|
Ec2AmiResource.add_member(:snowball_ami_id, Shapes::ShapeRef.new(shape: String, location_name: "SnowballAmiId"))
|
322
340
|
Ec2AmiResource.struct_class = Types::Ec2AmiResource
|
@@ -477,6 +495,18 @@ module Aws::Snowball
|
|
477
495
|
ListLongTermPricingResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
478
496
|
ListLongTermPricingResult.struct_class = Types::ListLongTermPricingResult
|
479
497
|
|
498
|
+
ListServiceVersionsRequest.add_member(:service_name, Shapes::ShapeRef.new(shape: ServiceName, required: true, location_name: "ServiceName"))
|
499
|
+
ListServiceVersionsRequest.add_member(:dependent_services, Shapes::ShapeRef.new(shape: DependentServiceList, location_name: "DependentServices"))
|
500
|
+
ListServiceVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListLimit, location_name: "MaxResults"))
|
501
|
+
ListServiceVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
502
|
+
ListServiceVersionsRequest.struct_class = Types::ListServiceVersionsRequest
|
503
|
+
|
504
|
+
ListServiceVersionsResult.add_member(:service_versions, Shapes::ShapeRef.new(shape: ServiceVersionList, required: true, location_name: "ServiceVersions"))
|
505
|
+
ListServiceVersionsResult.add_member(:service_name, Shapes::ShapeRef.new(shape: ServiceName, required: true, location_name: "ServiceName"))
|
506
|
+
ListServiceVersionsResult.add_member(:dependent_services, Shapes::ShapeRef.new(shape: DependentServiceList, location_name: "DependentServices"))
|
507
|
+
ListServiceVersionsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
508
|
+
ListServiceVersionsResult.struct_class = Types::ListServiceVersionsResult
|
509
|
+
|
480
510
|
LongTermPricingAssociatedJobIdList.member = Shapes::ShapeRef.new(shape: JobId)
|
481
511
|
|
482
512
|
LongTermPricingEntryList.member = Shapes::ShapeRef.new(shape: LongTermPricingListEntry)
|
@@ -504,6 +534,7 @@ module Aws::Snowball
|
|
504
534
|
|
505
535
|
OnDeviceServiceConfiguration.add_member(:nfs_on_device_service, Shapes::ShapeRef.new(shape: NFSOnDeviceServiceConfiguration, location_name: "NFSOnDeviceService"))
|
506
536
|
OnDeviceServiceConfiguration.add_member(:tgw_on_device_service, Shapes::ShapeRef.new(shape: TGWOnDeviceServiceConfiguration, location_name: "TGWOnDeviceService"))
|
537
|
+
OnDeviceServiceConfiguration.add_member(:eks_on_device_service, Shapes::ShapeRef.new(shape: EKSOnDeviceServiceConfiguration, location_name: "EKSOnDeviceService"))
|
507
538
|
OnDeviceServiceConfiguration.struct_class = Types::OnDeviceServiceConfiguration
|
508
539
|
|
509
540
|
ReturnShippingLabelAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
@@ -516,6 +547,11 @@ module Aws::Snowball
|
|
516
547
|
|
517
548
|
S3ResourceList.member = Shapes::ShapeRef.new(shape: S3Resource)
|
518
549
|
|
550
|
+
ServiceVersion.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "Version"))
|
551
|
+
ServiceVersion.struct_class = Types::ServiceVersion
|
552
|
+
|
553
|
+
ServiceVersionList.member = Shapes::ShapeRef.new(shape: ServiceVersion)
|
554
|
+
|
519
555
|
Shipment.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
|
520
556
|
Shipment.add_member(:tracking_number, Shapes::ShapeRef.new(shape: String, location_name: "TrackingNumber"))
|
521
557
|
Shipment.struct_class = Types::Shipment
|
@@ -855,6 +891,16 @@ module Aws::Snowball
|
|
855
891
|
)
|
856
892
|
end)
|
857
893
|
|
894
|
+
api.add_operation(:list_service_versions, Seahorse::Model::Operation.new.tap do |o|
|
895
|
+
o.name = "ListServiceVersions"
|
896
|
+
o.http_method = "POST"
|
897
|
+
o.http_request_uri = "/"
|
898
|
+
o.input = Shapes::ShapeRef.new(shape: ListServiceVersionsRequest)
|
899
|
+
o.output = Shapes::ShapeRef.new(shape: ListServiceVersionsResult)
|
900
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
901
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
|
902
|
+
end)
|
903
|
+
|
858
904
|
api.add_operation(:update_cluster, Seahorse::Model::Operation.new.tap do |o|
|
859
905
|
o.name = "UpdateCluster"
|
860
906
|
o.http_method = "POST"
|
@@ -14,36 +14,39 @@ module Aws::Snowball
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://snowball-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://snowball-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://snowball-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://snowball-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://snowball.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://snowball.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://snowball.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
@@ -305,6 +305,20 @@ module Aws::Snowball
|
|
305
305
|
end
|
306
306
|
end
|
307
307
|
|
308
|
+
class ListServiceVersions
|
309
|
+
def self.build(context)
|
310
|
+
unless context.config.regional_endpoint
|
311
|
+
endpoint = context.config.endpoint.to_s
|
312
|
+
end
|
313
|
+
Aws::Snowball::EndpointParameters.new(
|
314
|
+
region: context.config.region,
|
315
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
316
|
+
use_fips: context.config.use_fips_endpoint,
|
317
|
+
endpoint: endpoint,
|
318
|
+
)
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
308
322
|
class UpdateCluster
|
309
323
|
def self.build(context)
|
310
324
|
unless context.config.regional_endpoint
|
@@ -98,6 +98,8 @@ module Aws::Snowball
|
|
98
98
|
Aws::Snowball::Endpoints::ListJobs.build(context)
|
99
99
|
when :list_long_term_pricing
|
100
100
|
Aws::Snowball::Endpoints::ListLongTermPricing.build(context)
|
101
|
+
when :list_service_versions
|
102
|
+
Aws::Snowball::Endpoints::ListServiceVersions.build(context)
|
101
103
|
when :update_cluster
|
102
104
|
Aws::Snowball::Endpoints::UpdateCluster.build(context)
|
103
105
|
when :update_job
|
@@ -730,8 +730,6 @@ module Aws::Snowball
|
|
730
730
|
# @return [String]
|
731
731
|
#
|
732
732
|
# @!attribute [rw] is_long_term_pricing_auto_renew
|
733
|
-
# snowballty
|
734
|
-
#
|
735
733
|
# Specifies whether the current long-term pricing type for the device
|
736
734
|
# should be renewed.
|
737
735
|
# @return [Boolean]
|
@@ -834,6 +832,26 @@ module Aws::Snowball
|
|
834
832
|
include Aws::Structure
|
835
833
|
end
|
836
834
|
|
835
|
+
# The name and version of the service dependant on the requested
|
836
|
+
# service.
|
837
|
+
#
|
838
|
+
# @!attribute [rw] service_name
|
839
|
+
# The name of the dependent service.
|
840
|
+
# @return [String]
|
841
|
+
#
|
842
|
+
# @!attribute [rw] service_version
|
843
|
+
# The version of the dependent service.
|
844
|
+
# @return [Types::ServiceVersion]
|
845
|
+
#
|
846
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/DependentService AWS API Documentation
|
847
|
+
#
|
848
|
+
class DependentService < Struct.new(
|
849
|
+
:service_name,
|
850
|
+
:service_version)
|
851
|
+
SENSITIVE = []
|
852
|
+
include Aws::Structure
|
853
|
+
end
|
854
|
+
|
837
855
|
# @!attribute [rw] address_id
|
838
856
|
# The automatically generated ID for a specific address.
|
839
857
|
# @return [String]
|
@@ -1009,6 +1027,26 @@ module Aws::Snowball
|
|
1009
1027
|
include Aws::Structure
|
1010
1028
|
end
|
1011
1029
|
|
1030
|
+
# An object representing the metadata and configuration settings of EKS
|
1031
|
+
# Anywhere on the Snow Family device.
|
1032
|
+
#
|
1033
|
+
# @!attribute [rw] kubernetes_version
|
1034
|
+
# The Kubernetes version for EKS Anywhere on the Snow Family device.
|
1035
|
+
# @return [String]
|
1036
|
+
#
|
1037
|
+
# @!attribute [rw] eks_anywhere_version
|
1038
|
+
# The version of EKS Anywhere on the Snow Family device.
|
1039
|
+
# @return [String]
|
1040
|
+
#
|
1041
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/EKSOnDeviceServiceConfiguration AWS API Documentation
|
1042
|
+
#
|
1043
|
+
class EKSOnDeviceServiceConfiguration < Struct.new(
|
1044
|
+
:kubernetes_version,
|
1045
|
+
:eks_anywhere_version)
|
1046
|
+
SENSITIVE = []
|
1047
|
+
include Aws::Structure
|
1048
|
+
end
|
1049
|
+
|
1012
1050
|
# A JSON-formatted object that contains the IDs for an Amazon Machine
|
1013
1051
|
# Image (AMI), including the Amazon EC2 AMI ID and the Snow device AMI
|
1014
1052
|
# ID. Each AMI has these two IDs to simplify identifying the AMI in both
|
@@ -1812,6 +1850,66 @@ module Aws::Snowball
|
|
1812
1850
|
include Aws::Structure
|
1813
1851
|
end
|
1814
1852
|
|
1853
|
+
# @!attribute [rw] service_name
|
1854
|
+
# The name of the service for which you're requesting supported
|
1855
|
+
# versions.
|
1856
|
+
# @return [String]
|
1857
|
+
#
|
1858
|
+
# @!attribute [rw] dependent_services
|
1859
|
+
# A list of names and versions of dependant services of the requested
|
1860
|
+
# service.
|
1861
|
+
# @return [Array<Types::DependentService>]
|
1862
|
+
#
|
1863
|
+
# @!attribute [rw] max_results
|
1864
|
+
# The maximum number of `ListServiceVersions` objects to return.
|
1865
|
+
# @return [Integer]
|
1866
|
+
#
|
1867
|
+
# @!attribute [rw] next_token
|
1868
|
+
# Because HTTP requests are stateless, this is the starting point for
|
1869
|
+
# the next list of returned `ListServiceVersionsRequest` versions.
|
1870
|
+
# @return [String]
|
1871
|
+
#
|
1872
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ListServiceVersionsRequest AWS API Documentation
|
1873
|
+
#
|
1874
|
+
class ListServiceVersionsRequest < Struct.new(
|
1875
|
+
:service_name,
|
1876
|
+
:dependent_services,
|
1877
|
+
:max_results,
|
1878
|
+
:next_token)
|
1879
|
+
SENSITIVE = []
|
1880
|
+
include Aws::Structure
|
1881
|
+
end
|
1882
|
+
|
1883
|
+
# @!attribute [rw] service_versions
|
1884
|
+
# A list of supported versions.
|
1885
|
+
# @return [Array<Types::ServiceVersion>]
|
1886
|
+
#
|
1887
|
+
# @!attribute [rw] service_name
|
1888
|
+
# The name of the service for which the system provided supported
|
1889
|
+
# versions.
|
1890
|
+
# @return [String]
|
1891
|
+
#
|
1892
|
+
# @!attribute [rw] dependent_services
|
1893
|
+
# A list of names and versions of dependant services of the service
|
1894
|
+
# for which the system provided supported versions.
|
1895
|
+
# @return [Array<Types::DependentService>]
|
1896
|
+
#
|
1897
|
+
# @!attribute [rw] next_token
|
1898
|
+
# Because HTTP requests are stateless, this is the starting point of
|
1899
|
+
# the next list of returned `ListServiceVersionsResult` results.
|
1900
|
+
# @return [String]
|
1901
|
+
#
|
1902
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ListServiceVersionsResult AWS API Documentation
|
1903
|
+
#
|
1904
|
+
class ListServiceVersionsResult < Struct.new(
|
1905
|
+
:service_versions,
|
1906
|
+
:service_name,
|
1907
|
+
:dependent_services,
|
1908
|
+
:next_token)
|
1909
|
+
SENSITIVE = []
|
1910
|
+
include Aws::Structure
|
1911
|
+
end
|
1912
|
+
|
1815
1913
|
# Each `LongTermPricingListEntry` object contains information about a
|
1816
1914
|
# long-term pricing type.
|
1817
1915
|
#
|
@@ -1959,11 +2057,16 @@ module Aws::Snowball
|
|
1959
2057
|
# Family device.
|
1960
2058
|
# @return [Types::TGWOnDeviceServiceConfiguration]
|
1961
2059
|
#
|
2060
|
+
# @!attribute [rw] eks_on_device_service
|
2061
|
+
# The configuration of EKS Anywhere on the Snow Family device.
|
2062
|
+
# @return [Types::EKSOnDeviceServiceConfiguration]
|
2063
|
+
#
|
1962
2064
|
# @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/OnDeviceServiceConfiguration AWS API Documentation
|
1963
2065
|
#
|
1964
2066
|
class OnDeviceServiceConfiguration < Struct.new(
|
1965
2067
|
:nfs_on_device_service,
|
1966
|
-
:tgw_on_device_service
|
2068
|
+
:tgw_on_device_service,
|
2069
|
+
:eks_on_device_service)
|
1967
2070
|
SENSITIVE = []
|
1968
2071
|
include Aws::Structure
|
1969
2072
|
end
|
@@ -2018,6 +2121,20 @@ module Aws::Snowball
|
|
2018
2121
|
include Aws::Structure
|
2019
2122
|
end
|
2020
2123
|
|
2124
|
+
# The version of the requested service.
|
2125
|
+
#
|
2126
|
+
# @!attribute [rw] version
|
2127
|
+
# The version number of the requested service.
|
2128
|
+
# @return [String]
|
2129
|
+
#
|
2130
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ServiceVersion AWS API Documentation
|
2131
|
+
#
|
2132
|
+
class ServiceVersion < Struct.new(
|
2133
|
+
:version)
|
2134
|
+
SENSITIVE = []
|
2135
|
+
include Aws::Structure
|
2136
|
+
end
|
2137
|
+
|
2021
2138
|
# The `Status` and `TrackingNumber` information for an inbound or
|
2022
2139
|
# outbound shipment.
|
2023
2140
|
#
|
data/lib/aws-sdk-snowball.rb
CHANGED
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.53.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: 2023-
|
11
|
+
date: 2023-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|