aws-sdk-fis 1.9.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-fis/client.rb +95 -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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dda420815a9974078213fe14f5f39e3b6e409528eedc19fc7b6b6bda9b2c75be
|
4
|
+
data.tar.gz: 7f5a28006b4c33ef7d61963cd4cac727c97731fa4d1d5dcd1316c87f081bb494
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64ef718f191f6d3a28e23cb541cab9ca17136610e557ad29cc86127015895bb701eefea8a7e0daf2d48fe45be4930e09de73a5f8c699a9fc3ceb6e90ac319109
|
7
|
+
data.tar.gz: f557ad0c446ee561045b912bd3d3771591ebaf5bed47644b57c031e276ab12e7a62367a773e66113917818d4020ec6a3ebebca11bb46524baa69ad59335b091e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
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
|
+
|
4
9
|
1.9.0 (2022-01-20)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.10.0
|
data/lib/aws-sdk-fis/client.rb
CHANGED
@@ -413,7 +413,7 @@ module Aws::FIS
|
|
413
413
|
# ],
|
414
414
|
# targets: {
|
415
415
|
# "ExperimentTemplateTargetName" => {
|
416
|
-
# resource_type: "
|
416
|
+
# resource_type: "TargetResourceTypeId", # required
|
417
417
|
# resource_arns: ["ResourceArn"],
|
418
418
|
# resource_tags: {
|
419
419
|
# "TagKey" => "TagValue",
|
@@ -425,6 +425,9 @@ module Aws::FIS
|
|
425
425
|
# },
|
426
426
|
# ],
|
427
427
|
# selection_mode: "ExperimentTemplateTargetSelectionMode", # required
|
428
|
+
# parameters: {
|
429
|
+
# "ExperimentTemplateTargetParameterName" => "ExperimentTemplateTargetParameterValue",
|
430
|
+
# },
|
428
431
|
# },
|
429
432
|
# },
|
430
433
|
# actions: { # required
|
@@ -461,6 +464,8 @@ module Aws::FIS
|
|
461
464
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values #=> Array
|
462
465
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values[0] #=> String
|
463
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
|
464
469
|
# resp.experiment_template.actions #=> Hash
|
465
470
|
# resp.experiment_template.actions["ExperimentTemplateActionName"].action_id #=> String
|
466
471
|
# resp.experiment_template.actions["ExperimentTemplateActionName"].description #=> String
|
@@ -518,6 +523,8 @@ module Aws::FIS
|
|
518
523
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values #=> Array
|
519
524
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values[0] #=> String
|
520
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
|
521
528
|
# resp.experiment_template.actions #=> Hash
|
522
529
|
# resp.experiment_template.actions["ExperimentTemplateActionName"].action_id #=> String
|
523
530
|
# resp.experiment_template.actions["ExperimentTemplateActionName"].description #=> String
|
@@ -614,6 +621,8 @@ module Aws::FIS
|
|
614
621
|
# resp.experiment.targets["ExperimentTargetName"].filters[0].values #=> Array
|
615
622
|
# resp.experiment.targets["ExperimentTargetName"].filters[0].values[0] #=> String
|
616
623
|
# resp.experiment.targets["ExperimentTargetName"].selection_mode #=> String
|
624
|
+
# resp.experiment.targets["ExperimentTargetName"].parameters #=> Hash
|
625
|
+
# resp.experiment.targets["ExperimentTargetName"].parameters["ExperimentTargetParameterName"] #=> String
|
617
626
|
# resp.experiment.actions #=> Hash
|
618
627
|
# resp.experiment.actions["ExperimentActionName"].action_id #=> String
|
619
628
|
# resp.experiment.actions["ExperimentActionName"].description #=> String
|
@@ -675,6 +684,8 @@ module Aws::FIS
|
|
675
684
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values #=> Array
|
676
685
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values[0] #=> String
|
677
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
|
678
689
|
# resp.experiment_template.actions #=> Hash
|
679
690
|
# resp.experiment_template.actions["ExperimentTemplateActionName"].action_id #=> String
|
680
691
|
# resp.experiment_template.actions["ExperimentTemplateActionName"].description #=> String
|
@@ -702,6 +713,38 @@ module Aws::FIS
|
|
702
713
|
req.send_request(options)
|
703
714
|
end
|
704
715
|
|
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
|
+
|
705
748
|
# Lists the available FIS actions.
|
706
749
|
#
|
707
750
|
# @option params [Integer] :max_results
|
@@ -864,6 +907,46 @@ module Aws::FIS
|
|
864
907
|
req.send_request(options)
|
865
908
|
end
|
866
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<Types::TargetResourceTypeSummary>
|
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
|
+
|
867
950
|
# Starts running an experiment from the specified experiment template.
|
868
951
|
#
|
869
952
|
# @option params [required, String] :client_token
|
@@ -911,6 +994,8 @@ module Aws::FIS
|
|
911
994
|
# resp.experiment.targets["ExperimentTargetName"].filters[0].values #=> Array
|
912
995
|
# resp.experiment.targets["ExperimentTargetName"].filters[0].values[0] #=> String
|
913
996
|
# resp.experiment.targets["ExperimentTargetName"].selection_mode #=> String
|
997
|
+
# resp.experiment.targets["ExperimentTargetName"].parameters #=> Hash
|
998
|
+
# resp.experiment.targets["ExperimentTargetName"].parameters["ExperimentTargetParameterName"] #=> String
|
914
999
|
# resp.experiment.actions #=> Hash
|
915
1000
|
# resp.experiment.actions["ExperimentActionName"].action_id #=> String
|
916
1001
|
# resp.experiment.actions["ExperimentActionName"].description #=> String
|
@@ -975,6 +1060,8 @@ module Aws::FIS
|
|
975
1060
|
# resp.experiment.targets["ExperimentTargetName"].filters[0].values #=> Array
|
976
1061
|
# resp.experiment.targets["ExperimentTargetName"].filters[0].values[0] #=> String
|
977
1062
|
# resp.experiment.targets["ExperimentTargetName"].selection_mode #=> String
|
1063
|
+
# resp.experiment.targets["ExperimentTargetName"].parameters #=> Hash
|
1064
|
+
# resp.experiment.targets["ExperimentTargetName"].parameters["ExperimentTargetParameterName"] #=> String
|
978
1065
|
# resp.experiment.actions #=> Hash
|
979
1066
|
# resp.experiment.actions["ExperimentActionName"].action_id #=> String
|
980
1067
|
# resp.experiment.actions["ExperimentActionName"].description #=> String
|
@@ -1098,7 +1185,7 @@ module Aws::FIS
|
|
1098
1185
|
# ],
|
1099
1186
|
# targets: {
|
1100
1187
|
# "ExperimentTemplateTargetName" => {
|
1101
|
-
# resource_type: "
|
1188
|
+
# resource_type: "TargetResourceTypeId", # required
|
1102
1189
|
# resource_arns: ["ResourceArn"],
|
1103
1190
|
# resource_tags: {
|
1104
1191
|
# "TagKey" => "TagValue",
|
@@ -1110,6 +1197,9 @@ module Aws::FIS
|
|
1110
1197
|
# },
|
1111
1198
|
# ],
|
1112
1199
|
# selection_mode: "ExperimentTemplateTargetSelectionMode", # required
|
1200
|
+
# parameters: {
|
1201
|
+
# "ExperimentTemplateTargetParameterName" => "ExperimentTemplateTargetParameterValue",
|
1202
|
+
# },
|
1113
1203
|
# },
|
1114
1204
|
# },
|
1115
1205
|
# actions: {
|
@@ -1143,6 +1233,8 @@ module Aws::FIS
|
|
1143
1233
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values #=> Array
|
1144
1234
|
# resp.experiment_template.targets["ExperimentTemplateTargetName"].filters[0].values[0] #=> String
|
1145
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
|
1146
1238
|
# resp.experiment_template.actions #=> Hash
|
1147
1239
|
# resp.experiment_template.actions["ExperimentTemplateActionName"].action_id #=> String
|
1148
1240
|
# resp.experiment_template.actions["ExperimentTemplateActionName"].description #=> String
|
@@ -1183,7 +1275,7 @@ module Aws::FIS
|
|
1183
1275
|
params: params,
|
1184
1276
|
config: config)
|
1185
1277
|
context[:gem_name] = 'aws-sdk-fis'
|
1186
|
-
context[:gem_version] = '1.
|
1278
|
+
context[:gem_version] = '1.10.0'
|
1187
1279
|
Seahorse::Client::Request.new(handlers, context)
|
1188
1280
|
end
|
1189
1281
|
|
@@ -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.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: 2022-
|
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
|