aws-sdk-fis 1.12.0 → 1.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 224700ac0426c221cf3d5c1004492f6b0154edd231efe66835862a9751150fa0
4
- data.tar.gz: 624c4c5d1dbb919fb6cf56f1c0c79ccabce8ee296b72b6b61faa4d772f383f37
3
+ metadata.gz: 18487227d7c29c5f98f72b39cae77b4c0247d05204e13e746d008dfc001561da
4
+ data.tar.gz: dcede9ad22e3bec6566438f50e12e35ad8a09cd166f99c31d29a16d9d004763f
5
5
  SHA512:
6
- metadata.gz: e2d97b121b14b0916c560101d2456a3c7331e7d6d3bcfb8e0b300c9bbbdc0c507738c518d4228ddfc28db470e8da3aa52808d6270d62aee2b20b458a4f001e7a
7
- data.tar.gz: 77ff356d1cdfa8cb6ab591bdf1ef5ec163b805cf2fa39b474251657aae9394859aa273005fa5e419c66653f1aa3289a1fc8c7c4ce7913393316f6a642783ebe4
6
+ metadata.gz: 8b7339dd1d108bc5efc375fb42c44c088dbc5109c497170113683324227e39a71333e2e2d4241059c56d4f7077e3f3d8cf4b28819ce8327e0adfb8f3f2ed2fb6
7
+ data.tar.gz: 5ae6aba36f58fb7c7f8c43b01debc8402452c468fa12ff218a918c73f7a100a483186487b0e0512e42a8d0088af98ca4a91bd3c06df66553e61a2df562d445f6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.13.0 (2022-02-28)
5
+ ------------------
6
+
7
+ * Feature - This release adds logging support for AWS Fault Injection Simulator experiments. Experiment templates can now be configured to send experiment activity logs to Amazon CloudWatch Logs or to an S3 bucket.
8
+
4
9
  1.12.0 (2022-02-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.12.0
1
+ 1.13.0
@@ -400,6 +400,9 @@ module Aws::FIS
400
400
  # @option params [Hash<String,String>] :tags
401
401
  # The tags to apply to the experiment template.
402
402
  #
403
+ # @option params [Types::CreateExperimentTemplateLogConfigurationInput] :log_configuration
404
+ # The configuration for experiment logging.
405
+ #
403
406
  # @return [Types::CreateExperimentTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
404
407
  #
405
408
  # * {Types::CreateExperimentTemplateResponse#experiment_template #experiment_template} => Types::ExperimentTemplate
@@ -451,6 +454,16 @@ module Aws::FIS
451
454
  # tags: {
452
455
  # "TagKey" => "TagValue",
453
456
  # },
457
+ # log_configuration: {
458
+ # cloud_watch_logs_configuration: {
459
+ # log_group_arn: "CloudWatchLogGroupArn", # required
460
+ # },
461
+ # s3_configuration: {
462
+ # bucket_name: "S3BucketName", # required
463
+ # prefix: "S3ObjectKey",
464
+ # },
465
+ # log_schema_version: 1, # required
466
+ # },
454
467
  # })
455
468
  #
456
469
  # @example Response structure
@@ -487,6 +500,10 @@ module Aws::FIS
487
500
  # resp.experiment_template.role_arn #=> String
488
501
  # resp.experiment_template.tags #=> Hash
489
502
  # resp.experiment_template.tags["TagKey"] #=> String
503
+ # resp.experiment_template.log_configuration.cloud_watch_logs_configuration.log_group_arn #=> String
504
+ # resp.experiment_template.log_configuration.s3_configuration.bucket_name #=> String
505
+ # resp.experiment_template.log_configuration.s3_configuration.prefix #=> String
506
+ # resp.experiment_template.log_configuration.log_schema_version #=> Integer
490
507
  #
491
508
  # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/CreateExperimentTemplate AWS API Documentation
492
509
  #
@@ -546,6 +563,10 @@ module Aws::FIS
546
563
  # resp.experiment_template.role_arn #=> String
547
564
  # resp.experiment_template.tags #=> Hash
548
565
  # resp.experiment_template.tags["TagKey"] #=> String
566
+ # resp.experiment_template.log_configuration.cloud_watch_logs_configuration.log_group_arn #=> String
567
+ # resp.experiment_template.log_configuration.s3_configuration.bucket_name #=> String
568
+ # resp.experiment_template.log_configuration.s3_configuration.prefix #=> String
569
+ # resp.experiment_template.log_configuration.log_schema_version #=> Integer
549
570
  #
550
571
  # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/DeleteExperimentTemplate AWS API Documentation
551
572
  #
@@ -648,6 +669,10 @@ module Aws::FIS
648
669
  # resp.experiment.end_time #=> Time
649
670
  # resp.experiment.tags #=> Hash
650
671
  # resp.experiment.tags["TagKey"] #=> String
672
+ # resp.experiment.log_configuration.cloud_watch_logs_configuration.log_group_arn #=> String
673
+ # resp.experiment.log_configuration.s3_configuration.bucket_name #=> String
674
+ # resp.experiment.log_configuration.s3_configuration.prefix #=> String
675
+ # resp.experiment.log_configuration.log_schema_version #=> Integer
651
676
  #
652
677
  # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetExperiment AWS API Documentation
653
678
  #
@@ -707,6 +732,10 @@ module Aws::FIS
707
732
  # resp.experiment_template.role_arn #=> String
708
733
  # resp.experiment_template.tags #=> Hash
709
734
  # resp.experiment_template.tags["TagKey"] #=> String
735
+ # resp.experiment_template.log_configuration.cloud_watch_logs_configuration.log_group_arn #=> String
736
+ # resp.experiment_template.log_configuration.s3_configuration.bucket_name #=> String
737
+ # resp.experiment_template.log_configuration.s3_configuration.prefix #=> String
738
+ # resp.experiment_template.log_configuration.log_schema_version #=> Integer
710
739
  #
711
740
  # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetExperimentTemplate AWS API Documentation
712
741
  #
@@ -1021,6 +1050,10 @@ module Aws::FIS
1021
1050
  # resp.experiment.end_time #=> Time
1022
1051
  # resp.experiment.tags #=> Hash
1023
1052
  # resp.experiment.tags["TagKey"] #=> String
1053
+ # resp.experiment.log_configuration.cloud_watch_logs_configuration.log_group_arn #=> String
1054
+ # resp.experiment.log_configuration.s3_configuration.bucket_name #=> String
1055
+ # resp.experiment.log_configuration.s3_configuration.prefix #=> String
1056
+ # resp.experiment.log_configuration.log_schema_version #=> Integer
1024
1057
  #
1025
1058
  # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/StartExperiment AWS API Documentation
1026
1059
  #
@@ -1087,6 +1120,10 @@ module Aws::FIS
1087
1120
  # resp.experiment.end_time #=> Time
1088
1121
  # resp.experiment.tags #=> Hash
1089
1122
  # resp.experiment.tags["TagKey"] #=> String
1123
+ # resp.experiment.log_configuration.cloud_watch_logs_configuration.log_group_arn #=> String
1124
+ # resp.experiment.log_configuration.s3_configuration.bucket_name #=> String
1125
+ # resp.experiment.log_configuration.s3_configuration.prefix #=> String
1126
+ # resp.experiment.log_configuration.log_schema_version #=> Integer
1090
1127
  #
1091
1128
  # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/StopExperiment AWS API Documentation
1092
1129
  #
@@ -1172,6 +1209,9 @@ module Aws::FIS
1172
1209
  # The Amazon Resource Name (ARN) of an IAM role that grants the FIS
1173
1210
  # service permission to perform service actions on your behalf.
1174
1211
  #
1212
+ # @option params [Types::UpdateExperimentTemplateLogConfigurationInput] :log_configuration
1213
+ # The configuration for experiment logging.
1214
+ #
1175
1215
  # @return [Types::UpdateExperimentTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1176
1216
  #
1177
1217
  # * {Types::UpdateExperimentTemplateResponse#experiment_template #experiment_template} => Types::ExperimentTemplate
@@ -1220,6 +1260,16 @@ module Aws::FIS
1220
1260
  # },
1221
1261
  # },
1222
1262
  # role_arn: "RoleArn",
1263
+ # log_configuration: {
1264
+ # cloud_watch_logs_configuration: {
1265
+ # log_group_arn: "CloudWatchLogGroupArn", # required
1266
+ # },
1267
+ # s3_configuration: {
1268
+ # bucket_name: "S3BucketName", # required
1269
+ # prefix: "S3ObjectKey",
1270
+ # },
1271
+ # log_schema_version: 1,
1272
+ # },
1223
1273
  # })
1224
1274
  #
1225
1275
  # @example Response structure
@@ -1256,6 +1306,10 @@ module Aws::FIS
1256
1306
  # resp.experiment_template.role_arn #=> String
1257
1307
  # resp.experiment_template.tags #=> Hash
1258
1308
  # resp.experiment_template.tags["TagKey"] #=> String
1309
+ # resp.experiment_template.log_configuration.cloud_watch_logs_configuration.log_group_arn #=> String
1310
+ # resp.experiment_template.log_configuration.s3_configuration.bucket_name #=> String
1311
+ # resp.experiment_template.log_configuration.s3_configuration.prefix #=> String
1312
+ # resp.experiment_template.log_configuration.log_schema_version #=> Integer
1259
1313
  #
1260
1314
  # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/UpdateExperimentTemplate AWS API Documentation
1261
1315
  #
@@ -1279,7 +1333,7 @@ module Aws::FIS
1279
1333
  params: params,
1280
1334
  config: config)
1281
1335
  context[:gem_name] = 'aws-sdk-fis'
1282
- context[:gem_version] = '1.12.0'
1336
+ context[:gem_version] = '1.13.0'
1283
1337
  Seahorse::Client::Request.new(handlers, context)
1284
1338
  end
1285
1339
 
@@ -27,9 +27,11 @@ module Aws::FIS
27
27
  ActionTargetMap = Shapes::MapShape.new(name: 'ActionTargetMap')
28
28
  ActionTargetName = Shapes::StringShape.new(name: 'ActionTargetName')
29
29
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
30
+ CloudWatchLogGroupArn = Shapes::StringShape.new(name: 'CloudWatchLogGroupArn')
30
31
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
31
32
  CreateExperimentTemplateActionInput = Shapes::StructureShape.new(name: 'CreateExperimentTemplateActionInput')
32
33
  CreateExperimentTemplateActionInputMap = Shapes::MapShape.new(name: 'CreateExperimentTemplateActionInputMap')
34
+ CreateExperimentTemplateLogConfigurationInput = Shapes::StructureShape.new(name: 'CreateExperimentTemplateLogConfigurationInput')
33
35
  CreateExperimentTemplateRequest = Shapes::StructureShape.new(name: 'CreateExperimentTemplateRequest')
34
36
  CreateExperimentTemplateResponse = Shapes::StructureShape.new(name: 'CreateExperimentTemplateResponse')
35
37
  CreateExperimentTemplateStopConditionInput = Shapes::StructureShape.new(name: 'CreateExperimentTemplateStopConditionInput')
@@ -57,8 +59,11 @@ module Aws::FIS
57
59
  ExperimentActionStatusReason = Shapes::StringShape.new(name: 'ExperimentActionStatusReason')
58
60
  ExperimentActionTargetMap = Shapes::MapShape.new(name: 'ExperimentActionTargetMap')
59
61
  ExperimentActionTargetName = Shapes::StringShape.new(name: 'ExperimentActionTargetName')
62
+ ExperimentCloudWatchLogsLogConfiguration = Shapes::StructureShape.new(name: 'ExperimentCloudWatchLogsLogConfiguration')
60
63
  ExperimentEndTime = Shapes::TimestampShape.new(name: 'ExperimentEndTime')
61
64
  ExperimentId = Shapes::StringShape.new(name: 'ExperimentId')
65
+ ExperimentLogConfiguration = Shapes::StructureShape.new(name: 'ExperimentLogConfiguration')
66
+ ExperimentS3LogConfiguration = Shapes::StructureShape.new(name: 'ExperimentS3LogConfiguration')
62
67
  ExperimentStartTime = Shapes::TimestampShape.new(name: 'ExperimentStartTime')
63
68
  ExperimentState = Shapes::StructureShape.new(name: 'ExperimentState')
64
69
  ExperimentStatus = Shapes::StringShape.new(name: 'ExperimentStatus')
@@ -91,8 +96,13 @@ module Aws::FIS
91
96
  ExperimentTemplateActionStartAfterList = Shapes::ListShape.new(name: 'ExperimentTemplateActionStartAfterList')
92
97
  ExperimentTemplateActionTargetMap = Shapes::MapShape.new(name: 'ExperimentTemplateActionTargetMap')
93
98
  ExperimentTemplateActionTargetName = Shapes::StringShape.new(name: 'ExperimentTemplateActionTargetName')
99
+ ExperimentTemplateCloudWatchLogsLogConfiguration = Shapes::StructureShape.new(name: 'ExperimentTemplateCloudWatchLogsLogConfiguration')
100
+ ExperimentTemplateCloudWatchLogsLogConfigurationInput = Shapes::StructureShape.new(name: 'ExperimentTemplateCloudWatchLogsLogConfigurationInput')
94
101
  ExperimentTemplateDescription = Shapes::StringShape.new(name: 'ExperimentTemplateDescription')
95
102
  ExperimentTemplateId = Shapes::StringShape.new(name: 'ExperimentTemplateId')
103
+ ExperimentTemplateLogConfiguration = Shapes::StructureShape.new(name: 'ExperimentTemplateLogConfiguration')
104
+ ExperimentTemplateS3LogConfiguration = Shapes::StructureShape.new(name: 'ExperimentTemplateS3LogConfiguration')
105
+ ExperimentTemplateS3LogConfigurationInput = Shapes::StructureShape.new(name: 'ExperimentTemplateS3LogConfigurationInput')
96
106
  ExperimentTemplateStopCondition = Shapes::StructureShape.new(name: 'ExperimentTemplateStopCondition')
97
107
  ExperimentTemplateStopConditionList = Shapes::ListShape.new(name: 'ExperimentTemplateStopConditionList')
98
108
  ExperimentTemplateSummary = Shapes::StructureShape.new(name: 'ExperimentTemplateSummary')
@@ -134,11 +144,14 @@ module Aws::FIS
134
144
  ListTargetResourceTypesMaxResults = Shapes::IntegerShape.new(name: 'ListTargetResourceTypesMaxResults')
135
145
  ListTargetResourceTypesRequest = Shapes::StructureShape.new(name: 'ListTargetResourceTypesRequest')
136
146
  ListTargetResourceTypesResponse = Shapes::StructureShape.new(name: 'ListTargetResourceTypesResponse')
147
+ LogSchemaVersion = Shapes::IntegerShape.new(name: 'LogSchemaVersion')
137
148
  NextToken = Shapes::StringShape.new(name: 'NextToken')
138
149
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
139
150
  ResourceArnList = Shapes::ListShape.new(name: 'ResourceArnList')
140
151
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
141
152
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
153
+ S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
154
+ S3ObjectKey = Shapes::StringShape.new(name: 'S3ObjectKey')
142
155
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
143
156
  StartExperimentRequest = Shapes::StructureShape.new(name: 'StartExperimentRequest')
144
157
  StartExperimentResponse = Shapes::StructureShape.new(name: 'StartExperimentResponse')
@@ -166,6 +179,7 @@ module Aws::FIS
166
179
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
167
180
  UpdateExperimentTemplateActionInputItem = Shapes::StructureShape.new(name: 'UpdateExperimentTemplateActionInputItem')
168
181
  UpdateExperimentTemplateActionInputMap = Shapes::MapShape.new(name: 'UpdateExperimentTemplateActionInputMap')
182
+ UpdateExperimentTemplateLogConfigurationInput = Shapes::StructureShape.new(name: 'UpdateExperimentTemplateLogConfigurationInput')
169
183
  UpdateExperimentTemplateRequest = Shapes::StructureShape.new(name: 'UpdateExperimentTemplateRequest')
170
184
  UpdateExperimentTemplateResponse = Shapes::StructureShape.new(name: 'UpdateExperimentTemplateResponse')
171
185
  UpdateExperimentTemplateStopConditionInput = Shapes::StructureShape.new(name: 'UpdateExperimentTemplateStopConditionInput')
@@ -215,6 +229,11 @@ module Aws::FIS
215
229
  CreateExperimentTemplateActionInputMap.key = Shapes::ShapeRef.new(shape: ExperimentTemplateActionName)
216
230
  CreateExperimentTemplateActionInputMap.value = Shapes::ShapeRef.new(shape: CreateExperimentTemplateActionInput)
217
231
 
232
+ CreateExperimentTemplateLogConfigurationInput.add_member(:cloud_watch_logs_configuration, Shapes::ShapeRef.new(shape: ExperimentTemplateCloudWatchLogsLogConfigurationInput, location_name: "cloudWatchLogsConfiguration"))
233
+ CreateExperimentTemplateLogConfigurationInput.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: ExperimentTemplateS3LogConfigurationInput, location_name: "s3Configuration"))
234
+ CreateExperimentTemplateLogConfigurationInput.add_member(:log_schema_version, Shapes::ShapeRef.new(shape: LogSchemaVersion, required: true, location_name: "logSchemaVersion"))
235
+ CreateExperimentTemplateLogConfigurationInput.struct_class = Types::CreateExperimentTemplateLogConfigurationInput
236
+
218
237
  CreateExperimentTemplateRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
219
238
  CreateExperimentTemplateRequest.add_member(:description, Shapes::ShapeRef.new(shape: ExperimentTemplateDescription, required: true, location_name: "description"))
220
239
  CreateExperimentTemplateRequest.add_member(:stop_conditions, Shapes::ShapeRef.new(shape: CreateExperimentTemplateStopConditionInputList, required: true, location_name: "stopConditions"))
@@ -222,6 +241,7 @@ module Aws::FIS
222
241
  CreateExperimentTemplateRequest.add_member(:actions, Shapes::ShapeRef.new(shape: CreateExperimentTemplateActionInputMap, required: true, location_name: "actions"))
223
242
  CreateExperimentTemplateRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
224
243
  CreateExperimentTemplateRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
244
+ CreateExperimentTemplateRequest.add_member(:log_configuration, Shapes::ShapeRef.new(shape: CreateExperimentTemplateLogConfigurationInput, location_name: "logConfiguration"))
225
245
  CreateExperimentTemplateRequest.struct_class = Types::CreateExperimentTemplateRequest
226
246
 
227
247
  CreateExperimentTemplateResponse.add_member(:experiment_template, Shapes::ShapeRef.new(shape: ExperimentTemplate, location_name: "experimentTemplate"))
@@ -261,6 +281,7 @@ module Aws::FIS
261
281
  Experiment.add_member(:start_time, Shapes::ShapeRef.new(shape: ExperimentStartTime, location_name: "startTime"))
262
282
  Experiment.add_member(:end_time, Shapes::ShapeRef.new(shape: ExperimentEndTime, location_name: "endTime"))
263
283
  Experiment.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
284
+ Experiment.add_member(:log_configuration, Shapes::ShapeRef.new(shape: ExperimentLogConfiguration, location_name: "logConfiguration"))
264
285
  Experiment.struct_class = Types::Experiment
265
286
 
266
287
  ExperimentAction.add_member(:action_id, Shapes::ShapeRef.new(shape: ActionId, location_name: "actionId"))
@@ -288,6 +309,18 @@ module Aws::FIS
288
309
  ExperimentActionTargetMap.key = Shapes::ShapeRef.new(shape: ExperimentActionTargetName)
289
310
  ExperimentActionTargetMap.value = Shapes::ShapeRef.new(shape: ExperimentTargetName)
290
311
 
312
+ ExperimentCloudWatchLogsLogConfiguration.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: CloudWatchLogGroupArn, location_name: "logGroupArn"))
313
+ ExperimentCloudWatchLogsLogConfiguration.struct_class = Types::ExperimentCloudWatchLogsLogConfiguration
314
+
315
+ ExperimentLogConfiguration.add_member(:cloud_watch_logs_configuration, Shapes::ShapeRef.new(shape: ExperimentCloudWatchLogsLogConfiguration, location_name: "cloudWatchLogsConfiguration"))
316
+ ExperimentLogConfiguration.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: ExperimentS3LogConfiguration, location_name: "s3Configuration"))
317
+ ExperimentLogConfiguration.add_member(:log_schema_version, Shapes::ShapeRef.new(shape: LogSchemaVersion, location_name: "logSchemaVersion"))
318
+ ExperimentLogConfiguration.struct_class = Types::ExperimentLogConfiguration
319
+
320
+ ExperimentS3LogConfiguration.add_member(:bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, location_name: "bucketName"))
321
+ ExperimentS3LogConfiguration.add_member(:prefix, Shapes::ShapeRef.new(shape: S3ObjectKey, location_name: "prefix"))
322
+ ExperimentS3LogConfiguration.struct_class = Types::ExperimentS3LogConfiguration
323
+
291
324
  ExperimentState.add_member(:status, Shapes::ShapeRef.new(shape: ExperimentStatus, location_name: "status"))
292
325
  ExperimentState.add_member(:reason, Shapes::ShapeRef.new(shape: ExperimentStatusReason, location_name: "reason"))
293
326
  ExperimentState.struct_class = Types::ExperimentState
@@ -338,6 +371,7 @@ module Aws::FIS
338
371
  ExperimentTemplate.add_member(:last_update_time, Shapes::ShapeRef.new(shape: LastUpdateTime, location_name: "lastUpdateTime"))
339
372
  ExperimentTemplate.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
340
373
  ExperimentTemplate.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
374
+ ExperimentTemplate.add_member(:log_configuration, Shapes::ShapeRef.new(shape: ExperimentTemplateLogConfiguration, location_name: "logConfiguration"))
341
375
  ExperimentTemplate.struct_class = Types::ExperimentTemplate
342
376
 
343
377
  ExperimentTemplateAction.add_member(:action_id, Shapes::ShapeRef.new(shape: ActionId, location_name: "actionId"))
@@ -358,6 +392,25 @@ module Aws::FIS
358
392
  ExperimentTemplateActionTargetMap.key = Shapes::ShapeRef.new(shape: ExperimentTemplateActionTargetName)
359
393
  ExperimentTemplateActionTargetMap.value = Shapes::ShapeRef.new(shape: ExperimentTemplateTargetName)
360
394
 
395
+ ExperimentTemplateCloudWatchLogsLogConfiguration.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: CloudWatchLogGroupArn, location_name: "logGroupArn"))
396
+ ExperimentTemplateCloudWatchLogsLogConfiguration.struct_class = Types::ExperimentTemplateCloudWatchLogsLogConfiguration
397
+
398
+ ExperimentTemplateCloudWatchLogsLogConfigurationInput.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: CloudWatchLogGroupArn, required: true, location_name: "logGroupArn"))
399
+ ExperimentTemplateCloudWatchLogsLogConfigurationInput.struct_class = Types::ExperimentTemplateCloudWatchLogsLogConfigurationInput
400
+
401
+ ExperimentTemplateLogConfiguration.add_member(:cloud_watch_logs_configuration, Shapes::ShapeRef.new(shape: ExperimentTemplateCloudWatchLogsLogConfiguration, location_name: "cloudWatchLogsConfiguration"))
402
+ ExperimentTemplateLogConfiguration.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: ExperimentTemplateS3LogConfiguration, location_name: "s3Configuration"))
403
+ ExperimentTemplateLogConfiguration.add_member(:log_schema_version, Shapes::ShapeRef.new(shape: LogSchemaVersion, location_name: "logSchemaVersion"))
404
+ ExperimentTemplateLogConfiguration.struct_class = Types::ExperimentTemplateLogConfiguration
405
+
406
+ ExperimentTemplateS3LogConfiguration.add_member(:bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, location_name: "bucketName"))
407
+ ExperimentTemplateS3LogConfiguration.add_member(:prefix, Shapes::ShapeRef.new(shape: S3ObjectKey, location_name: "prefix"))
408
+ ExperimentTemplateS3LogConfiguration.struct_class = Types::ExperimentTemplateS3LogConfiguration
409
+
410
+ ExperimentTemplateS3LogConfigurationInput.add_member(:bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, required: true, location_name: "bucketName"))
411
+ ExperimentTemplateS3LogConfigurationInput.add_member(:prefix, Shapes::ShapeRef.new(shape: S3ObjectKey, location_name: "prefix"))
412
+ ExperimentTemplateS3LogConfigurationInput.struct_class = Types::ExperimentTemplateS3LogConfigurationInput
413
+
361
414
  ExperimentTemplateStopCondition.add_member(:source, Shapes::ShapeRef.new(shape: StopConditionSource, location_name: "source"))
362
415
  ExperimentTemplateStopCondition.add_member(:value, Shapes::ShapeRef.new(shape: StopConditionValue, location_name: "value"))
363
416
  ExperimentTemplateStopCondition.struct_class = Types::ExperimentTemplateStopCondition
@@ -530,12 +583,18 @@ module Aws::FIS
530
583
  UpdateExperimentTemplateActionInputMap.key = Shapes::ShapeRef.new(shape: ExperimentTemplateActionName)
531
584
  UpdateExperimentTemplateActionInputMap.value = Shapes::ShapeRef.new(shape: UpdateExperimentTemplateActionInputItem)
532
585
 
586
+ UpdateExperimentTemplateLogConfigurationInput.add_member(:cloud_watch_logs_configuration, Shapes::ShapeRef.new(shape: ExperimentTemplateCloudWatchLogsLogConfigurationInput, location_name: "cloudWatchLogsConfiguration"))
587
+ UpdateExperimentTemplateLogConfigurationInput.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: ExperimentTemplateS3LogConfigurationInput, location_name: "s3Configuration"))
588
+ UpdateExperimentTemplateLogConfigurationInput.add_member(:log_schema_version, Shapes::ShapeRef.new(shape: LogSchemaVersion, location_name: "logSchemaVersion"))
589
+ UpdateExperimentTemplateLogConfigurationInput.struct_class = Types::UpdateExperimentTemplateLogConfigurationInput
590
+
533
591
  UpdateExperimentTemplateRequest.add_member(:id, Shapes::ShapeRef.new(shape: ExperimentTemplateId, required: true, location: "uri", location_name: "id"))
534
592
  UpdateExperimentTemplateRequest.add_member(:description, Shapes::ShapeRef.new(shape: ExperimentTemplateDescription, location_name: "description"))
535
593
  UpdateExperimentTemplateRequest.add_member(:stop_conditions, Shapes::ShapeRef.new(shape: UpdateExperimentTemplateStopConditionInputList, location_name: "stopConditions"))
536
594
  UpdateExperimentTemplateRequest.add_member(:targets, Shapes::ShapeRef.new(shape: UpdateExperimentTemplateTargetInputMap, location_name: "targets"))
537
595
  UpdateExperimentTemplateRequest.add_member(:actions, Shapes::ShapeRef.new(shape: UpdateExperimentTemplateActionInputMap, location_name: "actions"))
538
596
  UpdateExperimentTemplateRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
597
+ UpdateExperimentTemplateRequest.add_member(:log_configuration, Shapes::ShapeRef.new(shape: UpdateExperimentTemplateLogConfigurationInput, location_name: "logConfiguration"))
539
598
  UpdateExperimentTemplateRequest.struct_class = Types::UpdateExperimentTemplateRequest
540
599
 
541
600
  UpdateExperimentTemplateResponse.add_member(:experiment_template, Shapes::ShapeRef.new(shape: ExperimentTemplate, location_name: "experimentTemplate"))
@@ -183,6 +183,44 @@ module Aws::FIS
183
183
  include Aws::Structure
184
184
  end
185
185
 
186
+ # Specifies the configuration for experiment logging.
187
+ #
188
+ # @note When making an API call, you may pass CreateExperimentTemplateLogConfigurationInput
189
+ # data as a hash:
190
+ #
191
+ # {
192
+ # cloud_watch_logs_configuration: {
193
+ # log_group_arn: "CloudWatchLogGroupArn", # required
194
+ # },
195
+ # s3_configuration: {
196
+ # bucket_name: "S3BucketName", # required
197
+ # prefix: "S3ObjectKey",
198
+ # },
199
+ # log_schema_version: 1, # required
200
+ # }
201
+ #
202
+ # @!attribute [rw] cloud_watch_logs_configuration
203
+ # The configuration for experiment logging to Amazon CloudWatch Logs.
204
+ # @return [Types::ExperimentTemplateCloudWatchLogsLogConfigurationInput]
205
+ #
206
+ # @!attribute [rw] s3_configuration
207
+ # The configuration for experiment logging to Amazon S3.
208
+ # @return [Types::ExperimentTemplateS3LogConfigurationInput]
209
+ #
210
+ # @!attribute [rw] log_schema_version
211
+ # The schema version.
212
+ # @return [Integer]
213
+ #
214
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/CreateExperimentTemplateLogConfigurationInput AWS API Documentation
215
+ #
216
+ class CreateExperimentTemplateLogConfigurationInput < Struct.new(
217
+ :cloud_watch_logs_configuration,
218
+ :s3_configuration,
219
+ :log_schema_version)
220
+ SENSITIVE = []
221
+ include Aws::Structure
222
+ end
223
+
186
224
  # @note When making an API call, you may pass CreateExperimentTemplateRequest
187
225
  # data as a hash:
188
226
  #
@@ -231,6 +269,16 @@ module Aws::FIS
231
269
  # tags: {
232
270
  # "TagKey" => "TagValue",
233
271
  # },
272
+ # log_configuration: {
273
+ # cloud_watch_logs_configuration: {
274
+ # log_group_arn: "CloudWatchLogGroupArn", # required
275
+ # },
276
+ # s3_configuration: {
277
+ # bucket_name: "S3BucketName", # required
278
+ # prefix: "S3ObjectKey",
279
+ # },
280
+ # log_schema_version: 1, # required
281
+ # },
234
282
  # }
235
283
  #
236
284
  # @!attribute [rw] client_token
@@ -266,6 +314,10 @@ module Aws::FIS
266
314
  # The tags to apply to the experiment template.
267
315
  # @return [Hash<String,String>]
268
316
  #
317
+ # @!attribute [rw] log_configuration
318
+ # The configuration for experiment logging.
319
+ # @return [Types::CreateExperimentTemplateLogConfigurationInput]
320
+ #
269
321
  # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/CreateExperimentTemplateRequest AWS API Documentation
270
322
  #
271
323
  class CreateExperimentTemplateRequest < Struct.new(
@@ -275,7 +327,8 @@ module Aws::FIS
275
327
  :targets,
276
328
  :actions,
277
329
  :role_arn,
278
- :tags)
330
+ :tags,
331
+ :log_configuration)
279
332
  SENSITIVE = []
280
333
  include Aws::Structure
281
334
  end
@@ -484,6 +537,10 @@ module Aws::FIS
484
537
  # The tags for the experiment.
485
538
  # @return [Hash<String,String>]
486
539
  #
540
+ # @!attribute [rw] log_configuration
541
+ # The configuration for experiment logging.
542
+ # @return [Types::ExperimentLogConfiguration]
543
+ #
487
544
  # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/Experiment AWS API Documentation
488
545
  #
489
546
  class Experiment < Struct.new(
@@ -497,7 +554,8 @@ module Aws::FIS
497
554
  :creation_time,
498
555
  :start_time,
499
556
  :end_time,
500
- :tags)
557
+ :tags,
558
+ :log_configuration)
501
559
  SENSITIVE = []
502
560
  include Aws::Structure
503
561
  end
@@ -571,6 +629,65 @@ module Aws::FIS
571
629
  include Aws::Structure
572
630
  end
573
631
 
632
+ # Describes the configuration for experiment logging to Amazon
633
+ # CloudWatch Logs.
634
+ #
635
+ # @!attribute [rw] log_group_arn
636
+ # The Amazon Resource Name (ARN) of the destination Amazon CloudWatch
637
+ # Logs log group.
638
+ # @return [String]
639
+ #
640
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ExperimentCloudWatchLogsLogConfiguration AWS API Documentation
641
+ #
642
+ class ExperimentCloudWatchLogsLogConfiguration < Struct.new(
643
+ :log_group_arn)
644
+ SENSITIVE = []
645
+ include Aws::Structure
646
+ end
647
+
648
+ # Describes the configuration for experiment logging.
649
+ #
650
+ # @!attribute [rw] cloud_watch_logs_configuration
651
+ # The configuration for experiment logging to Amazon CloudWatch Logs.
652
+ # @return [Types::ExperimentCloudWatchLogsLogConfiguration]
653
+ #
654
+ # @!attribute [rw] s3_configuration
655
+ # The configuration for experiment logging to Amazon S3.
656
+ # @return [Types::ExperimentS3LogConfiguration]
657
+ #
658
+ # @!attribute [rw] log_schema_version
659
+ # The schema version.
660
+ # @return [Integer]
661
+ #
662
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ExperimentLogConfiguration AWS API Documentation
663
+ #
664
+ class ExperimentLogConfiguration < Struct.new(
665
+ :cloud_watch_logs_configuration,
666
+ :s3_configuration,
667
+ :log_schema_version)
668
+ SENSITIVE = []
669
+ include Aws::Structure
670
+ end
671
+
672
+ # Describes the configuration for experiment logging to Amazon S3.
673
+ #
674
+ # @!attribute [rw] bucket_name
675
+ # The name of the destination bucket.
676
+ # @return [String]
677
+ #
678
+ # @!attribute [rw] prefix
679
+ # The bucket prefix.
680
+ # @return [String]
681
+ #
682
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ExperimentS3LogConfiguration AWS API Documentation
683
+ #
684
+ class ExperimentS3LogConfiguration < Struct.new(
685
+ :bucket_name,
686
+ :prefix)
687
+ SENSITIVE = []
688
+ include Aws::Structure
689
+ end
690
+
574
691
  # Describes the state of an experiment.
575
692
  #
576
693
  # @!attribute [rw] status
@@ -741,6 +858,10 @@ module Aws::FIS
741
858
  # The tags for the experiment template.
742
859
  # @return [Hash<String,String>]
743
860
  #
861
+ # @!attribute [rw] log_configuration
862
+ # The configuration for experiment logging.
863
+ # @return [Types::ExperimentTemplateLogConfiguration]
864
+ #
744
865
  # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ExperimentTemplate AWS API Documentation
745
866
  #
746
867
  class ExperimentTemplate < Struct.new(
@@ -752,7 +873,8 @@ module Aws::FIS
752
873
  :creation_time,
753
874
  :last_update_time,
754
875
  :role_arn,
755
- :tags)
876
+ :tags,
877
+ :log_configuration)
756
878
  SENSITIVE = []
757
879
  include Aws::Structure
758
880
  end
@@ -792,6 +914,115 @@ module Aws::FIS
792
914
  include Aws::Structure
793
915
  end
794
916
 
917
+ # Describes the configuration for experiment logging to Amazon
918
+ # CloudWatch Logs.
919
+ #
920
+ # @!attribute [rw] log_group_arn
921
+ # The Amazon Resource Name (ARN) of the destination Amazon CloudWatch
922
+ # Logs log group.
923
+ # @return [String]
924
+ #
925
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ExperimentTemplateCloudWatchLogsLogConfiguration AWS API Documentation
926
+ #
927
+ class ExperimentTemplateCloudWatchLogsLogConfiguration < Struct.new(
928
+ :log_group_arn)
929
+ SENSITIVE = []
930
+ include Aws::Structure
931
+ end
932
+
933
+ # Specifies the configuration for experiment logging to Amazon
934
+ # CloudWatch Logs.
935
+ #
936
+ # @note When making an API call, you may pass ExperimentTemplateCloudWatchLogsLogConfigurationInput
937
+ # data as a hash:
938
+ #
939
+ # {
940
+ # log_group_arn: "CloudWatchLogGroupArn", # required
941
+ # }
942
+ #
943
+ # @!attribute [rw] log_group_arn
944
+ # The Amazon Resource Name (ARN) of the destination Amazon CloudWatch
945
+ # Logs log group.
946
+ # @return [String]
947
+ #
948
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ExperimentTemplateCloudWatchLogsLogConfigurationInput AWS API Documentation
949
+ #
950
+ class ExperimentTemplateCloudWatchLogsLogConfigurationInput < Struct.new(
951
+ :log_group_arn)
952
+ SENSITIVE = []
953
+ include Aws::Structure
954
+ end
955
+
956
+ # Describes the configuration for experiment logging.
957
+ #
958
+ # @!attribute [rw] cloud_watch_logs_configuration
959
+ # The configuration for experiment logging to Amazon CloudWatch Logs.
960
+ # @return [Types::ExperimentTemplateCloudWatchLogsLogConfiguration]
961
+ #
962
+ # @!attribute [rw] s3_configuration
963
+ # The configuration for experiment logging to Amazon S3.
964
+ # @return [Types::ExperimentTemplateS3LogConfiguration]
965
+ #
966
+ # @!attribute [rw] log_schema_version
967
+ # The schema version.
968
+ # @return [Integer]
969
+ #
970
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ExperimentTemplateLogConfiguration AWS API Documentation
971
+ #
972
+ class ExperimentTemplateLogConfiguration < Struct.new(
973
+ :cloud_watch_logs_configuration,
974
+ :s3_configuration,
975
+ :log_schema_version)
976
+ SENSITIVE = []
977
+ include Aws::Structure
978
+ end
979
+
980
+ # Describes the configuration for experiment logging to Amazon S3.
981
+ #
982
+ # @!attribute [rw] bucket_name
983
+ # The name of the destination bucket.
984
+ # @return [String]
985
+ #
986
+ # @!attribute [rw] prefix
987
+ # The bucket prefix.
988
+ # @return [String]
989
+ #
990
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ExperimentTemplateS3LogConfiguration AWS API Documentation
991
+ #
992
+ class ExperimentTemplateS3LogConfiguration < Struct.new(
993
+ :bucket_name,
994
+ :prefix)
995
+ SENSITIVE = []
996
+ include Aws::Structure
997
+ end
998
+
999
+ # Specifies the configuration for experiment logging to Amazon S3.
1000
+ #
1001
+ # @note When making an API call, you may pass ExperimentTemplateS3LogConfigurationInput
1002
+ # data as a hash:
1003
+ #
1004
+ # {
1005
+ # bucket_name: "S3BucketName", # required
1006
+ # prefix: "S3ObjectKey",
1007
+ # }
1008
+ #
1009
+ # @!attribute [rw] bucket_name
1010
+ # The name of the destination bucket.
1011
+ # @return [String]
1012
+ #
1013
+ # @!attribute [rw] prefix
1014
+ # The bucket prefix.
1015
+ # @return [String]
1016
+ #
1017
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ExperimentTemplateS3LogConfigurationInput AWS API Documentation
1018
+ #
1019
+ class ExperimentTemplateS3LogConfigurationInput < Struct.new(
1020
+ :bucket_name,
1021
+ :prefix)
1022
+ SENSITIVE = []
1023
+ include Aws::Structure
1024
+ end
1025
+
795
1026
  # Describes a stop condition for an experiment template.
796
1027
  #
797
1028
  # @!attribute [rw] source
@@ -1556,6 +1787,44 @@ module Aws::FIS
1556
1787
  include Aws::Structure
1557
1788
  end
1558
1789
 
1790
+ # Specifies the configuration for experiment logging.
1791
+ #
1792
+ # @note When making an API call, you may pass UpdateExperimentTemplateLogConfigurationInput
1793
+ # data as a hash:
1794
+ #
1795
+ # {
1796
+ # cloud_watch_logs_configuration: {
1797
+ # log_group_arn: "CloudWatchLogGroupArn", # required
1798
+ # },
1799
+ # s3_configuration: {
1800
+ # bucket_name: "S3BucketName", # required
1801
+ # prefix: "S3ObjectKey",
1802
+ # },
1803
+ # log_schema_version: 1,
1804
+ # }
1805
+ #
1806
+ # @!attribute [rw] cloud_watch_logs_configuration
1807
+ # The configuration for experiment logging to Amazon CloudWatch Logs.
1808
+ # @return [Types::ExperimentTemplateCloudWatchLogsLogConfigurationInput]
1809
+ #
1810
+ # @!attribute [rw] s3_configuration
1811
+ # The configuration for experiment logging to Amazon S3.
1812
+ # @return [Types::ExperimentTemplateS3LogConfigurationInput]
1813
+ #
1814
+ # @!attribute [rw] log_schema_version
1815
+ # The schema version.
1816
+ # @return [Integer]
1817
+ #
1818
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/UpdateExperimentTemplateLogConfigurationInput AWS API Documentation
1819
+ #
1820
+ class UpdateExperimentTemplateLogConfigurationInput < Struct.new(
1821
+ :cloud_watch_logs_configuration,
1822
+ :s3_configuration,
1823
+ :log_schema_version)
1824
+ SENSITIVE = []
1825
+ include Aws::Structure
1826
+ end
1827
+
1559
1828
  # @note When making an API call, you may pass UpdateExperimentTemplateRequest
1560
1829
  # data as a hash:
1561
1830
  #
@@ -1601,6 +1870,16 @@ module Aws::FIS
1601
1870
  # },
1602
1871
  # },
1603
1872
  # role_arn: "RoleArn",
1873
+ # log_configuration: {
1874
+ # cloud_watch_logs_configuration: {
1875
+ # log_group_arn: "CloudWatchLogGroupArn", # required
1876
+ # },
1877
+ # s3_configuration: {
1878
+ # bucket_name: "S3BucketName", # required
1879
+ # prefix: "S3ObjectKey",
1880
+ # },
1881
+ # log_schema_version: 1,
1882
+ # },
1604
1883
  # }
1605
1884
  #
1606
1885
  # @!attribute [rw] id
@@ -1628,6 +1907,10 @@ module Aws::FIS
1628
1907
  # service permission to perform service actions on your behalf.
1629
1908
  # @return [String]
1630
1909
  #
1910
+ # @!attribute [rw] log_configuration
1911
+ # The configuration for experiment logging.
1912
+ # @return [Types::UpdateExperimentTemplateLogConfigurationInput]
1913
+ #
1631
1914
  # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/UpdateExperimentTemplateRequest AWS API Documentation
1632
1915
  #
1633
1916
  class UpdateExperimentTemplateRequest < Struct.new(
@@ -1636,7 +1919,8 @@ module Aws::FIS
1636
1919
  :stop_conditions,
1637
1920
  :targets,
1638
1921
  :actions,
1639
- :role_arn)
1922
+ :role_arn,
1923
+ :log_configuration)
1640
1924
  SENSITIVE = []
1641
1925
  include Aws::Structure
1642
1926
  end
data/lib/aws-sdk-fis.rb CHANGED
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-fis/customizations'
48
48
  # @!group service
49
49
  module Aws::FIS
50
50
 
51
- GEM_VERSION = '1.12.0'
51
+ GEM_VERSION = '1.13.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-fis
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.0
4
+ version: 1.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-24 00:00:00.000000000 Z
11
+ date: 2022-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core