aws-sdk-ec2instanceconnect 1.24.0 → 1.25.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: c7041d1d09d714cbdffdb8213dfa93c0a514089bc3b314b22e23cdfc4455193c
4
- data.tar.gz: 4f872324f682b36c105420011adfe0669651c2b35d2c12217ae8cc2f9f8cbf22
3
+ metadata.gz: 0646fd103b234ceef61e6016a861d16ed527f30e5c3047f7592fa0c4c8564ee2
4
+ data.tar.gz: 7df0c7b96aa20303825a0683c79864be072d3f680455b70cedc7a4d6de8c5773
5
5
  SHA512:
6
- metadata.gz: 0a6ae1a2640d0df186558a1b01d29b582aa700338222660d9bb6a6744bb47c8c6d0e1fe39180a63fc6782ee81c8ad0ca1b19a28c75c2a5668d60b646bd437ecd
7
- data.tar.gz: a01d7f51904f2868239d9d2049a0dda461acf81f27fc6b70ce5817586dc3d1a330357e4350796c3f6b9ba4c2ff051e2120ad69e13ed2803b3fa23e0a481d8c18
6
+ metadata.gz: 9f24d716d4b9afaa6f1d391ad5c79dc22144124a6c4bff29b909bb52d41d3acd5f5f79156b4b290257ec0d08effd5954f19ec2e6891eb1005fb731182f11e4f5
7
+ data.tar.gz: e1891ea3023e86c6ddfe033885d9ba5ccf105c4e11db8bd0952752844a5f411b9baf838032e563499e18d89c7e06007e913faff74b57580eadb0294042a3beac
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.24.0 (2022-02-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.24.0
1
+ 1.25.0
@@ -500,7 +500,7 @@ module Aws::EC2InstanceConnect
500
500
  params: params,
501
501
  config: config)
502
502
  context[:gem_name] = 'aws-sdk-ec2instanceconnect'
503
- context[:gem_version] = '1.24.0'
503
+ context[:gem_version] = '1.25.0'
504
504
  Seahorse::Client::Request.new(handlers, context)
505
505
  end
506
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
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-ec2instanceconnect/customizations'
48
48
  # @!group service
49
49
  module Aws::EC2InstanceConnect
50
50
 
51
- GEM_VERSION = '1.24.0'
51
+ GEM_VERSION = '1.25.0'
52
52
 
53
53
  end
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.24.0
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-02-24 00:00:00.000000000 Z
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