aws-sdk-fis 1.5.0 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0b13fdf929643d8a9398cfbb94ead75ec87942b96969a338ec8fd879ba53ff3c
4
- data.tar.gz: 05e2546b4f6244d35c288c48491bd6ac012c1b427ed097657a5bf7ef0c65c2ce
3
+ metadata.gz: 39470494b29fb8ac3f19e517a50865e1022efc19642ca06845d2a05be116bee1
4
+ data.tar.gz: 9fd1ec6aa47ab6f51bf111d45290e10ed3027bf4eda02063ab279b7acde6dc8d
5
5
  SHA512:
6
- metadata.gz: b07769bf1cdd937315287534c346cfc0bdc0412c40f80764a8b8db164dd4bda2edbf4aadfae7b379cf08d843c6e1cfb08ba8d3babf0d935364f8311812b3209d
7
- data.tar.gz: 924339fb587273554180417b874c9a5e2c6c0b44dc5de0f3557cde71d40758f452439238f3c968b54f36ebc0f8cad8c333859c8402dade8cf1e3d5cd5f31e0fe
6
+ metadata.gz: 9926b7716ef07702cb471709f72a2080acd188a69ca99d4c7b4f8e3d97c7cd2ddbea4c6645797dd75c11e61ccc3b57dcb61499301f9a429db8f9fa705d19685b
7
+ data.tar.gz: b81af7fca5a7350a09594a330e23439b151e37d510c5c411767df5e5e1b7813e237e592bd6525d80863f9492fb5587a09c5186f5904bf084f99866f822df6bca
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.9.0 (2022-01-20)
5
+ ------------------
6
+
7
+ * Feature - Added action startTime and action endTime timestamp fields to the ExperimentAction object
8
+
9
+ 1.8.0 (2021-12-21)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.7.0 (2021-11-30)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.6.0 (2021-11-04)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.5.0 (2021-10-18)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.0
1
+ 1.9.0
@@ -27,6 +27,7 @@ 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/defaults_mode.rb'
30
31
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
32
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
32
33
 
@@ -73,6 +74,7 @@ module Aws::FIS
73
74
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
75
  add_plugin(Aws::Plugins::TransferEncoding)
75
76
  add_plugin(Aws::Plugins::HttpChecksum)
77
+ add_plugin(Aws::Plugins::DefaultsMode)
76
78
  add_plugin(Aws::Plugins::SignatureV4)
77
79
  add_plugin(Aws::Plugins::Protocols::RestJson)
78
80
 
@@ -119,7 +121,9 @@ module Aws::FIS
119
121
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
122
  # are very aggressive. Construct and pass an instance of
121
123
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
124
+ # enable retries and extended timeouts. Instance profile credential
125
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
126
+ # to true.
123
127
  #
124
128
  # @option options [required, String] :region
125
129
  # The AWS region to connect to. The configured `:region` is
@@ -173,6 +177,10 @@ module Aws::FIS
173
177
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
178
  # a clock skew correction and retry requests with skewed client clocks.
175
179
  #
180
+ # @option options [String] :defaults_mode ("legacy")
181
+ # See {Aws::DefaultsModeConfiguration} for a list of the
182
+ # accepted modes and the configuration defaults that are included.
183
+ #
176
184
  # @option options [Boolean] :disable_host_prefix_injection (false)
177
185
  # Set to true to disable SDK automatically adding host prefix
178
186
  # to default service endpoint when available.
@@ -275,6 +283,15 @@ module Aws::FIS
275
283
  # ** Please note ** When response stubbing is enabled, no HTTP
276
284
  # requests are made, and retries are disabled.
277
285
  #
286
+ # @option options [Boolean] :use_dualstack_endpoint
287
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
288
+ # will be used if available.
289
+ #
290
+ # @option options [Boolean] :use_fips_endpoint
291
+ # When set to `true`, fips compatible endpoints will be used if available.
292
+ # When a `fips` region is used, the region is normalized and this config
293
+ # is set to `true`.
294
+ #
278
295
  # @option options [Boolean] :validate_params (true)
279
296
  # When `true`, request parameters are validated before
280
297
  # sending the request.
@@ -286,7 +303,7 @@ module Aws::FIS
286
303
  # seconds to wait when opening a HTTP session before raising a
287
304
  # `Timeout::Error`.
288
305
  #
289
- # @option options [Integer] :http_read_timeout (60) The default
306
+ # @option options [Float] :http_read_timeout (60) The default
290
307
  # number of seconds to wait for response data. This value can
291
308
  # safely be set per-request on the session.
292
309
  #
@@ -302,6 +319,9 @@ module Aws::FIS
302
319
  # disables this behaviour. This value can safely be set per
303
320
  # request on the session.
304
321
  #
322
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
323
+ # in seconds.
324
+ #
305
325
  # @option options [Boolean] :http_wire_trace (false) When `true`,
306
326
  # HTTP debug output will be sent to the `:logger`.
307
327
  #
@@ -329,11 +349,11 @@ module Aws::FIS
329
349
 
330
350
  # Creates an experiment template.
331
351
  #
332
- # To create a template, specify the following information:
352
+ # An experiment template includes the following components:
333
353
  #
334
- # * **Targets**\: A target can be a specific resource in your AWS
335
- # environment, or one or more resources that match criteria that you
336
- # 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.
337
357
  #
338
358
  # * **Actions**\: The actions to carry out on the target. You can
339
359
  # specify multiple actions, the duration of each action, and when to
@@ -343,12 +363,12 @@ module Aws::FIS
343
363
  # experiment is running, the experiment is automatically stopped. You
344
364
  # can define a stop condition as a CloudWatch alarm.
345
365
  #
346
- # For more information, see the [AWS Fault Injection Simulator User
347
- # Guide][1].
366
+ # For more information, see [Experiment templates][1] in the *Fault
367
+ # Injection Simulator User Guide*.
348
368
  #
349
369
  #
350
370
  #
351
- # [1]: https://docs.aws.amazon.com/fis/latest/userguide/
371
+ # [1]: https://docs.aws.amazon.com/fis/latest/userguide/experiment-templates.html
352
372
  #
353
373
  # @option params [required, String] :client_token
354
374
  # Unique, case-sensitive identifier that you provide to ensure the
@@ -358,8 +378,7 @@ module Aws::FIS
358
378
  # not need to pass this option.**
359
379
  #
360
380
  # @option params [required, String] :description
361
- # A description for the experiment template. Can contain up to 64
362
- # letters (A-Z and a-z).
381
+ # A description for the experiment template.
363
382
  #
364
383
  # @option params [required, Array<Types::CreateExperimentTemplateStopConditionInput>] :stop_conditions
365
384
  # The stop conditions.
@@ -371,7 +390,7 @@ module Aws::FIS
371
390
  # The actions for the experiment.
372
391
  #
373
392
  # @option params [required, String] :role_arn
374
- # The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS
393
+ # The Amazon Resource Name (ARN) of an IAM role that grants the FIS
375
394
  # service permission to perform service actions on your behalf.
376
395
  #
377
396
  # @option params [Hash<String,String>] :tags
@@ -526,7 +545,7 @@ module Aws::FIS
526
545
  req.send_request(options)
527
546
  end
528
547
 
529
- # Gets information about the specified AWS FIS action.
548
+ # Gets information about the specified FIS action.
530
549
  #
531
550
  # @option params [required, String] :id
532
551
  # The ID of the action.
@@ -606,6 +625,8 @@ module Aws::FIS
606
625
  # resp.experiment.actions["ExperimentActionName"].start_after[0] #=> String
607
626
  # resp.experiment.actions["ExperimentActionName"].state.status #=> String, one of "pending", "initiating", "running", "completed", "cancelled", "stopping", "stopped", "failed"
608
627
  # resp.experiment.actions["ExperimentActionName"].state.reason #=> String
628
+ # resp.experiment.actions["ExperimentActionName"].start_time #=> Time
629
+ # resp.experiment.actions["ExperimentActionName"].end_time #=> Time
609
630
  # resp.experiment.stop_conditions #=> Array
610
631
  # resp.experiment.stop_conditions[0].source #=> String
611
632
  # resp.experiment.stop_conditions[0].value #=> String
@@ -681,7 +702,7 @@ module Aws::FIS
681
702
  req.send_request(options)
682
703
  end
683
704
 
684
- # Lists the available AWS FIS actions.
705
+ # Lists the available FIS actions.
685
706
  #
686
707
  # @option params [Integer] :max_results
687
708
  # The maximum number of results to return with a single call. To
@@ -901,6 +922,8 @@ module Aws::FIS
901
922
  # resp.experiment.actions["ExperimentActionName"].start_after[0] #=> String
902
923
  # resp.experiment.actions["ExperimentActionName"].state.status #=> String, one of "pending", "initiating", "running", "completed", "cancelled", "stopping", "stopped", "failed"
903
924
  # resp.experiment.actions["ExperimentActionName"].state.reason #=> String
925
+ # resp.experiment.actions["ExperimentActionName"].start_time #=> Time
926
+ # resp.experiment.actions["ExperimentActionName"].end_time #=> Time
904
927
  # resp.experiment.stop_conditions #=> Array
905
928
  # resp.experiment.stop_conditions[0].source #=> String
906
929
  # resp.experiment.stop_conditions[0].value #=> String
@@ -963,6 +986,8 @@ module Aws::FIS
963
986
  # resp.experiment.actions["ExperimentActionName"].start_after[0] #=> String
964
987
  # resp.experiment.actions["ExperimentActionName"].state.status #=> String, one of "pending", "initiating", "running", "completed", "cancelled", "stopping", "stopped", "failed"
965
988
  # resp.experiment.actions["ExperimentActionName"].state.reason #=> String
989
+ # resp.experiment.actions["ExperimentActionName"].start_time #=> Time
990
+ # resp.experiment.actions["ExperimentActionName"].end_time #=> Time
966
991
  # resp.experiment.stop_conditions #=> Array
967
992
  # resp.experiment.stop_conditions[0].source #=> String
968
993
  # resp.experiment.stop_conditions[0].value #=> String
@@ -1053,7 +1078,7 @@ module Aws::FIS
1053
1078
  # The actions for the experiment.
1054
1079
  #
1055
1080
  # @option params [String] :role_arn
1056
- # The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS
1081
+ # The Amazon Resource Name (ARN) of an IAM role that grants the FIS
1057
1082
  # service permission to perform service actions on your behalf.
1058
1083
  #
1059
1084
  # @return [Types::UpdateExperimentTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -1158,7 +1183,7 @@ module Aws::FIS
1158
1183
  params: params,
1159
1184
  config: config)
1160
1185
  context[:gem_name] = 'aws-sdk-fis'
1161
- context[:gem_version] = '1.5.0'
1186
+ context[:gem_version] = '1.9.0'
1162
1187
  Seahorse::Client::Request.new(handlers, context)
1163
1188
  end
1164
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)
@@ -10,8 +10,8 @@
10
10
  module Aws::FIS
11
11
  module Types
12
12
 
13
- # Describes an action. For more information, see [AWS FIS actions][1] in
14
- # the *AWS Fault Injection Simulator User Guide*.
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. Can contain up to 64
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 AWS
252
- # FIS service permission to perform service actions on your behalf.
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 AWS resource type. The resource type must be supported for 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 AWS
427
- # FIS service permission to perform service actions on your behalf.
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 was started.
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
- # Describes a filter used for the target resource input in an experiment
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 AWS
1434
- # FIS service permission to perform service actions on your behalf.
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 AWS resource type. The resource type must be supported for 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
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-fis/customizations'
48
48
  # @!group service
49
49
  module Aws::FIS
50
50
 
51
- GEM_VERSION = '1.5.0'
51
+ GEM_VERSION = '1.9.0'
52
52
 
53
53
  end
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.5.0
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: 2021-10-18 00:00:00.000000000 Z
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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.121.2
22
+ version: 3.125.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.121.2
32
+ version: 3.125.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement