aws-sdk-fis 1.14.0 → 1.15.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 +7 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-fis/client.rb +1 -1
- data/lib/aws-sdk-fis/endpoint_provider.rb +35 -94
- data/lib/aws-sdk-fis/types.rb +0 -366
- 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: 399d093bbdc7c990049fd0c52f2baecaf200bad41a554fe9010662d9ee74f972
|
4
|
+
data.tar.gz: 5afbeb69503b4c867cb1bd97cf01603f5da8e0516a7a1aaa6ad10c4ca2b1087a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe5f9094552d17761118eb864fafd062f9cefe76c4a9921532c9df85f45b708a974a4204b4d2768efade5dc99e9d03fc75b305406ce5b6ea6986878d4dbf2889
|
7
|
+
data.tar.gz: d13916544d3bc937bfb1cef6952b84b670c616e41eed9a287b7f6870971947c1ca69f4d8887c952f099f116e677b384d564df64c9c44cb2accc17153ba3d9da7
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.15.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
4
11
|
1.14.0 (2022-10-25)
|
5
12
|
------------------
|
6
13
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.15.0
|
data/lib/aws-sdk-fis/client.rb
CHANGED
@@ -9,102 +9,43 @@
|
|
9
9
|
|
10
10
|
module Aws::FIS
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://fis-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://fis-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://fis.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://fis.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
46
|
end
|
22
|
-
|
23
|
-
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
48
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
49
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
35
|
-
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
|
36
|
-
ZGVmYXVsdCI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UiLCJydWxlcyI6W3siY29uZGl0aW9u
|
98
|
-
cyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vZmlzLntSZWdpb259
|
99
|
-
LntQYXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4fSIsInByb3Bl
|
100
|
-
cnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0s
|
101
|
-
eyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxl
|
102
|
-
ZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3Rh
|
103
|
-
Y2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBv
|
104
|
-
aW50Ijp7InVybCI6Imh0dHBzOi8vZmlzLntSZWdpb259LntQYXJ0aXRpb25S
|
105
|
-
ZXN1bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7
|
106
|
-
fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
|
107
|
-
|
108
|
-
JSON
|
109
50
|
end
|
110
51
|
end
|
data/lib/aws-sdk-fis/types.rb
CHANGED
@@ -133,21 +133,6 @@ module Aws::FIS
|
|
133
133
|
#
|
134
134
|
# [1]: https://docs.aws.amazon.com/fis/latest/userguide/actions.html
|
135
135
|
#
|
136
|
-
# @note When making an API call, you may pass CreateExperimentTemplateActionInput
|
137
|
-
# data as a hash:
|
138
|
-
#
|
139
|
-
# {
|
140
|
-
# action_id: "ActionId", # required
|
141
|
-
# description: "ExperimentTemplateActionDescription",
|
142
|
-
# parameters: {
|
143
|
-
# "ExperimentTemplateActionParameterName" => "ExperimentTemplateActionParameter",
|
144
|
-
# },
|
145
|
-
# targets: {
|
146
|
-
# "ExperimentTemplateActionTargetName" => "ExperimentTemplateTargetName",
|
147
|
-
# },
|
148
|
-
# start_after: ["ExperimentTemplateActionStartAfter"],
|
149
|
-
# }
|
150
|
-
#
|
151
136
|
# @!attribute [rw] action_id
|
152
137
|
# The ID of the action. The format of the action ID is:
|
153
138
|
# aws:*service-name*\:*action-type*.
|
@@ -185,20 +170,6 @@ module Aws::FIS
|
|
185
170
|
|
186
171
|
# Specifies the configuration for experiment logging.
|
187
172
|
#
|
188
|
-
# @note When making an API call, you may pass CreateExperimentTemplateLogConfigurationInput
|
189
|
-
# data as a hash:
|
190
|
-
#
|
191
|
-
# {
|
192
|
-
# cloud_watch_logs_configuration: {
|
193
|
-
# log_group_arn: "CloudWatchLogGroupArn", # required
|
194
|
-
# },
|
195
|
-
# s3_configuration: {
|
196
|
-
# bucket_name: "S3BucketName", # required
|
197
|
-
# prefix: "S3ObjectKey",
|
198
|
-
# },
|
199
|
-
# log_schema_version: 1, # required
|
200
|
-
# }
|
201
|
-
#
|
202
173
|
# @!attribute [rw] cloud_watch_logs_configuration
|
203
174
|
# The configuration for experiment logging to Amazon CloudWatch Logs.
|
204
175
|
# @return [Types::ExperimentTemplateCloudWatchLogsLogConfigurationInput]
|
@@ -221,66 +192,6 @@ module Aws::FIS
|
|
221
192
|
include Aws::Structure
|
222
193
|
end
|
223
194
|
|
224
|
-
# @note When making an API call, you may pass CreateExperimentTemplateRequest
|
225
|
-
# data as a hash:
|
226
|
-
#
|
227
|
-
# {
|
228
|
-
# client_token: "ClientToken", # required
|
229
|
-
# description: "ExperimentTemplateDescription", # required
|
230
|
-
# stop_conditions: [ # required
|
231
|
-
# {
|
232
|
-
# source: "StopConditionSource", # required
|
233
|
-
# value: "StopConditionValue",
|
234
|
-
# },
|
235
|
-
# ],
|
236
|
-
# targets: {
|
237
|
-
# "ExperimentTemplateTargetName" => {
|
238
|
-
# resource_type: "TargetResourceTypeId", # required
|
239
|
-
# resource_arns: ["ResourceArn"],
|
240
|
-
# resource_tags: {
|
241
|
-
# "TagKey" => "TagValue",
|
242
|
-
# },
|
243
|
-
# filters: [
|
244
|
-
# {
|
245
|
-
# path: "ExperimentTemplateTargetFilterPath", # required
|
246
|
-
# values: ["ExperimentTemplateTargetFilterValue"], # required
|
247
|
-
# },
|
248
|
-
# ],
|
249
|
-
# selection_mode: "ExperimentTemplateTargetSelectionMode", # required
|
250
|
-
# parameters: {
|
251
|
-
# "ExperimentTemplateTargetParameterName" => "ExperimentTemplateTargetParameterValue",
|
252
|
-
# },
|
253
|
-
# },
|
254
|
-
# },
|
255
|
-
# actions: { # required
|
256
|
-
# "ExperimentTemplateActionName" => {
|
257
|
-
# action_id: "ActionId", # required
|
258
|
-
# description: "ExperimentTemplateActionDescription",
|
259
|
-
# parameters: {
|
260
|
-
# "ExperimentTemplateActionParameterName" => "ExperimentTemplateActionParameter",
|
261
|
-
# },
|
262
|
-
# targets: {
|
263
|
-
# "ExperimentTemplateActionTargetName" => "ExperimentTemplateTargetName",
|
264
|
-
# },
|
265
|
-
# start_after: ["ExperimentTemplateActionStartAfter"],
|
266
|
-
# },
|
267
|
-
# },
|
268
|
-
# role_arn: "RoleArn", # required
|
269
|
-
# tags: {
|
270
|
-
# "TagKey" => "TagValue",
|
271
|
-
# },
|
272
|
-
# log_configuration: {
|
273
|
-
# cloud_watch_logs_configuration: {
|
274
|
-
# log_group_arn: "CloudWatchLogGroupArn", # required
|
275
|
-
# },
|
276
|
-
# s3_configuration: {
|
277
|
-
# bucket_name: "S3BucketName", # required
|
278
|
-
# prefix: "S3ObjectKey",
|
279
|
-
# },
|
280
|
-
# log_schema_version: 1, # required
|
281
|
-
# },
|
282
|
-
# }
|
283
|
-
#
|
284
195
|
# @!attribute [rw] client_token
|
285
196
|
# Unique, case-sensitive identifier that you provide to ensure the
|
286
197
|
# idempotency of the request.
|
@@ -347,14 +258,6 @@ module Aws::FIS
|
|
347
258
|
|
348
259
|
# Specifies a stop condition for an experiment template.
|
349
260
|
#
|
350
|
-
# @note When making an API call, you may pass CreateExperimentTemplateStopConditionInput
|
351
|
-
# data as a hash:
|
352
|
-
#
|
353
|
-
# {
|
354
|
-
# source: "StopConditionSource", # required
|
355
|
-
# value: "StopConditionValue",
|
356
|
-
# }
|
357
|
-
#
|
358
261
|
# @!attribute [rw] source
|
359
262
|
# The source for the stop condition. Specify `aws:cloudwatch:alarm` if
|
360
263
|
# the stop condition is defined by a CloudWatch alarm. Specify `none`
|
@@ -386,27 +289,6 @@ module Aws::FIS
|
|
386
289
|
#
|
387
290
|
# [1]: https://docs.aws.amazon.com/fis/latest/userguide/targets.html
|
388
291
|
#
|
389
|
-
# @note When making an API call, you may pass CreateExperimentTemplateTargetInput
|
390
|
-
# data as a hash:
|
391
|
-
#
|
392
|
-
# {
|
393
|
-
# resource_type: "TargetResourceTypeId", # required
|
394
|
-
# resource_arns: ["ResourceArn"],
|
395
|
-
# resource_tags: {
|
396
|
-
# "TagKey" => "TagValue",
|
397
|
-
# },
|
398
|
-
# filters: [
|
399
|
-
# {
|
400
|
-
# path: "ExperimentTemplateTargetFilterPath", # required
|
401
|
-
# values: ["ExperimentTemplateTargetFilterValue"], # required
|
402
|
-
# },
|
403
|
-
# ],
|
404
|
-
# selection_mode: "ExperimentTemplateTargetSelectionMode", # required
|
405
|
-
# parameters: {
|
406
|
-
# "ExperimentTemplateTargetParameterName" => "ExperimentTemplateTargetParameterValue",
|
407
|
-
# },
|
408
|
-
# }
|
409
|
-
#
|
410
292
|
# @!attribute [rw] resource_type
|
411
293
|
# The resource type. The resource type must be supported for the
|
412
294
|
# specified action.
|
@@ -459,13 +341,6 @@ module Aws::FIS
|
|
459
341
|
include Aws::Structure
|
460
342
|
end
|
461
343
|
|
462
|
-
# @note When making an API call, you may pass DeleteExperimentTemplateRequest
|
463
|
-
# data as a hash:
|
464
|
-
#
|
465
|
-
# {
|
466
|
-
# id: "ExperimentTemplateId", # required
|
467
|
-
# }
|
468
|
-
#
|
469
344
|
# @!attribute [rw] id
|
470
345
|
# The ID of the experiment template.
|
471
346
|
# @return [String]
|
@@ -933,13 +808,6 @@ module Aws::FIS
|
|
933
808
|
# Specifies the configuration for experiment logging to Amazon
|
934
809
|
# CloudWatch Logs.
|
935
810
|
#
|
936
|
-
# @note When making an API call, you may pass ExperimentTemplateCloudWatchLogsLogConfigurationInput
|
937
|
-
# data as a hash:
|
938
|
-
#
|
939
|
-
# {
|
940
|
-
# log_group_arn: "CloudWatchLogGroupArn", # required
|
941
|
-
# }
|
942
|
-
#
|
943
811
|
# @!attribute [rw] log_group_arn
|
944
812
|
# The Amazon Resource Name (ARN) of the destination Amazon CloudWatch
|
945
813
|
# Logs log group.
|
@@ -998,14 +866,6 @@ module Aws::FIS
|
|
998
866
|
|
999
867
|
# Specifies the configuration for experiment logging to Amazon S3.
|
1000
868
|
#
|
1001
|
-
# @note When making an API call, you may pass ExperimentTemplateS3LogConfigurationInput
|
1002
|
-
# data as a hash:
|
1003
|
-
#
|
1004
|
-
# {
|
1005
|
-
# bucket_name: "S3BucketName", # required
|
1006
|
-
# prefix: "S3ObjectKey",
|
1007
|
-
# }
|
1008
|
-
#
|
1009
869
|
# @!attribute [rw] bucket_name
|
1010
870
|
# The name of the destination bucket.
|
1011
871
|
# @return [String]
|
@@ -1147,14 +1007,6 @@ module Aws::FIS
|
|
1147
1007
|
#
|
1148
1008
|
# [1]: https://docs.aws.amazon.com/fis/latest/userguide/targets.html#target-filters
|
1149
1009
|
#
|
1150
|
-
# @note When making an API call, you may pass ExperimentTemplateTargetInputFilter
|
1151
|
-
# data as a hash:
|
1152
|
-
#
|
1153
|
-
# {
|
1154
|
-
# path: "ExperimentTemplateTargetFilterPath", # required
|
1155
|
-
# values: ["ExperimentTemplateTargetFilterValue"], # required
|
1156
|
-
# }
|
1157
|
-
#
|
1158
1010
|
# @!attribute [rw] path
|
1159
1011
|
# The attribute path for the filter.
|
1160
1012
|
# @return [String]
|
@@ -1172,13 +1024,6 @@ module Aws::FIS
|
|
1172
1024
|
include Aws::Structure
|
1173
1025
|
end
|
1174
1026
|
|
1175
|
-
# @note When making an API call, you may pass GetActionRequest
|
1176
|
-
# data as a hash:
|
1177
|
-
#
|
1178
|
-
# {
|
1179
|
-
# id: "ActionId", # required
|
1180
|
-
# }
|
1181
|
-
#
|
1182
1027
|
# @!attribute [rw] id
|
1183
1028
|
# The ID of the action.
|
1184
1029
|
# @return [String]
|
@@ -1203,13 +1048,6 @@ module Aws::FIS
|
|
1203
1048
|
include Aws::Structure
|
1204
1049
|
end
|
1205
1050
|
|
1206
|
-
# @note When making an API call, you may pass GetExperimentRequest
|
1207
|
-
# data as a hash:
|
1208
|
-
#
|
1209
|
-
# {
|
1210
|
-
# id: "ExperimentId", # required
|
1211
|
-
# }
|
1212
|
-
#
|
1213
1051
|
# @!attribute [rw] id
|
1214
1052
|
# The ID of the experiment.
|
1215
1053
|
# @return [String]
|
@@ -1234,13 +1072,6 @@ module Aws::FIS
|
|
1234
1072
|
include Aws::Structure
|
1235
1073
|
end
|
1236
1074
|
|
1237
|
-
# @note When making an API call, you may pass GetExperimentTemplateRequest
|
1238
|
-
# data as a hash:
|
1239
|
-
#
|
1240
|
-
# {
|
1241
|
-
# id: "ExperimentTemplateId", # required
|
1242
|
-
# }
|
1243
|
-
#
|
1244
1075
|
# @!attribute [rw] id
|
1245
1076
|
# The ID of the experiment template.
|
1246
1077
|
# @return [String]
|
@@ -1265,13 +1096,6 @@ module Aws::FIS
|
|
1265
1096
|
include Aws::Structure
|
1266
1097
|
end
|
1267
1098
|
|
1268
|
-
# @note When making an API call, you may pass GetTargetResourceTypeRequest
|
1269
|
-
# data as a hash:
|
1270
|
-
#
|
1271
|
-
# {
|
1272
|
-
# resource_type: "TargetResourceTypeId", # required
|
1273
|
-
# }
|
1274
|
-
#
|
1275
1099
|
# @!attribute [rw] resource_type
|
1276
1100
|
# The resource type.
|
1277
1101
|
# @return [String]
|
@@ -1296,14 +1120,6 @@ module Aws::FIS
|
|
1296
1120
|
include Aws::Structure
|
1297
1121
|
end
|
1298
1122
|
|
1299
|
-
# @note When making an API call, you may pass ListActionsRequest
|
1300
|
-
# data as a hash:
|
1301
|
-
#
|
1302
|
-
# {
|
1303
|
-
# max_results: 1,
|
1304
|
-
# next_token: "NextToken",
|
1305
|
-
# }
|
1306
|
-
#
|
1307
1123
|
# @!attribute [rw] max_results
|
1308
1124
|
# The maximum number of results to return with a single call. To
|
1309
1125
|
# retrieve the remaining results, make another call with the returned
|
@@ -1341,14 +1157,6 @@ module Aws::FIS
|
|
1341
1157
|
include Aws::Structure
|
1342
1158
|
end
|
1343
1159
|
|
1344
|
-
# @note When making an API call, you may pass ListExperimentTemplatesRequest
|
1345
|
-
# data as a hash:
|
1346
|
-
#
|
1347
|
-
# {
|
1348
|
-
# max_results: 1,
|
1349
|
-
# next_token: "NextToken",
|
1350
|
-
# }
|
1351
|
-
#
|
1352
1160
|
# @!attribute [rw] max_results
|
1353
1161
|
# The maximum number of results to return with a single call. To
|
1354
1162
|
# retrieve the remaining results, make another call with the returned
|
@@ -1386,14 +1194,6 @@ module Aws::FIS
|
|
1386
1194
|
include Aws::Structure
|
1387
1195
|
end
|
1388
1196
|
|
1389
|
-
# @note When making an API call, you may pass ListExperimentsRequest
|
1390
|
-
# data as a hash:
|
1391
|
-
#
|
1392
|
-
# {
|
1393
|
-
# max_results: 1,
|
1394
|
-
# next_token: "NextToken",
|
1395
|
-
# }
|
1396
|
-
#
|
1397
1197
|
# @!attribute [rw] max_results
|
1398
1198
|
# The maximum number of results to return with a single call. To
|
1399
1199
|
# retrieve the remaining results, make another call with the returned
|
@@ -1431,13 +1231,6 @@ module Aws::FIS
|
|
1431
1231
|
include Aws::Structure
|
1432
1232
|
end
|
1433
1233
|
|
1434
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
1435
|
-
# data as a hash:
|
1436
|
-
#
|
1437
|
-
# {
|
1438
|
-
# resource_arn: "ResourceArn", # required
|
1439
|
-
# }
|
1440
|
-
#
|
1441
1234
|
# @!attribute [rw] resource_arn
|
1442
1235
|
# The Amazon Resource Name (ARN) of the resource.
|
1443
1236
|
# @return [String]
|
@@ -1462,14 +1255,6 @@ module Aws::FIS
|
|
1462
1255
|
include Aws::Structure
|
1463
1256
|
end
|
1464
1257
|
|
1465
|
-
# @note When making an API call, you may pass ListTargetResourceTypesRequest
|
1466
|
-
# data as a hash:
|
1467
|
-
#
|
1468
|
-
# {
|
1469
|
-
# max_results: 1,
|
1470
|
-
# next_token: "NextToken",
|
1471
|
-
# }
|
1472
|
-
#
|
1473
1258
|
# @!attribute [rw] max_results
|
1474
1259
|
# The maximum number of results to return with a single call. To
|
1475
1260
|
# retrieve the remaining results, make another call with the returned
|
@@ -1533,17 +1318,6 @@ module Aws::FIS
|
|
1533
1318
|
include Aws::Structure
|
1534
1319
|
end
|
1535
1320
|
|
1536
|
-
# @note When making an API call, you may pass StartExperimentRequest
|
1537
|
-
# data as a hash:
|
1538
|
-
#
|
1539
|
-
# {
|
1540
|
-
# client_token: "ClientToken", # required
|
1541
|
-
# experiment_template_id: "ExperimentTemplateId", # required
|
1542
|
-
# tags: {
|
1543
|
-
# "TagKey" => "TagValue",
|
1544
|
-
# },
|
1545
|
-
# }
|
1546
|
-
#
|
1547
1321
|
# @!attribute [rw] client_token
|
1548
1322
|
# Unique, case-sensitive identifier that you provide to ensure the
|
1549
1323
|
# idempotency of the request.
|
@@ -1582,13 +1356,6 @@ module Aws::FIS
|
|
1582
1356
|
include Aws::Structure
|
1583
1357
|
end
|
1584
1358
|
|
1585
|
-
# @note When making an API call, you may pass StopExperimentRequest
|
1586
|
-
# data as a hash:
|
1587
|
-
#
|
1588
|
-
# {
|
1589
|
-
# id: "ExperimentId", # required
|
1590
|
-
# }
|
1591
|
-
#
|
1592
1359
|
# @!attribute [rw] id
|
1593
1360
|
# The ID of the experiment.
|
1594
1361
|
# @return [String]
|
@@ -1613,16 +1380,6 @@ module Aws::FIS
|
|
1613
1380
|
include Aws::Structure
|
1614
1381
|
end
|
1615
1382
|
|
1616
|
-
# @note When making an API call, you may pass TagResourceRequest
|
1617
|
-
# data as a hash:
|
1618
|
-
#
|
1619
|
-
# {
|
1620
|
-
# resource_arn: "ResourceArn", # required
|
1621
|
-
# tags: { # required
|
1622
|
-
# "TagKey" => "TagValue",
|
1623
|
-
# },
|
1624
|
-
# }
|
1625
|
-
#
|
1626
1383
|
# @!attribute [rw] resource_arn
|
1627
1384
|
# The Amazon Resource Name (ARN) of the resource.
|
1628
1385
|
# @return [String]
|
@@ -1707,14 +1464,6 @@ module Aws::FIS
|
|
1707
1464
|
include Aws::Structure
|
1708
1465
|
end
|
1709
1466
|
|
1710
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
1711
|
-
# data as a hash:
|
1712
|
-
#
|
1713
|
-
# {
|
1714
|
-
# resource_arn: "ResourceArn", # required
|
1715
|
-
# tag_keys: ["TagKey"],
|
1716
|
-
# }
|
1717
|
-
#
|
1718
1467
|
# @!attribute [rw] resource_arn
|
1719
1468
|
# The Amazon Resource Name (ARN) of the resource.
|
1720
1469
|
# @return [String]
|
@@ -1738,21 +1487,6 @@ module Aws::FIS
|
|
1738
1487
|
|
1739
1488
|
# Specifies an action for an experiment template.
|
1740
1489
|
#
|
1741
|
-
# @note When making an API call, you may pass UpdateExperimentTemplateActionInputItem
|
1742
|
-
# data as a hash:
|
1743
|
-
#
|
1744
|
-
# {
|
1745
|
-
# action_id: "ActionId",
|
1746
|
-
# description: "ExperimentTemplateActionDescription",
|
1747
|
-
# parameters: {
|
1748
|
-
# "ExperimentTemplateActionParameterName" => "ExperimentTemplateActionParameter",
|
1749
|
-
# },
|
1750
|
-
# targets: {
|
1751
|
-
# "ExperimentTemplateActionTargetName" => "ExperimentTemplateTargetName",
|
1752
|
-
# },
|
1753
|
-
# start_after: ["ExperimentTemplateActionStartAfter"],
|
1754
|
-
# }
|
1755
|
-
#
|
1756
1490
|
# @!attribute [rw] action_id
|
1757
1491
|
# The ID of the action.
|
1758
1492
|
# @return [String]
|
@@ -1789,20 +1523,6 @@ module Aws::FIS
|
|
1789
1523
|
|
1790
1524
|
# Specifies the configuration for experiment logging.
|
1791
1525
|
#
|
1792
|
-
# @note When making an API call, you may pass UpdateExperimentTemplateLogConfigurationInput
|
1793
|
-
# data as a hash:
|
1794
|
-
#
|
1795
|
-
# {
|
1796
|
-
# cloud_watch_logs_configuration: {
|
1797
|
-
# log_group_arn: "CloudWatchLogGroupArn", # required
|
1798
|
-
# },
|
1799
|
-
# s3_configuration: {
|
1800
|
-
# bucket_name: "S3BucketName", # required
|
1801
|
-
# prefix: "S3ObjectKey",
|
1802
|
-
# },
|
1803
|
-
# log_schema_version: 1,
|
1804
|
-
# }
|
1805
|
-
#
|
1806
1526
|
# @!attribute [rw] cloud_watch_logs_configuration
|
1807
1527
|
# The configuration for experiment logging to Amazon CloudWatch Logs.
|
1808
1528
|
# @return [Types::ExperimentTemplateCloudWatchLogsLogConfigurationInput]
|
@@ -1825,63 +1545,6 @@ module Aws::FIS
|
|
1825
1545
|
include Aws::Structure
|
1826
1546
|
end
|
1827
1547
|
|
1828
|
-
# @note When making an API call, you may pass UpdateExperimentTemplateRequest
|
1829
|
-
# data as a hash:
|
1830
|
-
#
|
1831
|
-
# {
|
1832
|
-
# id: "ExperimentTemplateId", # required
|
1833
|
-
# description: "ExperimentTemplateDescription",
|
1834
|
-
# stop_conditions: [
|
1835
|
-
# {
|
1836
|
-
# source: "StopConditionSource", # required
|
1837
|
-
# value: "StopConditionValue",
|
1838
|
-
# },
|
1839
|
-
# ],
|
1840
|
-
# targets: {
|
1841
|
-
# "ExperimentTemplateTargetName" => {
|
1842
|
-
# resource_type: "TargetResourceTypeId", # required
|
1843
|
-
# resource_arns: ["ResourceArn"],
|
1844
|
-
# resource_tags: {
|
1845
|
-
# "TagKey" => "TagValue",
|
1846
|
-
# },
|
1847
|
-
# filters: [
|
1848
|
-
# {
|
1849
|
-
# path: "ExperimentTemplateTargetFilterPath", # required
|
1850
|
-
# values: ["ExperimentTemplateTargetFilterValue"], # required
|
1851
|
-
# },
|
1852
|
-
# ],
|
1853
|
-
# selection_mode: "ExperimentTemplateTargetSelectionMode", # required
|
1854
|
-
# parameters: {
|
1855
|
-
# "ExperimentTemplateTargetParameterName" => "ExperimentTemplateTargetParameterValue",
|
1856
|
-
# },
|
1857
|
-
# },
|
1858
|
-
# },
|
1859
|
-
# actions: {
|
1860
|
-
# "ExperimentTemplateActionName" => {
|
1861
|
-
# action_id: "ActionId",
|
1862
|
-
# description: "ExperimentTemplateActionDescription",
|
1863
|
-
# parameters: {
|
1864
|
-
# "ExperimentTemplateActionParameterName" => "ExperimentTemplateActionParameter",
|
1865
|
-
# },
|
1866
|
-
# targets: {
|
1867
|
-
# "ExperimentTemplateActionTargetName" => "ExperimentTemplateTargetName",
|
1868
|
-
# },
|
1869
|
-
# start_after: ["ExperimentTemplateActionStartAfter"],
|
1870
|
-
# },
|
1871
|
-
# },
|
1872
|
-
# role_arn: "RoleArn",
|
1873
|
-
# log_configuration: {
|
1874
|
-
# cloud_watch_logs_configuration: {
|
1875
|
-
# log_group_arn: "CloudWatchLogGroupArn", # required
|
1876
|
-
# },
|
1877
|
-
# s3_configuration: {
|
1878
|
-
# bucket_name: "S3BucketName", # required
|
1879
|
-
# prefix: "S3ObjectKey",
|
1880
|
-
# },
|
1881
|
-
# log_schema_version: 1,
|
1882
|
-
# },
|
1883
|
-
# }
|
1884
|
-
#
|
1885
1548
|
# @!attribute [rw] id
|
1886
1549
|
# The ID of the experiment template.
|
1887
1550
|
# @return [String]
|
@@ -1940,14 +1603,6 @@ module Aws::FIS
|
|
1940
1603
|
# Specifies a stop condition for an experiment. You can define a stop
|
1941
1604
|
# condition as a CloudWatch alarm.
|
1942
1605
|
#
|
1943
|
-
# @note When making an API call, you may pass UpdateExperimentTemplateStopConditionInput
|
1944
|
-
# data as a hash:
|
1945
|
-
#
|
1946
|
-
# {
|
1947
|
-
# source: "StopConditionSource", # required
|
1948
|
-
# value: "StopConditionValue",
|
1949
|
-
# }
|
1950
|
-
#
|
1951
1606
|
# @!attribute [rw] source
|
1952
1607
|
# The source for the stop condition. Specify `aws:cloudwatch:alarm` if
|
1953
1608
|
# the stop condition is defined by a CloudWatch alarm. Specify `none`
|
@@ -1971,27 +1626,6 @@ module Aws::FIS
|
|
1971
1626
|
# Amazon Resource Name (ARN) or at least one resource tag. You cannot
|
1972
1627
|
# specify both.
|
1973
1628
|
#
|
1974
|
-
# @note When making an API call, you may pass UpdateExperimentTemplateTargetInput
|
1975
|
-
# data as a hash:
|
1976
|
-
#
|
1977
|
-
# {
|
1978
|
-
# resource_type: "TargetResourceTypeId", # required
|
1979
|
-
# resource_arns: ["ResourceArn"],
|
1980
|
-
# resource_tags: {
|
1981
|
-
# "TagKey" => "TagValue",
|
1982
|
-
# },
|
1983
|
-
# filters: [
|
1984
|
-
# {
|
1985
|
-
# path: "ExperimentTemplateTargetFilterPath", # required
|
1986
|
-
# values: ["ExperimentTemplateTargetFilterValue"], # required
|
1987
|
-
# },
|
1988
|
-
# ],
|
1989
|
-
# selection_mode: "ExperimentTemplateTargetSelectionMode", # required
|
1990
|
-
# parameters: {
|
1991
|
-
# "ExperimentTemplateTargetParameterName" => "ExperimentTemplateTargetParameterValue",
|
1992
|
-
# },
|
1993
|
-
# }
|
1994
|
-
#
|
1995
1629
|
# @!attribute [rw] resource_type
|
1996
1630
|
# The resource type. The resource type must be supported for the
|
1997
1631
|
# specified action.
|
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.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|