aws-sdk-ec2 1.394.0 → 1.395.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '017039fc08f9ba46d4c707c49842467e9be306689487e68fe0cba1f742c5a87f'
4
- data.tar.gz: a3271bb5c55184f636d4006c11c19252c88f3a6a870a707467a0c76e3a8c6567
3
+ metadata.gz: 2bd5198c4f7cd51e181719bbb0bfe0d1da41afdcba88e83e1301c76cd24dd2ef
4
+ data.tar.gz: adaec6d8c73ab3fe74dba0ff563b52bb58a3714dd0cdcc8fa98b988b671ce9b7
5
5
  SHA512:
6
- metadata.gz: 13455b85da840db8fec5a91c3efb5cbd1eaa51f015b545799a65535bacb2096753d04c50ca8bae3ea5c239a39c13e224251551efb3b70a401c183706ea50df12
7
- data.tar.gz: f8d71e0f35292a765a1e1762544156c3ec3598c96d7159a2d6906862a2356b3f3ad00486c8c55f998e626ded52b24b53b10f25c92568ca7a8510fd95f440c7b8
6
+ metadata.gz: bbb7896a42373002059d158ec2619e4cef41069ab140936777261288972311cf1ac540380f4a9430f140d2a34a5851b2b0f225644d45044fa8bdbb88c58e0ae1
7
+ data.tar.gz: e70381eee4be10419356f05de1e0a729b378eee1d3ebf04367550cbf7b8038036318166247cdae58bcbd11ed31dc45c999993fa468b325643a78b1a9e9d11646
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.395.0 (2023-07-27)
5
+ ------------------
6
+
7
+ * Feature - SDK and documentation updates for Amazon Elastic Block Store APIs
8
+
4
9
  1.394.0 (2023-07-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.394.0
1
+ 1.395.0
@@ -11289,6 +11289,7 @@ module Aws::EC2
11289
11289
  # * {Types::Snapshot#tags #tags} => Array<Types::Tag>
11290
11290
  # * {Types::Snapshot#storage_tier #storage_tier} => String
11291
11291
  # * {Types::Snapshot#restore_expiry_time #restore_expiry_time} => Time
11292
+ # * {Types::Snapshot#sse_type #sse_type} => String
11292
11293
  #
11293
11294
  #
11294
11295
  # @example Example: To create a snapshot
@@ -11355,6 +11356,7 @@ module Aws::EC2
11355
11356
  # resp.tags[0].value #=> String
11356
11357
  # resp.storage_tier #=> String, one of "archive", "standard"
11357
11358
  # resp.restore_expiry_time #=> Time
11359
+ # resp.sse_type #=> String, one of "sse-ebs", "sse-kms", "none"
11358
11360
  #
11359
11361
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSnapshot AWS API Documentation
11360
11362
  #
@@ -11469,6 +11471,7 @@ module Aws::EC2
11469
11471
  # resp.snapshots[0].owner_id #=> String
11470
11472
  # resp.snapshots[0].snapshot_id #=> String
11471
11473
  # resp.snapshots[0].outpost_arn #=> String
11474
+ # resp.snapshots[0].sse_type #=> String, one of "sse-ebs", "sse-kms", "none"
11472
11475
  #
11473
11476
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSnapshots AWS API Documentation
11474
11477
  #
@@ -13886,6 +13889,7 @@ module Aws::EC2
13886
13889
  # * {Types::Volume#fast_restored #fast_restored} => Boolean
13887
13890
  # * {Types::Volume#multi_attach_enabled #multi_attach_enabled} => Boolean
13888
13891
  # * {Types::Volume#throughput #throughput} => Integer
13892
+ # * {Types::Volume#sse_type #sse_type} => String
13889
13893
  #
13890
13894
  #
13891
13895
  # @example Example: To create a new volume
@@ -13993,6 +13997,7 @@ module Aws::EC2
13993
13997
  # resp.fast_restored #=> Boolean
13994
13998
  # resp.multi_attach_enabled #=> Boolean
13995
13999
  # resp.throughput #=> Integer
14000
+ # resp.sse_type #=> String, one of "sse-ebs", "sse-kms", "none"
13996
14001
  #
13997
14002
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVolume AWS API Documentation
13998
14003
  #
@@ -31235,6 +31240,7 @@ module Aws::EC2
31235
31240
  # resp.snapshots[0].tags[0].value #=> String
31236
31241
  # resp.snapshots[0].storage_tier #=> String, one of "archive", "standard"
31237
31242
  # resp.snapshots[0].restore_expiry_time #=> Time
31243
+ # resp.snapshots[0].sse_type #=> String, one of "sse-ebs", "sse-kms", "none"
31238
31244
  # resp.next_token #=> String
31239
31245
  #
31240
31246
  #
@@ -32516,6 +32522,11 @@ module Aws::EC2
32516
32522
  # resp.store_image_task_results[0].store_task_failure_reason #=> String
32517
32523
  # resp.next_token #=> String
32518
32524
  #
32525
+ #
32526
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
32527
+ #
32528
+ # * store_image_task_complete
32529
+ #
32519
32530
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeStoreImageTasks AWS API Documentation
32520
32531
  #
32521
32532
  # @overload describe_store_image_tasks(params = {})
@@ -34998,6 +35009,7 @@ module Aws::EC2
34998
35009
  # resp.volumes[0].fast_restored #=> Boolean
34999
35010
  # resp.volumes[0].multi_attach_enabled #=> Boolean
35000
35011
  # resp.volumes[0].throughput #=> Integer
35012
+ # resp.volumes[0].sse_type #=> String, one of "sse-ebs", "sse-kms", "none"
35001
35013
  # resp.next_token #=> String
35002
35014
  #
35003
35015
  #
@@ -39680,6 +39692,7 @@ module Aws::EC2
39680
39692
  # @return [Types::GetEbsEncryptionByDefaultResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
39681
39693
  #
39682
39694
  # * {Types::GetEbsEncryptionByDefaultResult#ebs_encryption_by_default #ebs_encryption_by_default} => Boolean
39695
+ # * {Types::GetEbsEncryptionByDefaultResult#sse_type #sse_type} => String
39683
39696
  #
39684
39697
  # @example Request syntax with placeholder values
39685
39698
  #
@@ -39690,6 +39703,7 @@ module Aws::EC2
39690
39703
  # @example Response structure
39691
39704
  #
39692
39705
  # resp.ebs_encryption_by_default #=> Boolean
39706
+ # resp.sse_type #=> String, one of "sse-ebs", "sse-kms", "none"
39693
39707
  #
39694
39708
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetEbsEncryptionByDefault AWS API Documentation
39695
39709
  #
@@ -52785,6 +52799,7 @@ module Aws::EC2
52785
52799
  # * {Types::RestoreSnapshotFromRecycleBinResult#state #state} => String
52786
52800
  # * {Types::RestoreSnapshotFromRecycleBinResult#volume_id #volume_id} => String
52787
52801
  # * {Types::RestoreSnapshotFromRecycleBinResult#volume_size #volume_size} => Integer
52802
+ # * {Types::RestoreSnapshotFromRecycleBinResult#sse_type #sse_type} => String
52788
52803
  #
52789
52804
  # @example Request syntax with placeholder values
52790
52805
  #
@@ -52805,6 +52820,7 @@ module Aws::EC2
52805
52820
  # resp.state #=> String, one of "pending", "completed", "error", "recoverable", "recovering"
52806
52821
  # resp.volume_id #=> String
52807
52822
  # resp.volume_size #=> Integer
52823
+ # resp.sse_type #=> String, one of "sse-ebs", "sse-kms", "none"
52808
52824
  #
52809
52825
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RestoreSnapshotFromRecycleBin AWS API Documentation
52810
52826
  #
@@ -56513,7 +56529,7 @@ module Aws::EC2
56513
56529
  params: params,
56514
56530
  config: config)
56515
56531
  context[:gem_name] = 'aws-sdk-ec2'
56516
- context[:gem_version] = '1.394.0'
56532
+ context[:gem_version] = '1.395.0'
56517
56533
  Seahorse::Client::Request.new(handlers, context)
56518
56534
  end
56519
56535
 
@@ -56605,6 +56621,7 @@ module Aws::EC2
56605
56621
  # | snapshot_completed | {Client#describe_snapshots} | 15 | 40 |
56606
56622
  # | snapshot_imported | {Client#describe_import_snapshot_tasks} | 15 | 40 |
56607
56623
  # | spot_instance_request_fulfilled | {Client#describe_spot_instance_requests} | 15 | 40 |
56624
+ # | store_image_task_complete | {Client#describe_store_image_tasks} | 5 | 40 |
56608
56625
  # | subnet_available | {Client#describe_subnets} | 15 | 40 |
56609
56626
  # | system_status_ok | {Client#describe_instance_status} | 15 | 40 |
56610
56627
  # | volume_available | {Client#describe_volumes} | 15 | 40 |
@@ -56690,6 +56707,7 @@ module Aws::EC2
56690
56707
  snapshot_completed: Waiters::SnapshotCompleted,
56691
56708
  snapshot_imported: Waiters::SnapshotImported,
56692
56709
  spot_instance_request_fulfilled: Waiters::SpotInstanceRequestFulfilled,
56710
+ store_image_task_complete: Waiters::StoreImageTaskComplete,
56693
56711
  subnet_available: Waiters::SubnetAvailable,
56694
56712
  system_status_ok: Waiters::SystemStatusOk,
56695
56713
  volume_available: Waiters::VolumeAvailable,
@@ -2508,6 +2508,7 @@ module Aws::EC2
2508
2508
  S3ObjectTag = Shapes::StructureShape.new(name: 'S3ObjectTag')
2509
2509
  S3ObjectTagList = Shapes::ListShape.new(name: 'S3ObjectTagList')
2510
2510
  S3Storage = Shapes::StructureShape.new(name: 'S3Storage')
2511
+ SSEType = Shapes::StringShape.new(name: 'SSEType')
2511
2512
  ScheduledInstance = Shapes::StructureShape.new(name: 'ScheduledInstance')
2512
2513
  ScheduledInstanceAvailability = Shapes::StructureShape.new(name: 'ScheduledInstanceAvailability')
2513
2514
  ScheduledInstanceAvailabilitySet = Shapes::ListShape.new(name: 'ScheduledInstanceAvailabilitySet')
@@ -8660,6 +8661,7 @@ module Aws::EC2
8660
8661
  GetEbsEncryptionByDefaultRequest.struct_class = Types::GetEbsEncryptionByDefaultRequest
8661
8662
 
8662
8663
  GetEbsEncryptionByDefaultResult.add_member(:ebs_encryption_by_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "ebsEncryptionByDefault"))
8664
+ GetEbsEncryptionByDefaultResult.add_member(:sse_type, Shapes::ShapeRef.new(shape: SSEType, location_name: "sseType"))
8663
8665
  GetEbsEncryptionByDefaultResult.struct_class = Types::GetEbsEncryptionByDefaultResult
8664
8666
 
8665
8667
  GetFlowLogsIntegrationTemplateRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
@@ -12854,6 +12856,7 @@ module Aws::EC2
12854
12856
  RestoreSnapshotFromRecycleBinResult.add_member(:state, Shapes::ShapeRef.new(shape: SnapshotState, location_name: "status"))
12855
12857
  RestoreSnapshotFromRecycleBinResult.add_member(:volume_id, Shapes::ShapeRef.new(shape: String, location_name: "volumeId"))
12856
12858
  RestoreSnapshotFromRecycleBinResult.add_member(:volume_size, Shapes::ShapeRef.new(shape: Integer, location_name: "volumeSize"))
12859
+ RestoreSnapshotFromRecycleBinResult.add_member(:sse_type, Shapes::ShapeRef.new(shape: SSEType, location_name: "sseType"))
12857
12860
  RestoreSnapshotFromRecycleBinResult.struct_class = Types::RestoreSnapshotFromRecycleBinResult
12858
12861
 
12859
12862
  RestoreSnapshotTierRequest.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, required: true, location_name: "SnapshotId"))
@@ -13346,6 +13349,7 @@ module Aws::EC2
13346
13349
  Snapshot.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
13347
13350
  Snapshot.add_member(:storage_tier, Shapes::ShapeRef.new(shape: StorageTier, location_name: "storageTier"))
13348
13351
  Snapshot.add_member(:restore_expiry_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "restoreExpiryTime"))
13352
+ Snapshot.add_member(:sse_type, Shapes::ShapeRef.new(shape: SSEType, location_name: "sseType"))
13349
13353
  Snapshot.struct_class = Types::Snapshot
13350
13354
 
13351
13355
  SnapshotDetail.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
@@ -13381,6 +13385,7 @@ module Aws::EC2
13381
13385
  SnapshotInfo.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
13382
13386
  SnapshotInfo.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: String, location_name: "snapshotId"))
13383
13387
  SnapshotInfo.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
13388
+ SnapshotInfo.add_member(:sse_type, Shapes::ShapeRef.new(shape: SSEType, location_name: "sseType"))
13384
13389
  SnapshotInfo.struct_class = Types::SnapshotInfo
13385
13390
 
13386
13391
  SnapshotList.member = Shapes::ShapeRef.new(shape: Snapshot, location_name: "item")
@@ -14646,6 +14651,7 @@ module Aws::EC2
14646
14651
  Volume.add_member(:fast_restored, Shapes::ShapeRef.new(shape: Boolean, location_name: "fastRestored"))
14647
14652
  Volume.add_member(:multi_attach_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "multiAttachEnabled"))
14648
14653
  Volume.add_member(:throughput, Shapes::ShapeRef.new(shape: Integer, location_name: "throughput"))
14654
+ Volume.add_member(:sse_type, Shapes::ShapeRef.new(shape: SSEType, location_name: "sseType"))
14649
14655
  Volume.struct_class = Types::Volume
14650
14656
 
14651
14657
  VolumeAttachment.add_member(:attach_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "attachTime"))
@@ -158,6 +158,12 @@ module Aws::EC2
158
158
  data[:restore_expiry_time]
159
159
  end
160
160
 
161
+ # Reserved for future use.
162
+ # @return [String]
163
+ def sse_type
164
+ data[:sse_type]
165
+ end
166
+
161
167
  # @!endgroup
162
168
 
163
169
  # @return [Client]
@@ -32752,10 +32752,15 @@ module Aws::EC2
32752
32752
  # Indicates whether encryption by default is enabled.
32753
32753
  # @return [Boolean]
32754
32754
  #
32755
+ # @!attribute [rw] sse_type
32756
+ # Reserved for future use.
32757
+ # @return [String]
32758
+ #
32755
32759
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetEbsEncryptionByDefaultResult AWS API Documentation
32756
32760
  #
32757
32761
  class GetEbsEncryptionByDefaultResult < Struct.new(
32758
- :ebs_encryption_by_default)
32762
+ :ebs_encryption_by_default,
32763
+ :sse_type)
32759
32764
  SENSITIVE = []
32760
32765
  include Aws::Structure
32761
32766
  end
@@ -54717,6 +54722,10 @@ module Aws::EC2
54717
54722
  # The size of the volume, in GiB.
54718
54723
  # @return [Integer]
54719
54724
  #
54725
+ # @!attribute [rw] sse_type
54726
+ # Reserved for future use.
54727
+ # @return [String]
54728
+ #
54720
54729
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RestoreSnapshotFromRecycleBinResult AWS API Documentation
54721
54730
  #
54722
54731
  class RestoreSnapshotFromRecycleBinResult < Struct.new(
@@ -54729,7 +54738,8 @@ module Aws::EC2
54729
54738
  :start_time,
54730
54739
  :state,
54731
54740
  :volume_id,
54732
- :volume_size)
54741
+ :volume_size,
54742
+ :sse_type)
54733
54743
  SENSITIVE = []
54734
54744
  include Aws::Structure
54735
54745
  end
@@ -57422,6 +57432,10 @@ module Aws::EC2
57422
57432
  # automatically re-archived.
57423
57433
  # @return [Time]
57424
57434
  #
57435
+ # @!attribute [rw] sse_type
57436
+ # Reserved for future use.
57437
+ # @return [String]
57438
+ #
57425
57439
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Snapshot AWS API Documentation
57426
57440
  #
57427
57441
  class Snapshot < Struct.new(
@@ -57441,7 +57455,8 @@ module Aws::EC2
57441
57455
  :outpost_arn,
57442
57456
  :tags,
57443
57457
  :storage_tier,
57444
- :restore_expiry_time)
57458
+ :restore_expiry_time,
57459
+ :sse_type)
57445
57460
  SENSITIVE = []
57446
57461
  include Aws::Structure
57447
57462
  end
@@ -57591,6 +57606,10 @@ module Aws::EC2
57591
57606
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html
57592
57607
  # @return [String]
57593
57608
  #
57609
+ # @!attribute [rw] sse_type
57610
+ # Reserved for future use.
57611
+ # @return [String]
57612
+ #
57594
57613
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SnapshotInfo AWS API Documentation
57595
57614
  #
57596
57615
  class SnapshotInfo < Struct.new(
@@ -57604,7 +57623,8 @@ module Aws::EC2
57604
57623
  :progress,
57605
57624
  :owner_id,
57606
57625
  :snapshot_id,
57607
- :outpost_arn)
57626
+ :outpost_arn,
57627
+ :sse_type)
57608
57628
  SENSITIVE = []
57609
57629
  include Aws::Structure
57610
57630
  end
@@ -63641,6 +63661,10 @@ module Aws::EC2
63641
63661
  # The throughput that the volume supports, in MiB/s.
63642
63662
  # @return [Integer]
63643
63663
  #
63664
+ # @!attribute [rw] sse_type
63665
+ # Reserved for future use.
63666
+ # @return [String]
63667
+ #
63644
63668
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Volume AWS API Documentation
63645
63669
  #
63646
63670
  class Volume < Struct.new(
@@ -63659,7 +63683,8 @@ module Aws::EC2
63659
63683
  :volume_type,
63660
63684
  :fast_restored,
63661
63685
  :multi_attach_enabled,
63662
- :throughput)
63686
+ :throughput,
63687
+ :sse_type)
63663
63688
  SENSITIVE = []
63664
63689
  include Aws::Structure
63665
63690
  end
@@ -130,6 +130,12 @@ module Aws::EC2
130
130
  data[:throughput]
131
131
  end
132
132
 
133
+ # Reserved for future use.
134
+ # @return [String]
135
+ def sse_type
136
+ data[:sse_type]
137
+ end
138
+
133
139
  # @!endgroup
134
140
 
135
141
  # @return [Client]
@@ -93,6 +93,7 @@ module Aws::EC2
93
93
  # | snapshot_completed | {Client#describe_snapshots} | 15 | 40 |
94
94
  # | snapshot_imported | {Client#describe_import_snapshot_tasks} | 15 | 40 |
95
95
  # | spot_instance_request_fulfilled | {Client#describe_spot_instance_requests} | 15 | 40 |
96
+ # | store_image_task_complete | {Client#describe_store_image_tasks} | 5 | 40 |
96
97
  # | subnet_available | {Client#describe_subnets} | 15 | 40 |
97
98
  # | system_status_ok | {Client#describe_instance_status} | 15 | 40 |
98
99
  # | volume_available | {Client#describe_volumes} | 15 | 40 |
@@ -1202,6 +1203,56 @@ module Aws::EC2
1202
1203
 
1203
1204
  end
1204
1205
 
1206
+ class StoreImageTaskComplete
1207
+
1208
+ # @param [Hash] options
1209
+ # @option options [required, Client] :client
1210
+ # @option options [Integer] :max_attempts (40)
1211
+ # @option options [Integer] :delay (5)
1212
+ # @option options [Proc] :before_attempt
1213
+ # @option options [Proc] :before_wait
1214
+ def initialize(options)
1215
+ @client = options.fetch(:client)
1216
+ @waiter = Aws::Waiters::Waiter.new({
1217
+ max_attempts: 40,
1218
+ delay: 5,
1219
+ poller: Aws::Waiters::Poller.new(
1220
+ operation_name: :describe_store_image_tasks,
1221
+ acceptors: [
1222
+ {
1223
+ "expected" => "Completed",
1224
+ "matcher" => "pathAll",
1225
+ "state" => "success",
1226
+ "argument" => "store_image_task_results[].store_task_state"
1227
+ },
1228
+ {
1229
+ "expected" => "Failed",
1230
+ "matcher" => "pathAny",
1231
+ "state" => "failure",
1232
+ "argument" => "store_image_task_results[].store_task_state"
1233
+ },
1234
+ {
1235
+ "expected" => "InProgress",
1236
+ "matcher" => "pathAny",
1237
+ "state" => "retry",
1238
+ "argument" => "store_image_task_results[].store_task_state"
1239
+ }
1240
+ ]
1241
+ )
1242
+ }.merge(options))
1243
+ end
1244
+
1245
+ # @option (see Client#describe_store_image_tasks)
1246
+ # @return (see Client#describe_store_image_tasks)
1247
+ def wait(params = {})
1248
+ @waiter.wait(client: @client, params: params)
1249
+ end
1250
+
1251
+ # @api private
1252
+ attr_reader :waiter
1253
+
1254
+ end
1255
+
1205
1256
  class SubnetAvailable
1206
1257
 
1207
1258
  # @param [Hash] options
data/lib/aws-sdk-ec2.rb CHANGED
@@ -76,6 +76,6 @@ require_relative 'aws-sdk-ec2/customizations'
76
76
  # @!group service
77
77
  module Aws::EC2
78
78
 
79
- GEM_VERSION = '1.394.0'
79
+ GEM_VERSION = '1.395.0'
80
80
 
81
81
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.394.0
4
+ version: 1.395.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-07-25 00:00:00.000000000 Z
11
+ date: 2023-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4