aws-sdk-ec2 1.399.0 → 1.401.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: 1a7b52147cc1c38ae22dd42765ab564cba7fbe6aa0cb47ff2ffc1a874250dccf
4
- data.tar.gz: eaee461e1afaf7178928ce2774af24e9fda7b060e1754d04d197873f05a405e8
3
+ metadata.gz: ccc01c50b029391696dfd5b6edf1acef4e4cb19cb3a320cfc33552caf9df1662
4
+ data.tar.gz: 02adede3382535fe1bd5bf58ee99c7afc12a8018b96e31dec514125d390626ab
5
5
  SHA512:
6
- metadata.gz: 25f60ff8dde776ccc451baa5bc17c39713ee7b3619618b49cd4621670fcc6d988e9261781d532f64420f5910912e95cc7c72499319db233de21977cd7a91c611
7
- data.tar.gz: 6d841d40ecfb7abb985627e05962def6be027a64eb15725b9b2b7bbca4601f2d5c941c822857904841de7582fd57ecf65c4074faba050f306a17b2f8f0559e2b
6
+ metadata.gz: cd4e35c8d99ca3ea12459cc638ee36b18855a29061619b236652ace466f08b32e2a5a6a9f5f1dd3febd3088e766e5dbe7e544476ab8ddde639488da39849f67a
7
+ data.tar.gz: 9d90102e655dd741f68d3022e934c1a7e4f9a7ebcd453333309be48d0c22b1aeb60ae4d30bc02fed878856de985d20f10980c0fe63421d2f3dc1998743762c4b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.401.0 (2023-08-23)
5
+ ------------------
6
+
7
+ * Feature - Marking fields as sensitive on BundleTask and GetPasswordData
8
+
9
+ 1.400.0 (2023-08-21)
10
+ ------------------
11
+
12
+ * Feature - The DeleteKeyPair API has been updated to return the keyPairId when an existing key pair is deleted.
13
+
4
14
  1.399.0 (2023-08-17)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.399.0
1
+ 1.401.0
@@ -3671,7 +3671,7 @@ module Aws::EC2
3671
3671
  # bucket: "String",
3672
3672
  # prefix: "String",
3673
3673
  # upload_policy: "data",
3674
- # upload_policy_signature: "String",
3674
+ # upload_policy_signature: "S3StorageUploadPolicySignature",
3675
3675
  # },
3676
3676
  # },
3677
3677
  # dry_run: false,
@@ -15975,7 +15975,10 @@ module Aws::EC2
15975
15975
  # If you have the required permissions, the error response is
15976
15976
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
15977
15977
  #
15978
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
15978
+ # @return [Types::DeleteKeyPairResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
15979
+ #
15980
+ # * {Types::DeleteKeyPairResult#return #return} => Boolean
15981
+ # * {Types::DeleteKeyPairResult#key_pair_id #key_pair_id} => String
15979
15982
  #
15980
15983
  #
15981
15984
  # @example Example: To delete a key pair
@@ -15994,6 +15997,11 @@ module Aws::EC2
15994
15997
  # dry_run: false,
15995
15998
  # })
15996
15999
  #
16000
+ # @example Response structure
16001
+ #
16002
+ # resp.return #=> Boolean
16003
+ # resp.key_pair_id #=> String
16004
+ #
15997
16005
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteKeyPair AWS API Documentation
15998
16006
  #
15999
16007
  # @overload delete_key_pair(params = {})
@@ -56731,7 +56739,7 @@ module Aws::EC2
56731
56739
  params: params,
56732
56740
  config: config)
56733
56741
  context[:gem_name] = 'aws-sdk-ec2'
56734
- context[:gem_version] = '1.399.0'
56742
+ context[:gem_version] = '1.401.0'
56735
56743
  Seahorse::Client::Request.new(handlers, context)
56736
56744
  end
56737
56745
 
@@ -620,6 +620,7 @@ module Aws::EC2
620
620
  DeleteIpamScopeRequest = Shapes::StructureShape.new(name: 'DeleteIpamScopeRequest')
621
621
  DeleteIpamScopeResult = Shapes::StructureShape.new(name: 'DeleteIpamScopeResult')
622
622
  DeleteKeyPairRequest = Shapes::StructureShape.new(name: 'DeleteKeyPairRequest')
623
+ DeleteKeyPairResult = Shapes::StructureShape.new(name: 'DeleteKeyPairResult')
623
624
  DeleteLaunchTemplateRequest = Shapes::StructureShape.new(name: 'DeleteLaunchTemplateRequest')
624
625
  DeleteLaunchTemplateResult = Shapes::StructureShape.new(name: 'DeleteLaunchTemplateResult')
625
626
  DeleteLaunchTemplateVersionsRequest = Shapes::StructureShape.new(name: 'DeleteLaunchTemplateVersionsRequest')
@@ -2193,6 +2194,7 @@ module Aws::EC2
2193
2194
  PacketHeaderStatement = Shapes::StructureShape.new(name: 'PacketHeaderStatement')
2194
2195
  PacketHeaderStatementRequest = Shapes::StructureShape.new(name: 'PacketHeaderStatementRequest')
2195
2196
  PartitionLoadFrequency = Shapes::StringShape.new(name: 'PartitionLoadFrequency')
2197
+ PasswordData = Shapes::StringShape.new(name: 'PasswordData')
2196
2198
  PathComponent = Shapes::StructureShape.new(name: 'PathComponent')
2197
2199
  PathComponentList = Shapes::ListShape.new(name: 'PathComponentList')
2198
2200
  PathFilter = Shapes::StructureShape.new(name: 'PathFilter')
@@ -2508,6 +2510,8 @@ module Aws::EC2
2508
2510
  S3ObjectTag = Shapes::StructureShape.new(name: 'S3ObjectTag')
2509
2511
  S3ObjectTagList = Shapes::ListShape.new(name: 'S3ObjectTagList')
2510
2512
  S3Storage = Shapes::StructureShape.new(name: 'S3Storage')
2513
+ S3StorageUploadPolicy = Shapes::StringShape.new(name: 'S3StorageUploadPolicy')
2514
+ S3StorageUploadPolicySignature = Shapes::StringShape.new(name: 'S3StorageUploadPolicySignature')
2511
2515
  SSEType = Shapes::StringShape.new(name: 'SSEType')
2512
2516
  ScheduledInstance = Shapes::StructureShape.new(name: 'ScheduledInstance')
2513
2517
  ScheduledInstanceAvailability = Shapes::StructureShape.new(name: 'ScheduledInstanceAvailability')
@@ -5509,6 +5513,10 @@ module Aws::EC2
5509
5513
  DeleteKeyPairRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
5510
5514
  DeleteKeyPairRequest.struct_class = Types::DeleteKeyPairRequest
5511
5515
 
5516
+ DeleteKeyPairResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
5517
+ DeleteKeyPairResult.add_member(:key_pair_id, Shapes::ShapeRef.new(shape: String, location_name: "keyPairId"))
5518
+ DeleteKeyPairResult.struct_class = Types::DeleteKeyPairResult
5519
+
5512
5520
  DeleteLaunchTemplateRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
5513
5521
  DeleteLaunchTemplateRequest.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: LaunchTemplateId, location_name: "LaunchTemplateId"))
5514
5522
  DeleteLaunchTemplateRequest.add_member(:launch_template_name, Shapes::ShapeRef.new(shape: LaunchTemplateName, location_name: "LaunchTemplateName"))
@@ -8846,7 +8854,7 @@ module Aws::EC2
8846
8854
  GetPasswordDataRequest.struct_class = Types::GetPasswordDataRequest
8847
8855
 
8848
8856
  GetPasswordDataResult.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
8849
- GetPasswordDataResult.add_member(:password_data, Shapes::ShapeRef.new(shape: String, location_name: "passwordData"))
8857
+ GetPasswordDataResult.add_member(:password_data, Shapes::ShapeRef.new(shape: PasswordData, location_name: "passwordData"))
8850
8858
  GetPasswordDataResult.add_member(:timestamp, Shapes::ShapeRef.new(shape: DateTime, location_name: "timestamp"))
8851
8859
  GetPasswordDataResult.struct_class = Types::GetPasswordDataResult
8852
8860
 
@@ -13058,7 +13066,7 @@ module Aws::EC2
13058
13066
  S3Storage.add_member(:bucket, Shapes::ShapeRef.new(shape: String, location_name: "bucket"))
13059
13067
  S3Storage.add_member(:prefix, Shapes::ShapeRef.new(shape: String, location_name: "prefix"))
13060
13068
  S3Storage.add_member(:upload_policy, Shapes::ShapeRef.new(shape: Blob, location_name: "uploadPolicy"))
13061
- S3Storage.add_member(:upload_policy_signature, Shapes::ShapeRef.new(shape: String, location_name: "uploadPolicySignature"))
13069
+ S3Storage.add_member(:upload_policy_signature, Shapes::ShapeRef.new(shape: S3StorageUploadPolicySignature, location_name: "uploadPolicySignature"))
13062
13070
  S3Storage.struct_class = Types::S3Storage
13063
13071
 
13064
13072
  ScheduledInstance.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
@@ -16255,7 +16263,7 @@ module Aws::EC2
16255
16263
  o.http_method = "POST"
16256
16264
  o.http_request_uri = "/"
16257
16265
  o.input = Shapes::ShapeRef.new(shape: DeleteKeyPairRequest)
16258
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
16266
+ o.output = Shapes::ShapeRef.new(shape: DeleteKeyPairResult)
16259
16267
  end)
16260
16268
 
16261
16269
  api.add_operation(:delete_launch_template, Seahorse::Model::Operation.new.tap do |o|
@@ -209,7 +209,7 @@ module Aws::EC2
209
209
  # without actually making the request, and provides an error response.
210
210
  # If you have the required permissions, the error response is
211
211
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
212
- # @return [EmptyStructure]
212
+ # @return [Types::DeleteKeyPairResult]
213
213
  def delete(options = {})
214
214
  options = options.merge(key_name: @name)
215
215
  resp = Aws::Plugins::UserAgent.feature('resource') do
@@ -254,7 +254,7 @@ module Aws::EC2
254
254
  # without actually making the request, and provides an error response.
255
255
  # If you have the required permissions, the error response is
256
256
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
257
- # @return [EmptyStructure]
257
+ # @return [Types::DeleteKeyPairResult]
258
258
  def delete(options = {})
259
259
  options = options.merge(key_name: @name)
260
260
  resp = Aws::Plugins::UserAgent.feature('resource') do
@@ -13508,6 +13508,23 @@ module Aws::EC2
13508
13508
  include Aws::Structure
13509
13509
  end
13510
13510
 
13511
+ # @!attribute [rw] return
13512
+ # Is `true` if the request succeeds, and an error otherwise.
13513
+ # @return [Boolean]
13514
+ #
13515
+ # @!attribute [rw] key_pair_id
13516
+ # The ID of the key pair.
13517
+ # @return [String]
13518
+ #
13519
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteKeyPairResult AWS API Documentation
13520
+ #
13521
+ class DeleteKeyPairResult < Struct.new(
13522
+ :return,
13523
+ :key_pair_id)
13524
+ SENSITIVE = []
13525
+ include Aws::Structure
13526
+ end
13527
+
13511
13528
  # @!attribute [rw] dry_run
13512
13529
  # Checks whether you have the required permissions for the action,
13513
13530
  # without actually making the request, and provides an error response.
@@ -33789,7 +33806,7 @@ module Aws::EC2
33789
33806
  :instance_id,
33790
33807
  :password_data,
33791
33808
  :timestamp)
33792
- SENSITIVE = []
33809
+ SENSITIVE = [:password_data]
33793
33810
  include Aws::Structure
33794
33811
  end
33795
33812
 
@@ -56155,7 +56172,7 @@ module Aws::EC2
56155
56172
  :prefix,
56156
56173
  :upload_policy,
56157
56174
  :upload_policy_signature)
56158
- SENSITIVE = []
56175
+ SENSITIVE = [:upload_policy_signature]
56159
56176
  include Aws::Structure
56160
56177
  end
56161
56178
 
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.399.0'
79
+ GEM_VERSION = '1.401.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.399.0
4
+ version: 1.401.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-08-17 00:00:00.000000000 Z
11
+ date: 2023-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4