aws-sdk-snowball 1.3.0 → 1.4.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
  SHA1:
3
- metadata.gz: 1ec21a33a3949d08520ef03664066f2b631adfec
4
- data.tar.gz: 33f119592df175711571c91cf3a916a149fe7d15
3
+ metadata.gz: 10493750496146e1d1b2e54b456fc1c3b88e49d7
4
+ data.tar.gz: 924e85de5a11a52b5ae936b57b5e33c7d46916cb
5
5
  SHA512:
6
- metadata.gz: a0112307268629685c0dfe70b041e70ffbbbc2e7a429e4fc0c8dd3ed3c5651a9742977c212c6df6888c350d6ea5bb61b5198a491c201430f5c2f7829c2cf063c
7
- data.tar.gz: ea2d13c139e5e8395dce7afe02c3480963a1f1734d540ed4287d51c6ecc5434e268bc197530fb82652891ec1003c7d82ce8eb745e4f830986fb0943be59025ab
6
+ metadata.gz: f2b5b7844e5c04ded5f0643a9dc6bdc796ae489066fa66d0bc41ea547b6aac8ad6addb130e2a925629600d6b1b56ad1cb9cb1b77baf19b3687c3ee15f763c5ab
7
+ data.tar.gz: c4b815e06297ffc2b30460bed634950f00aa3d86c9cdba3f5d3e2029e9dbeb275881f720bca9f8f9d66434a863fc40a29372712c1a46f259d53ca5d5575f1257
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-snowball/customizations'
42
42
  # @service
43
43
  module Aws::Snowball
44
44
 
45
- GEM_VERSION = '1.3.0'
45
+ GEM_VERSION = '1.4.0'
46
46
 
47
47
  end
@@ -202,8 +202,8 @@ module Aws::Snowball
202
202
 
203
203
  # Cancels the specified job. You can only cancel a job before its
204
204
  # `JobState` value changes to `PreparingAppliance`. Requesting the
205
- # `ListJobs` or `DescribeJob` action will return a job's `JobState` as
206
- # part of the response element data returned.
205
+ # `ListJobs` or `DescribeJob` action returns a job's `JobState` as part
206
+ # of the response element data returned.
207
207
  #
208
208
  # @option params [required, String] :job_id
209
209
  # The 39-character job ID for the job that you want to cancel, for
@@ -346,17 +346,17 @@ module Aws::Snowball
346
346
  # [1]: http://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html
347
347
  #
348
348
  # @option params [String] :snowball_type
349
- # The type of AWS Snowball appliance to use for this cluster. Currently,
350
- # the only supported appliance type for cluster jobs is `EDGE`.
349
+ # The type of AWS Snowball device to use for this cluster. Currently,
350
+ # the only supported device type for cluster jobs is `EDGE`.
351
351
  #
352
352
  # @option params [required, String] :shipping_option
353
353
  # The shipping speed for each node in this cluster. This speed doesn't
354
- # dictate how soon you'll get each Snowball Edge appliance, rather it
355
- # represents how quickly each appliance moves to its destination while
356
- # in transit. Regional shipping speeds are as follows:
354
+ # dictate how soon you'll get each Snowball Edge device, rather it
355
+ # represents how quickly each device moves to its destination while in
356
+ # transit. Regional shipping speeds are as follows:
357
357
  #
358
358
  # * In Australia, you have access to express shipping. Typically,
359
- # appliances shipped express are delivered in about a day.
359
+ # devices shipped express are delivered in about a day.
360
360
  #
361
361
  # * In the European Union (EU), you have access to express shipping.
362
362
  # Typically, Snowball Edges shipped express are delivered in about a
@@ -438,6 +438,12 @@ module Aws::Snowball
438
438
  # ],
439
439
  # },
440
440
  # ],
441
+ # ec2_ami_resources: [
442
+ # {
443
+ # ami_id: "AmiId", # required
444
+ # snowball_ami_id: "String",
445
+ # },
446
+ # ],
441
447
  # },
442
448
  # description: "String",
443
449
  # address_id: "AddressId", # required
@@ -547,8 +553,8 @@ module Aws::Snowball
547
553
  # job attributes are inherited from the cluster.
548
554
  #
549
555
  # @option params [String] :snowball_type
550
- # The type of AWS Snowball appliance to use for this job. Currently, the
551
- # only supported appliance type for cluster jobs is `EDGE`.
556
+ # The type of AWS Snowball device to use for this job. Currently, the
557
+ # only supported device type for cluster jobs is `EDGE`.
552
558
  #
553
559
  # @option params [String] :forwarding_address_id
554
560
  # The forwarding address ID for a job. This field is not supported in
@@ -619,6 +625,12 @@ module Aws::Snowball
619
625
  # ],
620
626
  # },
621
627
  # ],
628
+ # ec2_ami_resources: [
629
+ # {
630
+ # ami_id: "AmiId", # required
631
+ # snowball_ami_id: "String",
632
+ # },
633
+ # ],
622
634
  # },
623
635
  # description: "String",
624
636
  # address_id: "AddressId",
@@ -867,6 +879,9 @@ module Aws::Snowball
867
879
  # resp.cluster_metadata.resources.lambda_resources[0].lambda_arn #=> String
868
880
  # resp.cluster_metadata.resources.lambda_resources[0].event_triggers #=> Array
869
881
  # resp.cluster_metadata.resources.lambda_resources[0].event_triggers[0].event_resource_arn #=> String
882
+ # resp.cluster_metadata.resources.ec2_ami_resources #=> Array
883
+ # resp.cluster_metadata.resources.ec2_ami_resources[0].ami_id #=> String
884
+ # resp.cluster_metadata.resources.ec2_ami_resources[0].snowball_ami_id #=> String
870
885
  # resp.cluster_metadata.address_id #=> String
871
886
  # resp.cluster_metadata.shipping_option #=> String, one of "SECOND_DAY", "NEXT_DAY", "EXPRESS", "STANDARD"
872
887
  # resp.cluster_metadata.notification.sns_topic_arn #=> String
@@ -959,6 +974,9 @@ module Aws::Snowball
959
974
  # resp.job_metadata.resources.lambda_resources[0].lambda_arn #=> String
960
975
  # resp.job_metadata.resources.lambda_resources[0].event_triggers #=> Array
961
976
  # resp.job_metadata.resources.lambda_resources[0].event_triggers[0].event_resource_arn #=> String
977
+ # resp.job_metadata.resources.ec2_ami_resources #=> Array
978
+ # resp.job_metadata.resources.ec2_ami_resources[0].ami_id #=> String
979
+ # resp.job_metadata.resources.ec2_ami_resources[0].snowball_ami_id #=> String
962
980
  # resp.job_metadata.description #=> String
963
981
  # resp.job_metadata.kms_key_arn #=> String
964
982
  # resp.job_metadata.role_arn #=> String
@@ -996,6 +1014,9 @@ module Aws::Snowball
996
1014
  # resp.sub_job_metadata[0].resources.lambda_resources[0].lambda_arn #=> String
997
1015
  # resp.sub_job_metadata[0].resources.lambda_resources[0].event_triggers #=> Array
998
1016
  # resp.sub_job_metadata[0].resources.lambda_resources[0].event_triggers[0].event_resource_arn #=> String
1017
+ # resp.sub_job_metadata[0].resources.ec2_ami_resources #=> Array
1018
+ # resp.sub_job_metadata[0].resources.ec2_ami_resources[0].ami_id #=> String
1019
+ # resp.sub_job_metadata[0].resources.ec2_ami_resources[0].snowball_ami_id #=> String
999
1020
  # resp.sub_job_metadata[0].description #=> String
1000
1021
  # resp.sub_job_metadata[0].kms_key_arn #=> String
1001
1022
  # resp.sub_job_metadata[0].role_arn #=> String
@@ -1378,6 +1399,50 @@ module Aws::Snowball
1378
1399
  req.send_request(options)
1379
1400
  end
1380
1401
 
1402
+ # This action returns a list of the different Amazon EC2 Amazon Machine
1403
+ # Images (AMIs) that are owned by your AWS account that would be
1404
+ # supported for use on a Snowball Edge device. Currently, supported AMIs
1405
+ # are based on the CentOS 7 (x86\_64) - with Updates HVM, Ubuntu Server
1406
+ # 14.04 LTS (HVM), and Ubuntu 16.04 LTS - Xenial (HVM) images, available
1407
+ # on the AWS Marketplace.
1408
+ #
1409
+ # @option params [Integer] :max_results
1410
+ # The maximum number of results for the list of compatible images.
1411
+ # Currently, a Snowball Edge device can store 10 AMIs.
1412
+ #
1413
+ # @option params [String] :next_token
1414
+ # HTTP requests are stateless. To identify what object comes "next" in
1415
+ # the list of compatible images, you can specify a value for `NextToken`
1416
+ # as the starting point for your list of returned images.
1417
+ #
1418
+ # @return [Types::ListCompatibleImagesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1419
+ #
1420
+ # * {Types::ListCompatibleImagesResult#compatible_images #compatible_images} => Array<Types::CompatibleImage>
1421
+ # * {Types::ListCompatibleImagesResult#next_token #next_token} => String
1422
+ #
1423
+ # @example Request syntax with placeholder values
1424
+ #
1425
+ # resp = client.list_compatible_images({
1426
+ # max_results: 1,
1427
+ # next_token: "String",
1428
+ # })
1429
+ #
1430
+ # @example Response structure
1431
+ #
1432
+ # resp.compatible_images #=> Array
1433
+ # resp.compatible_images[0].ami_id #=> String
1434
+ # resp.compatible_images[0].name #=> String
1435
+ # resp.next_token #=> String
1436
+ #
1437
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ListCompatibleImages AWS API Documentation
1438
+ #
1439
+ # @overload list_compatible_images(params = {})
1440
+ # @param [Hash] params ({})
1441
+ def list_compatible_images(params = {}, options = {})
1442
+ req = build_request(:list_compatible_images, params)
1443
+ req.send_request(options)
1444
+ end
1445
+
1381
1446
  # Returns an array of `JobListEntry` objects of the specified length.
1382
1447
  # Each `JobListEntry` object contains a job's state, a job's ID, and a
1383
1448
  # value that indicates whether the job is a job part, in the case of
@@ -1531,6 +1596,12 @@ module Aws::Snowball
1531
1596
  # ],
1532
1597
  # },
1533
1598
  # ],
1599
+ # ec2_ami_resources: [
1600
+ # {
1601
+ # ami_id: "AmiId", # required
1602
+ # snowball_ami_id: "String",
1603
+ # },
1604
+ # ],
1534
1605
  # },
1535
1606
  # address_id: "AddressId",
1536
1607
  # shipping_option: "SECOND_DAY", # accepts SECOND_DAY, NEXT_DAY, EXPRESS, STANDARD
@@ -1573,9 +1644,7 @@ module Aws::Snowball
1573
1644
  # The new or updated Notification object.
1574
1645
  #
1575
1646
  # @option params [Types::JobResource] :resources
1576
- # The updated S3Resource object (for a single Amazon S3 bucket or key
1577
- # range), or the updated JobResource object (for multiple buckets or key
1578
- # ranges).
1647
+ # The updated `JobResource` object, or the updated JobResource object.
1579
1648
  #
1580
1649
  # @option params [String] :address_id
1581
1650
  # The ID of the updated Address object.
@@ -1641,6 +1710,12 @@ module Aws::Snowball
1641
1710
  # ],
1642
1711
  # },
1643
1712
  # ],
1713
+ # ec2_ami_resources: [
1714
+ # {
1715
+ # ami_id: "AmiId", # required
1716
+ # snowball_ami_id: "String",
1717
+ # },
1718
+ # ],
1644
1719
  # },
1645
1720
  # address_id: "AddressId",
1646
1721
  # shipping_option: "SECOND_DAY", # accepts SECOND_DAY, NEXT_DAY, EXPRESS, STANDARD
@@ -1671,7 +1746,7 @@ module Aws::Snowball
1671
1746
  params: params,
1672
1747
  config: config)
1673
1748
  context[:gem_name] = 'aws-sdk-snowball'
1674
- context[:gem_version] = '1.3.0'
1749
+ context[:gem_version] = '1.4.0'
1675
1750
  Seahorse::Client::Request.new(handlers, context)
1676
1751
  end
1677
1752
 
@@ -14,6 +14,7 @@ module Aws::Snowball
14
14
  Address = Shapes::StructureShape.new(name: 'Address')
15
15
  AddressId = Shapes::StringShape.new(name: 'AddressId')
16
16
  AddressList = Shapes::ListShape.new(name: 'AddressList')
17
+ AmiId = Shapes::StringShape.new(name: 'AmiId')
17
18
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
18
19
  CancelClusterRequest = Shapes::StructureShape.new(name: 'CancelClusterRequest')
19
20
  CancelClusterResult = Shapes::StructureShape.new(name: 'CancelClusterResult')
@@ -25,6 +26,8 @@ module Aws::Snowball
25
26
  ClusterListEntryList = Shapes::ListShape.new(name: 'ClusterListEntryList')
26
27
  ClusterMetadata = Shapes::StructureShape.new(name: 'ClusterMetadata')
27
28
  ClusterState = Shapes::StringShape.new(name: 'ClusterState')
29
+ CompatibleImage = Shapes::StructureShape.new(name: 'CompatibleImage')
30
+ CompatibleImageList = Shapes::ListShape.new(name: 'CompatibleImageList')
28
31
  CreateAddressRequest = Shapes::StructureShape.new(name: 'CreateAddressRequest')
29
32
  CreateAddressResult = Shapes::StructureShape.new(name: 'CreateAddressResult')
30
33
  CreateClusterRequest = Shapes::StructureShape.new(name: 'CreateClusterRequest')
@@ -40,6 +43,9 @@ module Aws::Snowball
40
43
  DescribeClusterResult = Shapes::StructureShape.new(name: 'DescribeClusterResult')
41
44
  DescribeJobRequest = Shapes::StructureShape.new(name: 'DescribeJobRequest')
42
45
  DescribeJobResult = Shapes::StructureShape.new(name: 'DescribeJobResult')
46
+ Ec2AmiResource = Shapes::StructureShape.new(name: 'Ec2AmiResource')
47
+ Ec2AmiResourceList = Shapes::ListShape.new(name: 'Ec2AmiResourceList')
48
+ Ec2RequestFailedException = Shapes::StructureShape.new(name: 'Ec2RequestFailedException')
43
49
  EventTriggerDefinition = Shapes::StructureShape.new(name: 'EventTriggerDefinition')
44
50
  EventTriggerDefinitionList = Shapes::ListShape.new(name: 'EventTriggerDefinitionList')
45
51
  GetJobManifestRequest = Shapes::StructureShape.new(name: 'GetJobManifestRequest')
@@ -73,6 +79,8 @@ module Aws::Snowball
73
79
  ListClusterJobsResult = Shapes::StructureShape.new(name: 'ListClusterJobsResult')
74
80
  ListClustersRequest = Shapes::StructureShape.new(name: 'ListClustersRequest')
75
81
  ListClustersResult = Shapes::StructureShape.new(name: 'ListClustersResult')
82
+ ListCompatibleImagesRequest = Shapes::StructureShape.new(name: 'ListCompatibleImagesRequest')
83
+ ListCompatibleImagesResult = Shapes::StructureShape.new(name: 'ListCompatibleImagesResult')
76
84
  ListJobsRequest = Shapes::StructureShape.new(name: 'ListJobsRequest')
77
85
  ListJobsResult = Shapes::StructureShape.new(name: 'ListJobsResult')
78
86
  ListLimit = Shapes::IntegerShape.new(name: 'ListLimit')
@@ -147,6 +155,12 @@ module Aws::Snowball
147
155
  ClusterMetadata.add_member(:forwarding_address_id, Shapes::ShapeRef.new(shape: AddressId, location_name: "ForwardingAddressId"))
148
156
  ClusterMetadata.struct_class = Types::ClusterMetadata
149
157
 
158
+ CompatibleImage.add_member(:ami_id, Shapes::ShapeRef.new(shape: String, location_name: "AmiId"))
159
+ CompatibleImage.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
160
+ CompatibleImage.struct_class = Types::CompatibleImage
161
+
162
+ CompatibleImageList.member = Shapes::ShapeRef.new(shape: CompatibleImage)
163
+
150
164
  CreateAddressRequest.add_member(:address, Shapes::ShapeRef.new(shape: Address, required: true, location_name: "Address"))
151
165
  CreateAddressRequest.struct_class = Types::CreateAddressRequest
152
166
 
@@ -218,6 +232,12 @@ module Aws::Snowball
218
232
  DescribeJobResult.add_member(:sub_job_metadata, Shapes::ShapeRef.new(shape: JobMetadataList, location_name: "SubJobMetadata"))
219
233
  DescribeJobResult.struct_class = Types::DescribeJobResult
220
234
 
235
+ Ec2AmiResource.add_member(:ami_id, Shapes::ShapeRef.new(shape: AmiId, required: true, location_name: "AmiId"))
236
+ Ec2AmiResource.add_member(:snowball_ami_id, Shapes::ShapeRef.new(shape: String, location_name: "SnowballAmiId"))
237
+ Ec2AmiResource.struct_class = Types::Ec2AmiResource
238
+
239
+ Ec2AmiResourceList.member = Shapes::ShapeRef.new(shape: Ec2AmiResource)
240
+
221
241
  EventTriggerDefinition.add_member(:event_resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "EventResourceARN"))
222
242
  EventTriggerDefinition.struct_class = Types::EventTriggerDefinition
223
243
 
@@ -280,6 +300,7 @@ module Aws::Snowball
280
300
 
281
301
  JobResource.add_member(:s3_resources, Shapes::ShapeRef.new(shape: S3ResourceList, location_name: "S3Resources"))
282
302
  JobResource.add_member(:lambda_resources, Shapes::ShapeRef.new(shape: LambdaResourceList, location_name: "LambdaResources"))
303
+ JobResource.add_member(:ec2_ami_resources, Shapes::ShapeRef.new(shape: Ec2AmiResourceList, location_name: "Ec2AmiResources"))
283
304
  JobResource.struct_class = Types::JobResource
284
305
 
285
306
  JobStateList.member = Shapes::ShapeRef.new(shape: JobState)
@@ -311,6 +332,14 @@ module Aws::Snowball
311
332
  ListClustersResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
312
333
  ListClustersResult.struct_class = Types::ListClustersResult
313
334
 
335
+ ListCompatibleImagesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListLimit, location_name: "MaxResults"))
336
+ ListCompatibleImagesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
337
+ ListCompatibleImagesRequest.struct_class = Types::ListCompatibleImagesRequest
338
+
339
+ ListCompatibleImagesResult.add_member(:compatible_images, Shapes::ShapeRef.new(shape: CompatibleImageList, location_name: "CompatibleImages"))
340
+ ListCompatibleImagesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
341
+ ListCompatibleImagesResult.struct_class = Types::ListCompatibleImagesResult
342
+
314
343
  ListJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListLimit, location_name: "MaxResults"))
315
344
  ListJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
316
345
  ListJobsRequest.struct_class = Types::ListJobsRequest
@@ -420,6 +449,7 @@ module Aws::Snowball
420
449
  o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
421
450
  o.errors << Shapes::ShapeRef.new(shape: KMSRequestFailedException)
422
451
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputCombinationException)
452
+ o.errors << Shapes::ShapeRef.new(shape: Ec2RequestFailedException)
423
453
  end)
424
454
 
425
455
  api.add_operation(:create_job, Seahorse::Model::Operation.new.tap do |o|
@@ -432,6 +462,7 @@ module Aws::Snowball
432
462
  o.errors << Shapes::ShapeRef.new(shape: KMSRequestFailedException)
433
463
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputCombinationException)
434
464
  o.errors << Shapes::ShapeRef.new(shape: ClusterLimitExceededException)
465
+ o.errors << Shapes::ShapeRef.new(shape: Ec2RequestFailedException)
435
466
  end)
436
467
 
437
468
  api.add_operation(:describe_address, Seahorse::Model::Operation.new.tap do |o|
@@ -524,6 +555,16 @@ module Aws::Snowball
524
555
  o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
525
556
  end)
526
557
 
558
+ api.add_operation(:list_compatible_images, Seahorse::Model::Operation.new.tap do |o|
559
+ o.name = "ListCompatibleImages"
560
+ o.http_method = "POST"
561
+ o.http_request_uri = "/"
562
+ o.input = Shapes::ShapeRef.new(shape: ListCompatibleImagesRequest)
563
+ o.output = Shapes::ShapeRef.new(shape: ListCompatibleImagesResult)
564
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
565
+ o.errors << Shapes::ShapeRef.new(shape: Ec2RequestFailedException)
566
+ end)
567
+
527
568
  api.add_operation(:list_jobs, Seahorse::Model::Operation.new.tap do |o|
528
569
  o.name = "ListJobs"
529
570
  o.http_method = "POST"
@@ -549,6 +590,7 @@ module Aws::Snowball
549
590
  o.errors << Shapes::ShapeRef.new(shape: InvalidJobStateException)
550
591
  o.errors << Shapes::ShapeRef.new(shape: KMSRequestFailedException)
551
592
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputCombinationException)
593
+ o.errors << Shapes::ShapeRef.new(shape: Ec2RequestFailedException)
552
594
  end)
553
595
 
554
596
  api.add_operation(:update_job, Seahorse::Model::Operation.new.tap do |o|
@@ -562,6 +604,7 @@ module Aws::Snowball
562
604
  o.errors << Shapes::ShapeRef.new(shape: KMSRequestFailedException)
563
605
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputCombinationException)
564
606
  o.errors << Shapes::ShapeRef.new(shape: ClusterLimitExceededException)
607
+ o.errors << Shapes::ShapeRef.new(shape: Ec2RequestFailedException)
565
608
  end)
566
609
  end
567
610
 
@@ -235,9 +235,8 @@ module Aws::Snowball
235
235
  # @return [String]
236
236
  #
237
237
  # @!attribute [rw] snowball_type
238
- # The type of AWS Snowball appliance to use for this cluster.
239
- # Currently, the only supported appliance type for cluster jobs is
240
- # `EDGE`.
238
+ # The type of AWS Snowball device to use for this cluster. Currently,
239
+ # the only supported device type for cluster jobs is `EDGE`.
241
240
  # @return [String]
242
241
  #
243
242
  # @!attribute [rw] creation_date
@@ -255,13 +254,13 @@ module Aws::Snowball
255
254
  #
256
255
  # @!attribute [rw] shipping_option
257
256
  # The shipping speed for each node in this cluster. This speed
258
- # doesn't dictate how soon you'll get each Snowball Edge appliance,
259
- # rather it represents how quickly each appliance moves to its
257
+ # doesn't dictate how soon you'll get each Snowball Edge device,
258
+ # rather it represents how quickly each device moves to its
260
259
  # destination while in transit. Regional shipping speeds are as
261
260
  # follows:
262
261
  #
263
262
  # * In Australia, you have access to express shipping. Typically,
264
- # appliances shipped express are delivered in about a day.
263
+ # devices shipped express are delivered in about a day.
265
264
  #
266
265
  # * In the European Union (EU), you have access to express shipping.
267
266
  # Typically, Snowball Edges shipped express are delivered in about a
@@ -304,6 +303,27 @@ module Aws::Snowball
304
303
  include Aws::Structure
305
304
  end
306
305
 
306
+ # A JSON-formatted object that describes a compatible Amazon Machine
307
+ # Image (AMI), including the ID and name for a Snowball Edge AMI. This
308
+ # AMI is compatible with the device's physical hardware requirements,
309
+ # and it should be able to be run in an SBE1 instance on the device.
310
+ #
311
+ # @!attribute [rw] ami_id
312
+ # The unique identifier for an individual Snowball Edge AMI.
313
+ # @return [String]
314
+ #
315
+ # @!attribute [rw] name
316
+ # The optional name of a compatible image.
317
+ # @return [String]
318
+ #
319
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CompatibleImage AWS API Documentation
320
+ #
321
+ class CompatibleImage < Struct.new(
322
+ :ami_id,
323
+ :name)
324
+ include Aws::Structure
325
+ end
326
+
307
327
  # @note When making an API call, you may pass CreateAddressRequest
308
328
  # data as a hash:
309
329
  #
@@ -375,6 +395,12 @@ module Aws::Snowball
375
395
  # ],
376
396
  # },
377
397
  # ],
398
+ # ec2_ami_resources: [
399
+ # {
400
+ # ami_id: "AmiId", # required
401
+ # snowball_ami_id: "String",
402
+ # },
403
+ # ],
378
404
  # },
379
405
  # description: "String",
380
406
  # address_id: "AddressId", # required
@@ -431,20 +457,19 @@ module Aws::Snowball
431
457
  # @return [String]
432
458
  #
433
459
  # @!attribute [rw] snowball_type
434
- # The type of AWS Snowball appliance to use for this cluster.
435
- # Currently, the only supported appliance type for cluster jobs is
436
- # `EDGE`.
460
+ # The type of AWS Snowball device to use for this cluster. Currently,
461
+ # the only supported device type for cluster jobs is `EDGE`.
437
462
  # @return [String]
438
463
  #
439
464
  # @!attribute [rw] shipping_option
440
465
  # The shipping speed for each node in this cluster. This speed
441
- # doesn't dictate how soon you'll get each Snowball Edge appliance,
442
- # rather it represents how quickly each appliance moves to its
466
+ # doesn't dictate how soon you'll get each Snowball Edge device,
467
+ # rather it represents how quickly each device moves to its
443
468
  # destination while in transit. Regional shipping speeds are as
444
469
  # follows:
445
470
  #
446
471
  # * In Australia, you have access to express shipping. Typically,
447
- # appliances shipped express are delivered in about a day.
472
+ # devices shipped express are delivered in about a day.
448
473
  #
449
474
  # * In the European Union (EU), you have access to express shipping.
450
475
  # Typically, Snowball Edges shipped express are delivered in about a
@@ -519,6 +544,12 @@ module Aws::Snowball
519
544
  # ],
520
545
  # },
521
546
  # ],
547
+ # ec2_ami_resources: [
548
+ # {
549
+ # ami_id: "AmiId", # required
550
+ # snowball_ami_id: "String",
551
+ # },
552
+ # ],
522
553
  # },
523
554
  # description: "String",
524
555
  # address_id: "AddressId",
@@ -621,8 +652,8 @@ module Aws::Snowball
621
652
  # @return [String]
622
653
  #
623
654
  # @!attribute [rw] snowball_type
624
- # The type of AWS Snowball appliance to use for this job. Currently,
625
- # the only supported appliance type for cluster jobs is `EDGE`.
655
+ # The type of AWS Snowball device to use for this job. Currently, the
656
+ # only supported device type for cluster jobs is `EDGE`.
626
657
  # @return [String]
627
658
  #
628
659
  # @!attribute [rw] forwarding_address_id
@@ -661,7 +692,7 @@ module Aws::Snowball
661
692
  end
662
693
 
663
694
  # Defines the real-time status of a Snowball's data transfer while the
664
- # appliance is at AWS. This data is only available while a job has a
695
+ # device is at AWS. This data is only available while a job has a
665
696
  # `JobState` value of `InProgress`, for both import and export jobs.
666
697
  #
667
698
  # @!attribute [rw] bytes_transferred
@@ -837,6 +868,35 @@ module Aws::Snowball
837
868
  include Aws::Structure
838
869
  end
839
870
 
871
+ # A JSON-formatted object that contains the IDs for an Amazon Machine
872
+ # Image (AMI), including the Amazon EC2 AMI ID and the Snowball Edge AMI
873
+ # ID. Each AMI has these two IDs to simplify identifying the AMI in both
874
+ # the AWS Cloud and on the device.
875
+ #
876
+ # @note When making an API call, you may pass Ec2AmiResource
877
+ # data as a hash:
878
+ #
879
+ # {
880
+ # ami_id: "AmiId", # required
881
+ # snowball_ami_id: "String",
882
+ # }
883
+ #
884
+ # @!attribute [rw] ami_id
885
+ # The ID of the AMI in Amazon EC2.
886
+ # @return [String]
887
+ #
888
+ # @!attribute [rw] snowball_ami_id
889
+ # The ID of the AMI on the Snowball Edge device.
890
+ # @return [String]
891
+ #
892
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/Ec2AmiResource AWS API Documentation
893
+ #
894
+ class Ec2AmiResource < Struct.new(
895
+ :ami_id,
896
+ :snowball_ami_id)
897
+ include Aws::Structure
898
+ end
899
+
840
900
  # The container for the EventTriggerDefinition$EventResourceARN.
841
901
  #
842
902
  # @note When making an API call, you may pass EventTriggerDefinition
@@ -971,7 +1031,7 @@ module Aws::Snowball
971
1031
  # @return [String]
972
1032
  #
973
1033
  # @!attribute [rw] snowball_type
974
- # The type of appliance used with this job.
1034
+ # The type of device used with this job.
975
1035
  # @return [String]
976
1036
  #
977
1037
  # @!attribute [rw] creation_date
@@ -1062,7 +1122,7 @@ module Aws::Snowball
1062
1122
  # @return [String]
1063
1123
  #
1064
1124
  # @!attribute [rw] snowball_type
1065
- # The type of appliance used with this job.
1125
+ # The type of device used with this job.
1066
1126
  # @return [String]
1067
1127
  #
1068
1128
  # @!attribute [rw] creation_date
@@ -1123,7 +1183,7 @@ module Aws::Snowball
1123
1183
  #
1124
1184
  # @!attribute [rw] data_transfer_progress
1125
1185
  # A value that defines the real-time status of a Snowball's data
1126
- # transfer while the appliance is at AWS. This data is only available
1186
+ # transfer while the device is at AWS. This data is only available
1127
1187
  # while a job has a `JobState` value of `InProgress`, for both import
1128
1188
  # and export jobs.
1129
1189
  # @return [Types::DataTransfer]
@@ -1170,9 +1230,9 @@ module Aws::Snowball
1170
1230
  include Aws::Structure
1171
1231
  end
1172
1232
 
1173
- # Contains an array of `S3Resource` objects. Each `S3Resource` object
1174
- # represents an Amazon S3 bucket that your transferred data will be
1175
- # exported from or imported into.
1233
+ # Contains an array of AWS resource objects. Each object represents an
1234
+ # Amazon S3 bucket, an AWS Lambda function, or an Amazon Machine Image
1235
+ # (AMI) based on Amazon EC2 that is associated with a particular job.
1176
1236
  #
1177
1237
  # @note When making an API call, you may pass JobResource
1178
1238
  # data as a hash:
@@ -1197,6 +1257,12 @@ module Aws::Snowball
1197
1257
  # ],
1198
1258
  # },
1199
1259
  # ],
1260
+ # ec2_ami_resources: [
1261
+ # {
1262
+ # ami_id: "AmiId", # required
1263
+ # snowball_ami_id: "String",
1264
+ # },
1265
+ # ],
1200
1266
  # }
1201
1267
  #
1202
1268
  # @!attribute [rw] s3_resources
@@ -1207,11 +1273,16 @@ module Aws::Snowball
1207
1273
  # The Python-language Lambda functions for this job.
1208
1274
  # @return [Array<Types::LambdaResource>]
1209
1275
  #
1276
+ # @!attribute [rw] ec2_ami_resources
1277
+ # The Amazon Machine Images (AMIs) associated with this job.
1278
+ # @return [Array<Types::Ec2AmiResource>]
1279
+ #
1210
1280
  # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/JobResource AWS API Documentation
1211
1281
  #
1212
1282
  class JobResource < Struct.new(
1213
1283
  :s3_resources,
1214
- :lambda_resources)
1284
+ :lambda_resources,
1285
+ :ec2_ami_resources)
1215
1286
  include Aws::Structure
1216
1287
  end
1217
1288
 
@@ -1377,6 +1448,51 @@ module Aws::Snowball
1377
1448
  include Aws::Structure
1378
1449
  end
1379
1450
 
1451
+ # @note When making an API call, you may pass ListCompatibleImagesRequest
1452
+ # data as a hash:
1453
+ #
1454
+ # {
1455
+ # max_results: 1,
1456
+ # next_token: "String",
1457
+ # }
1458
+ #
1459
+ # @!attribute [rw] max_results
1460
+ # The maximum number of results for the list of compatible images.
1461
+ # Currently, a Snowball Edge device can store 10 AMIs.
1462
+ # @return [Integer]
1463
+ #
1464
+ # @!attribute [rw] next_token
1465
+ # HTTP requests are stateless. To identify what object comes "next"
1466
+ # in the list of compatible images, you can specify a value for
1467
+ # `NextToken` as the starting point for your list of returned images.
1468
+ # @return [String]
1469
+ #
1470
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ListCompatibleImagesRequest AWS API Documentation
1471
+ #
1472
+ class ListCompatibleImagesRequest < Struct.new(
1473
+ :max_results,
1474
+ :next_token)
1475
+ include Aws::Structure
1476
+ end
1477
+
1478
+ # @!attribute [rw] compatible_images
1479
+ # A JSON-formatted object that describes a compatible AMI, including
1480
+ # the ID and name for a Snowball Edge AMI.
1481
+ # @return [Array<Types::CompatibleImage>]
1482
+ #
1483
+ # @!attribute [rw] next_token
1484
+ # Because HTTP requests are stateless, this is the starting point for
1485
+ # your next list of returned images.
1486
+ # @return [String]
1487
+ #
1488
+ # @see http://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ListCompatibleImagesResult AWS API Documentation
1489
+ #
1490
+ class ListCompatibleImagesResult < Struct.new(
1491
+ :compatible_images,
1492
+ :next_token)
1493
+ include Aws::Structure
1494
+ end
1495
+
1380
1496
  # @note When making an API call, you may pass ListJobsRequest
1381
1497
  # data as a hash:
1382
1498
  #
@@ -1606,6 +1722,12 @@ module Aws::Snowball
1606
1722
  # ],
1607
1723
  # },
1608
1724
  # ],
1725
+ # ec2_ami_resources: [
1726
+ # {
1727
+ # ami_id: "AmiId", # required
1728
+ # snowball_ami_id: "String",
1729
+ # },
1730
+ # ],
1609
1731
  # },
1610
1732
  # address_id: "AddressId",
1611
1733
  # shipping_option: "SECOND_DAY", # accepts SECOND_DAY, NEXT_DAY, EXPRESS, STANDARD
@@ -1708,6 +1830,12 @@ module Aws::Snowball
1708
1830
  # ],
1709
1831
  # },
1710
1832
  # ],
1833
+ # ec2_ami_resources: [
1834
+ # {
1835
+ # ami_id: "AmiId", # required
1836
+ # snowball_ami_id: "String",
1837
+ # },
1838
+ # ],
1711
1839
  # },
1712
1840
  # address_id: "AddressId",
1713
1841
  # shipping_option: "SECOND_DAY", # accepts SECOND_DAY, NEXT_DAY, EXPRESS, STANDARD
@@ -1736,9 +1864,7 @@ module Aws::Snowball
1736
1864
  # @return [Types::Notification]
1737
1865
  #
1738
1866
  # @!attribute [rw] resources
1739
- # The updated S3Resource object (for a single Amazon S3 bucket or key
1740
- # range), or the updated JobResource object (for multiple buckets or
1741
- # key ranges).
1867
+ # The updated `JobResource` object, or the updated JobResource object.
1742
1868
  # @return [Types::JobResource]
1743
1869
  #
1744
1870
  # @!attribute [rw] address_id
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.3.0
4
+ version: 1.4.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: 2018-06-26 00:00:00.000000000 Z
11
+ date: 2018-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core