aws-sdk-cloudcontrolapi 1.33.0 → 1.34.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudcontrolapi/client.rb +23 -7
- data/lib/aws-sdk-cloudcontrolapi/client_api.rb +22 -0
- data/lib/aws-sdk-cloudcontrolapi/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-cloudcontrolapi/types.rb +91 -1
- data/lib/aws-sdk-cloudcontrolapi.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/types.rbs +15 -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: 8f61cf93375c338ae099bdbe92de7285728f31971a2dabd2cabb7a95cf90d07f
|
4
|
+
data.tar.gz: bccd883560898acd6df2c4899ae35c75b57632bdf5412459d310498f8486f00d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a0affcbcad4f054a3127b039ae799a354a5733a012ee653db17c358bb16568dda0a63da5cedd00a4b960fe931409c455a6a08478d4959fbd842b349ee0d226b
|
7
|
+
data.tar.gz: 4e0b011e08b42b39e4b554bc528a424fb59ef93ad6505780d4a05b6d5d0b80278ed767111aa051413b6d4c3b99a4661c91749c1a54429a35849a673ba6437777
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.34.0 (2024-11-14)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added support for CloudFormation Hooks with Cloud Control API. The GetResourceRequestStatus API response now includes an optional HooksProgressEvent and HooksRequestToken parameter for Hooks Invocation Progress as part of resource operation with Cloud Control.
|
8
|
+
|
4
9
|
1.33.0 (2024-10-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.34.0
|
@@ -484,12 +484,13 @@ module Aws::CloudControlApi
|
|
484
484
|
# resp.progress_event.type_name #=> String
|
485
485
|
# resp.progress_event.identifier #=> String
|
486
486
|
# resp.progress_event.request_token #=> String
|
487
|
+
# resp.progress_event.hooks_request_token #=> String
|
487
488
|
# resp.progress_event.operation #=> String, one of "CREATE", "DELETE", "UPDATE"
|
488
489
|
# resp.progress_event.operation_status #=> String, one of "PENDING", "IN_PROGRESS", "SUCCESS", "FAILED", "CANCEL_IN_PROGRESS", "CANCEL_COMPLETE"
|
489
490
|
# resp.progress_event.event_time #=> Time
|
490
491
|
# resp.progress_event.resource_model #=> String
|
491
492
|
# resp.progress_event.status_message #=> String
|
492
|
-
# resp.progress_event.error_code #=> String, one of "NotUpdatable", "InvalidRequest", "AccessDenied", "InvalidCredentials", "AlreadyExists", "NotFound", "ResourceConflict", "Throttling", "ServiceLimitExceeded", "NotStabilized", "GeneralServiceException", "ServiceInternalError", "ServiceTimeout", "NetworkFailure", "InternalFailure"
|
493
|
+
# resp.progress_event.error_code #=> String, one of "NotUpdatable", "InvalidRequest", "AccessDenied", "UnauthorizedTaggingOperation", "InvalidCredentials", "AlreadyExists", "NotFound", "ResourceConflict", "Throttling", "ServiceLimitExceeded", "NotStabilized", "GeneralServiceException", "ServiceInternalError", "ServiceTimeout", "NetworkFailure", "InternalFailure"
|
493
494
|
# resp.progress_event.retry_after #=> Time
|
494
495
|
#
|
495
496
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/CancelResourceRequest AWS API Documentation
|
@@ -611,12 +612,13 @@ module Aws::CloudControlApi
|
|
611
612
|
# resp.progress_event.type_name #=> String
|
612
613
|
# resp.progress_event.identifier #=> String
|
613
614
|
# resp.progress_event.request_token #=> String
|
615
|
+
# resp.progress_event.hooks_request_token #=> String
|
614
616
|
# resp.progress_event.operation #=> String, one of "CREATE", "DELETE", "UPDATE"
|
615
617
|
# resp.progress_event.operation_status #=> String, one of "PENDING", "IN_PROGRESS", "SUCCESS", "FAILED", "CANCEL_IN_PROGRESS", "CANCEL_COMPLETE"
|
616
618
|
# resp.progress_event.event_time #=> Time
|
617
619
|
# resp.progress_event.resource_model #=> String
|
618
620
|
# resp.progress_event.status_message #=> String
|
619
|
-
# resp.progress_event.error_code #=> String, one of "NotUpdatable", "InvalidRequest", "AccessDenied", "InvalidCredentials", "AlreadyExists", "NotFound", "ResourceConflict", "Throttling", "ServiceLimitExceeded", "NotStabilized", "GeneralServiceException", "ServiceInternalError", "ServiceTimeout", "NetworkFailure", "InternalFailure"
|
621
|
+
# resp.progress_event.error_code #=> String, one of "NotUpdatable", "InvalidRequest", "AccessDenied", "UnauthorizedTaggingOperation", "InvalidCredentials", "AlreadyExists", "NotFound", "ResourceConflict", "Throttling", "ServiceLimitExceeded", "NotStabilized", "GeneralServiceException", "ServiceInternalError", "ServiceTimeout", "NetworkFailure", "InternalFailure"
|
620
622
|
# resp.progress_event.retry_after #=> Time
|
621
623
|
#
|
622
624
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/CreateResource AWS API Documentation
|
@@ -731,12 +733,13 @@ module Aws::CloudControlApi
|
|
731
733
|
# resp.progress_event.type_name #=> String
|
732
734
|
# resp.progress_event.identifier #=> String
|
733
735
|
# resp.progress_event.request_token #=> String
|
736
|
+
# resp.progress_event.hooks_request_token #=> String
|
734
737
|
# resp.progress_event.operation #=> String, one of "CREATE", "DELETE", "UPDATE"
|
735
738
|
# resp.progress_event.operation_status #=> String, one of "PENDING", "IN_PROGRESS", "SUCCESS", "FAILED", "CANCEL_IN_PROGRESS", "CANCEL_COMPLETE"
|
736
739
|
# resp.progress_event.event_time #=> Time
|
737
740
|
# resp.progress_event.resource_model #=> String
|
738
741
|
# resp.progress_event.status_message #=> String
|
739
|
-
# resp.progress_event.error_code #=> String, one of "NotUpdatable", "InvalidRequest", "AccessDenied", "InvalidCredentials", "AlreadyExists", "NotFound", "ResourceConflict", "Throttling", "ServiceLimitExceeded", "NotStabilized", "GeneralServiceException", "ServiceInternalError", "ServiceTimeout", "NetworkFailure", "InternalFailure"
|
742
|
+
# resp.progress_event.error_code #=> String, one of "NotUpdatable", "InvalidRequest", "AccessDenied", "UnauthorizedTaggingOperation", "InvalidCredentials", "AlreadyExists", "NotFound", "ResourceConflict", "Throttling", "ServiceLimitExceeded", "NotStabilized", "GeneralServiceException", "ServiceInternalError", "ServiceTimeout", "NetworkFailure", "InternalFailure"
|
740
743
|
# resp.progress_event.retry_after #=> Time
|
741
744
|
#
|
742
745
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/DeleteResource AWS API Documentation
|
@@ -854,6 +857,7 @@ module Aws::CloudControlApi
|
|
854
857
|
# @return [Types::GetResourceRequestStatusOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
855
858
|
#
|
856
859
|
# * {Types::GetResourceRequestStatusOutput#progress_event #progress_event} => Types::ProgressEvent
|
860
|
+
# * {Types::GetResourceRequestStatusOutput#hooks_progress_event #hooks_progress_event} => Array<Types::HookProgressEvent>
|
857
861
|
#
|
858
862
|
# @example Request syntax with placeholder values
|
859
863
|
#
|
@@ -866,13 +870,23 @@ module Aws::CloudControlApi
|
|
866
870
|
# resp.progress_event.type_name #=> String
|
867
871
|
# resp.progress_event.identifier #=> String
|
868
872
|
# resp.progress_event.request_token #=> String
|
873
|
+
# resp.progress_event.hooks_request_token #=> String
|
869
874
|
# resp.progress_event.operation #=> String, one of "CREATE", "DELETE", "UPDATE"
|
870
875
|
# resp.progress_event.operation_status #=> String, one of "PENDING", "IN_PROGRESS", "SUCCESS", "FAILED", "CANCEL_IN_PROGRESS", "CANCEL_COMPLETE"
|
871
876
|
# resp.progress_event.event_time #=> Time
|
872
877
|
# resp.progress_event.resource_model #=> String
|
873
878
|
# resp.progress_event.status_message #=> String
|
874
|
-
# resp.progress_event.error_code #=> String, one of "NotUpdatable", "InvalidRequest", "AccessDenied", "InvalidCredentials", "AlreadyExists", "NotFound", "ResourceConflict", "Throttling", "ServiceLimitExceeded", "NotStabilized", "GeneralServiceException", "ServiceInternalError", "ServiceTimeout", "NetworkFailure", "InternalFailure"
|
879
|
+
# resp.progress_event.error_code #=> String, one of "NotUpdatable", "InvalidRequest", "AccessDenied", "UnauthorizedTaggingOperation", "InvalidCredentials", "AlreadyExists", "NotFound", "ResourceConflict", "Throttling", "ServiceLimitExceeded", "NotStabilized", "GeneralServiceException", "ServiceInternalError", "ServiceTimeout", "NetworkFailure", "InternalFailure"
|
875
880
|
# resp.progress_event.retry_after #=> Time
|
881
|
+
# resp.hooks_progress_event #=> Array
|
882
|
+
# resp.hooks_progress_event[0].hook_type_name #=> String
|
883
|
+
# resp.hooks_progress_event[0].hook_type_version_id #=> String
|
884
|
+
# resp.hooks_progress_event[0].hook_type_arn #=> String
|
885
|
+
# resp.hooks_progress_event[0].invocation_point #=> String
|
886
|
+
# resp.hooks_progress_event[0].hook_status #=> String
|
887
|
+
# resp.hooks_progress_event[0].hook_event_time #=> Time
|
888
|
+
# resp.hooks_progress_event[0].hook_status_message #=> String
|
889
|
+
# resp.hooks_progress_event[0].failure_mode #=> String
|
876
890
|
#
|
877
891
|
#
|
878
892
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -944,12 +958,13 @@ module Aws::CloudControlApi
|
|
944
958
|
# resp.resource_request_status_summaries[0].type_name #=> String
|
945
959
|
# resp.resource_request_status_summaries[0].identifier #=> String
|
946
960
|
# resp.resource_request_status_summaries[0].request_token #=> String
|
961
|
+
# resp.resource_request_status_summaries[0].hooks_request_token #=> String
|
947
962
|
# resp.resource_request_status_summaries[0].operation #=> String, one of "CREATE", "DELETE", "UPDATE"
|
948
963
|
# resp.resource_request_status_summaries[0].operation_status #=> String, one of "PENDING", "IN_PROGRESS", "SUCCESS", "FAILED", "CANCEL_IN_PROGRESS", "CANCEL_COMPLETE"
|
949
964
|
# resp.resource_request_status_summaries[0].event_time #=> Time
|
950
965
|
# resp.resource_request_status_summaries[0].resource_model #=> String
|
951
966
|
# resp.resource_request_status_summaries[0].status_message #=> String
|
952
|
-
# resp.resource_request_status_summaries[0].error_code #=> String, one of "NotUpdatable", "InvalidRequest", "AccessDenied", "InvalidCredentials", "AlreadyExists", "NotFound", "ResourceConflict", "Throttling", "ServiceLimitExceeded", "NotStabilized", "GeneralServiceException", "ServiceInternalError", "ServiceTimeout", "NetworkFailure", "InternalFailure"
|
967
|
+
# resp.resource_request_status_summaries[0].error_code #=> String, one of "NotUpdatable", "InvalidRequest", "AccessDenied", "UnauthorizedTaggingOperation", "InvalidCredentials", "AlreadyExists", "NotFound", "ResourceConflict", "Throttling", "ServiceLimitExceeded", "NotStabilized", "GeneralServiceException", "ServiceInternalError", "ServiceTimeout", "NetworkFailure", "InternalFailure"
|
953
968
|
# resp.resource_request_status_summaries[0].retry_after #=> Time
|
954
969
|
# resp.next_token #=> String
|
955
970
|
#
|
@@ -1177,12 +1192,13 @@ module Aws::CloudControlApi
|
|
1177
1192
|
# resp.progress_event.type_name #=> String
|
1178
1193
|
# resp.progress_event.identifier #=> String
|
1179
1194
|
# resp.progress_event.request_token #=> String
|
1195
|
+
# resp.progress_event.hooks_request_token #=> String
|
1180
1196
|
# resp.progress_event.operation #=> String, one of "CREATE", "DELETE", "UPDATE"
|
1181
1197
|
# resp.progress_event.operation_status #=> String, one of "PENDING", "IN_PROGRESS", "SUCCESS", "FAILED", "CANCEL_IN_PROGRESS", "CANCEL_COMPLETE"
|
1182
1198
|
# resp.progress_event.event_time #=> Time
|
1183
1199
|
# resp.progress_event.resource_model #=> String
|
1184
1200
|
# resp.progress_event.status_message #=> String
|
1185
|
-
# resp.progress_event.error_code #=> String, one of "NotUpdatable", "InvalidRequest", "AccessDenied", "InvalidCredentials", "AlreadyExists", "NotFound", "ResourceConflict", "Throttling", "ServiceLimitExceeded", "NotStabilized", "GeneralServiceException", "ServiceInternalError", "ServiceTimeout", "NetworkFailure", "InternalFailure"
|
1201
|
+
# resp.progress_event.error_code #=> String, one of "NotUpdatable", "InvalidRequest", "AccessDenied", "UnauthorizedTaggingOperation", "InvalidCredentials", "AlreadyExists", "NotFound", "ResourceConflict", "Throttling", "ServiceLimitExceeded", "NotStabilized", "GeneralServiceException", "ServiceInternalError", "ServiceTimeout", "NetworkFailure", "InternalFailure"
|
1186
1202
|
# resp.progress_event.retry_after #=> Time
|
1187
1203
|
#
|
1188
1204
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/UpdateResource AWS API Documentation
|
@@ -1212,7 +1228,7 @@ module Aws::CloudControlApi
|
|
1212
1228
|
tracer: tracer
|
1213
1229
|
)
|
1214
1230
|
context[:gem_name] = 'aws-sdk-cloudcontrolapi'
|
1215
|
-
context[:gem_version] = '1.
|
1231
|
+
context[:gem_version] = '1.34.0'
|
1216
1232
|
Seahorse::Client::Request.new(handlers, context)
|
1217
1233
|
end
|
1218
1234
|
|
@@ -35,6 +35,12 @@ module Aws::CloudControlApi
|
|
35
35
|
HandlerFailureException = Shapes::StructureShape.new(name: 'HandlerFailureException')
|
36
36
|
HandlerInternalFailureException = Shapes::StructureShape.new(name: 'HandlerInternalFailureException')
|
37
37
|
HandlerNextToken = Shapes::StringShape.new(name: 'HandlerNextToken')
|
38
|
+
HookFailureMode = Shapes::StringShape.new(name: 'HookFailureMode')
|
39
|
+
HookInvocationPoint = Shapes::StringShape.new(name: 'HookInvocationPoint')
|
40
|
+
HookProgressEvent = Shapes::StructureShape.new(name: 'HookProgressEvent')
|
41
|
+
HookStatus = Shapes::StringShape.new(name: 'HookStatus')
|
42
|
+
HookTypeArn = Shapes::StringShape.new(name: 'HookTypeArn')
|
43
|
+
HooksProgressEvent = Shapes::ListShape.new(name: 'HooksProgressEvent')
|
38
44
|
Identifier = Shapes::StringShape.new(name: 'Identifier')
|
39
45
|
InvalidCredentialsException = Shapes::StructureShape.new(name: 'InvalidCredentialsException')
|
40
46
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
@@ -131,6 +137,7 @@ module Aws::CloudControlApi
|
|
131
137
|
GetResourceRequestStatusInput.struct_class = Types::GetResourceRequestStatusInput
|
132
138
|
|
133
139
|
GetResourceRequestStatusOutput.add_member(:progress_event, Shapes::ShapeRef.new(shape: ProgressEvent, location_name: "ProgressEvent"))
|
140
|
+
GetResourceRequestStatusOutput.add_member(:hooks_progress_event, Shapes::ShapeRef.new(shape: HooksProgressEvent, location_name: "HooksProgressEvent"))
|
134
141
|
GetResourceRequestStatusOutput.struct_class = Types::GetResourceRequestStatusOutput
|
135
142
|
|
136
143
|
HandlerFailureException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
@@ -139,6 +146,18 @@ module Aws::CloudControlApi
|
|
139
146
|
HandlerInternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
140
147
|
HandlerInternalFailureException.struct_class = Types::HandlerInternalFailureException
|
141
148
|
|
149
|
+
HookProgressEvent.add_member(:hook_type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "HookTypeName"))
|
150
|
+
HookProgressEvent.add_member(:hook_type_version_id, Shapes::ShapeRef.new(shape: TypeVersionId, location_name: "HookTypeVersionId"))
|
151
|
+
HookProgressEvent.add_member(:hook_type_arn, Shapes::ShapeRef.new(shape: HookTypeArn, location_name: "HookTypeArn"))
|
152
|
+
HookProgressEvent.add_member(:invocation_point, Shapes::ShapeRef.new(shape: HookInvocationPoint, location_name: "InvocationPoint"))
|
153
|
+
HookProgressEvent.add_member(:hook_status, Shapes::ShapeRef.new(shape: HookStatus, location_name: "HookStatus"))
|
154
|
+
HookProgressEvent.add_member(:hook_event_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "HookEventTime"))
|
155
|
+
HookProgressEvent.add_member(:hook_status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "HookStatusMessage"))
|
156
|
+
HookProgressEvent.add_member(:failure_mode, Shapes::ShapeRef.new(shape: HookFailureMode, location_name: "FailureMode"))
|
157
|
+
HookProgressEvent.struct_class = Types::HookProgressEvent
|
158
|
+
|
159
|
+
HooksProgressEvent.member = Shapes::ShapeRef.new(shape: HookProgressEvent)
|
160
|
+
|
142
161
|
InvalidCredentialsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
143
162
|
InvalidCredentialsException.struct_class = Types::InvalidCredentialsException
|
144
163
|
|
@@ -186,6 +205,7 @@ module Aws::CloudControlApi
|
|
186
205
|
ProgressEvent.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "TypeName"))
|
187
206
|
ProgressEvent.add_member(:identifier, Shapes::ShapeRef.new(shape: Identifier, location_name: "Identifier"))
|
188
207
|
ProgressEvent.add_member(:request_token, Shapes::ShapeRef.new(shape: RequestToken, location_name: "RequestToken"))
|
208
|
+
ProgressEvent.add_member(:hooks_request_token, Shapes::ShapeRef.new(shape: RequestToken, location_name: "HooksRequestToken"))
|
189
209
|
ProgressEvent.add_member(:operation, Shapes::ShapeRef.new(shape: Operation, location_name: "Operation"))
|
190
210
|
ProgressEvent.add_member(:operation_status, Shapes::ShapeRef.new(shape: OperationStatus, location_name: "OperationStatus"))
|
191
211
|
ProgressEvent.add_member(:event_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EventTime"))
|
@@ -250,9 +270,11 @@ module Aws::CloudControlApi
|
|
250
270
|
|
251
271
|
api.metadata = {
|
252
272
|
"apiVersion" => "2021-09-30",
|
273
|
+
"auth" => ["aws.auth#sigv4"],
|
253
274
|
"endpointPrefix" => "cloudcontrolapi",
|
254
275
|
"jsonVersion" => "1.0",
|
255
276
|
"protocol" => "json",
|
277
|
+
"protocols" => ["json"],
|
256
278
|
"serviceAbbreviation" => "CloudControlApi",
|
257
279
|
"serviceFullName" => "AWS Cloud Control API",
|
258
280
|
"serviceId" => "CloudControl",
|
@@ -32,7 +32,7 @@ module Aws::CloudControlApi
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://cloudcontrolapi-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
@@ -444,10 +444,16 @@ module Aws::CloudControlApi
|
|
444
444
|
# Represents the current status of the resource operation request.
|
445
445
|
# @return [Types::ProgressEvent]
|
446
446
|
#
|
447
|
+
# @!attribute [rw] hooks_progress_event
|
448
|
+
# Lists Hook invocations for the specified target in the request. This
|
449
|
+
# is a list since the same target can invoke multiple Hooks.
|
450
|
+
# @return [Array<Types::HookProgressEvent>]
|
451
|
+
#
|
447
452
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/GetResourceRequestStatusOutput AWS API Documentation
|
448
453
|
#
|
449
454
|
class GetResourceRequestStatusOutput < Struct.new(
|
450
|
-
:progress_event
|
455
|
+
:progress_event,
|
456
|
+
:hooks_progress_event)
|
451
457
|
SENSITIVE = []
|
452
458
|
include Aws::Structure
|
453
459
|
end
|
@@ -480,6 +486,85 @@ module Aws::CloudControlApi
|
|
480
486
|
include Aws::Structure
|
481
487
|
end
|
482
488
|
|
489
|
+
# Represents the current status of applicable Hooks for a resource
|
490
|
+
# operation request. It contains list of Hook invocation information for
|
491
|
+
# the resource specified in the request since the same target can invoke
|
492
|
+
# multiple Hooks. For more information, see [Managing resource operation
|
493
|
+
# requests with Amazon Web Services Cloud Control API ][1].
|
494
|
+
#
|
495
|
+
#
|
496
|
+
#
|
497
|
+
# [1]: https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html
|
498
|
+
#
|
499
|
+
# @!attribute [rw] hook_type_name
|
500
|
+
# The type name of the Hook being invoked.
|
501
|
+
# @return [String]
|
502
|
+
#
|
503
|
+
# @!attribute [rw] hook_type_version_id
|
504
|
+
# The type version of the Hook being invoked.
|
505
|
+
# @return [String]
|
506
|
+
#
|
507
|
+
# @!attribute [rw] hook_type_arn
|
508
|
+
# The ARN of the Hook being invoked.
|
509
|
+
# @return [String]
|
510
|
+
#
|
511
|
+
# @!attribute [rw] invocation_point
|
512
|
+
# States whether the Hook is invoked before or after resource
|
513
|
+
# provisioning.
|
514
|
+
# @return [String]
|
515
|
+
#
|
516
|
+
# @!attribute [rw] hook_status
|
517
|
+
# The status of the Hook invocation. The following are potential
|
518
|
+
# statuses:
|
519
|
+
#
|
520
|
+
# * `HOOK_PENDING`: The Hook was added to the invocation plan, but not
|
521
|
+
# yet invoked.
|
522
|
+
#
|
523
|
+
# * `HOOK_IN_PROGRESS`: The Hook was invoked, but hasn't completed.
|
524
|
+
#
|
525
|
+
# * `HOOK_COMPLETE_SUCCEEDED`: The Hook invocation is complete with a
|
526
|
+
# successful result.
|
527
|
+
#
|
528
|
+
# * `HOOK_COMPLETE_FAILED`: The Hook invocation is complete with a
|
529
|
+
# failed result.
|
530
|
+
#
|
531
|
+
# * `HOOK_FAILED`: The Hook invocation didn't complete successfully.
|
532
|
+
# @return [String]
|
533
|
+
#
|
534
|
+
# @!attribute [rw] hook_event_time
|
535
|
+
# The time that the Hook invocation request initiated.
|
536
|
+
# @return [Time]
|
537
|
+
#
|
538
|
+
# @!attribute [rw] hook_status_message
|
539
|
+
# The message explaining the current Hook status.
|
540
|
+
# @return [String]
|
541
|
+
#
|
542
|
+
# @!attribute [rw] failure_mode
|
543
|
+
# The failure mode of the invocation. The following are the potential
|
544
|
+
# statuses:
|
545
|
+
#
|
546
|
+
# * `FAIL`: This will fail the Hook invocation and the request
|
547
|
+
# associated with it.
|
548
|
+
#
|
549
|
+
# * `WARN`: This will fail the Hook invocation, but not the request
|
550
|
+
# associated with it.
|
551
|
+
# @return [String]
|
552
|
+
#
|
553
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/HookProgressEvent AWS API Documentation
|
554
|
+
#
|
555
|
+
class HookProgressEvent < Struct.new(
|
556
|
+
:hook_type_name,
|
557
|
+
:hook_type_version_id,
|
558
|
+
:hook_type_arn,
|
559
|
+
:invocation_point,
|
560
|
+
:hook_status,
|
561
|
+
:hook_event_time,
|
562
|
+
:hook_status_message,
|
563
|
+
:failure_mode)
|
564
|
+
SENSITIVE = []
|
565
|
+
include Aws::Structure
|
566
|
+
end
|
567
|
+
|
483
568
|
# The resource handler has returned that the credentials provided by the
|
484
569
|
# user are invalid.
|
485
570
|
#
|
@@ -738,6 +823,10 @@ module Aws::CloudControlApi
|
|
738
823
|
# [1]: https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_GetResourceRequestStatus.html
|
739
824
|
# @return [String]
|
740
825
|
#
|
826
|
+
# @!attribute [rw] hooks_request_token
|
827
|
+
# The unique token representing the Hooks operation for the request.
|
828
|
+
# @return [String]
|
829
|
+
#
|
741
830
|
# @!attribute [rw] operation
|
742
831
|
# The resource operation type.
|
743
832
|
# @return [String]
|
@@ -795,6 +884,7 @@ module Aws::CloudControlApi
|
|
795
884
|
:type_name,
|
796
885
|
:identifier,
|
797
886
|
:request_token,
|
887
|
+
:hooks_request_token,
|
798
888
|
:operation,
|
799
889
|
:operation_status,
|
800
890
|
:event_time,
|
data/sig/client.rbs
CHANGED
@@ -131,6 +131,7 @@ module Aws
|
|
131
131
|
interface _GetResourceRequestStatusResponseSuccess
|
132
132
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetResourceRequestStatusOutput]
|
133
133
|
def progress_event: () -> Types::ProgressEvent
|
134
|
+
def hooks_progress_event: () -> ::Array[Types::HookProgressEvent]
|
134
135
|
end
|
135
136
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudControlApi/Client.html#get_resource_request_status-instance_method
|
136
137
|
def get_resource_request_status: (
|
data/sig/types.rbs
CHANGED
@@ -92,6 +92,7 @@ module Aws::CloudControlApi
|
|
92
92
|
|
93
93
|
class GetResourceRequestStatusOutput
|
94
94
|
attr_accessor progress_event: Types::ProgressEvent
|
95
|
+
attr_accessor hooks_progress_event: ::Array[Types::HookProgressEvent]
|
95
96
|
SENSITIVE: []
|
96
97
|
end
|
97
98
|
|
@@ -105,6 +106,18 @@ module Aws::CloudControlApi
|
|
105
106
|
SENSITIVE: []
|
106
107
|
end
|
107
108
|
|
109
|
+
class HookProgressEvent
|
110
|
+
attr_accessor hook_type_name: ::String
|
111
|
+
attr_accessor hook_type_version_id: ::String
|
112
|
+
attr_accessor hook_type_arn: ::String
|
113
|
+
attr_accessor invocation_point: ::String
|
114
|
+
attr_accessor hook_status: ::String
|
115
|
+
attr_accessor hook_event_time: ::Time
|
116
|
+
attr_accessor hook_status_message: ::String
|
117
|
+
attr_accessor failure_mode: ::String
|
118
|
+
SENSITIVE: []
|
119
|
+
end
|
120
|
+
|
108
121
|
class InvalidCredentialsException
|
109
122
|
attr_accessor message: ::String
|
110
123
|
SENSITIVE: []
|
@@ -169,12 +182,13 @@ module Aws::CloudControlApi
|
|
169
182
|
attr_accessor type_name: ::String
|
170
183
|
attr_accessor identifier: ::String
|
171
184
|
attr_accessor request_token: ::String
|
185
|
+
attr_accessor hooks_request_token: ::String
|
172
186
|
attr_accessor operation: ("CREATE" | "DELETE" | "UPDATE")
|
173
187
|
attr_accessor operation_status: ("PENDING" | "IN_PROGRESS" | "SUCCESS" | "FAILED" | "CANCEL_IN_PROGRESS" | "CANCEL_COMPLETE")
|
174
188
|
attr_accessor event_time: ::Time
|
175
189
|
attr_accessor resource_model: ::String
|
176
190
|
attr_accessor status_message: ::String
|
177
|
-
attr_accessor error_code: ("NotUpdatable" | "InvalidRequest" | "AccessDenied" | "InvalidCredentials" | "AlreadyExists" | "NotFound" | "ResourceConflict" | "Throttling" | "ServiceLimitExceeded" | "NotStabilized" | "GeneralServiceException" | "ServiceInternalError" | "ServiceTimeout" | "NetworkFailure" | "InternalFailure")
|
191
|
+
attr_accessor error_code: ("NotUpdatable" | "InvalidRequest" | "AccessDenied" | "UnauthorizedTaggingOperation" | "InvalidCredentials" | "AlreadyExists" | "NotFound" | "ResourceConflict" | "Throttling" | "ServiceLimitExceeded" | "NotStabilized" | "GeneralServiceException" | "ServiceInternalError" | "ServiceTimeout" | "NetworkFailure" | "InternalFailure")
|
178
192
|
attr_accessor retry_after: ::Time
|
179
193
|
SENSITIVE: [:resource_model]
|
180
194
|
end
|
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.34.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: 2024-
|
11
|
+
date: 2024-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '1.
|
39
|
+
version: '1.5'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '1.
|
46
|
+
version: '1.5'
|
47
47
|
description: Official AWS Ruby gem for AWS Cloud Control API (CloudControlApi). This
|
48
48
|
gem is part of the AWS SDK for Ruby.
|
49
49
|
email:
|