aws-sdk-fis 1.7.0 → 1.11.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-fis/client.rb +125 -17
- data/lib/aws-sdk-fis/client_api.rb +97 -7
- data/lib/aws-sdk-fis/types.rb +227 -25
- data/lib/aws-sdk-fis.rb +1 -1
- 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: 62faea47cb695907abe2554a58c0df72314b98c92f601af3a503ef53248b189f
|
4
|
+
data.tar.gz: 2649d2e9df09cceacfd5ce8d8a7412fe46d42e43f3cc6cca910eb340d4751512
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0bece9276ddc50e1b7765f54b8490a8ff2d706f406e2acd2c164f321da1e409c59dc1559b715517f98d22a54ba8b6d6db73753b52e4ee3144b38cc096e989b8
|
7
|
+
data.tar.gz: bf286cddde3a89f16fc89c0588fd9a83e9f97eb5a00856b8bd633911f3c608a27c2f9480c55408f9437de8ca6ff5054400801dcc222865b4ff6580899f456dee
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.11.0 (2022-02-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.10.0 (2022-02-02)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added GetTargetResourceType and ListTargetResourceTypesAPI actions. These actions return additional details about resource types and parameters that can be targeted by FIS actions. Added a parameters field for the targets that can be specified in experiment templates.
|
13
|
+
|
14
|
+
1.9.0 (2022-01-20)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Added action startTime and action endTime timestamp fields to the ExperimentAction object
|
18
|
+
|
19
|
+
1.8.0 (2021-12-21)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.7.0 (2021-11-30)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.11.0
|
data/lib/aws-sdk-fis/client.rb
CHANGED
@@ -27,6 +27,8 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
30
32
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
33
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
34
|
|
@@ -73,6 +75,8 @@ module Aws::FIS
|
|
73
75
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
76
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
77
|
add_plugin(Aws::Plugins::HttpChecksum)
|
78
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
79
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
76
80
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
81
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
78
82
|
|
@@ -175,6 +179,10 @@ module Aws::FIS
|
|
175
179
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
176
180
|
# a clock skew correction and retry requests with skewed client clocks.
|
177
181
|
#
|
182
|
+
# @option options [String] :defaults_mode ("legacy")
|
183
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
184
|
+
# accepted modes and the configuration defaults that are included.
|
185
|
+
#
|
178
186
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
179
187
|
# Set to true to disable SDK automatically adding host prefix
|
180
188
|
# to default service endpoint when available.
|
@@ -297,7 +305,7 @@ module Aws::FIS
|
|
297
305
|
# seconds to wait when opening a HTTP session before raising a
|
298
306
|
# `Timeout::Error`.
|
299
307
|
#
|
300
|
-
# @option options [
|
308
|
+
# @option options [Float] :http_read_timeout (60) The default
|
301
309
|
# number of seconds to wait for response data. This value can
|
302
310
|
# safely be set per-request on the session.
|
303
311
|
#
|
@@ -313,6 +321,9 @@ module Aws::FIS
|
|
313
321
|
# disables this behaviour. This value can safely be set per
|
314
322
|
# request on the session.
|
315
323
|
#
|
324
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
325
|
+
# in seconds.
|
326
|
+
#
|
316
327
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
317
328
|
# HTTP debug output will be sent to the `:logger`.
|
318
329
|
#
|
@@ -340,11 +351,11 @@ module Aws::FIS
|
|
340
351
|
|
341
352
|
# Creates an experiment template.
|
342
353
|
#
|
343
|
-
#
|
354
|
+
# An experiment template includes the following components:
|
344
355
|
#
|
345
|
-
# * **Targets**\: A target can be a specific resource in your
|
346
|
-
# environment, or one or more resources that match criteria
|
347
|
-
# specify, for example, resources that have specific tags.
|
356
|
+
# * **Targets**\: A target can be a specific resource in your Amazon Web
|
357
|
+
# Services environment, or one or more resources that match criteria
|
358
|
+
# that you specify, for example, resources that have specific tags.
|
348
359
|
#
|
349
360
|
# * **Actions**\: The actions to carry out on the target. You can
|
350
361
|
# specify multiple actions, the duration of each action, and when to
|
@@ -354,12 +365,12 @@ module Aws::FIS
|
|
354
365
|
# experiment is running, the experiment is automatically stopped. You
|
355
366
|
# can define a stop condition as a CloudWatch alarm.
|
356
367
|
#
|
357
|
-
# For more information, see
|
358
|
-
# Guide
|
368
|
+
# For more information, see [Experiment templates][1] in the *Fault
|
369
|
+
# Injection Simulator User Guide*.
|
359
370
|
#
|
360
371
|
#
|
361
372
|
#
|
362
|
-
# [1]: https://docs.aws.amazon.com/fis/latest/userguide/
|
373
|
+
# [1]: https://docs.aws.amazon.com/fis/latest/userguide/experiment-templates.html
|
363
374
|
#
|
364
375
|
# @option params [required, String] :client_token
|
365
376
|
# Unique, case-sensitive identifier that you provide to ensure the
|
@@ -369,8 +380,7 @@ module Aws::FIS
|
|
369
380
|
# not need to pass this option.**
|
370
381
|
#
|
371
382
|
# @option params [required, String] :description
|
372
|
-
# A description for the experiment template.
|
373
|
-
# letters (A-Z and a-z).
|
383
|
+
# A description for the experiment template.
|
374
384
|
#
|
375
385
|
# @option params [required, Array<Types::CreateExperimentTemplateStopConditionInput>] :stop_conditions
|
376
386
|
# The stop conditions.
|
@@ -382,7 +392,7 @@ module Aws::FIS
|
|
382
392
|
# The actions for the experiment.
|
383
393
|
#
|
384
394
|
# @option params [required, String] :role_arn
|
385
|
-
# The Amazon Resource Name (ARN) of an IAM role that grants the
|
395
|
+
# The Amazon Resource Name (ARN) of an IAM role that grants the FIS
|
386
396
|
# service permission to perform service actions on your behalf.
|
387
397
|
#
|
388
398
|
# @option params [Hash<String,String>] :tags
|
@@ -405,7 +415,7 @@ module Aws::FIS
|
|
405
415
|
# ],
|
406
416
|
# targets: {
|
407
417
|
# "ExperimentTemplateTargetName" => {
|
408
|
-
# resource_type: "
|
418
|
+
# resource_type: "TargetResourceTypeId", # required
|
409
419
|
# resource_arns: ["ResourceArn"],
|
410
420
|
# resource_tags: {
|
411
421
|
# "TagKey" => "TagValue",
|
@@ -417,6 +427,9 @@ module Aws::FIS
|
|
417
427
|
# },
|
418
428
|
# ],
|
419
429
|
# selection_mode: "ExperimentTemplateTargetSelectionMode", # required
|
430
|
+
# parameters: {
|
431
|
+
# "ExperimentTemplateTargetParameterName" => "ExperimentTemplateTargetParameterValue",
|
432
|
+
# },
|
420
433
|
# },
|
421
434
|
# },
|
422
435
|
# actions: { # required
|
@@ -453,6 +466,8 @@ module Aws::FIS
|
|
453
466
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values #=> Array
|
454
467
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values[0] #=> String
|
455
468
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].selection_mode #=> String
|
469
|
+
# resp.experiment_template.targets["ExperimentTemplateTargetName"].parameters #=> Hash
|
470
|
+
# resp.experiment_template.targets["ExperimentTemplateTargetName"].parameters["ExperimentTemplateTargetParameterName"] #=> String
|
456
471
|
# resp.experiment_template.actions #=> Hash
|
457
472
|
# resp.experiment_template.actions["ExperimentTemplateActionName"].action_id #=> String
|
458
473
|
# resp.experiment_template.actions["ExperimentTemplateActionName"].description #=> String
|
@@ -510,6 +525,8 @@ module Aws::FIS
|
|
510
525
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values #=> Array
|
511
526
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values[0] #=> String
|
512
527
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].selection_mode #=> String
|
528
|
+
# resp.experiment_template.targets["ExperimentTemplateTargetName"].parameters #=> Hash
|
529
|
+
# resp.experiment_template.targets["ExperimentTemplateTargetName"].parameters["ExperimentTemplateTargetParameterName"] #=> String
|
513
530
|
# resp.experiment_template.actions #=> Hash
|
514
531
|
# resp.experiment_template.actions["ExperimentTemplateActionName"].action_id #=> String
|
515
532
|
# resp.experiment_template.actions["ExperimentTemplateActionName"].description #=> String
|
@@ -537,7 +554,7 @@ module Aws::FIS
|
|
537
554
|
req.send_request(options)
|
538
555
|
end
|
539
556
|
|
540
|
-
# Gets information about the specified
|
557
|
+
# Gets information about the specified FIS action.
|
541
558
|
#
|
542
559
|
# @option params [required, String] :id
|
543
560
|
# The ID of the action.
|
@@ -606,6 +623,8 @@ module Aws::FIS
|
|
606
623
|
# resp.experiment.targets["ExperimentTargetName"].filters[0].values #=> Array
|
607
624
|
# resp.experiment.targets["ExperimentTargetName"].filters[0].values[0] #=> String
|
608
625
|
# resp.experiment.targets["ExperimentTargetName"].selection_mode #=> String
|
626
|
+
# resp.experiment.targets["ExperimentTargetName"].parameters #=> Hash
|
627
|
+
# resp.experiment.targets["ExperimentTargetName"].parameters["ExperimentTargetParameterName"] #=> String
|
609
628
|
# resp.experiment.actions #=> Hash
|
610
629
|
# resp.experiment.actions["ExperimentActionName"].action_id #=> String
|
611
630
|
# resp.experiment.actions["ExperimentActionName"].description #=> String
|
@@ -617,6 +636,8 @@ module Aws::FIS
|
|
617
636
|
# resp.experiment.actions["ExperimentActionName"].start_after[0] #=> String
|
618
637
|
# resp.experiment.actions["ExperimentActionName"].state.status #=> String, one of "pending", "initiating", "running", "completed", "cancelled", "stopping", "stopped", "failed"
|
619
638
|
# resp.experiment.actions["ExperimentActionName"].state.reason #=> String
|
639
|
+
# resp.experiment.actions["ExperimentActionName"].start_time #=> Time
|
640
|
+
# resp.experiment.actions["ExperimentActionName"].end_time #=> Time
|
620
641
|
# resp.experiment.stop_conditions #=> Array
|
621
642
|
# resp.experiment.stop_conditions[0].source #=> String
|
622
643
|
# resp.experiment.stop_conditions[0].value #=> String
|
@@ -665,6 +686,8 @@ module Aws::FIS
|
|
665
686
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values #=> Array
|
666
687
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values[0] #=> String
|
667
688
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].selection_mode #=> String
|
689
|
+
# resp.experiment_template.targets["ExperimentTemplateTargetName"].parameters #=> Hash
|
690
|
+
# resp.experiment_template.targets["ExperimentTemplateTargetName"].parameters["ExperimentTemplateTargetParameterName"] #=> String
|
668
691
|
# resp.experiment_template.actions #=> Hash
|
669
692
|
# resp.experiment_template.actions["ExperimentTemplateActionName"].action_id #=> String
|
670
693
|
# resp.experiment_template.actions["ExperimentTemplateActionName"].description #=> String
|
@@ -692,7 +715,39 @@ module Aws::FIS
|
|
692
715
|
req.send_request(options)
|
693
716
|
end
|
694
717
|
|
695
|
-
#
|
718
|
+
# Gets information about the specified resource type.
|
719
|
+
#
|
720
|
+
# @option params [required, String] :resource_type
|
721
|
+
# The resource type.
|
722
|
+
#
|
723
|
+
# @return [Types::GetTargetResourceTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
724
|
+
#
|
725
|
+
# * {Types::GetTargetResourceTypeResponse#target_resource_type #target_resource_type} => Types::TargetResourceType
|
726
|
+
#
|
727
|
+
# @example Request syntax with placeholder values
|
728
|
+
#
|
729
|
+
# resp = client.get_target_resource_type({
|
730
|
+
# resource_type: "TargetResourceTypeId", # required
|
731
|
+
# })
|
732
|
+
#
|
733
|
+
# @example Response structure
|
734
|
+
#
|
735
|
+
# resp.target_resource_type.resource_type #=> String
|
736
|
+
# resp.target_resource_type.description #=> String
|
737
|
+
# resp.target_resource_type.parameters #=> Hash
|
738
|
+
# resp.target_resource_type.parameters["TargetResourceTypeParameterName"].description #=> String
|
739
|
+
# resp.target_resource_type.parameters["TargetResourceTypeParameterName"].required #=> Boolean
|
740
|
+
#
|
741
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetTargetResourceType AWS API Documentation
|
742
|
+
#
|
743
|
+
# @overload get_target_resource_type(params = {})
|
744
|
+
# @param [Hash] params ({})
|
745
|
+
def get_target_resource_type(params = {}, options = {})
|
746
|
+
req = build_request(:get_target_resource_type, params)
|
747
|
+
req.send_request(options)
|
748
|
+
end
|
749
|
+
|
750
|
+
# Lists the available FIS actions.
|
696
751
|
#
|
697
752
|
# @option params [Integer] :max_results
|
698
753
|
# The maximum number of results to return with a single call. To
|
@@ -854,6 +909,46 @@ module Aws::FIS
|
|
854
909
|
req.send_request(options)
|
855
910
|
end
|
856
911
|
|
912
|
+
# Lists the target resource types.
|
913
|
+
#
|
914
|
+
# @option params [Integer] :max_results
|
915
|
+
# The maximum number of results to return with a single call. To
|
916
|
+
# retrieve the remaining results, make another call with the returned
|
917
|
+
# `nextToken` value.
|
918
|
+
#
|
919
|
+
# @option params [String] :next_token
|
920
|
+
# The token for the next page of results.
|
921
|
+
#
|
922
|
+
# @return [Types::ListTargetResourceTypesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
923
|
+
#
|
924
|
+
# * {Types::ListTargetResourceTypesResponse#target_resource_types #target_resource_types} => Array<Types::TargetResourceTypeSummary>
|
925
|
+
# * {Types::ListTargetResourceTypesResponse#next_token #next_token} => String
|
926
|
+
#
|
927
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
928
|
+
#
|
929
|
+
# @example Request syntax with placeholder values
|
930
|
+
#
|
931
|
+
# resp = client.list_target_resource_types({
|
932
|
+
# max_results: 1,
|
933
|
+
# next_token: "NextToken",
|
934
|
+
# })
|
935
|
+
#
|
936
|
+
# @example Response structure
|
937
|
+
#
|
938
|
+
# resp.target_resource_types #=> Array
|
939
|
+
# resp.target_resource_types[0].resource_type #=> String
|
940
|
+
# resp.target_resource_types[0].description #=> String
|
941
|
+
# resp.next_token #=> String
|
942
|
+
#
|
943
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListTargetResourceTypes AWS API Documentation
|
944
|
+
#
|
945
|
+
# @overload list_target_resource_types(params = {})
|
946
|
+
# @param [Hash] params ({})
|
947
|
+
def list_target_resource_types(params = {}, options = {})
|
948
|
+
req = build_request(:list_target_resource_types, params)
|
949
|
+
req.send_request(options)
|
950
|
+
end
|
951
|
+
|
857
952
|
# Starts running an experiment from the specified experiment template.
|
858
953
|
#
|
859
954
|
# @option params [required, String] :client_token
|
@@ -901,6 +996,8 @@ module Aws::FIS
|
|
901
996
|
# resp.experiment.targets["ExperimentTargetName"].filters[0].values #=> Array
|
902
997
|
# resp.experiment.targets["ExperimentTargetName"].filters[0].values[0] #=> String
|
903
998
|
# resp.experiment.targets["ExperimentTargetName"].selection_mode #=> String
|
999
|
+
# resp.experiment.targets["ExperimentTargetName"].parameters #=> Hash
|
1000
|
+
# resp.experiment.targets["ExperimentTargetName"].parameters["ExperimentTargetParameterName"] #=> String
|
904
1001
|
# resp.experiment.actions #=> Hash
|
905
1002
|
# resp.experiment.actions["ExperimentActionName"].action_id #=> String
|
906
1003
|
# resp.experiment.actions["ExperimentActionName"].description #=> String
|
@@ -912,6 +1009,8 @@ module Aws::FIS
|
|
912
1009
|
# resp.experiment.actions["ExperimentActionName"].start_after[0] #=> String
|
913
1010
|
# resp.experiment.actions["ExperimentActionName"].state.status #=> String, one of "pending", "initiating", "running", "completed", "cancelled", "stopping", "stopped", "failed"
|
914
1011
|
# resp.experiment.actions["ExperimentActionName"].state.reason #=> String
|
1012
|
+
# resp.experiment.actions["ExperimentActionName"].start_time #=> Time
|
1013
|
+
# resp.experiment.actions["ExperimentActionName"].end_time #=> Time
|
915
1014
|
# resp.experiment.stop_conditions #=> Array
|
916
1015
|
# resp.experiment.stop_conditions[0].source #=> String
|
917
1016
|
# resp.experiment.stop_conditions[0].value #=> String
|
@@ -963,6 +1062,8 @@ module Aws::FIS
|
|
963
1062
|
# resp.experiment.targets["ExperimentTargetName"].filters[0].values #=> Array
|
964
1063
|
# resp.experiment.targets["ExperimentTargetName"].filters[0].values[0] #=> String
|
965
1064
|
# resp.experiment.targets["ExperimentTargetName"].selection_mode #=> String
|
1065
|
+
# resp.experiment.targets["ExperimentTargetName"].parameters #=> Hash
|
1066
|
+
# resp.experiment.targets["ExperimentTargetName"].parameters["ExperimentTargetParameterName"] #=> String
|
966
1067
|
# resp.experiment.actions #=> Hash
|
967
1068
|
# resp.experiment.actions["ExperimentActionName"].action_id #=> String
|
968
1069
|
# resp.experiment.actions["ExperimentActionName"].description #=> String
|
@@ -974,6 +1075,8 @@ module Aws::FIS
|
|
974
1075
|
# resp.experiment.actions["ExperimentActionName"].start_after[0] #=> String
|
975
1076
|
# resp.experiment.actions["ExperimentActionName"].state.status #=> String, one of "pending", "initiating", "running", "completed", "cancelled", "stopping", "stopped", "failed"
|
976
1077
|
# resp.experiment.actions["ExperimentActionName"].state.reason #=> String
|
1078
|
+
# resp.experiment.actions["ExperimentActionName"].start_time #=> Time
|
1079
|
+
# resp.experiment.actions["ExperimentActionName"].end_time #=> Time
|
977
1080
|
# resp.experiment.stop_conditions #=> Array
|
978
1081
|
# resp.experiment.stop_conditions[0].source #=> String
|
979
1082
|
# resp.experiment.stop_conditions[0].value #=> String
|
@@ -1064,7 +1167,7 @@ module Aws::FIS
|
|
1064
1167
|
# The actions for the experiment.
|
1065
1168
|
#
|
1066
1169
|
# @option params [String] :role_arn
|
1067
|
-
# The Amazon Resource Name (ARN) of an IAM role that grants the
|
1170
|
+
# The Amazon Resource Name (ARN) of an IAM role that grants the FIS
|
1068
1171
|
# service permission to perform service actions on your behalf.
|
1069
1172
|
#
|
1070
1173
|
# @return [Types::UpdateExperimentTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1084,7 +1187,7 @@ module Aws::FIS
|
|
1084
1187
|
# ],
|
1085
1188
|
# targets: {
|
1086
1189
|
# "ExperimentTemplateTargetName" => {
|
1087
|
-
# resource_type: "
|
1190
|
+
# resource_type: "TargetResourceTypeId", # required
|
1088
1191
|
# resource_arns: ["ResourceArn"],
|
1089
1192
|
# resource_tags: {
|
1090
1193
|
# "TagKey" => "TagValue",
|
@@ -1096,6 +1199,9 @@ module Aws::FIS
|
|
1096
1199
|
# },
|
1097
1200
|
# ],
|
1098
1201
|
# selection_mode: "ExperimentTemplateTargetSelectionMode", # required
|
1202
|
+
# parameters: {
|
1203
|
+
# "ExperimentTemplateTargetParameterName" => "ExperimentTemplateTargetParameterValue",
|
1204
|
+
# },
|
1099
1205
|
# },
|
1100
1206
|
# },
|
1101
1207
|
# actions: {
|
@@ -1129,6 +1235,8 @@ module Aws::FIS
|
|
1129
1235
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values #=> Array
|
1130
1236
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values[0] #=> String
|
1131
1237
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].selection_mode #=> String
|
1238
|
+
# resp.experiment_template.targets["ExperimentTemplateTargetName"].parameters #=> Hash
|
1239
|
+
# resp.experiment_template.targets["ExperimentTemplateTargetName"].parameters["ExperimentTemplateTargetParameterName"] #=> String
|
1132
1240
|
# resp.experiment_template.actions #=> Hash
|
1133
1241
|
# resp.experiment_template.actions["ExperimentTemplateActionName"].action_id #=> String
|
1134
1242
|
# resp.experiment_template.actions["ExperimentTemplateActionName"].description #=> String
|
@@ -1169,7 +1277,7 @@ module Aws::FIS
|
|
1169
1277
|
params: params,
|
1170
1278
|
config: config)
|
1171
1279
|
context[:gem_name] = 'aws-sdk-fis'
|
1172
|
-
context[:gem_version] = '1.
|
1280
|
+
context[:gem_version] = '1.11.0'
|
1173
1281
|
Seahorse::Client::Request.new(handlers, context)
|
1174
1282
|
end
|
1175
1283
|
|
@@ -43,6 +43,7 @@ module Aws::FIS
|
|
43
43
|
Experiment = Shapes::StructureShape.new(name: 'Experiment')
|
44
44
|
ExperimentAction = Shapes::StructureShape.new(name: 'ExperimentAction')
|
45
45
|
ExperimentActionDescription = Shapes::StringShape.new(name: 'ExperimentActionDescription')
|
46
|
+
ExperimentActionEndTime = Shapes::TimestampShape.new(name: 'ExperimentActionEndTime')
|
46
47
|
ExperimentActionMap = Shapes::MapShape.new(name: 'ExperimentActionMap')
|
47
48
|
ExperimentActionName = Shapes::StringShape.new(name: 'ExperimentActionName')
|
48
49
|
ExperimentActionParameter = Shapes::StringShape.new(name: 'ExperimentActionParameter')
|
@@ -50,6 +51,7 @@ module Aws::FIS
|
|
50
51
|
ExperimentActionParameterName = Shapes::StringShape.new(name: 'ExperimentActionParameterName')
|
51
52
|
ExperimentActionStartAfter = Shapes::StringShape.new(name: 'ExperimentActionStartAfter')
|
52
53
|
ExperimentActionStartAfterList = Shapes::ListShape.new(name: 'ExperimentActionStartAfterList')
|
54
|
+
ExperimentActionStartTime = Shapes::TimestampShape.new(name: 'ExperimentActionStartTime')
|
53
55
|
ExperimentActionState = Shapes::StructureShape.new(name: 'ExperimentActionState')
|
54
56
|
ExperimentActionStatus = Shapes::StringShape.new(name: 'ExperimentActionStatus')
|
55
57
|
ExperimentActionStatusReason = Shapes::StringShape.new(name: 'ExperimentActionStatusReason')
|
@@ -73,6 +75,9 @@ module Aws::FIS
|
|
73
75
|
ExperimentTargetFilterValues = Shapes::ListShape.new(name: 'ExperimentTargetFilterValues')
|
74
76
|
ExperimentTargetMap = Shapes::MapShape.new(name: 'ExperimentTargetMap')
|
75
77
|
ExperimentTargetName = Shapes::StringShape.new(name: 'ExperimentTargetName')
|
78
|
+
ExperimentTargetParameterMap = Shapes::MapShape.new(name: 'ExperimentTargetParameterMap')
|
79
|
+
ExperimentTargetParameterName = Shapes::StringShape.new(name: 'ExperimentTargetParameterName')
|
80
|
+
ExperimentTargetParameterValue = Shapes::StringShape.new(name: 'ExperimentTargetParameterValue')
|
76
81
|
ExperimentTargetSelectionMode = Shapes::StringShape.new(name: 'ExperimentTargetSelectionMode')
|
77
82
|
ExperimentTemplate = Shapes::StructureShape.new(name: 'ExperimentTemplate')
|
78
83
|
ExperimentTemplateAction = Shapes::StructureShape.new(name: 'ExperimentTemplateAction')
|
@@ -102,6 +107,9 @@ module Aws::FIS
|
|
102
107
|
ExperimentTemplateTargetInputFilter = Shapes::StructureShape.new(name: 'ExperimentTemplateTargetInputFilter')
|
103
108
|
ExperimentTemplateTargetMap = Shapes::MapShape.new(name: 'ExperimentTemplateTargetMap')
|
104
109
|
ExperimentTemplateTargetName = Shapes::StringShape.new(name: 'ExperimentTemplateTargetName')
|
110
|
+
ExperimentTemplateTargetParameterMap = Shapes::MapShape.new(name: 'ExperimentTemplateTargetParameterMap')
|
111
|
+
ExperimentTemplateTargetParameterName = Shapes::StringShape.new(name: 'ExperimentTemplateTargetParameterName')
|
112
|
+
ExperimentTemplateTargetParameterValue = Shapes::StringShape.new(name: 'ExperimentTemplateTargetParameterValue')
|
105
113
|
ExperimentTemplateTargetSelectionMode = Shapes::StringShape.new(name: 'ExperimentTemplateTargetSelectionMode')
|
106
114
|
GetActionRequest = Shapes::StructureShape.new(name: 'GetActionRequest')
|
107
115
|
GetActionResponse = Shapes::StructureShape.new(name: 'GetActionResponse')
|
@@ -109,6 +117,8 @@ module Aws::FIS
|
|
109
117
|
GetExperimentResponse = Shapes::StructureShape.new(name: 'GetExperimentResponse')
|
110
118
|
GetExperimentTemplateRequest = Shapes::StructureShape.new(name: 'GetExperimentTemplateRequest')
|
111
119
|
GetExperimentTemplateResponse = Shapes::StructureShape.new(name: 'GetExperimentTemplateResponse')
|
120
|
+
GetTargetResourceTypeRequest = Shapes::StructureShape.new(name: 'GetTargetResourceTypeRequest')
|
121
|
+
GetTargetResourceTypeResponse = Shapes::StructureShape.new(name: 'GetTargetResourceTypeResponse')
|
112
122
|
LastUpdateTime = Shapes::TimestampShape.new(name: 'LastUpdateTime')
|
113
123
|
ListActionsMaxResults = Shapes::IntegerShape.new(name: 'ListActionsMaxResults')
|
114
124
|
ListActionsRequest = Shapes::StructureShape.new(name: 'ListActionsRequest')
|
@@ -121,11 +131,13 @@ module Aws::FIS
|
|
121
131
|
ListExperimentsResponse = Shapes::StructureShape.new(name: 'ListExperimentsResponse')
|
122
132
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
123
133
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
134
|
+
ListTargetResourceTypesMaxResults = Shapes::IntegerShape.new(name: 'ListTargetResourceTypesMaxResults')
|
135
|
+
ListTargetResourceTypesRequest = Shapes::StructureShape.new(name: 'ListTargetResourceTypesRequest')
|
136
|
+
ListTargetResourceTypesResponse = Shapes::StructureShape.new(name: 'ListTargetResourceTypesResponse')
|
124
137
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
125
138
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
126
139
|
ResourceArnList = Shapes::ListShape.new(name: 'ResourceArnList')
|
127
140
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
128
|
-
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
129
141
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
130
142
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
131
143
|
StartExperimentRequest = Shapes::StructureShape.new(name: 'StartExperimentRequest')
|
@@ -140,7 +152,16 @@ module Aws::FIS
|
|
140
152
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
141
153
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
142
154
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
143
|
-
TargetResourceType = Shapes::
|
155
|
+
TargetResourceType = Shapes::StructureShape.new(name: 'TargetResourceType')
|
156
|
+
TargetResourceTypeDescription = Shapes::StringShape.new(name: 'TargetResourceTypeDescription')
|
157
|
+
TargetResourceTypeId = Shapes::StringShape.new(name: 'TargetResourceTypeId')
|
158
|
+
TargetResourceTypeParameter = Shapes::StructureShape.new(name: 'TargetResourceTypeParameter')
|
159
|
+
TargetResourceTypeParameterDescription = Shapes::StringShape.new(name: 'TargetResourceTypeParameterDescription')
|
160
|
+
TargetResourceTypeParameterMap = Shapes::MapShape.new(name: 'TargetResourceTypeParameterMap')
|
161
|
+
TargetResourceTypeParameterName = Shapes::StringShape.new(name: 'TargetResourceTypeParameterName')
|
162
|
+
TargetResourceTypeParameterRequired = Shapes::BooleanShape.new(name: 'TargetResourceTypeParameterRequired')
|
163
|
+
TargetResourceTypeSummary = Shapes::StructureShape.new(name: 'TargetResourceTypeSummary')
|
164
|
+
TargetResourceTypeSummaryList = Shapes::ListShape.new(name: 'TargetResourceTypeSummaryList')
|
144
165
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
145
166
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
146
167
|
UpdateExperimentTemplateActionInputItem = Shapes::StructureShape.new(name: 'UpdateExperimentTemplateActionInputItem')
|
@@ -175,7 +196,7 @@ module Aws::FIS
|
|
175
196
|
|
176
197
|
ActionSummaryList.member = Shapes::ShapeRef.new(shape: ActionSummary)
|
177
198
|
|
178
|
-
ActionTarget.add_member(:resource_type, Shapes::ShapeRef.new(shape:
|
199
|
+
ActionTarget.add_member(:resource_type, Shapes::ShapeRef.new(shape: TargetResourceTypeId, location_name: "resourceType"))
|
179
200
|
ActionTarget.struct_class = Types::ActionTarget
|
180
201
|
|
181
202
|
ActionTargetMap.key = Shapes::ShapeRef.new(shape: ActionTargetName)
|
@@ -212,11 +233,12 @@ module Aws::FIS
|
|
212
233
|
|
213
234
|
CreateExperimentTemplateStopConditionInputList.member = Shapes::ShapeRef.new(shape: CreateExperimentTemplateStopConditionInput)
|
214
235
|
|
215
|
-
CreateExperimentTemplateTargetInput.add_member(:resource_type, Shapes::ShapeRef.new(shape:
|
236
|
+
CreateExperimentTemplateTargetInput.add_member(:resource_type, Shapes::ShapeRef.new(shape: TargetResourceTypeId, required: true, location_name: "resourceType"))
|
216
237
|
CreateExperimentTemplateTargetInput.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArnList, location_name: "resourceArns"))
|
217
238
|
CreateExperimentTemplateTargetInput.add_member(:resource_tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "resourceTags"))
|
218
239
|
CreateExperimentTemplateTargetInput.add_member(:filters, Shapes::ShapeRef.new(shape: ExperimentTemplateTargetFilterInputList, location_name: "filters"))
|
219
240
|
CreateExperimentTemplateTargetInput.add_member(:selection_mode, Shapes::ShapeRef.new(shape: ExperimentTemplateTargetSelectionMode, required: true, location_name: "selectionMode"))
|
241
|
+
CreateExperimentTemplateTargetInput.add_member(:parameters, Shapes::ShapeRef.new(shape: ExperimentTemplateTargetParameterMap, location_name: "parameters"))
|
220
242
|
CreateExperimentTemplateTargetInput.struct_class = Types::CreateExperimentTemplateTargetInput
|
221
243
|
|
222
244
|
CreateExperimentTemplateTargetInputMap.key = Shapes::ShapeRef.new(shape: ExperimentTemplateTargetName)
|
@@ -247,6 +269,8 @@ module Aws::FIS
|
|
247
269
|
ExperimentAction.add_member(:targets, Shapes::ShapeRef.new(shape: ExperimentActionTargetMap, location_name: "targets"))
|
248
270
|
ExperimentAction.add_member(:start_after, Shapes::ShapeRef.new(shape: ExperimentActionStartAfterList, location_name: "startAfter"))
|
249
271
|
ExperimentAction.add_member(:state, Shapes::ShapeRef.new(shape: ExperimentActionState, location_name: "state"))
|
272
|
+
ExperimentAction.add_member(:start_time, Shapes::ShapeRef.new(shape: ExperimentActionStartTime, location_name: "startTime"))
|
273
|
+
ExperimentAction.add_member(:end_time, Shapes::ShapeRef.new(shape: ExperimentActionEndTime, location_name: "endTime"))
|
250
274
|
ExperimentAction.struct_class = Types::ExperimentAction
|
251
275
|
|
252
276
|
ExperimentActionMap.key = Shapes::ShapeRef.new(shape: ExperimentActionName)
|
@@ -283,11 +307,12 @@ module Aws::FIS
|
|
283
307
|
|
284
308
|
ExperimentSummaryList.member = Shapes::ShapeRef.new(shape: ExperimentSummary)
|
285
309
|
|
286
|
-
ExperimentTarget.add_member(:resource_type, Shapes::ShapeRef.new(shape:
|
310
|
+
ExperimentTarget.add_member(:resource_type, Shapes::ShapeRef.new(shape: TargetResourceTypeId, location_name: "resourceType"))
|
287
311
|
ExperimentTarget.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArnList, location_name: "resourceArns"))
|
288
312
|
ExperimentTarget.add_member(:resource_tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "resourceTags"))
|
289
313
|
ExperimentTarget.add_member(:filters, Shapes::ShapeRef.new(shape: ExperimentTargetFilterList, location_name: "filters"))
|
290
314
|
ExperimentTarget.add_member(:selection_mode, Shapes::ShapeRef.new(shape: ExperimentTargetSelectionMode, location_name: "selectionMode"))
|
315
|
+
ExperimentTarget.add_member(:parameters, Shapes::ShapeRef.new(shape: ExperimentTargetParameterMap, location_name: "parameters"))
|
291
316
|
ExperimentTarget.struct_class = Types::ExperimentTarget
|
292
317
|
|
293
318
|
ExperimentTargetFilter.add_member(:path, Shapes::ShapeRef.new(shape: ExperimentTargetFilterPath, location_name: "path"))
|
@@ -301,6 +326,9 @@ module Aws::FIS
|
|
301
326
|
ExperimentTargetMap.key = Shapes::ShapeRef.new(shape: ExperimentTargetName)
|
302
327
|
ExperimentTargetMap.value = Shapes::ShapeRef.new(shape: ExperimentTarget)
|
303
328
|
|
329
|
+
ExperimentTargetParameterMap.key = Shapes::ShapeRef.new(shape: ExperimentTargetParameterName)
|
330
|
+
ExperimentTargetParameterMap.value = Shapes::ShapeRef.new(shape: ExperimentTargetParameterValue)
|
331
|
+
|
304
332
|
ExperimentTemplate.add_member(:id, Shapes::ShapeRef.new(shape: ExperimentTemplateId, location_name: "id"))
|
305
333
|
ExperimentTemplate.add_member(:description, Shapes::ShapeRef.new(shape: ExperimentTemplateDescription, location_name: "description"))
|
306
334
|
ExperimentTemplate.add_member(:targets, Shapes::ShapeRef.new(shape: ExperimentTemplateTargetMap, location_name: "targets"))
|
@@ -345,11 +373,12 @@ module Aws::FIS
|
|
345
373
|
|
346
374
|
ExperimentTemplateSummaryList.member = Shapes::ShapeRef.new(shape: ExperimentTemplateSummary)
|
347
375
|
|
348
|
-
ExperimentTemplateTarget.add_member(:resource_type, Shapes::ShapeRef.new(shape:
|
376
|
+
ExperimentTemplateTarget.add_member(:resource_type, Shapes::ShapeRef.new(shape: TargetResourceTypeId, location_name: "resourceType"))
|
349
377
|
ExperimentTemplateTarget.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArnList, location_name: "resourceArns"))
|
350
378
|
ExperimentTemplateTarget.add_member(:resource_tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "resourceTags"))
|
351
379
|
ExperimentTemplateTarget.add_member(:filters, Shapes::ShapeRef.new(shape: ExperimentTemplateTargetFilterList, location_name: "filters"))
|
352
380
|
ExperimentTemplateTarget.add_member(:selection_mode, Shapes::ShapeRef.new(shape: ExperimentTemplateTargetSelectionMode, location_name: "selectionMode"))
|
381
|
+
ExperimentTemplateTarget.add_member(:parameters, Shapes::ShapeRef.new(shape: ExperimentTemplateTargetParameterMap, location_name: "parameters"))
|
353
382
|
ExperimentTemplateTarget.struct_class = Types::ExperimentTemplateTarget
|
354
383
|
|
355
384
|
ExperimentTemplateTargetFilter.add_member(:path, Shapes::ShapeRef.new(shape: ExperimentTemplateTargetFilterPath, location_name: "path"))
|
@@ -369,6 +398,9 @@ module Aws::FIS
|
|
369
398
|
ExperimentTemplateTargetMap.key = Shapes::ShapeRef.new(shape: ExperimentTemplateTargetName)
|
370
399
|
ExperimentTemplateTargetMap.value = Shapes::ShapeRef.new(shape: ExperimentTemplateTarget)
|
371
400
|
|
401
|
+
ExperimentTemplateTargetParameterMap.key = Shapes::ShapeRef.new(shape: ExperimentTemplateTargetParameterName)
|
402
|
+
ExperimentTemplateTargetParameterMap.value = Shapes::ShapeRef.new(shape: ExperimentTemplateTargetParameterValue)
|
403
|
+
|
372
404
|
GetActionRequest.add_member(:id, Shapes::ShapeRef.new(shape: ActionId, required: true, location: "uri", location_name: "id"))
|
373
405
|
GetActionRequest.struct_class = Types::GetActionRequest
|
374
406
|
|
@@ -387,6 +419,12 @@ module Aws::FIS
|
|
387
419
|
GetExperimentTemplateResponse.add_member(:experiment_template, Shapes::ShapeRef.new(shape: ExperimentTemplate, location_name: "experimentTemplate"))
|
388
420
|
GetExperimentTemplateResponse.struct_class = Types::GetExperimentTemplateResponse
|
389
421
|
|
422
|
+
GetTargetResourceTypeRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: TargetResourceTypeId, required: true, location: "uri", location_name: "resourceType"))
|
423
|
+
GetTargetResourceTypeRequest.struct_class = Types::GetTargetResourceTypeRequest
|
424
|
+
|
425
|
+
GetTargetResourceTypeResponse.add_member(:target_resource_type, Shapes::ShapeRef.new(shape: TargetResourceType, location_name: "targetResourceType"))
|
426
|
+
GetTargetResourceTypeResponse.struct_class = Types::GetTargetResourceTypeResponse
|
427
|
+
|
390
428
|
ListActionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListActionsMaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
|
391
429
|
ListActionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
392
430
|
ListActionsRequest.struct_class = Types::ListActionsRequest
|
@@ -417,6 +455,14 @@ module Aws::FIS
|
|
417
455
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
418
456
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
419
457
|
|
458
|
+
ListTargetResourceTypesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListTargetResourceTypesMaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
|
459
|
+
ListTargetResourceTypesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
460
|
+
ListTargetResourceTypesRequest.struct_class = Types::ListTargetResourceTypesRequest
|
461
|
+
|
462
|
+
ListTargetResourceTypesResponse.add_member(:target_resource_types, Shapes::ShapeRef.new(shape: TargetResourceTypeSummaryList, location_name: "targetResourceTypes"))
|
463
|
+
ListTargetResourceTypesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
464
|
+
ListTargetResourceTypesResponse.struct_class = Types::ListTargetResourceTypesResponse
|
465
|
+
|
420
466
|
ResourceArnList.member = Shapes::ShapeRef.new(shape: ResourceArn)
|
421
467
|
|
422
468
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
@@ -450,6 +496,24 @@ module Aws::FIS
|
|
450
496
|
|
451
497
|
TagResourceResponse.struct_class = Types::TagResourceResponse
|
452
498
|
|
499
|
+
TargetResourceType.add_member(:resource_type, Shapes::ShapeRef.new(shape: TargetResourceTypeId, location_name: "resourceType"))
|
500
|
+
TargetResourceType.add_member(:description, Shapes::ShapeRef.new(shape: TargetResourceTypeDescription, location_name: "description"))
|
501
|
+
TargetResourceType.add_member(:parameters, Shapes::ShapeRef.new(shape: TargetResourceTypeParameterMap, location_name: "parameters"))
|
502
|
+
TargetResourceType.struct_class = Types::TargetResourceType
|
503
|
+
|
504
|
+
TargetResourceTypeParameter.add_member(:description, Shapes::ShapeRef.new(shape: TargetResourceTypeParameterDescription, location_name: "description"))
|
505
|
+
TargetResourceTypeParameter.add_member(:required, Shapes::ShapeRef.new(shape: TargetResourceTypeParameterRequired, location_name: "required", metadata: {"box"=>true}))
|
506
|
+
TargetResourceTypeParameter.struct_class = Types::TargetResourceTypeParameter
|
507
|
+
|
508
|
+
TargetResourceTypeParameterMap.key = Shapes::ShapeRef.new(shape: TargetResourceTypeParameterName)
|
509
|
+
TargetResourceTypeParameterMap.value = Shapes::ShapeRef.new(shape: TargetResourceTypeParameter)
|
510
|
+
|
511
|
+
TargetResourceTypeSummary.add_member(:resource_type, Shapes::ShapeRef.new(shape: TargetResourceTypeId, location_name: "resourceType"))
|
512
|
+
TargetResourceTypeSummary.add_member(:description, Shapes::ShapeRef.new(shape: TargetResourceTypeDescription, location_name: "description"))
|
513
|
+
TargetResourceTypeSummary.struct_class = Types::TargetResourceTypeSummary
|
514
|
+
|
515
|
+
TargetResourceTypeSummaryList.member = Shapes::ShapeRef.new(shape: TargetResourceTypeSummary)
|
516
|
+
|
453
517
|
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
|
454
518
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, location: "querystring", location_name: "tagKeys"))
|
455
519
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
@@ -483,11 +547,12 @@ module Aws::FIS
|
|
483
547
|
|
484
548
|
UpdateExperimentTemplateStopConditionInputList.member = Shapes::ShapeRef.new(shape: UpdateExperimentTemplateStopConditionInput)
|
485
549
|
|
486
|
-
UpdateExperimentTemplateTargetInput.add_member(:resource_type, Shapes::ShapeRef.new(shape:
|
550
|
+
UpdateExperimentTemplateTargetInput.add_member(:resource_type, Shapes::ShapeRef.new(shape: TargetResourceTypeId, required: true, location_name: "resourceType"))
|
487
551
|
UpdateExperimentTemplateTargetInput.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArnList, location_name: "resourceArns"))
|
488
552
|
UpdateExperimentTemplateTargetInput.add_member(:resource_tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "resourceTags"))
|
489
553
|
UpdateExperimentTemplateTargetInput.add_member(:filters, Shapes::ShapeRef.new(shape: ExperimentTemplateTargetFilterInputList, location_name: "filters"))
|
490
554
|
UpdateExperimentTemplateTargetInput.add_member(:selection_mode, Shapes::ShapeRef.new(shape: ExperimentTemplateTargetSelectionMode, required: true, location_name: "selectionMode"))
|
555
|
+
UpdateExperimentTemplateTargetInput.add_member(:parameters, Shapes::ShapeRef.new(shape: ExperimentTemplateTargetParameterMap, location_name: "parameters"))
|
491
556
|
UpdateExperimentTemplateTargetInput.struct_class = Types::UpdateExperimentTemplateTargetInput
|
492
557
|
|
493
558
|
UpdateExperimentTemplateTargetInputMap.key = Shapes::ShapeRef.new(shape: ExperimentTemplateTargetName)
|
@@ -567,6 +632,16 @@ module Aws::FIS
|
|
567
632
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
568
633
|
end)
|
569
634
|
|
635
|
+
api.add_operation(:get_target_resource_type, Seahorse::Model::Operation.new.tap do |o|
|
636
|
+
o.name = "GetTargetResourceType"
|
637
|
+
o.http_method = "GET"
|
638
|
+
o.http_request_uri = "/targetResourceTypes/{resourceType}"
|
639
|
+
o.input = Shapes::ShapeRef.new(shape: GetTargetResourceTypeRequest)
|
640
|
+
o.output = Shapes::ShapeRef.new(shape: GetTargetResourceTypeResponse)
|
641
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
642
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
643
|
+
end)
|
644
|
+
|
570
645
|
api.add_operation(:list_actions, Seahorse::Model::Operation.new.tap do |o|
|
571
646
|
o.name = "ListActions"
|
572
647
|
o.http_method = "GET"
|
@@ -620,6 +695,21 @@ module Aws::FIS
|
|
620
695
|
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
621
696
|
end)
|
622
697
|
|
698
|
+
api.add_operation(:list_target_resource_types, Seahorse::Model::Operation.new.tap do |o|
|
699
|
+
o.name = "ListTargetResourceTypes"
|
700
|
+
o.http_method = "GET"
|
701
|
+
o.http_request_uri = "/targetResourceTypes"
|
702
|
+
o.input = Shapes::ShapeRef.new(shape: ListTargetResourceTypesRequest)
|
703
|
+
o.output = Shapes::ShapeRef.new(shape: ListTargetResourceTypesResponse)
|
704
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
705
|
+
o[:pager] = Aws::Pager.new(
|
706
|
+
limit_key: "max_results",
|
707
|
+
tokens: {
|
708
|
+
"next_token" => "next_token"
|
709
|
+
}
|
710
|
+
)
|
711
|
+
end)
|
712
|
+
|
623
713
|
api.add_operation(:start_experiment, Seahorse::Model::Operation.new.tap do |o|
|
624
714
|
o.name = "StartExperiment"
|
625
715
|
o.http_method = "POST"
|
data/lib/aws-sdk-fis/types.rb
CHANGED
@@ -10,8 +10,8 @@
|
|
10
10
|
module Aws::FIS
|
11
11
|
module Types
|
12
12
|
|
13
|
-
# Describes an action. For more information, see [
|
14
|
-
#
|
13
|
+
# Describes an action. For more information, see [FIS actions][1] in the
|
14
|
+
# *Fault Injection Simulator User Guide*.
|
15
15
|
#
|
16
16
|
#
|
17
17
|
#
|
@@ -126,6 +126,13 @@ module Aws::FIS
|
|
126
126
|
|
127
127
|
# Specifies an action for an experiment template.
|
128
128
|
#
|
129
|
+
# For more information, see [Actions][1] in the *Fault Injection
|
130
|
+
# Simulator User Guide*.
|
131
|
+
#
|
132
|
+
#
|
133
|
+
#
|
134
|
+
# [1]: https://docs.aws.amazon.com/fis/latest/userguide/actions.html
|
135
|
+
#
|
129
136
|
# @note When making an API call, you may pass CreateExperimentTemplateActionInput
|
130
137
|
# data as a hash:
|
131
138
|
#
|
@@ -142,7 +149,8 @@ module Aws::FIS
|
|
142
149
|
# }
|
143
150
|
#
|
144
151
|
# @!attribute [rw] action_id
|
145
|
-
# The ID of the action.
|
152
|
+
# The ID of the action. The format of the action ID is:
|
153
|
+
# aws:*service-name*\:*action-type*.
|
146
154
|
# @return [String]
|
147
155
|
#
|
148
156
|
# @!attribute [rw] description
|
@@ -189,7 +197,7 @@ module Aws::FIS
|
|
189
197
|
# ],
|
190
198
|
# targets: {
|
191
199
|
# "ExperimentTemplateTargetName" => {
|
192
|
-
# resource_type: "
|
200
|
+
# resource_type: "TargetResourceTypeId", # required
|
193
201
|
# resource_arns: ["ResourceArn"],
|
194
202
|
# resource_tags: {
|
195
203
|
# "TagKey" => "TagValue",
|
@@ -201,6 +209,9 @@ module Aws::FIS
|
|
201
209
|
# },
|
202
210
|
# ],
|
203
211
|
# selection_mode: "ExperimentTemplateTargetSelectionMode", # required
|
212
|
+
# parameters: {
|
213
|
+
# "ExperimentTemplateTargetParameterName" => "ExperimentTemplateTargetParameterValue",
|
214
|
+
# },
|
204
215
|
# },
|
205
216
|
# },
|
206
217
|
# actions: { # required
|
@@ -231,8 +242,7 @@ module Aws::FIS
|
|
231
242
|
# @return [String]
|
232
243
|
#
|
233
244
|
# @!attribute [rw] description
|
234
|
-
# A description for the experiment template.
|
235
|
-
# letters (A-Z and a-z).
|
245
|
+
# A description for the experiment template.
|
236
246
|
# @return [String]
|
237
247
|
#
|
238
248
|
# @!attribute [rw] stop_conditions
|
@@ -248,8 +258,8 @@ module Aws::FIS
|
|
248
258
|
# @return [Hash<String,Types::CreateExperimentTemplateActionInput>]
|
249
259
|
#
|
250
260
|
# @!attribute [rw] role_arn
|
251
|
-
# The Amazon Resource Name (ARN) of an IAM role that grants the
|
252
|
-
#
|
261
|
+
# The Amazon Resource Name (ARN) of an IAM role that grants the FIS
|
262
|
+
# service permission to perform service actions on your behalf.
|
253
263
|
# @return [String]
|
254
264
|
#
|
255
265
|
# @!attribute [rw] tags
|
@@ -316,11 +326,18 @@ module Aws::FIS
|
|
316
326
|
# Amazon Resource Name (ARN) or at least one resource tag. You cannot
|
317
327
|
# specify both ARNs and tags.
|
318
328
|
#
|
329
|
+
# For more information, see [Targets][1] in the *Fault Injection
|
330
|
+
# Simulator User Guide*.
|
331
|
+
#
|
332
|
+
#
|
333
|
+
#
|
334
|
+
# [1]: https://docs.aws.amazon.com/fis/latest/userguide/targets.html
|
335
|
+
#
|
319
336
|
# @note When making an API call, you may pass CreateExperimentTemplateTargetInput
|
320
337
|
# data as a hash:
|
321
338
|
#
|
322
339
|
# {
|
323
|
-
# resource_type: "
|
340
|
+
# resource_type: "TargetResourceTypeId", # required
|
324
341
|
# resource_arns: ["ResourceArn"],
|
325
342
|
# resource_tags: {
|
326
343
|
# "TagKey" => "TagValue",
|
@@ -332,10 +349,13 @@ module Aws::FIS
|
|
332
349
|
# },
|
333
350
|
# ],
|
334
351
|
# selection_mode: "ExperimentTemplateTargetSelectionMode", # required
|
352
|
+
# parameters: {
|
353
|
+
# "ExperimentTemplateTargetParameterName" => "ExperimentTemplateTargetParameterValue",
|
354
|
+
# },
|
335
355
|
# }
|
336
356
|
#
|
337
357
|
# @!attribute [rw] resource_type
|
338
|
-
# The
|
358
|
+
# The resource type. The resource type must be supported for the
|
339
359
|
# specified action.
|
340
360
|
# @return [String]
|
341
361
|
#
|
@@ -369,6 +389,10 @@ module Aws::FIS
|
|
369
389
|
# example, PERCENT(25) selects 25% of the targets.
|
370
390
|
# @return [String]
|
371
391
|
#
|
392
|
+
# @!attribute [rw] parameters
|
393
|
+
# The resource type parameters.
|
394
|
+
# @return [Hash<String,String>]
|
395
|
+
#
|
372
396
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/CreateExperimentTemplateTargetInput AWS API Documentation
|
373
397
|
#
|
374
398
|
class CreateExperimentTemplateTargetInput < Struct.new(
|
@@ -376,7 +400,8 @@ module Aws::FIS
|
|
376
400
|
:resource_arns,
|
377
401
|
:resource_tags,
|
378
402
|
:filters,
|
379
|
-
:selection_mode
|
403
|
+
:selection_mode,
|
404
|
+
:parameters)
|
380
405
|
SENSITIVE = []
|
381
406
|
include Aws::Structure
|
382
407
|
end
|
@@ -423,8 +448,8 @@ module Aws::FIS
|
|
423
448
|
# @return [String]
|
424
449
|
#
|
425
450
|
# @!attribute [rw] role_arn
|
426
|
-
# The Amazon Resource Name (ARN) of an IAM role that grants the
|
427
|
-
#
|
451
|
+
# The Amazon Resource Name (ARN) of an IAM role that grants the FIS
|
452
|
+
# service permission to perform service actions on your behalf.
|
428
453
|
# @return [String]
|
429
454
|
#
|
430
455
|
# @!attribute [rw] state
|
@@ -444,11 +469,11 @@ module Aws::FIS
|
|
444
469
|
# @return [Array<Types::ExperimentStopCondition>]
|
445
470
|
#
|
446
471
|
# @!attribute [rw] creation_time
|
447
|
-
# The time the experiment was created.
|
472
|
+
# The time that the experiment was created.
|
448
473
|
# @return [Time]
|
449
474
|
#
|
450
475
|
# @!attribute [rw] start_time
|
451
|
-
# The time that the experiment
|
476
|
+
# The time that the experiment started.
|
452
477
|
# @return [Time]
|
453
478
|
#
|
454
479
|
# @!attribute [rw] end_time
|
@@ -504,6 +529,14 @@ module Aws::FIS
|
|
504
529
|
# The state of the action.
|
505
530
|
# @return [Types::ExperimentActionState]
|
506
531
|
#
|
532
|
+
# @!attribute [rw] start_time
|
533
|
+
# The time that the action started.
|
534
|
+
# @return [Time]
|
535
|
+
#
|
536
|
+
# @!attribute [rw] end_time
|
537
|
+
# The time that the action ended.
|
538
|
+
# @return [Time]
|
539
|
+
#
|
507
540
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ExperimentAction AWS API Documentation
|
508
541
|
#
|
509
542
|
class ExperimentAction < Struct.new(
|
@@ -512,7 +545,9 @@ module Aws::FIS
|
|
512
545
|
:parameters,
|
513
546
|
:targets,
|
514
547
|
:start_after,
|
515
|
-
:state
|
548
|
+
:state,
|
549
|
+
:start_time,
|
550
|
+
:end_time)
|
516
551
|
SENSITIVE = []
|
517
552
|
include Aws::Structure
|
518
553
|
end
|
@@ -632,6 +667,10 @@ module Aws::FIS
|
|
632
667
|
# Scopes the identified resources to a specific count or percentage.
|
633
668
|
# @return [String]
|
634
669
|
#
|
670
|
+
# @!attribute [rw] parameters
|
671
|
+
# The resource type parameters.
|
672
|
+
# @return [Hash<String,String>]
|
673
|
+
#
|
635
674
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ExperimentTarget AWS API Documentation
|
636
675
|
#
|
637
676
|
class ExperimentTarget < Struct.new(
|
@@ -639,7 +678,8 @@ module Aws::FIS
|
|
639
678
|
:resource_arns,
|
640
679
|
:resource_tags,
|
641
680
|
:filters,
|
642
|
-
:selection_mode
|
681
|
+
:selection_mode,
|
682
|
+
:parameters)
|
643
683
|
SENSITIVE = []
|
644
684
|
include Aws::Structure
|
645
685
|
end
|
@@ -829,6 +869,10 @@ module Aws::FIS
|
|
829
869
|
# Scopes the identified resources to a specific count or percentage.
|
830
870
|
# @return [String]
|
831
871
|
#
|
872
|
+
# @!attribute [rw] parameters
|
873
|
+
# The resource type parameters.
|
874
|
+
# @return [Hash<String,String>]
|
875
|
+
#
|
832
876
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ExperimentTemplateTarget AWS API Documentation
|
833
877
|
#
|
834
878
|
class ExperimentTemplateTarget < Struct.new(
|
@@ -836,7 +880,8 @@ module Aws::FIS
|
|
836
880
|
:resource_arns,
|
837
881
|
:resource_tags,
|
838
882
|
:filters,
|
839
|
-
:selection_mode
|
883
|
+
:selection_mode,
|
884
|
+
:parameters)
|
840
885
|
SENSITIVE = []
|
841
886
|
include Aws::Structure
|
842
887
|
end
|
@@ -861,9 +906,16 @@ module Aws::FIS
|
|
861
906
|
include Aws::Structure
|
862
907
|
end
|
863
908
|
|
864
|
-
#
|
909
|
+
# Specifies a filter used for the target resource input in an experiment
|
865
910
|
# template.
|
866
911
|
#
|
912
|
+
# For more information, see [Resource filters][1] in the *Fault
|
913
|
+
# Injection Simulator User Guide*.
|
914
|
+
#
|
915
|
+
#
|
916
|
+
#
|
917
|
+
# [1]: https://docs.aws.amazon.com/fis/latest/userguide/targets.html#target-filters
|
918
|
+
#
|
867
919
|
# @note When making an API call, you may pass ExperimentTemplateTargetInputFilter
|
868
920
|
# data as a hash:
|
869
921
|
#
|
@@ -982,6 +1034,37 @@ module Aws::FIS
|
|
982
1034
|
include Aws::Structure
|
983
1035
|
end
|
984
1036
|
|
1037
|
+
# @note When making an API call, you may pass GetTargetResourceTypeRequest
|
1038
|
+
# data as a hash:
|
1039
|
+
#
|
1040
|
+
# {
|
1041
|
+
# resource_type: "TargetResourceTypeId", # required
|
1042
|
+
# }
|
1043
|
+
#
|
1044
|
+
# @!attribute [rw] resource_type
|
1045
|
+
# The resource type.
|
1046
|
+
# @return [String]
|
1047
|
+
#
|
1048
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetTargetResourceTypeRequest AWS API Documentation
|
1049
|
+
#
|
1050
|
+
class GetTargetResourceTypeRequest < Struct.new(
|
1051
|
+
:resource_type)
|
1052
|
+
SENSITIVE = []
|
1053
|
+
include Aws::Structure
|
1054
|
+
end
|
1055
|
+
|
1056
|
+
# @!attribute [rw] target_resource_type
|
1057
|
+
# Information about the resource type.
|
1058
|
+
# @return [Types::TargetResourceType]
|
1059
|
+
#
|
1060
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetTargetResourceTypeResponse AWS API Documentation
|
1061
|
+
#
|
1062
|
+
class GetTargetResourceTypeResponse < Struct.new(
|
1063
|
+
:target_resource_type)
|
1064
|
+
SENSITIVE = []
|
1065
|
+
include Aws::Structure
|
1066
|
+
end
|
1067
|
+
|
985
1068
|
# @note When making an API call, you may pass ListActionsRequest
|
986
1069
|
# data as a hash:
|
987
1070
|
#
|
@@ -1148,6 +1231,51 @@ module Aws::FIS
|
|
1148
1231
|
include Aws::Structure
|
1149
1232
|
end
|
1150
1233
|
|
1234
|
+
# @note When making an API call, you may pass ListTargetResourceTypesRequest
|
1235
|
+
# data as a hash:
|
1236
|
+
#
|
1237
|
+
# {
|
1238
|
+
# max_results: 1,
|
1239
|
+
# next_token: "NextToken",
|
1240
|
+
# }
|
1241
|
+
#
|
1242
|
+
# @!attribute [rw] max_results
|
1243
|
+
# The maximum number of results to return with a single call. To
|
1244
|
+
# retrieve the remaining results, make another call with the returned
|
1245
|
+
# `nextToken` value.
|
1246
|
+
# @return [Integer]
|
1247
|
+
#
|
1248
|
+
# @!attribute [rw] next_token
|
1249
|
+
# The token for the next page of results.
|
1250
|
+
# @return [String]
|
1251
|
+
#
|
1252
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListTargetResourceTypesRequest AWS API Documentation
|
1253
|
+
#
|
1254
|
+
class ListTargetResourceTypesRequest < Struct.new(
|
1255
|
+
:max_results,
|
1256
|
+
:next_token)
|
1257
|
+
SENSITIVE = []
|
1258
|
+
include Aws::Structure
|
1259
|
+
end
|
1260
|
+
|
1261
|
+
# @!attribute [rw] target_resource_types
|
1262
|
+
# The target resource types.
|
1263
|
+
# @return [Array<Types::TargetResourceTypeSummary>]
|
1264
|
+
#
|
1265
|
+
# @!attribute [rw] next_token
|
1266
|
+
# The token to use to retrieve the next page of results. This value is
|
1267
|
+
# `null` when there are no more results to return.
|
1268
|
+
# @return [String]
|
1269
|
+
#
|
1270
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListTargetResourceTypesResponse AWS API Documentation
|
1271
|
+
#
|
1272
|
+
class ListTargetResourceTypesResponse < Struct.new(
|
1273
|
+
:target_resource_types,
|
1274
|
+
:next_token)
|
1275
|
+
SENSITIVE = []
|
1276
|
+
include Aws::Structure
|
1277
|
+
end
|
1278
|
+
|
1151
1279
|
# The specified resource cannot be found.
|
1152
1280
|
#
|
1153
1281
|
# @!attribute [rw] message
|
@@ -1285,6 +1413,69 @@ module Aws::FIS
|
|
1285
1413
|
#
|
1286
1414
|
class TagResourceResponse < Aws::EmptyStructure; end
|
1287
1415
|
|
1416
|
+
# Describes a resource type.
|
1417
|
+
#
|
1418
|
+
# @!attribute [rw] resource_type
|
1419
|
+
# The resource type.
|
1420
|
+
# @return [String]
|
1421
|
+
#
|
1422
|
+
# @!attribute [rw] description
|
1423
|
+
# A description of the resource type.
|
1424
|
+
# @return [String]
|
1425
|
+
#
|
1426
|
+
# @!attribute [rw] parameters
|
1427
|
+
# The parameters for the resource type.
|
1428
|
+
# @return [Hash<String,Types::TargetResourceTypeParameter>]
|
1429
|
+
#
|
1430
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/TargetResourceType AWS API Documentation
|
1431
|
+
#
|
1432
|
+
class TargetResourceType < Struct.new(
|
1433
|
+
:resource_type,
|
1434
|
+
:description,
|
1435
|
+
:parameters)
|
1436
|
+
SENSITIVE = []
|
1437
|
+
include Aws::Structure
|
1438
|
+
end
|
1439
|
+
|
1440
|
+
# Describes the parameters for a resource type. Use parameters to
|
1441
|
+
# determine which tasks are identified during target resolution.
|
1442
|
+
#
|
1443
|
+
# @!attribute [rw] description
|
1444
|
+
# A description of the parameter.
|
1445
|
+
# @return [String]
|
1446
|
+
#
|
1447
|
+
# @!attribute [rw] required
|
1448
|
+
# Indicates whether the parameter is required.
|
1449
|
+
# @return [Boolean]
|
1450
|
+
#
|
1451
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/TargetResourceTypeParameter AWS API Documentation
|
1452
|
+
#
|
1453
|
+
class TargetResourceTypeParameter < Struct.new(
|
1454
|
+
:description,
|
1455
|
+
:required)
|
1456
|
+
SENSITIVE = []
|
1457
|
+
include Aws::Structure
|
1458
|
+
end
|
1459
|
+
|
1460
|
+
# Describes a resource type.
|
1461
|
+
#
|
1462
|
+
# @!attribute [rw] resource_type
|
1463
|
+
# The resource type.
|
1464
|
+
# @return [String]
|
1465
|
+
#
|
1466
|
+
# @!attribute [rw] description
|
1467
|
+
# A description of the resource type.
|
1468
|
+
# @return [String]
|
1469
|
+
#
|
1470
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/TargetResourceTypeSummary AWS API Documentation
|
1471
|
+
#
|
1472
|
+
class TargetResourceTypeSummary < Struct.new(
|
1473
|
+
:resource_type,
|
1474
|
+
:description)
|
1475
|
+
SENSITIVE = []
|
1476
|
+
include Aws::Structure
|
1477
|
+
end
|
1478
|
+
|
1288
1479
|
# @note When making an API call, you may pass UntagResourceRequest
|
1289
1480
|
# data as a hash:
|
1290
1481
|
#
|
@@ -1379,7 +1570,7 @@ module Aws::FIS
|
|
1379
1570
|
# ],
|
1380
1571
|
# targets: {
|
1381
1572
|
# "ExperimentTemplateTargetName" => {
|
1382
|
-
# resource_type: "
|
1573
|
+
# resource_type: "TargetResourceTypeId", # required
|
1383
1574
|
# resource_arns: ["ResourceArn"],
|
1384
1575
|
# resource_tags: {
|
1385
1576
|
# "TagKey" => "TagValue",
|
@@ -1391,6 +1582,9 @@ module Aws::FIS
|
|
1391
1582
|
# },
|
1392
1583
|
# ],
|
1393
1584
|
# selection_mode: "ExperimentTemplateTargetSelectionMode", # required
|
1585
|
+
# parameters: {
|
1586
|
+
# "ExperimentTemplateTargetParameterName" => "ExperimentTemplateTargetParameterValue",
|
1587
|
+
# },
|
1394
1588
|
# },
|
1395
1589
|
# },
|
1396
1590
|
# actions: {
|
@@ -1430,8 +1624,8 @@ module Aws::FIS
|
|
1430
1624
|
# @return [Hash<String,Types::UpdateExperimentTemplateActionInputItem>]
|
1431
1625
|
#
|
1432
1626
|
# @!attribute [rw] role_arn
|
1433
|
-
# The Amazon Resource Name (ARN) of an IAM role that grants the
|
1434
|
-
#
|
1627
|
+
# The Amazon Resource Name (ARN) of an IAM role that grants the FIS
|
1628
|
+
# service permission to perform service actions on your behalf.
|
1435
1629
|
# @return [String]
|
1436
1630
|
#
|
1437
1631
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/UpdateExperimentTemplateRequest AWS API Documentation
|
@@ -1497,7 +1691,7 @@ module Aws::FIS
|
|
1497
1691
|
# data as a hash:
|
1498
1692
|
#
|
1499
1693
|
# {
|
1500
|
-
# resource_type: "
|
1694
|
+
# resource_type: "TargetResourceTypeId", # required
|
1501
1695
|
# resource_arns: ["ResourceArn"],
|
1502
1696
|
# resource_tags: {
|
1503
1697
|
# "TagKey" => "TagValue",
|
@@ -1509,10 +1703,13 @@ module Aws::FIS
|
|
1509
1703
|
# },
|
1510
1704
|
# ],
|
1511
1705
|
# selection_mode: "ExperimentTemplateTargetSelectionMode", # required
|
1706
|
+
# parameters: {
|
1707
|
+
# "ExperimentTemplateTargetParameterName" => "ExperimentTemplateTargetParameterValue",
|
1708
|
+
# },
|
1512
1709
|
# }
|
1513
1710
|
#
|
1514
1711
|
# @!attribute [rw] resource_type
|
1515
|
-
# The
|
1712
|
+
# The resource type. The resource type must be supported for the
|
1516
1713
|
# specified action.
|
1517
1714
|
# @return [String]
|
1518
1715
|
#
|
@@ -1533,6 +1730,10 @@ module Aws::FIS
|
|
1533
1730
|
# Scopes the identified resources to a specific count or percentage.
|
1534
1731
|
# @return [String]
|
1535
1732
|
#
|
1733
|
+
# @!attribute [rw] parameters
|
1734
|
+
# The resource type parameters.
|
1735
|
+
# @return [Hash<String,String>]
|
1736
|
+
#
|
1536
1737
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/UpdateExperimentTemplateTargetInput AWS API Documentation
|
1537
1738
|
#
|
1538
1739
|
class UpdateExperimentTemplateTargetInput < Struct.new(
|
@@ -1540,7 +1741,8 @@ module Aws::FIS
|
|
1540
1741
|
:resource_arns,
|
1541
1742
|
:resource_tags,
|
1542
1743
|
:filters,
|
1543
|
-
:selection_mode
|
1744
|
+
:selection_mode,
|
1745
|
+
:parameters)
|
1544
1746
|
SENSITIVE = []
|
1545
1747
|
include Aws::Structure
|
1546
1748
|
end
|
data/lib/aws-sdk-fis.rb
CHANGED
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.11.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:
|
11
|
+
date: 2022-02-03 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.126.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.126.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|