aws-sdk-fis 1.12.0 → 1.14.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 +74 -3
- data/lib/aws-sdk-fis/client_api.rb +59 -0
- data/lib/aws-sdk-fis/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-fis/endpoint_provider.rb +110 -0
- data/lib/aws-sdk-fis/endpoints.rb +239 -0
- data/lib/aws-sdk-fis/plugins/endpoints.rb +100 -0
- data/lib/aws-sdk-fis/types.rb +288 -4
- data/lib/aws-sdk-fis.rb +5 -1
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b2d7674233ea5659d97fe8a5778a387feaa28f87994aadc39ccdca5ff553d02
|
4
|
+
data.tar.gz: b7874f094d36a6b57b77a06cc0ee4a04abacec2844588b3cd19fd6075d2e1353
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ab70321352964f0018044707473aa06c4f303047df45d443f6833f2a78f7413a6045f90fceb38d3077d6fc9fd1cf33052a92e01331e890f6a0e92f6478afd6b
|
7
|
+
data.tar.gz: 96a1ad6b4b98155e18fd399bd1ee2f981c2cf3358f05219d18b2bdcb466f15b9fbb8160ce65fc8107ffa6a05e8862c3284c12ba6d2aa3e42717dc2f9ceeeac97
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.14.0 (2022-10-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.13.0 (2022-02-28)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
4
14
|
1.12.0 (2022-02-24)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.14.0
|
data/lib/aws-sdk-fis/client.rb
CHANGED
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
|
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
|
-
require 'aws-sdk-core/plugins/
|
33
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
34
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
35
35
|
|
36
36
|
Aws::Plugins::GlobalConfiguration.add_identifier(:fis)
|
@@ -79,8 +79,9 @@ module Aws::FIS
|
|
79
79
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
80
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
82
|
-
add_plugin(Aws::Plugins::
|
82
|
+
add_plugin(Aws::Plugins::Sign)
|
83
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
84
|
+
add_plugin(Aws::FIS::Plugins::Endpoints)
|
84
85
|
|
85
86
|
# @overload initialize(options)
|
86
87
|
# @param [Hash] options
|
@@ -287,6 +288,19 @@ module Aws::FIS
|
|
287
288
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
288
289
|
# requests are made, and retries are disabled.
|
289
290
|
#
|
291
|
+
# @option options [Aws::TokenProvider] :token_provider
|
292
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
293
|
+
# following classes:
|
294
|
+
#
|
295
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
296
|
+
# tokens.
|
297
|
+
#
|
298
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
299
|
+
# access token generated from `aws login`.
|
300
|
+
#
|
301
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
302
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
303
|
+
#
|
290
304
|
# @option options [Boolean] :use_dualstack_endpoint
|
291
305
|
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
292
306
|
# will be used if available.
|
@@ -300,6 +314,9 @@ module Aws::FIS
|
|
300
314
|
# When `true`, request parameters are validated before
|
301
315
|
# sending the request.
|
302
316
|
#
|
317
|
+
# @option options [Aws::FIS::EndpointProvider] :endpoint_provider
|
318
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::FIS::EndpointParameters`
|
319
|
+
#
|
303
320
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
304
321
|
# requests through. Formatted like 'http://proxy.com:123'.
|
305
322
|
#
|
@@ -400,6 +417,9 @@ module Aws::FIS
|
|
400
417
|
# @option params [Hash<String,String>] :tags
|
401
418
|
# The tags to apply to the experiment template.
|
402
419
|
#
|
420
|
+
# @option params [Types::CreateExperimentTemplateLogConfigurationInput] :log_configuration
|
421
|
+
# The configuration for experiment logging.
|
422
|
+
#
|
403
423
|
# @return [Types::CreateExperimentTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
404
424
|
#
|
405
425
|
# * {Types::CreateExperimentTemplateResponse#experiment_template #experiment_template} => Types::ExperimentTemplate
|
@@ -451,6 +471,16 @@ module Aws::FIS
|
|
451
471
|
# tags: {
|
452
472
|
# "TagKey" => "TagValue",
|
453
473
|
# },
|
474
|
+
# log_configuration: {
|
475
|
+
# cloud_watch_logs_configuration: {
|
476
|
+
# log_group_arn: "CloudWatchLogGroupArn", # required
|
477
|
+
# },
|
478
|
+
# s3_configuration: {
|
479
|
+
# bucket_name: "S3BucketName", # required
|
480
|
+
# prefix: "S3ObjectKey",
|
481
|
+
# },
|
482
|
+
# log_schema_version: 1, # required
|
483
|
+
# },
|
454
484
|
# })
|
455
485
|
#
|
456
486
|
# @example Response structure
|
@@ -487,6 +517,10 @@ module Aws::FIS
|
|
487
517
|
# resp.experiment_template.role_arn #=> String
|
488
518
|
# resp.experiment_template.tags #=> Hash
|
489
519
|
# resp.experiment_template.tags["TagKey"] #=> String
|
520
|
+
# resp.experiment_template.log_configuration.cloud_watch_logs_configuration.log_group_arn #=> String
|
521
|
+
# resp.experiment_template.log_configuration.s3_configuration.bucket_name #=> String
|
522
|
+
# resp.experiment_template.log_configuration.s3_configuration.prefix #=> String
|
523
|
+
# resp.experiment_template.log_configuration.log_schema_version #=> Integer
|
490
524
|
#
|
491
525
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/CreateExperimentTemplate AWS API Documentation
|
492
526
|
#
|
@@ -546,6 +580,10 @@ module Aws::FIS
|
|
546
580
|
# resp.experiment_template.role_arn #=> String
|
547
581
|
# resp.experiment_template.tags #=> Hash
|
548
582
|
# resp.experiment_template.tags["TagKey"] #=> String
|
583
|
+
# resp.experiment_template.log_configuration.cloud_watch_logs_configuration.log_group_arn #=> String
|
584
|
+
# resp.experiment_template.log_configuration.s3_configuration.bucket_name #=> String
|
585
|
+
# resp.experiment_template.log_configuration.s3_configuration.prefix #=> String
|
586
|
+
# resp.experiment_template.log_configuration.log_schema_version #=> Integer
|
549
587
|
#
|
550
588
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/DeleteExperimentTemplate AWS API Documentation
|
551
589
|
#
|
@@ -648,6 +686,10 @@ module Aws::FIS
|
|
648
686
|
# resp.experiment.end_time #=> Time
|
649
687
|
# resp.experiment.tags #=> Hash
|
650
688
|
# resp.experiment.tags["TagKey"] #=> String
|
689
|
+
# resp.experiment.log_configuration.cloud_watch_logs_configuration.log_group_arn #=> String
|
690
|
+
# resp.experiment.log_configuration.s3_configuration.bucket_name #=> String
|
691
|
+
# resp.experiment.log_configuration.s3_configuration.prefix #=> String
|
692
|
+
# resp.experiment.log_configuration.log_schema_version #=> Integer
|
651
693
|
#
|
652
694
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetExperiment AWS API Documentation
|
653
695
|
#
|
@@ -707,6 +749,10 @@ module Aws::FIS
|
|
707
749
|
# resp.experiment_template.role_arn #=> String
|
708
750
|
# resp.experiment_template.tags #=> Hash
|
709
751
|
# resp.experiment_template.tags["TagKey"] #=> String
|
752
|
+
# resp.experiment_template.log_configuration.cloud_watch_logs_configuration.log_group_arn #=> String
|
753
|
+
# resp.experiment_template.log_configuration.s3_configuration.bucket_name #=> String
|
754
|
+
# resp.experiment_template.log_configuration.s3_configuration.prefix #=> String
|
755
|
+
# resp.experiment_template.log_configuration.log_schema_version #=> Integer
|
710
756
|
#
|
711
757
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetExperimentTemplate AWS API Documentation
|
712
758
|
#
|
@@ -1021,6 +1067,10 @@ module Aws::FIS
|
|
1021
1067
|
# resp.experiment.end_time #=> Time
|
1022
1068
|
# resp.experiment.tags #=> Hash
|
1023
1069
|
# resp.experiment.tags["TagKey"] #=> String
|
1070
|
+
# resp.experiment.log_configuration.cloud_watch_logs_configuration.log_group_arn #=> String
|
1071
|
+
# resp.experiment.log_configuration.s3_configuration.bucket_name #=> String
|
1072
|
+
# resp.experiment.log_configuration.s3_configuration.prefix #=> String
|
1073
|
+
# resp.experiment.log_configuration.log_schema_version #=> Integer
|
1024
1074
|
#
|
1025
1075
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/StartExperiment AWS API Documentation
|
1026
1076
|
#
|
@@ -1087,6 +1137,10 @@ module Aws::FIS
|
|
1087
1137
|
# resp.experiment.end_time #=> Time
|
1088
1138
|
# resp.experiment.tags #=> Hash
|
1089
1139
|
# resp.experiment.tags["TagKey"] #=> String
|
1140
|
+
# resp.experiment.log_configuration.cloud_watch_logs_configuration.log_group_arn #=> String
|
1141
|
+
# resp.experiment.log_configuration.s3_configuration.bucket_name #=> String
|
1142
|
+
# resp.experiment.log_configuration.s3_configuration.prefix #=> String
|
1143
|
+
# resp.experiment.log_configuration.log_schema_version #=> Integer
|
1090
1144
|
#
|
1091
1145
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/StopExperiment AWS API Documentation
|
1092
1146
|
#
|
@@ -1172,6 +1226,9 @@ module Aws::FIS
|
|
1172
1226
|
# The Amazon Resource Name (ARN) of an IAM role that grants the FIS
|
1173
1227
|
# service permission to perform service actions on your behalf.
|
1174
1228
|
#
|
1229
|
+
# @option params [Types::UpdateExperimentTemplateLogConfigurationInput] :log_configuration
|
1230
|
+
# The configuration for experiment logging.
|
1231
|
+
#
|
1175
1232
|
# @return [Types::UpdateExperimentTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1176
1233
|
#
|
1177
1234
|
# * {Types::UpdateExperimentTemplateResponse#experiment_template #experiment_template} => Types::ExperimentTemplate
|
@@ -1220,6 +1277,16 @@ module Aws::FIS
|
|
1220
1277
|
# },
|
1221
1278
|
# },
|
1222
1279
|
# role_arn: "RoleArn",
|
1280
|
+
# log_configuration: {
|
1281
|
+
# cloud_watch_logs_configuration: {
|
1282
|
+
# log_group_arn: "CloudWatchLogGroupArn", # required
|
1283
|
+
# },
|
1284
|
+
# s3_configuration: {
|
1285
|
+
# bucket_name: "S3BucketName", # required
|
1286
|
+
# prefix: "S3ObjectKey",
|
1287
|
+
# },
|
1288
|
+
# log_schema_version: 1,
|
1289
|
+
# },
|
1223
1290
|
# })
|
1224
1291
|
#
|
1225
1292
|
# @example Response structure
|
@@ -1256,6 +1323,10 @@ module Aws::FIS
|
|
1256
1323
|
# resp.experiment_template.role_arn #=> String
|
1257
1324
|
# resp.experiment_template.tags #=> Hash
|
1258
1325
|
# resp.experiment_template.tags["TagKey"] #=> String
|
1326
|
+
# resp.experiment_template.log_configuration.cloud_watch_logs_configuration.log_group_arn #=> String
|
1327
|
+
# resp.experiment_template.log_configuration.s3_configuration.bucket_name #=> String
|
1328
|
+
# resp.experiment_template.log_configuration.s3_configuration.prefix #=> String
|
1329
|
+
# resp.experiment_template.log_configuration.log_schema_version #=> Integer
|
1259
1330
|
#
|
1260
1331
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/UpdateExperimentTemplate AWS API Documentation
|
1261
1332
|
#
|
@@ -1279,7 +1350,7 @@ module Aws::FIS
|
|
1279
1350
|
params: params,
|
1280
1351
|
config: config)
|
1281
1352
|
context[:gem_name] = 'aws-sdk-fis'
|
1282
|
-
context[:gem_version] = '1.
|
1353
|
+
context[:gem_version] = '1.14.0'
|
1283
1354
|
Seahorse::Client::Request.new(handlers, context)
|
1284
1355
|
end
|
1285
1356
|
|
@@ -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"))
|
@@ -0,0 +1,66 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::FIS
|
11
|
+
# Endpoint parameters used to influence endpoints per request.
|
12
|
+
#
|
13
|
+
# @!attribute region
|
14
|
+
# The AWS region used to dispatch the request.
|
15
|
+
#
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @!attribute use_dual_stack
|
19
|
+
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
20
|
+
#
|
21
|
+
# @return [Boolean]
|
22
|
+
#
|
23
|
+
# @!attribute use_fips
|
24
|
+
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
25
|
+
#
|
26
|
+
# @return [Boolean]
|
27
|
+
#
|
28
|
+
# @!attribute endpoint
|
29
|
+
# Override the endpoint used to send this request
|
30
|
+
#
|
31
|
+
# @return [String]
|
32
|
+
#
|
33
|
+
EndpointParameters = Struct.new(
|
34
|
+
:region,
|
35
|
+
:use_dual_stack,
|
36
|
+
:use_fips,
|
37
|
+
:endpoint,
|
38
|
+
) do
|
39
|
+
include Aws::Structure
|
40
|
+
|
41
|
+
# @api private
|
42
|
+
class << self
|
43
|
+
PARAM_MAP = {
|
44
|
+
'Region' => :region,
|
45
|
+
'UseDualStack' => :use_dual_stack,
|
46
|
+
'UseFIPS' => :use_fips,
|
47
|
+
'Endpoint' => :endpoint,
|
48
|
+
}.freeze
|
49
|
+
end
|
50
|
+
|
51
|
+
def initialize(options = {})
|
52
|
+
self[:region] = options[:region]
|
53
|
+
self[:use_dual_stack] = options[:use_dual_stack]
|
54
|
+
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
+
if self[:use_dual_stack].nil?
|
56
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
+
end
|
58
|
+
self[:use_fips] = options[:use_fips]
|
59
|
+
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
+
if self[:use_fips].nil?
|
61
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
+
end
|
63
|
+
self[:endpoint] = options[:endpoint]
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,110 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::FIS
|
11
|
+
class EndpointProvider
|
12
|
+
def initialize(rule_set = nil)
|
13
|
+
@@rule_set ||= begin
|
14
|
+
endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
|
15
|
+
Aws::Endpoints::RuleSet.new(
|
16
|
+
version: endpoint_rules['version'],
|
17
|
+
service_id: endpoint_rules['serviceId'],
|
18
|
+
parameters: endpoint_rules['parameters'],
|
19
|
+
rules: endpoint_rules['rules']
|
20
|
+
)
|
21
|
+
end
|
22
|
+
@provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
|
23
|
+
end
|
24
|
+
|
25
|
+
def resolve_endpoint(parameters)
|
26
|
+
@provider.resolve_endpoint(parameters)
|
27
|
+
end
|
28
|
+
|
29
|
+
# @api private
|
30
|
+
RULES = <<-JSON
|
31
|
+
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
+
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
+
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24g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yJmbiI6ImJv
|
95
|
+
b2xlYW5FcXVhbHMiLCJhcmd2IjpbdHJ1ZSx7ImZuIjoiZ2V0QXR0ciIsImFy
|
96
|
+
Z3YiOlt7InJlZiI6IlBhcnRpdGlvblJlc3VsdCJ9LCJzdXBwb3J0c0R1YWxT
|
97
|
+
dGFjayJdfV19XSwidHlwZSI6InRyZWUiLCJydWxlcyI6W3siY29uZGl0aW9u
|
98
|
+
cyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vZmlzLntSZWdpb259
|
99
|
+
LntQYXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4fSIsInByb3Bl
|
100
|
+
cnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0s
|
101
|
+
eyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxl
|
102
|
+
ZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3Rh
|
103
|
+
Y2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBv
|
104
|
+
aW50Ijp7InVybCI6Imh0dHBzOi8vZmlzLntSZWdpb259LntQYXJ0aXRpb25S
|
105
|
+
ZXN1bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7
|
106
|
+
fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
|
107
|
+
|
108
|
+
JSON
|
109
|
+
end
|
110
|
+
end
|
@@ -0,0 +1,239 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::FIS
|
12
|
+
module Endpoints
|
13
|
+
|
14
|
+
class CreateExperimentTemplate
|
15
|
+
def self.build(context)
|
16
|
+
unless context.config.regional_endpoint
|
17
|
+
endpoint = context.config.endpoint.to_s
|
18
|
+
end
|
19
|
+
Aws::FIS::EndpointParameters.new(
|
20
|
+
region: context.config.region,
|
21
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
22
|
+
use_fips: context.config.use_fips_endpoint,
|
23
|
+
endpoint: endpoint,
|
24
|
+
)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
class DeleteExperimentTemplate
|
29
|
+
def self.build(context)
|
30
|
+
unless context.config.regional_endpoint
|
31
|
+
endpoint = context.config.endpoint.to_s
|
32
|
+
end
|
33
|
+
Aws::FIS::EndpointParameters.new(
|
34
|
+
region: context.config.region,
|
35
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
36
|
+
use_fips: context.config.use_fips_endpoint,
|
37
|
+
endpoint: endpoint,
|
38
|
+
)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
class GetAction
|
43
|
+
def self.build(context)
|
44
|
+
unless context.config.regional_endpoint
|
45
|
+
endpoint = context.config.endpoint.to_s
|
46
|
+
end
|
47
|
+
Aws::FIS::EndpointParameters.new(
|
48
|
+
region: context.config.region,
|
49
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
50
|
+
use_fips: context.config.use_fips_endpoint,
|
51
|
+
endpoint: endpoint,
|
52
|
+
)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
class GetExperiment
|
57
|
+
def self.build(context)
|
58
|
+
unless context.config.regional_endpoint
|
59
|
+
endpoint = context.config.endpoint.to_s
|
60
|
+
end
|
61
|
+
Aws::FIS::EndpointParameters.new(
|
62
|
+
region: context.config.region,
|
63
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
64
|
+
use_fips: context.config.use_fips_endpoint,
|
65
|
+
endpoint: endpoint,
|
66
|
+
)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
class GetExperimentTemplate
|
71
|
+
def self.build(context)
|
72
|
+
unless context.config.regional_endpoint
|
73
|
+
endpoint = context.config.endpoint.to_s
|
74
|
+
end
|
75
|
+
Aws::FIS::EndpointParameters.new(
|
76
|
+
region: context.config.region,
|
77
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
78
|
+
use_fips: context.config.use_fips_endpoint,
|
79
|
+
endpoint: endpoint,
|
80
|
+
)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
class GetTargetResourceType
|
85
|
+
def self.build(context)
|
86
|
+
unless context.config.regional_endpoint
|
87
|
+
endpoint = context.config.endpoint.to_s
|
88
|
+
end
|
89
|
+
Aws::FIS::EndpointParameters.new(
|
90
|
+
region: context.config.region,
|
91
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
92
|
+
use_fips: context.config.use_fips_endpoint,
|
93
|
+
endpoint: endpoint,
|
94
|
+
)
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
class ListActions
|
99
|
+
def self.build(context)
|
100
|
+
unless context.config.regional_endpoint
|
101
|
+
endpoint = context.config.endpoint.to_s
|
102
|
+
end
|
103
|
+
Aws::FIS::EndpointParameters.new(
|
104
|
+
region: context.config.region,
|
105
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
106
|
+
use_fips: context.config.use_fips_endpoint,
|
107
|
+
endpoint: endpoint,
|
108
|
+
)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
class ListExperimentTemplates
|
113
|
+
def self.build(context)
|
114
|
+
unless context.config.regional_endpoint
|
115
|
+
endpoint = context.config.endpoint.to_s
|
116
|
+
end
|
117
|
+
Aws::FIS::EndpointParameters.new(
|
118
|
+
region: context.config.region,
|
119
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
120
|
+
use_fips: context.config.use_fips_endpoint,
|
121
|
+
endpoint: endpoint,
|
122
|
+
)
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
class ListExperiments
|
127
|
+
def self.build(context)
|
128
|
+
unless context.config.regional_endpoint
|
129
|
+
endpoint = context.config.endpoint.to_s
|
130
|
+
end
|
131
|
+
Aws::FIS::EndpointParameters.new(
|
132
|
+
region: context.config.region,
|
133
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
134
|
+
use_fips: context.config.use_fips_endpoint,
|
135
|
+
endpoint: endpoint,
|
136
|
+
)
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
class ListTagsForResource
|
141
|
+
def self.build(context)
|
142
|
+
unless context.config.regional_endpoint
|
143
|
+
endpoint = context.config.endpoint.to_s
|
144
|
+
end
|
145
|
+
Aws::FIS::EndpointParameters.new(
|
146
|
+
region: context.config.region,
|
147
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
148
|
+
use_fips: context.config.use_fips_endpoint,
|
149
|
+
endpoint: endpoint,
|
150
|
+
)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
class ListTargetResourceTypes
|
155
|
+
def self.build(context)
|
156
|
+
unless context.config.regional_endpoint
|
157
|
+
endpoint = context.config.endpoint.to_s
|
158
|
+
end
|
159
|
+
Aws::FIS::EndpointParameters.new(
|
160
|
+
region: context.config.region,
|
161
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
162
|
+
use_fips: context.config.use_fips_endpoint,
|
163
|
+
endpoint: endpoint,
|
164
|
+
)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
class StartExperiment
|
169
|
+
def self.build(context)
|
170
|
+
unless context.config.regional_endpoint
|
171
|
+
endpoint = context.config.endpoint.to_s
|
172
|
+
end
|
173
|
+
Aws::FIS::EndpointParameters.new(
|
174
|
+
region: context.config.region,
|
175
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
176
|
+
use_fips: context.config.use_fips_endpoint,
|
177
|
+
endpoint: endpoint,
|
178
|
+
)
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
class StopExperiment
|
183
|
+
def self.build(context)
|
184
|
+
unless context.config.regional_endpoint
|
185
|
+
endpoint = context.config.endpoint.to_s
|
186
|
+
end
|
187
|
+
Aws::FIS::EndpointParameters.new(
|
188
|
+
region: context.config.region,
|
189
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
190
|
+
use_fips: context.config.use_fips_endpoint,
|
191
|
+
endpoint: endpoint,
|
192
|
+
)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
class TagResource
|
197
|
+
def self.build(context)
|
198
|
+
unless context.config.regional_endpoint
|
199
|
+
endpoint = context.config.endpoint.to_s
|
200
|
+
end
|
201
|
+
Aws::FIS::EndpointParameters.new(
|
202
|
+
region: context.config.region,
|
203
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
204
|
+
use_fips: context.config.use_fips_endpoint,
|
205
|
+
endpoint: endpoint,
|
206
|
+
)
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
class UntagResource
|
211
|
+
def self.build(context)
|
212
|
+
unless context.config.regional_endpoint
|
213
|
+
endpoint = context.config.endpoint.to_s
|
214
|
+
end
|
215
|
+
Aws::FIS::EndpointParameters.new(
|
216
|
+
region: context.config.region,
|
217
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
218
|
+
use_fips: context.config.use_fips_endpoint,
|
219
|
+
endpoint: endpoint,
|
220
|
+
)
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
class UpdateExperimentTemplate
|
225
|
+
def self.build(context)
|
226
|
+
unless context.config.regional_endpoint
|
227
|
+
endpoint = context.config.endpoint.to_s
|
228
|
+
end
|
229
|
+
Aws::FIS::EndpointParameters.new(
|
230
|
+
region: context.config.region,
|
231
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
232
|
+
use_fips: context.config.use_fips_endpoint,
|
233
|
+
endpoint: endpoint,
|
234
|
+
)
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
end
|
239
|
+
end
|
@@ -0,0 +1,100 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::FIS
|
12
|
+
module Plugins
|
13
|
+
class Endpoints < Seahorse::Client::Plugin
|
14
|
+
option(
|
15
|
+
:endpoint_provider,
|
16
|
+
doc_type: 'Aws::FIS::EndpointProvider',
|
17
|
+
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
|
+
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
|
+
'where `parameters` is a Struct similar to '\
|
20
|
+
'`Aws::FIS::EndpointParameters`'
|
21
|
+
) do |cfg|
|
22
|
+
Aws::FIS::EndpointProvider.new
|
23
|
+
end
|
24
|
+
|
25
|
+
# @api private
|
26
|
+
class Handler < Seahorse::Client::Handler
|
27
|
+
def call(context)
|
28
|
+
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
|
+
unless context[:discovered_endpoint]
|
30
|
+
params = parameters_for_operation(context)
|
31
|
+
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
|
+
|
33
|
+
context.http_request.endpoint = endpoint.url
|
34
|
+
apply_endpoint_headers(context, endpoint.headers)
|
35
|
+
end
|
36
|
+
|
37
|
+
context[:endpoint_params] = params
|
38
|
+
context[:auth_scheme] =
|
39
|
+
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
|
+
|
41
|
+
@handler.call(context)
|
42
|
+
end
|
43
|
+
|
44
|
+
private
|
45
|
+
|
46
|
+
def apply_endpoint_headers(context, headers)
|
47
|
+
headers.each do |key, values|
|
48
|
+
value = values
|
49
|
+
.compact
|
50
|
+
.map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
|
51
|
+
.join(',')
|
52
|
+
|
53
|
+
context.http_request.headers[key] = value
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
def parameters_for_operation(context)
|
58
|
+
case context.operation_name
|
59
|
+
when :create_experiment_template
|
60
|
+
Aws::FIS::Endpoints::CreateExperimentTemplate.build(context)
|
61
|
+
when :delete_experiment_template
|
62
|
+
Aws::FIS::Endpoints::DeleteExperimentTemplate.build(context)
|
63
|
+
when :get_action
|
64
|
+
Aws::FIS::Endpoints::GetAction.build(context)
|
65
|
+
when :get_experiment
|
66
|
+
Aws::FIS::Endpoints::GetExperiment.build(context)
|
67
|
+
when :get_experiment_template
|
68
|
+
Aws::FIS::Endpoints::GetExperimentTemplate.build(context)
|
69
|
+
when :get_target_resource_type
|
70
|
+
Aws::FIS::Endpoints::GetTargetResourceType.build(context)
|
71
|
+
when :list_actions
|
72
|
+
Aws::FIS::Endpoints::ListActions.build(context)
|
73
|
+
when :list_experiment_templates
|
74
|
+
Aws::FIS::Endpoints::ListExperimentTemplates.build(context)
|
75
|
+
when :list_experiments
|
76
|
+
Aws::FIS::Endpoints::ListExperiments.build(context)
|
77
|
+
when :list_tags_for_resource
|
78
|
+
Aws::FIS::Endpoints::ListTagsForResource.build(context)
|
79
|
+
when :list_target_resource_types
|
80
|
+
Aws::FIS::Endpoints::ListTargetResourceTypes.build(context)
|
81
|
+
when :start_experiment
|
82
|
+
Aws::FIS::Endpoints::StartExperiment.build(context)
|
83
|
+
when :stop_experiment
|
84
|
+
Aws::FIS::Endpoints::StopExperiment.build(context)
|
85
|
+
when :tag_resource
|
86
|
+
Aws::FIS::Endpoints::TagResource.build(context)
|
87
|
+
when :untag_resource
|
88
|
+
Aws::FIS::Endpoints::UntagResource.build(context)
|
89
|
+
when :update_experiment_template
|
90
|
+
Aws::FIS::Endpoints::UpdateExperimentTemplate.build(context)
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
def add_handlers(handlers, _config)
|
96
|
+
handlers.add(Handler, step: :build, priority: 75)
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
data/lib/aws-sdk-fis/types.rb
CHANGED
@@ -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
@@ -13,9 +13,13 @@ require 'aws-sigv4'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-fis/types'
|
15
15
|
require_relative 'aws-sdk-fis/client_api'
|
16
|
+
require_relative 'aws-sdk-fis/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-fis/client'
|
17
18
|
require_relative 'aws-sdk-fis/errors'
|
18
19
|
require_relative 'aws-sdk-fis/resource'
|
20
|
+
require_relative 'aws-sdk-fis/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-fis/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-fis/endpoints'
|
19
23
|
require_relative 'aws-sdk-fis/customizations'
|
20
24
|
|
21
25
|
# This module provides support for AWS Fault Injection Simulator. This module is available in the
|
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-fis/customizations'
|
|
48
52
|
# @!group service
|
49
53
|
module Aws::FIS
|
50
54
|
|
51
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.14.0'
|
52
56
|
|
53
57
|
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.
|
4
|
+
version: 1.14.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-
|
11
|
+
date: 2022-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.165.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.165.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,11 @@ files:
|
|
59
59
|
- lib/aws-sdk-fis/client.rb
|
60
60
|
- lib/aws-sdk-fis/client_api.rb
|
61
61
|
- lib/aws-sdk-fis/customizations.rb
|
62
|
+
- lib/aws-sdk-fis/endpoint_parameters.rb
|
63
|
+
- lib/aws-sdk-fis/endpoint_provider.rb
|
64
|
+
- lib/aws-sdk-fis/endpoints.rb
|
62
65
|
- lib/aws-sdk-fis/errors.rb
|
66
|
+
- lib/aws-sdk-fis/plugins/endpoints.rb
|
63
67
|
- lib/aws-sdk-fis/resource.rb
|
64
68
|
- lib/aws-sdk-fis/types.rb
|
65
69
|
homepage: https://github.com/aws/aws-sdk-ruby
|