aws-sdk-fis 1.24.0 → 1.26.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-fis/client.rb +378 -5
- data/lib/aws-sdk-fis/client_api.rb +255 -0
- data/lib/aws-sdk-fis/endpoint_provider.rb +2 -2
- data/lib/aws-sdk-fis/endpoints.rb +112 -0
- data/lib/aws-sdk-fis/plugins/endpoints.rb +19 -2
- data/lib/aws-sdk-fis/types.rb +530 -4
- data/lib/aws-sdk-fis.rb +1 -1
- metadata +2 -2
@@ -13,6 +13,7 @@ module Aws::FIS
|
|
13
13
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
|
+
AccountTargeting = Shapes::StringShape.new(name: 'AccountTargeting')
|
16
17
|
Action = Shapes::StructureShape.new(name: 'Action')
|
17
18
|
ActionDescription = Shapes::StringShape.new(name: 'ActionDescription')
|
18
19
|
ActionId = Shapes::StringShape.new(name: 'ActionId')
|
@@ -31,6 +32,7 @@ module Aws::FIS
|
|
31
32
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
32
33
|
CreateExperimentTemplateActionInput = Shapes::StructureShape.new(name: 'CreateExperimentTemplateActionInput')
|
33
34
|
CreateExperimentTemplateActionInputMap = Shapes::MapShape.new(name: 'CreateExperimentTemplateActionInputMap')
|
35
|
+
CreateExperimentTemplateExperimentOptionsInput = Shapes::StructureShape.new(name: 'CreateExperimentTemplateExperimentOptionsInput')
|
34
36
|
CreateExperimentTemplateLogConfigurationInput = Shapes::StructureShape.new(name: 'CreateExperimentTemplateLogConfigurationInput')
|
35
37
|
CreateExperimentTemplateRequest = Shapes::StructureShape.new(name: 'CreateExperimentTemplateRequest')
|
36
38
|
CreateExperimentTemplateResponse = Shapes::StructureShape.new(name: 'CreateExperimentTemplateResponse')
|
@@ -38,9 +40,14 @@ module Aws::FIS
|
|
38
40
|
CreateExperimentTemplateStopConditionInputList = Shapes::ListShape.new(name: 'CreateExperimentTemplateStopConditionInputList')
|
39
41
|
CreateExperimentTemplateTargetInput = Shapes::StructureShape.new(name: 'CreateExperimentTemplateTargetInput')
|
40
42
|
CreateExperimentTemplateTargetInputMap = Shapes::MapShape.new(name: 'CreateExperimentTemplateTargetInputMap')
|
43
|
+
CreateTargetAccountConfigurationRequest = Shapes::StructureShape.new(name: 'CreateTargetAccountConfigurationRequest')
|
44
|
+
CreateTargetAccountConfigurationResponse = Shapes::StructureShape.new(name: 'CreateTargetAccountConfigurationResponse')
|
41
45
|
CreationTime = Shapes::TimestampShape.new(name: 'CreationTime')
|
42
46
|
DeleteExperimentTemplateRequest = Shapes::StructureShape.new(name: 'DeleteExperimentTemplateRequest')
|
43
47
|
DeleteExperimentTemplateResponse = Shapes::StructureShape.new(name: 'DeleteExperimentTemplateResponse')
|
48
|
+
DeleteTargetAccountConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteTargetAccountConfigurationRequest')
|
49
|
+
DeleteTargetAccountConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteTargetAccountConfigurationResponse')
|
50
|
+
EmptyTargetResolutionMode = Shapes::StringShape.new(name: 'EmptyTargetResolutionMode')
|
44
51
|
ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
|
45
52
|
Experiment = Shapes::StructureShape.new(name: 'Experiment')
|
46
53
|
ExperimentAction = Shapes::StructureShape.new(name: 'ExperimentAction')
|
@@ -63,6 +70,7 @@ module Aws::FIS
|
|
63
70
|
ExperimentEndTime = Shapes::TimestampShape.new(name: 'ExperimentEndTime')
|
64
71
|
ExperimentId = Shapes::StringShape.new(name: 'ExperimentId')
|
65
72
|
ExperimentLogConfiguration = Shapes::StructureShape.new(name: 'ExperimentLogConfiguration')
|
73
|
+
ExperimentOptions = Shapes::StructureShape.new(name: 'ExperimentOptions')
|
66
74
|
ExperimentS3LogConfiguration = Shapes::StructureShape.new(name: 'ExperimentS3LogConfiguration')
|
67
75
|
ExperimentStartTime = Shapes::TimestampShape.new(name: 'ExperimentStartTime')
|
68
76
|
ExperimentState = Shapes::StructureShape.new(name: 'ExperimentState')
|
@@ -73,6 +81,9 @@ module Aws::FIS
|
|
73
81
|
ExperimentSummary = Shapes::StructureShape.new(name: 'ExperimentSummary')
|
74
82
|
ExperimentSummaryList = Shapes::ListShape.new(name: 'ExperimentSummaryList')
|
75
83
|
ExperimentTarget = Shapes::StructureShape.new(name: 'ExperimentTarget')
|
84
|
+
ExperimentTargetAccountConfiguration = Shapes::StructureShape.new(name: 'ExperimentTargetAccountConfiguration')
|
85
|
+
ExperimentTargetAccountConfigurationList = Shapes::ListShape.new(name: 'ExperimentTargetAccountConfigurationList')
|
86
|
+
ExperimentTargetAccountConfigurationSummary = Shapes::StructureShape.new(name: 'ExperimentTargetAccountConfigurationSummary')
|
76
87
|
ExperimentTargetFilter = Shapes::StructureShape.new(name: 'ExperimentTargetFilter')
|
77
88
|
ExperimentTargetFilterList = Shapes::ListShape.new(name: 'ExperimentTargetFilterList')
|
78
89
|
ExperimentTargetFilterPath = Shapes::StringShape.new(name: 'ExperimentTargetFilterPath')
|
@@ -99,6 +110,7 @@ module Aws::FIS
|
|
99
110
|
ExperimentTemplateCloudWatchLogsLogConfiguration = Shapes::StructureShape.new(name: 'ExperimentTemplateCloudWatchLogsLogConfiguration')
|
100
111
|
ExperimentTemplateCloudWatchLogsLogConfigurationInput = Shapes::StructureShape.new(name: 'ExperimentTemplateCloudWatchLogsLogConfigurationInput')
|
101
112
|
ExperimentTemplateDescription = Shapes::StringShape.new(name: 'ExperimentTemplateDescription')
|
113
|
+
ExperimentTemplateExperimentOptions = Shapes::StructureShape.new(name: 'ExperimentTemplateExperimentOptions')
|
102
114
|
ExperimentTemplateId = Shapes::StringShape.new(name: 'ExperimentTemplateId')
|
103
115
|
ExperimentTemplateLogConfiguration = Shapes::StructureShape.new(name: 'ExperimentTemplateLogConfiguration')
|
104
116
|
ExperimentTemplateS3LogConfiguration = Shapes::StructureShape.new(name: 'ExperimentTemplateS3LogConfiguration')
|
@@ -125,14 +137,23 @@ module Aws::FIS
|
|
125
137
|
GetActionResponse = Shapes::StructureShape.new(name: 'GetActionResponse')
|
126
138
|
GetExperimentRequest = Shapes::StructureShape.new(name: 'GetExperimentRequest')
|
127
139
|
GetExperimentResponse = Shapes::StructureShape.new(name: 'GetExperimentResponse')
|
140
|
+
GetExperimentTargetAccountConfigurationRequest = Shapes::StructureShape.new(name: 'GetExperimentTargetAccountConfigurationRequest')
|
141
|
+
GetExperimentTargetAccountConfigurationResponse = Shapes::StructureShape.new(name: 'GetExperimentTargetAccountConfigurationResponse')
|
128
142
|
GetExperimentTemplateRequest = Shapes::StructureShape.new(name: 'GetExperimentTemplateRequest')
|
129
143
|
GetExperimentTemplateResponse = Shapes::StructureShape.new(name: 'GetExperimentTemplateResponse')
|
144
|
+
GetTargetAccountConfigurationRequest = Shapes::StructureShape.new(name: 'GetTargetAccountConfigurationRequest')
|
145
|
+
GetTargetAccountConfigurationResponse = Shapes::StructureShape.new(name: 'GetTargetAccountConfigurationResponse')
|
130
146
|
GetTargetResourceTypeRequest = Shapes::StructureShape.new(name: 'GetTargetResourceTypeRequest')
|
131
147
|
GetTargetResourceTypeResponse = Shapes::StructureShape.new(name: 'GetTargetResourceTypeResponse')
|
132
148
|
LastUpdateTime = Shapes::TimestampShape.new(name: 'LastUpdateTime')
|
133
149
|
ListActionsMaxResults = Shapes::IntegerShape.new(name: 'ListActionsMaxResults')
|
134
150
|
ListActionsRequest = Shapes::StructureShape.new(name: 'ListActionsRequest')
|
135
151
|
ListActionsResponse = Shapes::StructureShape.new(name: 'ListActionsResponse')
|
152
|
+
ListExperimentResolvedTargetsMaxResults = Shapes::IntegerShape.new(name: 'ListExperimentResolvedTargetsMaxResults')
|
153
|
+
ListExperimentResolvedTargetsRequest = Shapes::StructureShape.new(name: 'ListExperimentResolvedTargetsRequest')
|
154
|
+
ListExperimentResolvedTargetsResponse = Shapes::StructureShape.new(name: 'ListExperimentResolvedTargetsResponse')
|
155
|
+
ListExperimentTargetAccountConfigurationsRequest = Shapes::StructureShape.new(name: 'ListExperimentTargetAccountConfigurationsRequest')
|
156
|
+
ListExperimentTargetAccountConfigurationsResponse = Shapes::StructureShape.new(name: 'ListExperimentTargetAccountConfigurationsResponse')
|
136
157
|
ListExperimentTemplatesMaxResults = Shapes::IntegerShape.new(name: 'ListExperimentTemplatesMaxResults')
|
137
158
|
ListExperimentTemplatesRequest = Shapes::StructureShape.new(name: 'ListExperimentTemplatesRequest')
|
138
159
|
ListExperimentTemplatesResponse = Shapes::StructureShape.new(name: 'ListExperimentTemplatesResponse')
|
@@ -141,11 +162,16 @@ module Aws::FIS
|
|
141
162
|
ListExperimentsResponse = Shapes::StructureShape.new(name: 'ListExperimentsResponse')
|
142
163
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
143
164
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
165
|
+
ListTargetAccountConfigurationsMaxResults = Shapes::IntegerShape.new(name: 'ListTargetAccountConfigurationsMaxResults')
|
166
|
+
ListTargetAccountConfigurationsRequest = Shapes::StructureShape.new(name: 'ListTargetAccountConfigurationsRequest')
|
167
|
+
ListTargetAccountConfigurationsResponse = Shapes::StructureShape.new(name: 'ListTargetAccountConfigurationsResponse')
|
144
168
|
ListTargetResourceTypesMaxResults = Shapes::IntegerShape.new(name: 'ListTargetResourceTypesMaxResults')
|
145
169
|
ListTargetResourceTypesRequest = Shapes::StructureShape.new(name: 'ListTargetResourceTypesRequest')
|
146
170
|
ListTargetResourceTypesResponse = Shapes::StructureShape.new(name: 'ListTargetResourceTypesResponse')
|
147
171
|
LogSchemaVersion = Shapes::IntegerShape.new(name: 'LogSchemaVersion')
|
148
172
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
173
|
+
ResolvedTarget = Shapes::StructureShape.new(name: 'ResolvedTarget')
|
174
|
+
ResolvedTargetList = Shapes::ListShape.new(name: 'ResolvedTargetList')
|
149
175
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
150
176
|
ResourceArnList = Shapes::ListShape.new(name: 'ResourceArnList')
|
151
177
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
@@ -165,6 +191,16 @@ module Aws::FIS
|
|
165
191
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
166
192
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
167
193
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
194
|
+
TargetAccountConfiguration = Shapes::StructureShape.new(name: 'TargetAccountConfiguration')
|
195
|
+
TargetAccountConfigurationDescription = Shapes::StringShape.new(name: 'TargetAccountConfigurationDescription')
|
196
|
+
TargetAccountConfigurationList = Shapes::ListShape.new(name: 'TargetAccountConfigurationList')
|
197
|
+
TargetAccountConfigurationSummary = Shapes::StructureShape.new(name: 'TargetAccountConfigurationSummary')
|
198
|
+
TargetAccountConfigurationsCount = Shapes::IntegerShape.new(name: 'TargetAccountConfigurationsCount')
|
199
|
+
TargetAccountId = Shapes::StringShape.new(name: 'TargetAccountId')
|
200
|
+
TargetInformationKey = Shapes::StringShape.new(name: 'TargetInformationKey')
|
201
|
+
TargetInformationMap = Shapes::MapShape.new(name: 'TargetInformationMap')
|
202
|
+
TargetInformationValue = Shapes::StringShape.new(name: 'TargetInformationValue')
|
203
|
+
TargetName = Shapes::StringShape.new(name: 'TargetName')
|
168
204
|
TargetResourceType = Shapes::StructureShape.new(name: 'TargetResourceType')
|
169
205
|
TargetResourceTypeDescription = Shapes::StringShape.new(name: 'TargetResourceTypeDescription')
|
170
206
|
TargetResourceTypeId = Shapes::StringShape.new(name: 'TargetResourceTypeId')
|
@@ -179,6 +215,7 @@ module Aws::FIS
|
|
179
215
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
180
216
|
UpdateExperimentTemplateActionInputItem = Shapes::StructureShape.new(name: 'UpdateExperimentTemplateActionInputItem')
|
181
217
|
UpdateExperimentTemplateActionInputMap = Shapes::MapShape.new(name: 'UpdateExperimentTemplateActionInputMap')
|
218
|
+
UpdateExperimentTemplateExperimentOptionsInput = Shapes::StructureShape.new(name: 'UpdateExperimentTemplateExperimentOptionsInput')
|
182
219
|
UpdateExperimentTemplateLogConfigurationInput = Shapes::StructureShape.new(name: 'UpdateExperimentTemplateLogConfigurationInput')
|
183
220
|
UpdateExperimentTemplateRequest = Shapes::StructureShape.new(name: 'UpdateExperimentTemplateRequest')
|
184
221
|
UpdateExperimentTemplateResponse = Shapes::StructureShape.new(name: 'UpdateExperimentTemplateResponse')
|
@@ -186,6 +223,8 @@ module Aws::FIS
|
|
186
223
|
UpdateExperimentTemplateStopConditionInputList = Shapes::ListShape.new(name: 'UpdateExperimentTemplateStopConditionInputList')
|
187
224
|
UpdateExperimentTemplateTargetInput = Shapes::StructureShape.new(name: 'UpdateExperimentTemplateTargetInput')
|
188
225
|
UpdateExperimentTemplateTargetInputMap = Shapes::MapShape.new(name: 'UpdateExperimentTemplateTargetInputMap')
|
226
|
+
UpdateTargetAccountConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateTargetAccountConfigurationRequest')
|
227
|
+
UpdateTargetAccountConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateTargetAccountConfigurationResponse')
|
189
228
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
190
229
|
|
191
230
|
Action.add_member(:id, Shapes::ShapeRef.new(shape: ActionId, location_name: "id"))
|
@@ -229,6 +268,10 @@ module Aws::FIS
|
|
229
268
|
CreateExperimentTemplateActionInputMap.key = Shapes::ShapeRef.new(shape: ExperimentTemplateActionName)
|
230
269
|
CreateExperimentTemplateActionInputMap.value = Shapes::ShapeRef.new(shape: CreateExperimentTemplateActionInput)
|
231
270
|
|
271
|
+
CreateExperimentTemplateExperimentOptionsInput.add_member(:account_targeting, Shapes::ShapeRef.new(shape: AccountTargeting, location_name: "accountTargeting"))
|
272
|
+
CreateExperimentTemplateExperimentOptionsInput.add_member(:empty_target_resolution_mode, Shapes::ShapeRef.new(shape: EmptyTargetResolutionMode, location_name: "emptyTargetResolutionMode"))
|
273
|
+
CreateExperimentTemplateExperimentOptionsInput.struct_class = Types::CreateExperimentTemplateExperimentOptionsInput
|
274
|
+
|
232
275
|
CreateExperimentTemplateLogConfigurationInput.add_member(:cloud_watch_logs_configuration, Shapes::ShapeRef.new(shape: ExperimentTemplateCloudWatchLogsLogConfigurationInput, location_name: "cloudWatchLogsConfiguration"))
|
233
276
|
CreateExperimentTemplateLogConfigurationInput.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: ExperimentTemplateS3LogConfigurationInput, location_name: "s3Configuration"))
|
234
277
|
CreateExperimentTemplateLogConfigurationInput.add_member(:log_schema_version, Shapes::ShapeRef.new(shape: LogSchemaVersion, required: true, location_name: "logSchemaVersion"))
|
@@ -242,6 +285,7 @@ module Aws::FIS
|
|
242
285
|
CreateExperimentTemplateRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
243
286
|
CreateExperimentTemplateRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
244
287
|
CreateExperimentTemplateRequest.add_member(:log_configuration, Shapes::ShapeRef.new(shape: CreateExperimentTemplateLogConfigurationInput, location_name: "logConfiguration"))
|
288
|
+
CreateExperimentTemplateRequest.add_member(:experiment_options, Shapes::ShapeRef.new(shape: CreateExperimentTemplateExperimentOptionsInput, location_name: "experimentOptions"))
|
245
289
|
CreateExperimentTemplateRequest.struct_class = Types::CreateExperimentTemplateRequest
|
246
290
|
|
247
291
|
CreateExperimentTemplateResponse.add_member(:experiment_template, Shapes::ShapeRef.new(shape: ExperimentTemplate, location_name: "experimentTemplate"))
|
@@ -264,12 +308,29 @@ module Aws::FIS
|
|
264
308
|
CreateExperimentTemplateTargetInputMap.key = Shapes::ShapeRef.new(shape: ExperimentTemplateTargetName)
|
265
309
|
CreateExperimentTemplateTargetInputMap.value = Shapes::ShapeRef.new(shape: CreateExperimentTemplateTargetInput)
|
266
310
|
|
311
|
+
CreateTargetAccountConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
312
|
+
CreateTargetAccountConfigurationRequest.add_member(:experiment_template_id, Shapes::ShapeRef.new(shape: ExperimentTemplateId, required: true, location: "uri", location_name: "id"))
|
313
|
+
CreateTargetAccountConfigurationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: TargetAccountId, required: true, location: "uri", location_name: "accountId"))
|
314
|
+
CreateTargetAccountConfigurationRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
315
|
+
CreateTargetAccountConfigurationRequest.add_member(:description, Shapes::ShapeRef.new(shape: TargetAccountConfigurationDescription, location_name: "description"))
|
316
|
+
CreateTargetAccountConfigurationRequest.struct_class = Types::CreateTargetAccountConfigurationRequest
|
317
|
+
|
318
|
+
CreateTargetAccountConfigurationResponse.add_member(:target_account_configuration, Shapes::ShapeRef.new(shape: TargetAccountConfiguration, location_name: "targetAccountConfiguration"))
|
319
|
+
CreateTargetAccountConfigurationResponse.struct_class = Types::CreateTargetAccountConfigurationResponse
|
320
|
+
|
267
321
|
DeleteExperimentTemplateRequest.add_member(:id, Shapes::ShapeRef.new(shape: ExperimentTemplateId, required: true, location: "uri", location_name: "id"))
|
268
322
|
DeleteExperimentTemplateRequest.struct_class = Types::DeleteExperimentTemplateRequest
|
269
323
|
|
270
324
|
DeleteExperimentTemplateResponse.add_member(:experiment_template, Shapes::ShapeRef.new(shape: ExperimentTemplate, location_name: "experimentTemplate"))
|
271
325
|
DeleteExperimentTemplateResponse.struct_class = Types::DeleteExperimentTemplateResponse
|
272
326
|
|
327
|
+
DeleteTargetAccountConfigurationRequest.add_member(:experiment_template_id, Shapes::ShapeRef.new(shape: ExperimentTemplateId, required: true, location: "uri", location_name: "id"))
|
328
|
+
DeleteTargetAccountConfigurationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: TargetAccountId, required: true, location: "uri", location_name: "accountId"))
|
329
|
+
DeleteTargetAccountConfigurationRequest.struct_class = Types::DeleteTargetAccountConfigurationRequest
|
330
|
+
|
331
|
+
DeleteTargetAccountConfigurationResponse.add_member(:target_account_configuration, Shapes::ShapeRef.new(shape: TargetAccountConfiguration, location_name: "targetAccountConfiguration"))
|
332
|
+
DeleteTargetAccountConfigurationResponse.struct_class = Types::DeleteTargetAccountConfigurationResponse
|
333
|
+
|
273
334
|
Experiment.add_member(:id, Shapes::ShapeRef.new(shape: ExperimentId, location_name: "id"))
|
274
335
|
Experiment.add_member(:experiment_template_id, Shapes::ShapeRef.new(shape: ExperimentTemplateId, location_name: "experimentTemplateId"))
|
275
336
|
Experiment.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
@@ -282,6 +343,8 @@ module Aws::FIS
|
|
282
343
|
Experiment.add_member(:end_time, Shapes::ShapeRef.new(shape: ExperimentEndTime, location_name: "endTime"))
|
283
344
|
Experiment.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
284
345
|
Experiment.add_member(:log_configuration, Shapes::ShapeRef.new(shape: ExperimentLogConfiguration, location_name: "logConfiguration"))
|
346
|
+
Experiment.add_member(:experiment_options, Shapes::ShapeRef.new(shape: ExperimentOptions, location_name: "experimentOptions"))
|
347
|
+
Experiment.add_member(:target_account_configurations_count, Shapes::ShapeRef.new(shape: TargetAccountConfigurationsCount, location_name: "targetAccountConfigurationsCount"))
|
285
348
|
Experiment.struct_class = Types::Experiment
|
286
349
|
|
287
350
|
ExperimentAction.add_member(:action_id, Shapes::ShapeRef.new(shape: ActionId, location_name: "actionId"))
|
@@ -317,6 +380,10 @@ module Aws::FIS
|
|
317
380
|
ExperimentLogConfiguration.add_member(:log_schema_version, Shapes::ShapeRef.new(shape: LogSchemaVersion, location_name: "logSchemaVersion"))
|
318
381
|
ExperimentLogConfiguration.struct_class = Types::ExperimentLogConfiguration
|
319
382
|
|
383
|
+
ExperimentOptions.add_member(:account_targeting, Shapes::ShapeRef.new(shape: AccountTargeting, location_name: "accountTargeting"))
|
384
|
+
ExperimentOptions.add_member(:empty_target_resolution_mode, Shapes::ShapeRef.new(shape: EmptyTargetResolutionMode, location_name: "emptyTargetResolutionMode"))
|
385
|
+
ExperimentOptions.struct_class = Types::ExperimentOptions
|
386
|
+
|
320
387
|
ExperimentS3LogConfiguration.add_member(:bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, location_name: "bucketName"))
|
321
388
|
ExperimentS3LogConfiguration.add_member(:prefix, Shapes::ShapeRef.new(shape: S3ObjectKey, location_name: "prefix"))
|
322
389
|
ExperimentS3LogConfiguration.struct_class = Types::ExperimentS3LogConfiguration
|
@@ -348,6 +415,18 @@ module Aws::FIS
|
|
348
415
|
ExperimentTarget.add_member(:parameters, Shapes::ShapeRef.new(shape: ExperimentTargetParameterMap, location_name: "parameters"))
|
349
416
|
ExperimentTarget.struct_class = Types::ExperimentTarget
|
350
417
|
|
418
|
+
ExperimentTargetAccountConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
419
|
+
ExperimentTargetAccountConfiguration.add_member(:account_id, Shapes::ShapeRef.new(shape: TargetAccountId, location_name: "accountId"))
|
420
|
+
ExperimentTargetAccountConfiguration.add_member(:description, Shapes::ShapeRef.new(shape: TargetAccountConfigurationDescription, location_name: "description"))
|
421
|
+
ExperimentTargetAccountConfiguration.struct_class = Types::ExperimentTargetAccountConfiguration
|
422
|
+
|
423
|
+
ExperimentTargetAccountConfigurationList.member = Shapes::ShapeRef.new(shape: ExperimentTargetAccountConfigurationSummary)
|
424
|
+
|
425
|
+
ExperimentTargetAccountConfigurationSummary.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
426
|
+
ExperimentTargetAccountConfigurationSummary.add_member(:account_id, Shapes::ShapeRef.new(shape: TargetAccountId, location_name: "accountId"))
|
427
|
+
ExperimentTargetAccountConfigurationSummary.add_member(:description, Shapes::ShapeRef.new(shape: TargetAccountConfigurationDescription, location_name: "description"))
|
428
|
+
ExperimentTargetAccountConfigurationSummary.struct_class = Types::ExperimentTargetAccountConfigurationSummary
|
429
|
+
|
351
430
|
ExperimentTargetFilter.add_member(:path, Shapes::ShapeRef.new(shape: ExperimentTargetFilterPath, location_name: "path"))
|
352
431
|
ExperimentTargetFilter.add_member(:values, Shapes::ShapeRef.new(shape: ExperimentTargetFilterValues, location_name: "values"))
|
353
432
|
ExperimentTargetFilter.struct_class = Types::ExperimentTargetFilter
|
@@ -372,6 +451,8 @@ module Aws::FIS
|
|
372
451
|
ExperimentTemplate.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
373
452
|
ExperimentTemplate.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
374
453
|
ExperimentTemplate.add_member(:log_configuration, Shapes::ShapeRef.new(shape: ExperimentTemplateLogConfiguration, location_name: "logConfiguration"))
|
454
|
+
ExperimentTemplate.add_member(:experiment_options, Shapes::ShapeRef.new(shape: ExperimentTemplateExperimentOptions, location_name: "experimentOptions"))
|
455
|
+
ExperimentTemplate.add_member(:target_account_configurations_count, Shapes::ShapeRef.new(shape: TargetAccountConfigurationsCount, location_name: "targetAccountConfigurationsCount"))
|
375
456
|
ExperimentTemplate.struct_class = Types::ExperimentTemplate
|
376
457
|
|
377
458
|
ExperimentTemplateAction.add_member(:action_id, Shapes::ShapeRef.new(shape: ActionId, location_name: "actionId"))
|
@@ -398,6 +479,10 @@ module Aws::FIS
|
|
398
479
|
ExperimentTemplateCloudWatchLogsLogConfigurationInput.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: CloudWatchLogGroupArn, required: true, location_name: "logGroupArn"))
|
399
480
|
ExperimentTemplateCloudWatchLogsLogConfigurationInput.struct_class = Types::ExperimentTemplateCloudWatchLogsLogConfigurationInput
|
400
481
|
|
482
|
+
ExperimentTemplateExperimentOptions.add_member(:account_targeting, Shapes::ShapeRef.new(shape: AccountTargeting, location_name: "accountTargeting"))
|
483
|
+
ExperimentTemplateExperimentOptions.add_member(:empty_target_resolution_mode, Shapes::ShapeRef.new(shape: EmptyTargetResolutionMode, location_name: "emptyTargetResolutionMode"))
|
484
|
+
ExperimentTemplateExperimentOptions.struct_class = Types::ExperimentTemplateExperimentOptions
|
485
|
+
|
401
486
|
ExperimentTemplateLogConfiguration.add_member(:cloud_watch_logs_configuration, Shapes::ShapeRef.new(shape: ExperimentTemplateCloudWatchLogsLogConfiguration, location_name: "cloudWatchLogsConfiguration"))
|
402
487
|
ExperimentTemplateLogConfiguration.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: ExperimentTemplateS3LogConfiguration, location_name: "s3Configuration"))
|
403
488
|
ExperimentTemplateLogConfiguration.add_member(:log_schema_version, Shapes::ShapeRef.new(shape: LogSchemaVersion, location_name: "logSchemaVersion"))
|
@@ -466,12 +551,26 @@ module Aws::FIS
|
|
466
551
|
GetExperimentResponse.add_member(:experiment, Shapes::ShapeRef.new(shape: Experiment, location_name: "experiment"))
|
467
552
|
GetExperimentResponse.struct_class = Types::GetExperimentResponse
|
468
553
|
|
554
|
+
GetExperimentTargetAccountConfigurationRequest.add_member(:experiment_id, Shapes::ShapeRef.new(shape: ExperimentId, required: true, location: "uri", location_name: "id"))
|
555
|
+
GetExperimentTargetAccountConfigurationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: TargetAccountId, required: true, location: "uri", location_name: "accountId"))
|
556
|
+
GetExperimentTargetAccountConfigurationRequest.struct_class = Types::GetExperimentTargetAccountConfigurationRequest
|
557
|
+
|
558
|
+
GetExperimentTargetAccountConfigurationResponse.add_member(:target_account_configuration, Shapes::ShapeRef.new(shape: ExperimentTargetAccountConfiguration, location_name: "targetAccountConfiguration"))
|
559
|
+
GetExperimentTargetAccountConfigurationResponse.struct_class = Types::GetExperimentTargetAccountConfigurationResponse
|
560
|
+
|
469
561
|
GetExperimentTemplateRequest.add_member(:id, Shapes::ShapeRef.new(shape: ExperimentTemplateId, required: true, location: "uri", location_name: "id"))
|
470
562
|
GetExperimentTemplateRequest.struct_class = Types::GetExperimentTemplateRequest
|
471
563
|
|
472
564
|
GetExperimentTemplateResponse.add_member(:experiment_template, Shapes::ShapeRef.new(shape: ExperimentTemplate, location_name: "experimentTemplate"))
|
473
565
|
GetExperimentTemplateResponse.struct_class = Types::GetExperimentTemplateResponse
|
474
566
|
|
567
|
+
GetTargetAccountConfigurationRequest.add_member(:experiment_template_id, Shapes::ShapeRef.new(shape: ExperimentTemplateId, required: true, location: "uri", location_name: "id"))
|
568
|
+
GetTargetAccountConfigurationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: TargetAccountId, required: true, location: "uri", location_name: "accountId"))
|
569
|
+
GetTargetAccountConfigurationRequest.struct_class = Types::GetTargetAccountConfigurationRequest
|
570
|
+
|
571
|
+
GetTargetAccountConfigurationResponse.add_member(:target_account_configuration, Shapes::ShapeRef.new(shape: TargetAccountConfiguration, location_name: "targetAccountConfiguration"))
|
572
|
+
GetTargetAccountConfigurationResponse.struct_class = Types::GetTargetAccountConfigurationResponse
|
573
|
+
|
475
574
|
GetTargetResourceTypeRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: TargetResourceTypeId, required: true, location: "uri", location_name: "resourceType"))
|
476
575
|
GetTargetResourceTypeRequest.struct_class = Types::GetTargetResourceTypeRequest
|
477
576
|
|
@@ -486,6 +585,24 @@ module Aws::FIS
|
|
486
585
|
ListActionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
487
586
|
ListActionsResponse.struct_class = Types::ListActionsResponse
|
488
587
|
|
588
|
+
ListExperimentResolvedTargetsRequest.add_member(:experiment_id, Shapes::ShapeRef.new(shape: ExperimentId, required: true, location: "uri", location_name: "id"))
|
589
|
+
ListExperimentResolvedTargetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListExperimentResolvedTargetsMaxResults, location: "querystring", location_name: "maxResults"))
|
590
|
+
ListExperimentResolvedTargetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
591
|
+
ListExperimentResolvedTargetsRequest.add_member(:target_name, Shapes::ShapeRef.new(shape: TargetName, location: "querystring", location_name: "targetName"))
|
592
|
+
ListExperimentResolvedTargetsRequest.struct_class = Types::ListExperimentResolvedTargetsRequest
|
593
|
+
|
594
|
+
ListExperimentResolvedTargetsResponse.add_member(:resolved_targets, Shapes::ShapeRef.new(shape: ResolvedTargetList, location_name: "resolvedTargets"))
|
595
|
+
ListExperimentResolvedTargetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
596
|
+
ListExperimentResolvedTargetsResponse.struct_class = Types::ListExperimentResolvedTargetsResponse
|
597
|
+
|
598
|
+
ListExperimentTargetAccountConfigurationsRequest.add_member(:experiment_id, Shapes::ShapeRef.new(shape: ExperimentId, required: true, location: "uri", location_name: "id"))
|
599
|
+
ListExperimentTargetAccountConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
600
|
+
ListExperimentTargetAccountConfigurationsRequest.struct_class = Types::ListExperimentTargetAccountConfigurationsRequest
|
601
|
+
|
602
|
+
ListExperimentTargetAccountConfigurationsResponse.add_member(:target_account_configurations, Shapes::ShapeRef.new(shape: ExperimentTargetAccountConfigurationList, location_name: "targetAccountConfigurations"))
|
603
|
+
ListExperimentTargetAccountConfigurationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
604
|
+
ListExperimentTargetAccountConfigurationsResponse.struct_class = Types::ListExperimentTargetAccountConfigurationsResponse
|
605
|
+
|
489
606
|
ListExperimentTemplatesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListExperimentTemplatesMaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
|
490
607
|
ListExperimentTemplatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
491
608
|
ListExperimentTemplatesRequest.struct_class = Types::ListExperimentTemplatesRequest
|
@@ -508,6 +625,15 @@ module Aws::FIS
|
|
508
625
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
509
626
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
510
627
|
|
628
|
+
ListTargetAccountConfigurationsRequest.add_member(:experiment_template_id, Shapes::ShapeRef.new(shape: ExperimentTemplateId, required: true, location: "uri", location_name: "id"))
|
629
|
+
ListTargetAccountConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListTargetAccountConfigurationsMaxResults, location: "querystring", location_name: "maxResults"))
|
630
|
+
ListTargetAccountConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
631
|
+
ListTargetAccountConfigurationsRequest.struct_class = Types::ListTargetAccountConfigurationsRequest
|
632
|
+
|
633
|
+
ListTargetAccountConfigurationsResponse.add_member(:target_account_configurations, Shapes::ShapeRef.new(shape: TargetAccountConfigurationList, location_name: "targetAccountConfigurations"))
|
634
|
+
ListTargetAccountConfigurationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
635
|
+
ListTargetAccountConfigurationsResponse.struct_class = Types::ListTargetAccountConfigurationsResponse
|
636
|
+
|
511
637
|
ListTargetResourceTypesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListTargetResourceTypesMaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
|
512
638
|
ListTargetResourceTypesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
513
639
|
ListTargetResourceTypesRequest.struct_class = Types::ListTargetResourceTypesRequest
|
@@ -516,6 +642,13 @@ module Aws::FIS
|
|
516
642
|
ListTargetResourceTypesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
517
643
|
ListTargetResourceTypesResponse.struct_class = Types::ListTargetResourceTypesResponse
|
518
644
|
|
645
|
+
ResolvedTarget.add_member(:resource_type, Shapes::ShapeRef.new(shape: TargetResourceTypeId, location_name: "resourceType"))
|
646
|
+
ResolvedTarget.add_member(:target_name, Shapes::ShapeRef.new(shape: TargetName, location_name: "targetName"))
|
647
|
+
ResolvedTarget.add_member(:target_information, Shapes::ShapeRef.new(shape: TargetInformationMap, location_name: "targetInformation"))
|
648
|
+
ResolvedTarget.struct_class = Types::ResolvedTarget
|
649
|
+
|
650
|
+
ResolvedTargetList.member = Shapes::ShapeRef.new(shape: ResolvedTarget)
|
651
|
+
|
519
652
|
ResourceArnList.member = Shapes::ShapeRef.new(shape: ResourceArn)
|
520
653
|
|
521
654
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
@@ -549,6 +682,21 @@ module Aws::FIS
|
|
549
682
|
|
550
683
|
TagResourceResponse.struct_class = Types::TagResourceResponse
|
551
684
|
|
685
|
+
TargetAccountConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
686
|
+
TargetAccountConfiguration.add_member(:account_id, Shapes::ShapeRef.new(shape: TargetAccountId, location_name: "accountId"))
|
687
|
+
TargetAccountConfiguration.add_member(:description, Shapes::ShapeRef.new(shape: TargetAccountConfigurationDescription, location_name: "description"))
|
688
|
+
TargetAccountConfiguration.struct_class = Types::TargetAccountConfiguration
|
689
|
+
|
690
|
+
TargetAccountConfigurationList.member = Shapes::ShapeRef.new(shape: TargetAccountConfigurationSummary)
|
691
|
+
|
692
|
+
TargetAccountConfigurationSummary.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
693
|
+
TargetAccountConfigurationSummary.add_member(:account_id, Shapes::ShapeRef.new(shape: TargetAccountId, location_name: "accountId"))
|
694
|
+
TargetAccountConfigurationSummary.add_member(:description, Shapes::ShapeRef.new(shape: TargetAccountConfigurationDescription, location_name: "description"))
|
695
|
+
TargetAccountConfigurationSummary.struct_class = Types::TargetAccountConfigurationSummary
|
696
|
+
|
697
|
+
TargetInformationMap.key = Shapes::ShapeRef.new(shape: TargetInformationKey)
|
698
|
+
TargetInformationMap.value = Shapes::ShapeRef.new(shape: TargetInformationValue)
|
699
|
+
|
552
700
|
TargetResourceType.add_member(:resource_type, Shapes::ShapeRef.new(shape: TargetResourceTypeId, location_name: "resourceType"))
|
553
701
|
TargetResourceType.add_member(:description, Shapes::ShapeRef.new(shape: TargetResourceTypeDescription, location_name: "description"))
|
554
702
|
TargetResourceType.add_member(:parameters, Shapes::ShapeRef.new(shape: TargetResourceTypeParameterMap, location_name: "parameters"))
|
@@ -583,6 +731,9 @@ module Aws::FIS
|
|
583
731
|
UpdateExperimentTemplateActionInputMap.key = Shapes::ShapeRef.new(shape: ExperimentTemplateActionName)
|
584
732
|
UpdateExperimentTemplateActionInputMap.value = Shapes::ShapeRef.new(shape: UpdateExperimentTemplateActionInputItem)
|
585
733
|
|
734
|
+
UpdateExperimentTemplateExperimentOptionsInput.add_member(:empty_target_resolution_mode, Shapes::ShapeRef.new(shape: EmptyTargetResolutionMode, location_name: "emptyTargetResolutionMode"))
|
735
|
+
UpdateExperimentTemplateExperimentOptionsInput.struct_class = Types::UpdateExperimentTemplateExperimentOptionsInput
|
736
|
+
|
586
737
|
UpdateExperimentTemplateLogConfigurationInput.add_member(:cloud_watch_logs_configuration, Shapes::ShapeRef.new(shape: ExperimentTemplateCloudWatchLogsLogConfigurationInput, location_name: "cloudWatchLogsConfiguration"))
|
587
738
|
UpdateExperimentTemplateLogConfigurationInput.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: ExperimentTemplateS3LogConfigurationInput, location_name: "s3Configuration"))
|
588
739
|
UpdateExperimentTemplateLogConfigurationInput.add_member(:log_schema_version, Shapes::ShapeRef.new(shape: LogSchemaVersion, location_name: "logSchemaVersion"))
|
@@ -595,6 +746,7 @@ module Aws::FIS
|
|
595
746
|
UpdateExperimentTemplateRequest.add_member(:actions, Shapes::ShapeRef.new(shape: UpdateExperimentTemplateActionInputMap, location_name: "actions"))
|
596
747
|
UpdateExperimentTemplateRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
597
748
|
UpdateExperimentTemplateRequest.add_member(:log_configuration, Shapes::ShapeRef.new(shape: UpdateExperimentTemplateLogConfigurationInput, location_name: "logConfiguration"))
|
749
|
+
UpdateExperimentTemplateRequest.add_member(:experiment_options, Shapes::ShapeRef.new(shape: UpdateExperimentTemplateExperimentOptionsInput, location_name: "experimentOptions"))
|
598
750
|
UpdateExperimentTemplateRequest.struct_class = Types::UpdateExperimentTemplateRequest
|
599
751
|
|
600
752
|
UpdateExperimentTemplateResponse.add_member(:experiment_template, Shapes::ShapeRef.new(shape: ExperimentTemplate, location_name: "experimentTemplate"))
|
@@ -617,6 +769,15 @@ module Aws::FIS
|
|
617
769
|
UpdateExperimentTemplateTargetInputMap.key = Shapes::ShapeRef.new(shape: ExperimentTemplateTargetName)
|
618
770
|
UpdateExperimentTemplateTargetInputMap.value = Shapes::ShapeRef.new(shape: UpdateExperimentTemplateTargetInput)
|
619
771
|
|
772
|
+
UpdateTargetAccountConfigurationRequest.add_member(:experiment_template_id, Shapes::ShapeRef.new(shape: ExperimentTemplateId, required: true, location: "uri", location_name: "id"))
|
773
|
+
UpdateTargetAccountConfigurationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: TargetAccountId, required: true, location: "uri", location_name: "accountId"))
|
774
|
+
UpdateTargetAccountConfigurationRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
775
|
+
UpdateTargetAccountConfigurationRequest.add_member(:description, Shapes::ShapeRef.new(shape: TargetAccountConfigurationDescription, location_name: "description"))
|
776
|
+
UpdateTargetAccountConfigurationRequest.struct_class = Types::UpdateTargetAccountConfigurationRequest
|
777
|
+
|
778
|
+
UpdateTargetAccountConfigurationResponse.add_member(:target_account_configuration, Shapes::ShapeRef.new(shape: TargetAccountConfiguration, location_name: "targetAccountConfiguration"))
|
779
|
+
UpdateTargetAccountConfigurationResponse.struct_class = Types::UpdateTargetAccountConfigurationResponse
|
780
|
+
|
620
781
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
621
782
|
ValidationException.struct_class = Types::ValidationException
|
622
783
|
|
@@ -651,6 +812,18 @@ module Aws::FIS
|
|
651
812
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
652
813
|
end)
|
653
814
|
|
815
|
+
api.add_operation(:create_target_account_configuration, Seahorse::Model::Operation.new.tap do |o|
|
816
|
+
o.name = "CreateTargetAccountConfiguration"
|
817
|
+
o.http_method = "POST"
|
818
|
+
o.http_request_uri = "/experimentTemplates/{id}/targetAccountConfigurations/{accountId}"
|
819
|
+
o.input = Shapes::ShapeRef.new(shape: CreateTargetAccountConfigurationRequest)
|
820
|
+
o.output = Shapes::ShapeRef.new(shape: CreateTargetAccountConfigurationResponse)
|
821
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
822
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
823
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
824
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
825
|
+
end)
|
826
|
+
|
654
827
|
api.add_operation(:delete_experiment_template, Seahorse::Model::Operation.new.tap do |o|
|
655
828
|
o.name = "DeleteExperimentTemplate"
|
656
829
|
o.http_method = "DELETE"
|
@@ -661,6 +834,16 @@ module Aws::FIS
|
|
661
834
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
662
835
|
end)
|
663
836
|
|
837
|
+
api.add_operation(:delete_target_account_configuration, Seahorse::Model::Operation.new.tap do |o|
|
838
|
+
o.name = "DeleteTargetAccountConfiguration"
|
839
|
+
o.http_method = "DELETE"
|
840
|
+
o.http_request_uri = "/experimentTemplates/{id}/targetAccountConfigurations/{accountId}"
|
841
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteTargetAccountConfigurationRequest)
|
842
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteTargetAccountConfigurationResponse)
|
843
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
844
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
845
|
+
end)
|
846
|
+
|
664
847
|
api.add_operation(:get_action, Seahorse::Model::Operation.new.tap do |o|
|
665
848
|
o.name = "GetAction"
|
666
849
|
o.http_method = "GET"
|
@@ -681,6 +864,16 @@ module Aws::FIS
|
|
681
864
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
682
865
|
end)
|
683
866
|
|
867
|
+
api.add_operation(:get_experiment_target_account_configuration, Seahorse::Model::Operation.new.tap do |o|
|
868
|
+
o.name = "GetExperimentTargetAccountConfiguration"
|
869
|
+
o.http_method = "GET"
|
870
|
+
o.http_request_uri = "/experiments/{id}/targetAccountConfigurations/{accountId}"
|
871
|
+
o.input = Shapes::ShapeRef.new(shape: GetExperimentTargetAccountConfigurationRequest)
|
872
|
+
o.output = Shapes::ShapeRef.new(shape: GetExperimentTargetAccountConfigurationResponse)
|
873
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
874
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
875
|
+
end)
|
876
|
+
|
684
877
|
api.add_operation(:get_experiment_template, Seahorse::Model::Operation.new.tap do |o|
|
685
878
|
o.name = "GetExperimentTemplate"
|
686
879
|
o.http_method = "GET"
|
@@ -691,6 +884,16 @@ module Aws::FIS
|
|
691
884
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
692
885
|
end)
|
693
886
|
|
887
|
+
api.add_operation(:get_target_account_configuration, Seahorse::Model::Operation.new.tap do |o|
|
888
|
+
o.name = "GetTargetAccountConfiguration"
|
889
|
+
o.http_method = "GET"
|
890
|
+
o.http_request_uri = "/experimentTemplates/{id}/targetAccountConfigurations/{accountId}"
|
891
|
+
o.input = Shapes::ShapeRef.new(shape: GetTargetAccountConfigurationRequest)
|
892
|
+
o.output = Shapes::ShapeRef.new(shape: GetTargetAccountConfigurationResponse)
|
893
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
894
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
895
|
+
end)
|
896
|
+
|
694
897
|
api.add_operation(:get_target_resource_type, Seahorse::Model::Operation.new.tap do |o|
|
695
898
|
o.name = "GetTargetResourceType"
|
696
899
|
o.http_method = "GET"
|
@@ -716,6 +919,32 @@ module Aws::FIS
|
|
716
919
|
)
|
717
920
|
end)
|
718
921
|
|
922
|
+
api.add_operation(:list_experiment_resolved_targets, Seahorse::Model::Operation.new.tap do |o|
|
923
|
+
o.name = "ListExperimentResolvedTargets"
|
924
|
+
o.http_method = "GET"
|
925
|
+
o.http_request_uri = "/experiments/{id}/resolvedTargets"
|
926
|
+
o.input = Shapes::ShapeRef.new(shape: ListExperimentResolvedTargetsRequest)
|
927
|
+
o.output = Shapes::ShapeRef.new(shape: ListExperimentResolvedTargetsResponse)
|
928
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
929
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
930
|
+
o[:pager] = Aws::Pager.new(
|
931
|
+
limit_key: "max_results",
|
932
|
+
tokens: {
|
933
|
+
"next_token" => "next_token"
|
934
|
+
}
|
935
|
+
)
|
936
|
+
end)
|
937
|
+
|
938
|
+
api.add_operation(:list_experiment_target_account_configurations, Seahorse::Model::Operation.new.tap do |o|
|
939
|
+
o.name = "ListExperimentTargetAccountConfigurations"
|
940
|
+
o.http_method = "GET"
|
941
|
+
o.http_request_uri = "/experiments/{id}/targetAccountConfigurations"
|
942
|
+
o.input = Shapes::ShapeRef.new(shape: ListExperimentTargetAccountConfigurationsRequest)
|
943
|
+
o.output = Shapes::ShapeRef.new(shape: ListExperimentTargetAccountConfigurationsResponse)
|
944
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
945
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
946
|
+
end)
|
947
|
+
|
719
948
|
api.add_operation(:list_experiment_templates, Seahorse::Model::Operation.new.tap do |o|
|
720
949
|
o.name = "ListExperimentTemplates"
|
721
950
|
o.http_method = "GET"
|
@@ -754,6 +983,22 @@ module Aws::FIS
|
|
754
983
|
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
755
984
|
end)
|
756
985
|
|
986
|
+
api.add_operation(:list_target_account_configurations, Seahorse::Model::Operation.new.tap do |o|
|
987
|
+
o.name = "ListTargetAccountConfigurations"
|
988
|
+
o.http_method = "GET"
|
989
|
+
o.http_request_uri = "/experimentTemplates/{id}/targetAccountConfigurations"
|
990
|
+
o.input = Shapes::ShapeRef.new(shape: ListTargetAccountConfigurationsRequest)
|
991
|
+
o.output = Shapes::ShapeRef.new(shape: ListTargetAccountConfigurationsResponse)
|
992
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
993
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
994
|
+
o[:pager] = Aws::Pager.new(
|
995
|
+
limit_key: "max_results",
|
996
|
+
tokens: {
|
997
|
+
"next_token" => "next_token"
|
998
|
+
}
|
999
|
+
)
|
1000
|
+
end)
|
1001
|
+
|
757
1002
|
api.add_operation(:list_target_resource_types, Seahorse::Model::Operation.new.tap do |o|
|
758
1003
|
o.name = "ListTargetResourceTypes"
|
759
1004
|
o.http_method = "GET"
|
@@ -817,6 +1062,16 @@ module Aws::FIS
|
|
817
1062
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
818
1063
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
819
1064
|
end)
|
1065
|
+
|
1066
|
+
api.add_operation(:update_target_account_configuration, Seahorse::Model::Operation.new.tap do |o|
|
1067
|
+
o.name = "UpdateTargetAccountConfiguration"
|
1068
|
+
o.http_method = "PATCH"
|
1069
|
+
o.http_request_uri = "/experimentTemplates/{id}/targetAccountConfigurations/{accountId}"
|
1070
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateTargetAccountConfigurationRequest)
|
1071
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateTargetAccountConfigurationResponse)
|
1072
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1073
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1074
|
+
end)
|
820
1075
|
end
|
821
1076
|
|
822
1077
|
end
|
@@ -32,8 +32,8 @@ module Aws::FIS
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
36
|
-
if Aws::Endpoints::Matchers.string_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
|
37
37
|
return Aws::Endpoints::Endpoint.new(url: "https://fis.#{region}.amazonaws.com", headers: {}, properties: {})
|
38
38
|
end
|
39
39
|
return Aws::Endpoints::Endpoint.new(url: "https://fis-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|