aws-sdk-fis 1.6.0 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eda89b949898daba8b73594d54d7538e1cf0d2490b1bc1c1219bced083b90729
4
- data.tar.gz: 63a55e4fb101725deffc27d91d5f1be0e99e37e76400ac4ea926be2ca7ea6852
3
+ metadata.gz: dda420815a9974078213fe14f5f39e3b6e409528eedc19fc7b6b6bda9b2c75be
4
+ data.tar.gz: 7f5a28006b4c33ef7d61963cd4cac727c97731fa4d1d5dcd1316c87f081bb494
5
5
  SHA512:
6
- metadata.gz: e82fbb3bdf6cd0c0a5f17f16b61563fb81bf78d8720ff18afee466a2a69663050ee65c80bd7000e52934c8db67544656e1d069fb510f8f667993931d6839c32a
7
- data.tar.gz: 96a8d3773b65fc782fb4dae39e119041fc8ad8fba29f76496c3d2c478b05ecf332419d471c75a0da9c58129be68f82caaf35bd6709e8368a22bc275e28cbb38f
6
+ metadata.gz: 64ef718f191f6d3a28e23cb541cab9ca17136610e557ad29cc86127015895bb701eefea8a7e0daf2d48fe45be4930e09de73a5f8c699a9fc3ceb6e90ac319109
7
+ data.tar.gz: f557ad0c446ee561045b912bd3d3771591ebaf5bed47644b57c031e276ab12e7a62367a773e66113917818d4020ec6a3ebebca11bb46524baa69ad59335b091e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.10.0 (2022-02-02)
5
+ ------------------
6
+
7
+ * 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.
8
+
9
+ 1.9.0 (2022-01-20)
10
+ ------------------
11
+
12
+ * Feature - Added action startTime and action endTime timestamp fields to the ExperimentAction object
13
+
14
+ 1.8.0 (2021-12-21)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.7.0 (2021-11-30)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.6.0 (2021-11-04)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.0
1
+ 1.10.0
@@ -27,6 +27,7 @@ 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'
30
31
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
32
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
32
33
 
@@ -73,6 +74,7 @@ module Aws::FIS
73
74
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
75
  add_plugin(Aws::Plugins::TransferEncoding)
75
76
  add_plugin(Aws::Plugins::HttpChecksum)
77
+ add_plugin(Aws::Plugins::DefaultsMode)
76
78
  add_plugin(Aws::Plugins::SignatureV4)
77
79
  add_plugin(Aws::Plugins::Protocols::RestJson)
78
80
 
@@ -119,7 +121,9 @@ module Aws::FIS
119
121
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
122
  # are very aggressive. Construct and pass an instance of
121
123
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
124
+ # enable retries and extended timeouts. Instance profile credential
125
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
126
+ # to true.
123
127
  #
124
128
  # @option options [required, String] :region
125
129
  # The AWS region to connect to. The configured `:region` is
@@ -173,6 +177,10 @@ module Aws::FIS
173
177
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
178
  # a clock skew correction and retry requests with skewed client clocks.
175
179
  #
180
+ # @option options [String] :defaults_mode ("legacy")
181
+ # See {Aws::DefaultsModeConfiguration} for a list of the
182
+ # accepted modes and the configuration defaults that are included.
183
+ #
176
184
  # @option options [Boolean] :disable_host_prefix_injection (false)
177
185
  # Set to true to disable SDK automatically adding host prefix
178
186
  # to default service endpoint when available.
@@ -295,7 +303,7 @@ module Aws::FIS
295
303
  # seconds to wait when opening a HTTP session before raising a
296
304
  # `Timeout::Error`.
297
305
  #
298
- # @option options [Integer] :http_read_timeout (60) The default
306
+ # @option options [Float] :http_read_timeout (60) The default
299
307
  # number of seconds to wait for response data. This value can
300
308
  # safely be set per-request on the session.
301
309
  #
@@ -311,6 +319,9 @@ module Aws::FIS
311
319
  # disables this behaviour. This value can safely be set per
312
320
  # request on the session.
313
321
  #
322
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
323
+ # in seconds.
324
+ #
314
325
  # @option options [Boolean] :http_wire_trace (false) When `true`,
315
326
  # HTTP debug output will be sent to the `:logger`.
316
327
  #
@@ -338,11 +349,11 @@ module Aws::FIS
338
349
 
339
350
  # Creates an experiment template.
340
351
  #
341
- # To create a template, specify the following information:
352
+ # An experiment template includes the following components:
342
353
  #
343
- # * **Targets**\: A target can be a specific resource in your AWS
344
- # environment, or one or more resources that match criteria that you
345
- # specify, for example, resources that have specific tags.
354
+ # * **Targets**\: A target can be a specific resource in your Amazon Web
355
+ # Services environment, or one or more resources that match criteria
356
+ # that you specify, for example, resources that have specific tags.
346
357
  #
347
358
  # * **Actions**\: The actions to carry out on the target. You can
348
359
  # specify multiple actions, the duration of each action, and when to
@@ -352,12 +363,12 @@ module Aws::FIS
352
363
  # experiment is running, the experiment is automatically stopped. You
353
364
  # can define a stop condition as a CloudWatch alarm.
354
365
  #
355
- # For more information, see the [AWS Fault Injection Simulator User
356
- # Guide][1].
366
+ # For more information, see [Experiment templates][1] in the *Fault
367
+ # Injection Simulator User Guide*.
357
368
  #
358
369
  #
359
370
  #
360
- # [1]: https://docs.aws.amazon.com/fis/latest/userguide/
371
+ # [1]: https://docs.aws.amazon.com/fis/latest/userguide/experiment-templates.html
361
372
  #
362
373
  # @option params [required, String] :client_token
363
374
  # Unique, case-sensitive identifier that you provide to ensure the
@@ -367,8 +378,7 @@ module Aws::FIS
367
378
  # not need to pass this option.**
368
379
  #
369
380
  # @option params [required, String] :description
370
- # A description for the experiment template. Can contain up to 64
371
- # letters (A-Z and a-z).
381
+ # A description for the experiment template.
372
382
  #
373
383
  # @option params [required, Array<Types::CreateExperimentTemplateStopConditionInput>] :stop_conditions
374
384
  # The stop conditions.
@@ -380,7 +390,7 @@ module Aws::FIS
380
390
  # The actions for the experiment.
381
391
  #
382
392
  # @option params [required, String] :role_arn
383
- # The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS
393
+ # The Amazon Resource Name (ARN) of an IAM role that grants the FIS
384
394
  # service permission to perform service actions on your behalf.
385
395
  #
386
396
  # @option params [Hash<String,String>] :tags
@@ -403,7 +413,7 @@ module Aws::FIS
403
413
  # ],
404
414
  # targets: {
405
415
  # "ExperimentTemplateTargetName" => {
406
- # resource_type: "ResourceType", # required
416
+ # resource_type: "TargetResourceTypeId", # required
407
417
  # resource_arns: ["ResourceArn"],
408
418
  # resource_tags: {
409
419
  # "TagKey" => "TagValue",
@@ -415,6 +425,9 @@ module Aws::FIS
415
425
  # },
416
426
  # ],
417
427
  # selection_mode: "ExperimentTemplateTargetSelectionMode", # required
428
+ # parameters: {
429
+ # "ExperimentTemplateTargetParameterName" => "ExperimentTemplateTargetParameterValue",
430
+ # },
418
431
  # },
419
432
  # },
420
433
  # actions: { # required
@@ -451,6 +464,8 @@ module Aws::FIS
451
464
  # resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values #=> Array
452
465
  # resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values[0] #=> String
453
466
  # resp.experiment_template.targets["ExperimentTemplateTargetName"].selection_mode #=> String
467
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].parameters #=> Hash
468
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].parameters["ExperimentTemplateTargetParameterName"] #=> String
454
469
  # resp.experiment_template.actions #=> Hash
455
470
  # resp.experiment_template.actions["ExperimentTemplateActionName"].action_id #=> String
456
471
  # resp.experiment_template.actions["ExperimentTemplateActionName"].description #=> String
@@ -508,6 +523,8 @@ module Aws::FIS
508
523
  # resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values #=> Array
509
524
  # resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values[0] #=> String
510
525
  # resp.experiment_template.targets["ExperimentTemplateTargetName"].selection_mode #=> String
526
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].parameters #=> Hash
527
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].parameters["ExperimentTemplateTargetParameterName"] #=> String
511
528
  # resp.experiment_template.actions #=> Hash
512
529
  # resp.experiment_template.actions["ExperimentTemplateActionName"].action_id #=> String
513
530
  # resp.experiment_template.actions["ExperimentTemplateActionName"].description #=> String
@@ -535,7 +552,7 @@ module Aws::FIS
535
552
  req.send_request(options)
536
553
  end
537
554
 
538
- # Gets information about the specified AWS FIS action.
555
+ # Gets information about the specified FIS action.
539
556
  #
540
557
  # @option params [required, String] :id
541
558
  # The ID of the action.
@@ -604,6 +621,8 @@ module Aws::FIS
604
621
  # resp.experiment.targets["ExperimentTargetName"].filters[0].values #=> Array
605
622
  # resp.experiment.targets["ExperimentTargetName"].filters[0].values[0] #=> String
606
623
  # resp.experiment.targets["ExperimentTargetName"].selection_mode #=> String
624
+ # resp.experiment.targets["ExperimentTargetName"].parameters #=> Hash
625
+ # resp.experiment.targets["ExperimentTargetName"].parameters["ExperimentTargetParameterName"] #=> String
607
626
  # resp.experiment.actions #=> Hash
608
627
  # resp.experiment.actions["ExperimentActionName"].action_id #=> String
609
628
  # resp.experiment.actions["ExperimentActionName"].description #=> String
@@ -615,6 +634,8 @@ module Aws::FIS
615
634
  # resp.experiment.actions["ExperimentActionName"].start_after[0] #=> String
616
635
  # resp.experiment.actions["ExperimentActionName"].state.status #=> String, one of "pending", "initiating", "running", "completed", "cancelled", "stopping", "stopped", "failed"
617
636
  # resp.experiment.actions["ExperimentActionName"].state.reason #=> String
637
+ # resp.experiment.actions["ExperimentActionName"].start_time #=> Time
638
+ # resp.experiment.actions["ExperimentActionName"].end_time #=> Time
618
639
  # resp.experiment.stop_conditions #=> Array
619
640
  # resp.experiment.stop_conditions[0].source #=> String
620
641
  # resp.experiment.stop_conditions[0].value #=> String
@@ -663,6 +684,8 @@ module Aws::FIS
663
684
  # resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values #=> Array
664
685
  # resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values[0] #=> String
665
686
  # resp.experiment_template.targets["ExperimentTemplateTargetName"].selection_mode #=> String
687
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].parameters #=> Hash
688
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].parameters["ExperimentTemplateTargetParameterName"] #=> String
666
689
  # resp.experiment_template.actions #=> Hash
667
690
  # resp.experiment_template.actions["ExperimentTemplateActionName"].action_id #=> String
668
691
  # resp.experiment_template.actions["ExperimentTemplateActionName"].description #=> String
@@ -690,7 +713,39 @@ module Aws::FIS
690
713
  req.send_request(options)
691
714
  end
692
715
 
693
- # Lists the available AWS FIS actions.
716
+ # Gets information about the specified resource type.
717
+ #
718
+ # @option params [required, String] :resource_type
719
+ # The resource type.
720
+ #
721
+ # @return [Types::GetTargetResourceTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
722
+ #
723
+ # * {Types::GetTargetResourceTypeResponse#target_resource_type #target_resource_type} => Types::TargetResourceType
724
+ #
725
+ # @example Request syntax with placeholder values
726
+ #
727
+ # resp = client.get_target_resource_type({
728
+ # resource_type: "TargetResourceTypeId", # required
729
+ # })
730
+ #
731
+ # @example Response structure
732
+ #
733
+ # resp.target_resource_type.resource_type #=> String
734
+ # resp.target_resource_type.description #=> String
735
+ # resp.target_resource_type.parameters #=> Hash
736
+ # resp.target_resource_type.parameters["TargetResourceTypeParameterName"].description #=> String
737
+ # resp.target_resource_type.parameters["TargetResourceTypeParameterName"].required #=> Boolean
738
+ #
739
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetTargetResourceType AWS API Documentation
740
+ #
741
+ # @overload get_target_resource_type(params = {})
742
+ # @param [Hash] params ({})
743
+ def get_target_resource_type(params = {}, options = {})
744
+ req = build_request(:get_target_resource_type, params)
745
+ req.send_request(options)
746
+ end
747
+
748
+ # Lists the available FIS actions.
694
749
  #
695
750
  # @option params [Integer] :max_results
696
751
  # The maximum number of results to return with a single call. To
@@ -852,6 +907,46 @@ module Aws::FIS
852
907
  req.send_request(options)
853
908
  end
854
909
 
910
+ # Lists the target resource types.
911
+ #
912
+ # @option params [Integer] :max_results
913
+ # The maximum number of results to return with a single call. To
914
+ # retrieve the remaining results, make another call with the returned
915
+ # `nextToken` value.
916
+ #
917
+ # @option params [String] :next_token
918
+ # The token for the next page of results.
919
+ #
920
+ # @return [Types::ListTargetResourceTypesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
921
+ #
922
+ # * {Types::ListTargetResourceTypesResponse#target_resource_types #target_resource_types} => Array&lt;Types::TargetResourceTypeSummary&gt;
923
+ # * {Types::ListTargetResourceTypesResponse#next_token #next_token} => String
924
+ #
925
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
926
+ #
927
+ # @example Request syntax with placeholder values
928
+ #
929
+ # resp = client.list_target_resource_types({
930
+ # max_results: 1,
931
+ # next_token: "NextToken",
932
+ # })
933
+ #
934
+ # @example Response structure
935
+ #
936
+ # resp.target_resource_types #=> Array
937
+ # resp.target_resource_types[0].resource_type #=> String
938
+ # resp.target_resource_types[0].description #=> String
939
+ # resp.next_token #=> String
940
+ #
941
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListTargetResourceTypes AWS API Documentation
942
+ #
943
+ # @overload list_target_resource_types(params = {})
944
+ # @param [Hash] params ({})
945
+ def list_target_resource_types(params = {}, options = {})
946
+ req = build_request(:list_target_resource_types, params)
947
+ req.send_request(options)
948
+ end
949
+
855
950
  # Starts running an experiment from the specified experiment template.
856
951
  #
857
952
  # @option params [required, String] :client_token
@@ -899,6 +994,8 @@ module Aws::FIS
899
994
  # resp.experiment.targets["ExperimentTargetName"].filters[0].values #=> Array
900
995
  # resp.experiment.targets["ExperimentTargetName"].filters[0].values[0] #=> String
901
996
  # resp.experiment.targets["ExperimentTargetName"].selection_mode #=> String
997
+ # resp.experiment.targets["ExperimentTargetName"].parameters #=> Hash
998
+ # resp.experiment.targets["ExperimentTargetName"].parameters["ExperimentTargetParameterName"] #=> String
902
999
  # resp.experiment.actions #=> Hash
903
1000
  # resp.experiment.actions["ExperimentActionName"].action_id #=> String
904
1001
  # resp.experiment.actions["ExperimentActionName"].description #=> String
@@ -910,6 +1007,8 @@ module Aws::FIS
910
1007
  # resp.experiment.actions["ExperimentActionName"].start_after[0] #=> String
911
1008
  # resp.experiment.actions["ExperimentActionName"].state.status #=> String, one of "pending", "initiating", "running", "completed", "cancelled", "stopping", "stopped", "failed"
912
1009
  # resp.experiment.actions["ExperimentActionName"].state.reason #=> String
1010
+ # resp.experiment.actions["ExperimentActionName"].start_time #=> Time
1011
+ # resp.experiment.actions["ExperimentActionName"].end_time #=> Time
913
1012
  # resp.experiment.stop_conditions #=> Array
914
1013
  # resp.experiment.stop_conditions[0].source #=> String
915
1014
  # resp.experiment.stop_conditions[0].value #=> String
@@ -961,6 +1060,8 @@ module Aws::FIS
961
1060
  # resp.experiment.targets["ExperimentTargetName"].filters[0].values #=> Array
962
1061
  # resp.experiment.targets["ExperimentTargetName"].filters[0].values[0] #=> String
963
1062
  # resp.experiment.targets["ExperimentTargetName"].selection_mode #=> String
1063
+ # resp.experiment.targets["ExperimentTargetName"].parameters #=> Hash
1064
+ # resp.experiment.targets["ExperimentTargetName"].parameters["ExperimentTargetParameterName"] #=> String
964
1065
  # resp.experiment.actions #=> Hash
965
1066
  # resp.experiment.actions["ExperimentActionName"].action_id #=> String
966
1067
  # resp.experiment.actions["ExperimentActionName"].description #=> String
@@ -972,6 +1073,8 @@ module Aws::FIS
972
1073
  # resp.experiment.actions["ExperimentActionName"].start_after[0] #=> String
973
1074
  # resp.experiment.actions["ExperimentActionName"].state.status #=> String, one of "pending", "initiating", "running", "completed", "cancelled", "stopping", "stopped", "failed"
974
1075
  # resp.experiment.actions["ExperimentActionName"].state.reason #=> String
1076
+ # resp.experiment.actions["ExperimentActionName"].start_time #=> Time
1077
+ # resp.experiment.actions["ExperimentActionName"].end_time #=> Time
975
1078
  # resp.experiment.stop_conditions #=> Array
976
1079
  # resp.experiment.stop_conditions[0].source #=> String
977
1080
  # resp.experiment.stop_conditions[0].value #=> String
@@ -1062,7 +1165,7 @@ module Aws::FIS
1062
1165
  # The actions for the experiment.
1063
1166
  #
1064
1167
  # @option params [String] :role_arn
1065
- # The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS
1168
+ # The Amazon Resource Name (ARN) of an IAM role that grants the FIS
1066
1169
  # service permission to perform service actions on your behalf.
1067
1170
  #
1068
1171
  # @return [Types::UpdateExperimentTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -1082,7 +1185,7 @@ module Aws::FIS
1082
1185
  # ],
1083
1186
  # targets: {
1084
1187
  # "ExperimentTemplateTargetName" => {
1085
- # resource_type: "ResourceType", # required
1188
+ # resource_type: "TargetResourceTypeId", # required
1086
1189
  # resource_arns: ["ResourceArn"],
1087
1190
  # resource_tags: {
1088
1191
  # "TagKey" => "TagValue",
@@ -1094,6 +1197,9 @@ module Aws::FIS
1094
1197
  # },
1095
1198
  # ],
1096
1199
  # selection_mode: "ExperimentTemplateTargetSelectionMode", # required
1200
+ # parameters: {
1201
+ # "ExperimentTemplateTargetParameterName" => "ExperimentTemplateTargetParameterValue",
1202
+ # },
1097
1203
  # },
1098
1204
  # },
1099
1205
  # actions: {
@@ -1127,6 +1233,8 @@ module Aws::FIS
1127
1233
  # resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values #=> Array
1128
1234
  # resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values[0] #=> String
1129
1235
  # resp.experiment_template.targets["ExperimentTemplateTargetName"].selection_mode #=> String
1236
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].parameters #=> Hash
1237
+ # resp.experiment_template.targets["ExperimentTemplateTargetName"].parameters["ExperimentTemplateTargetParameterName"] #=> String
1130
1238
  # resp.experiment_template.actions #=> Hash
1131
1239
  # resp.experiment_template.actions["ExperimentTemplateActionName"].action_id #=> String
1132
1240
  # resp.experiment_template.actions["ExperimentTemplateActionName"].description #=> String
@@ -1167,7 +1275,7 @@ module Aws::FIS
1167
1275
  params: params,
1168
1276
  config: config)
1169
1277
  context[:gem_name] = 'aws-sdk-fis'
1170
- context[:gem_version] = '1.6.0'
1278
+ context[:gem_version] = '1.10.0'
1171
1279
  Seahorse::Client::Request.new(handlers, context)
1172
1280
  end
1173
1281
 
@@ -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::StringShape.new(name: 'TargetResourceType')
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: TargetResourceType, location_name: "resourceType"))
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: ResourceType, required: true, location_name: "resourceType"))
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: ResourceType, location_name: "resourceType"))
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: ResourceType, location_name: "resourceType"))
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: ResourceType, required: true, location_name: "resourceType"))
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"
@@ -10,8 +10,8 @@
10
10
  module Aws::FIS
11
11
  module Types
12
12
 
13
- # Describes an action. For more information, see [AWS FIS actions][1] in
14
- # the *AWS Fault Injection Simulator User Guide*.
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: "ResourceType", # required
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. Can contain up to 64
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 AWS
252
- # FIS service permission to perform service actions on your behalf.
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: "ResourceType", # required
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 AWS resource type. The resource type must be supported for 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 AWS
427
- # FIS service permission to perform service actions on your behalf.
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 was started.
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
- # Describes a filter used for the target resource input in an experiment
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: "ResourceType", # required
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 AWS
1434
- # FIS service permission to perform service actions on your behalf.
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: "ResourceType", # required
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 AWS resource type. The resource type must be supported for 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
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-fis/customizations'
48
48
  # @!group service
49
49
  module Aws::FIS
50
50
 
51
- GEM_VERSION = '1.6.0'
51
+ GEM_VERSION = '1.10.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-fis
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.10.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: 2021-11-04 00:00:00.000000000 Z
11
+ date: 2022-02-02 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.122.0
22
+ version: 3.125.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.122.0
32
+ version: 3.125.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement