aws-sdk-route53profiles 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,554 @@
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::Route53Profiles
11
+ # @api private
12
+ module ClientApi
13
+
14
+ include Seahorse::Model
15
+
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ AccountId = Shapes::StringShape.new(name: 'AccountId')
18
+ Arn = Shapes::StringShape.new(name: 'Arn')
19
+ AssociateProfileRequest = Shapes::StructureShape.new(name: 'AssociateProfileRequest')
20
+ AssociateProfileResponse = Shapes::StructureShape.new(name: 'AssociateProfileResponse')
21
+ AssociateResourceToProfileRequest = Shapes::StructureShape.new(name: 'AssociateResourceToProfileRequest')
22
+ AssociateResourceToProfileResponse = Shapes::StructureShape.new(name: 'AssociateResourceToProfileResponse')
23
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
24
+ CreateProfileRequest = Shapes::StructureShape.new(name: 'CreateProfileRequest')
25
+ CreateProfileResponse = Shapes::StructureShape.new(name: 'CreateProfileResponse')
26
+ CreatorRequestId = Shapes::StringShape.new(name: 'CreatorRequestId')
27
+ DeleteProfileRequest = Shapes::StructureShape.new(name: 'DeleteProfileRequest')
28
+ DeleteProfileResponse = Shapes::StructureShape.new(name: 'DeleteProfileResponse')
29
+ DisassociateProfileRequest = Shapes::StructureShape.new(name: 'DisassociateProfileRequest')
30
+ DisassociateProfileResponse = Shapes::StructureShape.new(name: 'DisassociateProfileResponse')
31
+ DisassociateResourceFromProfileRequest = Shapes::StructureShape.new(name: 'DisassociateResourceFromProfileRequest')
32
+ DisassociateResourceFromProfileResponse = Shapes::StructureShape.new(name: 'DisassociateResourceFromProfileResponse')
33
+ ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
34
+ GetProfileAssociationRequest = Shapes::StructureShape.new(name: 'GetProfileAssociationRequest')
35
+ GetProfileAssociationResponse = Shapes::StructureShape.new(name: 'GetProfileAssociationResponse')
36
+ GetProfileRequest = Shapes::StructureShape.new(name: 'GetProfileRequest')
37
+ GetProfileResourceAssociationRequest = Shapes::StructureShape.new(name: 'GetProfileResourceAssociationRequest')
38
+ GetProfileResourceAssociationResponse = Shapes::StructureShape.new(name: 'GetProfileResourceAssociationResponse')
39
+ GetProfileResponse = Shapes::StructureShape.new(name: 'GetProfileResponse')
40
+ InternalServiceErrorException = Shapes::StructureShape.new(name: 'InternalServiceErrorException')
41
+ InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
42
+ InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
43
+ LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
44
+ ListProfileAssociationsRequest = Shapes::StructureShape.new(name: 'ListProfileAssociationsRequest')
45
+ ListProfileAssociationsResponse = Shapes::StructureShape.new(name: 'ListProfileAssociationsResponse')
46
+ ListProfileResourceAssociationsRequest = Shapes::StructureShape.new(name: 'ListProfileResourceAssociationsRequest')
47
+ ListProfileResourceAssociationsResponse = Shapes::StructureShape.new(name: 'ListProfileResourceAssociationsResponse')
48
+ ListProfilesRequest = Shapes::StructureShape.new(name: 'ListProfilesRequest')
49
+ ListProfilesResponse = Shapes::StructureShape.new(name: 'ListProfilesResponse')
50
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
51
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
52
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
53
+ Name = Shapes::StringShape.new(name: 'Name')
54
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
55
+ Profile = Shapes::StructureShape.new(name: 'Profile')
56
+ ProfileAssociation = Shapes::StructureShape.new(name: 'ProfileAssociation')
57
+ ProfileAssociations = Shapes::ListShape.new(name: 'ProfileAssociations')
58
+ ProfileResourceAssociation = Shapes::StructureShape.new(name: 'ProfileResourceAssociation')
59
+ ProfileResourceAssociations = Shapes::ListShape.new(name: 'ProfileResourceAssociations')
60
+ ProfileStatus = Shapes::StringShape.new(name: 'ProfileStatus')
61
+ ProfileSummary = Shapes::StructureShape.new(name: 'ProfileSummary')
62
+ ProfileSummaryList = Shapes::ListShape.new(name: 'ProfileSummaryList')
63
+ ResourceExistsException = Shapes::StructureShape.new(name: 'ResourceExistsException')
64
+ ResourceId = Shapes::StringShape.new(name: 'ResourceId')
65
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
66
+ ResourceProperties = Shapes::StringShape.new(name: 'ResourceProperties')
67
+ Rfc3339Timestamp = Shapes::TimestampShape.new(name: 'Rfc3339Timestamp')
68
+ ShareStatus = Shapes::StringShape.new(name: 'ShareStatus')
69
+ String = Shapes::StringShape.new(name: 'String')
70
+ Tag = Shapes::StructureShape.new(name: 'Tag')
71
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
72
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
73
+ TagList = Shapes::ListShape.new(name: 'TagList')
74
+ TagMap = Shapes::MapShape.new(name: 'TagMap')
75
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
76
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
77
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
78
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
79
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
80
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
81
+ UpdateProfileResourceAssociationRequest = Shapes::StructureShape.new(name: 'UpdateProfileResourceAssociationRequest')
82
+ UpdateProfileResourceAssociationResponse = Shapes::StructureShape.new(name: 'UpdateProfileResourceAssociationResponse')
83
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
84
+
85
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
86
+ AccessDeniedException.struct_class = Types::AccessDeniedException
87
+
88
+ AssociateProfileRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
89
+ AssociateProfileRequest.add_member(:profile_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ProfileId"))
90
+ AssociateProfileRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResourceId"))
91
+ AssociateProfileRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
92
+ AssociateProfileRequest.struct_class = Types::AssociateProfileRequest
93
+
94
+ AssociateProfileResponse.add_member(:profile_association, Shapes::ShapeRef.new(shape: ProfileAssociation, location_name: "ProfileAssociation"))
95
+ AssociateProfileResponse.struct_class = Types::AssociateProfileResponse
96
+
97
+ AssociateResourceToProfileRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
98
+ AssociateResourceToProfileRequest.add_member(:profile_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ProfileId"))
99
+ AssociateResourceToProfileRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ResourceArn"))
100
+ AssociateResourceToProfileRequest.add_member(:resource_properties, Shapes::ShapeRef.new(shape: ResourceProperties, location_name: "ResourceProperties"))
101
+ AssociateResourceToProfileRequest.struct_class = Types::AssociateResourceToProfileRequest
102
+
103
+ AssociateResourceToProfileResponse.add_member(:profile_resource_association, Shapes::ShapeRef.new(shape: ProfileResourceAssociation, location_name: "ProfileResourceAssociation"))
104
+ AssociateResourceToProfileResponse.struct_class = Types::AssociateResourceToProfileResponse
105
+
106
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
107
+ ConflictException.struct_class = Types::ConflictException
108
+
109
+ CreateProfileRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: CreatorRequestId, required: true, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
110
+ CreateProfileRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
111
+ CreateProfileRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
112
+ CreateProfileRequest.struct_class = Types::CreateProfileRequest
113
+
114
+ CreateProfileResponse.add_member(:profile, Shapes::ShapeRef.new(shape: Profile, location_name: "Profile"))
115
+ CreateProfileResponse.struct_class = Types::CreateProfileResponse
116
+
117
+ DeleteProfileRequest.add_member(:profile_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "ProfileId"))
118
+ DeleteProfileRequest.struct_class = Types::DeleteProfileRequest
119
+
120
+ DeleteProfileResponse.add_member(:profile, Shapes::ShapeRef.new(shape: Profile, location_name: "Profile"))
121
+ DeleteProfileResponse.struct_class = Types::DeleteProfileResponse
122
+
123
+ DisassociateProfileRequest.add_member(:profile_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "ProfileId"))
124
+ DisassociateProfileRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "ResourceId"))
125
+ DisassociateProfileRequest.struct_class = Types::DisassociateProfileRequest
126
+
127
+ DisassociateProfileResponse.add_member(:profile_association, Shapes::ShapeRef.new(shape: ProfileAssociation, location_name: "ProfileAssociation"))
128
+ DisassociateProfileResponse.struct_class = Types::DisassociateProfileResponse
129
+
130
+ DisassociateResourceFromProfileRequest.add_member(:profile_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "ProfileId"))
131
+ DisassociateResourceFromProfileRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
132
+ DisassociateResourceFromProfileRequest.struct_class = Types::DisassociateResourceFromProfileRequest
133
+
134
+ DisassociateResourceFromProfileResponse.add_member(:profile_resource_association, Shapes::ShapeRef.new(shape: ProfileResourceAssociation, location_name: "ProfileResourceAssociation"))
135
+ DisassociateResourceFromProfileResponse.struct_class = Types::DisassociateResourceFromProfileResponse
136
+
137
+ GetProfileAssociationRequest.add_member(:profile_association_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "ProfileAssociationId"))
138
+ GetProfileAssociationRequest.struct_class = Types::GetProfileAssociationRequest
139
+
140
+ GetProfileAssociationResponse.add_member(:profile_association, Shapes::ShapeRef.new(shape: ProfileAssociation, location_name: "ProfileAssociation"))
141
+ GetProfileAssociationResponse.struct_class = Types::GetProfileAssociationResponse
142
+
143
+ GetProfileRequest.add_member(:profile_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "ProfileId"))
144
+ GetProfileRequest.struct_class = Types::GetProfileRequest
145
+
146
+ GetProfileResourceAssociationRequest.add_member(:profile_resource_association_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "ProfileResourceAssociationId"))
147
+ GetProfileResourceAssociationRequest.struct_class = Types::GetProfileResourceAssociationRequest
148
+
149
+ GetProfileResourceAssociationResponse.add_member(:profile_resource_association, Shapes::ShapeRef.new(shape: ProfileResourceAssociation, location_name: "ProfileResourceAssociation"))
150
+ GetProfileResourceAssociationResponse.struct_class = Types::GetProfileResourceAssociationResponse
151
+
152
+ GetProfileResponse.add_member(:profile, Shapes::ShapeRef.new(shape: Profile, location_name: "Profile"))
153
+ GetProfileResponse.struct_class = Types::GetProfileResponse
154
+
155
+ InternalServiceErrorException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
156
+ InternalServiceErrorException.struct_class = Types::InternalServiceErrorException
157
+
158
+ InvalidNextTokenException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
159
+ InvalidNextTokenException.struct_class = Types::InvalidNextTokenException
160
+
161
+ InvalidParameterException.add_member(:field_name, Shapes::ShapeRef.new(shape: String, location_name: "FieldName"))
162
+ InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "Message"))
163
+ InvalidParameterException.struct_class = Types::InvalidParameterException
164
+
165
+ LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
166
+ LimitExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "ResourceType"))
167
+ LimitExceededException.struct_class = Types::LimitExceededException
168
+
169
+ ListProfileAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
170
+ ListProfileAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
171
+ ListProfileAssociationsRequest.add_member(:profile_id, Shapes::ShapeRef.new(shape: ResourceId, location: "querystring", location_name: "profileId"))
172
+ ListProfileAssociationsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location: "querystring", location_name: "resourceId"))
173
+ ListProfileAssociationsRequest.struct_class = Types::ListProfileAssociationsRequest
174
+
175
+ ListProfileAssociationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
176
+ ListProfileAssociationsResponse.add_member(:profile_associations, Shapes::ShapeRef.new(shape: ProfileAssociations, location_name: "ProfileAssociations"))
177
+ ListProfileAssociationsResponse.struct_class = Types::ListProfileAssociationsResponse
178
+
179
+ ListProfileResourceAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
180
+ ListProfileResourceAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
181
+ ListProfileResourceAssociationsRequest.add_member(:profile_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "ProfileId"))
182
+ ListProfileResourceAssociationsRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "resourceType"))
183
+ ListProfileResourceAssociationsRequest.struct_class = Types::ListProfileResourceAssociationsRequest
184
+
185
+ ListProfileResourceAssociationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
186
+ ListProfileResourceAssociationsResponse.add_member(:profile_resource_associations, Shapes::ShapeRef.new(shape: ProfileResourceAssociations, location_name: "ProfileResourceAssociations"))
187
+ ListProfileResourceAssociationsResponse.struct_class = Types::ListProfileResourceAssociationsResponse
188
+
189
+ ListProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
190
+ ListProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
191
+ ListProfilesRequest.struct_class = Types::ListProfilesRequest
192
+
193
+ ListProfilesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
194
+ ListProfilesResponse.add_member(:profile_summaries, Shapes::ShapeRef.new(shape: ProfileSummaryList, location_name: "ProfileSummaries"))
195
+ ListProfilesResponse.struct_class = Types::ListProfilesResponse
196
+
197
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
198
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
199
+
200
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
201
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
202
+
203
+ Profile.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
204
+ Profile.add_member(:client_token, Shapes::ShapeRef.new(shape: CreatorRequestId, location_name: "ClientToken"))
205
+ Profile.add_member(:creation_time, Shapes::ShapeRef.new(shape: Rfc3339Timestamp, location_name: "CreationTime"))
206
+ Profile.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Id"))
207
+ Profile.add_member(:modification_time, Shapes::ShapeRef.new(shape: Rfc3339Timestamp, location_name: "ModificationTime"))
208
+ Profile.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
209
+ Profile.add_member(:owner_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "OwnerId"))
210
+ Profile.add_member(:share_status, Shapes::ShapeRef.new(shape: ShareStatus, location_name: "ShareStatus"))
211
+ Profile.add_member(:status, Shapes::ShapeRef.new(shape: ProfileStatus, location_name: "Status"))
212
+ Profile.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "StatusMessage"))
213
+ Profile.struct_class = Types::Profile
214
+
215
+ ProfileAssociation.add_member(:creation_time, Shapes::ShapeRef.new(shape: Rfc3339Timestamp, location_name: "CreationTime"))
216
+ ProfileAssociation.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Id"))
217
+ ProfileAssociation.add_member(:modification_time, Shapes::ShapeRef.new(shape: Rfc3339Timestamp, location_name: "ModificationTime"))
218
+ ProfileAssociation.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
219
+ ProfileAssociation.add_member(:owner_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "OwnerId"))
220
+ ProfileAssociation.add_member(:profile_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "ProfileId"))
221
+ ProfileAssociation.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "ResourceId"))
222
+ ProfileAssociation.add_member(:status, Shapes::ShapeRef.new(shape: ProfileStatus, location_name: "Status"))
223
+ ProfileAssociation.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "StatusMessage"))
224
+ ProfileAssociation.struct_class = Types::ProfileAssociation
225
+
226
+ ProfileAssociations.member = Shapes::ShapeRef.new(shape: ProfileAssociation)
227
+
228
+ ProfileResourceAssociation.add_member(:creation_time, Shapes::ShapeRef.new(shape: Rfc3339Timestamp, location_name: "CreationTime"))
229
+ ProfileResourceAssociation.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Id"))
230
+ ProfileResourceAssociation.add_member(:modification_time, Shapes::ShapeRef.new(shape: Rfc3339Timestamp, location_name: "ModificationTime"))
231
+ ProfileResourceAssociation.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
232
+ ProfileResourceAssociation.add_member(:owner_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "OwnerId"))
233
+ ProfileResourceAssociation.add_member(:profile_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "ProfileId"))
234
+ ProfileResourceAssociation.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ResourceArn"))
235
+ ProfileResourceAssociation.add_member(:resource_properties, Shapes::ShapeRef.new(shape: ResourceProperties, location_name: "ResourceProperties"))
236
+ ProfileResourceAssociation.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "ResourceType"))
237
+ ProfileResourceAssociation.add_member(:status, Shapes::ShapeRef.new(shape: ProfileStatus, location_name: "Status"))
238
+ ProfileResourceAssociation.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "StatusMessage"))
239
+ ProfileResourceAssociation.struct_class = Types::ProfileResourceAssociation
240
+
241
+ ProfileResourceAssociations.member = Shapes::ShapeRef.new(shape: ProfileResourceAssociation)
242
+
243
+ ProfileSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
244
+ ProfileSummary.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "Id"))
245
+ ProfileSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
246
+ ProfileSummary.add_member(:share_status, Shapes::ShapeRef.new(shape: ShareStatus, location_name: "ShareStatus"))
247
+ ProfileSummary.struct_class = Types::ProfileSummary
248
+
249
+ ProfileSummaryList.member = Shapes::ShapeRef.new(shape: ProfileSummary)
250
+
251
+ ResourceExistsException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
252
+ ResourceExistsException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "ResourceType"))
253
+ ResourceExistsException.struct_class = Types::ResourceExistsException
254
+
255
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
256
+ ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "ResourceType"))
257
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
258
+
259
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
260
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
261
+ Tag.struct_class = Types::Tag
262
+
263
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
264
+
265
+ TagList.member = Shapes::ShapeRef.new(shape: Tag)
266
+
267
+ TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
268
+ TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
269
+
270
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
271
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
272
+ TagResourceRequest.struct_class = Types::TagResourceRequest
273
+
274
+ TagResourceResponse.struct_class = Types::TagResourceResponse
275
+
276
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
277
+ ThrottlingException.struct_class = Types::ThrottlingException
278
+
279
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
280
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
281
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
282
+
283
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
284
+
285
+ UpdateProfileResourceAssociationRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
286
+ UpdateProfileResourceAssociationRequest.add_member(:profile_resource_association_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "ProfileResourceAssociationId"))
287
+ UpdateProfileResourceAssociationRequest.add_member(:resource_properties, Shapes::ShapeRef.new(shape: ResourceProperties, location_name: "ResourceProperties"))
288
+ UpdateProfileResourceAssociationRequest.struct_class = Types::UpdateProfileResourceAssociationRequest
289
+
290
+ UpdateProfileResourceAssociationResponse.add_member(:profile_resource_association, Shapes::ShapeRef.new(shape: ProfileResourceAssociation, location_name: "ProfileResourceAssociation"))
291
+ UpdateProfileResourceAssociationResponse.struct_class = Types::UpdateProfileResourceAssociationResponse
292
+
293
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
294
+ ValidationException.struct_class = Types::ValidationException
295
+
296
+
297
+ # @api private
298
+ API = Seahorse::Model::Api.new.tap do |api|
299
+
300
+ api.version = "2018-05-10"
301
+
302
+ api.metadata = {
303
+ "apiVersion" => "2018-05-10",
304
+ "endpointPrefix" => "route53profiles",
305
+ "jsonVersion" => "1.1",
306
+ "protocol" => "rest-json",
307
+ "serviceFullName" => "Route 53 Profiles",
308
+ "serviceId" => "Route53Profiles",
309
+ "signatureVersion" => "v4",
310
+ "signingName" => "route53profiles",
311
+ "uid" => "route53profiles-2018-05-10",
312
+ }
313
+
314
+ api.add_operation(:associate_profile, Seahorse::Model::Operation.new.tap do |o|
315
+ o.name = "AssociateProfile"
316
+ o.http_method = "POST"
317
+ o.http_request_uri = "/profileassociation"
318
+ o.input = Shapes::ShapeRef.new(shape: AssociateProfileRequest)
319
+ o.output = Shapes::ShapeRef.new(shape: AssociateProfileResponse)
320
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
321
+ o.errors << Shapes::ShapeRef.new(shape: ResourceExistsException)
322
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
323
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
324
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
325
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
326
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
327
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
328
+ end)
329
+
330
+ api.add_operation(:associate_resource_to_profile, Seahorse::Model::Operation.new.tap do |o|
331
+ o.name = "AssociateResourceToProfile"
332
+ o.http_method = "POST"
333
+ o.http_request_uri = "/profileresourceassociation"
334
+ o.input = Shapes::ShapeRef.new(shape: AssociateResourceToProfileRequest)
335
+ o.output = Shapes::ShapeRef.new(shape: AssociateResourceToProfileResponse)
336
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
337
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
338
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
339
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
340
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
341
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
342
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
343
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
344
+ end)
345
+
346
+ api.add_operation(:create_profile, Seahorse::Model::Operation.new.tap do |o|
347
+ o.name = "CreateProfile"
348
+ o.http_method = "POST"
349
+ o.http_request_uri = "/profile"
350
+ o.input = Shapes::ShapeRef.new(shape: CreateProfileRequest)
351
+ o.output = Shapes::ShapeRef.new(shape: CreateProfileResponse)
352
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
353
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
354
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
355
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
356
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
357
+ end)
358
+
359
+ api.add_operation(:delete_profile, Seahorse::Model::Operation.new.tap do |o|
360
+ o.name = "DeleteProfile"
361
+ o.http_method = "DELETE"
362
+ o.http_request_uri = "/profile/{ProfileId}"
363
+ o.input = Shapes::ShapeRef.new(shape: DeleteProfileRequest)
364
+ o.output = Shapes::ShapeRef.new(shape: DeleteProfileResponse)
365
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
366
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
367
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
368
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
369
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
370
+ end)
371
+
372
+ api.add_operation(:disassociate_profile, Seahorse::Model::Operation.new.tap do |o|
373
+ o.name = "DisassociateProfile"
374
+ o.http_method = "DELETE"
375
+ o.http_request_uri = "/profileassociation/Profileid/{ProfileId}/resourceid/{ResourceId}"
376
+ o.input = Shapes::ShapeRef.new(shape: DisassociateProfileRequest)
377
+ o.output = Shapes::ShapeRef.new(shape: DisassociateProfileResponse)
378
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
379
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
380
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
381
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
382
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
383
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
384
+ end)
385
+
386
+ api.add_operation(:disassociate_resource_from_profile, Seahorse::Model::Operation.new.tap do |o|
387
+ o.name = "DisassociateResourceFromProfile"
388
+ o.http_method = "DELETE"
389
+ o.http_request_uri = "/profileresourceassociation/profileid/{ProfileId}/resourcearn/{ResourceArn}"
390
+ o.input = Shapes::ShapeRef.new(shape: DisassociateResourceFromProfileRequest)
391
+ o.output = Shapes::ShapeRef.new(shape: DisassociateResourceFromProfileResponse)
392
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
393
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
394
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
395
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
396
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
397
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
398
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
399
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
400
+ end)
401
+
402
+ api.add_operation(:get_profile, Seahorse::Model::Operation.new.tap do |o|
403
+ o.name = "GetProfile"
404
+ o.http_method = "GET"
405
+ o.http_request_uri = "/profile/{ProfileId}"
406
+ o.input = Shapes::ShapeRef.new(shape: GetProfileRequest)
407
+ o.output = Shapes::ShapeRef.new(shape: GetProfileResponse)
408
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
409
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
410
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
411
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
412
+ end)
413
+
414
+ api.add_operation(:get_profile_association, Seahorse::Model::Operation.new.tap do |o|
415
+ o.name = "GetProfileAssociation"
416
+ o.http_method = "GET"
417
+ o.http_request_uri = "/profileassociation/{ProfileAssociationId}"
418
+ o.input = Shapes::ShapeRef.new(shape: GetProfileAssociationRequest)
419
+ o.output = Shapes::ShapeRef.new(shape: GetProfileAssociationResponse)
420
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
421
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
422
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
423
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
424
+ end)
425
+
426
+ api.add_operation(:get_profile_resource_association, Seahorse::Model::Operation.new.tap do |o|
427
+ o.name = "GetProfileResourceAssociation"
428
+ o.http_method = "GET"
429
+ o.http_request_uri = "/profileresourceassociation/{ProfileResourceAssociationId}"
430
+ o.input = Shapes::ShapeRef.new(shape: GetProfileResourceAssociationRequest)
431
+ o.output = Shapes::ShapeRef.new(shape: GetProfileResourceAssociationResponse)
432
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
433
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
434
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
435
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
436
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
437
+ end)
438
+
439
+ api.add_operation(:list_profile_associations, Seahorse::Model::Operation.new.tap do |o|
440
+ o.name = "ListProfileAssociations"
441
+ o.http_method = "GET"
442
+ o.http_request_uri = "/profileassociations"
443
+ o.input = Shapes::ShapeRef.new(shape: ListProfileAssociationsRequest)
444
+ o.output = Shapes::ShapeRef.new(shape: ListProfileAssociationsResponse)
445
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
446
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
447
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
448
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
449
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
450
+ o[:pager] = Aws::Pager.new(
451
+ limit_key: "max_results",
452
+ tokens: {
453
+ "next_token" => "next_token"
454
+ }
455
+ )
456
+ end)
457
+
458
+ api.add_operation(:list_profile_resource_associations, Seahorse::Model::Operation.new.tap do |o|
459
+ o.name = "ListProfileResourceAssociations"
460
+ o.http_method = "GET"
461
+ o.http_request_uri = "/profileresourceassociations/profileid/{ProfileId}"
462
+ o.input = Shapes::ShapeRef.new(shape: ListProfileResourceAssociationsRequest)
463
+ o.output = Shapes::ShapeRef.new(shape: ListProfileResourceAssociationsResponse)
464
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
465
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
466
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
467
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
468
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
469
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
470
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
471
+ o[:pager] = Aws::Pager.new(
472
+ limit_key: "max_results",
473
+ tokens: {
474
+ "next_token" => "next_token"
475
+ }
476
+ )
477
+ end)
478
+
479
+ api.add_operation(:list_profiles, Seahorse::Model::Operation.new.tap do |o|
480
+ o.name = "ListProfiles"
481
+ o.http_method = "GET"
482
+ o.http_request_uri = "/profiles"
483
+ o.input = Shapes::ShapeRef.new(shape: ListProfilesRequest)
484
+ o.output = Shapes::ShapeRef.new(shape: ListProfilesResponse)
485
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
486
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
487
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
488
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
489
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
490
+ o[:pager] = Aws::Pager.new(
491
+ limit_key: "max_results",
492
+ tokens: {
493
+ "next_token" => "next_token"
494
+ }
495
+ )
496
+ end)
497
+
498
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
499
+ o.name = "ListTagsForResource"
500
+ o.http_method = "GET"
501
+ o.http_request_uri = "/tags/{ResourceArn}"
502
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
503
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
504
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
505
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
506
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
507
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
508
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
509
+ end)
510
+
511
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
512
+ o.name = "TagResource"
513
+ o.http_method = "POST"
514
+ o.http_request_uri = "/tags/{ResourceArn}"
515
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
516
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
517
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
518
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
519
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
520
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
521
+ end)
522
+
523
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
524
+ o.name = "UntagResource"
525
+ o.http_method = "DELETE"
526
+ o.http_request_uri = "/tags/{ResourceArn}"
527
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
528
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
529
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
530
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
531
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
532
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
533
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
534
+ end)
535
+
536
+ api.add_operation(:update_profile_resource_association, Seahorse::Model::Operation.new.tap do |o|
537
+ o.name = "UpdateProfileResourceAssociation"
538
+ o.http_method = "PATCH"
539
+ o.http_request_uri = "/profileresourceassociation/{ProfileResourceAssociationId}"
540
+ o.input = Shapes::ShapeRef.new(shape: UpdateProfileResourceAssociationRequest)
541
+ o.output = Shapes::ShapeRef.new(shape: UpdateProfileResourceAssociationResponse)
542
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
543
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
544
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
545
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
546
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
547
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
548
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
549
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
550
+ end)
551
+ end
552
+
553
+ end
554
+ end
File without changes
@@ -0,0 +1,66 @@
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::Route53Profiles
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ self[:use_dual_stack] = options[:use_dual_stack]
54
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
+ if self[:use_dual_stack].nil?
56
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
+ end
58
+ self[:use_fips] = options[:use_fips]
59
+ self[:use_fips] = false if self[:use_fips].nil?
60
+ if self[:use_fips].nil?
61
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
+ end
63
+ self[:endpoint] = options[:endpoint]
64
+ end
65
+ end
66
+ end