aws-sdk-synthetics 1.25.0 → 1.28.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-synthetics/client.rb +396 -38
- data/lib/aws-sdk-synthetics/client_api.rb +253 -13
- data/lib/aws-sdk-synthetics/errors.rb +80 -0
- data/lib/aws-sdk-synthetics/types.rb +517 -27
- data/lib/aws-sdk-synthetics.rb +2 -2
- metadata +2 -2
@@ -15,6 +15,9 @@ module Aws::Synthetics
|
|
15
15
|
|
16
16
|
ArtifactConfigInput = Shapes::StructureShape.new(name: 'ArtifactConfigInput')
|
17
17
|
ArtifactConfigOutput = Shapes::StructureShape.new(name: 'ArtifactConfigOutput')
|
18
|
+
AssociateResourceRequest = Shapes::StructureShape.new(name: 'AssociateResourceRequest')
|
19
|
+
AssociateResourceResponse = Shapes::StructureShape.new(name: 'AssociateResourceResponse')
|
20
|
+
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
18
21
|
BaseScreenshot = Shapes::StructureShape.new(name: 'BaseScreenshot')
|
19
22
|
BaseScreenshotConfigIgnoreCoordinate = Shapes::StringShape.new(name: 'BaseScreenshotConfigIgnoreCoordinate')
|
20
23
|
BaseScreenshotIgnoreCoordinates = Shapes::ListShape.new(name: 'BaseScreenshotIgnoreCoordinates')
|
@@ -42,11 +45,16 @@ module Aws::Synthetics
|
|
42
45
|
CanaryStateReasonCode = Shapes::StringShape.new(name: 'CanaryStateReasonCode')
|
43
46
|
CanaryStatus = Shapes::StructureShape.new(name: 'CanaryStatus')
|
44
47
|
CanaryTimeline = Shapes::StructureShape.new(name: 'CanaryTimeline')
|
48
|
+
CodeHandler = Shapes::StringShape.new(name: 'CodeHandler')
|
45
49
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
46
50
|
CreateCanaryRequest = Shapes::StructureShape.new(name: 'CreateCanaryRequest')
|
47
51
|
CreateCanaryResponse = Shapes::StructureShape.new(name: 'CreateCanaryResponse')
|
52
|
+
CreateGroupRequest = Shapes::StructureShape.new(name: 'CreateGroupRequest')
|
53
|
+
CreateGroupResponse = Shapes::StructureShape.new(name: 'CreateGroupResponse')
|
48
54
|
DeleteCanaryRequest = Shapes::StructureShape.new(name: 'DeleteCanaryRequest')
|
49
55
|
DeleteCanaryResponse = Shapes::StructureShape.new(name: 'DeleteCanaryResponse')
|
56
|
+
DeleteGroupRequest = Shapes::StructureShape.new(name: 'DeleteGroupRequest')
|
57
|
+
DeleteGroupResponse = Shapes::StructureShape.new(name: 'DeleteGroupResponse')
|
50
58
|
DescribeCanariesLastRunNameFilter = Shapes::ListShape.new(name: 'DescribeCanariesLastRunNameFilter')
|
51
59
|
DescribeCanariesLastRunRequest = Shapes::StructureShape.new(name: 'DescribeCanariesLastRunRequest')
|
52
60
|
DescribeCanariesLastRunResponse = Shapes::StructureShape.new(name: 'DescribeCanariesLastRunResponse')
|
@@ -55,6 +63,8 @@ module Aws::Synthetics
|
|
55
63
|
DescribeCanariesResponse = Shapes::StructureShape.new(name: 'DescribeCanariesResponse')
|
56
64
|
DescribeRuntimeVersionsRequest = Shapes::StructureShape.new(name: 'DescribeRuntimeVersionsRequest')
|
57
65
|
DescribeRuntimeVersionsResponse = Shapes::StructureShape.new(name: 'DescribeRuntimeVersionsResponse')
|
66
|
+
DisassociateResourceRequest = Shapes::StructureShape.new(name: 'DisassociateResourceRequest')
|
67
|
+
DisassociateResourceResponse = Shapes::StructureShape.new(name: 'DisassociateResourceResponse')
|
58
68
|
EncryptionMode = Shapes::StringShape.new(name: 'EncryptionMode')
|
59
69
|
EnvironmentVariableName = Shapes::StringShape.new(name: 'EnvironmentVariableName')
|
60
70
|
EnvironmentVariableValue = Shapes::StringShape.new(name: 'EnvironmentVariableValue')
|
@@ -65,18 +75,37 @@ module Aws::Synthetics
|
|
65
75
|
GetCanaryResponse = Shapes::StructureShape.new(name: 'GetCanaryResponse')
|
66
76
|
GetCanaryRunsRequest = Shapes::StructureShape.new(name: 'GetCanaryRunsRequest')
|
67
77
|
GetCanaryRunsResponse = Shapes::StructureShape.new(name: 'GetCanaryRunsResponse')
|
78
|
+
GetGroupRequest = Shapes::StructureShape.new(name: 'GetGroupRequest')
|
79
|
+
GetGroupResponse = Shapes::StructureShape.new(name: 'GetGroupResponse')
|
80
|
+
Group = Shapes::StructureShape.new(name: 'Group')
|
81
|
+
GroupArn = Shapes::StringShape.new(name: 'GroupArn')
|
82
|
+
GroupIdentifier = Shapes::StringShape.new(name: 'GroupIdentifier')
|
83
|
+
GroupName = Shapes::StringShape.new(name: 'GroupName')
|
84
|
+
GroupSummary = Shapes::StructureShape.new(name: 'GroupSummary')
|
85
|
+
GroupSummaryList = Shapes::ListShape.new(name: 'GroupSummaryList')
|
86
|
+
InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
|
68
87
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
69
88
|
KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
|
89
|
+
ListAssociatedGroupsRequest = Shapes::StructureShape.new(name: 'ListAssociatedGroupsRequest')
|
90
|
+
ListAssociatedGroupsResponse = Shapes::StructureShape.new(name: 'ListAssociatedGroupsResponse')
|
91
|
+
ListGroupResourcesRequest = Shapes::StructureShape.new(name: 'ListGroupResourcesRequest')
|
92
|
+
ListGroupResourcesResponse = Shapes::StructureShape.new(name: 'ListGroupResourcesResponse')
|
93
|
+
ListGroupsRequest = Shapes::StructureShape.new(name: 'ListGroupsRequest')
|
94
|
+
ListGroupsResponse = Shapes::StructureShape.new(name: 'ListGroupsResponse')
|
70
95
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
71
96
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
72
97
|
MaxCanaryResults = Shapes::IntegerShape.new(name: 'MaxCanaryResults')
|
73
98
|
MaxFifteenMinutesInSeconds = Shapes::IntegerShape.new(name: 'MaxFifteenMinutesInSeconds')
|
99
|
+
MaxGroupResults = Shapes::IntegerShape.new(name: 'MaxGroupResults')
|
74
100
|
MaxOneYearInSeconds = Shapes::IntegerShape.new(name: 'MaxOneYearInSeconds')
|
75
101
|
MaxSize100 = Shapes::IntegerShape.new(name: 'MaxSize100')
|
76
102
|
MaxSize1024 = Shapes::IntegerShape.new(name: 'MaxSize1024')
|
77
103
|
MaxSize3008 = Shapes::IntegerShape.new(name: 'MaxSize3008')
|
104
|
+
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
78
105
|
NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
|
106
|
+
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
79
107
|
RequestEntityTooLargeException = Shapes::StructureShape.new(name: 'RequestEntityTooLargeException')
|
108
|
+
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
80
109
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
81
110
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
82
111
|
RuntimeVersion = Shapes::StructureShape.new(name: 'RuntimeVersion')
|
@@ -84,11 +113,13 @@ module Aws::Synthetics
|
|
84
113
|
S3EncryptionConfig = Shapes::StructureShape.new(name: 'S3EncryptionConfig')
|
85
114
|
SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
|
86
115
|
SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
|
116
|
+
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
87
117
|
StartCanaryRequest = Shapes::StructureShape.new(name: 'StartCanaryRequest')
|
88
118
|
StartCanaryResponse = Shapes::StructureShape.new(name: 'StartCanaryResponse')
|
89
119
|
StopCanaryRequest = Shapes::StructureShape.new(name: 'StopCanaryRequest')
|
90
120
|
StopCanaryResponse = Shapes::StructureShape.new(name: 'StopCanaryResponse')
|
91
121
|
String = Shapes::StringShape.new(name: 'String')
|
122
|
+
StringList = Shapes::ListShape.new(name: 'StringList')
|
92
123
|
SubnetId = Shapes::StringShape.new(name: 'SubnetId')
|
93
124
|
SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
|
94
125
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
@@ -99,6 +130,7 @@ module Aws::Synthetics
|
|
99
130
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
100
131
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
101
132
|
Token = Shapes::StringShape.new(name: 'Token')
|
133
|
+
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
102
134
|
UUID = Shapes::StringShape.new(name: 'UUID')
|
103
135
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
104
136
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
@@ -110,6 +142,7 @@ module Aws::Synthetics
|
|
110
142
|
VpcConfigInput = Shapes::StructureShape.new(name: 'VpcConfigInput')
|
111
143
|
VpcConfigOutput = Shapes::StructureShape.new(name: 'VpcConfigOutput')
|
112
144
|
VpcId = Shapes::StringShape.new(name: 'VpcId')
|
145
|
+
boolean = Shapes::BooleanShape.new(name: 'boolean')
|
113
146
|
|
114
147
|
ArtifactConfigInput.add_member(:s3_encryption, Shapes::ShapeRef.new(shape: S3EncryptionConfig, location_name: "S3Encryption"))
|
115
148
|
ArtifactConfigInput.struct_class = Types::ArtifactConfigInput
|
@@ -117,6 +150,15 @@ module Aws::Synthetics
|
|
117
150
|
ArtifactConfigOutput.add_member(:s3_encryption, Shapes::ShapeRef.new(shape: S3EncryptionConfig, location_name: "S3Encryption"))
|
118
151
|
ArtifactConfigOutput.struct_class = Types::ArtifactConfigOutput
|
119
152
|
|
153
|
+
AssociateResourceRequest.add_member(:group_identifier, Shapes::ShapeRef.new(shape: GroupIdentifier, required: true, location: "uri", location_name: "groupIdentifier"))
|
154
|
+
AssociateResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: CanaryArn, required: true, location_name: "ResourceArn"))
|
155
|
+
AssociateResourceRequest.struct_class = Types::AssociateResourceRequest
|
156
|
+
|
157
|
+
AssociateResourceResponse.struct_class = Types::AssociateResourceResponse
|
158
|
+
|
159
|
+
BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
160
|
+
BadRequestException.struct_class = Types::BadRequestException
|
161
|
+
|
120
162
|
BaseScreenshot.add_member(:screenshot_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ScreenshotName"))
|
121
163
|
BaseScreenshot.add_member(:ignore_coordinates, Shapes::ShapeRef.new(shape: BaseScreenshotIgnoreCoordinates, location_name: "IgnoreCoordinates"))
|
122
164
|
BaseScreenshot.struct_class = Types::BaseScreenshot
|
@@ -152,7 +194,7 @@ module Aws::Synthetics
|
|
152
194
|
CanaryCodeInput.add_member(:s3_key, Shapes::ShapeRef.new(shape: String, location_name: "S3Key"))
|
153
195
|
CanaryCodeInput.add_member(:s3_version, Shapes::ShapeRef.new(shape: String, location_name: "S3Version"))
|
154
196
|
CanaryCodeInput.add_member(:zip_file, Shapes::ShapeRef.new(shape: Blob, location_name: "ZipFile"))
|
155
|
-
CanaryCodeInput.add_member(:handler, Shapes::ShapeRef.new(shape:
|
197
|
+
CanaryCodeInput.add_member(:handler, Shapes::ShapeRef.new(shape: CodeHandler, required: true, location_name: "Handler"))
|
156
198
|
CanaryCodeInput.struct_class = Types::CanaryCodeInput
|
157
199
|
|
158
200
|
CanaryCodeOutput.add_member(:source_location_arn, Shapes::ShapeRef.new(shape: String, location_name: "SourceLocationArn"))
|
@@ -231,11 +273,24 @@ module Aws::Synthetics
|
|
231
273
|
CreateCanaryResponse.add_member(:canary, Shapes::ShapeRef.new(shape: Canary, location_name: "Canary"))
|
232
274
|
CreateCanaryResponse.struct_class = Types::CreateCanaryResponse
|
233
275
|
|
276
|
+
CreateGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "Name"))
|
277
|
+
CreateGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
278
|
+
CreateGroupRequest.struct_class = Types::CreateGroupRequest
|
279
|
+
|
280
|
+
CreateGroupResponse.add_member(:group, Shapes::ShapeRef.new(shape: Group, location_name: "Group"))
|
281
|
+
CreateGroupResponse.struct_class = Types::CreateGroupResponse
|
282
|
+
|
234
283
|
DeleteCanaryRequest.add_member(:name, Shapes::ShapeRef.new(shape: CanaryName, required: true, location: "uri", location_name: "name"))
|
284
|
+
DeleteCanaryRequest.add_member(:delete_lambda, Shapes::ShapeRef.new(shape: boolean, location: "querystring", location_name: "deleteLambda"))
|
235
285
|
DeleteCanaryRequest.struct_class = Types::DeleteCanaryRequest
|
236
286
|
|
237
287
|
DeleteCanaryResponse.struct_class = Types::DeleteCanaryResponse
|
238
288
|
|
289
|
+
DeleteGroupRequest.add_member(:group_identifier, Shapes::ShapeRef.new(shape: GroupIdentifier, required: true, location: "uri", location_name: "groupIdentifier"))
|
290
|
+
DeleteGroupRequest.struct_class = Types::DeleteGroupRequest
|
291
|
+
|
292
|
+
DeleteGroupResponse.struct_class = Types::DeleteGroupResponse
|
293
|
+
|
239
294
|
DescribeCanariesLastRunNameFilter.member = Shapes::ShapeRef.new(shape: CanaryName)
|
240
295
|
|
241
296
|
DescribeCanariesLastRunRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
@@ -266,6 +321,12 @@ module Aws::Synthetics
|
|
266
321
|
DescribeRuntimeVersionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
267
322
|
DescribeRuntimeVersionsResponse.struct_class = Types::DescribeRuntimeVersionsResponse
|
268
323
|
|
324
|
+
DisassociateResourceRequest.add_member(:group_identifier, Shapes::ShapeRef.new(shape: GroupIdentifier, required: true, location: "uri", location_name: "groupIdentifier"))
|
325
|
+
DisassociateResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: CanaryArn, required: true, location_name: "ResourceArn"))
|
326
|
+
DisassociateResourceRequest.struct_class = Types::DisassociateResourceRequest
|
327
|
+
|
328
|
+
DisassociateResourceResponse.struct_class = Types::DisassociateResourceResponse
|
329
|
+
|
269
330
|
EnvironmentVariablesMap.key = Shapes::ShapeRef.new(shape: EnvironmentVariableName)
|
270
331
|
EnvironmentVariablesMap.value = Shapes::ShapeRef.new(shape: EnvironmentVariableValue)
|
271
332
|
|
@@ -284,15 +345,68 @@ module Aws::Synthetics
|
|
284
345
|
GetCanaryRunsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
285
346
|
GetCanaryRunsResponse.struct_class = Types::GetCanaryRunsResponse
|
286
347
|
|
348
|
+
GetGroupRequest.add_member(:group_identifier, Shapes::ShapeRef.new(shape: GroupIdentifier, required: true, location: "uri", location_name: "groupIdentifier"))
|
349
|
+
GetGroupRequest.struct_class = Types::GetGroupRequest
|
350
|
+
|
351
|
+
GetGroupResponse.add_member(:group, Shapes::ShapeRef.new(shape: Group, location_name: "Group"))
|
352
|
+
GetGroupResponse.struct_class = Types::GetGroupResponse
|
353
|
+
|
354
|
+
Group.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "Id"))
|
355
|
+
Group.add_member(:name, Shapes::ShapeRef.new(shape: GroupName, location_name: "Name"))
|
356
|
+
Group.add_member(:arn, Shapes::ShapeRef.new(shape: GroupArn, location_name: "Arn"))
|
357
|
+
Group.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
358
|
+
Group.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTime"))
|
359
|
+
Group.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
|
360
|
+
Group.struct_class = Types::Group
|
361
|
+
|
362
|
+
GroupSummary.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "Id"))
|
363
|
+
GroupSummary.add_member(:name, Shapes::ShapeRef.new(shape: GroupName, location_name: "Name"))
|
364
|
+
GroupSummary.add_member(:arn, Shapes::ShapeRef.new(shape: GroupArn, location_name: "Arn"))
|
365
|
+
GroupSummary.struct_class = Types::GroupSummary
|
366
|
+
|
367
|
+
GroupSummaryList.member = Shapes::ShapeRef.new(shape: GroupSummary)
|
368
|
+
|
369
|
+
InternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
370
|
+
InternalFailureException.struct_class = Types::InternalFailureException
|
371
|
+
|
287
372
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
288
373
|
InternalServerException.struct_class = Types::InternalServerException
|
289
374
|
|
290
|
-
|
375
|
+
ListAssociatedGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
376
|
+
ListAssociatedGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxGroupResults, location_name: "MaxResults"))
|
377
|
+
ListAssociatedGroupsRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: CanaryArn, required: true, location: "uri", location_name: "resourceArn"))
|
378
|
+
ListAssociatedGroupsRequest.struct_class = Types::ListAssociatedGroupsRequest
|
379
|
+
|
380
|
+
ListAssociatedGroupsResponse.add_member(:groups, Shapes::ShapeRef.new(shape: GroupSummaryList, location_name: "Groups"))
|
381
|
+
ListAssociatedGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
382
|
+
ListAssociatedGroupsResponse.struct_class = Types::ListAssociatedGroupsResponse
|
383
|
+
|
384
|
+
ListGroupResourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
385
|
+
ListGroupResourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxGroupResults, location_name: "MaxResults"))
|
386
|
+
ListGroupResourcesRequest.add_member(:group_identifier, Shapes::ShapeRef.new(shape: GroupIdentifier, required: true, location: "uri", location_name: "groupIdentifier"))
|
387
|
+
ListGroupResourcesRequest.struct_class = Types::ListGroupResourcesRequest
|
388
|
+
|
389
|
+
ListGroupResourcesResponse.add_member(:resources, Shapes::ShapeRef.new(shape: StringList, location_name: "Resources"))
|
390
|
+
ListGroupResourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
391
|
+
ListGroupResourcesResponse.struct_class = Types::ListGroupResourcesResponse
|
392
|
+
|
393
|
+
ListGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
394
|
+
ListGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxGroupResults, location_name: "MaxResults"))
|
395
|
+
ListGroupsRequest.struct_class = Types::ListGroupsRequest
|
396
|
+
|
397
|
+
ListGroupsResponse.add_member(:groups, Shapes::ShapeRef.new(shape: GroupSummaryList, location_name: "Groups"))
|
398
|
+
ListGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
399
|
+
ListGroupsResponse.struct_class = Types::ListGroupsResponse
|
400
|
+
|
401
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
|
291
402
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
292
403
|
|
293
404
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
294
405
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
295
406
|
|
407
|
+
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
408
|
+
NotFoundException.struct_class = Types::NotFoundException
|
409
|
+
|
296
410
|
RequestEntityTooLargeException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
297
411
|
RequestEntityTooLargeException.struct_class = Types::RequestEntityTooLargeException
|
298
412
|
|
@@ -313,6 +427,9 @@ module Aws::Synthetics
|
|
313
427
|
|
314
428
|
SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
|
315
429
|
|
430
|
+
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
431
|
+
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
432
|
+
|
316
433
|
StartCanaryRequest.add_member(:name, Shapes::ShapeRef.new(shape: CanaryName, required: true, location: "uri", location_name: "name"))
|
317
434
|
StartCanaryRequest.struct_class = Types::StartCanaryRequest
|
318
435
|
|
@@ -323,6 +440,8 @@ module Aws::Synthetics
|
|
323
440
|
|
324
441
|
StopCanaryResponse.struct_class = Types::StopCanaryResponse
|
325
442
|
|
443
|
+
StringList.member = Shapes::ShapeRef.new(shape: String)
|
444
|
+
|
326
445
|
SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
|
327
446
|
|
328
447
|
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
@@ -330,13 +449,16 @@ module Aws::Synthetics
|
|
330
449
|
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
331
450
|
TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
332
451
|
|
333
|
-
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape:
|
452
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
|
334
453
|
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
|
335
454
|
TagResourceRequest.struct_class = Types::TagResourceRequest
|
336
455
|
|
337
456
|
TagResourceResponse.struct_class = Types::TagResourceResponse
|
338
457
|
|
339
|
-
|
458
|
+
TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
459
|
+
TooManyRequestsException.struct_class = Types::TooManyRequestsException
|
460
|
+
|
461
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
|
340
462
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
|
341
463
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
342
464
|
|
@@ -397,6 +519,19 @@ module Aws::Synthetics
|
|
397
519
|
"uid" => "synthetics-2017-10-11",
|
398
520
|
}
|
399
521
|
|
522
|
+
api.add_operation(:associate_resource, Seahorse::Model::Operation.new.tap do |o|
|
523
|
+
o.name = "AssociateResource"
|
524
|
+
o.http_method = "PATCH"
|
525
|
+
o.http_request_uri = "/group/{groupIdentifier}/associate"
|
526
|
+
o.input = Shapes::ShapeRef.new(shape: AssociateResourceRequest)
|
527
|
+
o.output = Shapes::ShapeRef.new(shape: AssociateResourceResponse)
|
528
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
529
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
530
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
531
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
532
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
533
|
+
end)
|
534
|
+
|
400
535
|
api.add_operation(:create_canary, Seahorse::Model::Operation.new.tap do |o|
|
401
536
|
o.name = "CreateCanary"
|
402
537
|
o.http_method = "POST"
|
@@ -408,6 +543,18 @@ module Aws::Synthetics
|
|
408
543
|
o.errors << Shapes::ShapeRef.new(shape: RequestEntityTooLargeException)
|
409
544
|
end)
|
410
545
|
|
546
|
+
api.add_operation(:create_group, Seahorse::Model::Operation.new.tap do |o|
|
547
|
+
o.name = "CreateGroup"
|
548
|
+
o.http_method = "POST"
|
549
|
+
o.http_request_uri = "/group"
|
550
|
+
o.input = Shapes::ShapeRef.new(shape: CreateGroupRequest)
|
551
|
+
o.output = Shapes::ShapeRef.new(shape: CreateGroupResponse)
|
552
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
553
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
554
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
555
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
556
|
+
end)
|
557
|
+
|
411
558
|
api.add_operation(:delete_canary, Seahorse::Model::Operation.new.tap do |o|
|
412
559
|
o.name = "DeleteCanary"
|
413
560
|
o.http_method = "DELETE"
|
@@ -420,6 +567,18 @@ module Aws::Synthetics
|
|
420
567
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
421
568
|
end)
|
422
569
|
|
570
|
+
api.add_operation(:delete_group, Seahorse::Model::Operation.new.tap do |o|
|
571
|
+
o.name = "DeleteGroup"
|
572
|
+
o.http_method = "DELETE"
|
573
|
+
o.http_request_uri = "/group/{groupIdentifier}"
|
574
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteGroupRequest)
|
575
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteGroupResponse)
|
576
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
577
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
578
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
579
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
580
|
+
end)
|
581
|
+
|
423
582
|
api.add_operation(:describe_canaries, Seahorse::Model::Operation.new.tap do |o|
|
424
583
|
o.name = "DescribeCanaries"
|
425
584
|
o.http_method = "POST"
|
@@ -468,6 +627,18 @@ module Aws::Synthetics
|
|
468
627
|
)
|
469
628
|
end)
|
470
629
|
|
630
|
+
api.add_operation(:disassociate_resource, Seahorse::Model::Operation.new.tap do |o|
|
631
|
+
o.name = "DisassociateResource"
|
632
|
+
o.http_method = "PATCH"
|
633
|
+
o.http_request_uri = "/group/{groupIdentifier}/disassociate"
|
634
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateResourceRequest)
|
635
|
+
o.output = Shapes::ShapeRef.new(shape: DisassociateResourceResponse)
|
636
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
637
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
638
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
639
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
640
|
+
end)
|
641
|
+
|
471
642
|
api.add_operation(:get_canary, Seahorse::Model::Operation.new.tap do |o|
|
472
643
|
o.name = "GetCanary"
|
473
644
|
o.http_method = "GET"
|
@@ -495,15 +666,80 @@ module Aws::Synthetics
|
|
495
666
|
)
|
496
667
|
end)
|
497
668
|
|
669
|
+
api.add_operation(:get_group, Seahorse::Model::Operation.new.tap do |o|
|
670
|
+
o.name = "GetGroup"
|
671
|
+
o.http_method = "GET"
|
672
|
+
o.http_request_uri = "/group/{groupIdentifier}"
|
673
|
+
o.input = Shapes::ShapeRef.new(shape: GetGroupRequest)
|
674
|
+
o.output = Shapes::ShapeRef.new(shape: GetGroupResponse)
|
675
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
676
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
677
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
678
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
679
|
+
end)
|
680
|
+
|
681
|
+
api.add_operation(:list_associated_groups, Seahorse::Model::Operation.new.tap do |o|
|
682
|
+
o.name = "ListAssociatedGroups"
|
683
|
+
o.http_method = "POST"
|
684
|
+
o.http_request_uri = "/resource/{resourceArn}/groups"
|
685
|
+
o.input = Shapes::ShapeRef.new(shape: ListAssociatedGroupsRequest)
|
686
|
+
o.output = Shapes::ShapeRef.new(shape: ListAssociatedGroupsResponse)
|
687
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
688
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
689
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
690
|
+
o[:pager] = Aws::Pager.new(
|
691
|
+
limit_key: "max_results",
|
692
|
+
tokens: {
|
693
|
+
"next_token" => "next_token"
|
694
|
+
}
|
695
|
+
)
|
696
|
+
end)
|
697
|
+
|
698
|
+
api.add_operation(:list_group_resources, Seahorse::Model::Operation.new.tap do |o|
|
699
|
+
o.name = "ListGroupResources"
|
700
|
+
o.http_method = "POST"
|
701
|
+
o.http_request_uri = "/group/{groupIdentifier}/resources"
|
702
|
+
o.input = Shapes::ShapeRef.new(shape: ListGroupResourcesRequest)
|
703
|
+
o.output = Shapes::ShapeRef.new(shape: ListGroupResourcesResponse)
|
704
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
705
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
706
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
707
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
708
|
+
o[:pager] = Aws::Pager.new(
|
709
|
+
limit_key: "max_results",
|
710
|
+
tokens: {
|
711
|
+
"next_token" => "next_token"
|
712
|
+
}
|
713
|
+
)
|
714
|
+
end)
|
715
|
+
|
716
|
+
api.add_operation(:list_groups, Seahorse::Model::Operation.new.tap do |o|
|
717
|
+
o.name = "ListGroups"
|
718
|
+
o.http_method = "POST"
|
719
|
+
o.http_request_uri = "/groups"
|
720
|
+
o.input = Shapes::ShapeRef.new(shape: ListGroupsRequest)
|
721
|
+
o.output = Shapes::ShapeRef.new(shape: ListGroupsResponse)
|
722
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
723
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
724
|
+
o[:pager] = Aws::Pager.new(
|
725
|
+
limit_key: "max_results",
|
726
|
+
tokens: {
|
727
|
+
"next_token" => "next_token"
|
728
|
+
}
|
729
|
+
)
|
730
|
+
end)
|
731
|
+
|
498
732
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
499
733
|
o.name = "ListTagsForResource"
|
500
734
|
o.http_method = "GET"
|
501
735
|
o.http_request_uri = "/tags/{resourceArn}"
|
502
736
|
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
503
737
|
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
504
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
505
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
506
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
738
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
739
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
740
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
741
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
742
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
507
743
|
end)
|
508
744
|
|
509
745
|
api.add_operation(:start_canary, Seahorse::Model::Operation.new.tap do |o|
|
@@ -536,9 +772,11 @@ module Aws::Synthetics
|
|
536
772
|
o.http_request_uri = "/tags/{resourceArn}"
|
537
773
|
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
538
774
|
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
539
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
540
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
541
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
775
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
776
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
777
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
778
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
779
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
542
780
|
end)
|
543
781
|
|
544
782
|
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -547,9 +785,11 @@ module Aws::Synthetics
|
|
547
785
|
o.http_request_uri = "/tags/{resourceArn}"
|
548
786
|
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
549
787
|
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
550
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
551
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
552
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
788
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
789
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
790
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
791
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
792
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
553
793
|
end)
|
554
794
|
|
555
795
|
api.add_operation(:update_canary, Seahorse::Model::Operation.new.tap do |o|
|
@@ -27,10 +27,15 @@ module Aws::Synthetics
|
|
27
27
|
# See {Seahorse::Client::RequestContext} for more information.
|
28
28
|
#
|
29
29
|
# ## Error Classes
|
30
|
+
# * {BadRequestException}
|
30
31
|
# * {ConflictException}
|
32
|
+
# * {InternalFailureException}
|
31
33
|
# * {InternalServerException}
|
34
|
+
# * {NotFoundException}
|
32
35
|
# * {RequestEntityTooLargeException}
|
33
36
|
# * {ResourceNotFoundException}
|
37
|
+
# * {ServiceQuotaExceededException}
|
38
|
+
# * {TooManyRequestsException}
|
34
39
|
# * {ValidationException}
|
35
40
|
#
|
36
41
|
# Additionally, error classes are dynamically generated for service errors based on the error code
|
@@ -39,6 +44,21 @@ module Aws::Synthetics
|
|
39
44
|
|
40
45
|
extend Aws::Errors::DynamicErrors
|
41
46
|
|
47
|
+
class BadRequestException < ServiceError
|
48
|
+
|
49
|
+
# @param [Seahorse::Client::RequestContext] context
|
50
|
+
# @param [String] message
|
51
|
+
# @param [Aws::Synthetics::Types::BadRequestException] data
|
52
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
53
|
+
super(context, message, data)
|
54
|
+
end
|
55
|
+
|
56
|
+
# @return [String]
|
57
|
+
def message
|
58
|
+
@message || @data[:message]
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
42
62
|
class ConflictException < ServiceError
|
43
63
|
|
44
64
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -54,6 +74,21 @@ module Aws::Synthetics
|
|
54
74
|
end
|
55
75
|
end
|
56
76
|
|
77
|
+
class InternalFailureException < ServiceError
|
78
|
+
|
79
|
+
# @param [Seahorse::Client::RequestContext] context
|
80
|
+
# @param [String] message
|
81
|
+
# @param [Aws::Synthetics::Types::InternalFailureException] data
|
82
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
83
|
+
super(context, message, data)
|
84
|
+
end
|
85
|
+
|
86
|
+
# @return [String]
|
87
|
+
def message
|
88
|
+
@message || @data[:message]
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
57
92
|
class InternalServerException < ServiceError
|
58
93
|
|
59
94
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -69,6 +104,21 @@ module Aws::Synthetics
|
|
69
104
|
end
|
70
105
|
end
|
71
106
|
|
107
|
+
class NotFoundException < ServiceError
|
108
|
+
|
109
|
+
# @param [Seahorse::Client::RequestContext] context
|
110
|
+
# @param [String] message
|
111
|
+
# @param [Aws::Synthetics::Types::NotFoundException] data
|
112
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
113
|
+
super(context, message, data)
|
114
|
+
end
|
115
|
+
|
116
|
+
# @return [String]
|
117
|
+
def message
|
118
|
+
@message || @data[:message]
|
119
|
+
end
|
120
|
+
end
|
121
|
+
|
72
122
|
class RequestEntityTooLargeException < ServiceError
|
73
123
|
|
74
124
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -99,6 +149,36 @@ module Aws::Synthetics
|
|
99
149
|
end
|
100
150
|
end
|
101
151
|
|
152
|
+
class ServiceQuotaExceededException < ServiceError
|
153
|
+
|
154
|
+
# @param [Seahorse::Client::RequestContext] context
|
155
|
+
# @param [String] message
|
156
|
+
# @param [Aws::Synthetics::Types::ServiceQuotaExceededException] data
|
157
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
158
|
+
super(context, message, data)
|
159
|
+
end
|
160
|
+
|
161
|
+
# @return [String]
|
162
|
+
def message
|
163
|
+
@message || @data[:message]
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
167
|
+
class TooManyRequestsException < ServiceError
|
168
|
+
|
169
|
+
# @param [Seahorse::Client::RequestContext] context
|
170
|
+
# @param [String] message
|
171
|
+
# @param [Aws::Synthetics::Types::TooManyRequestsException] data
|
172
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
173
|
+
super(context, message, data)
|
174
|
+
end
|
175
|
+
|
176
|
+
# @return [String]
|
177
|
+
def message
|
178
|
+
@message || @data[:message]
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
102
182
|
class ValidationException < ServiceError
|
103
183
|
|
104
184
|
# @param [Seahorse::Client::RequestContext] context
|