aws-sdk-cloudcontrolapi 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-cloudcontrolapi/client.rb +1232 -0
- data/lib/aws-sdk-cloudcontrolapi/client_api.rb +436 -0
- data/lib/aws-sdk-cloudcontrolapi/customizations.rb +0 -0
- data/lib/aws-sdk-cloudcontrolapi/errors.rb +374 -0
- data/lib/aws-sdk-cloudcontrolapi/resource.rb +26 -0
- data/lib/aws-sdk-cloudcontrolapi/types.rb +1197 -0
- data/lib/aws-sdk-cloudcontrolapi/waiters.rb +127 -0
- data/lib/aws-sdk-cloudcontrolapi.rb +54 -0
- metadata +91 -0
@@ -0,0 +1,436 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::CloudControlApi
|
11
|
+
# @api private
|
12
|
+
module ClientApi
|
13
|
+
|
14
|
+
include Seahorse::Model
|
15
|
+
|
16
|
+
AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException')
|
17
|
+
CancelResourceRequestInput = Shapes::StructureShape.new(name: 'CancelResourceRequestInput')
|
18
|
+
CancelResourceRequestOutput = Shapes::StructureShape.new(name: 'CancelResourceRequestOutput')
|
19
|
+
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
20
|
+
ClientTokenConflictException = Shapes::StructureShape.new(name: 'ClientTokenConflictException')
|
21
|
+
ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
|
22
|
+
ConcurrentOperationException = Shapes::StructureShape.new(name: 'ConcurrentOperationException')
|
23
|
+
CreateResourceInput = Shapes::StructureShape.new(name: 'CreateResourceInput')
|
24
|
+
CreateResourceOutput = Shapes::StructureShape.new(name: 'CreateResourceOutput')
|
25
|
+
DeleteResourceInput = Shapes::StructureShape.new(name: 'DeleteResourceInput')
|
26
|
+
DeleteResourceOutput = Shapes::StructureShape.new(name: 'DeleteResourceOutput')
|
27
|
+
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
28
|
+
GeneralServiceException = Shapes::StructureShape.new(name: 'GeneralServiceException')
|
29
|
+
GetResourceInput = Shapes::StructureShape.new(name: 'GetResourceInput')
|
30
|
+
GetResourceOutput = Shapes::StructureShape.new(name: 'GetResourceOutput')
|
31
|
+
GetResourceRequestStatusInput = Shapes::StructureShape.new(name: 'GetResourceRequestStatusInput')
|
32
|
+
GetResourceRequestStatusOutput = Shapes::StructureShape.new(name: 'GetResourceRequestStatusOutput')
|
33
|
+
HandlerErrorCode = Shapes::StringShape.new(name: 'HandlerErrorCode')
|
34
|
+
HandlerFailureException = Shapes::StructureShape.new(name: 'HandlerFailureException')
|
35
|
+
HandlerInternalFailureException = Shapes::StructureShape.new(name: 'HandlerInternalFailureException')
|
36
|
+
HandlerNextToken = Shapes::StringShape.new(name: 'HandlerNextToken')
|
37
|
+
Identifier = Shapes::StringShape.new(name: 'Identifier')
|
38
|
+
InvalidCredentialsException = Shapes::StructureShape.new(name: 'InvalidCredentialsException')
|
39
|
+
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
40
|
+
ListResourceRequestsInput = Shapes::StructureShape.new(name: 'ListResourceRequestsInput')
|
41
|
+
ListResourceRequestsOutput = Shapes::StructureShape.new(name: 'ListResourceRequestsOutput')
|
42
|
+
ListResourcesInput = Shapes::StructureShape.new(name: 'ListResourcesInput')
|
43
|
+
ListResourcesOutput = Shapes::StructureShape.new(name: 'ListResourcesOutput')
|
44
|
+
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
45
|
+
NetworkFailureException = Shapes::StructureShape.new(name: 'NetworkFailureException')
|
46
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
47
|
+
NotStabilizedException = Shapes::StructureShape.new(name: 'NotStabilizedException')
|
48
|
+
NotUpdatableException = Shapes::StructureShape.new(name: 'NotUpdatableException')
|
49
|
+
Operation = Shapes::StringShape.new(name: 'Operation')
|
50
|
+
OperationStatus = Shapes::StringShape.new(name: 'OperationStatus')
|
51
|
+
OperationStatuses = Shapes::ListShape.new(name: 'OperationStatuses')
|
52
|
+
Operations = Shapes::ListShape.new(name: 'Operations')
|
53
|
+
PatchDocument = Shapes::StringShape.new(name: 'PatchDocument')
|
54
|
+
PrivateTypeException = Shapes::StructureShape.new(name: 'PrivateTypeException')
|
55
|
+
ProgressEvent = Shapes::StructureShape.new(name: 'ProgressEvent')
|
56
|
+
Properties = Shapes::StringShape.new(name: 'Properties')
|
57
|
+
RequestToken = Shapes::StringShape.new(name: 'RequestToken')
|
58
|
+
RequestTokenNotFoundException = Shapes::StructureShape.new(name: 'RequestTokenNotFoundException')
|
59
|
+
ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
|
60
|
+
ResourceDescription = Shapes::StructureShape.new(name: 'ResourceDescription')
|
61
|
+
ResourceDescriptions = Shapes::ListShape.new(name: 'ResourceDescriptions')
|
62
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
63
|
+
ResourceRequestStatusFilter = Shapes::StructureShape.new(name: 'ResourceRequestStatusFilter')
|
64
|
+
ResourceRequestStatusSummaries = Shapes::ListShape.new(name: 'ResourceRequestStatusSummaries')
|
65
|
+
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
66
|
+
ServiceInternalErrorException = Shapes::StructureShape.new(name: 'ServiceInternalErrorException')
|
67
|
+
ServiceLimitExceededException = Shapes::StructureShape.new(name: 'ServiceLimitExceededException')
|
68
|
+
StatusMessage = Shapes::StringShape.new(name: 'StatusMessage')
|
69
|
+
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
70
|
+
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
71
|
+
TypeName = Shapes::StringShape.new(name: 'TypeName')
|
72
|
+
TypeNotFoundException = Shapes::StructureShape.new(name: 'TypeNotFoundException')
|
73
|
+
TypeVersionId = Shapes::StringShape.new(name: 'TypeVersionId')
|
74
|
+
UnsupportedActionException = Shapes::StructureShape.new(name: 'UnsupportedActionException')
|
75
|
+
UpdateResourceInput = Shapes::StructureShape.new(name: 'UpdateResourceInput')
|
76
|
+
UpdateResourceOutput = Shapes::StructureShape.new(name: 'UpdateResourceOutput')
|
77
|
+
|
78
|
+
AlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
79
|
+
AlreadyExistsException.struct_class = Types::AlreadyExistsException
|
80
|
+
|
81
|
+
CancelResourceRequestInput.add_member(:request_token, Shapes::ShapeRef.new(shape: RequestToken, required: true, location_name: "RequestToken"))
|
82
|
+
CancelResourceRequestInput.struct_class = Types::CancelResourceRequestInput
|
83
|
+
|
84
|
+
CancelResourceRequestOutput.add_member(:progress_event, Shapes::ShapeRef.new(shape: ProgressEvent, location_name: "ProgressEvent"))
|
85
|
+
CancelResourceRequestOutput.struct_class = Types::CancelResourceRequestOutput
|
86
|
+
|
87
|
+
ClientTokenConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
88
|
+
ClientTokenConflictException.struct_class = Types::ClientTokenConflictException
|
89
|
+
|
90
|
+
ConcurrentModificationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
91
|
+
ConcurrentModificationException.struct_class = Types::ConcurrentModificationException
|
92
|
+
|
93
|
+
ConcurrentOperationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
94
|
+
ConcurrentOperationException.struct_class = Types::ConcurrentOperationException
|
95
|
+
|
96
|
+
CreateResourceInput.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, required: true, location_name: "TypeName"))
|
97
|
+
CreateResourceInput.add_member(:type_version_id, Shapes::ShapeRef.new(shape: TypeVersionId, location_name: "TypeVersionId"))
|
98
|
+
CreateResourceInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
|
99
|
+
CreateResourceInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
100
|
+
CreateResourceInput.add_member(:desired_state, Shapes::ShapeRef.new(shape: Properties, required: true, location_name: "DesiredState"))
|
101
|
+
CreateResourceInput.struct_class = Types::CreateResourceInput
|
102
|
+
|
103
|
+
CreateResourceOutput.add_member(:progress_event, Shapes::ShapeRef.new(shape: ProgressEvent, location_name: "ProgressEvent"))
|
104
|
+
CreateResourceOutput.struct_class = Types::CreateResourceOutput
|
105
|
+
|
106
|
+
DeleteResourceInput.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, required: true, location_name: "TypeName"))
|
107
|
+
DeleteResourceInput.add_member(:type_version_id, Shapes::ShapeRef.new(shape: TypeVersionId, location_name: "TypeVersionId"))
|
108
|
+
DeleteResourceInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
|
109
|
+
DeleteResourceInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
110
|
+
DeleteResourceInput.add_member(:identifier, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "Identifier"))
|
111
|
+
DeleteResourceInput.struct_class = Types::DeleteResourceInput
|
112
|
+
|
113
|
+
DeleteResourceOutput.add_member(:progress_event, Shapes::ShapeRef.new(shape: ProgressEvent, location_name: "ProgressEvent"))
|
114
|
+
DeleteResourceOutput.struct_class = Types::DeleteResourceOutput
|
115
|
+
|
116
|
+
GeneralServiceException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
117
|
+
GeneralServiceException.struct_class = Types::GeneralServiceException
|
118
|
+
|
119
|
+
GetResourceInput.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, required: true, location_name: "TypeName"))
|
120
|
+
GetResourceInput.add_member(:type_version_id, Shapes::ShapeRef.new(shape: TypeVersionId, location_name: "TypeVersionId"))
|
121
|
+
GetResourceInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
|
122
|
+
GetResourceInput.add_member(:identifier, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "Identifier"))
|
123
|
+
GetResourceInput.struct_class = Types::GetResourceInput
|
124
|
+
|
125
|
+
GetResourceOutput.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "TypeName"))
|
126
|
+
GetResourceOutput.add_member(:resource_description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "ResourceDescription"))
|
127
|
+
GetResourceOutput.struct_class = Types::GetResourceOutput
|
128
|
+
|
129
|
+
GetResourceRequestStatusInput.add_member(:request_token, Shapes::ShapeRef.new(shape: RequestToken, required: true, location_name: "RequestToken"))
|
130
|
+
GetResourceRequestStatusInput.struct_class = Types::GetResourceRequestStatusInput
|
131
|
+
|
132
|
+
GetResourceRequestStatusOutput.add_member(:progress_event, Shapes::ShapeRef.new(shape: ProgressEvent, location_name: "ProgressEvent"))
|
133
|
+
GetResourceRequestStatusOutput.struct_class = Types::GetResourceRequestStatusOutput
|
134
|
+
|
135
|
+
HandlerFailureException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
136
|
+
HandlerFailureException.struct_class = Types::HandlerFailureException
|
137
|
+
|
138
|
+
HandlerInternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
139
|
+
HandlerInternalFailureException.struct_class = Types::HandlerInternalFailureException
|
140
|
+
|
141
|
+
InvalidCredentialsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
142
|
+
InvalidCredentialsException.struct_class = Types::InvalidCredentialsException
|
143
|
+
|
144
|
+
InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
145
|
+
InvalidRequestException.struct_class = Types::InvalidRequestException
|
146
|
+
|
147
|
+
ListResourceRequestsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
148
|
+
ListResourceRequestsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
149
|
+
ListResourceRequestsInput.add_member(:resource_request_status_filter, Shapes::ShapeRef.new(shape: ResourceRequestStatusFilter, location_name: "ResourceRequestStatusFilter"))
|
150
|
+
ListResourceRequestsInput.struct_class = Types::ListResourceRequestsInput
|
151
|
+
|
152
|
+
ListResourceRequestsOutput.add_member(:resource_request_status_summaries, Shapes::ShapeRef.new(shape: ResourceRequestStatusSummaries, location_name: "ResourceRequestStatusSummaries"))
|
153
|
+
ListResourceRequestsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
154
|
+
ListResourceRequestsOutput.struct_class = Types::ListResourceRequestsOutput
|
155
|
+
|
156
|
+
ListResourcesInput.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, required: true, location_name: "TypeName"))
|
157
|
+
ListResourcesInput.add_member(:type_version_id, Shapes::ShapeRef.new(shape: TypeVersionId, location_name: "TypeVersionId"))
|
158
|
+
ListResourcesInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
|
159
|
+
ListResourcesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: HandlerNextToken, location_name: "NextToken"))
|
160
|
+
ListResourcesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
161
|
+
ListResourcesInput.add_member(:resource_model, Shapes::ShapeRef.new(shape: Properties, location_name: "ResourceModel"))
|
162
|
+
ListResourcesInput.struct_class = Types::ListResourcesInput
|
163
|
+
|
164
|
+
ListResourcesOutput.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "TypeName"))
|
165
|
+
ListResourcesOutput.add_member(:resource_descriptions, Shapes::ShapeRef.new(shape: ResourceDescriptions, location_name: "ResourceDescriptions"))
|
166
|
+
ListResourcesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: HandlerNextToken, location_name: "NextToken"))
|
167
|
+
ListResourcesOutput.struct_class = Types::ListResourcesOutput
|
168
|
+
|
169
|
+
NetworkFailureException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
170
|
+
NetworkFailureException.struct_class = Types::NetworkFailureException
|
171
|
+
|
172
|
+
NotStabilizedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
173
|
+
NotStabilizedException.struct_class = Types::NotStabilizedException
|
174
|
+
|
175
|
+
NotUpdatableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
176
|
+
NotUpdatableException.struct_class = Types::NotUpdatableException
|
177
|
+
|
178
|
+
OperationStatuses.member = Shapes::ShapeRef.new(shape: OperationStatus)
|
179
|
+
|
180
|
+
Operations.member = Shapes::ShapeRef.new(shape: Operation)
|
181
|
+
|
182
|
+
PrivateTypeException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
183
|
+
PrivateTypeException.struct_class = Types::PrivateTypeException
|
184
|
+
|
185
|
+
ProgressEvent.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "TypeName"))
|
186
|
+
ProgressEvent.add_member(:identifier, Shapes::ShapeRef.new(shape: Identifier, location_name: "Identifier"))
|
187
|
+
ProgressEvent.add_member(:request_token, Shapes::ShapeRef.new(shape: RequestToken, location_name: "RequestToken"))
|
188
|
+
ProgressEvent.add_member(:operation, Shapes::ShapeRef.new(shape: Operation, location_name: "Operation"))
|
189
|
+
ProgressEvent.add_member(:operation_status, Shapes::ShapeRef.new(shape: OperationStatus, location_name: "OperationStatus"))
|
190
|
+
ProgressEvent.add_member(:event_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EventTime"))
|
191
|
+
ProgressEvent.add_member(:resource_model, Shapes::ShapeRef.new(shape: Properties, location_name: "ResourceModel"))
|
192
|
+
ProgressEvent.add_member(:status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "StatusMessage"))
|
193
|
+
ProgressEvent.add_member(:error_code, Shapes::ShapeRef.new(shape: HandlerErrorCode, location_name: "ErrorCode"))
|
194
|
+
ProgressEvent.add_member(:retry_after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "RetryAfter"))
|
195
|
+
ProgressEvent.struct_class = Types::ProgressEvent
|
196
|
+
|
197
|
+
RequestTokenNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
198
|
+
RequestTokenNotFoundException.struct_class = Types::RequestTokenNotFoundException
|
199
|
+
|
200
|
+
ResourceConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
201
|
+
ResourceConflictException.struct_class = Types::ResourceConflictException
|
202
|
+
|
203
|
+
ResourceDescription.add_member(:identifier, Shapes::ShapeRef.new(shape: Identifier, location_name: "Identifier"))
|
204
|
+
ResourceDescription.add_member(:properties, Shapes::ShapeRef.new(shape: Properties, location_name: "Properties"))
|
205
|
+
ResourceDescription.struct_class = Types::ResourceDescription
|
206
|
+
|
207
|
+
ResourceDescriptions.member = Shapes::ShapeRef.new(shape: ResourceDescription)
|
208
|
+
|
209
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
210
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
211
|
+
|
212
|
+
ResourceRequestStatusFilter.add_member(:operations, Shapes::ShapeRef.new(shape: Operations, location_name: "Operations"))
|
213
|
+
ResourceRequestStatusFilter.add_member(:operation_statuses, Shapes::ShapeRef.new(shape: OperationStatuses, location_name: "OperationStatuses"))
|
214
|
+
ResourceRequestStatusFilter.struct_class = Types::ResourceRequestStatusFilter
|
215
|
+
|
216
|
+
ResourceRequestStatusSummaries.member = Shapes::ShapeRef.new(shape: ProgressEvent)
|
217
|
+
|
218
|
+
ServiceInternalErrorException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
219
|
+
ServiceInternalErrorException.struct_class = Types::ServiceInternalErrorException
|
220
|
+
|
221
|
+
ServiceLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
222
|
+
ServiceLimitExceededException.struct_class = Types::ServiceLimitExceededException
|
223
|
+
|
224
|
+
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
225
|
+
ThrottlingException.struct_class = Types::ThrottlingException
|
226
|
+
|
227
|
+
TypeNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
228
|
+
TypeNotFoundException.struct_class = Types::TypeNotFoundException
|
229
|
+
|
230
|
+
UnsupportedActionException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
231
|
+
UnsupportedActionException.struct_class = Types::UnsupportedActionException
|
232
|
+
|
233
|
+
UpdateResourceInput.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, required: true, location_name: "TypeName"))
|
234
|
+
UpdateResourceInput.add_member(:type_version_id, Shapes::ShapeRef.new(shape: TypeVersionId, location_name: "TypeVersionId"))
|
235
|
+
UpdateResourceInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
|
236
|
+
UpdateResourceInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
237
|
+
UpdateResourceInput.add_member(:identifier, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "Identifier"))
|
238
|
+
UpdateResourceInput.add_member(:patch_document, Shapes::ShapeRef.new(shape: PatchDocument, required: true, location_name: "PatchDocument"))
|
239
|
+
UpdateResourceInput.struct_class = Types::UpdateResourceInput
|
240
|
+
|
241
|
+
UpdateResourceOutput.add_member(:progress_event, Shapes::ShapeRef.new(shape: ProgressEvent, location_name: "ProgressEvent"))
|
242
|
+
UpdateResourceOutput.struct_class = Types::UpdateResourceOutput
|
243
|
+
|
244
|
+
|
245
|
+
# @api private
|
246
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
247
|
+
|
248
|
+
api.version = "2021-09-30"
|
249
|
+
|
250
|
+
api.metadata = {
|
251
|
+
"apiVersion" => "2021-09-30",
|
252
|
+
"endpointPrefix" => "cloudcontrolapi",
|
253
|
+
"jsonVersion" => "1.0",
|
254
|
+
"protocol" => "json",
|
255
|
+
"serviceAbbreviation" => "CloudControlApi",
|
256
|
+
"serviceFullName" => "AWS Cloud Control API",
|
257
|
+
"serviceId" => "CloudControl",
|
258
|
+
"signatureVersion" => "v4",
|
259
|
+
"signingName" => "cloudcontrolapi",
|
260
|
+
"targetPrefix" => "CloudApiService",
|
261
|
+
"uid" => "cloudcontrol-2021-09-30",
|
262
|
+
}
|
263
|
+
|
264
|
+
api.add_operation(:cancel_resource_request, Seahorse::Model::Operation.new.tap do |o|
|
265
|
+
o.name = "CancelResourceRequest"
|
266
|
+
o.http_method = "POST"
|
267
|
+
o.http_request_uri = "/"
|
268
|
+
o.input = Shapes::ShapeRef.new(shape: CancelResourceRequestInput)
|
269
|
+
o.output = Shapes::ShapeRef.new(shape: CancelResourceRequestOutput)
|
270
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestTokenNotFoundException)
|
271
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
272
|
+
end)
|
273
|
+
|
274
|
+
api.add_operation(:create_resource, Seahorse::Model::Operation.new.tap do |o|
|
275
|
+
o.name = "CreateResource"
|
276
|
+
o.http_method = "POST"
|
277
|
+
o.http_request_uri = "/"
|
278
|
+
o.input = Shapes::ShapeRef.new(shape: CreateResourceInput)
|
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
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
285
|
+
o.errors << Shapes::ShapeRef.new(shape: GeneralServiceException)
|
286
|
+
o.errors << Shapes::ShapeRef.new(shape: HandlerInternalFailureException)
|
287
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCredentialsException)
|
288
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
289
|
+
o.errors << Shapes::ShapeRef.new(shape: NetworkFailureException)
|
290
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
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
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceInternalErrorException)
|
295
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceededException)
|
296
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
297
|
+
o.errors << Shapes::ShapeRef.new(shape: PrivateTypeException)
|
298
|
+
o.errors << Shapes::ShapeRef.new(shape: HandlerFailureException)
|
299
|
+
end)
|
300
|
+
|
301
|
+
api.add_operation(:delete_resource, Seahorse::Model::Operation.new.tap do |o|
|
302
|
+
o.name = "DeleteResource"
|
303
|
+
o.http_method = "POST"
|
304
|
+
o.http_request_uri = "/"
|
305
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteResourceInput)
|
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
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
312
|
+
o.errors << Shapes::ShapeRef.new(shape: GeneralServiceException)
|
313
|
+
o.errors << Shapes::ShapeRef.new(shape: HandlerInternalFailureException)
|
314
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCredentialsException)
|
315
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
316
|
+
o.errors << Shapes::ShapeRef.new(shape: NetworkFailureException)
|
317
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
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
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceInternalErrorException)
|
322
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceededException)
|
323
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
324
|
+
o.errors << Shapes::ShapeRef.new(shape: PrivateTypeException)
|
325
|
+
o.errors << Shapes::ShapeRef.new(shape: HandlerFailureException)
|
326
|
+
end)
|
327
|
+
|
328
|
+
api.add_operation(:get_resource, Seahorse::Model::Operation.new.tap do |o|
|
329
|
+
o.name = "GetResource"
|
330
|
+
o.http_method = "POST"
|
331
|
+
o.http_request_uri = "/"
|
332
|
+
o.input = Shapes::ShapeRef.new(shape: GetResourceInput)
|
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
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
337
|
+
o.errors << Shapes::ShapeRef.new(shape: GeneralServiceException)
|
338
|
+
o.errors << Shapes::ShapeRef.new(shape: HandlerInternalFailureException)
|
339
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCredentialsException)
|
340
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
341
|
+
o.errors << Shapes::ShapeRef.new(shape: NetworkFailureException)
|
342
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
343
|
+
o.errors << Shapes::ShapeRef.new(shape: NotStabilizedException)
|
344
|
+
o.errors << Shapes::ShapeRef.new(shape: NotUpdatableException)
|
345
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
346
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceInternalErrorException)
|
347
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceededException)
|
348
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
349
|
+
o.errors << Shapes::ShapeRef.new(shape: PrivateTypeException)
|
350
|
+
o.errors << Shapes::ShapeRef.new(shape: HandlerFailureException)
|
351
|
+
end)
|
352
|
+
|
353
|
+
api.add_operation(:get_resource_request_status, Seahorse::Model::Operation.new.tap do |o|
|
354
|
+
o.name = "GetResourceRequestStatus"
|
355
|
+
o.http_method = "POST"
|
356
|
+
o.http_request_uri = "/"
|
357
|
+
o.input = Shapes::ShapeRef.new(shape: GetResourceRequestStatusInput)
|
358
|
+
o.output = Shapes::ShapeRef.new(shape: GetResourceRequestStatusOutput)
|
359
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestTokenNotFoundException)
|
360
|
+
end)
|
361
|
+
|
362
|
+
api.add_operation(:list_resource_requests, Seahorse::Model::Operation.new.tap do |o|
|
363
|
+
o.name = "ListResourceRequests"
|
364
|
+
o.http_method = "POST"
|
365
|
+
o.http_request_uri = "/"
|
366
|
+
o.input = Shapes::ShapeRef.new(shape: ListResourceRequestsInput)
|
367
|
+
o.output = Shapes::ShapeRef.new(shape: ListResourceRequestsOutput)
|
368
|
+
o[:pager] = Aws::Pager.new(
|
369
|
+
limit_key: "max_results",
|
370
|
+
tokens: {
|
371
|
+
"next_token" => "next_token"
|
372
|
+
}
|
373
|
+
)
|
374
|
+
end)
|
375
|
+
|
376
|
+
api.add_operation(:list_resources, Seahorse::Model::Operation.new.tap do |o|
|
377
|
+
o.name = "ListResources"
|
378
|
+
o.http_method = "POST"
|
379
|
+
o.http_request_uri = "/"
|
380
|
+
o.input = Shapes::ShapeRef.new(shape: ListResourcesInput)
|
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
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
385
|
+
o.errors << Shapes::ShapeRef.new(shape: GeneralServiceException)
|
386
|
+
o.errors << Shapes::ShapeRef.new(shape: HandlerInternalFailureException)
|
387
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCredentialsException)
|
388
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
389
|
+
o.errors << Shapes::ShapeRef.new(shape: NetworkFailureException)
|
390
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
391
|
+
o.errors << Shapes::ShapeRef.new(shape: NotStabilizedException)
|
392
|
+
o.errors << Shapes::ShapeRef.new(shape: NotUpdatableException)
|
393
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
|
394
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceInternalErrorException)
|
395
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceededException)
|
396
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
397
|
+
o.errors << Shapes::ShapeRef.new(shape: PrivateTypeException)
|
398
|
+
o.errors << Shapes::ShapeRef.new(shape: HandlerFailureException)
|
399
|
+
o[:pager] = Aws::Pager.new(
|
400
|
+
limit_key: "max_results",
|
401
|
+
tokens: {
|
402
|
+
"next_token" => "next_token"
|
403
|
+
}
|
404
|
+
)
|
405
|
+
end)
|
406
|
+
|
407
|
+
api.add_operation(:update_resource, Seahorse::Model::Operation.new.tap do |o|
|
408
|
+
o.name = "UpdateResource"
|
409
|
+
o.http_method = "POST"
|
410
|
+
o.http_request_uri = "/"
|
411
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateResourceInput)
|
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
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
418
|
+
o.errors << Shapes::ShapeRef.new(shape: GeneralServiceException)
|
419
|
+
o.errors << Shapes::ShapeRef.new(shape: HandlerInternalFailureException)
|
420
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCredentialsException)
|
421
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
422
|
+
o.errors << Shapes::ShapeRef.new(shape: NetworkFailureException)
|
423
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
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
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceInternalErrorException)
|
428
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceededException)
|
429
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
430
|
+
o.errors << Shapes::ShapeRef.new(shape: PrivateTypeException)
|
431
|
+
o.errors << Shapes::ShapeRef.new(shape: HandlerFailureException)
|
432
|
+
end)
|
433
|
+
end
|
434
|
+
|
435
|
+
end
|
436
|
+
end
|
File without changes
|