aws-sdk-cloudcontrolapi 1.5.0 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudcontrolapi/client.rb +23 -42
- data/lib/aws-sdk-cloudcontrolapi/client_api.rb +52 -52
- data/lib/aws-sdk-cloudcontrolapi/types.rb +43 -66
- data/lib/aws-sdk-cloudcontrolapi/waiters.rb +6 -6
- data/lib/aws-sdk-cloudcontrolapi.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c40fe0ae8328065bcc2abc2dea19b1555ddc5fdd9479880f7a16c57c8af46b13
|
4
|
+
data.tar.gz: 455b27525a54c4679465e1c9cce1eb16d4c41c40ec591571b4398b4bc46568de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8114f689e3e46d10102c6420a0bbaf48d9b2f52cc9f0f27af6f1536f7331534f9ebced56dd31f406e1200f36aaf54a2a4c90e271d32ffae37a5a7521a2c9984
|
7
|
+
data.tar.gz: 6a4279f573ea1879511cceb37f978c4449e2c81201c9d399f05fb68573ec1bdeb39558200b48cdf5ec60f51a3a4c911dc856b1dd3afabe6e3892e354d612dc30
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.8.0 (2022-05-09)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - SDK release for Cloud Control API to include paginators for Python SDK.
|
8
|
+
|
9
|
+
1.7.0 (2022-03-31)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - SDK release for Cloud Control API in Amazon Web Services China (Beijing) Region, operated by Sinnet, and Amazon Web Services China (Ningxia) Region, operated by NWCD
|
13
|
+
|
14
|
+
1.6.0 (2022-02-24)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.5.0 (2022-02-03)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.8.0
|
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
32
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
@@ -75,6 +76,7 @@ module Aws::CloudControlApi
|
|
75
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
76
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
77
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
78
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
79
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
80
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
@@ -364,7 +366,7 @@ module Aws::CloudControlApi
|
|
364
366
|
# *Amazon Web Services Cloud Control API User Guide*.
|
365
367
|
#
|
366
368
|
# Only resource operations requests with a status of `PENDING` or
|
367
|
-
# `IN_PROGRESS` can be
|
369
|
+
# `IN_PROGRESS` can be canceled.
|
368
370
|
#
|
369
371
|
#
|
370
372
|
#
|
@@ -430,7 +432,7 @@ module Aws::CloudControlApi
|
|
430
432
|
#
|
431
433
|
# @option params [String] :role_arn
|
432
434
|
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
433
|
-
# (IAM) for Cloud Control API to use when performing this resource
|
435
|
+
# (IAM) role for Cloud Control API to use when performing this resource
|
434
436
|
# operation. The role specified must have the permissions required for
|
435
437
|
# this operation. The necessary permissions for each event handler are
|
436
438
|
# defined in the ` handlers ` section of the [resource type definition
|
@@ -478,25 +480,7 @@ module Aws::CloudControlApi
|
|
478
480
|
#
|
479
481
|
# </note>
|
480
482
|
#
|
481
|
-
#
|
482
|
-
#
|
483
|
-
# * A JSON blob
|
484
|
-
#
|
485
|
-
# * A local path containing the desired state in JSON data format
|
486
|
-
#
|
487
|
-
# For more information, see [Composing the desired state of the
|
488
|
-
# resource][1] in the *Amazon Web Services Cloud Control API User
|
489
|
-
# Guide*.
|
490
|
-
#
|
491
|
-
# For more information about the properties of a specific resource,
|
492
|
-
# refer to the related topic for the resource in the [Resource and
|
493
|
-
# property types reference][2] in the *Amazon Web Services
|
494
|
-
# CloudFormation Users Guide*.
|
495
|
-
#
|
496
|
-
#
|
497
|
-
#
|
498
|
-
# [1]: https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate
|
499
|
-
# [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html
|
483
|
+
# <p>Specify the desired state as one of the following:</p> <ul> <li> <p>A JSON blob</p> </li> <li> <p>A local path containing the desired state in JSON data format</p> </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate">Composing the desired state of the resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>For more information about the properties of a specific resource, refer to the related topic for the resource in the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Resource and property types reference</a> in the <i>CloudFormation Users Guide</i>.</p>
|
500
484
|
#
|
501
485
|
# @return [Types::CreateResourceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
502
486
|
#
|
@@ -558,7 +542,7 @@ module Aws::CloudControlApi
|
|
558
542
|
#
|
559
543
|
# @option params [String] :role_arn
|
560
544
|
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
561
|
-
# (IAM) for Cloud Control API to use when performing this resource
|
545
|
+
# (IAM) role for Cloud Control API to use when performing this resource
|
562
546
|
# operation. The role specified must have the permissions required for
|
563
547
|
# this operation. The necessary permissions for each event handler are
|
564
548
|
# defined in the ` handlers ` section of the [resource type definition
|
@@ -658,8 +642,8 @@ module Aws::CloudControlApi
|
|
658
642
|
# For details, see [Reading a resource's current state][1].
|
659
643
|
#
|
660
644
|
# You can use this action to return information about an existing
|
661
|
-
# resource in your account and Amazon Web Services Region, whether
|
662
|
-
#
|
645
|
+
# resource in your account and Amazon Web Services Region, whether those
|
646
|
+
# resources were provisioned using Cloud Control API.
|
663
647
|
#
|
664
648
|
#
|
665
649
|
#
|
@@ -675,7 +659,7 @@ module Aws::CloudControlApi
|
|
675
659
|
#
|
676
660
|
# @option params [String] :role_arn
|
677
661
|
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
678
|
-
# (IAM) for Cloud Control API to use when performing this resource
|
662
|
+
# (IAM) role for Cloud Control API to use when performing this resource
|
679
663
|
# operation. The role specified must have the permissions required for
|
680
664
|
# this operation. The necessary permissions for each event handler are
|
681
665
|
# defined in the ` handlers ` section of the [resource type definition
|
@@ -799,7 +783,7 @@ module Aws::CloudControlApi
|
|
799
783
|
# resource operation requests][1] in the *Amazon Web Services Cloud
|
800
784
|
# Control API User Guide*.
|
801
785
|
#
|
802
|
-
# <note markdown="1"> Resource operation requests expire after
|
786
|
+
# <note markdown="1"> Resource operation requests expire after 7 days.
|
803
787
|
#
|
804
788
|
# </note>
|
805
789
|
#
|
@@ -869,14 +853,17 @@ module Aws::CloudControlApi
|
|
869
853
|
end
|
870
854
|
|
871
855
|
# Returns information about the specified resources. For more
|
872
|
-
# information, see [Discovering
|
873
|
-
#
|
874
|
-
# in the *Amazon Web Services Cloud Control API User Guide*.
|
856
|
+
# information, see [Discovering resources][1] in the *Amazon Web
|
857
|
+
# Services Cloud Control API User Guide*.
|
875
858
|
#
|
876
859
|
# You can use this action to return information about existing resources
|
877
|
-
# in your account and Amazon Web Services Region, whether
|
860
|
+
# in your account and Amazon Web Services Region, whether those
|
878
861
|
# resources were provisioned using Cloud Control API.
|
879
862
|
#
|
863
|
+
#
|
864
|
+
#
|
865
|
+
# [1]: https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-list.html
|
866
|
+
#
|
880
867
|
# @option params [required, String] :type_name
|
881
868
|
# The name of the resource type.
|
882
869
|
#
|
@@ -887,7 +874,7 @@ module Aws::CloudControlApi
|
|
887
874
|
#
|
888
875
|
# @option params [String] :role_arn
|
889
876
|
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
890
|
-
# (IAM) for Cloud Control API to use when performing this resource
|
877
|
+
# (IAM) role for Cloud Control API to use when performing this resource
|
891
878
|
# operation. The role specified must have the permissions required for
|
892
879
|
# this operation. The necessary permissions for each event handler are
|
893
880
|
# defined in the ` handlers ` section of the [resource type definition
|
@@ -913,12 +900,7 @@ module Aws::CloudControlApi
|
|
913
900
|
# `NextToken` parameter is set to `null`.
|
914
901
|
#
|
915
902
|
# @option params [Integer] :max_results
|
916
|
-
#
|
917
|
-
# the number of available results exceeds this maximum, the response
|
918
|
-
# includes a `NextToken` value that you can assign to the `NextToken`
|
919
|
-
# request parameter to get the next set of results.
|
920
|
-
#
|
921
|
-
# The default is `20`.
|
903
|
+
# Reserved.
|
922
904
|
#
|
923
905
|
# @option params [String] :resource_model
|
924
906
|
# The resource model to use to select the resources to return.
|
@@ -976,8 +958,7 @@ module Aws::CloudControlApi
|
|
976
958
|
#
|
977
959
|
# For more information about the properties of a specific resource,
|
978
960
|
# refer to the related topic for the resource in the [Resource and
|
979
|
-
# property types reference][4] in the *
|
980
|
-
# CloudFormation Users Guide*.
|
961
|
+
# property types reference][4] in the *CloudFormation Users Guide*.
|
981
962
|
#
|
982
963
|
#
|
983
964
|
#
|
@@ -996,7 +977,7 @@ module Aws::CloudControlApi
|
|
996
977
|
#
|
997
978
|
# @option params [String] :role_arn
|
998
979
|
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
999
|
-
# (IAM) for Cloud Control API to use when performing this resource
|
980
|
+
# (IAM) role for Cloud Control API to use when performing this resource
|
1000
981
|
# operation. The role specified must have the permissions required for
|
1001
982
|
# this operation. The necessary permissions for each event handler are
|
1002
983
|
# defined in the ` handlers ` section of the [resource type definition
|
@@ -1116,7 +1097,7 @@ module Aws::CloudControlApi
|
|
1116
1097
|
params: params,
|
1117
1098
|
config: config)
|
1118
1099
|
context[:gem_name] = 'aws-sdk-cloudcontrolapi'
|
1119
|
-
context[:gem_version] = '1.
|
1100
|
+
context[:gem_version] = '1.8.0'
|
1120
1101
|
Seahorse::Client::Request.new(handlers, context)
|
1121
1102
|
end
|
1122
1103
|
|
@@ -1184,7 +1165,7 @@ module Aws::CloudControlApi
|
|
1184
1165
|
#
|
1185
1166
|
# | waiter_name | params | :delay | :max_attempts |
|
1186
1167
|
# | ------------------------ | ------------------------------------ | -------- | ------------- |
|
1187
|
-
# | resource_request_success | {Client#get_resource_request_status} | 5 |
|
1168
|
+
# | resource_request_success | {Client#get_resource_request_status} | 5 | 24 |
|
1188
1169
|
#
|
1189
1170
|
# @raise [Errors::FailureStateError] Raised when the waiter terminates
|
1190
1171
|
# because the waiter has entered a state that it will not transition
|
@@ -267,8 +267,8 @@ module Aws::CloudControlApi
|
|
267
267
|
o.http_request_uri = "/"
|
268
268
|
o.input = Shapes::ShapeRef.new(shape: CancelResourceRequestInput)
|
269
269
|
o.output = Shapes::ShapeRef.new(shape: CancelResourceRequestOutput)
|
270
|
-
o.errors << Shapes::ShapeRef.new(shape: RequestTokenNotFoundException)
|
271
270
|
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
271
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestTokenNotFoundException)
|
272
272
|
end)
|
273
273
|
|
274
274
|
api.add_operation(:create_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -277,25 +277,25 @@ module Aws::CloudControlApi
|
|
277
277
|
o.http_request_uri = "/"
|
278
278
|
o.input = Shapes::ShapeRef.new(shape: CreateResourceInput)
|
279
279
|
o.output = Shapes::ShapeRef.new(shape: CreateResourceOutput)
|
280
|
-
o.errors << Shapes::ShapeRef.new(shape: ConcurrentOperationException)
|
281
|
-
o.errors << Shapes::ShapeRef.new(shape: ClientTokenConflictException)
|
282
|
-
o.errors << Shapes::ShapeRef.new(shape: UnsupportedActionException)
|
283
|
-
o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException)
|
284
280
|
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
285
|
-
o.errors << Shapes::ShapeRef.new(shape: GeneralServiceException)
|
286
281
|
o.errors << Shapes::ShapeRef.new(shape: HandlerInternalFailureException)
|
287
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
282
|
+
o.errors << Shapes::ShapeRef.new(shape: GeneralServiceException)
|
283
|
+
o.errors << Shapes::ShapeRef.new(shape: NotUpdatableException)
|
284
|
+
o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException)
|
285
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentOperationException)
|
288
286
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
289
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
287
|
+
o.errors << Shapes::ShapeRef.new(shape: PrivateTypeException)
|
290
288
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
289
|
+
o.errors << Shapes::ShapeRef.new(shape: NetworkFailureException)
|
290
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedActionException)
|
291
291
|
o.errors << Shapes::ShapeRef.new(shape: NotStabilizedException)
|
292
|
-
o.errors << Shapes::ShapeRef.new(shape: NotUpdatableException)
|
293
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
294
292
|
o.errors << Shapes::ShapeRef.new(shape: ServiceInternalErrorException)
|
293
|
+
o.errors << Shapes::ShapeRef.new(shape: HandlerFailureException)
|
295
294
|
o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceededException)
|
295
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCredentialsException)
|
296
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
297
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientTokenConflictException)
|
296
298
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
297
|
-
o.errors << Shapes::ShapeRef.new(shape: PrivateTypeException)
|
298
|
-
o.errors << Shapes::ShapeRef.new(shape: HandlerFailureException)
|
299
299
|
end)
|
300
300
|
|
301
301
|
api.add_operation(:delete_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -304,25 +304,25 @@ module Aws::CloudControlApi
|
|
304
304
|
o.http_request_uri = "/"
|
305
305
|
o.input = Shapes::ShapeRef.new(shape: DeleteResourceInput)
|
306
306
|
o.output = Shapes::ShapeRef.new(shape: DeleteResourceOutput)
|
307
|
-
o.errors << Shapes::ShapeRef.new(shape: ConcurrentOperationException)
|
308
|
-
o.errors << Shapes::ShapeRef.new(shape: ClientTokenConflictException)
|
309
|
-
o.errors << Shapes::ShapeRef.new(shape: UnsupportedActionException)
|
310
|
-
o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException)
|
311
307
|
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
312
|
-
o.errors << Shapes::ShapeRef.new(shape: GeneralServiceException)
|
313
308
|
o.errors << Shapes::ShapeRef.new(shape: HandlerInternalFailureException)
|
314
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
309
|
+
o.errors << Shapes::ShapeRef.new(shape: GeneralServiceException)
|
310
|
+
o.errors << Shapes::ShapeRef.new(shape: NotUpdatableException)
|
311
|
+
o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException)
|
312
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentOperationException)
|
315
313
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
316
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
314
|
+
o.errors << Shapes::ShapeRef.new(shape: PrivateTypeException)
|
317
315
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
316
|
+
o.errors << Shapes::ShapeRef.new(shape: NetworkFailureException)
|
317
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedActionException)
|
318
318
|
o.errors << Shapes::ShapeRef.new(shape: NotStabilizedException)
|
319
|
-
o.errors << Shapes::ShapeRef.new(shape: NotUpdatableException)
|
320
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
321
319
|
o.errors << Shapes::ShapeRef.new(shape: ServiceInternalErrorException)
|
320
|
+
o.errors << Shapes::ShapeRef.new(shape: HandlerFailureException)
|
322
321
|
o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceededException)
|
322
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCredentialsException)
|
323
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
324
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientTokenConflictException)
|
323
325
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
324
|
-
o.errors << Shapes::ShapeRef.new(shape: PrivateTypeException)
|
325
|
-
o.errors << Shapes::ShapeRef.new(shape: HandlerFailureException)
|
326
326
|
end)
|
327
327
|
|
328
328
|
api.add_operation(:get_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -331,23 +331,23 @@ module Aws::CloudControlApi
|
|
331
331
|
o.http_request_uri = "/"
|
332
332
|
o.input = Shapes::ShapeRef.new(shape: GetResourceInput)
|
333
333
|
o.output = Shapes::ShapeRef.new(shape: GetResourceOutput)
|
334
|
-
o.errors << Shapes::ShapeRef.new(shape: UnsupportedActionException)
|
335
|
-
o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException)
|
336
334
|
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
337
|
-
o.errors << Shapes::ShapeRef.new(shape: GeneralServiceException)
|
338
335
|
o.errors << Shapes::ShapeRef.new(shape: HandlerInternalFailureException)
|
339
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
336
|
+
o.errors << Shapes::ShapeRef.new(shape: GeneralServiceException)
|
337
|
+
o.errors << Shapes::ShapeRef.new(shape: NotUpdatableException)
|
338
|
+
o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException)
|
340
339
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
341
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
340
|
+
o.errors << Shapes::ShapeRef.new(shape: PrivateTypeException)
|
342
341
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
342
|
+
o.errors << Shapes::ShapeRef.new(shape: NetworkFailureException)
|
343
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedActionException)
|
343
344
|
o.errors << Shapes::ShapeRef.new(shape: NotStabilizedException)
|
344
|
-
o.errors << Shapes::ShapeRef.new(shape: NotUpdatableException)
|
345
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
346
345
|
o.errors << Shapes::ShapeRef.new(shape: ServiceInternalErrorException)
|
346
|
+
o.errors << Shapes::ShapeRef.new(shape: HandlerFailureException)
|
347
347
|
o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceededException)
|
348
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCredentialsException)
|
349
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
348
350
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
349
|
-
o.errors << Shapes::ShapeRef.new(shape: PrivateTypeException)
|
350
|
-
o.errors << Shapes::ShapeRef.new(shape: HandlerFailureException)
|
351
351
|
end)
|
352
352
|
|
353
353
|
api.add_operation(:get_resource_request_status, Seahorse::Model::Operation.new.tap do |o|
|
@@ -379,23 +379,23 @@ module Aws::CloudControlApi
|
|
379
379
|
o.http_request_uri = "/"
|
380
380
|
o.input = Shapes::ShapeRef.new(shape: ListResourcesInput)
|
381
381
|
o.output = Shapes::ShapeRef.new(shape: ListResourcesOutput)
|
382
|
-
o.errors << Shapes::ShapeRef.new(shape: UnsupportedActionException)
|
383
|
-
o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException)
|
384
382
|
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
385
|
-
o.errors << Shapes::ShapeRef.new(shape: GeneralServiceException)
|
386
383
|
o.errors << Shapes::ShapeRef.new(shape: HandlerInternalFailureException)
|
387
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
384
|
+
o.errors << Shapes::ShapeRef.new(shape: GeneralServiceException)
|
385
|
+
o.errors << Shapes::ShapeRef.new(shape: NotUpdatableException)
|
386
|
+
o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException)
|
388
387
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
389
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
388
|
+
o.errors << Shapes::ShapeRef.new(shape: PrivateTypeException)
|
390
389
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
390
|
+
o.errors << Shapes::ShapeRef.new(shape: NetworkFailureException)
|
391
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedActionException)
|
391
392
|
o.errors << Shapes::ShapeRef.new(shape: NotStabilizedException)
|
392
|
-
o.errors << Shapes::ShapeRef.new(shape: NotUpdatableException)
|
393
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
394
393
|
o.errors << Shapes::ShapeRef.new(shape: ServiceInternalErrorException)
|
394
|
+
o.errors << Shapes::ShapeRef.new(shape: HandlerFailureException)
|
395
395
|
o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceededException)
|
396
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCredentialsException)
|
397
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
396
398
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
397
|
-
o.errors << Shapes::ShapeRef.new(shape: PrivateTypeException)
|
398
|
-
o.errors << Shapes::ShapeRef.new(shape: HandlerFailureException)
|
399
399
|
o[:pager] = Aws::Pager.new(
|
400
400
|
limit_key: "max_results",
|
401
401
|
tokens: {
|
@@ -410,25 +410,25 @@ module Aws::CloudControlApi
|
|
410
410
|
o.http_request_uri = "/"
|
411
411
|
o.input = Shapes::ShapeRef.new(shape: UpdateResourceInput)
|
412
412
|
o.output = Shapes::ShapeRef.new(shape: UpdateResourceOutput)
|
413
|
-
o.errors << Shapes::ShapeRef.new(shape: ConcurrentOperationException)
|
414
|
-
o.errors << Shapes::ShapeRef.new(shape: ClientTokenConflictException)
|
415
|
-
o.errors << Shapes::ShapeRef.new(shape: UnsupportedActionException)
|
416
|
-
o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException)
|
417
413
|
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
418
|
-
o.errors << Shapes::ShapeRef.new(shape: GeneralServiceException)
|
419
414
|
o.errors << Shapes::ShapeRef.new(shape: HandlerInternalFailureException)
|
420
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
415
|
+
o.errors << Shapes::ShapeRef.new(shape: GeneralServiceException)
|
416
|
+
o.errors << Shapes::ShapeRef.new(shape: NotUpdatableException)
|
417
|
+
o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException)
|
418
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentOperationException)
|
421
419
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
422
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
420
|
+
o.errors << Shapes::ShapeRef.new(shape: PrivateTypeException)
|
423
421
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
422
|
+
o.errors << Shapes::ShapeRef.new(shape: NetworkFailureException)
|
423
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedActionException)
|
424
424
|
o.errors << Shapes::ShapeRef.new(shape: NotStabilizedException)
|
425
|
-
o.errors << Shapes::ShapeRef.new(shape: NotUpdatableException)
|
426
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
427
425
|
o.errors << Shapes::ShapeRef.new(shape: ServiceInternalErrorException)
|
426
|
+
o.errors << Shapes::ShapeRef.new(shape: HandlerFailureException)
|
428
427
|
o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceededException)
|
428
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCredentialsException)
|
429
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
430
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientTokenConflictException)
|
429
431
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
430
|
-
o.errors << Shapes::ShapeRef.new(shape: PrivateTypeException)
|
431
|
-
o.errors << Shapes::ShapeRef.new(shape: HandlerFailureException)
|
432
432
|
end)
|
433
433
|
end
|
434
434
|
|
@@ -64,7 +64,7 @@ module Aws::CloudControlApi
|
|
64
64
|
# The specified client token has already been used in another resource
|
65
65
|
# request.
|
66
66
|
#
|
67
|
-
# It
|
67
|
+
# It's best practice for client tokens to be unique for each resource
|
68
68
|
# operation request. However, client token expire after 36 hours.
|
69
69
|
#
|
70
70
|
# @!attribute [rw] message
|
@@ -128,11 +128,11 @@ module Aws::CloudControlApi
|
|
128
128
|
#
|
129
129
|
# @!attribute [rw] role_arn
|
130
130
|
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
131
|
-
# (IAM) for Cloud Control API to use when performing this
|
132
|
-
# operation. The role specified must have the permissions
|
133
|
-
# this operation. The necessary permissions for each
|
134
|
-
# defined in the ` handlers ` section of the
|
135
|
-
# schema][1].
|
131
|
+
# (IAM) role for Cloud Control API to use when performing this
|
132
|
+
# resource operation. The role specified must have the permissions
|
133
|
+
# required for this operation. The necessary permissions for each
|
134
|
+
# event handler are defined in the ` handlers ` section of the
|
135
|
+
# [resource type definition schema][1].
|
136
136
|
#
|
137
137
|
# If you do not specify a role, Cloud Control API uses a temporary
|
138
138
|
# session created using your Amazon Web Services user credentials.
|
@@ -183,25 +183,7 @@ module Aws::CloudControlApi
|
|
183
183
|
#
|
184
184
|
# </note>
|
185
185
|
#
|
186
|
-
#
|
187
|
-
#
|
188
|
-
# * A JSON blob
|
189
|
-
#
|
190
|
-
# * A local path containing the desired state in JSON data format
|
191
|
-
#
|
192
|
-
# For more information, see [Composing the desired state of the
|
193
|
-
# resource][1] in the *Amazon Web Services Cloud Control API User
|
194
|
-
# Guide*.
|
195
|
-
#
|
196
|
-
# For more information about the properties of a specific resource,
|
197
|
-
# refer to the related topic for the resource in the [Resource and
|
198
|
-
# property types reference][2] in the *Amazon Web Services
|
199
|
-
# CloudFormation Users Guide*.
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
203
|
-
# [1]: https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate
|
204
|
-
# [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html
|
186
|
+
# <p>Specify the desired state as one of the following:</p> <ul> <li> <p>A JSON blob</p> </li> <li> <p>A local path containing the desired state in JSON data format</p> </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate">Composing the desired state of the resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>For more information about the properties of a specific resource, refer to the related topic for the resource in the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Resource and property types reference</a> in the <i>CloudFormation Users Guide</i>.</p>
|
205
187
|
# @return [String]
|
206
188
|
#
|
207
189
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/CreateResourceInput AWS API Documentation
|
@@ -260,11 +242,11 @@ module Aws::CloudControlApi
|
|
260
242
|
#
|
261
243
|
# @!attribute [rw] role_arn
|
262
244
|
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
263
|
-
# (IAM) for Cloud Control API to use when performing this
|
264
|
-
# operation. The role specified must have the permissions
|
265
|
-
# this operation. The necessary permissions for each
|
266
|
-
# defined in the ` handlers ` section of the
|
267
|
-
# schema][1].
|
245
|
+
# (IAM) role for Cloud Control API to use when performing this
|
246
|
+
# resource operation. The role specified must have the permissions
|
247
|
+
# required for this operation. The necessary permissions for each
|
248
|
+
# event handler are defined in the ` handlers ` section of the
|
249
|
+
# [resource type definition schema][1].
|
268
250
|
#
|
269
251
|
# If you do not specify a role, Cloud Control API uses a temporary
|
270
252
|
# session created using your Amazon Web Services user credentials.
|
@@ -361,7 +343,7 @@ module Aws::CloudControlApi
|
|
361
343
|
end
|
362
344
|
|
363
345
|
# The resource handler has returned that the downstream service
|
364
|
-
# generated an error that
|
346
|
+
# generated an error that doesn't map to any other handler error code.
|
365
347
|
#
|
366
348
|
# @!attribute [rw] message
|
367
349
|
# @return [String]
|
@@ -396,11 +378,11 @@ module Aws::CloudControlApi
|
|
396
378
|
#
|
397
379
|
# @!attribute [rw] role_arn
|
398
380
|
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
399
|
-
# (IAM) for Cloud Control API to use when performing this
|
400
|
-
# operation. The role specified must have the permissions
|
401
|
-
# this operation. The necessary permissions for each
|
402
|
-
# defined in the ` handlers ` section of the
|
403
|
-
# schema][1].
|
381
|
+
# (IAM) role for Cloud Control API to use when performing this
|
382
|
+
# resource operation. The role specified must have the permissions
|
383
|
+
# required for this operation. The necessary permissions for each
|
384
|
+
# event handler are defined in the ` handlers ` section of the
|
385
|
+
# [resource type definition schema][1].
|
404
386
|
#
|
405
387
|
# If you do not specify a role, Cloud Control API uses a temporary
|
406
388
|
# session created using your Amazon Web Services user credentials.
|
@@ -644,11 +626,11 @@ module Aws::CloudControlApi
|
|
644
626
|
#
|
645
627
|
# @!attribute [rw] role_arn
|
646
628
|
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
647
|
-
# (IAM) for Cloud Control API to use when performing this
|
648
|
-
# operation. The role specified must have the permissions
|
649
|
-
# this operation. The necessary permissions for each
|
650
|
-
# defined in the ` handlers ` section of the
|
651
|
-
# schema][1].
|
629
|
+
# (IAM) role for Cloud Control API to use when performing this
|
630
|
+
# resource operation. The role specified must have the permissions
|
631
|
+
# required for this operation. The necessary permissions for each
|
632
|
+
# event handler are defined in the ` handlers ` section of the
|
633
|
+
# [resource type definition schema][1].
|
652
634
|
#
|
653
635
|
# If you do not specify a role, Cloud Control API uses a temporary
|
654
636
|
# session created using your Amazon Web Services user credentials.
|
@@ -672,12 +654,7 @@ module Aws::CloudControlApi
|
|
672
654
|
# @return [String]
|
673
655
|
#
|
674
656
|
# @!attribute [rw] max_results
|
675
|
-
#
|
676
|
-
# the number of available results exceeds this maximum, the response
|
677
|
-
# includes a `NextToken` value that you can assign to the `NextToken`
|
678
|
-
# request parameter to get the next set of results.
|
679
|
-
#
|
680
|
-
# The default is `20`.
|
657
|
+
# Reserved.
|
681
658
|
# @return [Integer]
|
682
659
|
#
|
683
660
|
# @!attribute [rw] resource_model
|
@@ -724,7 +701,7 @@ module Aws::CloudControlApi
|
|
724
701
|
include Aws::Structure
|
725
702
|
end
|
726
703
|
|
727
|
-
# The resource handler has returned that the request
|
704
|
+
# The resource handler has returned that the request couldn't be
|
728
705
|
# completed due to networking issues, such as a failure to receive a
|
729
706
|
# response from the server.
|
730
707
|
#
|
@@ -754,7 +731,7 @@ module Aws::CloudControlApi
|
|
754
731
|
end
|
755
732
|
|
756
733
|
# One or more properties included in this resource operation are defined
|
757
|
-
# as create-only, and therefore
|
734
|
+
# as create-only, and therefore can't be updated.
|
758
735
|
#
|
759
736
|
# @!attribute [rw] message
|
760
737
|
# @return [String]
|
@@ -767,7 +744,7 @@ module Aws::CloudControlApi
|
|
767
744
|
include Aws::Structure
|
768
745
|
end
|
769
746
|
|
770
|
-
# Cloud Control API
|
747
|
+
# Cloud Control API hasn't received a valid response from the resource
|
771
748
|
# handler, due to a configuration error. This includes issues such as
|
772
749
|
# the resource handler returning an invalid response, or timing out.
|
773
750
|
#
|
@@ -821,7 +798,7 @@ module Aws::CloudControlApi
|
|
821
798
|
# @!attribute [rw] operation_status
|
822
799
|
# The current status of the resource operation request.
|
823
800
|
#
|
824
|
-
# * `PENDING`\: The resource operation
|
801
|
+
# * `PENDING`\: The resource operation hasn't yet started.
|
825
802
|
#
|
826
803
|
# * `IN_PROGRESS`\: The resource operation is currently in progress.
|
827
804
|
#
|
@@ -882,7 +859,7 @@ module Aws::CloudControlApi
|
|
882
859
|
include Aws::Structure
|
883
860
|
end
|
884
861
|
|
885
|
-
# A resource operation with the specified request token
|
862
|
+
# A resource operation with the specified request token can't be found.
|
886
863
|
#
|
887
864
|
# @!attribute [rw] message
|
888
865
|
# @return [String]
|
@@ -896,7 +873,7 @@ module Aws::CloudControlApi
|
|
896
873
|
end
|
897
874
|
|
898
875
|
# The resource is temporarily unavailable to be acted upon. For example,
|
899
|
-
# if the resource is currently undergoing an operation and
|
876
|
+
# if the resource is currently undergoing an operation and can't be
|
900
877
|
# acted upon until that operation is finished.
|
901
878
|
#
|
902
879
|
# @!attribute [rw] message
|
@@ -936,7 +913,7 @@ module Aws::CloudControlApi
|
|
936
913
|
include Aws::Structure
|
937
914
|
end
|
938
915
|
|
939
|
-
# A resource with the specified identifier
|
916
|
+
# A resource with the specified identifier can't be found.
|
940
917
|
#
|
941
918
|
# @!attribute [rw] message
|
942
919
|
# @return [String]
|
@@ -969,14 +946,14 @@ module Aws::CloudControlApi
|
|
969
946
|
# * `PENDING`\: The operation has been requested, but not yet
|
970
947
|
# initiated.
|
971
948
|
#
|
972
|
-
# * `IN_PROGRESS`\: The operation is
|
949
|
+
# * `IN_PROGRESS`\: The operation is in progress.
|
973
950
|
#
|
974
|
-
# * `SUCCESS`\: The operation
|
951
|
+
# * `SUCCESS`\: The operation completed.
|
975
952
|
#
|
976
|
-
# * `FAILED`\: The operation
|
953
|
+
# * `FAILED`\: The operation failed.
|
977
954
|
#
|
978
|
-
# * `CANCEL_IN_PROGRESS`\: The operation is
|
979
|
-
#
|
955
|
+
# * `CANCEL_IN_PROGRESS`\: The operation is in the process of being
|
956
|
+
# canceled.
|
980
957
|
#
|
981
958
|
# * `CANCEL_COMPLETE`\: The operation has been canceled.
|
982
959
|
# @return [Array<String>]
|
@@ -1031,7 +1008,7 @@ module Aws::CloudControlApi
|
|
1031
1008
|
include Aws::Structure
|
1032
1009
|
end
|
1033
1010
|
|
1034
|
-
# The specified extension
|
1011
|
+
# The specified extension doesn't exist in the CloudFormation registry.
|
1035
1012
|
#
|
1036
1013
|
# @!attribute [rw] message
|
1037
1014
|
# @return [String]
|
@@ -1044,7 +1021,7 @@ module Aws::CloudControlApi
|
|
1044
1021
|
include Aws::Structure
|
1045
1022
|
end
|
1046
1023
|
|
1047
|
-
# The specified resource
|
1024
|
+
# The specified resource doesn't support this resource operation.
|
1048
1025
|
#
|
1049
1026
|
# @!attribute [rw] message
|
1050
1027
|
# @return [String]
|
@@ -1081,11 +1058,11 @@ module Aws::CloudControlApi
|
|
1081
1058
|
#
|
1082
1059
|
# @!attribute [rw] role_arn
|
1083
1060
|
# The Amazon Resource Name (ARN) of the Identity and Access Management
|
1084
|
-
# (IAM) for Cloud Control API to use when performing this
|
1085
|
-
# operation. The role specified must have the permissions
|
1086
|
-
# this operation. The necessary permissions for each
|
1087
|
-
# defined in the ` handlers ` section of the
|
1088
|
-
# schema][1].
|
1061
|
+
# (IAM) role for Cloud Control API to use when performing this
|
1062
|
+
# resource operation. The role specified must have the permissions
|
1063
|
+
# required for this operation. The necessary permissions for each
|
1064
|
+
# event handler are defined in the ` handlers ` section of the
|
1065
|
+
# [resource type definition schema][1].
|
1089
1066
|
#
|
1090
1067
|
# If you do not specify a role, Cloud Control API uses a temporary
|
1091
1068
|
# session created using your Amazon Web Services user credentials.
|
@@ -69,7 +69,7 @@ module Aws::CloudControlApi
|
|
69
69
|
#
|
70
70
|
# | waiter_name | params | :delay | :max_attempts |
|
71
71
|
# | ------------------------ | ------------------------------------ | -------- | ------------- |
|
72
|
-
# | resource_request_success | {Client#get_resource_request_status} | 5 |
|
72
|
+
# | resource_request_success | {Client#get_resource_request_status} | 5 | 24 |
|
73
73
|
#
|
74
74
|
module Waiters
|
75
75
|
|
@@ -78,34 +78,34 @@ module Aws::CloudControlApi
|
|
78
78
|
|
79
79
|
# @param [Hash] options
|
80
80
|
# @option options [required, Client] :client
|
81
|
-
# @option options [Integer] :max_attempts (
|
81
|
+
# @option options [Integer] :max_attempts (24)
|
82
82
|
# @option options [Integer] :delay (5)
|
83
83
|
# @option options [Proc] :before_attempt
|
84
84
|
# @option options [Proc] :before_wait
|
85
85
|
def initialize(options)
|
86
86
|
@client = options.fetch(:client)
|
87
87
|
@waiter = Aws::Waiters::Waiter.new({
|
88
|
-
max_attempts:
|
88
|
+
max_attempts: 24,
|
89
89
|
delay: 5,
|
90
90
|
poller: Aws::Waiters::Poller.new(
|
91
91
|
operation_name: :get_resource_request_status,
|
92
92
|
acceptors: [
|
93
93
|
{
|
94
|
-
"state" => "success",
|
95
94
|
"matcher" => "path",
|
96
95
|
"argument" => "progress_event.operation_status",
|
96
|
+
"state" => "success",
|
97
97
|
"expected" => "SUCCESS"
|
98
98
|
},
|
99
99
|
{
|
100
|
-
"state" => "failure",
|
101
100
|
"matcher" => "path",
|
102
101
|
"argument" => "progress_event.operation_status",
|
102
|
+
"state" => "failure",
|
103
103
|
"expected" => "FAILED"
|
104
104
|
},
|
105
105
|
{
|
106
|
-
"state" => "failure",
|
107
106
|
"matcher" => "path",
|
108
107
|
"argument" => "progress_event.operation_status",
|
108
|
+
"state" => "failure",
|
109
109
|
"expected" => "CANCEL_COMPLETE"
|
110
110
|
}
|
111
111
|
]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudcontrolapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.127.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|