aws-sdk-ec2instanceconnect 1.22.0 → 1.25.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2instanceconnect/client.rb +5 -1
- data/lib/aws-sdk-ec2instanceconnect/client_api.rb +6 -0
- data/lib/aws-sdk-ec2instanceconnect/errors.rb +16 -0
- data/lib/aws-sdk-ec2instanceconnect/types.rb +14 -0
- data/lib/aws-sdk-ec2instanceconnect.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0646fd103b234ceef61e6016a861d16ed527f30e5c3047f7592fa0c4c8564ee2
|
4
|
+
data.tar.gz: 7df0c7b96aa20303825a0683c79864be072d3f680455b70cedc7a4d6de8c5773
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f24d716d4b9afaa6f1d391ad5c79dc22144124a6c4bff29b909bb52d41d3acd5f5f79156b4b290257ec0d08effd5954f19ec2e6891eb1005fb731182f11e4f5
|
7
|
+
data.tar.gz: e1891ea3023e86c6ddfe033885d9ba5ccf105c4e11db8bd0952752844a5f411b9baf838032e563499e18d89c7e06007e913faff74b57580eadb0294042a3beac
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.25.0 (2022-07-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release includes a new exception type "EC2InstanceUnavailableException" for SendSSHPublicKey and SendSerialConsoleSSHPublicKey APIs.
|
8
|
+
|
9
|
+
1.24.0 (2022-02-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.23.0 (2022-02-03)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.22.0 (2022-01-19)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.25.0
|
@@ -27,7 +27,9 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
34
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
33
35
|
|
@@ -74,7 +76,9 @@ module Aws::EC2InstanceConnect
|
|
74
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
75
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
76
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
77
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
78
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
79
83
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
80
84
|
|
@@ -496,7 +500,7 @@ module Aws::EC2InstanceConnect
|
|
496
500
|
params: params,
|
497
501
|
config: config)
|
498
502
|
context[:gem_name] = 'aws-sdk-ec2instanceconnect'
|
499
|
-
context[:gem_version] = '1.
|
503
|
+
context[:gem_version] = '1.25.0'
|
500
504
|
Seahorse::Client::Request.new(handlers, context)
|
501
505
|
end
|
502
506
|
|
@@ -18,6 +18,7 @@ module Aws::EC2InstanceConnect
|
|
18
18
|
EC2InstanceNotFoundException = Shapes::StructureShape.new(name: 'EC2InstanceNotFoundException')
|
19
19
|
EC2InstanceStateInvalidException = Shapes::StructureShape.new(name: 'EC2InstanceStateInvalidException')
|
20
20
|
EC2InstanceTypeInvalidException = Shapes::StructureShape.new(name: 'EC2InstanceTypeInvalidException')
|
21
|
+
EC2InstanceUnavailableException = Shapes::StructureShape.new(name: 'EC2InstanceUnavailableException')
|
21
22
|
InstanceId = Shapes::StringShape.new(name: 'InstanceId')
|
22
23
|
InstanceOSUser = Shapes::StringShape.new(name: 'InstanceOSUser')
|
23
24
|
InvalidArgsException = Shapes::StructureShape.new(name: 'InvalidArgsException')
|
@@ -48,6 +49,9 @@ module Aws::EC2InstanceConnect
|
|
48
49
|
EC2InstanceTypeInvalidException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
49
50
|
EC2InstanceTypeInvalidException.struct_class = Types::EC2InstanceTypeInvalidException
|
50
51
|
|
52
|
+
EC2InstanceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
53
|
+
EC2InstanceUnavailableException.struct_class = Types::EC2InstanceUnavailableException
|
54
|
+
|
51
55
|
InvalidArgsException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
52
56
|
InvalidArgsException.struct_class = Types::InvalidArgsException
|
53
57
|
|
@@ -116,6 +120,7 @@ module Aws::EC2InstanceConnect
|
|
116
120
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
117
121
|
o.errors << Shapes::ShapeRef.new(shape: EC2InstanceNotFoundException)
|
118
122
|
o.errors << Shapes::ShapeRef.new(shape: EC2InstanceStateInvalidException)
|
123
|
+
o.errors << Shapes::ShapeRef.new(shape: EC2InstanceUnavailableException)
|
119
124
|
end)
|
120
125
|
|
121
126
|
api.add_operation(:send_serial_console_ssh_public_key, Seahorse::Model::Operation.new.tap do |o|
|
@@ -134,6 +139,7 @@ module Aws::EC2InstanceConnect
|
|
134
139
|
o.errors << Shapes::ShapeRef.new(shape: SerialConsoleSessionLimitExceededException)
|
135
140
|
o.errors << Shapes::ShapeRef.new(shape: SerialConsoleSessionUnavailableException)
|
136
141
|
o.errors << Shapes::ShapeRef.new(shape: EC2InstanceStateInvalidException)
|
142
|
+
o.errors << Shapes::ShapeRef.new(shape: EC2InstanceUnavailableException)
|
137
143
|
end)
|
138
144
|
end
|
139
145
|
|
@@ -31,6 +31,7 @@ module Aws::EC2InstanceConnect
|
|
31
31
|
# * {EC2InstanceNotFoundException}
|
32
32
|
# * {EC2InstanceStateInvalidException}
|
33
33
|
# * {EC2InstanceTypeInvalidException}
|
34
|
+
# * {EC2InstanceUnavailableException}
|
34
35
|
# * {InvalidArgsException}
|
35
36
|
# * {SerialConsoleAccessDisabledException}
|
36
37
|
# * {SerialConsoleSessionLimitExceededException}
|
@@ -104,6 +105,21 @@ module Aws::EC2InstanceConnect
|
|
104
105
|
end
|
105
106
|
end
|
106
107
|
|
108
|
+
class EC2InstanceUnavailableException < ServiceError
|
109
|
+
|
110
|
+
# @param [Seahorse::Client::RequestContext] context
|
111
|
+
# @param [String] message
|
112
|
+
# @param [Aws::EC2InstanceConnect::Types::EC2InstanceUnavailableException] data
|
113
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
114
|
+
super(context, message, data)
|
115
|
+
end
|
116
|
+
|
117
|
+
# @return [String]
|
118
|
+
def message
|
119
|
+
@message || @data[:message]
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
107
123
|
class InvalidArgsException < ServiceError
|
108
124
|
|
109
125
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -67,6 +67,20 @@ module Aws::EC2InstanceConnect
|
|
67
67
|
include Aws::Structure
|
68
68
|
end
|
69
69
|
|
70
|
+
# The instance is currently unavailable. Wait a few minutes and try
|
71
|
+
# again.
|
72
|
+
#
|
73
|
+
# @!attribute [rw] message
|
74
|
+
# @return [String]
|
75
|
+
#
|
76
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-instance-connect-2018-04-02/EC2InstanceUnavailableException AWS API Documentation
|
77
|
+
#
|
78
|
+
class EC2InstanceUnavailableException < Struct.new(
|
79
|
+
:message)
|
80
|
+
SENSITIVE = []
|
81
|
+
include Aws::Structure
|
82
|
+
end
|
83
|
+
|
70
84
|
# One of the parameters is not valid.
|
71
85
|
#
|
72
86
|
# @!attribute [rw] message
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ec2instanceconnect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.25.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: 2022-
|
11
|
+
date: 2022-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.127.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|