aws-sdk-fis 1.34.0 → 1.35.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: 00ee9435e786d7d95a797a1503d5a607fe9dcf43dd77261742bfcb30c22ab227
4
- data.tar.gz: e3fb9503c03bff57e449eb2f5c21003cd8c49a50066b0a6a4d248bbe2410d93e
3
+ metadata.gz: 17bf4644af6e1f756961dac86cd831abf6e401ccfeef2214e4b30ee167ebff07
4
+ data.tar.gz: 1244441f80fc8d170bc617f48373d03bdba03b69acf2ac0ccd4d63b94260a912
5
5
  SHA512:
6
- metadata.gz: 13f8d53679225440ca34f07ad073daecae6f75840890c829be1dec236aa61344bc752482711e6f69eebbefa256a6c3ad8d20afa489ea4122d5d4f1ad7b481145
7
- data.tar.gz: a65b6ae349d9f0e32721b208d0500d2a4931e37cb4283fa6c112a7ca30cc3605afea260e207a80061684f51c58ab0b0c4169992e0c48aa642678511262304ff2
6
+ metadata.gz: 9efa79ee5e27eac5feeee0b8e562b09256eccb24c6ce4d8819b14bde040a7a57b65d4f989006c936fc72f1d26a2d1c198c51a39cc12e8394e44eeda013884df8
7
+ data.tar.gz: 74e17e972bacd4fbe7f1ab4ebab69269df946139b1efc755773785d3619dd302808b22ee4f5be53a59da00e7d2dfe8c3fe7304896fadd88823701a01322ca718
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.34.0 (2024-07-02)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.34.0
1
+ 1.35.0
@@ -819,6 +819,9 @@ module Aws::FIS
819
819
  # resp.experiment.role_arn #=> String
820
820
  # resp.experiment.state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed"
821
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
822
825
  # resp.experiment.targets #=> Hash
823
826
  # resp.experiment.targets["ExperimentTargetName"].resource_type #=> String
824
827
  # resp.experiment.targets["ExperimentTargetName"].resource_arns #=> Array
@@ -1253,6 +1256,9 @@ module Aws::FIS
1253
1256
  # resp.experiments[0].experiment_template_id #=> String
1254
1257
  # resp.experiments[0].state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed"
1255
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
1256
1262
  # resp.experiments[0].creation_time #=> Time
1257
1263
  # resp.experiments[0].tags #=> Hash
1258
1264
  # resp.experiments[0].tags["TagKey"] #=> String
@@ -1428,6 +1434,9 @@ module Aws::FIS
1428
1434
  # resp.experiment.role_arn #=> String
1429
1435
  # resp.experiment.state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed"
1430
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
1431
1440
  # resp.experiment.targets #=> Hash
1432
1441
  # resp.experiment.targets["ExperimentTargetName"].resource_type #=> String
1433
1442
  # resp.experiment.targets["ExperimentTargetName"].resource_arns #=> Array
@@ -1503,6 +1512,9 @@ module Aws::FIS
1503
1512
  # resp.experiment.role_arn #=> String
1504
1513
  # resp.experiment.state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed"
1505
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
1506
1518
  # resp.experiment.targets #=> Hash
1507
1519
  # resp.experiment.targets["ExperimentTargetName"].resource_type #=> String
1508
1520
  # resp.experiment.targets["ExperimentTargetName"].resource_arns #=> Array
@@ -1807,7 +1819,7 @@ module Aws::FIS
1807
1819
  params: params,
1808
1820
  config: config)
1809
1821
  context[:gem_name] = 'aws-sdk-fis'
1810
- context[:gem_version] = '1.34.0'
1822
+ context[:gem_version] = '1.35.0'
1811
1823
  Seahorse::Client::Request.new(handlers, context)
1812
1824
  end
1813
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"))
@@ -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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-fis/customizations'
52
52
  # @!group service
53
53
  module Aws::FIS
54
54
 
55
- GEM_VERSION = '1.34.0'
55
+ GEM_VERSION = '1.35.0'
56
56
 
57
57
  end
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.34.0
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-07-02 00:00:00.000000000 Z
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