aws-sdk-fis 1.27.0 → 1.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-fis/client.rb +104 -53
- data/lib/aws-sdk-fis/client_api.rb +15 -0
- data/lib/aws-sdk-fis/types.rb +83 -18
- data/lib/aws-sdk-fis.rb +1 -1
- data/sig/client.rbs +5 -1
- data/sig/types.rbs +15 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 723e3cc771bd397f8a9eda4d7cd2c87791a116764e800b213c25bfaf4f7b78f1
|
4
|
+
data.tar.gz: 5e369ab44525ca32666379edfd3501cec4b407f5fcac083215768a25233bae4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca6fbd7866f9e9d116e69a78df47b08b5e95eaa9acf5a60ccf78048a6a7320fba0fe1d8648b2fb9dae4b612e9debdb039f0ace97bfb44ad58178ed428c5edff7
|
7
|
+
data.tar.gz: df3332901d506efd1808740b6cf8947eeb9c416d8cbd5fb36d994d7c6b44f0aa7f400fc268c4db8c6217b3e9a3cb3c2aa694068651a8f77c5d8f34a0c820157d
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.28.0
|
data/lib/aws-sdk-fis/client.rb
CHANGED
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -72,6 +73,7 @@ module Aws::FIS
|
|
72
73
|
add_plugin(Aws::Plugins::ResponsePaging)
|
73
74
|
add_plugin(Aws::Plugins::StubResponses)
|
74
75
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
76
|
+
add_plugin(Aws::Plugins::InvocationId)
|
75
77
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
76
78
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
77
79
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -196,10 +198,17 @@ module Aws::FIS
|
|
196
198
|
# When set to 'true' the request body will not be compressed
|
197
199
|
# for supported operations.
|
198
200
|
#
|
199
|
-
# @option options [String] :endpoint
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
201
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
202
|
+
# Normally you should not configure the `:endpoint` option
|
203
|
+
# directly. This is normally constructed from the `:region`
|
204
|
+
# option. Configuring `:endpoint` is normally reserved for
|
205
|
+
# connecting to test or custom endpoints. The endpoint should
|
206
|
+
# be a URI formatted like:
|
207
|
+
#
|
208
|
+
# 'http://example.com'
|
209
|
+
# 'https://example.com'
|
210
|
+
# 'http://example.com:123'
|
211
|
+
#
|
203
212
|
#
|
204
213
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
205
214
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -337,50 +346,65 @@ module Aws::FIS
|
|
337
346
|
# @option options [Aws::FIS::EndpointProvider] :endpoint_provider
|
338
347
|
# 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`
|
339
348
|
#
|
340
|
-
# @option options [
|
341
|
-
#
|
342
|
-
#
|
343
|
-
#
|
344
|
-
#
|
345
|
-
#
|
346
|
-
#
|
347
|
-
#
|
348
|
-
#
|
349
|
-
#
|
350
|
-
#
|
351
|
-
# @option options [Float] :
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
349
|
+
# @option options [Float] :http_continue_timeout (1)
|
350
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
351
|
+
# request body. This option has no effect unless the request has "Expect"
|
352
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
353
|
+
# behaviour. This value can safely be set per request on the session.
|
354
|
+
#
|
355
|
+
# @option options [Float] :http_idle_timeout (5)
|
356
|
+
# The number of seconds a connection is allowed to sit idle before it
|
357
|
+
# is considered stale. Stale connections are closed and removed from the
|
358
|
+
# pool before making a request.
|
359
|
+
#
|
360
|
+
# @option options [Float] :http_open_timeout (15)
|
361
|
+
# The default number of seconds to wait for response data.
|
362
|
+
# This value can safely be set per-request on the session.
|
363
|
+
#
|
364
|
+
# @option options [URI::HTTP,String] :http_proxy
|
365
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
366
|
+
#
|
367
|
+
# @option options [Float] :http_read_timeout (60)
|
368
|
+
# The default number of seconds to wait for response data.
|
369
|
+
# This value can safely be set per-request on the session.
|
370
|
+
#
|
371
|
+
# @option options [Boolean] :http_wire_trace (false)
|
372
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
373
|
+
#
|
374
|
+
# @option options [Proc] :on_chunk_received
|
375
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
376
|
+
# of the response body is received. It provides three arguments: the chunk,
|
377
|
+
# the number of bytes received, and the total number of
|
378
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
379
|
+
#
|
380
|
+
# @option options [Proc] :on_chunk_sent
|
381
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
382
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
383
|
+
# the number of bytes read from the body, and the total number of
|
384
|
+
# bytes in the body.
|
385
|
+
#
|
386
|
+
# @option options [Boolean] :raise_response_errors (true)
|
387
|
+
# When `true`, response errors are raised.
|
388
|
+
#
|
389
|
+
# @option options [String] :ssl_ca_bundle
|
390
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
391
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
392
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
393
|
+
#
|
394
|
+
# @option options [String] :ssl_ca_directory
|
395
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
396
|
+
# authority files for verifying peer certificates. If you do
|
397
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
398
|
+
# default will be used if available.
|
368
399
|
#
|
369
|
-
# @option options [
|
370
|
-
#
|
371
|
-
# connection.
|
400
|
+
# @option options [String] :ssl_ca_store
|
401
|
+
# Sets the X509::Store to verify peer certificate.
|
372
402
|
#
|
373
|
-
# @option options [
|
374
|
-
#
|
375
|
-
# verifying peer certificates. If you do not pass
|
376
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
377
|
-
# will be used if available.
|
403
|
+
# @option options [Float] :ssl_timeout
|
404
|
+
# Sets the SSL timeout in seconds
|
378
405
|
#
|
379
|
-
# @option options [
|
380
|
-
#
|
381
|
-
# authority files for verifying peer certificates. If you do
|
382
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
383
|
-
# system default will be used if available.
|
406
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
407
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
384
408
|
#
|
385
409
|
def initialize(*args)
|
386
410
|
super
|
@@ -405,7 +429,7 @@ module Aws::FIS
|
|
405
429
|
# can define a stop condition as a CloudWatch alarm.
|
406
430
|
#
|
407
431
|
# For more information, see [experiment templates][1] in the *Fault
|
408
|
-
# Injection
|
432
|
+
# Injection Service User Guide*.
|
409
433
|
#
|
410
434
|
#
|
411
435
|
#
|
@@ -513,6 +537,7 @@ module Aws::FIS
|
|
513
537
|
# @example Response structure
|
514
538
|
#
|
515
539
|
# resp.experiment_template.id #=> String
|
540
|
+
# resp.experiment_template.arn #=> String
|
516
541
|
# resp.experiment_template.description #=> String
|
517
542
|
# resp.experiment_template.targets #=> Hash
|
518
543
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].resource_type #=> String
|
@@ -564,7 +589,7 @@ module Aws::FIS
|
|
564
589
|
# Creates a target account configuration for the experiment template. A
|
565
590
|
# target account configuration is required when `accountTargeting` of
|
566
591
|
# `experimentOptions` is set to `multi-account`. For more information,
|
567
|
-
# see [experiment options][1] in the *Fault Injection
|
592
|
+
# see [experiment options][1] in the *Fault Injection Service User
|
568
593
|
# Guide*.
|
569
594
|
#
|
570
595
|
#
|
@@ -582,7 +607,7 @@ module Aws::FIS
|
|
582
607
|
# The experiment template ID.
|
583
608
|
#
|
584
609
|
# @option params [required, String] :account_id
|
585
|
-
# The
|
610
|
+
# The Amazon Web Services account ID of the target account.
|
586
611
|
#
|
587
612
|
# @option params [required, String] :role_arn
|
588
613
|
# The Amazon Resource Name (ARN) of an IAM role for the target account.
|
@@ -637,6 +662,7 @@ module Aws::FIS
|
|
637
662
|
# @example Response structure
|
638
663
|
#
|
639
664
|
# resp.experiment_template.id #=> String
|
665
|
+
# resp.experiment_template.arn #=> String
|
640
666
|
# resp.experiment_template.description #=> String
|
641
667
|
# resp.experiment_template.targets #=> Hash
|
642
668
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].resource_type #=> String
|
@@ -692,7 +718,7 @@ module Aws::FIS
|
|
692
718
|
# The ID of the experiment template.
|
693
719
|
#
|
694
720
|
# @option params [required, String] :account_id
|
695
|
-
# The
|
721
|
+
# The Amazon Web Services account ID of the target account.
|
696
722
|
#
|
697
723
|
# @return [Types::DeleteTargetAccountConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
698
724
|
#
|
@@ -738,6 +764,7 @@ module Aws::FIS
|
|
738
764
|
# @example Response structure
|
739
765
|
#
|
740
766
|
# resp.action.id #=> String
|
767
|
+
# resp.action.arn #=> String
|
741
768
|
# resp.action.description #=> String
|
742
769
|
# resp.action.parameters #=> Hash
|
743
770
|
# resp.action.parameters["ActionParameterName"].description #=> String
|
@@ -774,6 +801,7 @@ module Aws::FIS
|
|
774
801
|
# @example Response structure
|
775
802
|
#
|
776
803
|
# resp.experiment.id #=> String
|
804
|
+
# resp.experiment.arn #=> String
|
777
805
|
# resp.experiment.experiment_template_id #=> String
|
778
806
|
# resp.experiment.role_arn #=> String
|
779
807
|
# resp.experiment.state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed"
|
@@ -818,6 +846,7 @@ module Aws::FIS
|
|
818
846
|
# resp.experiment.log_configuration.log_schema_version #=> Integer
|
819
847
|
# resp.experiment.experiment_options.account_targeting #=> String, one of "single-account", "multi-account"
|
820
848
|
# resp.experiment.experiment_options.empty_target_resolution_mode #=> String, one of "fail", "skip"
|
849
|
+
# resp.experiment.experiment_options.actions_mode #=> String, one of "skip-all", "run-all"
|
821
850
|
# resp.experiment.target_account_configurations_count #=> Integer
|
822
851
|
#
|
823
852
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetExperiment AWS API Documentation
|
@@ -836,7 +865,7 @@ module Aws::FIS
|
|
836
865
|
# The ID of the experiment.
|
837
866
|
#
|
838
867
|
# @option params [required, String] :account_id
|
839
|
-
# The
|
868
|
+
# The Amazon Web Services account ID of the target account.
|
840
869
|
#
|
841
870
|
# @return [Types::GetExperimentTargetAccountConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
842
871
|
#
|
@@ -882,6 +911,7 @@ module Aws::FIS
|
|
882
911
|
# @example Response structure
|
883
912
|
#
|
884
913
|
# resp.experiment_template.id #=> String
|
914
|
+
# resp.experiment_template.arn #=> String
|
885
915
|
# resp.experiment_template.description #=> String
|
886
916
|
# resp.experiment_template.targets #=> Hash
|
887
917
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].resource_type #=> String
|
@@ -937,7 +967,7 @@ module Aws::FIS
|
|
937
967
|
# The ID of the experiment template.
|
938
968
|
#
|
939
969
|
# @option params [required, String] :account_id
|
940
|
-
# The
|
970
|
+
# The Amazon Web Services account ID of the target account.
|
941
971
|
#
|
942
972
|
# @return [Types::GetTargetAccountConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
943
973
|
#
|
@@ -1025,6 +1055,7 @@ module Aws::FIS
|
|
1025
1055
|
#
|
1026
1056
|
# resp.actions #=> Array
|
1027
1057
|
# resp.actions[0].id #=> String
|
1058
|
+
# resp.actions[0].arn #=> String
|
1028
1059
|
# resp.actions[0].description #=> String
|
1029
1060
|
# resp.actions[0].targets #=> Hash
|
1030
1061
|
# resp.actions[0].targets["ActionTargetName"].resource_type #=> String
|
@@ -1156,6 +1187,7 @@ module Aws::FIS
|
|
1156
1187
|
#
|
1157
1188
|
# resp.experiment_templates #=> Array
|
1158
1189
|
# resp.experiment_templates[0].id #=> String
|
1190
|
+
# resp.experiment_templates[0].arn #=> String
|
1159
1191
|
# resp.experiment_templates[0].description #=> String
|
1160
1192
|
# resp.experiment_templates[0].creation_time #=> Time
|
1161
1193
|
# resp.experiment_templates[0].last_update_time #=> Time
|
@@ -1182,6 +1214,9 @@ module Aws::FIS
|
|
1182
1214
|
# @option params [String] :next_token
|
1183
1215
|
# The token for the next page of results.
|
1184
1216
|
#
|
1217
|
+
# @option params [String] :experiment_template_id
|
1218
|
+
# The ID of the experiment template.
|
1219
|
+
#
|
1185
1220
|
# @return [Types::ListExperimentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1186
1221
|
#
|
1187
1222
|
# * {Types::ListExperimentsResponse#experiments #experiments} => Array<Types::ExperimentSummary>
|
@@ -1194,18 +1229,23 @@ module Aws::FIS
|
|
1194
1229
|
# resp = client.list_experiments({
|
1195
1230
|
# max_results: 1,
|
1196
1231
|
# next_token: "NextToken",
|
1232
|
+
# experiment_template_id: "ExperimentTemplateId",
|
1197
1233
|
# })
|
1198
1234
|
#
|
1199
1235
|
# @example Response structure
|
1200
1236
|
#
|
1201
1237
|
# resp.experiments #=> Array
|
1202
1238
|
# resp.experiments[0].id #=> String
|
1239
|
+
# resp.experiments[0].arn #=> String
|
1203
1240
|
# resp.experiments[0].experiment_template_id #=> String
|
1204
1241
|
# resp.experiments[0].state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed"
|
1205
1242
|
# resp.experiments[0].state.reason #=> String
|
1206
1243
|
# resp.experiments[0].creation_time #=> Time
|
1207
1244
|
# resp.experiments[0].tags #=> Hash
|
1208
1245
|
# resp.experiments[0].tags["TagKey"] #=> String
|
1246
|
+
# resp.experiments[0].experiment_options.account_targeting #=> String, one of "single-account", "multi-account"
|
1247
|
+
# resp.experiments[0].experiment_options.empty_target_resolution_mode #=> String, one of "fail", "skip"
|
1248
|
+
# resp.experiments[0].experiment_options.actions_mode #=> String, one of "skip-all", "run-all"
|
1209
1249
|
# resp.next_token #=> String
|
1210
1250
|
#
|
1211
1251
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListExperiments AWS API Documentation
|
@@ -1344,6 +1384,9 @@ module Aws::FIS
|
|
1344
1384
|
# @option params [required, String] :experiment_template_id
|
1345
1385
|
# The ID of the experiment template.
|
1346
1386
|
#
|
1387
|
+
# @option params [Types::StartExperimentExperimentOptionsInput] :experiment_options
|
1388
|
+
# The experiment options for running the experiment.
|
1389
|
+
#
|
1347
1390
|
# @option params [Hash<String,String>] :tags
|
1348
1391
|
# The tags to apply to the experiment.
|
1349
1392
|
#
|
@@ -1356,6 +1399,9 @@ module Aws::FIS
|
|
1356
1399
|
# resp = client.start_experiment({
|
1357
1400
|
# client_token: "ClientToken", # required
|
1358
1401
|
# experiment_template_id: "ExperimentTemplateId", # required
|
1402
|
+
# experiment_options: {
|
1403
|
+
# actions_mode: "skip-all", # accepts skip-all, run-all
|
1404
|
+
# },
|
1359
1405
|
# tags: {
|
1360
1406
|
# "TagKey" => "TagValue",
|
1361
1407
|
# },
|
@@ -1364,6 +1410,7 @@ module Aws::FIS
|
|
1364
1410
|
# @example Response structure
|
1365
1411
|
#
|
1366
1412
|
# resp.experiment.id #=> String
|
1413
|
+
# resp.experiment.arn #=> String
|
1367
1414
|
# resp.experiment.experiment_template_id #=> String
|
1368
1415
|
# resp.experiment.role_arn #=> String
|
1369
1416
|
# resp.experiment.state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed"
|
@@ -1408,6 +1455,7 @@ module Aws::FIS
|
|
1408
1455
|
# resp.experiment.log_configuration.log_schema_version #=> Integer
|
1409
1456
|
# resp.experiment.experiment_options.account_targeting #=> String, one of "single-account", "multi-account"
|
1410
1457
|
# resp.experiment.experiment_options.empty_target_resolution_mode #=> String, one of "fail", "skip"
|
1458
|
+
# resp.experiment.experiment_options.actions_mode #=> String, one of "skip-all", "run-all"
|
1411
1459
|
# resp.experiment.target_account_configurations_count #=> Integer
|
1412
1460
|
#
|
1413
1461
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/StartExperiment AWS API Documentation
|
@@ -1437,6 +1485,7 @@ module Aws::FIS
|
|
1437
1485
|
# @example Response structure
|
1438
1486
|
#
|
1439
1487
|
# resp.experiment.id #=> String
|
1488
|
+
# resp.experiment.arn #=> String
|
1440
1489
|
# resp.experiment.experiment_template_id #=> String
|
1441
1490
|
# resp.experiment.role_arn #=> String
|
1442
1491
|
# resp.experiment.state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed"
|
@@ -1481,6 +1530,7 @@ module Aws::FIS
|
|
1481
1530
|
# resp.experiment.log_configuration.log_schema_version #=> Integer
|
1482
1531
|
# resp.experiment.experiment_options.account_targeting #=> String, one of "single-account", "multi-account"
|
1483
1532
|
# resp.experiment.experiment_options.empty_target_resolution_mode #=> String, one of "fail", "skip"
|
1533
|
+
# resp.experiment.experiment_options.actions_mode #=> String, one of "skip-all", "run-all"
|
1484
1534
|
# resp.experiment.target_account_configurations_count #=> Integer
|
1485
1535
|
#
|
1486
1536
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/StopExperiment AWS API Documentation
|
@@ -1639,6 +1689,7 @@ module Aws::FIS
|
|
1639
1689
|
# @example Response structure
|
1640
1690
|
#
|
1641
1691
|
# resp.experiment_template.id #=> String
|
1692
|
+
# resp.experiment_template.arn #=> String
|
1642
1693
|
# resp.experiment_template.description #=> String
|
1643
1694
|
# resp.experiment_template.targets #=> Hash
|
1644
1695
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].resource_type #=> String
|
@@ -1694,7 +1745,7 @@ module Aws::FIS
|
|
1694
1745
|
# The ID of the experiment template.
|
1695
1746
|
#
|
1696
1747
|
# @option params [required, String] :account_id
|
1697
|
-
# The
|
1748
|
+
# The Amazon Web Services account ID of the target account.
|
1698
1749
|
#
|
1699
1750
|
# @option params [String] :role_arn
|
1700
1751
|
# The Amazon Resource Name (ARN) of an IAM role for the target account.
|
@@ -1743,7 +1794,7 @@ module Aws::FIS
|
|
1743
1794
|
params: params,
|
1744
1795
|
config: config)
|
1745
1796
|
context[:gem_name] = 'aws-sdk-fis'
|
1746
|
-
context[:gem_version] = '1.
|
1797
|
+
context[:gem_version] = '1.28.0'
|
1747
1798
|
Seahorse::Client::Request.new(handlers, context)
|
1748
1799
|
end
|
1749
1800
|
|
@@ -27,6 +27,7 @@ module Aws::FIS
|
|
27
27
|
ActionTarget = Shapes::StructureShape.new(name: 'ActionTarget')
|
28
28
|
ActionTargetMap = Shapes::MapShape.new(name: 'ActionTargetMap')
|
29
29
|
ActionTargetName = Shapes::StringShape.new(name: 'ActionTargetName')
|
30
|
+
ActionsMode = Shapes::StringShape.new(name: 'ActionsMode')
|
30
31
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
31
32
|
CloudWatchLogGroupArn = Shapes::StringShape.new(name: 'CloudWatchLogGroupArn')
|
32
33
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
@@ -179,6 +180,7 @@ module Aws::FIS
|
|
179
180
|
S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
|
180
181
|
S3ObjectKey = Shapes::StringShape.new(name: 'S3ObjectKey')
|
181
182
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
183
|
+
StartExperimentExperimentOptionsInput = Shapes::StructureShape.new(name: 'StartExperimentExperimentOptionsInput')
|
182
184
|
StartExperimentRequest = Shapes::StructureShape.new(name: 'StartExperimentRequest')
|
183
185
|
StartExperimentResponse = Shapes::StructureShape.new(name: 'StartExperimentResponse')
|
184
186
|
StopConditionSource = Shapes::StringShape.new(name: 'StopConditionSource')
|
@@ -228,6 +230,7 @@ module Aws::FIS
|
|
228
230
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
229
231
|
|
230
232
|
Action.add_member(:id, Shapes::ShapeRef.new(shape: ActionId, location_name: "id"))
|
233
|
+
Action.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "arn"))
|
231
234
|
Action.add_member(:description, Shapes::ShapeRef.new(shape: ActionDescription, location_name: "description"))
|
232
235
|
Action.add_member(:parameters, Shapes::ShapeRef.new(shape: ActionParameterMap, location_name: "parameters"))
|
233
236
|
Action.add_member(:targets, Shapes::ShapeRef.new(shape: ActionTargetMap, location_name: "targets"))
|
@@ -242,6 +245,7 @@ module Aws::FIS
|
|
242
245
|
ActionParameterMap.value = Shapes::ShapeRef.new(shape: ActionParameter)
|
243
246
|
|
244
247
|
ActionSummary.add_member(:id, Shapes::ShapeRef.new(shape: ActionId, location_name: "id"))
|
248
|
+
ActionSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "arn"))
|
245
249
|
ActionSummary.add_member(:description, Shapes::ShapeRef.new(shape: ActionDescription, location_name: "description"))
|
246
250
|
ActionSummary.add_member(:targets, Shapes::ShapeRef.new(shape: ActionTargetMap, location_name: "targets"))
|
247
251
|
ActionSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
@@ -332,6 +336,7 @@ module Aws::FIS
|
|
332
336
|
DeleteTargetAccountConfigurationResponse.struct_class = Types::DeleteTargetAccountConfigurationResponse
|
333
337
|
|
334
338
|
Experiment.add_member(:id, Shapes::ShapeRef.new(shape: ExperimentId, location_name: "id"))
|
339
|
+
Experiment.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "arn"))
|
335
340
|
Experiment.add_member(:experiment_template_id, Shapes::ShapeRef.new(shape: ExperimentTemplateId, location_name: "experimentTemplateId"))
|
336
341
|
Experiment.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
337
342
|
Experiment.add_member(:state, Shapes::ShapeRef.new(shape: ExperimentState, location_name: "state"))
|
@@ -382,6 +387,7 @@ module Aws::FIS
|
|
382
387
|
|
383
388
|
ExperimentOptions.add_member(:account_targeting, Shapes::ShapeRef.new(shape: AccountTargeting, location_name: "accountTargeting"))
|
384
389
|
ExperimentOptions.add_member(:empty_target_resolution_mode, Shapes::ShapeRef.new(shape: EmptyTargetResolutionMode, location_name: "emptyTargetResolutionMode"))
|
390
|
+
ExperimentOptions.add_member(:actions_mode, Shapes::ShapeRef.new(shape: ActionsMode, location_name: "actionsMode"))
|
385
391
|
ExperimentOptions.struct_class = Types::ExperimentOptions
|
386
392
|
|
387
393
|
ExperimentS3LogConfiguration.add_member(:bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, location_name: "bucketName"))
|
@@ -399,10 +405,12 @@ module Aws::FIS
|
|
399
405
|
ExperimentStopConditionList.member = Shapes::ShapeRef.new(shape: ExperimentStopCondition)
|
400
406
|
|
401
407
|
ExperimentSummary.add_member(:id, Shapes::ShapeRef.new(shape: ExperimentId, location_name: "id"))
|
408
|
+
ExperimentSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "arn"))
|
402
409
|
ExperimentSummary.add_member(:experiment_template_id, Shapes::ShapeRef.new(shape: ExperimentTemplateId, location_name: "experimentTemplateId"))
|
403
410
|
ExperimentSummary.add_member(:state, Shapes::ShapeRef.new(shape: ExperimentState, location_name: "state"))
|
404
411
|
ExperimentSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: CreationTime, location_name: "creationTime"))
|
405
412
|
ExperimentSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
413
|
+
ExperimentSummary.add_member(:experiment_options, Shapes::ShapeRef.new(shape: ExperimentOptions, location_name: "experimentOptions"))
|
406
414
|
ExperimentSummary.struct_class = Types::ExperimentSummary
|
407
415
|
|
408
416
|
ExperimentSummaryList.member = Shapes::ShapeRef.new(shape: ExperimentSummary)
|
@@ -442,6 +450,7 @@ module Aws::FIS
|
|
442
450
|
ExperimentTargetParameterMap.value = Shapes::ShapeRef.new(shape: ExperimentTargetParameterValue)
|
443
451
|
|
444
452
|
ExperimentTemplate.add_member(:id, Shapes::ShapeRef.new(shape: ExperimentTemplateId, location_name: "id"))
|
453
|
+
ExperimentTemplate.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "arn"))
|
445
454
|
ExperimentTemplate.add_member(:description, Shapes::ShapeRef.new(shape: ExperimentTemplateDescription, location_name: "description"))
|
446
455
|
ExperimentTemplate.add_member(:targets, Shapes::ShapeRef.new(shape: ExperimentTemplateTargetMap, location_name: "targets"))
|
447
456
|
ExperimentTemplate.add_member(:actions, Shapes::ShapeRef.new(shape: ExperimentTemplateActionMap, location_name: "actions"))
|
@@ -503,6 +512,7 @@ module Aws::FIS
|
|
503
512
|
ExperimentTemplateStopConditionList.member = Shapes::ShapeRef.new(shape: ExperimentTemplateStopCondition)
|
504
513
|
|
505
514
|
ExperimentTemplateSummary.add_member(:id, Shapes::ShapeRef.new(shape: ExperimentTemplateId, location_name: "id"))
|
515
|
+
ExperimentTemplateSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "arn"))
|
506
516
|
ExperimentTemplateSummary.add_member(:description, Shapes::ShapeRef.new(shape: ExperimentTemplateDescription, location_name: "description"))
|
507
517
|
ExperimentTemplateSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: CreationTime, location_name: "creationTime"))
|
508
518
|
ExperimentTemplateSummary.add_member(:last_update_time, Shapes::ShapeRef.new(shape: LastUpdateTime, location_name: "lastUpdateTime"))
|
@@ -613,6 +623,7 @@ module Aws::FIS
|
|
613
623
|
|
614
624
|
ListExperimentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListExperimentsMaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
|
615
625
|
ListExperimentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
626
|
+
ListExperimentsRequest.add_member(:experiment_template_id, Shapes::ShapeRef.new(shape: ExperimentTemplateId, location: "querystring", location_name: "experimentTemplateId"))
|
616
627
|
ListExperimentsRequest.struct_class = Types::ListExperimentsRequest
|
617
628
|
|
618
629
|
ListExperimentsResponse.add_member(:experiments, Shapes::ShapeRef.new(shape: ExperimentSummaryList, location_name: "experiments"))
|
@@ -657,8 +668,12 @@ module Aws::FIS
|
|
657
668
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
658
669
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
659
670
|
|
671
|
+
StartExperimentExperimentOptionsInput.add_member(:actions_mode, Shapes::ShapeRef.new(shape: ActionsMode, location_name: "actionsMode"))
|
672
|
+
StartExperimentExperimentOptionsInput.struct_class = Types::StartExperimentExperimentOptionsInput
|
673
|
+
|
660
674
|
StartExperimentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
661
675
|
StartExperimentRequest.add_member(:experiment_template_id, Shapes::ShapeRef.new(shape: ExperimentTemplateId, required: true, location_name: "experimentTemplateId"))
|
676
|
+
StartExperimentRequest.add_member(:experiment_options, Shapes::ShapeRef.new(shape: StartExperimentExperimentOptionsInput, location_name: "experimentOptions"))
|
662
677
|
StartExperimentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
663
678
|
StartExperimentRequest.struct_class = Types::StartExperimentRequest
|
664
679
|
|
data/lib/aws-sdk-fis/types.rb
CHANGED
@@ -11,7 +11,7 @@ module Aws::FIS
|
|
11
11
|
module Types
|
12
12
|
|
13
13
|
# Describes an action. For more information, see [FIS actions][1] in the
|
14
|
-
# *Fault Injection
|
14
|
+
# *Fault Injection Service User Guide*.
|
15
15
|
#
|
16
16
|
#
|
17
17
|
#
|
@@ -21,6 +21,10 @@ module Aws::FIS
|
|
21
21
|
# The ID of the action.
|
22
22
|
# @return [String]
|
23
23
|
#
|
24
|
+
# @!attribute [rw] arn
|
25
|
+
# The Amazon Resource Name (ARN) of the action.
|
26
|
+
# @return [String]
|
27
|
+
#
|
24
28
|
# @!attribute [rw] description
|
25
29
|
# The description for the action.
|
26
30
|
# @return [String]
|
@@ -41,6 +45,7 @@ module Aws::FIS
|
|
41
45
|
#
|
42
46
|
class Action < Struct.new(
|
43
47
|
:id,
|
48
|
+
:arn,
|
44
49
|
:description,
|
45
50
|
:parameters,
|
46
51
|
:targets,
|
@@ -74,6 +79,10 @@ module Aws::FIS
|
|
74
79
|
# The ID of the action.
|
75
80
|
# @return [String]
|
76
81
|
#
|
82
|
+
# @!attribute [rw] arn
|
83
|
+
# The Amazon Resource Name (ARN) of the action.
|
84
|
+
# @return [String]
|
85
|
+
#
|
77
86
|
# @!attribute [rw] description
|
78
87
|
# The description for the action.
|
79
88
|
# @return [String]
|
@@ -90,6 +99,7 @@ module Aws::FIS
|
|
90
99
|
#
|
91
100
|
class ActionSummary < Struct.new(
|
92
101
|
:id,
|
102
|
+
:arn,
|
93
103
|
:description,
|
94
104
|
:targets,
|
95
105
|
:tags)
|
@@ -126,8 +136,8 @@ module Aws::FIS
|
|
126
136
|
|
127
137
|
# Specifies an action for an experiment template.
|
128
138
|
#
|
129
|
-
# For more information, see [Actions][1] in the *Fault Injection
|
130
|
-
#
|
139
|
+
# For more information, see [Actions][1] in the *Fault Injection Service
|
140
|
+
# User Guide*.
|
131
141
|
#
|
132
142
|
#
|
133
143
|
#
|
@@ -306,8 +316,8 @@ module Aws::FIS
|
|
306
316
|
# Amazon Resource Name (ARN) or at least one resource tag. You cannot
|
307
317
|
# specify both ARNs and tags.
|
308
318
|
#
|
309
|
-
# For more information, see [Targets][1] in the *Fault Injection
|
310
|
-
#
|
319
|
+
# For more information, see [Targets][1] in the *Fault Injection Service
|
320
|
+
# User Guide*.
|
311
321
|
#
|
312
322
|
#
|
313
323
|
#
|
@@ -378,7 +388,7 @@ module Aws::FIS
|
|
378
388
|
# @return [String]
|
379
389
|
#
|
380
390
|
# @!attribute [rw] account_id
|
381
|
-
# The
|
391
|
+
# The Amazon Web Services account ID of the target account.
|
382
392
|
# @return [String]
|
383
393
|
#
|
384
394
|
# @!attribute [rw] role_arn
|
@@ -443,7 +453,7 @@ module Aws::FIS
|
|
443
453
|
# @return [String]
|
444
454
|
#
|
445
455
|
# @!attribute [rw] account_id
|
446
|
-
# The
|
456
|
+
# The Amazon Web Services account ID of the target account.
|
447
457
|
# @return [String]
|
448
458
|
#
|
449
459
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/DeleteTargetAccountConfigurationRequest AWS API Documentation
|
@@ -473,6 +483,10 @@ module Aws::FIS
|
|
473
483
|
# The ID of the experiment.
|
474
484
|
# @return [String]
|
475
485
|
#
|
486
|
+
# @!attribute [rw] arn
|
487
|
+
# The Amazon Resource Name (ARN) of the experiment.
|
488
|
+
# @return [String]
|
489
|
+
#
|
476
490
|
# @!attribute [rw] experiment_template_id
|
477
491
|
# The ID of the experiment template.
|
478
492
|
# @return [String]
|
@@ -530,6 +544,7 @@ module Aws::FIS
|
|
530
544
|
#
|
531
545
|
class Experiment < Struct.new(
|
532
546
|
:id,
|
547
|
+
:arn,
|
533
548
|
:experiment_template_id,
|
534
549
|
:role_arn,
|
535
550
|
:state,
|
@@ -666,11 +681,17 @@ module Aws::FIS
|
|
666
681
|
# The empty target resolution mode for an experiment.
|
667
682
|
# @return [String]
|
668
683
|
#
|
684
|
+
# @!attribute [rw] actions_mode
|
685
|
+
# The actions mode of the experiment that is set from the
|
686
|
+
# StartExperiment API command.
|
687
|
+
# @return [String]
|
688
|
+
#
|
669
689
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ExperimentOptions AWS API Documentation
|
670
690
|
#
|
671
691
|
class ExperimentOptions < Struct.new(
|
672
692
|
:account_targeting,
|
673
|
-
:empty_target_resolution_mode
|
693
|
+
:empty_target_resolution_mode,
|
694
|
+
:actions_mode)
|
674
695
|
SENSITIVE = []
|
675
696
|
include Aws::Structure
|
676
697
|
end
|
@@ -739,6 +760,10 @@ module Aws::FIS
|
|
739
760
|
# The ID of the experiment.
|
740
761
|
# @return [String]
|
741
762
|
#
|
763
|
+
# @!attribute [rw] arn
|
764
|
+
# The Amazon Resource Name (ARN) of the experiment.
|
765
|
+
# @return [String]
|
766
|
+
#
|
742
767
|
# @!attribute [rw] experiment_template_id
|
743
768
|
# The ID of the experiment template.
|
744
769
|
# @return [String]
|
@@ -755,14 +780,20 @@ module Aws::FIS
|
|
755
780
|
# The tags for the experiment.
|
756
781
|
# @return [Hash<String,String>]
|
757
782
|
#
|
783
|
+
# @!attribute [rw] experiment_options
|
784
|
+
# The experiment options for the experiment.
|
785
|
+
# @return [Types::ExperimentOptions]
|
786
|
+
#
|
758
787
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ExperimentSummary AWS API Documentation
|
759
788
|
#
|
760
789
|
class ExperimentSummary < Struct.new(
|
761
790
|
:id,
|
791
|
+
:arn,
|
762
792
|
:experiment_template_id,
|
763
793
|
:state,
|
764
794
|
:creation_time,
|
765
|
-
:tags
|
795
|
+
:tags,
|
796
|
+
:experiment_options)
|
766
797
|
SENSITIVE = []
|
767
798
|
include Aws::Structure
|
768
799
|
end
|
@@ -815,7 +846,7 @@ module Aws::FIS
|
|
815
846
|
# @return [String]
|
816
847
|
#
|
817
848
|
# @!attribute [rw] account_id
|
818
|
-
# The
|
849
|
+
# The Amazon Web Services account ID of the target account.
|
819
850
|
# @return [String]
|
820
851
|
#
|
821
852
|
# @!attribute [rw] description
|
@@ -840,7 +871,7 @@ module Aws::FIS
|
|
840
871
|
# @return [String]
|
841
872
|
#
|
842
873
|
# @!attribute [rw] account_id
|
843
|
-
# The
|
874
|
+
# The Amazon Web Services account ID of the target account.
|
844
875
|
# @return [String]
|
845
876
|
#
|
846
877
|
# @!attribute [rw] description
|
@@ -882,6 +913,10 @@ module Aws::FIS
|
|
882
913
|
# The ID of the experiment template.
|
883
914
|
# @return [String]
|
884
915
|
#
|
916
|
+
# @!attribute [rw] arn
|
917
|
+
# The Amazon Resource Name (ARN) of the experiment template.
|
918
|
+
# @return [String]
|
919
|
+
#
|
885
920
|
# @!attribute [rw] description
|
886
921
|
# The description for the experiment template.
|
887
922
|
# @return [String]
|
@@ -931,6 +966,7 @@ module Aws::FIS
|
|
931
966
|
#
|
932
967
|
class ExperimentTemplate < Struct.new(
|
933
968
|
:id,
|
969
|
+
:arn,
|
934
970
|
:description,
|
935
971
|
:targets,
|
936
972
|
:actions,
|
@@ -1120,6 +1156,10 @@ module Aws::FIS
|
|
1120
1156
|
# The ID of the experiment template.
|
1121
1157
|
# @return [String]
|
1122
1158
|
#
|
1159
|
+
# @!attribute [rw] arn
|
1160
|
+
# The Amazon Resource Name (ARN) of the experiment template.
|
1161
|
+
# @return [String]
|
1162
|
+
#
|
1123
1163
|
# @!attribute [rw] description
|
1124
1164
|
# The description of the experiment template.
|
1125
1165
|
# @return [String]
|
@@ -1140,6 +1180,7 @@ module Aws::FIS
|
|
1140
1180
|
#
|
1141
1181
|
class ExperimentTemplateSummary < Struct.new(
|
1142
1182
|
:id,
|
1183
|
+
:arn,
|
1143
1184
|
:description,
|
1144
1185
|
:creation_time,
|
1145
1186
|
:last_update_time,
|
@@ -1212,7 +1253,7 @@ module Aws::FIS
|
|
1212
1253
|
# template.
|
1213
1254
|
#
|
1214
1255
|
# For more information, see [Resource filters][1] in the *Fault
|
1215
|
-
# Injection
|
1256
|
+
# Injection Service User Guide*.
|
1216
1257
|
#
|
1217
1258
|
#
|
1218
1259
|
#
|
@@ -1288,7 +1329,7 @@ module Aws::FIS
|
|
1288
1329
|
# @return [String]
|
1289
1330
|
#
|
1290
1331
|
# @!attribute [rw] account_id
|
1291
|
-
# The
|
1332
|
+
# The Amazon Web Services account ID of the target account.
|
1292
1333
|
# @return [String]
|
1293
1334
|
#
|
1294
1335
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetExperimentTargetAccountConfigurationRequest AWS API Documentation
|
@@ -1341,7 +1382,7 @@ module Aws::FIS
|
|
1341
1382
|
# @return [String]
|
1342
1383
|
#
|
1343
1384
|
# @!attribute [rw] account_id
|
1344
|
-
# The
|
1385
|
+
# The Amazon Web Services account ID of the target account.
|
1345
1386
|
# @return [String]
|
1346
1387
|
#
|
1347
1388
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetTargetAccountConfigurationRequest AWS API Documentation
|
@@ -1555,11 +1596,16 @@ module Aws::FIS
|
|
1555
1596
|
# The token for the next page of results.
|
1556
1597
|
# @return [String]
|
1557
1598
|
#
|
1599
|
+
# @!attribute [rw] experiment_template_id
|
1600
|
+
# The ID of the experiment template.
|
1601
|
+
# @return [String]
|
1602
|
+
#
|
1558
1603
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListExperimentsRequest AWS API Documentation
|
1559
1604
|
#
|
1560
1605
|
class ListExperimentsRequest < Struct.new(
|
1561
1606
|
:max_results,
|
1562
|
-
:next_token
|
1607
|
+
:next_token,
|
1608
|
+
:experiment_template_id)
|
1563
1609
|
SENSITIVE = []
|
1564
1610
|
include Aws::Structure
|
1565
1611
|
end
|
@@ -1735,6 +1781,20 @@ module Aws::FIS
|
|
1735
1781
|
include Aws::Structure
|
1736
1782
|
end
|
1737
1783
|
|
1784
|
+
# Specifies experiment options for running an experiment.
|
1785
|
+
#
|
1786
|
+
# @!attribute [rw] actions_mode
|
1787
|
+
# Specifies the actions mode for experiment options.
|
1788
|
+
# @return [String]
|
1789
|
+
#
|
1790
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/StartExperimentExperimentOptionsInput AWS API Documentation
|
1791
|
+
#
|
1792
|
+
class StartExperimentExperimentOptionsInput < Struct.new(
|
1793
|
+
:actions_mode)
|
1794
|
+
SENSITIVE = []
|
1795
|
+
include Aws::Structure
|
1796
|
+
end
|
1797
|
+
|
1738
1798
|
# @!attribute [rw] client_token
|
1739
1799
|
# Unique, case-sensitive identifier that you provide to ensure the
|
1740
1800
|
# idempotency of the request.
|
@@ -1747,6 +1807,10 @@ module Aws::FIS
|
|
1747
1807
|
# The ID of the experiment template.
|
1748
1808
|
# @return [String]
|
1749
1809
|
#
|
1810
|
+
# @!attribute [rw] experiment_options
|
1811
|
+
# The experiment options for running the experiment.
|
1812
|
+
# @return [Types::StartExperimentExperimentOptionsInput]
|
1813
|
+
#
|
1750
1814
|
# @!attribute [rw] tags
|
1751
1815
|
# The tags to apply to the experiment.
|
1752
1816
|
# @return [Hash<String,String>]
|
@@ -1756,6 +1820,7 @@ module Aws::FIS
|
|
1756
1820
|
class StartExperimentRequest < Struct.new(
|
1757
1821
|
:client_token,
|
1758
1822
|
:experiment_template_id,
|
1823
|
+
:experiment_options,
|
1759
1824
|
:tags)
|
1760
1825
|
SENSITIVE = []
|
1761
1826
|
include Aws::Structure
|
@@ -1826,7 +1891,7 @@ module Aws::FIS
|
|
1826
1891
|
# @return [String]
|
1827
1892
|
#
|
1828
1893
|
# @!attribute [rw] account_id
|
1829
|
-
# The
|
1894
|
+
# The Amazon Web Services account ID of the target account.
|
1830
1895
|
# @return [String]
|
1831
1896
|
#
|
1832
1897
|
# @!attribute [rw] description
|
@@ -1851,7 +1916,7 @@ module Aws::FIS
|
|
1851
1916
|
# @return [String]
|
1852
1917
|
#
|
1853
1918
|
# @!attribute [rw] account_id
|
1854
|
-
# The
|
1919
|
+
# The Amazon Web Services account ID of the target account.
|
1855
1920
|
# @return [String]
|
1856
1921
|
#
|
1857
1922
|
# @!attribute [rw] description
|
@@ -2156,7 +2221,7 @@ module Aws::FIS
|
|
2156
2221
|
# @return [String]
|
2157
2222
|
#
|
2158
2223
|
# @!attribute [rw] account_id
|
2159
|
-
# The
|
2224
|
+
# The Amazon Web Services account ID of the target account.
|
2160
2225
|
# @return [String]
|
2161
2226
|
#
|
2162
2227
|
# @!attribute [rw] role_arn
|
data/lib/aws-sdk-fis.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -280,7 +280,8 @@ module Aws
|
|
280
280
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FIS/Client.html#list_experiments-instance_method
|
281
281
|
def list_experiments: (
|
282
282
|
?max_results: ::Integer,
|
283
|
-
?next_token: ::String
|
283
|
+
?next_token: ::String,
|
284
|
+
?experiment_template_id: ::String
|
284
285
|
) -> _ListExperimentsResponseSuccess
|
285
286
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListExperimentsResponseSuccess
|
286
287
|
|
@@ -327,6 +328,9 @@ module Aws
|
|
327
328
|
def start_experiment: (
|
328
329
|
client_token: ::String,
|
329
330
|
experiment_template_id: ::String,
|
331
|
+
?experiment_options: {
|
332
|
+
actions_mode: ("skip-all" | "run-all")?
|
333
|
+
},
|
330
334
|
?tags: Hash[::String, ::String]
|
331
335
|
) -> _StartExperimentResponseSuccess
|
332
336
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartExperimentResponseSuccess
|
data/sig/types.rbs
CHANGED
@@ -10,6 +10,7 @@ module Aws::FIS
|
|
10
10
|
|
11
11
|
class Action
|
12
12
|
attr_accessor id: ::String
|
13
|
+
attr_accessor arn: ::String
|
13
14
|
attr_accessor description: ::String
|
14
15
|
attr_accessor parameters: ::Hash[::String, Types::ActionParameter]
|
15
16
|
attr_accessor targets: ::Hash[::String, Types::ActionTarget]
|
@@ -25,6 +26,7 @@ module Aws::FIS
|
|
25
26
|
|
26
27
|
class ActionSummary
|
27
28
|
attr_accessor id: ::String
|
29
|
+
attr_accessor arn: ::String
|
28
30
|
attr_accessor description: ::String
|
29
31
|
attr_accessor targets: ::Hash[::String, Types::ActionTarget]
|
30
32
|
attr_accessor tags: ::Hash[::String, ::String]
|
@@ -134,6 +136,7 @@ module Aws::FIS
|
|
134
136
|
|
135
137
|
class Experiment
|
136
138
|
attr_accessor id: ::String
|
139
|
+
attr_accessor arn: ::String
|
137
140
|
attr_accessor experiment_template_id: ::String
|
138
141
|
attr_accessor role_arn: ::String
|
139
142
|
attr_accessor state: Types::ExperimentState
|
@@ -183,6 +186,7 @@ module Aws::FIS
|
|
183
186
|
class ExperimentOptions
|
184
187
|
attr_accessor account_targeting: ("single-account" | "multi-account")
|
185
188
|
attr_accessor empty_target_resolution_mode: ("fail" | "skip")
|
189
|
+
attr_accessor actions_mode: ("skip-all" | "run-all")
|
186
190
|
SENSITIVE: []
|
187
191
|
end
|
188
192
|
|
@@ -206,10 +210,12 @@ module Aws::FIS
|
|
206
210
|
|
207
211
|
class ExperimentSummary
|
208
212
|
attr_accessor id: ::String
|
213
|
+
attr_accessor arn: ::String
|
209
214
|
attr_accessor experiment_template_id: ::String
|
210
215
|
attr_accessor state: Types::ExperimentState
|
211
216
|
attr_accessor creation_time: ::Time
|
212
217
|
attr_accessor tags: ::Hash[::String, ::String]
|
218
|
+
attr_accessor experiment_options: Types::ExperimentOptions
|
213
219
|
SENSITIVE: []
|
214
220
|
end
|
215
221
|
|
@@ -245,6 +251,7 @@ module Aws::FIS
|
|
245
251
|
|
246
252
|
class ExperimentTemplate
|
247
253
|
attr_accessor id: ::String
|
254
|
+
attr_accessor arn: ::String
|
248
255
|
attr_accessor description: ::String
|
249
256
|
attr_accessor targets: ::Hash[::String, Types::ExperimentTemplateTarget]
|
250
257
|
attr_accessor actions: ::Hash[::String, Types::ExperimentTemplateAction]
|
@@ -311,6 +318,7 @@ module Aws::FIS
|
|
311
318
|
|
312
319
|
class ExperimentTemplateSummary
|
313
320
|
attr_accessor id: ::String
|
321
|
+
attr_accessor arn: ::String
|
314
322
|
attr_accessor description: ::String
|
315
323
|
attr_accessor creation_time: ::Time
|
316
324
|
attr_accessor last_update_time: ::Time
|
@@ -455,6 +463,7 @@ module Aws::FIS
|
|
455
463
|
class ListExperimentsRequest
|
456
464
|
attr_accessor max_results: ::Integer
|
457
465
|
attr_accessor next_token: ::String
|
466
|
+
attr_accessor experiment_template_id: ::String
|
458
467
|
SENSITIVE: []
|
459
468
|
end
|
460
469
|
|
@@ -516,9 +525,15 @@ module Aws::FIS
|
|
516
525
|
SENSITIVE: []
|
517
526
|
end
|
518
527
|
|
528
|
+
class StartExperimentExperimentOptionsInput
|
529
|
+
attr_accessor actions_mode: ("skip-all" | "run-all")
|
530
|
+
SENSITIVE: []
|
531
|
+
end
|
532
|
+
|
519
533
|
class StartExperimentRequest
|
520
534
|
attr_accessor client_token: ::String
|
521
535
|
attr_accessor experiment_template_id: ::String
|
536
|
+
attr_accessor experiment_options: Types::StartExperimentExperimentOptionsInput
|
522
537
|
attr_accessor tags: ::Hash[::String, ::String]
|
523
538
|
SENSITIVE: []
|
524
539
|
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.28.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: 2024-
|
11
|
+
date: 2024-04-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.193.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.193.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|