aws-sdk-fis 1.8.0 → 1.9.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-fis/client.rb +19 -14
- data/lib/aws-sdk-fis/client_api.rb +4 -0
- data/lib/aws-sdk-fis/types.rb +50 -19
- 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: 39470494b29fb8ac3f19e517a50865e1022efc19642ca06845d2a05be116bee1
|
4
|
+
data.tar.gz: 9fd1ec6aa47ab6f51bf111d45290e10ed3027bf4eda02063ab279b7acde6dc8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9926b7716ef07702cb471709f72a2080acd188a69ca99d4c7b4f8e3d97c7cd2ddbea4c6645797dd75c11e61ccc3b57dcb61499301f9a429db8f9fa705d19685b
|
7
|
+
data.tar.gz: b81af7fca5a7350a09594a330e23439b151e37d510c5c411767df5e5e1b7813e237e592bd6525d80863f9492fb5587a09c5186f5904bf084f99866f822df6bca
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.9.0
|
data/lib/aws-sdk-fis/client.rb
CHANGED
@@ -349,11 +349,11 @@ module Aws::FIS
|
|
349
349
|
|
350
350
|
# Creates an experiment template.
|
351
351
|
#
|
352
|
-
#
|
352
|
+
# An experiment template includes the following components:
|
353
353
|
#
|
354
|
-
# * **Targets**\: A target can be a specific resource in your
|
355
|
-
# environment, or one or more resources that match criteria
|
356
|
-
# specify, for example, resources that have specific tags.
|
354
|
+
# * **Targets**\: A target can be a specific resource in your Amazon Web
|
355
|
+
# Services environment, or one or more resources that match criteria
|
356
|
+
# that you specify, for example, resources that have specific tags.
|
357
357
|
#
|
358
358
|
# * **Actions**\: The actions to carry out on the target. You can
|
359
359
|
# specify multiple actions, the duration of each action, and when to
|
@@ -363,12 +363,12 @@ module Aws::FIS
|
|
363
363
|
# experiment is running, the experiment is automatically stopped. You
|
364
364
|
# can define a stop condition as a CloudWatch alarm.
|
365
365
|
#
|
366
|
-
# For more information, see
|
367
|
-
# Guide
|
366
|
+
# For more information, see [Experiment templates][1] in the *Fault
|
367
|
+
# Injection Simulator User Guide*.
|
368
368
|
#
|
369
369
|
#
|
370
370
|
#
|
371
|
-
# [1]: https://docs.aws.amazon.com/fis/latest/userguide/
|
371
|
+
# [1]: https://docs.aws.amazon.com/fis/latest/userguide/experiment-templates.html
|
372
372
|
#
|
373
373
|
# @option params [required, String] :client_token
|
374
374
|
# Unique, case-sensitive identifier that you provide to ensure the
|
@@ -378,8 +378,7 @@ module Aws::FIS
|
|
378
378
|
# not need to pass this option.**
|
379
379
|
#
|
380
380
|
# @option params [required, String] :description
|
381
|
-
# A description for the experiment template.
|
382
|
-
# letters (A-Z and a-z).
|
381
|
+
# A description for the experiment template.
|
383
382
|
#
|
384
383
|
# @option params [required, Array<Types::CreateExperimentTemplateStopConditionInput>] :stop_conditions
|
385
384
|
# The stop conditions.
|
@@ -391,7 +390,7 @@ module Aws::FIS
|
|
391
390
|
# The actions for the experiment.
|
392
391
|
#
|
393
392
|
# @option params [required, String] :role_arn
|
394
|
-
# The Amazon Resource Name (ARN) of an IAM role that grants the
|
393
|
+
# The Amazon Resource Name (ARN) of an IAM role that grants the FIS
|
395
394
|
# service permission to perform service actions on your behalf.
|
396
395
|
#
|
397
396
|
# @option params [Hash<String,String>] :tags
|
@@ -546,7 +545,7 @@ module Aws::FIS
|
|
546
545
|
req.send_request(options)
|
547
546
|
end
|
548
547
|
|
549
|
-
# Gets information about the specified
|
548
|
+
# Gets information about the specified FIS action.
|
550
549
|
#
|
551
550
|
# @option params [required, String] :id
|
552
551
|
# The ID of the action.
|
@@ -626,6 +625,8 @@ module Aws::FIS
|
|
626
625
|
# resp.experiment.actions["ExperimentActionName"].start_after[0] #=> String
|
627
626
|
# resp.experiment.actions["ExperimentActionName"].state.status #=> String, one of "pending", "initiating", "running", "completed", "cancelled", "stopping", "stopped", "failed"
|
628
627
|
# resp.experiment.actions["ExperimentActionName"].state.reason #=> String
|
628
|
+
# resp.experiment.actions["ExperimentActionName"].start_time #=> Time
|
629
|
+
# resp.experiment.actions["ExperimentActionName"].end_time #=> Time
|
629
630
|
# resp.experiment.stop_conditions #=> Array
|
630
631
|
# resp.experiment.stop_conditions[0].source #=> String
|
631
632
|
# resp.experiment.stop_conditions[0].value #=> String
|
@@ -701,7 +702,7 @@ module Aws::FIS
|
|
701
702
|
req.send_request(options)
|
702
703
|
end
|
703
704
|
|
704
|
-
# Lists the available
|
705
|
+
# Lists the available FIS actions.
|
705
706
|
#
|
706
707
|
# @option params [Integer] :max_results
|
707
708
|
# The maximum number of results to return with a single call. To
|
@@ -921,6 +922,8 @@ module Aws::FIS
|
|
921
922
|
# resp.experiment.actions["ExperimentActionName"].start_after[0] #=> String
|
922
923
|
# resp.experiment.actions["ExperimentActionName"].state.status #=> String, one of "pending", "initiating", "running", "completed", "cancelled", "stopping", "stopped", "failed"
|
923
924
|
# resp.experiment.actions["ExperimentActionName"].state.reason #=> String
|
925
|
+
# resp.experiment.actions["ExperimentActionName"].start_time #=> Time
|
926
|
+
# resp.experiment.actions["ExperimentActionName"].end_time #=> Time
|
924
927
|
# resp.experiment.stop_conditions #=> Array
|
925
928
|
# resp.experiment.stop_conditions[0].source #=> String
|
926
929
|
# resp.experiment.stop_conditions[0].value #=> String
|
@@ -983,6 +986,8 @@ module Aws::FIS
|
|
983
986
|
# resp.experiment.actions["ExperimentActionName"].start_after[0] #=> String
|
984
987
|
# resp.experiment.actions["ExperimentActionName"].state.status #=> String, one of "pending", "initiating", "running", "completed", "cancelled", "stopping", "stopped", "failed"
|
985
988
|
# resp.experiment.actions["ExperimentActionName"].state.reason #=> String
|
989
|
+
# resp.experiment.actions["ExperimentActionName"].start_time #=> Time
|
990
|
+
# resp.experiment.actions["ExperimentActionName"].end_time #=> Time
|
986
991
|
# resp.experiment.stop_conditions #=> Array
|
987
992
|
# resp.experiment.stop_conditions[0].source #=> String
|
988
993
|
# resp.experiment.stop_conditions[0].value #=> String
|
@@ -1073,7 +1078,7 @@ module Aws::FIS
|
|
1073
1078
|
# The actions for the experiment.
|
1074
1079
|
#
|
1075
1080
|
# @option params [String] :role_arn
|
1076
|
-
# The Amazon Resource Name (ARN) of an IAM role that grants the
|
1081
|
+
# The Amazon Resource Name (ARN) of an IAM role that grants the FIS
|
1077
1082
|
# service permission to perform service actions on your behalf.
|
1078
1083
|
#
|
1079
1084
|
# @return [Types::UpdateExperimentTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1178,7 +1183,7 @@ module Aws::FIS
|
|
1178
1183
|
params: params,
|
1179
1184
|
config: config)
|
1180
1185
|
context[:gem_name] = 'aws-sdk-fis'
|
1181
|
-
context[:gem_version] = '1.
|
1186
|
+
context[:gem_version] = '1.9.0'
|
1182
1187
|
Seahorse::Client::Request.new(handlers, context)
|
1183
1188
|
end
|
1184
1189
|
|
@@ -43,6 +43,7 @@ module Aws::FIS
|
|
43
43
|
Experiment = Shapes::StructureShape.new(name: 'Experiment')
|
44
44
|
ExperimentAction = Shapes::StructureShape.new(name: 'ExperimentAction')
|
45
45
|
ExperimentActionDescription = Shapes::StringShape.new(name: 'ExperimentActionDescription')
|
46
|
+
ExperimentActionEndTime = Shapes::TimestampShape.new(name: 'ExperimentActionEndTime')
|
46
47
|
ExperimentActionMap = Shapes::MapShape.new(name: 'ExperimentActionMap')
|
47
48
|
ExperimentActionName = Shapes::StringShape.new(name: 'ExperimentActionName')
|
48
49
|
ExperimentActionParameter = Shapes::StringShape.new(name: 'ExperimentActionParameter')
|
@@ -50,6 +51,7 @@ module Aws::FIS
|
|
50
51
|
ExperimentActionParameterName = Shapes::StringShape.new(name: 'ExperimentActionParameterName')
|
51
52
|
ExperimentActionStartAfter = Shapes::StringShape.new(name: 'ExperimentActionStartAfter')
|
52
53
|
ExperimentActionStartAfterList = Shapes::ListShape.new(name: 'ExperimentActionStartAfterList')
|
54
|
+
ExperimentActionStartTime = Shapes::TimestampShape.new(name: 'ExperimentActionStartTime')
|
53
55
|
ExperimentActionState = Shapes::StructureShape.new(name: 'ExperimentActionState')
|
54
56
|
ExperimentActionStatus = Shapes::StringShape.new(name: 'ExperimentActionStatus')
|
55
57
|
ExperimentActionStatusReason = Shapes::StringShape.new(name: 'ExperimentActionStatusReason')
|
@@ -247,6 +249,8 @@ module Aws::FIS
|
|
247
249
|
ExperimentAction.add_member(:targets, Shapes::ShapeRef.new(shape: ExperimentActionTargetMap, location_name: "targets"))
|
248
250
|
ExperimentAction.add_member(:start_after, Shapes::ShapeRef.new(shape: ExperimentActionStartAfterList, location_name: "startAfter"))
|
249
251
|
ExperimentAction.add_member(:state, Shapes::ShapeRef.new(shape: ExperimentActionState, location_name: "state"))
|
252
|
+
ExperimentAction.add_member(:start_time, Shapes::ShapeRef.new(shape: ExperimentActionStartTime, location_name: "startTime"))
|
253
|
+
ExperimentAction.add_member(:end_time, Shapes::ShapeRef.new(shape: ExperimentActionEndTime, location_name: "endTime"))
|
250
254
|
ExperimentAction.struct_class = Types::ExperimentAction
|
251
255
|
|
252
256
|
ExperimentActionMap.key = Shapes::ShapeRef.new(shape: ExperimentActionName)
|
data/lib/aws-sdk-fis/types.rb
CHANGED
@@ -10,8 +10,8 @@
|
|
10
10
|
module Aws::FIS
|
11
11
|
module Types
|
12
12
|
|
13
|
-
# Describes an action. For more information, see [
|
14
|
-
#
|
13
|
+
# Describes an action. For more information, see [FIS actions][1] in the
|
14
|
+
# *Fault Injection Simulator User Guide*.
|
15
15
|
#
|
16
16
|
#
|
17
17
|
#
|
@@ -126,6 +126,13 @@ module Aws::FIS
|
|
126
126
|
|
127
127
|
# Specifies an action for an experiment template.
|
128
128
|
#
|
129
|
+
# For more information, see [Actions][1] in the *Fault Injection
|
130
|
+
# Simulator User Guide*.
|
131
|
+
#
|
132
|
+
#
|
133
|
+
#
|
134
|
+
# [1]: https://docs.aws.amazon.com/fis/latest/userguide/actions.html
|
135
|
+
#
|
129
136
|
# @note When making an API call, you may pass CreateExperimentTemplateActionInput
|
130
137
|
# data as a hash:
|
131
138
|
#
|
@@ -142,7 +149,8 @@ module Aws::FIS
|
|
142
149
|
# }
|
143
150
|
#
|
144
151
|
# @!attribute [rw] action_id
|
145
|
-
# The ID of the action.
|
152
|
+
# The ID of the action. The format of the action ID is:
|
153
|
+
# aws:*service-name*\:*action-type*.
|
146
154
|
# @return [String]
|
147
155
|
#
|
148
156
|
# @!attribute [rw] description
|
@@ -231,8 +239,7 @@ module Aws::FIS
|
|
231
239
|
# @return [String]
|
232
240
|
#
|
233
241
|
# @!attribute [rw] description
|
234
|
-
# A description for the experiment template.
|
235
|
-
# letters (A-Z and a-z).
|
242
|
+
# A description for the experiment template.
|
236
243
|
# @return [String]
|
237
244
|
#
|
238
245
|
# @!attribute [rw] stop_conditions
|
@@ -248,8 +255,8 @@ module Aws::FIS
|
|
248
255
|
# @return [Hash<String,Types::CreateExperimentTemplateActionInput>]
|
249
256
|
#
|
250
257
|
# @!attribute [rw] role_arn
|
251
|
-
# The Amazon Resource Name (ARN) of an IAM role that grants the
|
252
|
-
#
|
258
|
+
# The Amazon Resource Name (ARN) of an IAM role that grants the FIS
|
259
|
+
# service permission to perform service actions on your behalf.
|
253
260
|
# @return [String]
|
254
261
|
#
|
255
262
|
# @!attribute [rw] tags
|
@@ -316,6 +323,13 @@ module Aws::FIS
|
|
316
323
|
# Amazon Resource Name (ARN) or at least one resource tag. You cannot
|
317
324
|
# specify both ARNs and tags.
|
318
325
|
#
|
326
|
+
# For more information, see [Targets][1] in the *Fault Injection
|
327
|
+
# Simulator User Guide*.
|
328
|
+
#
|
329
|
+
#
|
330
|
+
#
|
331
|
+
# [1]: https://docs.aws.amazon.com/fis/latest/userguide/targets.html
|
332
|
+
#
|
319
333
|
# @note When making an API call, you may pass CreateExperimentTemplateTargetInput
|
320
334
|
# data as a hash:
|
321
335
|
#
|
@@ -335,8 +349,8 @@ module Aws::FIS
|
|
335
349
|
# }
|
336
350
|
#
|
337
351
|
# @!attribute [rw] resource_type
|
338
|
-
# The
|
339
|
-
# specified action.
|
352
|
+
# The Amazon Web Services resource type. The resource type must be
|
353
|
+
# supported for the specified action.
|
340
354
|
# @return [String]
|
341
355
|
#
|
342
356
|
# @!attribute [rw] resource_arns
|
@@ -423,8 +437,8 @@ module Aws::FIS
|
|
423
437
|
# @return [String]
|
424
438
|
#
|
425
439
|
# @!attribute [rw] role_arn
|
426
|
-
# The Amazon Resource Name (ARN) of an IAM role that grants the
|
427
|
-
#
|
440
|
+
# The Amazon Resource Name (ARN) of an IAM role that grants the FIS
|
441
|
+
# service permission to perform service actions on your behalf.
|
428
442
|
# @return [String]
|
429
443
|
#
|
430
444
|
# @!attribute [rw] state
|
@@ -444,11 +458,11 @@ module Aws::FIS
|
|
444
458
|
# @return [Array<Types::ExperimentStopCondition>]
|
445
459
|
#
|
446
460
|
# @!attribute [rw] creation_time
|
447
|
-
# The time the experiment was created.
|
461
|
+
# The time that the experiment was created.
|
448
462
|
# @return [Time]
|
449
463
|
#
|
450
464
|
# @!attribute [rw] start_time
|
451
|
-
# The time that the experiment
|
465
|
+
# The time that the experiment started.
|
452
466
|
# @return [Time]
|
453
467
|
#
|
454
468
|
# @!attribute [rw] end_time
|
@@ -504,6 +518,14 @@ module Aws::FIS
|
|
504
518
|
# The state of the action.
|
505
519
|
# @return [Types::ExperimentActionState]
|
506
520
|
#
|
521
|
+
# @!attribute [rw] start_time
|
522
|
+
# The time that the action started.
|
523
|
+
# @return [Time]
|
524
|
+
#
|
525
|
+
# @!attribute [rw] end_time
|
526
|
+
# The time that the action ended.
|
527
|
+
# @return [Time]
|
528
|
+
#
|
507
529
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ExperimentAction AWS API Documentation
|
508
530
|
#
|
509
531
|
class ExperimentAction < Struct.new(
|
@@ -512,7 +534,9 @@ module Aws::FIS
|
|
512
534
|
:parameters,
|
513
535
|
:targets,
|
514
536
|
:start_after,
|
515
|
-
:state
|
537
|
+
:state,
|
538
|
+
:start_time,
|
539
|
+
:end_time)
|
516
540
|
SENSITIVE = []
|
517
541
|
include Aws::Structure
|
518
542
|
end
|
@@ -861,9 +885,16 @@ module Aws::FIS
|
|
861
885
|
include Aws::Structure
|
862
886
|
end
|
863
887
|
|
864
|
-
#
|
888
|
+
# Specifies a filter used for the target resource input in an experiment
|
865
889
|
# template.
|
866
890
|
#
|
891
|
+
# For more information, see [Resource filters][1] in the *Fault
|
892
|
+
# Injection Simulator User Guide*.
|
893
|
+
#
|
894
|
+
#
|
895
|
+
#
|
896
|
+
# [1]: https://docs.aws.amazon.com/fis/latest/userguide/targets.html#target-filters
|
897
|
+
#
|
867
898
|
# @note When making an API call, you may pass ExperimentTemplateTargetInputFilter
|
868
899
|
# data as a hash:
|
869
900
|
#
|
@@ -1430,8 +1461,8 @@ module Aws::FIS
|
|
1430
1461
|
# @return [Hash<String,Types::UpdateExperimentTemplateActionInputItem>]
|
1431
1462
|
#
|
1432
1463
|
# @!attribute [rw] role_arn
|
1433
|
-
# The Amazon Resource Name (ARN) of an IAM role that grants the
|
1434
|
-
#
|
1464
|
+
# The Amazon Resource Name (ARN) of an IAM role that grants the FIS
|
1465
|
+
# service permission to perform service actions on your behalf.
|
1435
1466
|
# @return [String]
|
1436
1467
|
#
|
1437
1468
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/UpdateExperimentTemplateRequest AWS API Documentation
|
@@ -1512,8 +1543,8 @@ module Aws::FIS
|
|
1512
1543
|
# }
|
1513
1544
|
#
|
1514
1545
|
# @!attribute [rw] resource_type
|
1515
|
-
# The
|
1516
|
-
# specified action.
|
1546
|
+
# The Amazon Web Services resource type. The resource type must be
|
1547
|
+
# supported for the specified action.
|
1517
1548
|
# @return [String]
|
1518
1549
|
#
|
1519
1550
|
# @!attribute [rw] resource_arns
|
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.9.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: 2022-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|