aws-sdk-fis 1.34.0 → 1.36.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: c4c93c5f1f698a670a14e2930b997c698dcf7075ae02fe1b12ae00df773a4223
4
+ data.tar.gz: 9b9ffcbc46d7546fe19e4970ae3b92775ceb2115bf699df41b29f7baa73b5f0f
5
5
  SHA512:
6
- metadata.gz: 13f8d53679225440ca34f07ad073daecae6f75840890c829be1dec236aa61344bc752482711e6f69eebbefa256a6c3ad8d20afa489ea4122d5d4f1ad7b481145
7
- data.tar.gz: a65b6ae349d9f0e32721b208d0500d2a4931e37cb4283fa6c112a7ca30cc3605afea260e207a80061684f51c58ab0b0c4169992e0c48aa642678511262304ff2
6
+ metadata.gz: 7ecd3f146f7b190627447471b5ca64a80e691262e7ebb6b91afe252f78dd072454d7914299d6852f19d1a225dee232dd87ca5f20293e2673bc3a2495f4539de8
7
+ data.tar.gz: 4d90c58dcc9869633dab13dc96f819aec107847bacaf9350b7a9d86efa0685b395596409dc2202dd590388347782b64574672593cd2ae620a20ab42f8343d1ad
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.36.0 (2024-09-03)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.35.0 (2024-08-13)
10
+ ------------------
11
+
12
+ * 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.
13
+
4
14
  1.34.0 (2024-07-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.34.0
1
+ 1.36.0
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
32
32
  require 'aws-sdk-core/plugins/request_compression.rb'
33
33
  require 'aws-sdk-core/plugins/defaults_mode.rb'
34
34
  require 'aws-sdk-core/plugins/recursion_detection.rb'
35
+ require 'aws-sdk-core/plugins/telemetry.rb'
35
36
  require 'aws-sdk-core/plugins/sign.rb'
36
37
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
37
38
 
@@ -83,6 +84,7 @@ module Aws::FIS
83
84
  add_plugin(Aws::Plugins::RequestCompression)
84
85
  add_plugin(Aws::Plugins::DefaultsMode)
85
86
  add_plugin(Aws::Plugins::RecursionDetection)
87
+ add_plugin(Aws::Plugins::Telemetry)
86
88
  add_plugin(Aws::Plugins::Sign)
87
89
  add_plugin(Aws::Plugins::Protocols::RestJson)
88
90
  add_plugin(Aws::FIS::Plugins::Endpoints)
@@ -330,6 +332,16 @@ module Aws::FIS
330
332
  # ** Please note ** When response stubbing is enabled, no HTTP
331
333
  # requests are made, and retries are disabled.
332
334
  #
335
+ # @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
336
+ # Allows you to provide a telemetry provider, which is used to
337
+ # emit telemetry data. By default, uses `NoOpTelemetryProvider` which
338
+ # will not record or emit any telemetry data. The SDK supports the
339
+ # following telemetry providers:
340
+ #
341
+ # * OpenTelemetry (OTel) - To use the OTel provider, install and require the
342
+ # `opentelemetry-sdk` gem and then, pass in an instance of a
343
+ # `Aws::Telemetry::OTelProvider` for telemetry provider.
344
+ #
333
345
  # @option options [Aws::TokenProvider] :token_provider
334
346
  # A Bearer Token Provider. This can be an instance of any one of the
335
347
  # following classes:
@@ -819,6 +831,9 @@ module Aws::FIS
819
831
  # resp.experiment.role_arn #=> String
820
832
  # resp.experiment.state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed"
821
833
  # resp.experiment.state.reason #=> String
834
+ # resp.experiment.state.error.account_id #=> String
835
+ # resp.experiment.state.error.code #=> String
836
+ # resp.experiment.state.error.location #=> String
822
837
  # resp.experiment.targets #=> Hash
823
838
  # resp.experiment.targets["ExperimentTargetName"].resource_type #=> String
824
839
  # resp.experiment.targets["ExperimentTargetName"].resource_arns #=> Array
@@ -1253,6 +1268,9 @@ module Aws::FIS
1253
1268
  # resp.experiments[0].experiment_template_id #=> String
1254
1269
  # resp.experiments[0].state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed"
1255
1270
  # resp.experiments[0].state.reason #=> String
1271
+ # resp.experiments[0].state.error.account_id #=> String
1272
+ # resp.experiments[0].state.error.code #=> String
1273
+ # resp.experiments[0].state.error.location #=> String
1256
1274
  # resp.experiments[0].creation_time #=> Time
1257
1275
  # resp.experiments[0].tags #=> Hash
1258
1276
  # resp.experiments[0].tags["TagKey"] #=> String
@@ -1428,6 +1446,9 @@ module Aws::FIS
1428
1446
  # resp.experiment.role_arn #=> String
1429
1447
  # resp.experiment.state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed"
1430
1448
  # resp.experiment.state.reason #=> String
1449
+ # resp.experiment.state.error.account_id #=> String
1450
+ # resp.experiment.state.error.code #=> String
1451
+ # resp.experiment.state.error.location #=> String
1431
1452
  # resp.experiment.targets #=> Hash
1432
1453
  # resp.experiment.targets["ExperimentTargetName"].resource_type #=> String
1433
1454
  # resp.experiment.targets["ExperimentTargetName"].resource_arns #=> Array
@@ -1503,6 +1524,9 @@ module Aws::FIS
1503
1524
  # resp.experiment.role_arn #=> String
1504
1525
  # resp.experiment.state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed"
1505
1526
  # resp.experiment.state.reason #=> String
1527
+ # resp.experiment.state.error.account_id #=> String
1528
+ # resp.experiment.state.error.code #=> String
1529
+ # resp.experiment.state.error.location #=> String
1506
1530
  # resp.experiment.targets #=> Hash
1507
1531
  # resp.experiment.targets["ExperimentTargetName"].resource_type #=> String
1508
1532
  # resp.experiment.targets["ExperimentTargetName"].resource_arns #=> Array
@@ -1800,14 +1824,19 @@ module Aws::FIS
1800
1824
  # @api private
1801
1825
  def build_request(operation_name, params = {})
1802
1826
  handlers = @handlers.for(operation_name)
1827
+ tracer = config.telemetry_provider.tracer_provider.tracer(
1828
+ Aws::Telemetry.module_to_tracer_name('Aws::FIS')
1829
+ )
1803
1830
  context = Seahorse::Client::RequestContext.new(
1804
1831
  operation_name: operation_name,
1805
1832
  operation: config.api.operation(operation_name),
1806
1833
  client: self,
1807
1834
  params: params,
1808
- config: config)
1835
+ config: config,
1836
+ tracer: tracer
1837
+ )
1809
1838
  context[:gem_name] = 'aws-sdk-fis'
1810
- context[:gem_version] = '1.34.0'
1839
+ context[:gem_version] = '1.36.0'
1811
1840
  Seahorse::Client::Request.new(handlers, context)
1812
1841
  end
1813
1842
 
@@ -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.36.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -50,6 +50,7 @@ module Aws
50
50
  ?session_token: String,
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?stub_responses: untyped,
53
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
53
54
  ?token_provider: untyped,
54
55
  ?use_dualstack_endpoint: bool,
55
56
  ?use_fips_endpoint: bool,
data/sig/resource.rbs CHANGED
@@ -50,6 +50,7 @@ module Aws
50
50
  ?session_token: String,
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?stub_responses: untyped,
53
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
53
54
  ?token_provider: untyped,
54
55
  ?use_dualstack_endpoint: bool,
55
56
  ?use_fips_endpoint: bool,
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.36.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-09-03 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.201.0
22
+ version: 3.203.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.201.0
32
+ version: 3.203.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement