aws-sdk-fis 1.9.0 → 1.12.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-fis/client.rb +99 -3
- data/lib/aws-sdk-fis/client_api.rb +93 -7
- data/lib/aws-sdk-fis/types.rb +183 -12
- 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: 224700ac0426c221cf3d5c1004492f6b0154edd231efe66835862a9751150fa0
|
4
|
+
data.tar.gz: 624c4c5d1dbb919fb6cf56f1c0c79ccabce8ee296b72b6b61faa4d772f383f37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2d97b121b14b0916c560101d2456a3c7331e7d6d3bcfb8e0b300c9bbbdc0c507738c518d4228ddfc28db470e8da3aa52808d6270d62aee2b20b458a4f001e7a
|
7
|
+
data.tar.gz: 77ff356d1cdfa8cb6ab591bdf1ef5ec163b805cf2fa39b474251657aae9394859aa273005fa5e419c66653f1aa3289a1fc8c7c4ce7913393316f6a642783ebe4
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.12.0 (2022-02-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.11.0 (2022-02-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.10.0 (2022-02-02)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* 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.
|
18
|
+
|
4
19
|
1.9.0 (2022-01-20)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.12.0
|
data/lib/aws-sdk-fis/client.rb
CHANGED
@@ -27,7 +27,9 @@ 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/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
33
35
|
|
@@ -74,7 +76,9 @@ module Aws::FIS
|
|
74
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
75
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
76
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
77
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
78
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
79
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
80
84
|
|
@@ -413,7 +417,7 @@ module Aws::FIS
|
|
413
417
|
# ],
|
414
418
|
# targets: {
|
415
419
|
# "ExperimentTemplateTargetName" => {
|
416
|
-
# resource_type: "
|
420
|
+
# resource_type: "TargetResourceTypeId", # required
|
417
421
|
# resource_arns: ["ResourceArn"],
|
418
422
|
# resource_tags: {
|
419
423
|
# "TagKey" => "TagValue",
|
@@ -425,6 +429,9 @@ module Aws::FIS
|
|
425
429
|
# },
|
426
430
|
# ],
|
427
431
|
# selection_mode: "ExperimentTemplateTargetSelectionMode", # required
|
432
|
+
# parameters: {
|
433
|
+
# "ExperimentTemplateTargetParameterName" => "ExperimentTemplateTargetParameterValue",
|
434
|
+
# },
|
428
435
|
# },
|
429
436
|
# },
|
430
437
|
# actions: { # required
|
@@ -461,6 +468,8 @@ module Aws::FIS
|
|
461
468
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values #=> Array
|
462
469
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values[0] #=> String
|
463
470
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].selection_mode #=> String
|
471
|
+
# resp.experiment_template.targets["ExperimentTemplateTargetName"].parameters #=> Hash
|
472
|
+
# resp.experiment_template.targets["ExperimentTemplateTargetName"].parameters["ExperimentTemplateTargetParameterName"] #=> String
|
464
473
|
# resp.experiment_template.actions #=> Hash
|
465
474
|
# resp.experiment_template.actions["ExperimentTemplateActionName"].action_id #=> String
|
466
475
|
# resp.experiment_template.actions["ExperimentTemplateActionName"].description #=> String
|
@@ -518,6 +527,8 @@ module Aws::FIS
|
|
518
527
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values #=> Array
|
519
528
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values[0] #=> String
|
520
529
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].selection_mode #=> String
|
530
|
+
# resp.experiment_template.targets["ExperimentTemplateTargetName"].parameters #=> Hash
|
531
|
+
# resp.experiment_template.targets["ExperimentTemplateTargetName"].parameters["ExperimentTemplateTargetParameterName"] #=> String
|
521
532
|
# resp.experiment_template.actions #=> Hash
|
522
533
|
# resp.experiment_template.actions["ExperimentTemplateActionName"].action_id #=> String
|
523
534
|
# resp.experiment_template.actions["ExperimentTemplateActionName"].description #=> String
|
@@ -614,6 +625,8 @@ module Aws::FIS
|
|
614
625
|
# resp.experiment.targets["ExperimentTargetName"].filters[0].values #=> Array
|
615
626
|
# resp.experiment.targets["ExperimentTargetName"].filters[0].values[0] #=> String
|
616
627
|
# resp.experiment.targets["ExperimentTargetName"].selection_mode #=> String
|
628
|
+
# resp.experiment.targets["ExperimentTargetName"].parameters #=> Hash
|
629
|
+
# resp.experiment.targets["ExperimentTargetName"].parameters["ExperimentTargetParameterName"] #=> String
|
617
630
|
# resp.experiment.actions #=> Hash
|
618
631
|
# resp.experiment.actions["ExperimentActionName"].action_id #=> String
|
619
632
|
# resp.experiment.actions["ExperimentActionName"].description #=> String
|
@@ -675,6 +688,8 @@ module Aws::FIS
|
|
675
688
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values #=> Array
|
676
689
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values[0] #=> String
|
677
690
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].selection_mode #=> String
|
691
|
+
# resp.experiment_template.targets["ExperimentTemplateTargetName"].parameters #=> Hash
|
692
|
+
# resp.experiment_template.targets["ExperimentTemplateTargetName"].parameters["ExperimentTemplateTargetParameterName"] #=> String
|
678
693
|
# resp.experiment_template.actions #=> Hash
|
679
694
|
# resp.experiment_template.actions["ExperimentTemplateActionName"].action_id #=> String
|
680
695
|
# resp.experiment_template.actions["ExperimentTemplateActionName"].description #=> String
|
@@ -702,6 +717,38 @@ module Aws::FIS
|
|
702
717
|
req.send_request(options)
|
703
718
|
end
|
704
719
|
|
720
|
+
# Gets information about the specified resource type.
|
721
|
+
#
|
722
|
+
# @option params [required, String] :resource_type
|
723
|
+
# The resource type.
|
724
|
+
#
|
725
|
+
# @return [Types::GetTargetResourceTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
726
|
+
#
|
727
|
+
# * {Types::GetTargetResourceTypeResponse#target_resource_type #target_resource_type} => Types::TargetResourceType
|
728
|
+
#
|
729
|
+
# @example Request syntax with placeholder values
|
730
|
+
#
|
731
|
+
# resp = client.get_target_resource_type({
|
732
|
+
# resource_type: "TargetResourceTypeId", # required
|
733
|
+
# })
|
734
|
+
#
|
735
|
+
# @example Response structure
|
736
|
+
#
|
737
|
+
# resp.target_resource_type.resource_type #=> String
|
738
|
+
# resp.target_resource_type.description #=> String
|
739
|
+
# resp.target_resource_type.parameters #=> Hash
|
740
|
+
# resp.target_resource_type.parameters["TargetResourceTypeParameterName"].description #=> String
|
741
|
+
# resp.target_resource_type.parameters["TargetResourceTypeParameterName"].required #=> Boolean
|
742
|
+
#
|
743
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetTargetResourceType AWS API Documentation
|
744
|
+
#
|
745
|
+
# @overload get_target_resource_type(params = {})
|
746
|
+
# @param [Hash] params ({})
|
747
|
+
def get_target_resource_type(params = {}, options = {})
|
748
|
+
req = build_request(:get_target_resource_type, params)
|
749
|
+
req.send_request(options)
|
750
|
+
end
|
751
|
+
|
705
752
|
# Lists the available FIS actions.
|
706
753
|
#
|
707
754
|
# @option params [Integer] :max_results
|
@@ -864,6 +911,46 @@ module Aws::FIS
|
|
864
911
|
req.send_request(options)
|
865
912
|
end
|
866
913
|
|
914
|
+
# Lists the target resource types.
|
915
|
+
#
|
916
|
+
# @option params [Integer] :max_results
|
917
|
+
# The maximum number of results to return with a single call. To
|
918
|
+
# retrieve the remaining results, make another call with the returned
|
919
|
+
# `nextToken` value.
|
920
|
+
#
|
921
|
+
# @option params [String] :next_token
|
922
|
+
# The token for the next page of results.
|
923
|
+
#
|
924
|
+
# @return [Types::ListTargetResourceTypesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
925
|
+
#
|
926
|
+
# * {Types::ListTargetResourceTypesResponse#target_resource_types #target_resource_types} => Array<Types::TargetResourceTypeSummary>
|
927
|
+
# * {Types::ListTargetResourceTypesResponse#next_token #next_token} => String
|
928
|
+
#
|
929
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
930
|
+
#
|
931
|
+
# @example Request syntax with placeholder values
|
932
|
+
#
|
933
|
+
# resp = client.list_target_resource_types({
|
934
|
+
# max_results: 1,
|
935
|
+
# next_token: "NextToken",
|
936
|
+
# })
|
937
|
+
#
|
938
|
+
# @example Response structure
|
939
|
+
#
|
940
|
+
# resp.target_resource_types #=> Array
|
941
|
+
# resp.target_resource_types[0].resource_type #=> String
|
942
|
+
# resp.target_resource_types[0].description #=> String
|
943
|
+
# resp.next_token #=> String
|
944
|
+
#
|
945
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListTargetResourceTypes AWS API Documentation
|
946
|
+
#
|
947
|
+
# @overload list_target_resource_types(params = {})
|
948
|
+
# @param [Hash] params ({})
|
949
|
+
def list_target_resource_types(params = {}, options = {})
|
950
|
+
req = build_request(:list_target_resource_types, params)
|
951
|
+
req.send_request(options)
|
952
|
+
end
|
953
|
+
|
867
954
|
# Starts running an experiment from the specified experiment template.
|
868
955
|
#
|
869
956
|
# @option params [required, String] :client_token
|
@@ -911,6 +998,8 @@ module Aws::FIS
|
|
911
998
|
# resp.experiment.targets["ExperimentTargetName"].filters[0].values #=> Array
|
912
999
|
# resp.experiment.targets["ExperimentTargetName"].filters[0].values[0] #=> String
|
913
1000
|
# resp.experiment.targets["ExperimentTargetName"].selection_mode #=> String
|
1001
|
+
# resp.experiment.targets["ExperimentTargetName"].parameters #=> Hash
|
1002
|
+
# resp.experiment.targets["ExperimentTargetName"].parameters["ExperimentTargetParameterName"] #=> String
|
914
1003
|
# resp.experiment.actions #=> Hash
|
915
1004
|
# resp.experiment.actions["ExperimentActionName"].action_id #=> String
|
916
1005
|
# resp.experiment.actions["ExperimentActionName"].description #=> String
|
@@ -975,6 +1064,8 @@ module Aws::FIS
|
|
975
1064
|
# resp.experiment.targets["ExperimentTargetName"].filters[0].values #=> Array
|
976
1065
|
# resp.experiment.targets["ExperimentTargetName"].filters[0].values[0] #=> String
|
977
1066
|
# resp.experiment.targets["ExperimentTargetName"].selection_mode #=> String
|
1067
|
+
# resp.experiment.targets["ExperimentTargetName"].parameters #=> Hash
|
1068
|
+
# resp.experiment.targets["ExperimentTargetName"].parameters["ExperimentTargetParameterName"] #=> String
|
978
1069
|
# resp.experiment.actions #=> Hash
|
979
1070
|
# resp.experiment.actions["ExperimentActionName"].action_id #=> String
|
980
1071
|
# resp.experiment.actions["ExperimentActionName"].description #=> String
|
@@ -1098,7 +1189,7 @@ module Aws::FIS
|
|
1098
1189
|
# ],
|
1099
1190
|
# targets: {
|
1100
1191
|
# "ExperimentTemplateTargetName" => {
|
1101
|
-
# resource_type: "
|
1192
|
+
# resource_type: "TargetResourceTypeId", # required
|
1102
1193
|
# resource_arns: ["ResourceArn"],
|
1103
1194
|
# resource_tags: {
|
1104
1195
|
# "TagKey" => "TagValue",
|
@@ -1110,6 +1201,9 @@ module Aws::FIS
|
|
1110
1201
|
# },
|
1111
1202
|
# ],
|
1112
1203
|
# selection_mode: "ExperimentTemplateTargetSelectionMode", # required
|
1204
|
+
# parameters: {
|
1205
|
+
# "ExperimentTemplateTargetParameterName" => "ExperimentTemplateTargetParameterValue",
|
1206
|
+
# },
|
1113
1207
|
# },
|
1114
1208
|
# },
|
1115
1209
|
# actions: {
|
@@ -1143,6 +1237,8 @@ module Aws::FIS
|
|
1143
1237
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values #=> Array
|
1144
1238
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values[0] #=> String
|
1145
1239
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].selection_mode #=> String
|
1240
|
+
# resp.experiment_template.targets["ExperimentTemplateTargetName"].parameters #=> Hash
|
1241
|
+
# resp.experiment_template.targets["ExperimentTemplateTargetName"].parameters["ExperimentTemplateTargetParameterName"] #=> String
|
1146
1242
|
# resp.experiment_template.actions #=> Hash
|
1147
1243
|
# resp.experiment_template.actions["ExperimentTemplateActionName"].action_id #=> String
|
1148
1244
|
# resp.experiment_template.actions["ExperimentTemplateActionName"].description #=> String
|
@@ -1183,7 +1279,7 @@ module Aws::FIS
|
|
1183
1279
|
params: params,
|
1184
1280
|
config: config)
|
1185
1281
|
context[:gem_name] = 'aws-sdk-fis'
|
1186
|
-
context[:gem_version] = '1.
|
1282
|
+
context[:gem_version] = '1.12.0'
|
1187
1283
|
Seahorse::Client::Request.new(handlers, context)
|
1188
1284
|
end
|
1189
1285
|
|
@@ -75,6 +75,9 @@ module Aws::FIS
|
|
75
75
|
ExperimentTargetFilterValues = Shapes::ListShape.new(name: 'ExperimentTargetFilterValues')
|
76
76
|
ExperimentTargetMap = Shapes::MapShape.new(name: 'ExperimentTargetMap')
|
77
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')
|
78
81
|
ExperimentTargetSelectionMode = Shapes::StringShape.new(name: 'ExperimentTargetSelectionMode')
|
79
82
|
ExperimentTemplate = Shapes::StructureShape.new(name: 'ExperimentTemplate')
|
80
83
|
ExperimentTemplateAction = Shapes::StructureShape.new(name: 'ExperimentTemplateAction')
|
@@ -104,6 +107,9 @@ module Aws::FIS
|
|
104
107
|
ExperimentTemplateTargetInputFilter = Shapes::StructureShape.new(name: 'ExperimentTemplateTargetInputFilter')
|
105
108
|
ExperimentTemplateTargetMap = Shapes::MapShape.new(name: 'ExperimentTemplateTargetMap')
|
106
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')
|
107
113
|
ExperimentTemplateTargetSelectionMode = Shapes::StringShape.new(name: 'ExperimentTemplateTargetSelectionMode')
|
108
114
|
GetActionRequest = Shapes::StructureShape.new(name: 'GetActionRequest')
|
109
115
|
GetActionResponse = Shapes::StructureShape.new(name: 'GetActionResponse')
|
@@ -111,6 +117,8 @@ module Aws::FIS
|
|
111
117
|
GetExperimentResponse = Shapes::StructureShape.new(name: 'GetExperimentResponse')
|
112
118
|
GetExperimentTemplateRequest = Shapes::StructureShape.new(name: 'GetExperimentTemplateRequest')
|
113
119
|
GetExperimentTemplateResponse = Shapes::StructureShape.new(name: 'GetExperimentTemplateResponse')
|
120
|
+
GetTargetResourceTypeRequest = Shapes::StructureShape.new(name: 'GetTargetResourceTypeRequest')
|
121
|
+
GetTargetResourceTypeResponse = Shapes::StructureShape.new(name: 'GetTargetResourceTypeResponse')
|
114
122
|
LastUpdateTime = Shapes::TimestampShape.new(name: 'LastUpdateTime')
|
115
123
|
ListActionsMaxResults = Shapes::IntegerShape.new(name: 'ListActionsMaxResults')
|
116
124
|
ListActionsRequest = Shapes::StructureShape.new(name: 'ListActionsRequest')
|
@@ -123,11 +131,13 @@ module Aws::FIS
|
|
123
131
|
ListExperimentsResponse = Shapes::StructureShape.new(name: 'ListExperimentsResponse')
|
124
132
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
125
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')
|
126
137
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
127
138
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
128
139
|
ResourceArnList = Shapes::ListShape.new(name: 'ResourceArnList')
|
129
140
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
130
|
-
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
131
141
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
132
142
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
133
143
|
StartExperimentRequest = Shapes::StructureShape.new(name: 'StartExperimentRequest')
|
@@ -142,7 +152,16 @@ module Aws::FIS
|
|
142
152
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
143
153
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
144
154
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
145
|
-
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')
|
146
165
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
147
166
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
148
167
|
UpdateExperimentTemplateActionInputItem = Shapes::StructureShape.new(name: 'UpdateExperimentTemplateActionInputItem')
|
@@ -177,7 +196,7 @@ module Aws::FIS
|
|
177
196
|
|
178
197
|
ActionSummaryList.member = Shapes::ShapeRef.new(shape: ActionSummary)
|
179
198
|
|
180
|
-
ActionTarget.add_member(:resource_type, Shapes::ShapeRef.new(shape:
|
199
|
+
ActionTarget.add_member(:resource_type, Shapes::ShapeRef.new(shape: TargetResourceTypeId, location_name: "resourceType"))
|
181
200
|
ActionTarget.struct_class = Types::ActionTarget
|
182
201
|
|
183
202
|
ActionTargetMap.key = Shapes::ShapeRef.new(shape: ActionTargetName)
|
@@ -214,11 +233,12 @@ module Aws::FIS
|
|
214
233
|
|
215
234
|
CreateExperimentTemplateStopConditionInputList.member = Shapes::ShapeRef.new(shape: CreateExperimentTemplateStopConditionInput)
|
216
235
|
|
217
|
-
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"))
|
218
237
|
CreateExperimentTemplateTargetInput.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArnList, location_name: "resourceArns"))
|
219
238
|
CreateExperimentTemplateTargetInput.add_member(:resource_tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "resourceTags"))
|
220
239
|
CreateExperimentTemplateTargetInput.add_member(:filters, Shapes::ShapeRef.new(shape: ExperimentTemplateTargetFilterInputList, location_name: "filters"))
|
221
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"))
|
222
242
|
CreateExperimentTemplateTargetInput.struct_class = Types::CreateExperimentTemplateTargetInput
|
223
243
|
|
224
244
|
CreateExperimentTemplateTargetInputMap.key = Shapes::ShapeRef.new(shape: ExperimentTemplateTargetName)
|
@@ -287,11 +307,12 @@ module Aws::FIS
|
|
287
307
|
|
288
308
|
ExperimentSummaryList.member = Shapes::ShapeRef.new(shape: ExperimentSummary)
|
289
309
|
|
290
|
-
ExperimentTarget.add_member(:resource_type, Shapes::ShapeRef.new(shape:
|
310
|
+
ExperimentTarget.add_member(:resource_type, Shapes::ShapeRef.new(shape: TargetResourceTypeId, location_name: "resourceType"))
|
291
311
|
ExperimentTarget.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArnList, location_name: "resourceArns"))
|
292
312
|
ExperimentTarget.add_member(:resource_tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "resourceTags"))
|
293
313
|
ExperimentTarget.add_member(:filters, Shapes::ShapeRef.new(shape: ExperimentTargetFilterList, location_name: "filters"))
|
294
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"))
|
295
316
|
ExperimentTarget.struct_class = Types::ExperimentTarget
|
296
317
|
|
297
318
|
ExperimentTargetFilter.add_member(:path, Shapes::ShapeRef.new(shape: ExperimentTargetFilterPath, location_name: "path"))
|
@@ -305,6 +326,9 @@ module Aws::FIS
|
|
305
326
|
ExperimentTargetMap.key = Shapes::ShapeRef.new(shape: ExperimentTargetName)
|
306
327
|
ExperimentTargetMap.value = Shapes::ShapeRef.new(shape: ExperimentTarget)
|
307
328
|
|
329
|
+
ExperimentTargetParameterMap.key = Shapes::ShapeRef.new(shape: ExperimentTargetParameterName)
|
330
|
+
ExperimentTargetParameterMap.value = Shapes::ShapeRef.new(shape: ExperimentTargetParameterValue)
|
331
|
+
|
308
332
|
ExperimentTemplate.add_member(:id, Shapes::ShapeRef.new(shape: ExperimentTemplateId, location_name: "id"))
|
309
333
|
ExperimentTemplate.add_member(:description, Shapes::ShapeRef.new(shape: ExperimentTemplateDescription, location_name: "description"))
|
310
334
|
ExperimentTemplate.add_member(:targets, Shapes::ShapeRef.new(shape: ExperimentTemplateTargetMap, location_name: "targets"))
|
@@ -349,11 +373,12 @@ module Aws::FIS
|
|
349
373
|
|
350
374
|
ExperimentTemplateSummaryList.member = Shapes::ShapeRef.new(shape: ExperimentTemplateSummary)
|
351
375
|
|
352
|
-
ExperimentTemplateTarget.add_member(:resource_type, Shapes::ShapeRef.new(shape:
|
376
|
+
ExperimentTemplateTarget.add_member(:resource_type, Shapes::ShapeRef.new(shape: TargetResourceTypeId, location_name: "resourceType"))
|
353
377
|
ExperimentTemplateTarget.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArnList, location_name: "resourceArns"))
|
354
378
|
ExperimentTemplateTarget.add_member(:resource_tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "resourceTags"))
|
355
379
|
ExperimentTemplateTarget.add_member(:filters, Shapes::ShapeRef.new(shape: ExperimentTemplateTargetFilterList, location_name: "filters"))
|
356
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"))
|
357
382
|
ExperimentTemplateTarget.struct_class = Types::ExperimentTemplateTarget
|
358
383
|
|
359
384
|
ExperimentTemplateTargetFilter.add_member(:path, Shapes::ShapeRef.new(shape: ExperimentTemplateTargetFilterPath, location_name: "path"))
|
@@ -373,6 +398,9 @@ module Aws::FIS
|
|
373
398
|
ExperimentTemplateTargetMap.key = Shapes::ShapeRef.new(shape: ExperimentTemplateTargetName)
|
374
399
|
ExperimentTemplateTargetMap.value = Shapes::ShapeRef.new(shape: ExperimentTemplateTarget)
|
375
400
|
|
401
|
+
ExperimentTemplateTargetParameterMap.key = Shapes::ShapeRef.new(shape: ExperimentTemplateTargetParameterName)
|
402
|
+
ExperimentTemplateTargetParameterMap.value = Shapes::ShapeRef.new(shape: ExperimentTemplateTargetParameterValue)
|
403
|
+
|
376
404
|
GetActionRequest.add_member(:id, Shapes::ShapeRef.new(shape: ActionId, required: true, location: "uri", location_name: "id"))
|
377
405
|
GetActionRequest.struct_class = Types::GetActionRequest
|
378
406
|
|
@@ -391,6 +419,12 @@ module Aws::FIS
|
|
391
419
|
GetExperimentTemplateResponse.add_member(:experiment_template, Shapes::ShapeRef.new(shape: ExperimentTemplate, location_name: "experimentTemplate"))
|
392
420
|
GetExperimentTemplateResponse.struct_class = Types::GetExperimentTemplateResponse
|
393
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
|
+
|
394
428
|
ListActionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListActionsMaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
|
395
429
|
ListActionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
396
430
|
ListActionsRequest.struct_class = Types::ListActionsRequest
|
@@ -421,6 +455,14 @@ module Aws::FIS
|
|
421
455
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
422
456
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
423
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
|
+
|
424
466
|
ResourceArnList.member = Shapes::ShapeRef.new(shape: ResourceArn)
|
425
467
|
|
426
468
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
@@ -454,6 +496,24 @@ module Aws::FIS
|
|
454
496
|
|
455
497
|
TagResourceResponse.struct_class = Types::TagResourceResponse
|
456
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
|
+
|
457
517
|
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
|
458
518
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, location: "querystring", location_name: "tagKeys"))
|
459
519
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
@@ -487,11 +547,12 @@ module Aws::FIS
|
|
487
547
|
|
488
548
|
UpdateExperimentTemplateStopConditionInputList.member = Shapes::ShapeRef.new(shape: UpdateExperimentTemplateStopConditionInput)
|
489
549
|
|
490
|
-
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"))
|
491
551
|
UpdateExperimentTemplateTargetInput.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArnList, location_name: "resourceArns"))
|
492
552
|
UpdateExperimentTemplateTargetInput.add_member(:resource_tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "resourceTags"))
|
493
553
|
UpdateExperimentTemplateTargetInput.add_member(:filters, Shapes::ShapeRef.new(shape: ExperimentTemplateTargetFilterInputList, location_name: "filters"))
|
494
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"))
|
495
556
|
UpdateExperimentTemplateTargetInput.struct_class = Types::UpdateExperimentTemplateTargetInput
|
496
557
|
|
497
558
|
UpdateExperimentTemplateTargetInputMap.key = Shapes::ShapeRef.new(shape: ExperimentTemplateTargetName)
|
@@ -571,6 +632,16 @@ module Aws::FIS
|
|
571
632
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
572
633
|
end)
|
573
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
|
+
|
574
645
|
api.add_operation(:list_actions, Seahorse::Model::Operation.new.tap do |o|
|
575
646
|
o.name = "ListActions"
|
576
647
|
o.http_method = "GET"
|
@@ -624,6 +695,21 @@ module Aws::FIS
|
|
624
695
|
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
625
696
|
end)
|
626
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
|
+
|
627
713
|
api.add_operation(:start_experiment, Seahorse::Model::Operation.new.tap do |o|
|
628
714
|
o.name = "StartExperiment"
|
629
715
|
o.http_method = "POST"
|
data/lib/aws-sdk-fis/types.rb
CHANGED
@@ -197,7 +197,7 @@ module Aws::FIS
|
|
197
197
|
# ],
|
198
198
|
# targets: {
|
199
199
|
# "ExperimentTemplateTargetName" => {
|
200
|
-
# resource_type: "
|
200
|
+
# resource_type: "TargetResourceTypeId", # required
|
201
201
|
# resource_arns: ["ResourceArn"],
|
202
202
|
# resource_tags: {
|
203
203
|
# "TagKey" => "TagValue",
|
@@ -209,6 +209,9 @@ module Aws::FIS
|
|
209
209
|
# },
|
210
210
|
# ],
|
211
211
|
# selection_mode: "ExperimentTemplateTargetSelectionMode", # required
|
212
|
+
# parameters: {
|
213
|
+
# "ExperimentTemplateTargetParameterName" => "ExperimentTemplateTargetParameterValue",
|
214
|
+
# },
|
212
215
|
# },
|
213
216
|
# },
|
214
217
|
# actions: { # required
|
@@ -334,7 +337,7 @@ module Aws::FIS
|
|
334
337
|
# data as a hash:
|
335
338
|
#
|
336
339
|
# {
|
337
|
-
# resource_type: "
|
340
|
+
# resource_type: "TargetResourceTypeId", # required
|
338
341
|
# resource_arns: ["ResourceArn"],
|
339
342
|
# resource_tags: {
|
340
343
|
# "TagKey" => "TagValue",
|
@@ -346,11 +349,14 @@ module Aws::FIS
|
|
346
349
|
# },
|
347
350
|
# ],
|
348
351
|
# selection_mode: "ExperimentTemplateTargetSelectionMode", # required
|
352
|
+
# parameters: {
|
353
|
+
# "ExperimentTemplateTargetParameterName" => "ExperimentTemplateTargetParameterValue",
|
354
|
+
# },
|
349
355
|
# }
|
350
356
|
#
|
351
357
|
# @!attribute [rw] resource_type
|
352
|
-
# The
|
353
|
-
#
|
358
|
+
# The resource type. The resource type must be supported for the
|
359
|
+
# specified action.
|
354
360
|
# @return [String]
|
355
361
|
#
|
356
362
|
# @!attribute [rw] resource_arns
|
@@ -383,6 +389,10 @@ module Aws::FIS
|
|
383
389
|
# example, PERCENT(25) selects 25% of the targets.
|
384
390
|
# @return [String]
|
385
391
|
#
|
392
|
+
# @!attribute [rw] parameters
|
393
|
+
# The resource type parameters.
|
394
|
+
# @return [Hash<String,String>]
|
395
|
+
#
|
386
396
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/CreateExperimentTemplateTargetInput AWS API Documentation
|
387
397
|
#
|
388
398
|
class CreateExperimentTemplateTargetInput < Struct.new(
|
@@ -390,7 +400,8 @@ module Aws::FIS
|
|
390
400
|
:resource_arns,
|
391
401
|
:resource_tags,
|
392
402
|
:filters,
|
393
|
-
:selection_mode
|
403
|
+
:selection_mode,
|
404
|
+
:parameters)
|
394
405
|
SENSITIVE = []
|
395
406
|
include Aws::Structure
|
396
407
|
end
|
@@ -656,6 +667,10 @@ module Aws::FIS
|
|
656
667
|
# Scopes the identified resources to a specific count or percentage.
|
657
668
|
# @return [String]
|
658
669
|
#
|
670
|
+
# @!attribute [rw] parameters
|
671
|
+
# The resource type parameters.
|
672
|
+
# @return [Hash<String,String>]
|
673
|
+
#
|
659
674
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ExperimentTarget AWS API Documentation
|
660
675
|
#
|
661
676
|
class ExperimentTarget < Struct.new(
|
@@ -663,7 +678,8 @@ module Aws::FIS
|
|
663
678
|
:resource_arns,
|
664
679
|
:resource_tags,
|
665
680
|
:filters,
|
666
|
-
:selection_mode
|
681
|
+
:selection_mode,
|
682
|
+
:parameters)
|
667
683
|
SENSITIVE = []
|
668
684
|
include Aws::Structure
|
669
685
|
end
|
@@ -853,6 +869,10 @@ module Aws::FIS
|
|
853
869
|
# Scopes the identified resources to a specific count or percentage.
|
854
870
|
# @return [String]
|
855
871
|
#
|
872
|
+
# @!attribute [rw] parameters
|
873
|
+
# The resource type parameters.
|
874
|
+
# @return [Hash<String,String>]
|
875
|
+
#
|
856
876
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ExperimentTemplateTarget AWS API Documentation
|
857
877
|
#
|
858
878
|
class ExperimentTemplateTarget < Struct.new(
|
@@ -860,7 +880,8 @@ module Aws::FIS
|
|
860
880
|
:resource_arns,
|
861
881
|
:resource_tags,
|
862
882
|
:filters,
|
863
|
-
:selection_mode
|
883
|
+
:selection_mode,
|
884
|
+
:parameters)
|
864
885
|
SENSITIVE = []
|
865
886
|
include Aws::Structure
|
866
887
|
end
|
@@ -1013,6 +1034,37 @@ module Aws::FIS
|
|
1013
1034
|
include Aws::Structure
|
1014
1035
|
end
|
1015
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
|
+
|
1016
1068
|
# @note When making an API call, you may pass ListActionsRequest
|
1017
1069
|
# data as a hash:
|
1018
1070
|
#
|
@@ -1179,6 +1231,51 @@ module Aws::FIS
|
|
1179
1231
|
include Aws::Structure
|
1180
1232
|
end
|
1181
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
|
+
|
1182
1279
|
# The specified resource cannot be found.
|
1183
1280
|
#
|
1184
1281
|
# @!attribute [rw] message
|
@@ -1316,6 +1413,69 @@ module Aws::FIS
|
|
1316
1413
|
#
|
1317
1414
|
class TagResourceResponse < Aws::EmptyStructure; end
|
1318
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
|
+
|
1319
1479
|
# @note When making an API call, you may pass UntagResourceRequest
|
1320
1480
|
# data as a hash:
|
1321
1481
|
#
|
@@ -1410,7 +1570,7 @@ module Aws::FIS
|
|
1410
1570
|
# ],
|
1411
1571
|
# targets: {
|
1412
1572
|
# "ExperimentTemplateTargetName" => {
|
1413
|
-
# resource_type: "
|
1573
|
+
# resource_type: "TargetResourceTypeId", # required
|
1414
1574
|
# resource_arns: ["ResourceArn"],
|
1415
1575
|
# resource_tags: {
|
1416
1576
|
# "TagKey" => "TagValue",
|
@@ -1422,6 +1582,9 @@ module Aws::FIS
|
|
1422
1582
|
# },
|
1423
1583
|
# ],
|
1424
1584
|
# selection_mode: "ExperimentTemplateTargetSelectionMode", # required
|
1585
|
+
# parameters: {
|
1586
|
+
# "ExperimentTemplateTargetParameterName" => "ExperimentTemplateTargetParameterValue",
|
1587
|
+
# },
|
1425
1588
|
# },
|
1426
1589
|
# },
|
1427
1590
|
# actions: {
|
@@ -1528,7 +1691,7 @@ module Aws::FIS
|
|
1528
1691
|
# data as a hash:
|
1529
1692
|
#
|
1530
1693
|
# {
|
1531
|
-
# resource_type: "
|
1694
|
+
# resource_type: "TargetResourceTypeId", # required
|
1532
1695
|
# resource_arns: ["ResourceArn"],
|
1533
1696
|
# resource_tags: {
|
1534
1697
|
# "TagKey" => "TagValue",
|
@@ -1540,11 +1703,14 @@ module Aws::FIS
|
|
1540
1703
|
# },
|
1541
1704
|
# ],
|
1542
1705
|
# selection_mode: "ExperimentTemplateTargetSelectionMode", # required
|
1706
|
+
# parameters: {
|
1707
|
+
# "ExperimentTemplateTargetParameterName" => "ExperimentTemplateTargetParameterValue",
|
1708
|
+
# },
|
1543
1709
|
# }
|
1544
1710
|
#
|
1545
1711
|
# @!attribute [rw] resource_type
|
1546
|
-
# The
|
1547
|
-
#
|
1712
|
+
# The resource type. The resource type must be supported for the
|
1713
|
+
# specified action.
|
1548
1714
|
# @return [String]
|
1549
1715
|
#
|
1550
1716
|
# @!attribute [rw] resource_arns
|
@@ -1564,6 +1730,10 @@ module Aws::FIS
|
|
1564
1730
|
# Scopes the identified resources to a specific count or percentage.
|
1565
1731
|
# @return [String]
|
1566
1732
|
#
|
1733
|
+
# @!attribute [rw] parameters
|
1734
|
+
# The resource type parameters.
|
1735
|
+
# @return [Hash<String,String>]
|
1736
|
+
#
|
1567
1737
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/UpdateExperimentTemplateTargetInput AWS API Documentation
|
1568
1738
|
#
|
1569
1739
|
class UpdateExperimentTemplateTargetInput < Struct.new(
|
@@ -1571,7 +1741,8 @@ module Aws::FIS
|
|
1571
1741
|
:resource_arns,
|
1572
1742
|
:resource_tags,
|
1573
1743
|
:filters,
|
1574
|
-
:selection_mode
|
1744
|
+
:selection_mode,
|
1745
|
+
:parameters)
|
1575
1746
|
SENSITIVE = []
|
1576
1747
|
include Aws::Structure
|
1577
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.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-02-24 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.127.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.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|