aws-sdk-codedeploy 1.62.0 → 1.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codedeploy/client.rb +92 -13
- data/lib/aws-sdk-codedeploy/client_api.rb +30 -5
- data/lib/aws-sdk-codedeploy/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-codedeploy/errors.rb +11 -0
- data/lib/aws-sdk-codedeploy/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-codedeploy/types.rb +223 -9
- data/lib/aws-sdk-codedeploy.rb +1 -1
- data/sig/client.rbs +984 -0
- data/sig/errors.rbs +242 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +1336 -0
- data/sig/waiters.rbs +23 -0
- metadata +13 -8
data/sig/client.rbs
ADDED
@@ -0,0 +1,984 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module CodeDeploy
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?simple_json: bool,
|
52
|
+
?stub_responses: untyped,
|
53
|
+
?token_provider: untyped,
|
54
|
+
?use_dualstack_endpoint: bool,
|
55
|
+
?use_fips_endpoint: bool,
|
56
|
+
?validate_params: bool,
|
57
|
+
?endpoint_provider: untyped,
|
58
|
+
?http_proxy: String,
|
59
|
+
?http_open_timeout: (Float | Integer),
|
60
|
+
?http_read_timeout: (Float | Integer),
|
61
|
+
?http_idle_timeout: (Float | Integer),
|
62
|
+
?http_continue_timeout: (Float | Integer),
|
63
|
+
?ssl_timeout: (Float | Integer | nil),
|
64
|
+
?http_wire_trace: bool,
|
65
|
+
?ssl_verify_peer: bool,
|
66
|
+
?ssl_ca_bundle: String,
|
67
|
+
?ssl_ca_directory: String,
|
68
|
+
?ssl_ca_store: String,
|
69
|
+
?on_chunk_received: Proc,
|
70
|
+
?on_chunk_sent: Proc,
|
71
|
+
?raise_response_errors: bool
|
72
|
+
) -> instance
|
73
|
+
| (?Hash[Symbol, untyped]) -> instance
|
74
|
+
|
75
|
+
|
76
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#add_tags_to_on_premises_instances-instance_method
|
77
|
+
def add_tags_to_on_premises_instances: (
|
78
|
+
tags: Array[
|
79
|
+
{
|
80
|
+
key: ::String?,
|
81
|
+
value: ::String?
|
82
|
+
},
|
83
|
+
],
|
84
|
+
instance_names: Array[::String]
|
85
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
86
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
87
|
+
|
88
|
+
interface _BatchGetApplicationRevisionsResponseSuccess
|
89
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetApplicationRevisionsOutput]
|
90
|
+
def application_name: () -> ::String
|
91
|
+
def error_message: () -> ::String
|
92
|
+
def revisions: () -> ::Array[Types::RevisionInfo]
|
93
|
+
end
|
94
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#batch_get_application_revisions-instance_method
|
95
|
+
def batch_get_application_revisions: (
|
96
|
+
application_name: ::String,
|
97
|
+
revisions: Array[
|
98
|
+
{
|
99
|
+
revision_type: ("S3" | "GitHub" | "String" | "AppSpecContent")?,
|
100
|
+
s3_location: {
|
101
|
+
bucket: ::String?,
|
102
|
+
key: ::String?,
|
103
|
+
bundle_type: ("tar" | "tgz" | "zip" | "YAML" | "JSON")?,
|
104
|
+
version: ::String?,
|
105
|
+
e_tag: ::String?
|
106
|
+
}?,
|
107
|
+
git_hub_location: {
|
108
|
+
repository: ::String?,
|
109
|
+
commit_id: ::String?
|
110
|
+
}?,
|
111
|
+
string: {
|
112
|
+
content: ::String?,
|
113
|
+
sha256: ::String?
|
114
|
+
}?,
|
115
|
+
app_spec_content: {
|
116
|
+
content: ::String?,
|
117
|
+
sha256: ::String?
|
118
|
+
}?
|
119
|
+
},
|
120
|
+
]
|
121
|
+
) -> _BatchGetApplicationRevisionsResponseSuccess
|
122
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetApplicationRevisionsResponseSuccess
|
123
|
+
|
124
|
+
interface _BatchGetApplicationsResponseSuccess
|
125
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetApplicationsOutput]
|
126
|
+
def applications_info: () -> ::Array[Types::ApplicationInfo]
|
127
|
+
end
|
128
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#batch_get_applications-instance_method
|
129
|
+
def batch_get_applications: (
|
130
|
+
application_names: Array[::String]
|
131
|
+
) -> _BatchGetApplicationsResponseSuccess
|
132
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetApplicationsResponseSuccess
|
133
|
+
|
134
|
+
interface _BatchGetDeploymentGroupsResponseSuccess
|
135
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetDeploymentGroupsOutput]
|
136
|
+
def deployment_groups_info: () -> ::Array[Types::DeploymentGroupInfo]
|
137
|
+
def error_message: () -> ::String
|
138
|
+
end
|
139
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#batch_get_deployment_groups-instance_method
|
140
|
+
def batch_get_deployment_groups: (
|
141
|
+
application_name: ::String,
|
142
|
+
deployment_group_names: Array[::String]
|
143
|
+
) -> _BatchGetDeploymentGroupsResponseSuccess
|
144
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetDeploymentGroupsResponseSuccess
|
145
|
+
|
146
|
+
interface _BatchGetDeploymentInstancesResponseSuccess
|
147
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetDeploymentInstancesOutput]
|
148
|
+
def instances_summary: () -> ::Array[Types::InstanceSummary]
|
149
|
+
def error_message: () -> ::String
|
150
|
+
end
|
151
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#batch_get_deployment_instances-instance_method
|
152
|
+
def batch_get_deployment_instances: (
|
153
|
+
deployment_id: ::String,
|
154
|
+
instance_ids: Array[::String]
|
155
|
+
) -> _BatchGetDeploymentInstancesResponseSuccess
|
156
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetDeploymentInstancesResponseSuccess
|
157
|
+
|
158
|
+
interface _BatchGetDeploymentTargetsResponseSuccess
|
159
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetDeploymentTargetsOutput]
|
160
|
+
def deployment_targets: () -> ::Array[Types::DeploymentTarget]
|
161
|
+
end
|
162
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#batch_get_deployment_targets-instance_method
|
163
|
+
def batch_get_deployment_targets: (
|
164
|
+
deployment_id: ::String,
|
165
|
+
target_ids: Array[::String]
|
166
|
+
) -> _BatchGetDeploymentTargetsResponseSuccess
|
167
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetDeploymentTargetsResponseSuccess
|
168
|
+
|
169
|
+
interface _BatchGetDeploymentsResponseSuccess
|
170
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetDeploymentsOutput]
|
171
|
+
def deployments_info: () -> ::Array[Types::DeploymentInfo]
|
172
|
+
end
|
173
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#batch_get_deployments-instance_method
|
174
|
+
def batch_get_deployments: (
|
175
|
+
deployment_ids: Array[::String]
|
176
|
+
) -> _BatchGetDeploymentsResponseSuccess
|
177
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetDeploymentsResponseSuccess
|
178
|
+
|
179
|
+
interface _BatchGetOnPremisesInstancesResponseSuccess
|
180
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetOnPremisesInstancesOutput]
|
181
|
+
def instance_infos: () -> ::Array[Types::InstanceInfo]
|
182
|
+
end
|
183
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#batch_get_on_premises_instances-instance_method
|
184
|
+
def batch_get_on_premises_instances: (
|
185
|
+
instance_names: Array[::String]
|
186
|
+
) -> _BatchGetOnPremisesInstancesResponseSuccess
|
187
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetOnPremisesInstancesResponseSuccess
|
188
|
+
|
189
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#continue_deployment-instance_method
|
190
|
+
def continue_deployment: (
|
191
|
+
?deployment_id: ::String,
|
192
|
+
?deployment_wait_type: ("READY_WAIT" | "TERMINATION_WAIT")
|
193
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
194
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
195
|
+
|
196
|
+
interface _CreateApplicationResponseSuccess
|
197
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateApplicationOutput]
|
198
|
+
def application_id: () -> ::String
|
199
|
+
end
|
200
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#create_application-instance_method
|
201
|
+
def create_application: (
|
202
|
+
application_name: ::String,
|
203
|
+
?compute_platform: ("Server" | "Lambda" | "ECS"),
|
204
|
+
?tags: Array[
|
205
|
+
{
|
206
|
+
key: ::String?,
|
207
|
+
value: ::String?
|
208
|
+
},
|
209
|
+
]
|
210
|
+
) -> _CreateApplicationResponseSuccess
|
211
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateApplicationResponseSuccess
|
212
|
+
|
213
|
+
interface _CreateDeploymentResponseSuccess
|
214
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateDeploymentOutput]
|
215
|
+
def deployment_id: () -> ::String
|
216
|
+
end
|
217
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#create_deployment-instance_method
|
218
|
+
def create_deployment: (
|
219
|
+
application_name: ::String,
|
220
|
+
?deployment_group_name: ::String,
|
221
|
+
?revision: {
|
222
|
+
revision_type: ("S3" | "GitHub" | "String" | "AppSpecContent")?,
|
223
|
+
s3_location: {
|
224
|
+
bucket: ::String?,
|
225
|
+
key: ::String?,
|
226
|
+
bundle_type: ("tar" | "tgz" | "zip" | "YAML" | "JSON")?,
|
227
|
+
version: ::String?,
|
228
|
+
e_tag: ::String?
|
229
|
+
}?,
|
230
|
+
git_hub_location: {
|
231
|
+
repository: ::String?,
|
232
|
+
commit_id: ::String?
|
233
|
+
}?,
|
234
|
+
string: {
|
235
|
+
content: ::String?,
|
236
|
+
sha256: ::String?
|
237
|
+
}?,
|
238
|
+
app_spec_content: {
|
239
|
+
content: ::String?,
|
240
|
+
sha256: ::String?
|
241
|
+
}?
|
242
|
+
},
|
243
|
+
?deployment_config_name: ::String,
|
244
|
+
?description: ::String,
|
245
|
+
?ignore_application_stop_failures: bool,
|
246
|
+
?target_instances: {
|
247
|
+
tag_filters: Array[
|
248
|
+
{
|
249
|
+
key: ::String?,
|
250
|
+
value: ::String?,
|
251
|
+
type: ("KEY_ONLY" | "VALUE_ONLY" | "KEY_AND_VALUE")?
|
252
|
+
},
|
253
|
+
]?,
|
254
|
+
auto_scaling_groups: Array[::String]?,
|
255
|
+
ec2_tag_set: {
|
256
|
+
ec2_tag_set_list: Array[
|
257
|
+
Array[
|
258
|
+
{
|
259
|
+
key: ::String?,
|
260
|
+
value: ::String?,
|
261
|
+
type: ("KEY_ONLY" | "VALUE_ONLY" | "KEY_AND_VALUE")?
|
262
|
+
},
|
263
|
+
],
|
264
|
+
]?
|
265
|
+
}?
|
266
|
+
},
|
267
|
+
?auto_rollback_configuration: {
|
268
|
+
enabled: bool?,
|
269
|
+
events: Array[("DEPLOYMENT_FAILURE" | "DEPLOYMENT_STOP_ON_ALARM" | "DEPLOYMENT_STOP_ON_REQUEST")]?
|
270
|
+
},
|
271
|
+
?update_outdated_instances_only: bool,
|
272
|
+
?file_exists_behavior: ("DISALLOW" | "OVERWRITE" | "RETAIN"),
|
273
|
+
?override_alarm_configuration: {
|
274
|
+
enabled: bool?,
|
275
|
+
ignore_poll_alarm_failure: bool?,
|
276
|
+
alarms: Array[
|
277
|
+
{
|
278
|
+
name: ::String?
|
279
|
+
},
|
280
|
+
]?
|
281
|
+
}
|
282
|
+
) -> _CreateDeploymentResponseSuccess
|
283
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDeploymentResponseSuccess
|
284
|
+
|
285
|
+
interface _CreateDeploymentConfigResponseSuccess
|
286
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateDeploymentConfigOutput]
|
287
|
+
def deployment_config_id: () -> ::String
|
288
|
+
end
|
289
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#create_deployment_config-instance_method
|
290
|
+
def create_deployment_config: (
|
291
|
+
deployment_config_name: ::String,
|
292
|
+
?minimum_healthy_hosts: {
|
293
|
+
type: ("HOST_COUNT" | "FLEET_PERCENT")?,
|
294
|
+
value: ::Integer?
|
295
|
+
},
|
296
|
+
?traffic_routing_config: {
|
297
|
+
type: ("TimeBasedCanary" | "TimeBasedLinear" | "AllAtOnce")?,
|
298
|
+
time_based_canary: {
|
299
|
+
canary_percentage: ::Integer?,
|
300
|
+
canary_interval: ::Integer?
|
301
|
+
}?,
|
302
|
+
time_based_linear: {
|
303
|
+
linear_percentage: ::Integer?,
|
304
|
+
linear_interval: ::Integer?
|
305
|
+
}?
|
306
|
+
},
|
307
|
+
?compute_platform: ("Server" | "Lambda" | "ECS"),
|
308
|
+
?zonal_config: {
|
309
|
+
first_zone_monitor_duration_in_seconds: ::Integer?,
|
310
|
+
monitor_duration_in_seconds: ::Integer?,
|
311
|
+
minimum_healthy_hosts_per_zone: {
|
312
|
+
type: ("HOST_COUNT" | "FLEET_PERCENT")?,
|
313
|
+
value: ::Integer?
|
314
|
+
}?
|
315
|
+
}
|
316
|
+
) -> _CreateDeploymentConfigResponseSuccess
|
317
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDeploymentConfigResponseSuccess
|
318
|
+
|
319
|
+
interface _CreateDeploymentGroupResponseSuccess
|
320
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateDeploymentGroupOutput]
|
321
|
+
def deployment_group_id: () -> ::String
|
322
|
+
end
|
323
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#create_deployment_group-instance_method
|
324
|
+
def create_deployment_group: (
|
325
|
+
application_name: ::String,
|
326
|
+
deployment_group_name: ::String,
|
327
|
+
?deployment_config_name: ::String,
|
328
|
+
?ec2_tag_filters: Array[
|
329
|
+
{
|
330
|
+
key: ::String?,
|
331
|
+
value: ::String?,
|
332
|
+
type: ("KEY_ONLY" | "VALUE_ONLY" | "KEY_AND_VALUE")?
|
333
|
+
},
|
334
|
+
],
|
335
|
+
?on_premises_instance_tag_filters: Array[
|
336
|
+
{
|
337
|
+
key: ::String?,
|
338
|
+
value: ::String?,
|
339
|
+
type: ("KEY_ONLY" | "VALUE_ONLY" | "KEY_AND_VALUE")?
|
340
|
+
},
|
341
|
+
],
|
342
|
+
?auto_scaling_groups: Array[::String],
|
343
|
+
service_role_arn: ::String,
|
344
|
+
?trigger_configurations: Array[
|
345
|
+
{
|
346
|
+
trigger_name: ::String?,
|
347
|
+
trigger_target_arn: ::String?,
|
348
|
+
trigger_events: Array[("DeploymentStart" | "DeploymentSuccess" | "DeploymentFailure" | "DeploymentStop" | "DeploymentRollback" | "DeploymentReady" | "InstanceStart" | "InstanceSuccess" | "InstanceFailure" | "InstanceReady")]?
|
349
|
+
},
|
350
|
+
],
|
351
|
+
?alarm_configuration: {
|
352
|
+
enabled: bool?,
|
353
|
+
ignore_poll_alarm_failure: bool?,
|
354
|
+
alarms: Array[
|
355
|
+
{
|
356
|
+
name: ::String?
|
357
|
+
},
|
358
|
+
]?
|
359
|
+
},
|
360
|
+
?auto_rollback_configuration: {
|
361
|
+
enabled: bool?,
|
362
|
+
events: Array[("DEPLOYMENT_FAILURE" | "DEPLOYMENT_STOP_ON_ALARM" | "DEPLOYMENT_STOP_ON_REQUEST")]?
|
363
|
+
},
|
364
|
+
?outdated_instances_strategy: ("UPDATE" | "IGNORE"),
|
365
|
+
?deployment_style: {
|
366
|
+
deployment_type: ("IN_PLACE" | "BLUE_GREEN")?,
|
367
|
+
deployment_option: ("WITH_TRAFFIC_CONTROL" | "WITHOUT_TRAFFIC_CONTROL")?
|
368
|
+
},
|
369
|
+
?blue_green_deployment_configuration: {
|
370
|
+
terminate_blue_instances_on_deployment_success: {
|
371
|
+
action: ("TERMINATE" | "KEEP_ALIVE")?,
|
372
|
+
termination_wait_time_in_minutes: ::Integer?
|
373
|
+
}?,
|
374
|
+
deployment_ready_option: {
|
375
|
+
action_on_timeout: ("CONTINUE_DEPLOYMENT" | "STOP_DEPLOYMENT")?,
|
376
|
+
wait_time_in_minutes: ::Integer?
|
377
|
+
}?,
|
378
|
+
green_fleet_provisioning_option: {
|
379
|
+
action: ("DISCOVER_EXISTING" | "COPY_AUTO_SCALING_GROUP")?
|
380
|
+
}?
|
381
|
+
},
|
382
|
+
?load_balancer_info: {
|
383
|
+
elb_info_list: Array[
|
384
|
+
{
|
385
|
+
name: ::String?
|
386
|
+
},
|
387
|
+
]?,
|
388
|
+
target_group_info_list: Array[
|
389
|
+
{
|
390
|
+
name: ::String?
|
391
|
+
},
|
392
|
+
]?,
|
393
|
+
target_group_pair_info_list: Array[
|
394
|
+
{
|
395
|
+
target_groups: Array[
|
396
|
+
{
|
397
|
+
name: ::String?
|
398
|
+
},
|
399
|
+
]?,
|
400
|
+
prod_traffic_route: {
|
401
|
+
listener_arns: Array[::String]?
|
402
|
+
}?,
|
403
|
+
test_traffic_route: {
|
404
|
+
listener_arns: Array[::String]?
|
405
|
+
}?
|
406
|
+
},
|
407
|
+
]?
|
408
|
+
},
|
409
|
+
?ec2_tag_set: {
|
410
|
+
ec2_tag_set_list: Array[
|
411
|
+
Array[
|
412
|
+
{
|
413
|
+
key: ::String?,
|
414
|
+
value: ::String?,
|
415
|
+
type: ("KEY_ONLY" | "VALUE_ONLY" | "KEY_AND_VALUE")?
|
416
|
+
},
|
417
|
+
],
|
418
|
+
]?
|
419
|
+
},
|
420
|
+
?ecs_services: Array[
|
421
|
+
{
|
422
|
+
service_name: ::String?,
|
423
|
+
cluster_name: ::String?
|
424
|
+
},
|
425
|
+
],
|
426
|
+
?on_premises_tag_set: {
|
427
|
+
on_premises_tag_set_list: Array[
|
428
|
+
Array[
|
429
|
+
{
|
430
|
+
key: ::String?,
|
431
|
+
value: ::String?,
|
432
|
+
type: ("KEY_ONLY" | "VALUE_ONLY" | "KEY_AND_VALUE")?
|
433
|
+
},
|
434
|
+
],
|
435
|
+
]?
|
436
|
+
},
|
437
|
+
?tags: Array[
|
438
|
+
{
|
439
|
+
key: ::String?,
|
440
|
+
value: ::String?
|
441
|
+
},
|
442
|
+
],
|
443
|
+
?termination_hook_enabled: bool
|
444
|
+
) -> _CreateDeploymentGroupResponseSuccess
|
445
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDeploymentGroupResponseSuccess
|
446
|
+
|
447
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#delete_application-instance_method
|
448
|
+
def delete_application: (
|
449
|
+
application_name: ::String
|
450
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
451
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
452
|
+
|
453
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#delete_deployment_config-instance_method
|
454
|
+
def delete_deployment_config: (
|
455
|
+
deployment_config_name: ::String
|
456
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
457
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
458
|
+
|
459
|
+
interface _DeleteDeploymentGroupResponseSuccess
|
460
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDeploymentGroupOutput]
|
461
|
+
def hooks_not_cleaned_up: () -> ::Array[Types::AutoScalingGroup]
|
462
|
+
end
|
463
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#delete_deployment_group-instance_method
|
464
|
+
def delete_deployment_group: (
|
465
|
+
application_name: ::String,
|
466
|
+
deployment_group_name: ::String
|
467
|
+
) -> _DeleteDeploymentGroupResponseSuccess
|
468
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDeploymentGroupResponseSuccess
|
469
|
+
|
470
|
+
interface _DeleteGitHubAccountTokenResponseSuccess
|
471
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteGitHubAccountTokenOutput]
|
472
|
+
def token_name: () -> ::String
|
473
|
+
end
|
474
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#delete_git_hub_account_token-instance_method
|
475
|
+
def delete_git_hub_account_token: (
|
476
|
+
?token_name: ::String
|
477
|
+
) -> _DeleteGitHubAccountTokenResponseSuccess
|
478
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteGitHubAccountTokenResponseSuccess
|
479
|
+
|
480
|
+
interface _DeleteResourcesByExternalIdResponseSuccess
|
481
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteResourcesByExternalIdOutput]
|
482
|
+
end
|
483
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#delete_resources_by_external_id-instance_method
|
484
|
+
def delete_resources_by_external_id: (
|
485
|
+
?external_id: ::String
|
486
|
+
) -> _DeleteResourcesByExternalIdResponseSuccess
|
487
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourcesByExternalIdResponseSuccess
|
488
|
+
|
489
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#deregister_on_premises_instance-instance_method
|
490
|
+
def deregister_on_premises_instance: (
|
491
|
+
instance_name: ::String
|
492
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
493
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
494
|
+
|
495
|
+
interface _GetApplicationResponseSuccess
|
496
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetApplicationOutput]
|
497
|
+
def application: () -> Types::ApplicationInfo
|
498
|
+
end
|
499
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#get_application-instance_method
|
500
|
+
def get_application: (
|
501
|
+
application_name: ::String
|
502
|
+
) -> _GetApplicationResponseSuccess
|
503
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetApplicationResponseSuccess
|
504
|
+
|
505
|
+
interface _GetApplicationRevisionResponseSuccess
|
506
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetApplicationRevisionOutput]
|
507
|
+
def application_name: () -> ::String
|
508
|
+
def revision: () -> Types::RevisionLocation
|
509
|
+
def revision_info: () -> Types::GenericRevisionInfo
|
510
|
+
end
|
511
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#get_application_revision-instance_method
|
512
|
+
def get_application_revision: (
|
513
|
+
application_name: ::String,
|
514
|
+
revision: {
|
515
|
+
revision_type: ("S3" | "GitHub" | "String" | "AppSpecContent")?,
|
516
|
+
s3_location: {
|
517
|
+
bucket: ::String?,
|
518
|
+
key: ::String?,
|
519
|
+
bundle_type: ("tar" | "tgz" | "zip" | "YAML" | "JSON")?,
|
520
|
+
version: ::String?,
|
521
|
+
e_tag: ::String?
|
522
|
+
}?,
|
523
|
+
git_hub_location: {
|
524
|
+
repository: ::String?,
|
525
|
+
commit_id: ::String?
|
526
|
+
}?,
|
527
|
+
string: {
|
528
|
+
content: ::String?,
|
529
|
+
sha256: ::String?
|
530
|
+
}?,
|
531
|
+
app_spec_content: {
|
532
|
+
content: ::String?,
|
533
|
+
sha256: ::String?
|
534
|
+
}?
|
535
|
+
}
|
536
|
+
) -> _GetApplicationRevisionResponseSuccess
|
537
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetApplicationRevisionResponseSuccess
|
538
|
+
|
539
|
+
interface _GetDeploymentResponseSuccess
|
540
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDeploymentOutput]
|
541
|
+
def deployment_info: () -> Types::DeploymentInfo
|
542
|
+
end
|
543
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#get_deployment-instance_method
|
544
|
+
def get_deployment: (
|
545
|
+
deployment_id: ::String
|
546
|
+
) -> _GetDeploymentResponseSuccess
|
547
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDeploymentResponseSuccess
|
548
|
+
|
549
|
+
interface _GetDeploymentConfigResponseSuccess
|
550
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDeploymentConfigOutput]
|
551
|
+
def deployment_config_info: () -> Types::DeploymentConfigInfo
|
552
|
+
end
|
553
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#get_deployment_config-instance_method
|
554
|
+
def get_deployment_config: (
|
555
|
+
deployment_config_name: ::String
|
556
|
+
) -> _GetDeploymentConfigResponseSuccess
|
557
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDeploymentConfigResponseSuccess
|
558
|
+
|
559
|
+
interface _GetDeploymentGroupResponseSuccess
|
560
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDeploymentGroupOutput]
|
561
|
+
def deployment_group_info: () -> Types::DeploymentGroupInfo
|
562
|
+
end
|
563
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#get_deployment_group-instance_method
|
564
|
+
def get_deployment_group: (
|
565
|
+
application_name: ::String,
|
566
|
+
deployment_group_name: ::String
|
567
|
+
) -> _GetDeploymentGroupResponseSuccess
|
568
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDeploymentGroupResponseSuccess
|
569
|
+
|
570
|
+
interface _GetDeploymentInstanceResponseSuccess
|
571
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDeploymentInstanceOutput]
|
572
|
+
def instance_summary: () -> Types::InstanceSummary
|
573
|
+
end
|
574
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#get_deployment_instance-instance_method
|
575
|
+
def get_deployment_instance: (
|
576
|
+
deployment_id: ::String,
|
577
|
+
instance_id: ::String
|
578
|
+
) -> _GetDeploymentInstanceResponseSuccess
|
579
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDeploymentInstanceResponseSuccess
|
580
|
+
|
581
|
+
interface _GetDeploymentTargetResponseSuccess
|
582
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDeploymentTargetOutput]
|
583
|
+
def deployment_target: () -> Types::DeploymentTarget
|
584
|
+
end
|
585
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#get_deployment_target-instance_method
|
586
|
+
def get_deployment_target: (
|
587
|
+
deployment_id: ::String,
|
588
|
+
target_id: ::String
|
589
|
+
) -> _GetDeploymentTargetResponseSuccess
|
590
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDeploymentTargetResponseSuccess
|
591
|
+
|
592
|
+
interface _GetOnPremisesInstanceResponseSuccess
|
593
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetOnPremisesInstanceOutput]
|
594
|
+
def instance_info: () -> Types::InstanceInfo
|
595
|
+
end
|
596
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#get_on_premises_instance-instance_method
|
597
|
+
def get_on_premises_instance: (
|
598
|
+
instance_name: ::String
|
599
|
+
) -> _GetOnPremisesInstanceResponseSuccess
|
600
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOnPremisesInstanceResponseSuccess
|
601
|
+
|
602
|
+
interface _ListApplicationRevisionsResponseSuccess
|
603
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListApplicationRevisionsOutput]
|
604
|
+
def revisions: () -> ::Array[Types::RevisionLocation]
|
605
|
+
def next_token: () -> ::String
|
606
|
+
end
|
607
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#list_application_revisions-instance_method
|
608
|
+
def list_application_revisions: (
|
609
|
+
application_name: ::String,
|
610
|
+
?sort_by: ("registerTime" | "firstUsedTime" | "lastUsedTime"),
|
611
|
+
?sort_order: ("ascending" | "descending"),
|
612
|
+
?s3_bucket: ::String,
|
613
|
+
?s3_key_prefix: ::String,
|
614
|
+
?deployed: ("include" | "exclude" | "ignore"),
|
615
|
+
?next_token: ::String
|
616
|
+
) -> _ListApplicationRevisionsResponseSuccess
|
617
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListApplicationRevisionsResponseSuccess
|
618
|
+
|
619
|
+
interface _ListApplicationsResponseSuccess
|
620
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListApplicationsOutput]
|
621
|
+
def applications: () -> ::Array[::String]
|
622
|
+
def next_token: () -> ::String
|
623
|
+
end
|
624
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#list_applications-instance_method
|
625
|
+
def list_applications: (
|
626
|
+
?next_token: ::String
|
627
|
+
) -> _ListApplicationsResponseSuccess
|
628
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListApplicationsResponseSuccess
|
629
|
+
|
630
|
+
interface _ListDeploymentConfigsResponseSuccess
|
631
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDeploymentConfigsOutput]
|
632
|
+
def deployment_configs_list: () -> ::Array[::String]
|
633
|
+
def next_token: () -> ::String
|
634
|
+
end
|
635
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#list_deployment_configs-instance_method
|
636
|
+
def list_deployment_configs: (
|
637
|
+
?next_token: ::String
|
638
|
+
) -> _ListDeploymentConfigsResponseSuccess
|
639
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDeploymentConfigsResponseSuccess
|
640
|
+
|
641
|
+
interface _ListDeploymentGroupsResponseSuccess
|
642
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDeploymentGroupsOutput]
|
643
|
+
def application_name: () -> ::String
|
644
|
+
def deployment_groups: () -> ::Array[::String]
|
645
|
+
def next_token: () -> ::String
|
646
|
+
end
|
647
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#list_deployment_groups-instance_method
|
648
|
+
def list_deployment_groups: (
|
649
|
+
application_name: ::String,
|
650
|
+
?next_token: ::String
|
651
|
+
) -> _ListDeploymentGroupsResponseSuccess
|
652
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDeploymentGroupsResponseSuccess
|
653
|
+
|
654
|
+
interface _ListDeploymentInstancesResponseSuccess
|
655
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDeploymentInstancesOutput]
|
656
|
+
def instances_list: () -> ::Array[::String]
|
657
|
+
def next_token: () -> ::String
|
658
|
+
end
|
659
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#list_deployment_instances-instance_method
|
660
|
+
def list_deployment_instances: (
|
661
|
+
deployment_id: ::String,
|
662
|
+
?next_token: ::String,
|
663
|
+
?instance_status_filter: Array[("Pending" | "InProgress" | "Succeeded" | "Failed" | "Skipped" | "Unknown" | "Ready")],
|
664
|
+
?instance_type_filter: Array[("Blue" | "Green")]
|
665
|
+
) -> _ListDeploymentInstancesResponseSuccess
|
666
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDeploymentInstancesResponseSuccess
|
667
|
+
|
668
|
+
interface _ListDeploymentTargetsResponseSuccess
|
669
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDeploymentTargetsOutput]
|
670
|
+
def target_ids: () -> ::Array[::String]
|
671
|
+
def next_token: () -> ::String
|
672
|
+
end
|
673
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#list_deployment_targets-instance_method
|
674
|
+
def list_deployment_targets: (
|
675
|
+
deployment_id: ::String,
|
676
|
+
?next_token: ::String,
|
677
|
+
?target_filters: Hash[("TargetStatus" | "ServerInstanceLabel"), Array[::String]]
|
678
|
+
) -> _ListDeploymentTargetsResponseSuccess
|
679
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDeploymentTargetsResponseSuccess
|
680
|
+
|
681
|
+
interface _ListDeploymentsResponseSuccess
|
682
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDeploymentsOutput]
|
683
|
+
def deployments: () -> ::Array[::String]
|
684
|
+
def next_token: () -> ::String
|
685
|
+
end
|
686
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#list_deployments-instance_method
|
687
|
+
def list_deployments: (
|
688
|
+
?application_name: ::String,
|
689
|
+
?deployment_group_name: ::String,
|
690
|
+
?external_id: ::String,
|
691
|
+
?include_only_statuses: Array[("Created" | "Queued" | "InProgress" | "Baking" | "Succeeded" | "Failed" | "Stopped" | "Ready")],
|
692
|
+
?create_time_range: {
|
693
|
+
start: ::Time?,
|
694
|
+
end: ::Time?
|
695
|
+
},
|
696
|
+
?next_token: ::String
|
697
|
+
) -> _ListDeploymentsResponseSuccess
|
698
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDeploymentsResponseSuccess
|
699
|
+
|
700
|
+
interface _ListGitHubAccountTokenNamesResponseSuccess
|
701
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListGitHubAccountTokenNamesOutput]
|
702
|
+
def token_name_list: () -> ::Array[::String]
|
703
|
+
def next_token: () -> ::String
|
704
|
+
end
|
705
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#list_git_hub_account_token_names-instance_method
|
706
|
+
def list_git_hub_account_token_names: (
|
707
|
+
?next_token: ::String
|
708
|
+
) -> _ListGitHubAccountTokenNamesResponseSuccess
|
709
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGitHubAccountTokenNamesResponseSuccess
|
710
|
+
|
711
|
+
interface _ListOnPremisesInstancesResponseSuccess
|
712
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListOnPremisesInstancesOutput]
|
713
|
+
def instance_names: () -> ::Array[::String]
|
714
|
+
def next_token: () -> ::String
|
715
|
+
end
|
716
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#list_on_premises_instances-instance_method
|
717
|
+
def list_on_premises_instances: (
|
718
|
+
?registration_status: ("Registered" | "Deregistered"),
|
719
|
+
?tag_filters: Array[
|
720
|
+
{
|
721
|
+
key: ::String?,
|
722
|
+
value: ::String?,
|
723
|
+
type: ("KEY_ONLY" | "VALUE_ONLY" | "KEY_AND_VALUE")?
|
724
|
+
},
|
725
|
+
],
|
726
|
+
?next_token: ::String
|
727
|
+
) -> _ListOnPremisesInstancesResponseSuccess
|
728
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListOnPremisesInstancesResponseSuccess
|
729
|
+
|
730
|
+
interface _ListTagsForResourceResponseSuccess
|
731
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
|
732
|
+
def tags: () -> ::Array[Types::Tag]
|
733
|
+
def next_token: () -> ::String
|
734
|
+
end
|
735
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#list_tags_for_resource-instance_method
|
736
|
+
def list_tags_for_resource: (
|
737
|
+
resource_arn: ::String,
|
738
|
+
?next_token: ::String
|
739
|
+
) -> _ListTagsForResourceResponseSuccess
|
740
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
741
|
+
|
742
|
+
interface _PutLifecycleEventHookExecutionStatusResponseSuccess
|
743
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutLifecycleEventHookExecutionStatusOutput]
|
744
|
+
def lifecycle_event_hook_execution_id: () -> ::String
|
745
|
+
end
|
746
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#put_lifecycle_event_hook_execution_status-instance_method
|
747
|
+
def put_lifecycle_event_hook_execution_status: (
|
748
|
+
?deployment_id: ::String,
|
749
|
+
?lifecycle_event_hook_execution_id: ::String,
|
750
|
+
?status: ("Pending" | "InProgress" | "Succeeded" | "Failed" | "Skipped" | "Unknown")
|
751
|
+
) -> _PutLifecycleEventHookExecutionStatusResponseSuccess
|
752
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutLifecycleEventHookExecutionStatusResponseSuccess
|
753
|
+
|
754
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#register_application_revision-instance_method
|
755
|
+
def register_application_revision: (
|
756
|
+
application_name: ::String,
|
757
|
+
?description: ::String,
|
758
|
+
revision: {
|
759
|
+
revision_type: ("S3" | "GitHub" | "String" | "AppSpecContent")?,
|
760
|
+
s3_location: {
|
761
|
+
bucket: ::String?,
|
762
|
+
key: ::String?,
|
763
|
+
bundle_type: ("tar" | "tgz" | "zip" | "YAML" | "JSON")?,
|
764
|
+
version: ::String?,
|
765
|
+
e_tag: ::String?
|
766
|
+
}?,
|
767
|
+
git_hub_location: {
|
768
|
+
repository: ::String?,
|
769
|
+
commit_id: ::String?
|
770
|
+
}?,
|
771
|
+
string: {
|
772
|
+
content: ::String?,
|
773
|
+
sha256: ::String?
|
774
|
+
}?,
|
775
|
+
app_spec_content: {
|
776
|
+
content: ::String?,
|
777
|
+
sha256: ::String?
|
778
|
+
}?
|
779
|
+
}
|
780
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
781
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
782
|
+
|
783
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#register_on_premises_instance-instance_method
|
784
|
+
def register_on_premises_instance: (
|
785
|
+
instance_name: ::String,
|
786
|
+
?iam_session_arn: ::String,
|
787
|
+
?iam_user_arn: ::String
|
788
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
789
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
790
|
+
|
791
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#remove_tags_from_on_premises_instances-instance_method
|
792
|
+
def remove_tags_from_on_premises_instances: (
|
793
|
+
tags: Array[
|
794
|
+
{
|
795
|
+
key: ::String?,
|
796
|
+
value: ::String?
|
797
|
+
},
|
798
|
+
],
|
799
|
+
instance_names: Array[::String]
|
800
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
801
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
802
|
+
|
803
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#skip_wait_time_for_instance_termination-instance_method
|
804
|
+
def skip_wait_time_for_instance_termination: (
|
805
|
+
?deployment_id: ::String
|
806
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
807
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
808
|
+
|
809
|
+
interface _StopDeploymentResponseSuccess
|
810
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopDeploymentOutput]
|
811
|
+
def status: () -> ("Pending" | "Succeeded")
|
812
|
+
def status_message: () -> ::String
|
813
|
+
end
|
814
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#stop_deployment-instance_method
|
815
|
+
def stop_deployment: (
|
816
|
+
deployment_id: ::String,
|
817
|
+
?auto_rollback_enabled: bool
|
818
|
+
) -> _StopDeploymentResponseSuccess
|
819
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopDeploymentResponseSuccess
|
820
|
+
|
821
|
+
interface _TagResourceResponseSuccess
|
822
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceOutput]
|
823
|
+
end
|
824
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#tag_resource-instance_method
|
825
|
+
def tag_resource: (
|
826
|
+
resource_arn: ::String,
|
827
|
+
tags: Array[
|
828
|
+
{
|
829
|
+
key: ::String?,
|
830
|
+
value: ::String?
|
831
|
+
},
|
832
|
+
]
|
833
|
+
) -> _TagResourceResponseSuccess
|
834
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
835
|
+
|
836
|
+
interface _UntagResourceResponseSuccess
|
837
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceOutput]
|
838
|
+
end
|
839
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#untag_resource-instance_method
|
840
|
+
def untag_resource: (
|
841
|
+
resource_arn: ::String,
|
842
|
+
tag_keys: Array[::String]
|
843
|
+
) -> _UntagResourceResponseSuccess
|
844
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
845
|
+
|
846
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#update_application-instance_method
|
847
|
+
def update_application: (
|
848
|
+
?application_name: ::String,
|
849
|
+
?new_application_name: ::String
|
850
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
851
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
852
|
+
|
853
|
+
interface _UpdateDeploymentGroupResponseSuccess
|
854
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDeploymentGroupOutput]
|
855
|
+
def hooks_not_cleaned_up: () -> ::Array[Types::AutoScalingGroup]
|
856
|
+
end
|
857
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#update_deployment_group-instance_method
|
858
|
+
def update_deployment_group: (
|
859
|
+
application_name: ::String,
|
860
|
+
current_deployment_group_name: ::String,
|
861
|
+
?new_deployment_group_name: ::String,
|
862
|
+
?deployment_config_name: ::String,
|
863
|
+
?ec2_tag_filters: Array[
|
864
|
+
{
|
865
|
+
key: ::String?,
|
866
|
+
value: ::String?,
|
867
|
+
type: ("KEY_ONLY" | "VALUE_ONLY" | "KEY_AND_VALUE")?
|
868
|
+
},
|
869
|
+
],
|
870
|
+
?on_premises_instance_tag_filters: Array[
|
871
|
+
{
|
872
|
+
key: ::String?,
|
873
|
+
value: ::String?,
|
874
|
+
type: ("KEY_ONLY" | "VALUE_ONLY" | "KEY_AND_VALUE")?
|
875
|
+
},
|
876
|
+
],
|
877
|
+
?auto_scaling_groups: Array[::String],
|
878
|
+
?service_role_arn: ::String,
|
879
|
+
?trigger_configurations: Array[
|
880
|
+
{
|
881
|
+
trigger_name: ::String?,
|
882
|
+
trigger_target_arn: ::String?,
|
883
|
+
trigger_events: Array[("DeploymentStart" | "DeploymentSuccess" | "DeploymentFailure" | "DeploymentStop" | "DeploymentRollback" | "DeploymentReady" | "InstanceStart" | "InstanceSuccess" | "InstanceFailure" | "InstanceReady")]?
|
884
|
+
},
|
885
|
+
],
|
886
|
+
?alarm_configuration: {
|
887
|
+
enabled: bool?,
|
888
|
+
ignore_poll_alarm_failure: bool?,
|
889
|
+
alarms: Array[
|
890
|
+
{
|
891
|
+
name: ::String?
|
892
|
+
},
|
893
|
+
]?
|
894
|
+
},
|
895
|
+
?auto_rollback_configuration: {
|
896
|
+
enabled: bool?,
|
897
|
+
events: Array[("DEPLOYMENT_FAILURE" | "DEPLOYMENT_STOP_ON_ALARM" | "DEPLOYMENT_STOP_ON_REQUEST")]?
|
898
|
+
},
|
899
|
+
?outdated_instances_strategy: ("UPDATE" | "IGNORE"),
|
900
|
+
?deployment_style: {
|
901
|
+
deployment_type: ("IN_PLACE" | "BLUE_GREEN")?,
|
902
|
+
deployment_option: ("WITH_TRAFFIC_CONTROL" | "WITHOUT_TRAFFIC_CONTROL")?
|
903
|
+
},
|
904
|
+
?blue_green_deployment_configuration: {
|
905
|
+
terminate_blue_instances_on_deployment_success: {
|
906
|
+
action: ("TERMINATE" | "KEEP_ALIVE")?,
|
907
|
+
termination_wait_time_in_minutes: ::Integer?
|
908
|
+
}?,
|
909
|
+
deployment_ready_option: {
|
910
|
+
action_on_timeout: ("CONTINUE_DEPLOYMENT" | "STOP_DEPLOYMENT")?,
|
911
|
+
wait_time_in_minutes: ::Integer?
|
912
|
+
}?,
|
913
|
+
green_fleet_provisioning_option: {
|
914
|
+
action: ("DISCOVER_EXISTING" | "COPY_AUTO_SCALING_GROUP")?
|
915
|
+
}?
|
916
|
+
},
|
917
|
+
?load_balancer_info: {
|
918
|
+
elb_info_list: Array[
|
919
|
+
{
|
920
|
+
name: ::String?
|
921
|
+
},
|
922
|
+
]?,
|
923
|
+
target_group_info_list: Array[
|
924
|
+
{
|
925
|
+
name: ::String?
|
926
|
+
},
|
927
|
+
]?,
|
928
|
+
target_group_pair_info_list: Array[
|
929
|
+
{
|
930
|
+
target_groups: Array[
|
931
|
+
{
|
932
|
+
name: ::String?
|
933
|
+
},
|
934
|
+
]?,
|
935
|
+
prod_traffic_route: {
|
936
|
+
listener_arns: Array[::String]?
|
937
|
+
}?,
|
938
|
+
test_traffic_route: {
|
939
|
+
listener_arns: Array[::String]?
|
940
|
+
}?
|
941
|
+
},
|
942
|
+
]?
|
943
|
+
},
|
944
|
+
?ec2_tag_set: {
|
945
|
+
ec2_tag_set_list: Array[
|
946
|
+
Array[
|
947
|
+
{
|
948
|
+
key: ::String?,
|
949
|
+
value: ::String?,
|
950
|
+
type: ("KEY_ONLY" | "VALUE_ONLY" | "KEY_AND_VALUE")?
|
951
|
+
},
|
952
|
+
],
|
953
|
+
]?
|
954
|
+
},
|
955
|
+
?ecs_services: Array[
|
956
|
+
{
|
957
|
+
service_name: ::String?,
|
958
|
+
cluster_name: ::String?
|
959
|
+
},
|
960
|
+
],
|
961
|
+
?on_premises_tag_set: {
|
962
|
+
on_premises_tag_set_list: Array[
|
963
|
+
Array[
|
964
|
+
{
|
965
|
+
key: ::String?,
|
966
|
+
value: ::String?,
|
967
|
+
type: ("KEY_ONLY" | "VALUE_ONLY" | "KEY_AND_VALUE")?
|
968
|
+
},
|
969
|
+
],
|
970
|
+
]?
|
971
|
+
},
|
972
|
+
?termination_hook_enabled: bool
|
973
|
+
) -> _UpdateDeploymentGroupResponseSuccess
|
974
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDeploymentGroupResponseSuccess
|
975
|
+
|
976
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeDeploy/Client.html#wait_until-instance_method
|
977
|
+
def wait_until: (:deployment_successful waiter_name,
|
978
|
+
deployment_id: ::String
|
979
|
+
) -> Client::_GetDeploymentResponseSuccess
|
980
|
+
| (:deployment_successful waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetDeploymentResponseSuccess
|
981
|
+
end
|
982
|
+
end
|
983
|
+
end
|
984
|
+
|