aws-sdk-fis 1.24.0 → 1.25.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: 8b7aca70537bcc6800e22555131dffbdbd49f1b797565c33cbd66cc44d6028f5
4
- data.tar.gz: '030903c246562768a02640bcdfa98d531e78df9786c7dbcfbc7f12e5c597ce65'
3
+ metadata.gz: 16b9bf5a8c28250e8db149cb3a5b36340ac37f64a796c3cdb84800926cb5acb8
4
+ data.tar.gz: 41af860926698b3c85350c20eb696b404fdfa1a1b70ca6b4775709cba61b0e00
5
5
  SHA512:
6
- metadata.gz: 509ff230e80ecb7f8ddf698240011933197580e83aa20463375d1f472c737469d46f04aed92aa20ce4bd36b3993e08b443d6bafea435041eccdc22cbb3cb5f24
7
- data.tar.gz: ef7da9f9da93af592a35d1058257c9b5bba2b251abfb91af0d39ddf7484340a7d41c87e89751e208346e3c08437ed98d44df761120a92d0bf73731ba6cea29d9
6
+ metadata.gz: 2238b0e493ee663de7516f4f9bc38027c570960d2dfa60b3bd2823a6cdc253f11754140346f767f084eb04c13a4dbf33f350b276ae2826c6a6bf839068f5519d
7
+ data.tar.gz: 45499ff2d5f154ca0fafba0cbe3f18f6417176e091399ffb022526b267ace458e5ef9af3b27cb4781ed20f987b4911ed97f14f8c97143646c1ae55606c59d6b6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.25.0 (2023-11-27)
5
+ ------------------
6
+
7
+ * Feature - AWS FIS adds support for multi-account experiments & empty target resolution. This release also introduces the CreateTargetAccountConfiguration API that allows experiments across multiple AWS accounts, and the ListExperimentResolvedTargets API to list target details.
8
+
4
9
  1.24.0 (2023-11-22)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.24.0
1
+ 1.25.0
@@ -404,7 +404,7 @@ module Aws::FIS
404
404
  # experiment is running, the experiment is automatically stopped. You
405
405
  # can define a stop condition as a CloudWatch alarm.
406
406
  #
407
- # For more information, see [Experiment templates][1] in the *Fault
407
+ # For more information, see [experiment templates][1] in the *Fault
408
408
  # Injection Simulator User Guide*.
409
409
  #
410
410
  #
@@ -440,6 +440,9 @@ module Aws::FIS
440
440
  # @option params [Types::CreateExperimentTemplateLogConfigurationInput] :log_configuration
441
441
  # The configuration for experiment logging.
442
442
  #
443
+ # @option params [Types::CreateExperimentTemplateExperimentOptionsInput] :experiment_options
444
+ # The experiment options for the experiment template.
445
+ #
443
446
  # @return [Types::CreateExperimentTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
444
447
  #
445
448
  # * {Types::CreateExperimentTemplateResponse#experiment_template #experiment_template} => Types::ExperimentTemplate
@@ -501,6 +504,10 @@ module Aws::FIS
501
504
  # },
502
505
  # log_schema_version: 1, # required
503
506
  # },
507
+ # experiment_options: {
508
+ # account_targeting: "single-account", # accepts single-account, multi-account
509
+ # empty_target_resolution_mode: "fail", # accepts fail, skip
510
+ # },
504
511
  # })
505
512
  #
506
513
  # @example Response structure
@@ -541,6 +548,9 @@ module Aws::FIS
541
548
  # resp.experiment_template.log_configuration.s3_configuration.bucket_name #=> String
542
549
  # resp.experiment_template.log_configuration.s3_configuration.prefix #=> String
543
550
  # resp.experiment_template.log_configuration.log_schema_version #=> Integer
551
+ # resp.experiment_template.experiment_options.account_targeting #=> String, one of "single-account", "multi-account"
552
+ # resp.experiment_template.experiment_options.empty_target_resolution_mode #=> String, one of "fail", "skip"
553
+ # resp.experiment_template.target_account_configurations_count #=> Integer
544
554
  #
545
555
  # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/CreateExperimentTemplate AWS API Documentation
546
556
  #
@@ -551,6 +561,64 @@ module Aws::FIS
551
561
  req.send_request(options)
552
562
  end
553
563
 
564
+ # Creates a target account configuration for the experiment template. A
565
+ # target account configuration is required when `accountTargeting` of
566
+ # `experimentOptions` is set to `multi-account`. For more information,
567
+ # see [experiment options][1] in the *Fault Injection Simulator User
568
+ # Guide*.
569
+ #
570
+ #
571
+ #
572
+ # [1]: https://docs.aws.amazon.com/fis/latest/userguide/experiment-options.html
573
+ #
574
+ # @option params [String] :client_token
575
+ # Unique, case-sensitive identifier that you provide to ensure the
576
+ # idempotency of the request.
577
+ #
578
+ # **A suitable default value is auto-generated.** You should normally
579
+ # not need to pass this option.**
580
+ #
581
+ # @option params [required, String] :experiment_template_id
582
+ # The experiment template ID.
583
+ #
584
+ # @option params [required, String] :account_id
585
+ # The AWS account ID of the target account.
586
+ #
587
+ # @option params [required, String] :role_arn
588
+ # The Amazon Resource Name (ARN) of an IAM role for the target account.
589
+ #
590
+ # @option params [String] :description
591
+ # The description of the target account.
592
+ #
593
+ # @return [Types::CreateTargetAccountConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
594
+ #
595
+ # * {Types::CreateTargetAccountConfigurationResponse#target_account_configuration #target_account_configuration} => Types::TargetAccountConfiguration
596
+ #
597
+ # @example Request syntax with placeholder values
598
+ #
599
+ # resp = client.create_target_account_configuration({
600
+ # client_token: "ClientToken",
601
+ # experiment_template_id: "ExperimentTemplateId", # required
602
+ # account_id: "TargetAccountId", # required
603
+ # role_arn: "RoleArn", # required
604
+ # description: "TargetAccountConfigurationDescription",
605
+ # })
606
+ #
607
+ # @example Response structure
608
+ #
609
+ # resp.target_account_configuration.role_arn #=> String
610
+ # resp.target_account_configuration.account_id #=> String
611
+ # resp.target_account_configuration.description #=> String
612
+ #
613
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/CreateTargetAccountConfiguration AWS API Documentation
614
+ #
615
+ # @overload create_target_account_configuration(params = {})
616
+ # @param [Hash] params ({})
617
+ def create_target_account_configuration(params = {}, options = {})
618
+ req = build_request(:create_target_account_configuration, params)
619
+ req.send_request(options)
620
+ end
621
+
554
622
  # Deletes the specified experiment template.
555
623
  #
556
624
  # @option params [required, String] :id
@@ -604,6 +672,9 @@ module Aws::FIS
604
672
  # resp.experiment_template.log_configuration.s3_configuration.bucket_name #=> String
605
673
  # resp.experiment_template.log_configuration.s3_configuration.prefix #=> String
606
674
  # resp.experiment_template.log_configuration.log_schema_version #=> Integer
675
+ # resp.experiment_template.experiment_options.account_targeting #=> String, one of "single-account", "multi-account"
676
+ # resp.experiment_template.experiment_options.empty_target_resolution_mode #=> String, one of "fail", "skip"
677
+ # resp.experiment_template.target_account_configurations_count #=> Integer
607
678
  #
608
679
  # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/DeleteExperimentTemplate AWS API Documentation
609
680
  #
@@ -614,6 +685,41 @@ module Aws::FIS
614
685
  req.send_request(options)
615
686
  end
616
687
 
688
+ # Deletes the specified target account configuration of the experiment
689
+ # template.
690
+ #
691
+ # @option params [required, String] :experiment_template_id
692
+ # The ID of the experiment template.
693
+ #
694
+ # @option params [required, String] :account_id
695
+ # The AWS account ID of the target account.
696
+ #
697
+ # @return [Types::DeleteTargetAccountConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
698
+ #
699
+ # * {Types::DeleteTargetAccountConfigurationResponse#target_account_configuration #target_account_configuration} => Types::TargetAccountConfiguration
700
+ #
701
+ # @example Request syntax with placeholder values
702
+ #
703
+ # resp = client.delete_target_account_configuration({
704
+ # experiment_template_id: "ExperimentTemplateId", # required
705
+ # account_id: "TargetAccountId", # required
706
+ # })
707
+ #
708
+ # @example Response structure
709
+ #
710
+ # resp.target_account_configuration.role_arn #=> String
711
+ # resp.target_account_configuration.account_id #=> String
712
+ # resp.target_account_configuration.description #=> String
713
+ #
714
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/DeleteTargetAccountConfiguration AWS API Documentation
715
+ #
716
+ # @overload delete_target_account_configuration(params = {})
717
+ # @param [Hash] params ({})
718
+ def delete_target_account_configuration(params = {}, options = {})
719
+ req = build_request(:delete_target_account_configuration, params)
720
+ req.send_request(options)
721
+ end
722
+
617
723
  # Gets information about the specified FIS action.
618
724
  #
619
725
  # @option params [required, String] :id
@@ -694,7 +800,7 @@ module Aws::FIS
694
800
  # resp.experiment.actions["ExperimentActionName"].targets["ExperimentActionTargetName"] #=> String
695
801
  # resp.experiment.actions["ExperimentActionName"].start_after #=> Array
696
802
  # resp.experiment.actions["ExperimentActionName"].start_after[0] #=> String
697
- # resp.experiment.actions["ExperimentActionName"].state.status #=> String, one of "pending", "initiating", "running", "completed", "cancelled", "stopping", "stopped", "failed"
803
+ # resp.experiment.actions["ExperimentActionName"].state.status #=> String, one of "pending", "initiating", "running", "completed", "cancelled", "stopping", "stopped", "failed", "skipped"
698
804
  # resp.experiment.actions["ExperimentActionName"].state.reason #=> String
699
805
  # resp.experiment.actions["ExperimentActionName"].start_time #=> Time
700
806
  # resp.experiment.actions["ExperimentActionName"].end_time #=> Time
@@ -710,6 +816,9 @@ module Aws::FIS
710
816
  # resp.experiment.log_configuration.s3_configuration.bucket_name #=> String
711
817
  # resp.experiment.log_configuration.s3_configuration.prefix #=> String
712
818
  # resp.experiment.log_configuration.log_schema_version #=> Integer
819
+ # resp.experiment.experiment_options.account_targeting #=> String, one of "single-account", "multi-account"
820
+ # resp.experiment.experiment_options.empty_target_resolution_mode #=> String, one of "fail", "skip"
821
+ # resp.experiment.target_account_configurations_count #=> Integer
713
822
  #
714
823
  # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetExperiment AWS API Documentation
715
824
  #
@@ -720,6 +829,41 @@ module Aws::FIS
720
829
  req.send_request(options)
721
830
  end
722
831
 
832
+ # Gets information about the specified target account configuration of
833
+ # the experiment.
834
+ #
835
+ # @option params [required, String] :experiment_id
836
+ # The ID of the experiment.
837
+ #
838
+ # @option params [required, String] :account_id
839
+ # The AWS account ID of the target account.
840
+ #
841
+ # @return [Types::GetExperimentTargetAccountConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
842
+ #
843
+ # * {Types::GetExperimentTargetAccountConfigurationResponse#target_account_configuration #target_account_configuration} => Types::ExperimentTargetAccountConfiguration
844
+ #
845
+ # @example Request syntax with placeholder values
846
+ #
847
+ # resp = client.get_experiment_target_account_configuration({
848
+ # experiment_id: "ExperimentId", # required
849
+ # account_id: "TargetAccountId", # required
850
+ # })
851
+ #
852
+ # @example Response structure
853
+ #
854
+ # resp.target_account_configuration.role_arn #=> String
855
+ # resp.target_account_configuration.account_id #=> String
856
+ # resp.target_account_configuration.description #=> String
857
+ #
858
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetExperimentTargetAccountConfiguration AWS API Documentation
859
+ #
860
+ # @overload get_experiment_target_account_configuration(params = {})
861
+ # @param [Hash] params ({})
862
+ def get_experiment_target_account_configuration(params = {}, options = {})
863
+ req = build_request(:get_experiment_target_account_configuration, params)
864
+ req.send_request(options)
865
+ end
866
+
723
867
  # Gets information about the specified experiment template.
724
868
  #
725
869
  # @option params [required, String] :id
@@ -773,6 +917,9 @@ module Aws::FIS
773
917
  # resp.experiment_template.log_configuration.s3_configuration.bucket_name #=> String
774
918
  # resp.experiment_template.log_configuration.s3_configuration.prefix #=> String
775
919
  # resp.experiment_template.log_configuration.log_schema_version #=> Integer
920
+ # resp.experiment_template.experiment_options.account_targeting #=> String, one of "single-account", "multi-account"
921
+ # resp.experiment_template.experiment_options.empty_target_resolution_mode #=> String, one of "fail", "skip"
922
+ # resp.experiment_template.target_account_configurations_count #=> Integer
776
923
  #
777
924
  # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetExperimentTemplate AWS API Documentation
778
925
  #
@@ -783,6 +930,41 @@ module Aws::FIS
783
930
  req.send_request(options)
784
931
  end
785
932
 
933
+ # Gets information about the specified target account configuration of
934
+ # the experiment template.
935
+ #
936
+ # @option params [required, String] :experiment_template_id
937
+ # The ID of the experiment template.
938
+ #
939
+ # @option params [required, String] :account_id
940
+ # The AWS account ID of the target account.
941
+ #
942
+ # @return [Types::GetTargetAccountConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
943
+ #
944
+ # * {Types::GetTargetAccountConfigurationResponse#target_account_configuration #target_account_configuration} => Types::TargetAccountConfiguration
945
+ #
946
+ # @example Request syntax with placeholder values
947
+ #
948
+ # resp = client.get_target_account_configuration({
949
+ # experiment_template_id: "ExperimentTemplateId", # required
950
+ # account_id: "TargetAccountId", # required
951
+ # })
952
+ #
953
+ # @example Response structure
954
+ #
955
+ # resp.target_account_configuration.role_arn #=> String
956
+ # resp.target_account_configuration.account_id #=> String
957
+ # resp.target_account_configuration.description #=> String
958
+ #
959
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetTargetAccountConfiguration AWS API Documentation
960
+ #
961
+ # @overload get_target_account_configuration(params = {})
962
+ # @param [Hash] params ({})
963
+ def get_target_account_configuration(params = {}, options = {})
964
+ req = build_request(:get_target_account_configuration, params)
965
+ req.send_request(options)
966
+ end
967
+
786
968
  # Gets information about the specified resource type.
787
969
  #
788
970
  # @option params [required, String] :resource_type
@@ -859,6 +1041,93 @@ module Aws::FIS
859
1041
  req.send_request(options)
860
1042
  end
861
1043
 
1044
+ # Lists the resolved targets information of the specified experiment.
1045
+ #
1046
+ # @option params [required, String] :experiment_id
1047
+ # The ID of the experiment.
1048
+ #
1049
+ # @option params [Integer] :max_results
1050
+ # The maximum number of results to return with a single call. To
1051
+ # retrieve the remaining results, make another call with the returned
1052
+ # nextToken value.
1053
+ #
1054
+ # @option params [String] :next_token
1055
+ # The token for the next page of results.
1056
+ #
1057
+ # @option params [String] :target_name
1058
+ # The name of the target.
1059
+ #
1060
+ # @return [Types::ListExperimentResolvedTargetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1061
+ #
1062
+ # * {Types::ListExperimentResolvedTargetsResponse#resolved_targets #resolved_targets} => Array<Types::ResolvedTarget>
1063
+ # * {Types::ListExperimentResolvedTargetsResponse#next_token #next_token} => String
1064
+ #
1065
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1066
+ #
1067
+ # @example Request syntax with placeholder values
1068
+ #
1069
+ # resp = client.list_experiment_resolved_targets({
1070
+ # experiment_id: "ExperimentId", # required
1071
+ # max_results: 1,
1072
+ # next_token: "NextToken",
1073
+ # target_name: "TargetName",
1074
+ # })
1075
+ #
1076
+ # @example Response structure
1077
+ #
1078
+ # resp.resolved_targets #=> Array
1079
+ # resp.resolved_targets[0].resource_type #=> String
1080
+ # resp.resolved_targets[0].target_name #=> String
1081
+ # resp.resolved_targets[0].target_information #=> Hash
1082
+ # resp.resolved_targets[0].target_information["TargetInformationKey"] #=> String
1083
+ # resp.next_token #=> String
1084
+ #
1085
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListExperimentResolvedTargets AWS API Documentation
1086
+ #
1087
+ # @overload list_experiment_resolved_targets(params = {})
1088
+ # @param [Hash] params ({})
1089
+ def list_experiment_resolved_targets(params = {}, options = {})
1090
+ req = build_request(:list_experiment_resolved_targets, params)
1091
+ req.send_request(options)
1092
+ end
1093
+
1094
+ # Lists the target account configurations of the specified experiment.
1095
+ #
1096
+ # @option params [required, String] :experiment_id
1097
+ # The ID of the experiment.
1098
+ #
1099
+ # @option params [String] :next_token
1100
+ # The token for the next page of results.
1101
+ #
1102
+ # @return [Types::ListExperimentTargetAccountConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1103
+ #
1104
+ # * {Types::ListExperimentTargetAccountConfigurationsResponse#target_account_configurations #target_account_configurations} => Array<Types::ExperimentTargetAccountConfigurationSummary>
1105
+ # * {Types::ListExperimentTargetAccountConfigurationsResponse#next_token #next_token} => String
1106
+ #
1107
+ # @example Request syntax with placeholder values
1108
+ #
1109
+ # resp = client.list_experiment_target_account_configurations({
1110
+ # experiment_id: "ExperimentId", # required
1111
+ # next_token: "NextToken",
1112
+ # })
1113
+ #
1114
+ # @example Response structure
1115
+ #
1116
+ # resp.target_account_configurations #=> Array
1117
+ # resp.target_account_configurations[0].role_arn #=> String
1118
+ # resp.target_account_configurations[0].account_id #=> String
1119
+ # resp.target_account_configurations[0].description #=> String
1120
+ # resp.next_token #=> String
1121
+ #
1122
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListExperimentTargetAccountConfigurations AWS API Documentation
1123
+ #
1124
+ # @overload list_experiment_target_account_configurations(params = {})
1125
+ # @param [Hash] params ({})
1126
+ def list_experiment_target_account_configurations(params = {}, options = {})
1127
+ req = build_request(:list_experiment_target_account_configurations, params)
1128
+ req.send_request(options)
1129
+ end
1130
+
862
1131
  # Lists your experiment templates.
863
1132
  #
864
1133
  # @option params [Integer] :max_results
@@ -977,6 +1246,52 @@ module Aws::FIS
977
1246
  req.send_request(options)
978
1247
  end
979
1248
 
1249
+ # Lists the target account configurations of the specified experiment
1250
+ # template.
1251
+ #
1252
+ # @option params [required, String] :experiment_template_id
1253
+ # The ID of the experiment template.
1254
+ #
1255
+ # @option params [Integer] :max_results
1256
+ # The maximum number of results to return with a single call. To
1257
+ # retrieve the remaining results, make another call with the returned
1258
+ # nextToken value.
1259
+ #
1260
+ # @option params [String] :next_token
1261
+ # The token for the next page of results.
1262
+ #
1263
+ # @return [Types::ListTargetAccountConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1264
+ #
1265
+ # * {Types::ListTargetAccountConfigurationsResponse#target_account_configurations #target_account_configurations} => Array<Types::TargetAccountConfigurationSummary>
1266
+ # * {Types::ListTargetAccountConfigurationsResponse#next_token #next_token} => String
1267
+ #
1268
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1269
+ #
1270
+ # @example Request syntax with placeholder values
1271
+ #
1272
+ # resp = client.list_target_account_configurations({
1273
+ # experiment_template_id: "ExperimentTemplateId", # required
1274
+ # max_results: 1,
1275
+ # next_token: "NextToken",
1276
+ # })
1277
+ #
1278
+ # @example Response structure
1279
+ #
1280
+ # resp.target_account_configurations #=> Array
1281
+ # resp.target_account_configurations[0].role_arn #=> String
1282
+ # resp.target_account_configurations[0].account_id #=> String
1283
+ # resp.target_account_configurations[0].description #=> String
1284
+ # resp.next_token #=> String
1285
+ #
1286
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListTargetAccountConfigurations AWS API Documentation
1287
+ #
1288
+ # @overload list_target_account_configurations(params = {})
1289
+ # @param [Hash] params ({})
1290
+ def list_target_account_configurations(params = {}, options = {})
1291
+ req = build_request(:list_target_account_configurations, params)
1292
+ req.send_request(options)
1293
+ end
1294
+
980
1295
  # Lists the target resource types.
981
1296
  #
982
1297
  # @option params [Integer] :max_results
@@ -1075,7 +1390,7 @@ module Aws::FIS
1075
1390
  # resp.experiment.actions["ExperimentActionName"].targets["ExperimentActionTargetName"] #=> String
1076
1391
  # resp.experiment.actions["ExperimentActionName"].start_after #=> Array
1077
1392
  # resp.experiment.actions["ExperimentActionName"].start_after[0] #=> String
1078
- # resp.experiment.actions["ExperimentActionName"].state.status #=> String, one of "pending", "initiating", "running", "completed", "cancelled", "stopping", "stopped", "failed"
1393
+ # resp.experiment.actions["ExperimentActionName"].state.status #=> String, one of "pending", "initiating", "running", "completed", "cancelled", "stopping", "stopped", "failed", "skipped"
1079
1394
  # resp.experiment.actions["ExperimentActionName"].state.reason #=> String
1080
1395
  # resp.experiment.actions["ExperimentActionName"].start_time #=> Time
1081
1396
  # resp.experiment.actions["ExperimentActionName"].end_time #=> Time
@@ -1091,6 +1406,9 @@ module Aws::FIS
1091
1406
  # resp.experiment.log_configuration.s3_configuration.bucket_name #=> String
1092
1407
  # resp.experiment.log_configuration.s3_configuration.prefix #=> String
1093
1408
  # resp.experiment.log_configuration.log_schema_version #=> Integer
1409
+ # resp.experiment.experiment_options.account_targeting #=> String, one of "single-account", "multi-account"
1410
+ # resp.experiment.experiment_options.empty_target_resolution_mode #=> String, one of "fail", "skip"
1411
+ # resp.experiment.target_account_configurations_count #=> Integer
1094
1412
  #
1095
1413
  # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/StartExperiment AWS API Documentation
1096
1414
  #
@@ -1145,7 +1463,7 @@ module Aws::FIS
1145
1463
  # resp.experiment.actions["ExperimentActionName"].targets["ExperimentActionTargetName"] #=> String
1146
1464
  # resp.experiment.actions["ExperimentActionName"].start_after #=> Array
1147
1465
  # resp.experiment.actions["ExperimentActionName"].start_after[0] #=> String
1148
- # resp.experiment.actions["ExperimentActionName"].state.status #=> String, one of "pending", "initiating", "running", "completed", "cancelled", "stopping", "stopped", "failed"
1466
+ # resp.experiment.actions["ExperimentActionName"].state.status #=> String, one of "pending", "initiating", "running", "completed", "cancelled", "stopping", "stopped", "failed", "skipped"
1149
1467
  # resp.experiment.actions["ExperimentActionName"].state.reason #=> String
1150
1468
  # resp.experiment.actions["ExperimentActionName"].start_time #=> Time
1151
1469
  # resp.experiment.actions["ExperimentActionName"].end_time #=> Time
@@ -1161,6 +1479,9 @@ module Aws::FIS
1161
1479
  # resp.experiment.log_configuration.s3_configuration.bucket_name #=> String
1162
1480
  # resp.experiment.log_configuration.s3_configuration.prefix #=> String
1163
1481
  # resp.experiment.log_configuration.log_schema_version #=> Integer
1482
+ # resp.experiment.experiment_options.account_targeting #=> String, one of "single-account", "multi-account"
1483
+ # resp.experiment.experiment_options.empty_target_resolution_mode #=> String, one of "fail", "skip"
1484
+ # resp.experiment.target_account_configurations_count #=> Integer
1164
1485
  #
1165
1486
  # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/StopExperiment AWS API Documentation
1166
1487
  #
@@ -1249,6 +1570,9 @@ module Aws::FIS
1249
1570
  # @option params [Types::UpdateExperimentTemplateLogConfigurationInput] :log_configuration
1250
1571
  # The configuration for experiment logging.
1251
1572
  #
1573
+ # @option params [Types::UpdateExperimentTemplateExperimentOptionsInput] :experiment_options
1574
+ # The experiment options for the experiment template.
1575
+ #
1252
1576
  # @return [Types::UpdateExperimentTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1253
1577
  #
1254
1578
  # * {Types::UpdateExperimentTemplateResponse#experiment_template #experiment_template} => Types::ExperimentTemplate
@@ -1307,6 +1631,9 @@ module Aws::FIS
1307
1631
  # },
1308
1632
  # log_schema_version: 1,
1309
1633
  # },
1634
+ # experiment_options: {
1635
+ # empty_target_resolution_mode: "fail", # accepts fail, skip
1636
+ # },
1310
1637
  # })
1311
1638
  #
1312
1639
  # @example Response structure
@@ -1347,6 +1674,9 @@ module Aws::FIS
1347
1674
  # resp.experiment_template.log_configuration.s3_configuration.bucket_name #=> String
1348
1675
  # resp.experiment_template.log_configuration.s3_configuration.prefix #=> String
1349
1676
  # resp.experiment_template.log_configuration.log_schema_version #=> Integer
1677
+ # resp.experiment_template.experiment_options.account_targeting #=> String, one of "single-account", "multi-account"
1678
+ # resp.experiment_template.experiment_options.empty_target_resolution_mode #=> String, one of "fail", "skip"
1679
+ # resp.experiment_template.target_account_configurations_count #=> Integer
1350
1680
  #
1351
1681
  # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/UpdateExperimentTemplate AWS API Documentation
1352
1682
  #
@@ -1357,6 +1687,49 @@ module Aws::FIS
1357
1687
  req.send_request(options)
1358
1688
  end
1359
1689
 
1690
+ # Updates the target account configuration for the specified experiment
1691
+ # template.
1692
+ #
1693
+ # @option params [required, String] :experiment_template_id
1694
+ # The ID of the experiment template.
1695
+ #
1696
+ # @option params [required, String] :account_id
1697
+ # The AWS account ID of the target account.
1698
+ #
1699
+ # @option params [String] :role_arn
1700
+ # The Amazon Resource Name (ARN) of an IAM role for the target account.
1701
+ #
1702
+ # @option params [String] :description
1703
+ # The description of the target account.
1704
+ #
1705
+ # @return [Types::UpdateTargetAccountConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1706
+ #
1707
+ # * {Types::UpdateTargetAccountConfigurationResponse#target_account_configuration #target_account_configuration} => Types::TargetAccountConfiguration
1708
+ #
1709
+ # @example Request syntax with placeholder values
1710
+ #
1711
+ # resp = client.update_target_account_configuration({
1712
+ # experiment_template_id: "ExperimentTemplateId", # required
1713
+ # account_id: "TargetAccountId", # required
1714
+ # role_arn: "RoleArn",
1715
+ # description: "TargetAccountConfigurationDescription",
1716
+ # })
1717
+ #
1718
+ # @example Response structure
1719
+ #
1720
+ # resp.target_account_configuration.role_arn #=> String
1721
+ # resp.target_account_configuration.account_id #=> String
1722
+ # resp.target_account_configuration.description #=> String
1723
+ #
1724
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/UpdateTargetAccountConfiguration AWS API Documentation
1725
+ #
1726
+ # @overload update_target_account_configuration(params = {})
1727
+ # @param [Hash] params ({})
1728
+ def update_target_account_configuration(params = {}, options = {})
1729
+ req = build_request(:update_target_account_configuration, params)
1730
+ req.send_request(options)
1731
+ end
1732
+
1360
1733
  # @!endgroup
1361
1734
 
1362
1735
  # @param params ({})
@@ -1370,7 +1743,7 @@ module Aws::FIS
1370
1743
  params: params,
1371
1744
  config: config)
1372
1745
  context[:gem_name] = 'aws-sdk-fis'
1373
- context[:gem_version] = '1.24.0'
1746
+ context[:gem_version] = '1.25.0'
1374
1747
  Seahorse::Client::Request.new(handlers, context)
1375
1748
  end
1376
1749