aws-sdk-fis 1.33.0 → 1.35.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-fis/client.rb +22 -1
- data/lib/aws-sdk-fis/client_api.rb +10 -0
- data/lib/aws-sdk-fis/types.rb +32 -1
- data/lib/aws-sdk-fis.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +8 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17bf4644af6e1f756961dac86cd831abf6e401ccfeef2214e4b30ee167ebff07
|
4
|
+
data.tar.gz: 1244441f80fc8d170bc617f48373d03bdba03b69acf2ac0ccd4d63b94260a912
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9efa79ee5e27eac5feeee0b8e562b09256eccb24c6ce4d8819b14bde040a7a57b65d4f989006c936fc72f1d26a2d1c198c51a39cc12e8394e44eeda013884df8
|
7
|
+
data.tar.gz: 74e17e972bacd4fbe7f1ab4ebab69269df946139b1efc755773785d3619dd302808b22ee4f5be53a59da00e7d2dfe8c3fe7304896fadd88823701a01322ca718
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.35.0 (2024-08-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for additional error information on experiment failure. It adds the error code, location, and account id on relevant failures to the GetExperiment and ListExperiment API responses.
|
8
|
+
|
9
|
+
1.34.0 (2024-07-02)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.33.0 (2024-06-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.35.0
|
data/lib/aws-sdk-fis/client.rb
CHANGED
@@ -312,6 +312,15 @@ module Aws::FIS
|
|
312
312
|
#
|
313
313
|
# @option options [String] :session_token
|
314
314
|
#
|
315
|
+
# @option options [Array] :sigv4a_signing_region_set
|
316
|
+
# A list of regions that should be signed with SigV4a signing. When
|
317
|
+
# not passed, a default `:sigv4a_signing_region_set` is searched for
|
318
|
+
# in the following locations:
|
319
|
+
#
|
320
|
+
# * `Aws.config[:sigv4a_signing_region_set]`
|
321
|
+
# * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`
|
322
|
+
# * `~/.aws/config`
|
323
|
+
#
|
315
324
|
# @option options [Boolean] :stub_responses (false)
|
316
325
|
# Causes the client to return stubbed responses. By default
|
317
326
|
# fake responses are generated and returned. You can specify
|
@@ -810,6 +819,9 @@ module Aws::FIS
|
|
810
819
|
# resp.experiment.role_arn #=> String
|
811
820
|
# resp.experiment.state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed"
|
812
821
|
# resp.experiment.state.reason #=> String
|
822
|
+
# resp.experiment.state.error.account_id #=> String
|
823
|
+
# resp.experiment.state.error.code #=> String
|
824
|
+
# resp.experiment.state.error.location #=> String
|
813
825
|
# resp.experiment.targets #=> Hash
|
814
826
|
# resp.experiment.targets["ExperimentTargetName"].resource_type #=> String
|
815
827
|
# resp.experiment.targets["ExperimentTargetName"].resource_arns #=> Array
|
@@ -1244,6 +1256,9 @@ module Aws::FIS
|
|
1244
1256
|
# resp.experiments[0].experiment_template_id #=> String
|
1245
1257
|
# resp.experiments[0].state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed"
|
1246
1258
|
# resp.experiments[0].state.reason #=> String
|
1259
|
+
# resp.experiments[0].state.error.account_id #=> String
|
1260
|
+
# resp.experiments[0].state.error.code #=> String
|
1261
|
+
# resp.experiments[0].state.error.location #=> String
|
1247
1262
|
# resp.experiments[0].creation_time #=> Time
|
1248
1263
|
# resp.experiments[0].tags #=> Hash
|
1249
1264
|
# resp.experiments[0].tags["TagKey"] #=> String
|
@@ -1419,6 +1434,9 @@ module Aws::FIS
|
|
1419
1434
|
# resp.experiment.role_arn #=> String
|
1420
1435
|
# resp.experiment.state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed"
|
1421
1436
|
# resp.experiment.state.reason #=> String
|
1437
|
+
# resp.experiment.state.error.account_id #=> String
|
1438
|
+
# resp.experiment.state.error.code #=> String
|
1439
|
+
# resp.experiment.state.error.location #=> String
|
1422
1440
|
# resp.experiment.targets #=> Hash
|
1423
1441
|
# resp.experiment.targets["ExperimentTargetName"].resource_type #=> String
|
1424
1442
|
# resp.experiment.targets["ExperimentTargetName"].resource_arns #=> Array
|
@@ -1494,6 +1512,9 @@ module Aws::FIS
|
|
1494
1512
|
# resp.experiment.role_arn #=> String
|
1495
1513
|
# resp.experiment.state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed"
|
1496
1514
|
# resp.experiment.state.reason #=> String
|
1515
|
+
# resp.experiment.state.error.account_id #=> String
|
1516
|
+
# resp.experiment.state.error.code #=> String
|
1517
|
+
# resp.experiment.state.error.location #=> String
|
1497
1518
|
# resp.experiment.targets #=> Hash
|
1498
1519
|
# resp.experiment.targets["ExperimentTargetName"].resource_type #=> String
|
1499
1520
|
# resp.experiment.targets["ExperimentTargetName"].resource_arns #=> Array
|
@@ -1798,7 +1819,7 @@ module Aws::FIS
|
|
1798
1819
|
params: params,
|
1799
1820
|
config: config)
|
1800
1821
|
context[:gem_name] = 'aws-sdk-fis'
|
1801
|
-
context[:gem_version] = '1.
|
1822
|
+
context[:gem_version] = '1.35.0'
|
1802
1823
|
Seahorse::Client::Request.new(handlers, context)
|
1803
1824
|
end
|
1804
1825
|
|
@@ -69,6 +69,10 @@ module Aws::FIS
|
|
69
69
|
ExperimentActionTargetName = Shapes::StringShape.new(name: 'ExperimentActionTargetName')
|
70
70
|
ExperimentCloudWatchLogsLogConfiguration = Shapes::StructureShape.new(name: 'ExperimentCloudWatchLogsLogConfiguration')
|
71
71
|
ExperimentEndTime = Shapes::TimestampShape.new(name: 'ExperimentEndTime')
|
72
|
+
ExperimentError = Shapes::StructureShape.new(name: 'ExperimentError')
|
73
|
+
ExperimentErrorAccountId = Shapes::StringShape.new(name: 'ExperimentErrorAccountId')
|
74
|
+
ExperimentErrorCode = Shapes::StringShape.new(name: 'ExperimentErrorCode')
|
75
|
+
ExperimentErrorLocation = Shapes::StringShape.new(name: 'ExperimentErrorLocation')
|
72
76
|
ExperimentId = Shapes::StringShape.new(name: 'ExperimentId')
|
73
77
|
ExperimentLogConfiguration = Shapes::StructureShape.new(name: 'ExperimentLogConfiguration')
|
74
78
|
ExperimentOptions = Shapes::StructureShape.new(name: 'ExperimentOptions')
|
@@ -380,6 +384,11 @@ module Aws::FIS
|
|
380
384
|
ExperimentCloudWatchLogsLogConfiguration.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: CloudWatchLogGroupArn, location_name: "logGroupArn"))
|
381
385
|
ExperimentCloudWatchLogsLogConfiguration.struct_class = Types::ExperimentCloudWatchLogsLogConfiguration
|
382
386
|
|
387
|
+
ExperimentError.add_member(:account_id, Shapes::ShapeRef.new(shape: ExperimentErrorAccountId, location_name: "accountId"))
|
388
|
+
ExperimentError.add_member(:code, Shapes::ShapeRef.new(shape: ExperimentErrorCode, location_name: "code"))
|
389
|
+
ExperimentError.add_member(:location, Shapes::ShapeRef.new(shape: ExperimentErrorLocation, location_name: "location"))
|
390
|
+
ExperimentError.struct_class = Types::ExperimentError
|
391
|
+
|
383
392
|
ExperimentLogConfiguration.add_member(:cloud_watch_logs_configuration, Shapes::ShapeRef.new(shape: ExperimentCloudWatchLogsLogConfiguration, location_name: "cloudWatchLogsConfiguration"))
|
384
393
|
ExperimentLogConfiguration.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: ExperimentS3LogConfiguration, location_name: "s3Configuration"))
|
385
394
|
ExperimentLogConfiguration.add_member(:log_schema_version, Shapes::ShapeRef.new(shape: LogSchemaVersion, location_name: "logSchemaVersion"))
|
@@ -396,6 +405,7 @@ module Aws::FIS
|
|
396
405
|
|
397
406
|
ExperimentState.add_member(:status, Shapes::ShapeRef.new(shape: ExperimentStatus, location_name: "status"))
|
398
407
|
ExperimentState.add_member(:reason, Shapes::ShapeRef.new(shape: ExperimentStatusReason, location_name: "reason"))
|
408
|
+
ExperimentState.add_member(:error, Shapes::ShapeRef.new(shape: ExperimentError, location_name: "error"))
|
399
409
|
ExperimentState.struct_class = Types::ExperimentState
|
400
410
|
|
401
411
|
ExperimentStopCondition.add_member(:source, Shapes::ShapeRef.new(shape: StopConditionSource, location_name: "source"))
|
data/lib/aws-sdk-fis/types.rb
CHANGED
@@ -647,6 +647,31 @@ module Aws::FIS
|
|
647
647
|
include Aws::Structure
|
648
648
|
end
|
649
649
|
|
650
|
+
# Describes the error when an experiment has `failed`.
|
651
|
+
#
|
652
|
+
# @!attribute [rw] account_id
|
653
|
+
# The Amazon Web Services Account ID where the experiment failure
|
654
|
+
# occurred.
|
655
|
+
# @return [String]
|
656
|
+
#
|
657
|
+
# @!attribute [rw] code
|
658
|
+
# The error code for the failed experiment.
|
659
|
+
# @return [String]
|
660
|
+
#
|
661
|
+
# @!attribute [rw] location
|
662
|
+
# Context for the section of the experiment template that failed.
|
663
|
+
# @return [String]
|
664
|
+
#
|
665
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ExperimentError AWS API Documentation
|
666
|
+
#
|
667
|
+
class ExperimentError < Struct.new(
|
668
|
+
:account_id,
|
669
|
+
:code,
|
670
|
+
:location)
|
671
|
+
SENSITIVE = []
|
672
|
+
include Aws::Structure
|
673
|
+
end
|
674
|
+
|
650
675
|
# Describes the configuration for experiment logging.
|
651
676
|
#
|
652
677
|
# @!attribute [rw] cloud_watch_logs_configuration
|
@@ -725,11 +750,17 @@ module Aws::FIS
|
|
725
750
|
# The reason for the state.
|
726
751
|
# @return [String]
|
727
752
|
#
|
753
|
+
# @!attribute [rw] error
|
754
|
+
# The error information of the experiment when the action has
|
755
|
+
# `failed`.
|
756
|
+
# @return [Types::ExperimentError]
|
757
|
+
#
|
728
758
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ExperimentState AWS API Documentation
|
729
759
|
#
|
730
760
|
class ExperimentState < Struct.new(
|
731
761
|
:status,
|
732
|
-
:reason
|
762
|
+
:reason,
|
763
|
+
:error)
|
733
764
|
SENSITIVE = []
|
734
765
|
include Aws::Structure
|
735
766
|
end
|
data/lib/aws-sdk-fis.rb
CHANGED
data/sig/client.rbs
CHANGED
data/sig/resource.rbs
CHANGED
data/sig/types.rbs
CHANGED
@@ -176,6 +176,13 @@ module Aws::FIS
|
|
176
176
|
SENSITIVE: []
|
177
177
|
end
|
178
178
|
|
179
|
+
class ExperimentError
|
180
|
+
attr_accessor account_id: ::String
|
181
|
+
attr_accessor code: ::String
|
182
|
+
attr_accessor location: ::String
|
183
|
+
SENSITIVE: []
|
184
|
+
end
|
185
|
+
|
179
186
|
class ExperimentLogConfiguration
|
180
187
|
attr_accessor cloud_watch_logs_configuration: Types::ExperimentCloudWatchLogsLogConfiguration
|
181
188
|
attr_accessor s3_configuration: Types::ExperimentS3LogConfiguration
|
@@ -199,6 +206,7 @@ module Aws::FIS
|
|
199
206
|
class ExperimentState
|
200
207
|
attr_accessor status: ("pending" | "initiating" | "running" | "completed" | "stopping" | "stopped" | "failed")
|
201
208
|
attr_accessor reason: ::String
|
209
|
+
attr_accessor error: Types::ExperimentError
|
202
210
|
SENSITIVE: []
|
203
211
|
end
|
204
212
|
|
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.35.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: 2024-
|
11
|
+
date: 2024-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.201.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,21 +29,21 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.201.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '1.
|
39
|
+
version: '1.5'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '1.
|
46
|
+
version: '1.5'
|
47
47
|
description: Official AWS Ruby gem for AWS Fault Injection Simulator (FIS). This gem
|
48
48
|
is part of the AWS SDK for Ruby.
|
49
49
|
email:
|