aws-sdk-ec2 1.399.0 → 1.400.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-ec2/client.rb +10 -2
- data/lib/aws-sdk-ec2/client_api.rb +6 -1
- data/lib/aws-sdk-ec2/key_pair.rb +1 -1
- data/lib/aws-sdk-ec2/key_pair_info.rb +1 -1
- data/lib/aws-sdk-ec2/types.rb +17 -0
- data/lib/aws-sdk-ec2.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: b18b05d0930c0e962b79e96a771ffc2ddbae7bde70314cefb88af289b12950ed
|
4
|
+
data.tar.gz: 6ae702d8148ad574c08616390024cbc0983c29a4484acafbec6d7e9aab96b759
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9051dcc2722dd1a076a5d6ce5a9bb0637e84c51f1da0546afcc5a5cb1ffee6427e3468cc5ca3548bcd2e10e06156c90b306d15153131586c962dd9eadb32ea3
|
7
|
+
data.tar.gz: '08d04bda2fbe008324272c59e45ab9c52771963e18038497a3717ab8a1c2db5f312788748790e1c6dbf0544eebeee160de4f20d878f48c00a372d549cb2bd74d'
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.400.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -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 [
|
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.
|
56742
|
+
context[:gem_version] = '1.400.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')
|
@@ -5509,6 +5510,10 @@ module Aws::EC2
|
|
5509
5510
|
DeleteKeyPairRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
5510
5511
|
DeleteKeyPairRequest.struct_class = Types::DeleteKeyPairRequest
|
5511
5512
|
|
5513
|
+
DeleteKeyPairResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
5514
|
+
DeleteKeyPairResult.add_member(:key_pair_id, Shapes::ShapeRef.new(shape: String, location_name: "keyPairId"))
|
5515
|
+
DeleteKeyPairResult.struct_class = Types::DeleteKeyPairResult
|
5516
|
+
|
5512
5517
|
DeleteLaunchTemplateRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
5513
5518
|
DeleteLaunchTemplateRequest.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: LaunchTemplateId, location_name: "LaunchTemplateId"))
|
5514
5519
|
DeleteLaunchTemplateRequest.add_member(:launch_template_name, Shapes::ShapeRef.new(shape: LaunchTemplateName, location_name: "LaunchTemplateName"))
|
@@ -16255,7 +16260,7 @@ module Aws::EC2
|
|
16255
16260
|
o.http_method = "POST"
|
16256
16261
|
o.http_request_uri = "/"
|
16257
16262
|
o.input = Shapes::ShapeRef.new(shape: DeleteKeyPairRequest)
|
16258
|
-
o.output = Shapes::ShapeRef.new(shape:
|
16263
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteKeyPairResult)
|
16259
16264
|
end)
|
16260
16265
|
|
16261
16266
|
api.add_operation(:delete_launch_template, Seahorse::Model::Operation.new.tap do |o|
|
data/lib/aws-sdk-ec2/key_pair.rb
CHANGED
@@ -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 [
|
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 [
|
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
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -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.
|
data/lib/aws-sdk-ec2.rb
CHANGED
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.
|
4
|
+
version: 1.400.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-
|
11
|
+
date: 2023-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|