aws-sdk-codedeploy 1.0.0.rc1 → 1.0.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-codedeploy.rb +1 -1
- data/lib/aws-sdk-codedeploy/client.rb +1917 -1714
- data/lib/aws-sdk-codedeploy/client_api.rb +1225 -1216
- data/lib/aws-sdk-codedeploy/errors.rb +4 -13
- data/lib/aws-sdk-codedeploy/resource.rb +12 -14
- data/lib/aws-sdk-codedeploy/types.rb +2730 -2542
- data/lib/aws-sdk-codedeploy/waiters.rb +48 -49
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb9facdd273ca2bce4740dbd4edf87d72039fba5
|
4
|
+
data.tar.gz: d6dbe0d02bd651e36fb2d88c1f68ed0bd387590b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc225789efb079a2cb39a4be8b4ad304609c970fc5ae7b8db9a77517cdeffc611f8e6dabeff4f0caec67fdb2335a479d1581673a442fba39eef0785e7f7df1db
|
7
|
+
data.tar.gz: ab90e174a1157c8cc310b189896392dbde548416d0a440078b2dee2996f05a6bab44c1567b8d62a033086910dfffc1892b7c48d915f3b52c438e62c43f1e8f12
|
data/lib/aws-sdk-codedeploy.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
4
|
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
5
|
#
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
4
|
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
5
|
#
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
@@ -23,1772 +23,1975 @@ require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
|
23
23
|
|
24
24
|
Aws::Plugins::GlobalConfiguration.add_identifier(:codedeploy)
|
25
25
|
|
26
|
-
module Aws
|
27
|
-
|
28
|
-
class Client < Seahorse::Client::Base
|
26
|
+
module Aws::CodeDeploy
|
27
|
+
class Client < Seahorse::Client::Base
|
29
28
|
|
30
|
-
|
29
|
+
include Aws::ClientStubs
|
31
30
|
|
32
|
-
|
31
|
+
@identifier = :codedeploy
|
33
32
|
|
34
|
-
|
33
|
+
set_api(ClientApi::API)
|
35
34
|
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
35
|
+
add_plugin(Seahorse::Client::Plugins::ContentLength)
|
36
|
+
add_plugin(Aws::Plugins::CredentialsConfiguration)
|
37
|
+
add_plugin(Aws::Plugins::Logging)
|
38
|
+
add_plugin(Aws::Plugins::ParamConverter)
|
39
|
+
add_plugin(Aws::Plugins::ParamValidator)
|
40
|
+
add_plugin(Aws::Plugins::UserAgent)
|
41
|
+
add_plugin(Aws::Plugins::HelpfulSocketErrors)
|
42
|
+
add_plugin(Aws::Plugins::RetryErrors)
|
43
|
+
add_plugin(Aws::Plugins::GlobalConfiguration)
|
44
|
+
add_plugin(Aws::Plugins::RegionalEndpoint)
|
45
|
+
add_plugin(Aws::Plugins::ResponsePaging)
|
46
|
+
add_plugin(Aws::Plugins::StubResponses)
|
47
|
+
add_plugin(Aws::Plugins::IdempotencyToken)
|
48
|
+
add_plugin(Aws::Plugins::SignatureV4)
|
49
|
+
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
51
50
|
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
51
|
+
# @option options [required, Aws::CredentialProvider] :credentials
|
52
|
+
# Your AWS credentials. This can be an instance of any one of the
|
53
|
+
# following classes:
|
54
|
+
#
|
55
|
+
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
56
|
+
# credentials.
|
57
|
+
#
|
58
|
+
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
59
|
+
# from an EC2 IMDS on an EC2 instance.
|
60
|
+
#
|
61
|
+
# * `Aws::SharedCredentials` - Used for loading credentials from a
|
62
|
+
# shared file, such as `~/.aws/config`.
|
63
|
+
#
|
64
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
65
|
+
#
|
66
|
+
# When `:credentials` are not configured directly, the following
|
67
|
+
# locations will be searched for credentials:
|
68
|
+
#
|
69
|
+
# * `Aws.config[:credentials]`
|
70
|
+
# * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
|
71
|
+
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
72
|
+
# * `~/.aws/credentials`
|
73
|
+
# * `~/.aws/config`
|
74
|
+
# * EC2 IMDS instance profile - When used by default, the timeouts are
|
75
|
+
# very aggressive. Construct and pass an instance of
|
76
|
+
# `Aws::InstanceProfileCredentails` to enable retries and extended
|
77
|
+
# timeouts.
|
78
|
+
#
|
79
|
+
# @option options [required, String] :region
|
80
|
+
# The AWS region to connect to. The configured `:region` is
|
81
|
+
# used to determine the service `:endpoint`. When not passed,
|
82
|
+
# a default `:region` is search for in the following locations:
|
83
|
+
#
|
84
|
+
# * `Aws.config[:region]`
|
85
|
+
# * `ENV['AWS_REGION']`
|
86
|
+
# * `ENV['AMAZON_REGION']`
|
87
|
+
# * `ENV['AWS_DEFAULT_REGION']`
|
88
|
+
# * `~/.aws/credentials`
|
89
|
+
# * `~/.aws/config`
|
90
|
+
#
|
91
|
+
# @option options [String] :access_key_id
|
92
|
+
#
|
93
|
+
# @option options [Boolean] :convert_params (true)
|
94
|
+
# When `true`, an attempt is made to coerce request parameters into
|
95
|
+
# the required types.
|
96
|
+
#
|
97
|
+
# @option options [String] :endpoint
|
98
|
+
# The client endpoint is normally constructed from the `:region`
|
99
|
+
# option. You should only configure an `:endpoint` when connecting
|
100
|
+
# to test endpoints. This should be avalid HTTP(S) URI.
|
101
|
+
#
|
102
|
+
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
103
|
+
# The log formatter.
|
104
|
+
#
|
105
|
+
# @option options [Symbol] :log_level (:info)
|
106
|
+
# The log level to send messages to the `:logger` at.
|
107
|
+
#
|
108
|
+
# @option options [Logger] :logger
|
109
|
+
# The Logger instance to send log messages to. If this option
|
110
|
+
# is not set, logging will be disabled.
|
111
|
+
#
|
112
|
+
# @option options [String] :profile ("default")
|
113
|
+
# Used when loading credentials from the shared credentials file
|
114
|
+
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
115
|
+
#
|
116
|
+
# @option options [Integer] :retry_limit (3)
|
117
|
+
# The maximum number of times to retry failed requests. Only
|
118
|
+
# ~ 500 level server errors and certain ~ 400 level client errors
|
119
|
+
# are retried. Generally, these are throttling errors, data
|
120
|
+
# checksum errors, networking errors, timeout errors and auth
|
121
|
+
# errors from expired credentials.
|
122
|
+
#
|
123
|
+
# @option options [String] :secret_access_key
|
124
|
+
#
|
125
|
+
# @option options [String] :session_token
|
126
|
+
#
|
127
|
+
# @option options [Boolean] :simple_json (false)
|
128
|
+
# Disables request parameter conversion, validation, and formatting.
|
129
|
+
# Also disable response data type conversions. This option is useful
|
130
|
+
# when you want to ensure the highest level of performance by
|
131
|
+
# avoiding overhead of walking request parameters and response data
|
132
|
+
# structures.
|
133
|
+
#
|
134
|
+
# When `:simple_json` is enabled, the request parameters hash must
|
135
|
+
# be formatted exactly as the DynamoDB API expects.
|
136
|
+
#
|
137
|
+
# @option options [Boolean] :stub_responses (false)
|
138
|
+
# Causes the client to return stubbed responses. By default
|
139
|
+
# fake responses are generated and returned. You can specify
|
140
|
+
# the response data to return or errors to raise by calling
|
141
|
+
# {ClientStubs#stub_responses}. See {ClientStubs} for more information.
|
142
|
+
#
|
143
|
+
# ** Please note ** When response stubbing is enabled, no HTTP
|
144
|
+
# requests are made, and retries are disabled.
|
145
|
+
#
|
146
|
+
# @option options [Boolean] :validate_params (true)
|
147
|
+
# When `true`, request parameters are validated before
|
148
|
+
# sending the request.
|
149
|
+
#
|
150
|
+
def initialize(*args)
|
151
|
+
super
|
152
|
+
end
|
141
153
|
|
142
|
-
|
143
|
-
# @option params [required, Array<Types::Tag>] :tags
|
144
|
-
# The tag key-value pairs to add to the on-premises instances.
|
145
|
-
#
|
146
|
-
# Keys and values are both required. Keys cannot be null or empty
|
147
|
-
# strings. Value-only tags are not allowed.
|
148
|
-
# @option params [required, Array<String>] :instance_names
|
149
|
-
# The names of the on-premises instances to which to add tags.
|
150
|
-
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
151
|
-
#
|
152
|
-
# @example Request syntax with placeholder values
|
153
|
-
# resp = client.add_tags_to_on_premises_instances({
|
154
|
-
# tags: [ # required
|
155
|
-
# {
|
156
|
-
# key: "Key",
|
157
|
-
# value: "Value",
|
158
|
-
# },
|
159
|
-
# ],
|
160
|
-
# instance_names: ["InstanceName"], # required
|
161
|
-
# })
|
162
|
-
# @overload add_tags_to_on_premises_instances(params = {})
|
163
|
-
# @param [Hash] params ({})
|
164
|
-
def add_tags_to_on_premises_instances(params = {}, options = {})
|
165
|
-
req = build_request(:add_tags_to_on_premises_instances, params)
|
166
|
-
req.send_request(options)
|
167
|
-
end
|
154
|
+
# @!group API Operations
|
168
155
|
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
# ],
|
201
|
-
# })
|
202
|
-
#
|
203
|
-
# @example Response structure
|
204
|
-
# resp.application_name #=> String
|
205
|
-
# resp.error_message #=> String
|
206
|
-
# resp.revisions #=> Array
|
207
|
-
# resp.revisions[0].revision_location.revision_type #=> String, one of "S3", "GitHub"
|
208
|
-
# resp.revisions[0].revision_location.s3_location.bucket #=> String
|
209
|
-
# resp.revisions[0].revision_location.s3_location.key #=> String
|
210
|
-
# resp.revisions[0].revision_location.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip"
|
211
|
-
# resp.revisions[0].revision_location.s3_location.version #=> String
|
212
|
-
# resp.revisions[0].revision_location.s3_location.e_tag #=> String
|
213
|
-
# resp.revisions[0].revision_location.git_hub_location.repository #=> String
|
214
|
-
# resp.revisions[0].revision_location.git_hub_location.commit_id #=> String
|
215
|
-
# resp.revisions[0].generic_revision_info.description #=> String
|
216
|
-
# resp.revisions[0].generic_revision_info.deployment_groups #=> Array
|
217
|
-
# resp.revisions[0].generic_revision_info.deployment_groups[0] #=> String
|
218
|
-
# resp.revisions[0].generic_revision_info.first_used_time #=> Time
|
219
|
-
# resp.revisions[0].generic_revision_info.last_used_time #=> Time
|
220
|
-
# resp.revisions[0].generic_revision_info.register_time #=> Time
|
221
|
-
# @overload batch_get_application_revisions(params = {})
|
222
|
-
# @param [Hash] params ({})
|
223
|
-
def batch_get_application_revisions(params = {}, options = {})
|
224
|
-
req = build_request(:batch_get_application_revisions, params)
|
225
|
-
req.send_request(options)
|
226
|
-
end
|
156
|
+
# Adds tags to on-premises instances.
|
157
|
+
#
|
158
|
+
# @option params [required, Array<Types::Tag>] :tags
|
159
|
+
# The tag key-value pairs to add to the on-premises instances.
|
160
|
+
#
|
161
|
+
# Keys and values are both required. Keys cannot be null or empty
|
162
|
+
# strings. Value-only tags are not allowed.
|
163
|
+
#
|
164
|
+
# @option params [required, Array<String>] :instance_names
|
165
|
+
# The names of the on-premises instances to which to add tags.
|
166
|
+
#
|
167
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
168
|
+
#
|
169
|
+
# @example Request syntax with placeholder values
|
170
|
+
#
|
171
|
+
# resp = client.add_tags_to_on_premises_instances({
|
172
|
+
# tags: [ # required
|
173
|
+
# {
|
174
|
+
# key: "Key",
|
175
|
+
# value: "Value",
|
176
|
+
# },
|
177
|
+
# ],
|
178
|
+
# instance_names: ["InstanceName"], # required
|
179
|
+
# })
|
180
|
+
#
|
181
|
+
# @overload add_tags_to_on_premises_instances(params = {})
|
182
|
+
# @param [Hash] params ({})
|
183
|
+
def add_tags_to_on_premises_instances(params = {}, options = {})
|
184
|
+
req = build_request(:add_tags_to_on_premises_instances, params)
|
185
|
+
req.send_request(options)
|
186
|
+
end
|
227
187
|
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
188
|
+
# Gets information about one or more application revisions.
|
189
|
+
#
|
190
|
+
# @option params [required, String] :application_name
|
191
|
+
# The name of an AWS CodeDeploy application about which to get revision
|
192
|
+
# information.
|
193
|
+
#
|
194
|
+
# @option params [required, Array<Types::RevisionLocation>] :revisions
|
195
|
+
# Information to get about the application revisions, including type and
|
196
|
+
# location.
|
197
|
+
#
|
198
|
+
# @return [Types::BatchGetApplicationRevisionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
199
|
+
#
|
200
|
+
# * {Types::BatchGetApplicationRevisionsOutput#application_name #application_name} => String
|
201
|
+
# * {Types::BatchGetApplicationRevisionsOutput#error_message #error_message} => String
|
202
|
+
# * {Types::BatchGetApplicationRevisionsOutput#revisions #revisions} => Array<Types::RevisionInfo>
|
203
|
+
#
|
204
|
+
# @example Request syntax with placeholder values
|
205
|
+
#
|
206
|
+
# resp = client.batch_get_application_revisions({
|
207
|
+
# application_name: "ApplicationName", # required
|
208
|
+
# revisions: [ # required
|
209
|
+
# {
|
210
|
+
# revision_type: "S3", # accepts S3, GitHub
|
211
|
+
# s3_location: {
|
212
|
+
# bucket: "S3Bucket",
|
213
|
+
# key: "S3Key",
|
214
|
+
# bundle_type: "tar", # accepts tar, tgz, zip
|
215
|
+
# version: "VersionId",
|
216
|
+
# e_tag: "ETag",
|
217
|
+
# },
|
218
|
+
# git_hub_location: {
|
219
|
+
# repository: "Repository",
|
220
|
+
# commit_id: "CommitId",
|
221
|
+
# },
|
222
|
+
# },
|
223
|
+
# ],
|
224
|
+
# })
|
225
|
+
#
|
226
|
+
# @example Response structure
|
227
|
+
#
|
228
|
+
# resp.application_name #=> String
|
229
|
+
# resp.error_message #=> String
|
230
|
+
# resp.revisions #=> Array
|
231
|
+
# resp.revisions[0].revision_location.revision_type #=> String, one of "S3", "GitHub"
|
232
|
+
# resp.revisions[0].revision_location.s3_location.bucket #=> String
|
233
|
+
# resp.revisions[0].revision_location.s3_location.key #=> String
|
234
|
+
# resp.revisions[0].revision_location.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip"
|
235
|
+
# resp.revisions[0].revision_location.s3_location.version #=> String
|
236
|
+
# resp.revisions[0].revision_location.s3_location.e_tag #=> String
|
237
|
+
# resp.revisions[0].revision_location.git_hub_location.repository #=> String
|
238
|
+
# resp.revisions[0].revision_location.git_hub_location.commit_id #=> String
|
239
|
+
# resp.revisions[0].generic_revision_info.description #=> String
|
240
|
+
# resp.revisions[0].generic_revision_info.deployment_groups #=> Array
|
241
|
+
# resp.revisions[0].generic_revision_info.deployment_groups[0] #=> String
|
242
|
+
# resp.revisions[0].generic_revision_info.first_used_time #=> Time
|
243
|
+
# resp.revisions[0].generic_revision_info.last_used_time #=> Time
|
244
|
+
# resp.revisions[0].generic_revision_info.register_time #=> Time
|
245
|
+
#
|
246
|
+
# @overload batch_get_application_revisions(params = {})
|
247
|
+
# @param [Hash] params ({})
|
248
|
+
def batch_get_application_revisions(params = {}, options = {})
|
249
|
+
req = build_request(:batch_get_application_revisions, params)
|
250
|
+
req.send_request(options)
|
251
|
+
end
|
252
252
|
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
# resp.deployment_groups_info[0].on_premises_instance_tag_filters[0].value #=> String
|
283
|
-
# resp.deployment_groups_info[0].on_premises_instance_tag_filters[0].type #=> String, one of "KEY_ONLY", "VALUE_ONLY", "KEY_AND_VALUE"
|
284
|
-
# resp.deployment_groups_info[0].auto_scaling_groups #=> Array
|
285
|
-
# resp.deployment_groups_info[0].auto_scaling_groups[0].name #=> String
|
286
|
-
# resp.deployment_groups_info[0].auto_scaling_groups[0].hook #=> String
|
287
|
-
# resp.deployment_groups_info[0].service_role_arn #=> String
|
288
|
-
# resp.deployment_groups_info[0].target_revision.revision_type #=> String, one of "S3", "GitHub"
|
289
|
-
# resp.deployment_groups_info[0].target_revision.s3_location.bucket #=> String
|
290
|
-
# resp.deployment_groups_info[0].target_revision.s3_location.key #=> String
|
291
|
-
# resp.deployment_groups_info[0].target_revision.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip"
|
292
|
-
# resp.deployment_groups_info[0].target_revision.s3_location.version #=> String
|
293
|
-
# resp.deployment_groups_info[0].target_revision.s3_location.e_tag #=> String
|
294
|
-
# resp.deployment_groups_info[0].target_revision.git_hub_location.repository #=> String
|
295
|
-
# resp.deployment_groups_info[0].target_revision.git_hub_location.commit_id #=> String
|
296
|
-
# resp.deployment_groups_info[0].trigger_configurations #=> Array
|
297
|
-
# resp.deployment_groups_info[0].trigger_configurations[0].trigger_name #=> String
|
298
|
-
# resp.deployment_groups_info[0].trigger_configurations[0].trigger_target_arn #=> String
|
299
|
-
# resp.deployment_groups_info[0].trigger_configurations[0].trigger_events #=> Array
|
300
|
-
# resp.deployment_groups_info[0].trigger_configurations[0].trigger_events[0] #=> String, one of "DeploymentStart", "DeploymentSuccess", "DeploymentFailure", "DeploymentStop", "DeploymentRollback", "InstanceStart", "InstanceSuccess", "InstanceFailure"
|
301
|
-
# resp.deployment_groups_info[0].alarm_configuration.enabled #=> Boolean
|
302
|
-
# resp.deployment_groups_info[0].alarm_configuration.ignore_poll_alarm_failure #=> Boolean
|
303
|
-
# resp.deployment_groups_info[0].alarm_configuration.alarms #=> Array
|
304
|
-
# resp.deployment_groups_info[0].alarm_configuration.alarms[0].name #=> String
|
305
|
-
# resp.deployment_groups_info[0].auto_rollback_configuration.enabled #=> Boolean
|
306
|
-
# resp.deployment_groups_info[0].auto_rollback_configuration.events #=> Array
|
307
|
-
# resp.deployment_groups_info[0].auto_rollback_configuration.events[0] #=> String, one of "DEPLOYMENT_FAILURE", "DEPLOYMENT_STOP_ON_ALARM", "DEPLOYMENT_STOP_ON_REQUEST"
|
308
|
-
# resp.error_message #=> String
|
309
|
-
# @overload batch_get_deployment_groups(params = {})
|
310
|
-
# @param [Hash] params ({})
|
311
|
-
def batch_get_deployment_groups(params = {}, options = {})
|
312
|
-
req = build_request(:batch_get_deployment_groups, params)
|
313
|
-
req.send_request(options)
|
314
|
-
end
|
253
|
+
# Gets information about one or more applications.
|
254
|
+
#
|
255
|
+
# @option params [Array<String>] :application_names
|
256
|
+
# A list of application names separated by spaces.
|
257
|
+
#
|
258
|
+
# @return [Types::BatchGetApplicationsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
259
|
+
#
|
260
|
+
# * {Types::BatchGetApplicationsOutput#applications_info #applications_info} => Array<Types::ApplicationInfo>
|
261
|
+
#
|
262
|
+
# @example Request syntax with placeholder values
|
263
|
+
#
|
264
|
+
# resp = client.batch_get_applications({
|
265
|
+
# application_names: ["ApplicationName"],
|
266
|
+
# })
|
267
|
+
#
|
268
|
+
# @example Response structure
|
269
|
+
#
|
270
|
+
# resp.applications_info #=> Array
|
271
|
+
# resp.applications_info[0].application_id #=> String
|
272
|
+
# resp.applications_info[0].application_name #=> String
|
273
|
+
# resp.applications_info[0].create_time #=> Time
|
274
|
+
# resp.applications_info[0].linked_to_git_hub #=> Boolean
|
275
|
+
#
|
276
|
+
# @overload batch_get_applications(params = {})
|
277
|
+
# @param [Hash] params ({})
|
278
|
+
def batch_get_applications(params = {}, options = {})
|
279
|
+
req = build_request(:batch_get_applications, params)
|
280
|
+
req.send_request(options)
|
281
|
+
end
|
315
282
|
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
283
|
+
# Gets information about one or more deployment groups.
|
284
|
+
#
|
285
|
+
# @option params [required, String] :application_name
|
286
|
+
# The name of an AWS CodeDeploy application associated with the
|
287
|
+
# applicable IAM user or AWS account.
|
288
|
+
#
|
289
|
+
# @option params [required, Array<String>] :deployment_group_names
|
290
|
+
# The deployment groups' names.
|
291
|
+
#
|
292
|
+
# @return [Types::BatchGetDeploymentGroupsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
293
|
+
#
|
294
|
+
# * {Types::BatchGetDeploymentGroupsOutput#deployment_groups_info #deployment_groups_info} => Array<Types::DeploymentGroupInfo>
|
295
|
+
# * {Types::BatchGetDeploymentGroupsOutput#error_message #error_message} => String
|
296
|
+
#
|
297
|
+
# @example Request syntax with placeholder values
|
298
|
+
#
|
299
|
+
# resp = client.batch_get_deployment_groups({
|
300
|
+
# application_name: "ApplicationName", # required
|
301
|
+
# deployment_group_names: ["DeploymentGroupName"], # required
|
302
|
+
# })
|
303
|
+
#
|
304
|
+
# @example Response structure
|
305
|
+
#
|
306
|
+
# resp.deployment_groups_info #=> Array
|
307
|
+
# resp.deployment_groups_info[0].application_name #=> String
|
308
|
+
# resp.deployment_groups_info[0].deployment_group_id #=> String
|
309
|
+
# resp.deployment_groups_info[0].deployment_group_name #=> String
|
310
|
+
# resp.deployment_groups_info[0].deployment_config_name #=> String
|
311
|
+
# resp.deployment_groups_info[0].ec2_tag_filters #=> Array
|
312
|
+
# resp.deployment_groups_info[0].ec2_tag_filters[0].key #=> String
|
313
|
+
# resp.deployment_groups_info[0].ec2_tag_filters[0].value #=> String
|
314
|
+
# resp.deployment_groups_info[0].ec2_tag_filters[0].type #=> String, one of "KEY_ONLY", "VALUE_ONLY", "KEY_AND_VALUE"
|
315
|
+
# resp.deployment_groups_info[0].on_premises_instance_tag_filters #=> Array
|
316
|
+
# resp.deployment_groups_info[0].on_premises_instance_tag_filters[0].key #=> String
|
317
|
+
# resp.deployment_groups_info[0].on_premises_instance_tag_filters[0].value #=> String
|
318
|
+
# resp.deployment_groups_info[0].on_premises_instance_tag_filters[0].type #=> String, one of "KEY_ONLY", "VALUE_ONLY", "KEY_AND_VALUE"
|
319
|
+
# resp.deployment_groups_info[0].auto_scaling_groups #=> Array
|
320
|
+
# resp.deployment_groups_info[0].auto_scaling_groups[0].name #=> String
|
321
|
+
# resp.deployment_groups_info[0].auto_scaling_groups[0].hook #=> String
|
322
|
+
# resp.deployment_groups_info[0].service_role_arn #=> String
|
323
|
+
# resp.deployment_groups_info[0].target_revision.revision_type #=> String, one of "S3", "GitHub"
|
324
|
+
# resp.deployment_groups_info[0].target_revision.s3_location.bucket #=> String
|
325
|
+
# resp.deployment_groups_info[0].target_revision.s3_location.key #=> String
|
326
|
+
# resp.deployment_groups_info[0].target_revision.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip"
|
327
|
+
# resp.deployment_groups_info[0].target_revision.s3_location.version #=> String
|
328
|
+
# resp.deployment_groups_info[0].target_revision.s3_location.e_tag #=> String
|
329
|
+
# resp.deployment_groups_info[0].target_revision.git_hub_location.repository #=> String
|
330
|
+
# resp.deployment_groups_info[0].target_revision.git_hub_location.commit_id #=> String
|
331
|
+
# resp.deployment_groups_info[0].trigger_configurations #=> Array
|
332
|
+
# resp.deployment_groups_info[0].trigger_configurations[0].trigger_name #=> String
|
333
|
+
# resp.deployment_groups_info[0].trigger_configurations[0].trigger_target_arn #=> String
|
334
|
+
# resp.deployment_groups_info[0].trigger_configurations[0].trigger_events #=> Array
|
335
|
+
# resp.deployment_groups_info[0].trigger_configurations[0].trigger_events[0] #=> String, one of "DeploymentStart", "DeploymentSuccess", "DeploymentFailure", "DeploymentStop", "DeploymentRollback", "InstanceStart", "InstanceSuccess", "InstanceFailure"
|
336
|
+
# resp.deployment_groups_info[0].alarm_configuration.enabled #=> Boolean
|
337
|
+
# resp.deployment_groups_info[0].alarm_configuration.ignore_poll_alarm_failure #=> Boolean
|
338
|
+
# resp.deployment_groups_info[0].alarm_configuration.alarms #=> Array
|
339
|
+
# resp.deployment_groups_info[0].alarm_configuration.alarms[0].name #=> String
|
340
|
+
# resp.deployment_groups_info[0].auto_rollback_configuration.enabled #=> Boolean
|
341
|
+
# resp.deployment_groups_info[0].auto_rollback_configuration.events #=> Array
|
342
|
+
# resp.deployment_groups_info[0].auto_rollback_configuration.events[0] #=> String, one of "DEPLOYMENT_FAILURE", "DEPLOYMENT_STOP_ON_ALARM", "DEPLOYMENT_STOP_ON_REQUEST"
|
343
|
+
# resp.error_message #=> String
|
344
|
+
#
|
345
|
+
# @overload batch_get_deployment_groups(params = {})
|
346
|
+
# @param [Hash] params ({})
|
347
|
+
def batch_get_deployment_groups(params = {}, options = {})
|
348
|
+
req = build_request(:batch_get_deployment_groups, params)
|
349
|
+
req.send_request(options)
|
350
|
+
end
|
355
351
|
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
# resp.deployments_info[0].rollback_info.rollback_triggering_deployment_id #=> String
|
402
|
-
# resp.deployments_info[0].rollback_info.rollback_message #=> String
|
403
|
-
# @overload batch_get_deployments(params = {})
|
404
|
-
# @param [Hash] params ({})
|
405
|
-
def batch_get_deployments(params = {}, options = {})
|
406
|
-
req = build_request(:batch_get_deployments, params)
|
407
|
-
req.send_request(options)
|
408
|
-
end
|
352
|
+
# Gets information about one or more instance that are part of a
|
353
|
+
# deployment group.
|
354
|
+
#
|
355
|
+
# @option params [required, String] :deployment_id
|
356
|
+
# The unique ID of a deployment.
|
357
|
+
#
|
358
|
+
# @option params [required, Array<String>] :instance_ids
|
359
|
+
# The unique IDs of instances in the deployment group.
|
360
|
+
#
|
361
|
+
# @return [Types::BatchGetDeploymentInstancesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
362
|
+
#
|
363
|
+
# * {Types::BatchGetDeploymentInstancesOutput#instances_summary #instances_summary} => Array<Types::InstanceSummary>
|
364
|
+
# * {Types::BatchGetDeploymentInstancesOutput#error_message #error_message} => String
|
365
|
+
#
|
366
|
+
# @example Request syntax with placeholder values
|
367
|
+
#
|
368
|
+
# resp = client.batch_get_deployment_instances({
|
369
|
+
# deployment_id: "DeploymentId", # required
|
370
|
+
# instance_ids: ["InstanceId"], # required
|
371
|
+
# })
|
372
|
+
#
|
373
|
+
# @example Response structure
|
374
|
+
#
|
375
|
+
# resp.instances_summary #=> Array
|
376
|
+
# resp.instances_summary[0].deployment_id #=> String
|
377
|
+
# resp.instances_summary[0].instance_id #=> String
|
378
|
+
# resp.instances_summary[0].status #=> String, one of "Pending", "InProgress", "Succeeded", "Failed", "Skipped", "Unknown"
|
379
|
+
# resp.instances_summary[0].last_updated_at #=> Time
|
380
|
+
# resp.instances_summary[0].lifecycle_events #=> Array
|
381
|
+
# resp.instances_summary[0].lifecycle_events[0].lifecycle_event_name #=> String
|
382
|
+
# resp.instances_summary[0].lifecycle_events[0].diagnostics.error_code #=> String, one of "Success", "ScriptMissing", "ScriptNotExecutable", "ScriptTimedOut", "ScriptFailed", "UnknownError"
|
383
|
+
# resp.instances_summary[0].lifecycle_events[0].diagnostics.script_name #=> String
|
384
|
+
# resp.instances_summary[0].lifecycle_events[0].diagnostics.message #=> String
|
385
|
+
# resp.instances_summary[0].lifecycle_events[0].diagnostics.log_tail #=> String
|
386
|
+
# resp.instances_summary[0].lifecycle_events[0].start_time #=> Time
|
387
|
+
# resp.instances_summary[0].lifecycle_events[0].end_time #=> Time
|
388
|
+
# resp.instances_summary[0].lifecycle_events[0].status #=> String, one of "Pending", "InProgress", "Succeeded", "Failed", "Skipped", "Unknown"
|
389
|
+
# resp.error_message #=> String
|
390
|
+
#
|
391
|
+
# @overload batch_get_deployment_instances(params = {})
|
392
|
+
# @param [Hash] params ({})
|
393
|
+
def batch_get_deployment_instances(params = {}, options = {})
|
394
|
+
req = build_request(:batch_get_deployment_instances, params)
|
395
|
+
req.send_request(options)
|
396
|
+
end
|
409
397
|
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
398
|
+
# Gets information about one or more deployments.
|
399
|
+
#
|
400
|
+
# @option params [Array<String>] :deployment_ids
|
401
|
+
# A list of deployment IDs, separated by spaces.
|
402
|
+
#
|
403
|
+
# @return [Types::BatchGetDeploymentsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
404
|
+
#
|
405
|
+
# * {Types::BatchGetDeploymentsOutput#deployments_info #deployments_info} => Array<Types::DeploymentInfo>
|
406
|
+
#
|
407
|
+
# @example Request syntax with placeholder values
|
408
|
+
#
|
409
|
+
# resp = client.batch_get_deployments({
|
410
|
+
# deployment_ids: ["DeploymentId"],
|
411
|
+
# })
|
412
|
+
#
|
413
|
+
# @example Response structure
|
414
|
+
#
|
415
|
+
# resp.deployments_info #=> Array
|
416
|
+
# resp.deployments_info[0].application_name #=> String
|
417
|
+
# resp.deployments_info[0].deployment_group_name #=> String
|
418
|
+
# resp.deployments_info[0].deployment_config_name #=> String
|
419
|
+
# resp.deployments_info[0].deployment_id #=> String
|
420
|
+
# resp.deployments_info[0].revision.revision_type #=> String, one of "S3", "GitHub"
|
421
|
+
# resp.deployments_info[0].revision.s3_location.bucket #=> String
|
422
|
+
# resp.deployments_info[0].revision.s3_location.key #=> String
|
423
|
+
# resp.deployments_info[0].revision.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip"
|
424
|
+
# resp.deployments_info[0].revision.s3_location.version #=> String
|
425
|
+
# resp.deployments_info[0].revision.s3_location.e_tag #=> String
|
426
|
+
# resp.deployments_info[0].revision.git_hub_location.repository #=> String
|
427
|
+
# resp.deployments_info[0].revision.git_hub_location.commit_id #=> String
|
428
|
+
# resp.deployments_info[0].status #=> String, one of "Created", "Queued", "InProgress", "Succeeded", "Failed", "Stopped"
|
429
|
+
# resp.deployments_info[0].error_information.code #=> String, one of "DEPLOYMENT_GROUP_MISSING", "APPLICATION_MISSING", "REVISION_MISSING", "IAM_ROLE_MISSING", "IAM_ROLE_PERMISSIONS", "NO_EC2_SUBSCRIPTION", "OVER_MAX_INSTANCES", "NO_INSTANCES", "TIMEOUT", "HEALTH_CONSTRAINTS_INVALID", "HEALTH_CONSTRAINTS", "INTERNAL_ERROR", "THROTTLED", "ALARM_ACTIVE", "AGENT_ISSUE", "AUTO_SCALING_IAM_ROLE_PERMISSIONS", "AUTO_SCALING_CONFIGURATION", "MANUAL_STOP"
|
430
|
+
# resp.deployments_info[0].error_information.message #=> String
|
431
|
+
# resp.deployments_info[0].create_time #=> Time
|
432
|
+
# resp.deployments_info[0].start_time #=> Time
|
433
|
+
# resp.deployments_info[0].complete_time #=> Time
|
434
|
+
# resp.deployments_info[0].deployment_overview.pending #=> Integer
|
435
|
+
# resp.deployments_info[0].deployment_overview.in_progress #=> Integer
|
436
|
+
# resp.deployments_info[0].deployment_overview.succeeded #=> Integer
|
437
|
+
# resp.deployments_info[0].deployment_overview.failed #=> Integer
|
438
|
+
# resp.deployments_info[0].deployment_overview.skipped #=> Integer
|
439
|
+
# resp.deployments_info[0].description #=> String
|
440
|
+
# resp.deployments_info[0].creator #=> String, one of "user", "autoscaling", "codeDeployRollback"
|
441
|
+
# resp.deployments_info[0].ignore_application_stop_failures #=> Boolean
|
442
|
+
# resp.deployments_info[0].auto_rollback_configuration.enabled #=> Boolean
|
443
|
+
# resp.deployments_info[0].auto_rollback_configuration.events #=> Array
|
444
|
+
# resp.deployments_info[0].auto_rollback_configuration.events[0] #=> String, one of "DEPLOYMENT_FAILURE", "DEPLOYMENT_STOP_ON_ALARM", "DEPLOYMENT_STOP_ON_REQUEST"
|
445
|
+
# resp.deployments_info[0].update_outdated_instances_only #=> Boolean
|
446
|
+
# resp.deployments_info[0].rollback_info.rollback_deployment_id #=> String
|
447
|
+
# resp.deployments_info[0].rollback_info.rollback_triggering_deployment_id #=> String
|
448
|
+
# resp.deployments_info[0].rollback_info.rollback_message #=> String
|
449
|
+
#
|
450
|
+
# @overload batch_get_deployments(params = {})
|
451
|
+
# @param [Hash] params ({})
|
452
|
+
def batch_get_deployments(params = {}, options = {})
|
453
|
+
req = build_request(:batch_get_deployments, params)
|
454
|
+
req.send_request(options)
|
455
|
+
end
|
438
456
|
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
457
|
+
# Gets information about one or more on-premises instances.
|
458
|
+
#
|
459
|
+
# @option params [Array<String>] :instance_names
|
460
|
+
# The names of the on-premises instances about which to get information.
|
461
|
+
#
|
462
|
+
# @return [Types::BatchGetOnPremisesInstancesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
463
|
+
#
|
464
|
+
# * {Types::BatchGetOnPremisesInstancesOutput#instance_infos #instance_infos} => Array<Types::InstanceInfo>
|
465
|
+
#
|
466
|
+
# @example Request syntax with placeholder values
|
467
|
+
#
|
468
|
+
# resp = client.batch_get_on_premises_instances({
|
469
|
+
# instance_names: ["InstanceName"],
|
470
|
+
# })
|
471
|
+
#
|
472
|
+
# @example Response structure
|
473
|
+
#
|
474
|
+
# resp.instance_infos #=> Array
|
475
|
+
# resp.instance_infos[0].instance_name #=> String
|
476
|
+
# resp.instance_infos[0].iam_session_arn #=> String
|
477
|
+
# resp.instance_infos[0].iam_user_arn #=> String
|
478
|
+
# resp.instance_infos[0].instance_arn #=> String
|
479
|
+
# resp.instance_infos[0].register_time #=> Time
|
480
|
+
# resp.instance_infos[0].deregister_time #=> Time
|
481
|
+
# resp.instance_infos[0].tags #=> Array
|
482
|
+
# resp.instance_infos[0].tags[0].key #=> String
|
483
|
+
# resp.instance_infos[0].tags[0].value #=> String
|
484
|
+
#
|
485
|
+
# @overload batch_get_on_premises_instances(params = {})
|
486
|
+
# @param [Hash] params ({})
|
487
|
+
def batch_get_on_premises_instances(params = {}, options = {})
|
488
|
+
req = build_request(:batch_get_on_premises_instances, params)
|
489
|
+
req.send_request(options)
|
490
|
+
end
|
460
491
|
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
# ApplicationStop deployment lifecycle event to fail to an instance, the
|
488
|
-
# deployment to that instance will stop, and the deployment to that
|
489
|
-
# instance will be considered to have failed.
|
490
|
-
# @option params [Types::AutoRollbackConfiguration] :auto_rollback_configuration
|
491
|
-
# Configuration information for an automatic rollback that is added when
|
492
|
-
# a deployment is created.
|
493
|
-
# @option params [Boolean] :update_outdated_instances_only
|
494
|
-
# Indicates whether to deploy to all instances or only to instances that
|
495
|
-
# are not running the latest application revision.
|
496
|
-
# @return [Types::CreateDeploymentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
497
|
-
#
|
498
|
-
# * {Types::CreateDeploymentOutput#deployment_id #deploymentId} => String
|
499
|
-
#
|
500
|
-
# @example Request syntax with placeholder values
|
501
|
-
# resp = client.create_deployment({
|
502
|
-
# application_name: "ApplicationName", # required
|
503
|
-
# deployment_group_name: "DeploymentGroupName",
|
504
|
-
# revision: {
|
505
|
-
# revision_type: "S3", # accepts S3, GitHub
|
506
|
-
# s3_location: {
|
507
|
-
# bucket: "S3Bucket",
|
508
|
-
# key: "S3Key",
|
509
|
-
# bundle_type: "tar", # accepts tar, tgz, zip
|
510
|
-
# version: "VersionId",
|
511
|
-
# e_tag: "ETag",
|
512
|
-
# },
|
513
|
-
# git_hub_location: {
|
514
|
-
# repository: "Repository",
|
515
|
-
# commit_id: "CommitId",
|
516
|
-
# },
|
517
|
-
# },
|
518
|
-
# deployment_config_name: "DeploymentConfigName",
|
519
|
-
# description: "Description",
|
520
|
-
# ignore_application_stop_failures: false,
|
521
|
-
# auto_rollback_configuration: {
|
522
|
-
# enabled: false,
|
523
|
-
# events: ["DEPLOYMENT_FAILURE"], # accepts DEPLOYMENT_FAILURE, DEPLOYMENT_STOP_ON_ALARM, DEPLOYMENT_STOP_ON_REQUEST
|
524
|
-
# },
|
525
|
-
# update_outdated_instances_only: false,
|
526
|
-
# })
|
527
|
-
#
|
528
|
-
# @example Response structure
|
529
|
-
# resp.deployment_id #=> String
|
530
|
-
# @overload create_deployment(params = {})
|
531
|
-
# @param [Hash] params ({})
|
532
|
-
def create_deployment(params = {}, options = {})
|
533
|
-
req = build_request(:create_deployment, params)
|
534
|
-
req.send_request(options)
|
535
|
-
end
|
492
|
+
# Creates an application.
|
493
|
+
#
|
494
|
+
# @option params [required, String] :application_name
|
495
|
+
# The name of the application. This name must be unique with the
|
496
|
+
# applicable IAM user or AWS account.
|
497
|
+
#
|
498
|
+
# @return [Types::CreateApplicationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
499
|
+
#
|
500
|
+
# * {Types::CreateApplicationOutput#application_id #application_id} => String
|
501
|
+
#
|
502
|
+
# @example Request syntax with placeholder values
|
503
|
+
#
|
504
|
+
# resp = client.create_application({
|
505
|
+
# application_name: "ApplicationName", # required
|
506
|
+
# })
|
507
|
+
#
|
508
|
+
# @example Response structure
|
509
|
+
#
|
510
|
+
# resp.application_id #=> String
|
511
|
+
#
|
512
|
+
# @overload create_application(params = {})
|
513
|
+
# @param [Hash] params ({})
|
514
|
+
def create_application(params = {}, options = {})
|
515
|
+
req = build_request(:create_application, params)
|
516
|
+
req.send_request(options)
|
517
|
+
end
|
536
518
|
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
519
|
+
# Deploys an application revision through the specified deployment
|
520
|
+
# group.
|
521
|
+
#
|
522
|
+
# @option params [required, String] :application_name
|
523
|
+
# The name of an AWS CodeDeploy application associated with the
|
524
|
+
# applicable IAM user or AWS account.
|
525
|
+
#
|
526
|
+
# @option params [String] :deployment_group_name
|
527
|
+
# The name of the deployment group.
|
528
|
+
#
|
529
|
+
# @option params [Types::RevisionLocation] :revision
|
530
|
+
# The type and location of the revision to deploy.
|
531
|
+
#
|
532
|
+
# @option params [String] :deployment_config_name
|
533
|
+
# The name of a deployment configuration associated with the applicable
|
534
|
+
# IAM user or AWS account.
|
535
|
+
#
|
536
|
+
# If not specified, the value configured in the deployment group will be
|
537
|
+
# used as the default. If the deployment group does not have a
|
538
|
+
# deployment configuration associated with it, then
|
539
|
+
# CodeDeployDefault.OneAtATime will be used by default.
|
540
|
+
#
|
541
|
+
# @option params [String] :description
|
542
|
+
# A comment about the deployment.
|
543
|
+
#
|
544
|
+
# @option params [Boolean] :ignore_application_stop_failures
|
545
|
+
# If set to true, then if the deployment causes the ApplicationStop
|
546
|
+
# deployment lifecycle event to an instance to fail, the deployment to
|
547
|
+
# that instance will not be considered to have failed at that point and
|
548
|
+
# will continue on to the BeforeInstall deployment lifecycle event.
|
549
|
+
#
|
550
|
+
# If set to false or not specified, then if the deployment causes the
|
551
|
+
# ApplicationStop deployment lifecycle event to fail to an instance, the
|
552
|
+
# deployment to that instance will stop, and the deployment to that
|
553
|
+
# instance will be considered to have failed.
|
554
|
+
#
|
555
|
+
# @option params [Types::AutoRollbackConfiguration] :auto_rollback_configuration
|
556
|
+
# Configuration information for an automatic rollback that is added when
|
557
|
+
# a deployment is created.
|
558
|
+
#
|
559
|
+
# @option params [Boolean] :update_outdated_instances_only
|
560
|
+
# Indicates whether to deploy to all instances or only to instances that
|
561
|
+
# are not running the latest application revision.
|
562
|
+
#
|
563
|
+
# @return [Types::CreateDeploymentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
564
|
+
#
|
565
|
+
# * {Types::CreateDeploymentOutput#deployment_id #deployment_id} => String
|
566
|
+
#
|
567
|
+
# @example Request syntax with placeholder values
|
568
|
+
#
|
569
|
+
# resp = client.create_deployment({
|
570
|
+
# application_name: "ApplicationName", # required
|
571
|
+
# deployment_group_name: "DeploymentGroupName",
|
572
|
+
# revision: {
|
573
|
+
# revision_type: "S3", # accepts S3, GitHub
|
574
|
+
# s3_location: {
|
575
|
+
# bucket: "S3Bucket",
|
576
|
+
# key: "S3Key",
|
577
|
+
# bundle_type: "tar", # accepts tar, tgz, zip
|
578
|
+
# version: "VersionId",
|
579
|
+
# e_tag: "ETag",
|
580
|
+
# },
|
581
|
+
# git_hub_location: {
|
582
|
+
# repository: "Repository",
|
583
|
+
# commit_id: "CommitId",
|
584
|
+
# },
|
585
|
+
# },
|
586
|
+
# deployment_config_name: "DeploymentConfigName",
|
587
|
+
# description: "Description",
|
588
|
+
# ignore_application_stop_failures: false,
|
589
|
+
# auto_rollback_configuration: {
|
590
|
+
# enabled: false,
|
591
|
+
# events: ["DEPLOYMENT_FAILURE"], # accepts DEPLOYMENT_FAILURE, DEPLOYMENT_STOP_ON_ALARM, DEPLOYMENT_STOP_ON_REQUEST
|
592
|
+
# },
|
593
|
+
# update_outdated_instances_only: false,
|
594
|
+
# })
|
595
|
+
#
|
596
|
+
# @example Response structure
|
597
|
+
#
|
598
|
+
# resp.deployment_id #=> String
|
599
|
+
#
|
600
|
+
# @overload create_deployment(params = {})
|
601
|
+
# @param [Hash] params ({})
|
602
|
+
def create_deployment(params = {}, options = {})
|
603
|
+
req = build_request(:create_deployment, params)
|
604
|
+
req.send_request(options)
|
605
|
+
end
|
581
606
|
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
# deployment to the last instance fails, the overall deployment
|
633
|
-
# still succeeds. This is because AWS CodeDeploy allows only one
|
634
|
-
# instance at a time to be taken offline with the
|
635
|
-
# CodeDeployDefault.OneAtATime configuration.
|
636
|
-
#
|
637
|
-
# * The overall deployment fails as soon as the application revision
|
638
|
-
# fails to be deployed to any but the last instance. The deployment
|
639
|
-
# may be successfully deployed to some instances even if the overall
|
640
|
-
# deployment fails.
|
641
|
-
#
|
642
|
-
# * In an example using nine instances, it will deploy to one instance
|
643
|
-
# at a time. The overall deployment succeeds if deployment to the
|
644
|
-
# first eight instances is successful; the overall deployment fails
|
645
|
-
# if deployment to any of the first eight instances fails.
|
646
|
-
#
|
647
|
-
# For deployment groups that contain only one instance, the overall
|
648
|
-
# deployment is successful only if deployment to the single instance
|
649
|
-
# is successful
|
650
|
-
# @option params [Array<Types::EC2TagFilter>] :ec2_tag_filters
|
651
|
-
# The Amazon EC2 tags on which to filter.
|
652
|
-
# @option params [Array<Types::TagFilter>] :on_premises_instance_tag_filters
|
653
|
-
# The on-premises instance tags on which to filter.
|
654
|
-
# @option params [Array<String>] :auto_scaling_groups
|
655
|
-
# A list of associated Auto Scaling groups.
|
656
|
-
# @option params [required, String] :service_role_arn
|
657
|
-
# A service role ARN that allows AWS CodeDeploy to act on the user's
|
658
|
-
# behalf when interacting with AWS services.
|
659
|
-
# @option params [Array<Types::TriggerConfig>] :trigger_configurations
|
660
|
-
# Information about triggers to create when the deployment group is
|
661
|
-
# created. For examples, see [Create a Trigger for an AWS CodeDeploy
|
662
|
-
# Event][1] in the AWS CodeDeploy User Guide.
|
663
|
-
#
|
664
|
-
#
|
665
|
-
#
|
666
|
-
# [1]: http://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-sns.html
|
667
|
-
# @option params [Types::AlarmConfiguration] :alarm_configuration
|
668
|
-
# Information to add about Amazon CloudWatch alarms when the deployment
|
669
|
-
# group is created.
|
670
|
-
# @option params [Types::AutoRollbackConfiguration] :auto_rollback_configuration
|
671
|
-
# Configuration information for an automatic rollback that is added when
|
672
|
-
# a deployment group is created.
|
673
|
-
# @return [Types::CreateDeploymentGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
674
|
-
#
|
675
|
-
# * {Types::CreateDeploymentGroupOutput#deployment_group_id #deploymentGroupId} => String
|
676
|
-
#
|
677
|
-
# @example Request syntax with placeholder values
|
678
|
-
# resp = client.create_deployment_group({
|
679
|
-
# application_name: "ApplicationName", # required
|
680
|
-
# deployment_group_name: "DeploymentGroupName", # required
|
681
|
-
# deployment_config_name: "DeploymentConfigName",
|
682
|
-
# ec2_tag_filters: [
|
683
|
-
# {
|
684
|
-
# key: "Key",
|
685
|
-
# value: "Value",
|
686
|
-
# type: "KEY_ONLY", # accepts KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
|
687
|
-
# },
|
688
|
-
# ],
|
689
|
-
# on_premises_instance_tag_filters: [
|
690
|
-
# {
|
691
|
-
# key: "Key",
|
692
|
-
# value: "Value",
|
693
|
-
# type: "KEY_ONLY", # accepts KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
|
694
|
-
# },
|
695
|
-
# ],
|
696
|
-
# auto_scaling_groups: ["AutoScalingGroupName"],
|
697
|
-
# service_role_arn: "Role", # required
|
698
|
-
# trigger_configurations: [
|
699
|
-
# {
|
700
|
-
# trigger_name: "TriggerName",
|
701
|
-
# trigger_target_arn: "TriggerTargetArn",
|
702
|
-
# trigger_events: ["DeploymentStart"], # accepts DeploymentStart, DeploymentSuccess, DeploymentFailure, DeploymentStop, DeploymentRollback, InstanceStart, InstanceSuccess, InstanceFailure
|
703
|
-
# },
|
704
|
-
# ],
|
705
|
-
# alarm_configuration: {
|
706
|
-
# enabled: false,
|
707
|
-
# ignore_poll_alarm_failure: false,
|
708
|
-
# alarms: [
|
709
|
-
# {
|
710
|
-
# name: "AlarmName",
|
711
|
-
# },
|
712
|
-
# ],
|
713
|
-
# },
|
714
|
-
# auto_rollback_configuration: {
|
715
|
-
# enabled: false,
|
716
|
-
# events: ["DEPLOYMENT_FAILURE"], # accepts DEPLOYMENT_FAILURE, DEPLOYMENT_STOP_ON_ALARM, DEPLOYMENT_STOP_ON_REQUEST
|
717
|
-
# },
|
718
|
-
# })
|
719
|
-
#
|
720
|
-
# @example Response structure
|
721
|
-
# resp.deployment_group_id #=> String
|
722
|
-
# @overload create_deployment_group(params = {})
|
723
|
-
# @param [Hash] params ({})
|
724
|
-
def create_deployment_group(params = {}, options = {})
|
725
|
-
req = build_request(:create_deployment_group, params)
|
726
|
-
req.send_request(options)
|
727
|
-
end
|
607
|
+
# Creates a deployment configuration.
|
608
|
+
#
|
609
|
+
# @option params [required, String] :deployment_config_name
|
610
|
+
# The name of the deployment configuration to create.
|
611
|
+
#
|
612
|
+
# @option params [Types::MinimumHealthyHosts] :minimum_healthy_hosts
|
613
|
+
# The minimum number of healthy instances that should be available at
|
614
|
+
# any time during the deployment. There are two parameters expected in
|
615
|
+
# the input: type and value.
|
616
|
+
#
|
617
|
+
# The type parameter takes either of the following values:
|
618
|
+
#
|
619
|
+
# * HOST\_COUNT: The value parameter represents the minimum number of
|
620
|
+
# healthy instances as an absolute value.
|
621
|
+
#
|
622
|
+
# * FLEET\_PERCENT: The value parameter represents the minimum number of
|
623
|
+
# healthy instances as a percentage of the total number of instances
|
624
|
+
# in the deployment. If you specify FLEET\_PERCENT, at the start of
|
625
|
+
# the deployment, AWS CodeDeploy converts the percentage to the
|
626
|
+
# equivalent number of instance and rounds up fractional instances.
|
627
|
+
#
|
628
|
+
# The value parameter takes an integer.
|
629
|
+
#
|
630
|
+
# For example, to set a minimum of 95% healthy instance, specify a type
|
631
|
+
# of FLEET\_PERCENT and a value of 95.
|
632
|
+
#
|
633
|
+
# @return [Types::CreateDeploymentConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
634
|
+
#
|
635
|
+
# * {Types::CreateDeploymentConfigOutput#deployment_config_id #deployment_config_id} => String
|
636
|
+
#
|
637
|
+
# @example Request syntax with placeholder values
|
638
|
+
#
|
639
|
+
# resp = client.create_deployment_config({
|
640
|
+
# deployment_config_name: "DeploymentConfigName", # required
|
641
|
+
# minimum_healthy_hosts: {
|
642
|
+
# value: 1,
|
643
|
+
# type: "HOST_COUNT", # accepts HOST_COUNT, FLEET_PERCENT
|
644
|
+
# },
|
645
|
+
# })
|
646
|
+
#
|
647
|
+
# @example Response structure
|
648
|
+
#
|
649
|
+
# resp.deployment_config_id #=> String
|
650
|
+
#
|
651
|
+
# @overload create_deployment_config(params = {})
|
652
|
+
# @param [Hash] params ({})
|
653
|
+
def create_deployment_config(params = {}, options = {})
|
654
|
+
req = build_request(:create_deployment_config, params)
|
655
|
+
req.send_request(options)
|
656
|
+
end
|
728
657
|
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
658
|
+
# Creates a deployment group to which application revisions will be
|
659
|
+
# deployed.
|
660
|
+
#
|
661
|
+
# @option params [required, String] :application_name
|
662
|
+
# The name of an AWS CodeDeploy application associated with the
|
663
|
+
# applicable IAM user or AWS account.
|
664
|
+
#
|
665
|
+
# @option params [required, String] :deployment_group_name
|
666
|
+
# The name of a new deployment group for the specified application.
|
667
|
+
#
|
668
|
+
# @option params [String] :deployment_config_name
|
669
|
+
# If specified, the deployment configuration name can be either one of
|
670
|
+
# the predefined configurations provided with AWS CodeDeploy or a custom
|
671
|
+
# deployment configuration that you create by calling the create
|
672
|
+
# deployment configuration operation.
|
673
|
+
#
|
674
|
+
# CodeDeployDefault.OneAtATime is the default deployment configuration.
|
675
|
+
# It is used if a configuration isn't specified for the deployment or
|
676
|
+
# the deployment group.
|
677
|
+
#
|
678
|
+
# For more information about the predefined deployment configurations in
|
679
|
+
# AWS CodeDeploy, see see [Working with Deployment Groups in AWS
|
680
|
+
# CodeDeploy][1] in the AWS CodeDeploy User Guide.
|
681
|
+
#
|
682
|
+
#
|
683
|
+
#
|
684
|
+
# [1]: http://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations.html
|
685
|
+
#
|
686
|
+
# @option params [Array<Types::EC2TagFilter>] :ec2_tag_filters
|
687
|
+
# The Amazon EC2 tags on which to filter.
|
688
|
+
#
|
689
|
+
# @option params [Array<Types::TagFilter>] :on_premises_instance_tag_filters
|
690
|
+
# The on-premises instance tags on which to filter.
|
691
|
+
#
|
692
|
+
# @option params [Array<String>] :auto_scaling_groups
|
693
|
+
# A list of associated Auto Scaling groups.
|
694
|
+
#
|
695
|
+
# @option params [required, String] :service_role_arn
|
696
|
+
# A service role ARN that allows AWS CodeDeploy to act on the user's
|
697
|
+
# behalf when interacting with AWS services.
|
698
|
+
#
|
699
|
+
# @option params [Array<Types::TriggerConfig>] :trigger_configurations
|
700
|
+
# Information about triggers to create when the deployment group is
|
701
|
+
# created. For examples, see [Create a Trigger for an AWS CodeDeploy
|
702
|
+
# Event][1] in the AWS CodeDeploy User Guide.
|
703
|
+
#
|
704
|
+
#
|
705
|
+
#
|
706
|
+
# [1]: http://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-sns.html
|
707
|
+
#
|
708
|
+
# @option params [Types::AlarmConfiguration] :alarm_configuration
|
709
|
+
# Information to add about Amazon CloudWatch alarms when the deployment
|
710
|
+
# group is created.
|
711
|
+
#
|
712
|
+
# @option params [Types::AutoRollbackConfiguration] :auto_rollback_configuration
|
713
|
+
# Configuration information for an automatic rollback that is added when
|
714
|
+
# a deployment group is created.
|
715
|
+
#
|
716
|
+
# @return [Types::CreateDeploymentGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
717
|
+
#
|
718
|
+
# * {Types::CreateDeploymentGroupOutput#deployment_group_id #deployment_group_id} => String
|
719
|
+
#
|
720
|
+
# @example Request syntax with placeholder values
|
721
|
+
#
|
722
|
+
# resp = client.create_deployment_group({
|
723
|
+
# application_name: "ApplicationName", # required
|
724
|
+
# deployment_group_name: "DeploymentGroupName", # required
|
725
|
+
# deployment_config_name: "DeploymentConfigName",
|
726
|
+
# ec2_tag_filters: [
|
727
|
+
# {
|
728
|
+
# key: "Key",
|
729
|
+
# value: "Value",
|
730
|
+
# type: "KEY_ONLY", # accepts KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
|
731
|
+
# },
|
732
|
+
# ],
|
733
|
+
# on_premises_instance_tag_filters: [
|
734
|
+
# {
|
735
|
+
# key: "Key",
|
736
|
+
# value: "Value",
|
737
|
+
# type: "KEY_ONLY", # accepts KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
|
738
|
+
# },
|
739
|
+
# ],
|
740
|
+
# auto_scaling_groups: ["AutoScalingGroupName"],
|
741
|
+
# service_role_arn: "Role", # required
|
742
|
+
# trigger_configurations: [
|
743
|
+
# {
|
744
|
+
# trigger_name: "TriggerName",
|
745
|
+
# trigger_target_arn: "TriggerTargetArn",
|
746
|
+
# trigger_events: ["DeploymentStart"], # accepts DeploymentStart, DeploymentSuccess, DeploymentFailure, DeploymentStop, DeploymentRollback, InstanceStart, InstanceSuccess, InstanceFailure
|
747
|
+
# },
|
748
|
+
# ],
|
749
|
+
# alarm_configuration: {
|
750
|
+
# enabled: false,
|
751
|
+
# ignore_poll_alarm_failure: false,
|
752
|
+
# alarms: [
|
753
|
+
# {
|
754
|
+
# name: "AlarmName",
|
755
|
+
# },
|
756
|
+
# ],
|
757
|
+
# },
|
758
|
+
# auto_rollback_configuration: {
|
759
|
+
# enabled: false,
|
760
|
+
# events: ["DEPLOYMENT_FAILURE"], # accepts DEPLOYMENT_FAILURE, DEPLOYMENT_STOP_ON_ALARM, DEPLOYMENT_STOP_ON_REQUEST
|
761
|
+
# },
|
762
|
+
# })
|
763
|
+
#
|
764
|
+
# @example Response structure
|
765
|
+
#
|
766
|
+
# resp.deployment_group_id #=> String
|
767
|
+
#
|
768
|
+
# @overload create_deployment_group(params = {})
|
769
|
+
# @param [Hash] params ({})
|
770
|
+
def create_deployment_group(params = {}, options = {})
|
771
|
+
req = build_request(:create_deployment_group, params)
|
772
|
+
req.send_request(options)
|
773
|
+
end
|
745
774
|
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
end
|
775
|
+
# Deletes an application.
|
776
|
+
#
|
777
|
+
# @option params [required, String] :application_name
|
778
|
+
# The name of an AWS CodeDeploy application associated with the
|
779
|
+
# applicable IAM user or AWS account.
|
780
|
+
#
|
781
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
782
|
+
#
|
783
|
+
# @example Request syntax with placeholder values
|
784
|
+
#
|
785
|
+
# resp = client.delete_application({
|
786
|
+
# application_name: "ApplicationName", # required
|
787
|
+
# })
|
788
|
+
#
|
789
|
+
# @overload delete_application(params = {})
|
790
|
+
# @param [Hash] params ({})
|
791
|
+
def delete_application(params = {}, options = {})
|
792
|
+
req = build_request(:delete_application, params)
|
793
|
+
req.send_request(options)
|
794
|
+
end
|
767
795
|
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
req.send_request(options)
|
794
|
-
end
|
796
|
+
# Deletes a deployment configuration.
|
797
|
+
#
|
798
|
+
# <note markdown="1"> A deployment configuration cannot be deleted if it is currently in
|
799
|
+
# use. Predefined configurations cannot be deleted.
|
800
|
+
#
|
801
|
+
# </note>
|
802
|
+
#
|
803
|
+
# @option params [required, String] :deployment_config_name
|
804
|
+
# The name of a deployment configuration associated with the applicable
|
805
|
+
# IAM user or AWS account.
|
806
|
+
#
|
807
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
808
|
+
#
|
809
|
+
# @example Request syntax with placeholder values
|
810
|
+
#
|
811
|
+
# resp = client.delete_deployment_config({
|
812
|
+
# deployment_config_name: "DeploymentConfigName", # required
|
813
|
+
# })
|
814
|
+
#
|
815
|
+
# @overload delete_deployment_config(params = {})
|
816
|
+
# @param [Hash] params ({})
|
817
|
+
def delete_deployment_config(params = {}, options = {})
|
818
|
+
req = build_request(:delete_deployment_config, params)
|
819
|
+
req.send_request(options)
|
820
|
+
end
|
795
821
|
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
822
|
+
# Deletes a deployment group.
|
823
|
+
#
|
824
|
+
# @option params [required, String] :application_name
|
825
|
+
# The name of an AWS CodeDeploy application associated with the
|
826
|
+
# applicable IAM user or AWS account.
|
827
|
+
#
|
828
|
+
# @option params [required, String] :deployment_group_name
|
829
|
+
# The name of an existing deployment group for the specified
|
830
|
+
# application.
|
831
|
+
#
|
832
|
+
# @return [Types::DeleteDeploymentGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
833
|
+
#
|
834
|
+
# * {Types::DeleteDeploymentGroupOutput#hooks_not_cleaned_up #hooks_not_cleaned_up} => Array<Types::AutoScalingGroup>
|
835
|
+
#
|
836
|
+
# @example Request syntax with placeholder values
|
837
|
+
#
|
838
|
+
# resp = client.delete_deployment_group({
|
839
|
+
# application_name: "ApplicationName", # required
|
840
|
+
# deployment_group_name: "DeploymentGroupName", # required
|
841
|
+
# })
|
842
|
+
#
|
843
|
+
# @example Response structure
|
844
|
+
#
|
845
|
+
# resp.hooks_not_cleaned_up #=> Array
|
846
|
+
# resp.hooks_not_cleaned_up[0].name #=> String
|
847
|
+
# resp.hooks_not_cleaned_up[0].hook #=> String
|
848
|
+
#
|
849
|
+
# @overload delete_deployment_group(params = {})
|
850
|
+
# @param [Hash] params ({})
|
851
|
+
def delete_deployment_group(params = {}, options = {})
|
852
|
+
req = build_request(:delete_deployment_group, params)
|
853
|
+
req.send_request(options)
|
854
|
+
end
|
811
855
|
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
# @param [Hash] params ({})
|
832
|
-
def get_application(params = {}, options = {})
|
833
|
-
req = build_request(:get_application, params)
|
834
|
-
req.send_request(options)
|
835
|
-
end
|
856
|
+
# Deregisters an on-premises instance.
|
857
|
+
#
|
858
|
+
# @option params [required, String] :instance_name
|
859
|
+
# The name of the on-premises instance to deregister.
|
860
|
+
#
|
861
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
862
|
+
#
|
863
|
+
# @example Request syntax with placeholder values
|
864
|
+
#
|
865
|
+
# resp = client.deregister_on_premises_instance({
|
866
|
+
# instance_name: "InstanceName", # required
|
867
|
+
# })
|
868
|
+
#
|
869
|
+
# @overload deregister_on_premises_instance(params = {})
|
870
|
+
# @param [Hash] params ({})
|
871
|
+
def deregister_on_premises_instance(params = {}, options = {})
|
872
|
+
req = build_request(:deregister_on_premises_instance, params)
|
873
|
+
req.send_request(options)
|
874
|
+
end
|
836
875
|
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
# })
|
867
|
-
#
|
868
|
-
# @example Response structure
|
869
|
-
# resp.application_name #=> String
|
870
|
-
# resp.revision.revision_type #=> String, one of "S3", "GitHub"
|
871
|
-
# resp.revision.s3_location.bucket #=> String
|
872
|
-
# resp.revision.s3_location.key #=> String
|
873
|
-
# resp.revision.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip"
|
874
|
-
# resp.revision.s3_location.version #=> String
|
875
|
-
# resp.revision.s3_location.e_tag #=> String
|
876
|
-
# resp.revision.git_hub_location.repository #=> String
|
877
|
-
# resp.revision.git_hub_location.commit_id #=> String
|
878
|
-
# resp.revision_info.description #=> String
|
879
|
-
# resp.revision_info.deployment_groups #=> Array
|
880
|
-
# resp.revision_info.deployment_groups[0] #=> String
|
881
|
-
# resp.revision_info.first_used_time #=> Time
|
882
|
-
# resp.revision_info.last_used_time #=> Time
|
883
|
-
# resp.revision_info.register_time #=> Time
|
884
|
-
# @overload get_application_revision(params = {})
|
885
|
-
# @param [Hash] params ({})
|
886
|
-
def get_application_revision(params = {}, options = {})
|
887
|
-
req = build_request(:get_application_revision, params)
|
888
|
-
req.send_request(options)
|
889
|
-
end
|
876
|
+
# Gets information about an application.
|
877
|
+
#
|
878
|
+
# @option params [required, String] :application_name
|
879
|
+
# The name of an AWS CodeDeploy application associated with the
|
880
|
+
# applicable IAM user or AWS account.
|
881
|
+
#
|
882
|
+
# @return [Types::GetApplicationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
883
|
+
#
|
884
|
+
# * {Types::GetApplicationOutput#application #application} => Types::ApplicationInfo
|
885
|
+
#
|
886
|
+
# @example Request syntax with placeholder values
|
887
|
+
#
|
888
|
+
# resp = client.get_application({
|
889
|
+
# application_name: "ApplicationName", # required
|
890
|
+
# })
|
891
|
+
#
|
892
|
+
# @example Response structure
|
893
|
+
#
|
894
|
+
# resp.application.application_id #=> String
|
895
|
+
# resp.application.application_name #=> String
|
896
|
+
# resp.application.create_time #=> Time
|
897
|
+
# resp.application.linked_to_git_hub #=> Boolean
|
898
|
+
#
|
899
|
+
# @overload get_application(params = {})
|
900
|
+
# @param [Hash] params ({})
|
901
|
+
def get_application(params = {}, options = {})
|
902
|
+
req = build_request(:get_application, params)
|
903
|
+
req.send_request(options)
|
904
|
+
end
|
890
905
|
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
|
906
|
+
# Gets information about an application revision.
|
907
|
+
#
|
908
|
+
# @option params [required, String] :application_name
|
909
|
+
# The name of the application that corresponds to the revision.
|
910
|
+
#
|
911
|
+
# @option params [required, Types::RevisionLocation] :revision
|
912
|
+
# Information about the application revision to get, including type and
|
913
|
+
# location.
|
914
|
+
#
|
915
|
+
# @return [Types::GetApplicationRevisionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
916
|
+
#
|
917
|
+
# * {Types::GetApplicationRevisionOutput#application_name #application_name} => String
|
918
|
+
# * {Types::GetApplicationRevisionOutput#revision #revision} => Types::RevisionLocation
|
919
|
+
# * {Types::GetApplicationRevisionOutput#revision_info #revision_info} => Types::GenericRevisionInfo
|
920
|
+
#
|
921
|
+
# @example Request syntax with placeholder values
|
922
|
+
#
|
923
|
+
# resp = client.get_application_revision({
|
924
|
+
# application_name: "ApplicationName", # required
|
925
|
+
# revision: { # required
|
926
|
+
# revision_type: "S3", # accepts S3, GitHub
|
927
|
+
# s3_location: {
|
928
|
+
# bucket: "S3Bucket",
|
929
|
+
# key: "S3Key",
|
930
|
+
# bundle_type: "tar", # accepts tar, tgz, zip
|
931
|
+
# version: "VersionId",
|
932
|
+
# e_tag: "ETag",
|
933
|
+
# },
|
934
|
+
# git_hub_location: {
|
935
|
+
# repository: "Repository",
|
936
|
+
# commit_id: "CommitId",
|
937
|
+
# },
|
938
|
+
# },
|
939
|
+
# })
|
940
|
+
#
|
941
|
+
# @example Response structure
|
942
|
+
#
|
943
|
+
# resp.application_name #=> String
|
944
|
+
# resp.revision.revision_type #=> String, one of "S3", "GitHub"
|
945
|
+
# resp.revision.s3_location.bucket #=> String
|
946
|
+
# resp.revision.s3_location.key #=> String
|
947
|
+
# resp.revision.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip"
|
948
|
+
# resp.revision.s3_location.version #=> String
|
949
|
+
# resp.revision.s3_location.e_tag #=> String
|
950
|
+
# resp.revision.git_hub_location.repository #=> String
|
951
|
+
# resp.revision.git_hub_location.commit_id #=> String
|
952
|
+
# resp.revision_info.description #=> String
|
953
|
+
# resp.revision_info.deployment_groups #=> Array
|
954
|
+
# resp.revision_info.deployment_groups[0] #=> String
|
955
|
+
# resp.revision_info.first_used_time #=> Time
|
956
|
+
# resp.revision_info.last_used_time #=> Time
|
957
|
+
# resp.revision_info.register_time #=> Time
|
958
|
+
#
|
959
|
+
# @overload get_application_revision(params = {})
|
960
|
+
# @param [Hash] params ({})
|
961
|
+
def get_application_revision(params = {}, options = {})
|
962
|
+
req = build_request(:get_application_revision, params)
|
963
|
+
req.send_request(options)
|
964
|
+
end
|
944
965
|
|
945
|
-
|
946
|
-
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
|
953
|
-
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
|
968
|
-
|
969
|
-
|
966
|
+
# Gets information about a deployment.
|
967
|
+
#
|
968
|
+
# @option params [required, String] :deployment_id
|
969
|
+
# A deployment ID associated with the applicable IAM user or AWS
|
970
|
+
# account.
|
971
|
+
#
|
972
|
+
# @return [Types::GetDeploymentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
973
|
+
#
|
974
|
+
# * {Types::GetDeploymentOutput#deployment_info #deployment_info} => Types::DeploymentInfo
|
975
|
+
#
|
976
|
+
# @example Request syntax with placeholder values
|
977
|
+
#
|
978
|
+
# resp = client.get_deployment({
|
979
|
+
# deployment_id: "DeploymentId", # required
|
980
|
+
# })
|
981
|
+
#
|
982
|
+
# @example Response structure
|
983
|
+
#
|
984
|
+
# resp.deployment_info.application_name #=> String
|
985
|
+
# resp.deployment_info.deployment_group_name #=> String
|
986
|
+
# resp.deployment_info.deployment_config_name #=> String
|
987
|
+
# resp.deployment_info.deployment_id #=> String
|
988
|
+
# resp.deployment_info.revision.revision_type #=> String, one of "S3", "GitHub"
|
989
|
+
# resp.deployment_info.revision.s3_location.bucket #=> String
|
990
|
+
# resp.deployment_info.revision.s3_location.key #=> String
|
991
|
+
# resp.deployment_info.revision.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip"
|
992
|
+
# resp.deployment_info.revision.s3_location.version #=> String
|
993
|
+
# resp.deployment_info.revision.s3_location.e_tag #=> String
|
994
|
+
# resp.deployment_info.revision.git_hub_location.repository #=> String
|
995
|
+
# resp.deployment_info.revision.git_hub_location.commit_id #=> String
|
996
|
+
# resp.deployment_info.status #=> String, one of "Created", "Queued", "InProgress", "Succeeded", "Failed", "Stopped"
|
997
|
+
# resp.deployment_info.error_information.code #=> String, one of "DEPLOYMENT_GROUP_MISSING", "APPLICATION_MISSING", "REVISION_MISSING", "IAM_ROLE_MISSING", "IAM_ROLE_PERMISSIONS", "NO_EC2_SUBSCRIPTION", "OVER_MAX_INSTANCES", "NO_INSTANCES", "TIMEOUT", "HEALTH_CONSTRAINTS_INVALID", "HEALTH_CONSTRAINTS", "INTERNAL_ERROR", "THROTTLED", "ALARM_ACTIVE", "AGENT_ISSUE", "AUTO_SCALING_IAM_ROLE_PERMISSIONS", "AUTO_SCALING_CONFIGURATION", "MANUAL_STOP"
|
998
|
+
# resp.deployment_info.error_information.message #=> String
|
999
|
+
# resp.deployment_info.create_time #=> Time
|
1000
|
+
# resp.deployment_info.start_time #=> Time
|
1001
|
+
# resp.deployment_info.complete_time #=> Time
|
1002
|
+
# resp.deployment_info.deployment_overview.pending #=> Integer
|
1003
|
+
# resp.deployment_info.deployment_overview.in_progress #=> Integer
|
1004
|
+
# resp.deployment_info.deployment_overview.succeeded #=> Integer
|
1005
|
+
# resp.deployment_info.deployment_overview.failed #=> Integer
|
1006
|
+
# resp.deployment_info.deployment_overview.skipped #=> Integer
|
1007
|
+
# resp.deployment_info.description #=> String
|
1008
|
+
# resp.deployment_info.creator #=> String, one of "user", "autoscaling", "codeDeployRollback"
|
1009
|
+
# resp.deployment_info.ignore_application_stop_failures #=> Boolean
|
1010
|
+
# resp.deployment_info.auto_rollback_configuration.enabled #=> Boolean
|
1011
|
+
# resp.deployment_info.auto_rollback_configuration.events #=> Array
|
1012
|
+
# resp.deployment_info.auto_rollback_configuration.events[0] #=> String, one of "DEPLOYMENT_FAILURE", "DEPLOYMENT_STOP_ON_ALARM", "DEPLOYMENT_STOP_ON_REQUEST"
|
1013
|
+
# resp.deployment_info.update_outdated_instances_only #=> Boolean
|
1014
|
+
# resp.deployment_info.rollback_info.rollback_deployment_id #=> String
|
1015
|
+
# resp.deployment_info.rollback_info.rollback_triggering_deployment_id #=> String
|
1016
|
+
# resp.deployment_info.rollback_info.rollback_message #=> String
|
1017
|
+
#
|
1018
|
+
# @overload get_deployment(params = {})
|
1019
|
+
# @param [Hash] params ({})
|
1020
|
+
def get_deployment(params = {}, options = {})
|
1021
|
+
req = build_request(:get_deployment, params)
|
1022
|
+
req.send_request(options)
|
1023
|
+
end
|
970
1024
|
|
971
|
-
|
972
|
-
|
973
|
-
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
# resp.deployment_group_info.auto_scaling_groups #=> Array
|
1002
|
-
# resp.deployment_group_info.auto_scaling_groups[0].name #=> String
|
1003
|
-
# resp.deployment_group_info.auto_scaling_groups[0].hook #=> String
|
1004
|
-
# resp.deployment_group_info.service_role_arn #=> String
|
1005
|
-
# resp.deployment_group_info.target_revision.revision_type #=> String, one of "S3", "GitHub"
|
1006
|
-
# resp.deployment_group_info.target_revision.s3_location.bucket #=> String
|
1007
|
-
# resp.deployment_group_info.target_revision.s3_location.key #=> String
|
1008
|
-
# resp.deployment_group_info.target_revision.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip"
|
1009
|
-
# resp.deployment_group_info.target_revision.s3_location.version #=> String
|
1010
|
-
# resp.deployment_group_info.target_revision.s3_location.e_tag #=> String
|
1011
|
-
# resp.deployment_group_info.target_revision.git_hub_location.repository #=> String
|
1012
|
-
# resp.deployment_group_info.target_revision.git_hub_location.commit_id #=> String
|
1013
|
-
# resp.deployment_group_info.trigger_configurations #=> Array
|
1014
|
-
# resp.deployment_group_info.trigger_configurations[0].trigger_name #=> String
|
1015
|
-
# resp.deployment_group_info.trigger_configurations[0].trigger_target_arn #=> String
|
1016
|
-
# resp.deployment_group_info.trigger_configurations[0].trigger_events #=> Array
|
1017
|
-
# resp.deployment_group_info.trigger_configurations[0].trigger_events[0] #=> String, one of "DeploymentStart", "DeploymentSuccess", "DeploymentFailure", "DeploymentStop", "DeploymentRollback", "InstanceStart", "InstanceSuccess", "InstanceFailure"
|
1018
|
-
# resp.deployment_group_info.alarm_configuration.enabled #=> Boolean
|
1019
|
-
# resp.deployment_group_info.alarm_configuration.ignore_poll_alarm_failure #=> Boolean
|
1020
|
-
# resp.deployment_group_info.alarm_configuration.alarms #=> Array
|
1021
|
-
# resp.deployment_group_info.alarm_configuration.alarms[0].name #=> String
|
1022
|
-
# resp.deployment_group_info.auto_rollback_configuration.enabled #=> Boolean
|
1023
|
-
# resp.deployment_group_info.auto_rollback_configuration.events #=> Array
|
1024
|
-
# resp.deployment_group_info.auto_rollback_configuration.events[0] #=> String, one of "DEPLOYMENT_FAILURE", "DEPLOYMENT_STOP_ON_ALARM", "DEPLOYMENT_STOP_ON_REQUEST"
|
1025
|
-
# @overload get_deployment_group(params = {})
|
1026
|
-
# @param [Hash] params ({})
|
1027
|
-
def get_deployment_group(params = {}, options = {})
|
1028
|
-
req = build_request(:get_deployment_group, params)
|
1029
|
-
req.send_request(options)
|
1030
|
-
end
|
1025
|
+
# Gets information about a deployment configuration.
|
1026
|
+
#
|
1027
|
+
# @option params [required, String] :deployment_config_name
|
1028
|
+
# The name of a deployment configuration associated with the applicable
|
1029
|
+
# IAM user or AWS account.
|
1030
|
+
#
|
1031
|
+
# @return [Types::GetDeploymentConfigOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1032
|
+
#
|
1033
|
+
# * {Types::GetDeploymentConfigOutput#deployment_config_info #deployment_config_info} => Types::DeploymentConfigInfo
|
1034
|
+
#
|
1035
|
+
# @example Request syntax with placeholder values
|
1036
|
+
#
|
1037
|
+
# resp = client.get_deployment_config({
|
1038
|
+
# deployment_config_name: "DeploymentConfigName", # required
|
1039
|
+
# })
|
1040
|
+
#
|
1041
|
+
# @example Response structure
|
1042
|
+
#
|
1043
|
+
# resp.deployment_config_info.deployment_config_id #=> String
|
1044
|
+
# resp.deployment_config_info.deployment_config_name #=> String
|
1045
|
+
# resp.deployment_config_info.minimum_healthy_hosts.value #=> Integer
|
1046
|
+
# resp.deployment_config_info.minimum_healthy_hosts.type #=> String, one of "HOST_COUNT", "FLEET_PERCENT"
|
1047
|
+
# resp.deployment_config_info.create_time #=> Time
|
1048
|
+
#
|
1049
|
+
# @overload get_deployment_config(params = {})
|
1050
|
+
# @param [Hash] params ({})
|
1051
|
+
def get_deployment_config(params = {}, options = {})
|
1052
|
+
req = build_request(:get_deployment_config, params)
|
1053
|
+
req.send_request(options)
|
1054
|
+
end
|
1031
1055
|
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1042
|
-
|
1043
|
-
|
1044
|
-
|
1045
|
-
|
1046
|
-
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1066
|
-
|
1056
|
+
# Gets information about a deployment group.
|
1057
|
+
#
|
1058
|
+
# @option params [required, String] :application_name
|
1059
|
+
# The name of an AWS CodeDeploy application associated with the
|
1060
|
+
# applicable IAM user or AWS account.
|
1061
|
+
#
|
1062
|
+
# @option params [required, String] :deployment_group_name
|
1063
|
+
# The name of an existing deployment group for the specified
|
1064
|
+
# application.
|
1065
|
+
#
|
1066
|
+
# @return [Types::GetDeploymentGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1067
|
+
#
|
1068
|
+
# * {Types::GetDeploymentGroupOutput#deployment_group_info #deployment_group_info} => Types::DeploymentGroupInfo
|
1069
|
+
#
|
1070
|
+
# @example Request syntax with placeholder values
|
1071
|
+
#
|
1072
|
+
# resp = client.get_deployment_group({
|
1073
|
+
# application_name: "ApplicationName", # required
|
1074
|
+
# deployment_group_name: "DeploymentGroupName", # required
|
1075
|
+
# })
|
1076
|
+
#
|
1077
|
+
# @example Response structure
|
1078
|
+
#
|
1079
|
+
# resp.deployment_group_info.application_name #=> String
|
1080
|
+
# resp.deployment_group_info.deployment_group_id #=> String
|
1081
|
+
# resp.deployment_group_info.deployment_group_name #=> String
|
1082
|
+
# resp.deployment_group_info.deployment_config_name #=> String
|
1083
|
+
# resp.deployment_group_info.ec2_tag_filters #=> Array
|
1084
|
+
# resp.deployment_group_info.ec2_tag_filters[0].key #=> String
|
1085
|
+
# resp.deployment_group_info.ec2_tag_filters[0].value #=> String
|
1086
|
+
# resp.deployment_group_info.ec2_tag_filters[0].type #=> String, one of "KEY_ONLY", "VALUE_ONLY", "KEY_AND_VALUE"
|
1087
|
+
# resp.deployment_group_info.on_premises_instance_tag_filters #=> Array
|
1088
|
+
# resp.deployment_group_info.on_premises_instance_tag_filters[0].key #=> String
|
1089
|
+
# resp.deployment_group_info.on_premises_instance_tag_filters[0].value #=> String
|
1090
|
+
# resp.deployment_group_info.on_premises_instance_tag_filters[0].type #=> String, one of "KEY_ONLY", "VALUE_ONLY", "KEY_AND_VALUE"
|
1091
|
+
# resp.deployment_group_info.auto_scaling_groups #=> Array
|
1092
|
+
# resp.deployment_group_info.auto_scaling_groups[0].name #=> String
|
1093
|
+
# resp.deployment_group_info.auto_scaling_groups[0].hook #=> String
|
1094
|
+
# resp.deployment_group_info.service_role_arn #=> String
|
1095
|
+
# resp.deployment_group_info.target_revision.revision_type #=> String, one of "S3", "GitHub"
|
1096
|
+
# resp.deployment_group_info.target_revision.s3_location.bucket #=> String
|
1097
|
+
# resp.deployment_group_info.target_revision.s3_location.key #=> String
|
1098
|
+
# resp.deployment_group_info.target_revision.s3_location.bundle_type #=> String, one of "tar", "tgz", "zip"
|
1099
|
+
# resp.deployment_group_info.target_revision.s3_location.version #=> String
|
1100
|
+
# resp.deployment_group_info.target_revision.s3_location.e_tag #=> String
|
1101
|
+
# resp.deployment_group_info.target_revision.git_hub_location.repository #=> String
|
1102
|
+
# resp.deployment_group_info.target_revision.git_hub_location.commit_id #=> String
|
1103
|
+
# resp.deployment_group_info.trigger_configurations #=> Array
|
1104
|
+
# resp.deployment_group_info.trigger_configurations[0].trigger_name #=> String
|
1105
|
+
# resp.deployment_group_info.trigger_configurations[0].trigger_target_arn #=> String
|
1106
|
+
# resp.deployment_group_info.trigger_configurations[0].trigger_events #=> Array
|
1107
|
+
# resp.deployment_group_info.trigger_configurations[0].trigger_events[0] #=> String, one of "DeploymentStart", "DeploymentSuccess", "DeploymentFailure", "DeploymentStop", "DeploymentRollback", "InstanceStart", "InstanceSuccess", "InstanceFailure"
|
1108
|
+
# resp.deployment_group_info.alarm_configuration.enabled #=> Boolean
|
1109
|
+
# resp.deployment_group_info.alarm_configuration.ignore_poll_alarm_failure #=> Boolean
|
1110
|
+
# resp.deployment_group_info.alarm_configuration.alarms #=> Array
|
1111
|
+
# resp.deployment_group_info.alarm_configuration.alarms[0].name #=> String
|
1112
|
+
# resp.deployment_group_info.auto_rollback_configuration.enabled #=> Boolean
|
1113
|
+
# resp.deployment_group_info.auto_rollback_configuration.events #=> Array
|
1114
|
+
# resp.deployment_group_info.auto_rollback_configuration.events[0] #=> String, one of "DEPLOYMENT_FAILURE", "DEPLOYMENT_STOP_ON_ALARM", "DEPLOYMENT_STOP_ON_REQUEST"
|
1115
|
+
#
|
1116
|
+
# @overload get_deployment_group(params = {})
|
1117
|
+
# @param [Hash] params ({})
|
1118
|
+
def get_deployment_group(params = {}, options = {})
|
1119
|
+
req = build_request(:get_deployment_group, params)
|
1120
|
+
req.send_request(options)
|
1121
|
+
end
|
1067
1122
|
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
|
1091
|
-
|
1092
|
-
|
1093
|
-
|
1094
|
-
|
1123
|
+
# Gets information about an instance as part of a deployment.
|
1124
|
+
#
|
1125
|
+
# @option params [required, String] :deployment_id
|
1126
|
+
# The unique ID of a deployment.
|
1127
|
+
#
|
1128
|
+
# @option params [required, String] :instance_id
|
1129
|
+
# The unique ID of an instance in the deployment group.
|
1130
|
+
#
|
1131
|
+
# @return [Types::GetDeploymentInstanceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1132
|
+
#
|
1133
|
+
# * {Types::GetDeploymentInstanceOutput#instance_summary #instance_summary} => Types::InstanceSummary
|
1134
|
+
#
|
1135
|
+
# @example Request syntax with placeholder values
|
1136
|
+
#
|
1137
|
+
# resp = client.get_deployment_instance({
|
1138
|
+
# deployment_id: "DeploymentId", # required
|
1139
|
+
# instance_id: "InstanceId", # required
|
1140
|
+
# })
|
1141
|
+
#
|
1142
|
+
# @example Response structure
|
1143
|
+
#
|
1144
|
+
# resp.instance_summary.deployment_id #=> String
|
1145
|
+
# resp.instance_summary.instance_id #=> String
|
1146
|
+
# resp.instance_summary.status #=> String, one of "Pending", "InProgress", "Succeeded", "Failed", "Skipped", "Unknown"
|
1147
|
+
# resp.instance_summary.last_updated_at #=> Time
|
1148
|
+
# resp.instance_summary.lifecycle_events #=> Array
|
1149
|
+
# resp.instance_summary.lifecycle_events[0].lifecycle_event_name #=> String
|
1150
|
+
# resp.instance_summary.lifecycle_events[0].diagnostics.error_code #=> String, one of "Success", "ScriptMissing", "ScriptNotExecutable", "ScriptTimedOut", "ScriptFailed", "UnknownError"
|
1151
|
+
# resp.instance_summary.lifecycle_events[0].diagnostics.script_name #=> String
|
1152
|
+
# resp.instance_summary.lifecycle_events[0].diagnostics.message #=> String
|
1153
|
+
# resp.instance_summary.lifecycle_events[0].diagnostics.log_tail #=> String
|
1154
|
+
# resp.instance_summary.lifecycle_events[0].start_time #=> Time
|
1155
|
+
# resp.instance_summary.lifecycle_events[0].end_time #=> Time
|
1156
|
+
# resp.instance_summary.lifecycle_events[0].status #=> String, one of "Pending", "InProgress", "Succeeded", "Failed", "Skipped", "Unknown"
|
1157
|
+
#
|
1158
|
+
# @overload get_deployment_instance(params = {})
|
1159
|
+
# @param [Hash] params ({})
|
1160
|
+
def get_deployment_instance(params = {}, options = {})
|
1161
|
+
req = build_request(:get_deployment_instance, params)
|
1162
|
+
req.send_request(options)
|
1163
|
+
end
|
1095
1164
|
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
1100
|
-
|
1101
|
-
|
1102
|
-
|
1103
|
-
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
|
1120
|
-
|
1121
|
-
|
1122
|
-
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
|
1128
|
-
|
1129
|
-
# A key prefix for the set of Amazon S3 objects to limit the search for
|
1130
|
-
# revisions.
|
1131
|
-
# @option params [String] :deployed
|
1132
|
-
# Whether to list revisions based on whether the revision is the target
|
1133
|
-
# revision of an deployment group:
|
1134
|
-
#
|
1135
|
-
# * include: List revisions that are target revisions of a deployment
|
1136
|
-
# group.
|
1137
|
-
#
|
1138
|
-
# * exclude: Do not list revisions that are target revisions of a
|
1139
|
-
# deployment group.
|
1140
|
-
#
|
1141
|
-
# * ignore: List all revisions.
|
1142
|
-
# @option params [String] :next_token
|
1143
|
-
# An identifier returned from the previous list application revisions
|
1144
|
-
# call. It can be used to return the next set of applications in the
|
1145
|
-
# list.
|
1146
|
-
# @return [Types::ListApplicationRevisionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1147
|
-
#
|
1148
|
-
# * {Types::ListApplicationRevisionsOutput#revisions #revisions} => Array<Types::RevisionLocation>
|
1149
|
-
# * {Types::ListApplicationRevisionsOutput#next_token #nextToken} => String
|
1150
|
-
#
|
1151
|
-
# @example Request syntax with placeholder values
|
1152
|
-
# resp = client.list_application_revisions({
|
1153
|
-
# application_name: "ApplicationName", # required
|
1154
|
-
# sort_by: "registerTime", # accepts registerTime, firstUsedTime, lastUsedTime
|
1155
|
-
# sort_order: "ascending", # accepts ascending, descending
|
1156
|
-
# s3_bucket: "S3Bucket",
|
1157
|
-
# s3_key_prefix: "S3Key",
|
1158
|
-
# deployed: "include", # accepts include, exclude, ignore
|
1159
|
-
# next_token: "NextToken",
|
1160
|
-
# })
|
1161
|
-
#
|
1162
|
-
# @example Response structure
|
1163
|
-
# resp.revisions #=> Array
|
1164
|
-
# resp.revisions[0].revision_type #=> String, one of "S3", "GitHub"
|
1165
|
-
# resp.revisions[0].s3_location.bucket #=> String
|
1166
|
-
# resp.revisions[0].s3_location.key #=> String
|
1167
|
-
# resp.revisions[0].s3_location.bundle_type #=> String, one of "tar", "tgz", "zip"
|
1168
|
-
# resp.revisions[0].s3_location.version #=> String
|
1169
|
-
# resp.revisions[0].s3_location.e_tag #=> String
|
1170
|
-
# resp.revisions[0].git_hub_location.repository #=> String
|
1171
|
-
# resp.revisions[0].git_hub_location.commit_id #=> String
|
1172
|
-
# resp.next_token #=> String
|
1173
|
-
# @overload list_application_revisions(params = {})
|
1174
|
-
# @param [Hash] params ({})
|
1175
|
-
def list_application_revisions(params = {}, options = {})
|
1176
|
-
req = build_request(:list_application_revisions, params)
|
1177
|
-
req.send_request(options)
|
1178
|
-
end
|
1165
|
+
# Gets information about an on-premises instance.
|
1166
|
+
#
|
1167
|
+
# @option params [required, String] :instance_name
|
1168
|
+
# The name of the on-premises instance about which to get information.
|
1169
|
+
#
|
1170
|
+
# @return [Types::GetOnPremisesInstanceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1171
|
+
#
|
1172
|
+
# * {Types::GetOnPremisesInstanceOutput#instance_info #instance_info} => Types::InstanceInfo
|
1173
|
+
#
|
1174
|
+
# @example Request syntax with placeholder values
|
1175
|
+
#
|
1176
|
+
# resp = client.get_on_premises_instance({
|
1177
|
+
# instance_name: "InstanceName", # required
|
1178
|
+
# })
|
1179
|
+
#
|
1180
|
+
# @example Response structure
|
1181
|
+
#
|
1182
|
+
# resp.instance_info.instance_name #=> String
|
1183
|
+
# resp.instance_info.iam_session_arn #=> String
|
1184
|
+
# resp.instance_info.iam_user_arn #=> String
|
1185
|
+
# resp.instance_info.instance_arn #=> String
|
1186
|
+
# resp.instance_info.register_time #=> Time
|
1187
|
+
# resp.instance_info.deregister_time #=> Time
|
1188
|
+
# resp.instance_info.tags #=> Array
|
1189
|
+
# resp.instance_info.tags[0].key #=> String
|
1190
|
+
# resp.instance_info.tags[0].value #=> String
|
1191
|
+
#
|
1192
|
+
# @overload get_on_premises_instance(params = {})
|
1193
|
+
# @param [Hash] params ({})
|
1194
|
+
def get_on_premises_instance(params = {}, options = {})
|
1195
|
+
req = build_request(:get_on_premises_instance, params)
|
1196
|
+
req.send_request(options)
|
1197
|
+
end
|
1179
1198
|
|
1180
|
-
|
1181
|
-
|
1182
|
-
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1196
|
-
|
1197
|
-
|
1198
|
-
|
1199
|
-
|
1200
|
-
|
1201
|
-
|
1202
|
-
|
1203
|
-
|
1204
|
-
|
1199
|
+
# Lists information about revisions for an application.
|
1200
|
+
#
|
1201
|
+
# @option params [required, String] :application_name
|
1202
|
+
# The name of an AWS CodeDeploy application associated with the
|
1203
|
+
# applicable IAM user or AWS account.
|
1204
|
+
#
|
1205
|
+
# @option params [String] :sort_by
|
1206
|
+
# The column name to use to sort the list results:
|
1207
|
+
#
|
1208
|
+
# * registerTime: Sort by the time the revisions were registered with
|
1209
|
+
# AWS CodeDeploy.
|
1210
|
+
#
|
1211
|
+
# * firstUsedTime: Sort by the time the revisions were first used in a
|
1212
|
+
# deployment.
|
1213
|
+
#
|
1214
|
+
# * lastUsedTime: Sort by the time the revisions were last used in a
|
1215
|
+
# deployment.
|
1216
|
+
#
|
1217
|
+
# If not specified or set to null, the results will be returned in an
|
1218
|
+
# arbitrary order.
|
1219
|
+
#
|
1220
|
+
# @option params [String] :sort_order
|
1221
|
+
# The order in which to sort the list results:
|
1222
|
+
#
|
1223
|
+
# * ascending: ascending order.
|
1224
|
+
#
|
1225
|
+
# * descending: descending order.
|
1226
|
+
#
|
1227
|
+
# If not specified, the results will be sorted in ascending order.
|
1228
|
+
#
|
1229
|
+
# If set to null, the results will be sorted in an arbitrary order.
|
1230
|
+
#
|
1231
|
+
# @option params [String] :s3_bucket
|
1232
|
+
# An Amazon S3 bucket name to limit the search for revisions.
|
1233
|
+
#
|
1234
|
+
# If set to null, all of the user's buckets will be searched.
|
1235
|
+
#
|
1236
|
+
# @option params [String] :s3_key_prefix
|
1237
|
+
# A key prefix for the set of Amazon S3 objects to limit the search for
|
1238
|
+
# revisions.
|
1239
|
+
#
|
1240
|
+
# @option params [String] :deployed
|
1241
|
+
# Whether to list revisions based on whether the revision is the target
|
1242
|
+
# revision of an deployment group:
|
1243
|
+
#
|
1244
|
+
# * include: List revisions that are target revisions of a deployment
|
1245
|
+
# group.
|
1246
|
+
#
|
1247
|
+
# * exclude: Do not list revisions that are target revisions of a
|
1248
|
+
# deployment group.
|
1249
|
+
#
|
1250
|
+
# * ignore: List all revisions.
|
1251
|
+
#
|
1252
|
+
# @option params [String] :next_token
|
1253
|
+
# An identifier returned from the previous list application revisions
|
1254
|
+
# call. It can be used to return the next set of applications in the
|
1255
|
+
# list.
|
1256
|
+
#
|
1257
|
+
# @return [Types::ListApplicationRevisionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1258
|
+
#
|
1259
|
+
# * {Types::ListApplicationRevisionsOutput#revisions #revisions} => Array<Types::RevisionLocation>
|
1260
|
+
# * {Types::ListApplicationRevisionsOutput#next_token #next_token} => String
|
1261
|
+
#
|
1262
|
+
# @example Request syntax with placeholder values
|
1263
|
+
#
|
1264
|
+
# resp = client.list_application_revisions({
|
1265
|
+
# application_name: "ApplicationName", # required
|
1266
|
+
# sort_by: "registerTime", # accepts registerTime, firstUsedTime, lastUsedTime
|
1267
|
+
# sort_order: "ascending", # accepts ascending, descending
|
1268
|
+
# s3_bucket: "S3Bucket",
|
1269
|
+
# s3_key_prefix: "S3Key",
|
1270
|
+
# deployed: "include", # accepts include, exclude, ignore
|
1271
|
+
# next_token: "NextToken",
|
1272
|
+
# })
|
1273
|
+
#
|
1274
|
+
# @example Response structure
|
1275
|
+
#
|
1276
|
+
# resp.revisions #=> Array
|
1277
|
+
# resp.revisions[0].revision_type #=> String, one of "S3", "GitHub"
|
1278
|
+
# resp.revisions[0].s3_location.bucket #=> String
|
1279
|
+
# resp.revisions[0].s3_location.key #=> String
|
1280
|
+
# resp.revisions[0].s3_location.bundle_type #=> String, one of "tar", "tgz", "zip"
|
1281
|
+
# resp.revisions[0].s3_location.version #=> String
|
1282
|
+
# resp.revisions[0].s3_location.e_tag #=> String
|
1283
|
+
# resp.revisions[0].git_hub_location.repository #=> String
|
1284
|
+
# resp.revisions[0].git_hub_location.commit_id #=> String
|
1285
|
+
# resp.next_token #=> String
|
1286
|
+
#
|
1287
|
+
# @overload list_application_revisions(params = {})
|
1288
|
+
# @param [Hash] params ({})
|
1289
|
+
def list_application_revisions(params = {}, options = {})
|
1290
|
+
req = build_request(:list_application_revisions, params)
|
1291
|
+
req.send_request(options)
|
1292
|
+
end
|
1205
1293
|
|
1206
|
-
|
1207
|
-
|
1208
|
-
|
1209
|
-
|
1210
|
-
|
1211
|
-
|
1212
|
-
|
1213
|
-
|
1214
|
-
|
1215
|
-
|
1216
|
-
|
1217
|
-
|
1218
|
-
|
1219
|
-
|
1220
|
-
|
1221
|
-
|
1222
|
-
|
1223
|
-
|
1224
|
-
|
1225
|
-
|
1226
|
-
|
1227
|
-
|
1228
|
-
|
1229
|
-
|
1230
|
-
|
1231
|
-
|
1294
|
+
# Lists the applications registered with the applicable IAM user or AWS
|
1295
|
+
# account.
|
1296
|
+
#
|
1297
|
+
# @option params [String] :next_token
|
1298
|
+
# An identifier returned from the previous list applications call. It
|
1299
|
+
# can be used to return the next set of applications in the list.
|
1300
|
+
#
|
1301
|
+
# @return [Types::ListApplicationsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1302
|
+
#
|
1303
|
+
# * {Types::ListApplicationsOutput#applications #applications} => Array<String>
|
1304
|
+
# * {Types::ListApplicationsOutput#next_token #next_token} => String
|
1305
|
+
#
|
1306
|
+
# @example Request syntax with placeholder values
|
1307
|
+
#
|
1308
|
+
# resp = client.list_applications({
|
1309
|
+
# next_token: "NextToken",
|
1310
|
+
# })
|
1311
|
+
#
|
1312
|
+
# @example Response structure
|
1313
|
+
#
|
1314
|
+
# resp.applications #=> Array
|
1315
|
+
# resp.applications[0] #=> String
|
1316
|
+
# resp.next_token #=> String
|
1317
|
+
#
|
1318
|
+
# @overload list_applications(params = {})
|
1319
|
+
# @param [Hash] params ({})
|
1320
|
+
def list_applications(params = {}, options = {})
|
1321
|
+
req = build_request(:list_applications, params)
|
1322
|
+
req.send_request(options)
|
1323
|
+
end
|
1232
1324
|
|
1233
|
-
|
1234
|
-
|
1235
|
-
|
1236
|
-
|
1237
|
-
|
1238
|
-
|
1239
|
-
|
1240
|
-
|
1241
|
-
|
1242
|
-
|
1243
|
-
|
1244
|
-
|
1245
|
-
|
1246
|
-
|
1247
|
-
|
1248
|
-
|
1249
|
-
|
1250
|
-
|
1251
|
-
|
1252
|
-
|
1253
|
-
|
1254
|
-
|
1255
|
-
|
1256
|
-
|
1257
|
-
|
1258
|
-
|
1259
|
-
|
1260
|
-
|
1261
|
-
|
1262
|
-
|
1263
|
-
|
1264
|
-
end
|
1325
|
+
# Lists the deployment configurations with the applicable IAM user or
|
1326
|
+
# AWS account.
|
1327
|
+
#
|
1328
|
+
# @option params [String] :next_token
|
1329
|
+
# An identifier returned from the previous list deployment
|
1330
|
+
# configurations call. It can be used to return the next set of
|
1331
|
+
# deployment configurations in the list.
|
1332
|
+
#
|
1333
|
+
# @return [Types::ListDeploymentConfigsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1334
|
+
#
|
1335
|
+
# * {Types::ListDeploymentConfigsOutput#deployment_configs_list #deployment_configs_list} => Array<String>
|
1336
|
+
# * {Types::ListDeploymentConfigsOutput#next_token #next_token} => String
|
1337
|
+
#
|
1338
|
+
# @example Request syntax with placeholder values
|
1339
|
+
#
|
1340
|
+
# resp = client.list_deployment_configs({
|
1341
|
+
# next_token: "NextToken",
|
1342
|
+
# })
|
1343
|
+
#
|
1344
|
+
# @example Response structure
|
1345
|
+
#
|
1346
|
+
# resp.deployment_configs_list #=> Array
|
1347
|
+
# resp.deployment_configs_list[0] #=> String
|
1348
|
+
# resp.next_token #=> String
|
1349
|
+
#
|
1350
|
+
# @overload list_deployment_configs(params = {})
|
1351
|
+
# @param [Hash] params ({})
|
1352
|
+
def list_deployment_configs(params = {}, options = {})
|
1353
|
+
req = build_request(:list_deployment_configs, params)
|
1354
|
+
req.send_request(options)
|
1355
|
+
end
|
1265
1356
|
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1270
|
-
|
1271
|
-
|
1272
|
-
|
1273
|
-
|
1274
|
-
|
1275
|
-
|
1276
|
-
|
1277
|
-
|
1278
|
-
|
1279
|
-
|
1280
|
-
|
1281
|
-
|
1282
|
-
|
1283
|
-
|
1284
|
-
|
1285
|
-
|
1286
|
-
|
1287
|
-
|
1288
|
-
|
1289
|
-
|
1290
|
-
|
1291
|
-
|
1292
|
-
|
1293
|
-
|
1294
|
-
|
1295
|
-
|
1296
|
-
|
1297
|
-
|
1298
|
-
|
1299
|
-
|
1300
|
-
|
1301
|
-
|
1302
|
-
|
1303
|
-
|
1304
|
-
# resp.instances_list[0] #=> String
|
1305
|
-
# resp.next_token #=> String
|
1306
|
-
# @overload list_deployment_instances(params = {})
|
1307
|
-
# @param [Hash] params ({})
|
1308
|
-
def list_deployment_instances(params = {}, options = {})
|
1309
|
-
req = build_request(:list_deployment_instances, params)
|
1310
|
-
req.send_request(options)
|
1311
|
-
end
|
1357
|
+
# Lists the deployment groups for an application registered with the
|
1358
|
+
# applicable IAM user or AWS account.
|
1359
|
+
#
|
1360
|
+
# @option params [required, String] :application_name
|
1361
|
+
# The name of an AWS CodeDeploy application associated with the
|
1362
|
+
# applicable IAM user or AWS account.
|
1363
|
+
#
|
1364
|
+
# @option params [String] :next_token
|
1365
|
+
# An identifier returned from the previous list deployment groups call.
|
1366
|
+
# It can be used to return the next set of deployment groups in the
|
1367
|
+
# list.
|
1368
|
+
#
|
1369
|
+
# @return [Types::ListDeploymentGroupsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1370
|
+
#
|
1371
|
+
# * {Types::ListDeploymentGroupsOutput#application_name #application_name} => String
|
1372
|
+
# * {Types::ListDeploymentGroupsOutput#deployment_groups #deployment_groups} => Array<String>
|
1373
|
+
# * {Types::ListDeploymentGroupsOutput#next_token #next_token} => String
|
1374
|
+
#
|
1375
|
+
# @example Request syntax with placeholder values
|
1376
|
+
#
|
1377
|
+
# resp = client.list_deployment_groups({
|
1378
|
+
# application_name: "ApplicationName", # required
|
1379
|
+
# next_token: "NextToken",
|
1380
|
+
# })
|
1381
|
+
#
|
1382
|
+
# @example Response structure
|
1383
|
+
#
|
1384
|
+
# resp.application_name #=> String
|
1385
|
+
# resp.deployment_groups #=> Array
|
1386
|
+
# resp.deployment_groups[0] #=> String
|
1387
|
+
# resp.next_token #=> String
|
1388
|
+
#
|
1389
|
+
# @overload list_deployment_groups(params = {})
|
1390
|
+
# @param [Hash] params ({})
|
1391
|
+
def list_deployment_groups(params = {}, options = {})
|
1392
|
+
req = build_request(:list_deployment_groups, params)
|
1393
|
+
req.send_request(options)
|
1394
|
+
end
|
1312
1395
|
|
1313
|
-
|
1314
|
-
|
1315
|
-
|
1316
|
-
|
1317
|
-
|
1318
|
-
|
1319
|
-
|
1320
|
-
|
1321
|
-
|
1322
|
-
|
1323
|
-
|
1324
|
-
|
1325
|
-
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1329
|
-
|
1330
|
-
|
1331
|
-
|
1332
|
-
|
1333
|
-
|
1334
|
-
|
1335
|
-
|
1336
|
-
|
1337
|
-
|
1338
|
-
|
1339
|
-
|
1340
|
-
|
1341
|
-
|
1342
|
-
|
1343
|
-
|
1344
|
-
|
1345
|
-
|
1346
|
-
|
1347
|
-
|
1348
|
-
|
1349
|
-
|
1350
|
-
|
1351
|
-
|
1352
|
-
|
1353
|
-
|
1354
|
-
|
1355
|
-
|
1356
|
-
|
1357
|
-
|
1358
|
-
|
1359
|
-
|
1360
|
-
|
1361
|
-
|
1362
|
-
|
1363
|
-
|
1364
|
-
|
1365
|
-
|
1366
|
-
req.send_request(options)
|
1367
|
-
end
|
1396
|
+
# Lists the instance for a deployment associated with the applicable IAM
|
1397
|
+
# user or AWS account.
|
1398
|
+
#
|
1399
|
+
# @option params [required, String] :deployment_id
|
1400
|
+
# The unique ID of a deployment.
|
1401
|
+
#
|
1402
|
+
# @option params [String] :next_token
|
1403
|
+
# An identifier returned from the previous list deployment instances
|
1404
|
+
# call. It can be used to return the next set of deployment instances in
|
1405
|
+
# the list.
|
1406
|
+
#
|
1407
|
+
# @option params [Array<String>] :instance_status_filter
|
1408
|
+
# A subset of instances to list by status:
|
1409
|
+
#
|
1410
|
+
# * Pending: Include those instance with pending deployments.
|
1411
|
+
#
|
1412
|
+
# * InProgress: Include those instance where deployments are still in
|
1413
|
+
# progress.
|
1414
|
+
#
|
1415
|
+
# * Succeeded: Include those instances with successful deployments.
|
1416
|
+
#
|
1417
|
+
# * Failed: Include those instance with failed deployments.
|
1418
|
+
#
|
1419
|
+
# * Skipped: Include those instance with skipped deployments.
|
1420
|
+
#
|
1421
|
+
# * Unknown: Include those instance with deployments in an unknown
|
1422
|
+
# state.
|
1423
|
+
#
|
1424
|
+
# @return [Types::ListDeploymentInstancesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1425
|
+
#
|
1426
|
+
# * {Types::ListDeploymentInstancesOutput#instances_list #instances_list} => Array<String>
|
1427
|
+
# * {Types::ListDeploymentInstancesOutput#next_token #next_token} => String
|
1428
|
+
#
|
1429
|
+
# @example Request syntax with placeholder values
|
1430
|
+
#
|
1431
|
+
# resp = client.list_deployment_instances({
|
1432
|
+
# deployment_id: "DeploymentId", # required
|
1433
|
+
# next_token: "NextToken",
|
1434
|
+
# instance_status_filter: ["Pending"], # accepts Pending, InProgress, Succeeded, Failed, Skipped, Unknown
|
1435
|
+
# })
|
1436
|
+
#
|
1437
|
+
# @example Response structure
|
1438
|
+
#
|
1439
|
+
# resp.instances_list #=> Array
|
1440
|
+
# resp.instances_list[0] #=> String
|
1441
|
+
# resp.next_token #=> String
|
1442
|
+
#
|
1443
|
+
# @overload list_deployment_instances(params = {})
|
1444
|
+
# @param [Hash] params ({})
|
1445
|
+
def list_deployment_instances(params = {}, options = {})
|
1446
|
+
req = build_request(:list_deployment_instances, params)
|
1447
|
+
req.send_request(options)
|
1448
|
+
end
|
1368
1449
|
|
1369
|
-
|
1370
|
-
|
1371
|
-
|
1372
|
-
|
1373
|
-
|
1374
|
-
|
1375
|
-
|
1376
|
-
|
1377
|
-
|
1378
|
-
|
1379
|
-
|
1380
|
-
|
1381
|
-
|
1382
|
-
|
1383
|
-
|
1384
|
-
|
1385
|
-
|
1386
|
-
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1394
|
-
|
1395
|
-
|
1396
|
-
|
1397
|
-
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1401
|
-
|
1402
|
-
|
1403
|
-
|
1404
|
-
|
1405
|
-
|
1406
|
-
|
1407
|
-
|
1408
|
-
|
1409
|
-
|
1410
|
-
|
1411
|
-
|
1412
|
-
|
1413
|
-
|
1414
|
-
|
1415
|
-
|
1416
|
-
|
1417
|
-
|
1450
|
+
# Lists the deployments in a deployment group for an application
|
1451
|
+
# registered with the applicable IAM user or AWS account.
|
1452
|
+
#
|
1453
|
+
# @option params [String] :application_name
|
1454
|
+
# The name of an AWS CodeDeploy application associated with the
|
1455
|
+
# applicable IAM user or AWS account.
|
1456
|
+
#
|
1457
|
+
# @option params [String] :deployment_group_name
|
1458
|
+
# The name of an existing deployment group for the specified
|
1459
|
+
# application.
|
1460
|
+
#
|
1461
|
+
# @option params [Array<String>] :include_only_statuses
|
1462
|
+
# A subset of deployments to list by status:
|
1463
|
+
#
|
1464
|
+
# * Created: Include created deployments in the resulting list.
|
1465
|
+
#
|
1466
|
+
# * Queued: Include queued deployments in the resulting list.
|
1467
|
+
#
|
1468
|
+
# * In Progress: Include in-progress deployments in the resulting list.
|
1469
|
+
#
|
1470
|
+
# * Succeeded: Include successful deployments in the resulting list.
|
1471
|
+
#
|
1472
|
+
# * Failed: Include failed deployments in the resulting list.
|
1473
|
+
#
|
1474
|
+
# * Stopped: Include stopped deployments in the resulting list.
|
1475
|
+
#
|
1476
|
+
# @option params [Types::TimeRange] :create_time_range
|
1477
|
+
# A time range (start and end) for returning a subset of the list of
|
1478
|
+
# deployments.
|
1479
|
+
#
|
1480
|
+
# @option params [String] :next_token
|
1481
|
+
# An identifier returned from the previous list deployments call. It can
|
1482
|
+
# be used to return the next set of deployments in the list.
|
1483
|
+
#
|
1484
|
+
# @return [Types::ListDeploymentsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1485
|
+
#
|
1486
|
+
# * {Types::ListDeploymentsOutput#deployments #deployments} => Array<String>
|
1487
|
+
# * {Types::ListDeploymentsOutput#next_token #next_token} => String
|
1488
|
+
#
|
1489
|
+
# @example Request syntax with placeholder values
|
1490
|
+
#
|
1491
|
+
# resp = client.list_deployments({
|
1492
|
+
# application_name: "ApplicationName",
|
1493
|
+
# deployment_group_name: "DeploymentGroupName",
|
1494
|
+
# include_only_statuses: ["Created"], # accepts Created, Queued, InProgress, Succeeded, Failed, Stopped
|
1495
|
+
# create_time_range: {
|
1496
|
+
# start: Time.now,
|
1497
|
+
# end: Time.now,
|
1498
|
+
# },
|
1499
|
+
# next_token: "NextToken",
|
1500
|
+
# })
|
1501
|
+
#
|
1502
|
+
# @example Response structure
|
1503
|
+
#
|
1504
|
+
# resp.deployments #=> Array
|
1505
|
+
# resp.deployments[0] #=> String
|
1506
|
+
# resp.next_token #=> String
|
1507
|
+
#
|
1508
|
+
# @overload list_deployments(params = {})
|
1509
|
+
# @param [Hash] params ({})
|
1510
|
+
def list_deployments(params = {}, options = {})
|
1511
|
+
req = build_request(:list_deployments, params)
|
1512
|
+
req.send_request(options)
|
1513
|
+
end
|
1418
1514
|
|
1419
|
-
|
1420
|
-
|
1421
|
-
|
1422
|
-
|
1423
|
-
|
1424
|
-
|
1425
|
-
|
1426
|
-
|
1427
|
-
|
1428
|
-
|
1429
|
-
|
1430
|
-
|
1431
|
-
|
1432
|
-
|
1433
|
-
|
1434
|
-
|
1435
|
-
|
1436
|
-
|
1437
|
-
|
1438
|
-
|
1439
|
-
|
1440
|
-
|
1441
|
-
|
1442
|
-
|
1443
|
-
|
1444
|
-
|
1445
|
-
|
1446
|
-
|
1447
|
-
|
1448
|
-
|
1449
|
-
|
1450
|
-
|
1451
|
-
|
1452
|
-
|
1453
|
-
|
1454
|
-
|
1455
|
-
|
1515
|
+
# Gets a list of names for one or more on-premises instances.
|
1516
|
+
#
|
1517
|
+
# Unless otherwise specified, both registered and deregistered
|
1518
|
+
# on-premises instance names will be listed. To list only registered or
|
1519
|
+
# deregistered on-premises instance names, use the registration status
|
1520
|
+
# parameter.
|
1521
|
+
#
|
1522
|
+
# @option params [String] :registration_status
|
1523
|
+
# The registration status of the on-premises instances:
|
1524
|
+
#
|
1525
|
+
# * Deregistered: Include deregistered on-premises instances in the
|
1526
|
+
# resulting list.
|
1527
|
+
#
|
1528
|
+
# * Registered: Include registered on-premises instances in the
|
1529
|
+
# resulting list.
|
1530
|
+
#
|
1531
|
+
# @option params [Array<Types::TagFilter>] :tag_filters
|
1532
|
+
# The on-premises instance tags that will be used to restrict the
|
1533
|
+
# corresponding on-premises instance names returned.
|
1534
|
+
#
|
1535
|
+
# @option params [String] :next_token
|
1536
|
+
# An identifier returned from the previous list on-premises instances
|
1537
|
+
# call. It can be used to return the next set of on-premises instances
|
1538
|
+
# in the list.
|
1539
|
+
#
|
1540
|
+
# @return [Types::ListOnPremisesInstancesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1541
|
+
#
|
1542
|
+
# * {Types::ListOnPremisesInstancesOutput#instance_names #instance_names} => Array<String>
|
1543
|
+
# * {Types::ListOnPremisesInstancesOutput#next_token #next_token} => String
|
1544
|
+
#
|
1545
|
+
# @example Request syntax with placeholder values
|
1546
|
+
#
|
1547
|
+
# resp = client.list_on_premises_instances({
|
1548
|
+
# registration_status: "Registered", # accepts Registered, Deregistered
|
1549
|
+
# tag_filters: [
|
1550
|
+
# {
|
1551
|
+
# key: "Key",
|
1552
|
+
# value: "Value",
|
1553
|
+
# type: "KEY_ONLY", # accepts KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
|
1554
|
+
# },
|
1555
|
+
# ],
|
1556
|
+
# next_token: "NextToken",
|
1557
|
+
# })
|
1558
|
+
#
|
1559
|
+
# @example Response structure
|
1560
|
+
#
|
1561
|
+
# resp.instance_names #=> Array
|
1562
|
+
# resp.instance_names[0] #=> String
|
1563
|
+
# resp.next_token #=> String
|
1564
|
+
#
|
1565
|
+
# @overload list_on_premises_instances(params = {})
|
1566
|
+
# @param [Hash] params ({})
|
1567
|
+
def list_on_premises_instances(params = {}, options = {})
|
1568
|
+
req = build_request(:list_on_premises_instances, params)
|
1569
|
+
req.send_request(options)
|
1570
|
+
end
|
1456
1571
|
|
1457
|
-
|
1458
|
-
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
1464
|
-
|
1465
|
-
|
1466
|
-
|
1467
|
-
|
1468
|
-
|
1469
|
-
|
1470
|
-
|
1471
|
-
|
1472
|
-
|
1473
|
-
|
1474
|
-
|
1572
|
+
# Registers with AWS CodeDeploy a revision for the specified
|
1573
|
+
# application.
|
1574
|
+
#
|
1575
|
+
# @option params [required, String] :application_name
|
1576
|
+
# The name of an AWS CodeDeploy application associated with the
|
1577
|
+
# applicable IAM user or AWS account.
|
1578
|
+
#
|
1579
|
+
# @option params [String] :description
|
1580
|
+
# A comment about the revision.
|
1581
|
+
#
|
1582
|
+
# @option params [required, Types::RevisionLocation] :revision
|
1583
|
+
# Information about the application revision to register, including type
|
1584
|
+
# and location.
|
1585
|
+
#
|
1586
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1587
|
+
#
|
1588
|
+
# @example Request syntax with placeholder values
|
1589
|
+
#
|
1590
|
+
# resp = client.register_application_revision({
|
1591
|
+
# application_name: "ApplicationName", # required
|
1592
|
+
# description: "Description",
|
1593
|
+
# revision: { # required
|
1594
|
+
# revision_type: "S3", # accepts S3, GitHub
|
1595
|
+
# s3_location: {
|
1596
|
+
# bucket: "S3Bucket",
|
1597
|
+
# key: "S3Key",
|
1598
|
+
# bundle_type: "tar", # accepts tar, tgz, zip
|
1599
|
+
# version: "VersionId",
|
1600
|
+
# e_tag: "ETag",
|
1601
|
+
# },
|
1602
|
+
# git_hub_location: {
|
1603
|
+
# repository: "Repository",
|
1604
|
+
# commit_id: "CommitId",
|
1605
|
+
# },
|
1606
|
+
# },
|
1607
|
+
# })
|
1608
|
+
#
|
1609
|
+
# @overload register_application_revision(params = {})
|
1610
|
+
# @param [Hash] params ({})
|
1611
|
+
def register_application_revision(params = {}, options = {})
|
1612
|
+
req = build_request(:register_application_revision, params)
|
1613
|
+
req.send_request(options)
|
1614
|
+
end
|
1475
1615
|
|
1476
|
-
|
1477
|
-
|
1478
|
-
|
1479
|
-
|
1480
|
-
|
1481
|
-
|
1482
|
-
|
1483
|
-
|
1484
|
-
|
1485
|
-
|
1486
|
-
|
1487
|
-
|
1488
|
-
|
1489
|
-
|
1490
|
-
|
1491
|
-
|
1492
|
-
|
1493
|
-
|
1494
|
-
|
1495
|
-
|
1496
|
-
|
1497
|
-
|
1498
|
-
|
1616
|
+
# Registers an on-premises instance.
|
1617
|
+
#
|
1618
|
+
# <note markdown="1"> Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in
|
1619
|
+
# the request. You cannot use both.
|
1620
|
+
#
|
1621
|
+
# </note>
|
1622
|
+
#
|
1623
|
+
# @option params [required, String] :instance_name
|
1624
|
+
# The name of the on-premises instance to register.
|
1625
|
+
#
|
1626
|
+
# @option params [String] :iam_session_arn
|
1627
|
+
# The ARN of the IAM session to associate with the on-premises instance.
|
1628
|
+
#
|
1629
|
+
# @option params [String] :iam_user_arn
|
1630
|
+
# The ARN of the IAM user to associate with the on-premises instance.
|
1631
|
+
#
|
1632
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1633
|
+
#
|
1634
|
+
# @example Request syntax with placeholder values
|
1635
|
+
#
|
1636
|
+
# resp = client.register_on_premises_instance({
|
1637
|
+
# instance_name: "InstanceName", # required
|
1638
|
+
# iam_session_arn: "IamSessionArn",
|
1639
|
+
# iam_user_arn: "IamUserArn",
|
1640
|
+
# })
|
1641
|
+
#
|
1642
|
+
# @overload register_on_premises_instance(params = {})
|
1643
|
+
# @param [Hash] params ({})
|
1644
|
+
def register_on_premises_instance(params = {}, options = {})
|
1645
|
+
req = build_request(:register_on_premises_instance, params)
|
1646
|
+
req.send_request(options)
|
1647
|
+
end
|
1499
1648
|
|
1500
|
-
|
1501
|
-
|
1502
|
-
|
1503
|
-
|
1504
|
-
|
1505
|
-
|
1506
|
-
|
1507
|
-
|
1508
|
-
|
1509
|
-
|
1510
|
-
|
1511
|
-
|
1512
|
-
|
1513
|
-
|
1514
|
-
|
1515
|
-
|
1516
|
-
|
1517
|
-
|
1518
|
-
|
1519
|
-
|
1520
|
-
|
1521
|
-
|
1522
|
-
|
1523
|
-
|
1524
|
-
|
1525
|
-
|
1526
|
-
|
1649
|
+
# Removes one or more tags from one or more on-premises instances.
|
1650
|
+
#
|
1651
|
+
# @option params [required, Array<Types::Tag>] :tags
|
1652
|
+
# The tag key-value pairs to remove from the on-premises instances.
|
1653
|
+
#
|
1654
|
+
# @option params [required, Array<String>] :instance_names
|
1655
|
+
# The names of the on-premises instances from which to remove tags.
|
1656
|
+
#
|
1657
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1658
|
+
#
|
1659
|
+
# @example Request syntax with placeholder values
|
1660
|
+
#
|
1661
|
+
# resp = client.remove_tags_from_on_premises_instances({
|
1662
|
+
# tags: [ # required
|
1663
|
+
# {
|
1664
|
+
# key: "Key",
|
1665
|
+
# value: "Value",
|
1666
|
+
# },
|
1667
|
+
# ],
|
1668
|
+
# instance_names: ["InstanceName"], # required
|
1669
|
+
# })
|
1670
|
+
#
|
1671
|
+
# @overload remove_tags_from_on_premises_instances(params = {})
|
1672
|
+
# @param [Hash] params ({})
|
1673
|
+
def remove_tags_from_on_premises_instances(params = {}, options = {})
|
1674
|
+
req = build_request(:remove_tags_from_on_premises_instances, params)
|
1675
|
+
req.send_request(options)
|
1676
|
+
end
|
1527
1677
|
|
1528
|
-
|
1529
|
-
|
1530
|
-
|
1531
|
-
|
1532
|
-
|
1533
|
-
|
1534
|
-
|
1535
|
-
|
1536
|
-
|
1537
|
-
|
1538
|
-
|
1539
|
-
|
1540
|
-
|
1541
|
-
|
1542
|
-
|
1543
|
-
|
1544
|
-
|
1545
|
-
|
1678
|
+
# Attempts to stop an ongoing deployment.
|
1679
|
+
#
|
1680
|
+
# @option params [required, String] :deployment_id
|
1681
|
+
# The unique ID of a deployment.
|
1682
|
+
#
|
1683
|
+
# @option params [Boolean] :auto_rollback_enabled
|
1684
|
+
# Indicates, when a deployment is stopped, whether instances that have
|
1685
|
+
# been updated should be rolled back to the previous version of the
|
1686
|
+
# application revision.
|
1687
|
+
#
|
1688
|
+
# @return [Types::StopDeploymentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1689
|
+
#
|
1690
|
+
# * {Types::StopDeploymentOutput#status #status} => String
|
1691
|
+
# * {Types::StopDeploymentOutput#status_message #status_message} => String
|
1692
|
+
#
|
1693
|
+
# @example Request syntax with placeholder values
|
1694
|
+
#
|
1695
|
+
# resp = client.stop_deployment({
|
1696
|
+
# deployment_id: "DeploymentId", # required
|
1697
|
+
# auto_rollback_enabled: false,
|
1698
|
+
# })
|
1699
|
+
#
|
1700
|
+
# @example Response structure
|
1701
|
+
#
|
1702
|
+
# resp.status #=> String, one of "Pending", "Succeeded"
|
1703
|
+
# resp.status_message #=> String
|
1704
|
+
#
|
1705
|
+
# @overload stop_deployment(params = {})
|
1706
|
+
# @param [Hash] params ({})
|
1707
|
+
def stop_deployment(params = {}, options = {})
|
1708
|
+
req = build_request(:stop_deployment, params)
|
1709
|
+
req.send_request(options)
|
1710
|
+
end
|
1546
1711
|
|
1547
|
-
|
1548
|
-
|
1549
|
-
|
1550
|
-
|
1551
|
-
|
1552
|
-
|
1553
|
-
|
1554
|
-
|
1555
|
-
|
1556
|
-
|
1557
|
-
|
1558
|
-
|
1559
|
-
|
1560
|
-
|
1561
|
-
|
1562
|
-
|
1563
|
-
|
1564
|
-
|
1565
|
-
|
1566
|
-
|
1567
|
-
|
1568
|
-
|
1569
|
-
|
1570
|
-
# @option params [String] :service_role_arn
|
1571
|
-
# A replacement ARN for the service role, if you want to change it.
|
1572
|
-
# @option params [Array<Types::TriggerConfig>] :trigger_configurations
|
1573
|
-
# Information about triggers to change when the deployment group is
|
1574
|
-
# updated. For examples, see [Modify Triggers in an AWS CodeDeploy
|
1575
|
-
# Deployment Group][1] in the AWS CodeDeploy User Guide.
|
1576
|
-
#
|
1577
|
-
#
|
1578
|
-
#
|
1579
|
-
# [1]: http://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-edit.html
|
1580
|
-
# @option params [Types::AlarmConfiguration] :alarm_configuration
|
1581
|
-
# Information to add or change about Amazon CloudWatch alarms when the
|
1582
|
-
# deployment group is updated.
|
1583
|
-
# @option params [Types::AutoRollbackConfiguration] :auto_rollback_configuration
|
1584
|
-
# Information for an automatic rollback configuration that is added or
|
1585
|
-
# changed when a deployment group is updated.
|
1586
|
-
# @return [Types::UpdateDeploymentGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1587
|
-
#
|
1588
|
-
# * {Types::UpdateDeploymentGroupOutput#hooks_not_cleaned_up #hooksNotCleanedUp} => Array<Types::AutoScalingGroup>
|
1589
|
-
#
|
1590
|
-
# @example Request syntax with placeholder values
|
1591
|
-
# resp = client.update_deployment_group({
|
1592
|
-
# application_name: "ApplicationName", # required
|
1593
|
-
# current_deployment_group_name: "DeploymentGroupName", # required
|
1594
|
-
# new_deployment_group_name: "DeploymentGroupName",
|
1595
|
-
# deployment_config_name: "DeploymentConfigName",
|
1596
|
-
# ec2_tag_filters: [
|
1597
|
-
# {
|
1598
|
-
# key: "Key",
|
1599
|
-
# value: "Value",
|
1600
|
-
# type: "KEY_ONLY", # accepts KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
|
1601
|
-
# },
|
1602
|
-
# ],
|
1603
|
-
# on_premises_instance_tag_filters: [
|
1604
|
-
# {
|
1605
|
-
# key: "Key",
|
1606
|
-
# value: "Value",
|
1607
|
-
# type: "KEY_ONLY", # accepts KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
|
1608
|
-
# },
|
1609
|
-
# ],
|
1610
|
-
# auto_scaling_groups: ["AutoScalingGroupName"],
|
1611
|
-
# service_role_arn: "Role",
|
1612
|
-
# trigger_configurations: [
|
1613
|
-
# {
|
1614
|
-
# trigger_name: "TriggerName",
|
1615
|
-
# trigger_target_arn: "TriggerTargetArn",
|
1616
|
-
# trigger_events: ["DeploymentStart"], # accepts DeploymentStart, DeploymentSuccess, DeploymentFailure, DeploymentStop, DeploymentRollback, InstanceStart, InstanceSuccess, InstanceFailure
|
1617
|
-
# },
|
1618
|
-
# ],
|
1619
|
-
# alarm_configuration: {
|
1620
|
-
# enabled: false,
|
1621
|
-
# ignore_poll_alarm_failure: false,
|
1622
|
-
# alarms: [
|
1623
|
-
# {
|
1624
|
-
# name: "AlarmName",
|
1625
|
-
# },
|
1626
|
-
# ],
|
1627
|
-
# },
|
1628
|
-
# auto_rollback_configuration: {
|
1629
|
-
# enabled: false,
|
1630
|
-
# events: ["DEPLOYMENT_FAILURE"], # accepts DEPLOYMENT_FAILURE, DEPLOYMENT_STOP_ON_ALARM, DEPLOYMENT_STOP_ON_REQUEST
|
1631
|
-
# },
|
1632
|
-
# })
|
1633
|
-
#
|
1634
|
-
# @example Response structure
|
1635
|
-
# resp.hooks_not_cleaned_up #=> Array
|
1636
|
-
# resp.hooks_not_cleaned_up[0].name #=> String
|
1637
|
-
# resp.hooks_not_cleaned_up[0].hook #=> String
|
1638
|
-
# @overload update_deployment_group(params = {})
|
1639
|
-
# @param [Hash] params ({})
|
1640
|
-
def update_deployment_group(params = {}, options = {})
|
1641
|
-
req = build_request(:update_deployment_group, params)
|
1642
|
-
req.send_request(options)
|
1643
|
-
end
|
1712
|
+
# Changes the name of an application.
|
1713
|
+
#
|
1714
|
+
# @option params [String] :application_name
|
1715
|
+
# The current name of the application you want to change.
|
1716
|
+
#
|
1717
|
+
# @option params [String] :new_application_name
|
1718
|
+
# The new name to give the application.
|
1719
|
+
#
|
1720
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1721
|
+
#
|
1722
|
+
# @example Request syntax with placeholder values
|
1723
|
+
#
|
1724
|
+
# resp = client.update_application({
|
1725
|
+
# application_name: "ApplicationName",
|
1726
|
+
# new_application_name: "ApplicationName",
|
1727
|
+
# })
|
1728
|
+
#
|
1729
|
+
# @overload update_application(params = {})
|
1730
|
+
# @param [Hash] params ({})
|
1731
|
+
def update_application(params = {}, options = {})
|
1732
|
+
req = build_request(:update_application, params)
|
1733
|
+
req.send_request(options)
|
1734
|
+
end
|
1644
1735
|
|
1645
|
-
|
1736
|
+
# Changes information about a deployment group.
|
1737
|
+
#
|
1738
|
+
# @option params [required, String] :application_name
|
1739
|
+
# The application name corresponding to the deployment group to update.
|
1740
|
+
#
|
1741
|
+
# @option params [required, String] :current_deployment_group_name
|
1742
|
+
# The current name of the deployment group.
|
1743
|
+
#
|
1744
|
+
# @option params [String] :new_deployment_group_name
|
1745
|
+
# The new name of the deployment group, if you want to change it.
|
1746
|
+
#
|
1747
|
+
# @option params [String] :deployment_config_name
|
1748
|
+
# The replacement deployment configuration name to use, if you want to
|
1749
|
+
# change it.
|
1750
|
+
#
|
1751
|
+
# @option params [Array<Types::EC2TagFilter>] :ec2_tag_filters
|
1752
|
+
# The replacement set of Amazon EC2 tags on which to filter, if you want
|
1753
|
+
# to change them. To keep the existing tags, enter their names. To
|
1754
|
+
# remove tags, do not enter any tag names.
|
1755
|
+
#
|
1756
|
+
# @option params [Array<Types::TagFilter>] :on_premises_instance_tag_filters
|
1757
|
+
# The replacement set of on-premises instance tags on which to filter,
|
1758
|
+
# if you want to change them. To keep the existing tags, enter their
|
1759
|
+
# names. To remove tags, do not enter any tag names.
|
1760
|
+
#
|
1761
|
+
# @option params [Array<String>] :auto_scaling_groups
|
1762
|
+
# The replacement list of Auto Scaling groups to be included in the
|
1763
|
+
# deployment group, if you want to change them. To keep the Auto Scaling
|
1764
|
+
# groups, enter their names. To remove Auto Scaling groups, do not enter
|
1765
|
+
# any Auto Scaling group names.
|
1766
|
+
#
|
1767
|
+
# @option params [String] :service_role_arn
|
1768
|
+
# A replacement ARN for the service role, if you want to change it.
|
1769
|
+
#
|
1770
|
+
# @option params [Array<Types::TriggerConfig>] :trigger_configurations
|
1771
|
+
# Information about triggers to change when the deployment group is
|
1772
|
+
# updated. For examples, see [Modify Triggers in an AWS CodeDeploy
|
1773
|
+
# Deployment Group][1] in the AWS CodeDeploy User Guide.
|
1774
|
+
#
|
1775
|
+
#
|
1776
|
+
#
|
1777
|
+
# [1]: http://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-notify-edit.html
|
1778
|
+
#
|
1779
|
+
# @option params [Types::AlarmConfiguration] :alarm_configuration
|
1780
|
+
# Information to add or change about Amazon CloudWatch alarms when the
|
1781
|
+
# deployment group is updated.
|
1782
|
+
#
|
1783
|
+
# @option params [Types::AutoRollbackConfiguration] :auto_rollback_configuration
|
1784
|
+
# Information for an automatic rollback configuration that is added or
|
1785
|
+
# changed when a deployment group is updated.
|
1786
|
+
#
|
1787
|
+
# @return [Types::UpdateDeploymentGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1788
|
+
#
|
1789
|
+
# * {Types::UpdateDeploymentGroupOutput#hooks_not_cleaned_up #hooks_not_cleaned_up} => Array<Types::AutoScalingGroup>
|
1790
|
+
#
|
1791
|
+
# @example Request syntax with placeholder values
|
1792
|
+
#
|
1793
|
+
# resp = client.update_deployment_group({
|
1794
|
+
# application_name: "ApplicationName", # required
|
1795
|
+
# current_deployment_group_name: "DeploymentGroupName", # required
|
1796
|
+
# new_deployment_group_name: "DeploymentGroupName",
|
1797
|
+
# deployment_config_name: "DeploymentConfigName",
|
1798
|
+
# ec2_tag_filters: [
|
1799
|
+
# {
|
1800
|
+
# key: "Key",
|
1801
|
+
# value: "Value",
|
1802
|
+
# type: "KEY_ONLY", # accepts KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
|
1803
|
+
# },
|
1804
|
+
# ],
|
1805
|
+
# on_premises_instance_tag_filters: [
|
1806
|
+
# {
|
1807
|
+
# key: "Key",
|
1808
|
+
# value: "Value",
|
1809
|
+
# type: "KEY_ONLY", # accepts KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
|
1810
|
+
# },
|
1811
|
+
# ],
|
1812
|
+
# auto_scaling_groups: ["AutoScalingGroupName"],
|
1813
|
+
# service_role_arn: "Role",
|
1814
|
+
# trigger_configurations: [
|
1815
|
+
# {
|
1816
|
+
# trigger_name: "TriggerName",
|
1817
|
+
# trigger_target_arn: "TriggerTargetArn",
|
1818
|
+
# trigger_events: ["DeploymentStart"], # accepts DeploymentStart, DeploymentSuccess, DeploymentFailure, DeploymentStop, DeploymentRollback, InstanceStart, InstanceSuccess, InstanceFailure
|
1819
|
+
# },
|
1820
|
+
# ],
|
1821
|
+
# alarm_configuration: {
|
1822
|
+
# enabled: false,
|
1823
|
+
# ignore_poll_alarm_failure: false,
|
1824
|
+
# alarms: [
|
1825
|
+
# {
|
1826
|
+
# name: "AlarmName",
|
1827
|
+
# },
|
1828
|
+
# ],
|
1829
|
+
# },
|
1830
|
+
# auto_rollback_configuration: {
|
1831
|
+
# enabled: false,
|
1832
|
+
# events: ["DEPLOYMENT_FAILURE"], # accepts DEPLOYMENT_FAILURE, DEPLOYMENT_STOP_ON_ALARM, DEPLOYMENT_STOP_ON_REQUEST
|
1833
|
+
# },
|
1834
|
+
# })
|
1835
|
+
#
|
1836
|
+
# @example Response structure
|
1837
|
+
#
|
1838
|
+
# resp.hooks_not_cleaned_up #=> Array
|
1839
|
+
# resp.hooks_not_cleaned_up[0].name #=> String
|
1840
|
+
# resp.hooks_not_cleaned_up[0].hook #=> String
|
1841
|
+
#
|
1842
|
+
# @overload update_deployment_group(params = {})
|
1843
|
+
# @param [Hash] params ({})
|
1844
|
+
def update_deployment_group(params = {}, options = {})
|
1845
|
+
req = build_request(:update_deployment_group, params)
|
1846
|
+
req.send_request(options)
|
1847
|
+
end
|
1646
1848
|
|
1647
|
-
|
1648
|
-
# @api private
|
1649
|
-
def build_request(operation_name, params = {})
|
1650
|
-
handlers = @handlers.for(operation_name)
|
1651
|
-
context = Seahorse::Client::RequestContext.new(
|
1652
|
-
operation_name: operation_name,
|
1653
|
-
operation: config.api.operation(operation_name),
|
1654
|
-
client: self,
|
1655
|
-
params: params,
|
1656
|
-
config: config)
|
1657
|
-
context[:gem_name] = 'aws-sdk-codedeploy'
|
1658
|
-
context[:gem_version] = '1.0.0.rc1'
|
1659
|
-
Seahorse::Client::Request.new(handlers, context)
|
1660
|
-
end
|
1849
|
+
# @!endgroup
|
1661
1850
|
|
1662
|
-
|
1663
|
-
|
1664
|
-
|
1665
|
-
|
1666
|
-
|
1667
|
-
|
1668
|
-
|
1669
|
-
|
1670
|
-
|
1671
|
-
|
1672
|
-
|
1673
|
-
|
1674
|
-
|
1675
|
-
|
1676
|
-
#
|
1677
|
-
# ## Configuration
|
1678
|
-
#
|
1679
|
-
# You can configure the maximum number of polling attempts, and the
|
1680
|
-
# delay (in seconds) between each polling attempt. You can pass
|
1681
|
-
# configuration as the final arguments hash.
|
1682
|
-
#
|
1683
|
-
# # poll for ~25 seconds
|
1684
|
-
# client.wait_until(waiter_name, params, {
|
1685
|
-
# max_attempts: 5,
|
1686
|
-
# delay: 5,
|
1687
|
-
# })
|
1688
|
-
#
|
1689
|
-
# ## Callbacks
|
1690
|
-
#
|
1691
|
-
# You can be notified before each polling attempt and before each
|
1692
|
-
# delay. If you throw `:success` or `:failure` from these callbacks,
|
1693
|
-
# it will terminate the waiter.
|
1694
|
-
#
|
1695
|
-
# started_at = Time.now
|
1696
|
-
# client.wait_until(waiter_name, params, {
|
1697
|
-
#
|
1698
|
-
# # disable max attempts
|
1699
|
-
# max_attempts: nil,
|
1700
|
-
#
|
1701
|
-
# # poll for 1 hour, instead of a number of attempts
|
1702
|
-
# before_wait: -> (attempts, response) do
|
1703
|
-
# throw :failure if Time.now - started_at > 3600
|
1704
|
-
# end
|
1705
|
-
# })
|
1706
|
-
#
|
1707
|
-
# ## Handling Errors
|
1708
|
-
#
|
1709
|
-
# When a waiter is unsuccessful, it will raise an error.
|
1710
|
-
# All of the failure errors extend from
|
1711
|
-
# {Aws::Waiters::Errors::WaiterFailed}.
|
1712
|
-
#
|
1713
|
-
# begin
|
1714
|
-
# client.wait_until(...)
|
1715
|
-
# rescue Aws::Waiters::Errors::WaiterFailed
|
1716
|
-
# # resource did not enter the desired state in time
|
1717
|
-
# end
|
1718
|
-
#
|
1719
|
-
# ## Valid Waiters
|
1720
|
-
#
|
1721
|
-
# The following table lists the valid waiter names, the operations they call,
|
1722
|
-
# and the default `:delay` and `:max_attempts` values.
|
1723
|
-
#
|
1724
|
-
# | waiter_name | params | :delay | :max_attempts |
|
1725
|
-
# | --------------------- | ----------------- | -------- | ------------- |
|
1726
|
-
# | deployment_successful | {#get_deployment} | 15 | 120 |
|
1727
|
-
#
|
1728
|
-
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
1729
|
-
# because the waiter has entered a state that it will not transition
|
1730
|
-
# out of, preventing success.
|
1731
|
-
#
|
1732
|
-
# @raise [Errors::TooManyAttemptsError] Raised when the configured
|
1733
|
-
# maximum number of attempts have been made, and the waiter is not
|
1734
|
-
# yet successful.
|
1735
|
-
#
|
1736
|
-
# @raise [Errors::UnexpectedError] Raised when an error is encounted
|
1737
|
-
# while polling for a resource that is not expected.
|
1738
|
-
#
|
1739
|
-
# @raise [Errors::NoSuchWaiterError] Raised when you request to wait
|
1740
|
-
# for an unknown state.
|
1741
|
-
#
|
1742
|
-
# @return [Boolean] Returns `true` if the waiter was successful.
|
1743
|
-
# @param [Symbol] waiter_name
|
1744
|
-
# @param [Hash] params ({})
|
1745
|
-
# @param [Hash] options ({})
|
1746
|
-
# @option options [Integer] :max_attempts
|
1747
|
-
# @option options [Integer] :delay
|
1748
|
-
# @option options [Proc] :before_attempt
|
1749
|
-
# @option options [Proc] :before_wait
|
1750
|
-
def wait_until(waiter_name, params = {}, options = {})
|
1751
|
-
w = waiter(waiter_name, options)
|
1752
|
-
yield(w.waiter) if block_given? # deprecated
|
1753
|
-
w.wait(params)
|
1754
|
-
end
|
1851
|
+
# @param params ({})
|
1852
|
+
# @api private
|
1853
|
+
def build_request(operation_name, params = {})
|
1854
|
+
handlers = @handlers.for(operation_name)
|
1855
|
+
context = Seahorse::Client::RequestContext.new(
|
1856
|
+
operation_name: operation_name,
|
1857
|
+
operation: config.api.operation(operation_name),
|
1858
|
+
client: self,
|
1859
|
+
params: params,
|
1860
|
+
config: config)
|
1861
|
+
context[:gem_name] = 'aws-sdk-codedeploy'
|
1862
|
+
context[:gem_version] = '1.0.0.rc1'
|
1863
|
+
Seahorse::Client::Request.new(handlers, context)
|
1864
|
+
end
|
1755
1865
|
|
1756
|
-
|
1757
|
-
|
1758
|
-
|
1759
|
-
|
1760
|
-
|
1866
|
+
# Polls an API operation until a resource enters a desired state.
|
1867
|
+
#
|
1868
|
+
# ## Basic Usage
|
1869
|
+
#
|
1870
|
+
# A waiter will call an API operation until:
|
1871
|
+
#
|
1872
|
+
# * It is successful
|
1873
|
+
# * It enters a terminal state
|
1874
|
+
# * It makes the maximum number of attempts
|
1875
|
+
#
|
1876
|
+
# In between attempts, the waiter will sleep.
|
1877
|
+
#
|
1878
|
+
# # polls in a loop, sleeping between attempts
|
1879
|
+
# client.waiter_until(waiter_name, params)
|
1880
|
+
#
|
1881
|
+
# ## Configuration
|
1882
|
+
#
|
1883
|
+
# You can configure the maximum number of polling attempts, and the
|
1884
|
+
# delay (in seconds) between each polling attempt. You can pass
|
1885
|
+
# configuration as the final arguments hash.
|
1886
|
+
#
|
1887
|
+
# # poll for ~25 seconds
|
1888
|
+
# client.wait_until(waiter_name, params, {
|
1889
|
+
# max_attempts: 5,
|
1890
|
+
# delay: 5,
|
1891
|
+
# })
|
1892
|
+
#
|
1893
|
+
# ## Callbacks
|
1894
|
+
#
|
1895
|
+
# You can be notified before each polling attempt and before each
|
1896
|
+
# delay. If you throw `:success` or `:failure` from these callbacks,
|
1897
|
+
# it will terminate the waiter.
|
1898
|
+
#
|
1899
|
+
# started_at = Time.now
|
1900
|
+
# client.wait_until(waiter_name, params, {
|
1901
|
+
#
|
1902
|
+
# # disable max attempts
|
1903
|
+
# max_attempts: nil,
|
1904
|
+
#
|
1905
|
+
# # poll for 1 hour, instead of a number of attempts
|
1906
|
+
# before_wait: -> (attempts, response) do
|
1907
|
+
# throw :failure if Time.now - started_at > 3600
|
1908
|
+
# end
|
1909
|
+
# })
|
1910
|
+
#
|
1911
|
+
# ## Handling Errors
|
1912
|
+
#
|
1913
|
+
# When a waiter is unsuccessful, it will raise an error.
|
1914
|
+
# All of the failure errors extend from
|
1915
|
+
# {Aws::Waiters::Errors::WaiterFailed}.
|
1916
|
+
#
|
1917
|
+
# begin
|
1918
|
+
# client.wait_until(...)
|
1919
|
+
# rescue Aws::Waiters::Errors::WaiterFailed
|
1920
|
+
# # resource did not enter the desired state in time
|
1921
|
+
# end
|
1922
|
+
#
|
1923
|
+
# ## Valid Waiters
|
1924
|
+
#
|
1925
|
+
# The following table lists the valid waiter names, the operations they call,
|
1926
|
+
# and the default `:delay` and `:max_attempts` values.
|
1927
|
+
#
|
1928
|
+
# | waiter_name | params | :delay | :max_attempts |
|
1929
|
+
# | --------------------- | ----------------- | -------- | ------------- |
|
1930
|
+
# | deployment_successful | {#get_deployment} | 15 | 120 |
|
1931
|
+
#
|
1932
|
+
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
1933
|
+
# because the waiter has entered a state that it will not transition
|
1934
|
+
# out of, preventing success.
|
1935
|
+
#
|
1936
|
+
# @raise [Errors::TooManyAttemptsError] Raised when the configured
|
1937
|
+
# maximum number of attempts have been made, and the waiter is not
|
1938
|
+
# yet successful.
|
1939
|
+
#
|
1940
|
+
# @raise [Errors::UnexpectedError] Raised when an error is encounted
|
1941
|
+
# while polling for a resource that is not expected.
|
1942
|
+
#
|
1943
|
+
# @raise [Errors::NoSuchWaiterError] Raised when you request to wait
|
1944
|
+
# for an unknown state.
|
1945
|
+
#
|
1946
|
+
# @return [Boolean] Returns `true` if the waiter was successful.
|
1947
|
+
# @param [Symbol] waiter_name
|
1948
|
+
# @param [Hash] params ({})
|
1949
|
+
# @param [Hash] options ({})
|
1950
|
+
# @option options [Integer] :max_attempts
|
1951
|
+
# @option options [Integer] :delay
|
1952
|
+
# @option options [Proc] :before_attempt
|
1953
|
+
# @option options [Proc] :before_wait
|
1954
|
+
def wait_until(waiter_name, params = {}, options = {})
|
1955
|
+
w = waiter(waiter_name, options)
|
1956
|
+
yield(w.waiter) if block_given? # deprecated
|
1957
|
+
w.wait(params)
|
1958
|
+
end
|
1761
1959
|
|
1762
|
-
|
1960
|
+
# @api private
|
1961
|
+
# @deprecated
|
1962
|
+
def waiter_names
|
1963
|
+
waiters.keys
|
1964
|
+
end
|
1763
1965
|
|
1764
|
-
|
1765
|
-
# @param [Hash] options ({})
|
1766
|
-
def waiter(waiter_name, options = {})
|
1767
|
-
waiter_class = waiters[waiter_name]
|
1768
|
-
if waiter_class
|
1769
|
-
waiter_class.new(options.merge(client: self))
|
1770
|
-
else
|
1771
|
-
raise Aws::Waiters::Errors::NoSuchWaiterError.new(waiter_name, waiters.keys)
|
1772
|
-
end
|
1773
|
-
end
|
1966
|
+
private
|
1774
1967
|
|
1775
|
-
|
1776
|
-
|
1777
|
-
|
1778
|
-
|
1968
|
+
# @param [Symbol] waiter_name
|
1969
|
+
# @param [Hash] options ({})
|
1970
|
+
def waiter(waiter_name, options = {})
|
1971
|
+
waiter_class = waiters[waiter_name]
|
1972
|
+
if waiter_class
|
1973
|
+
waiter_class.new(options.merge(client: self))
|
1974
|
+
else
|
1975
|
+
raise Aws::Waiters::Errors::NoSuchWaiterError.new(waiter_name, waiters.keys)
|
1779
1976
|
end
|
1977
|
+
end
|
1780
1978
|
|
1781
|
-
|
1979
|
+
def waiters
|
1980
|
+
{
|
1981
|
+
deployment_successful: Waiters::DeploymentSuccessful
|
1982
|
+
}
|
1983
|
+
end
|
1782
1984
|
|
1783
|
-
|
1784
|
-
attr_reader :identifier
|
1985
|
+
class << self
|
1785
1986
|
|
1786
|
-
|
1787
|
-
|
1788
|
-
Errors
|
1789
|
-
end
|
1987
|
+
# @api private
|
1988
|
+
attr_reader :identifier
|
1790
1989
|
|
1990
|
+
# @api private
|
1991
|
+
def errors_module
|
1992
|
+
Errors
|
1791
1993
|
end
|
1994
|
+
|
1792
1995
|
end
|
1793
1996
|
end
|
1794
1997
|
end
|