aws-sdk-fis 1.35.0 → 1.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 17bf4644af6e1f756961dac86cd831abf6e401ccfeef2214e4b30ee167ebff07
4
- data.tar.gz: 1244441f80fc8d170bc617f48373d03bdba03b69acf2ac0ccd4d63b94260a912
3
+ metadata.gz: 4f72ecd4dd0cf90cd791a0d407b626f71bcec6be558c4c8c65d35564585b58ae
4
+ data.tar.gz: 83486942035da67739c6df0cba3aed7aede38cd07d5a4415d82080fd1c2c7471
5
5
  SHA512:
6
- metadata.gz: 9efa79ee5e27eac5feeee0b8e562b09256eccb24c6ce4d8819b14bde040a7a57b65d4f989006c936fc72f1d26a2d1c198c51a39cc12e8394e44eeda013884df8
7
- data.tar.gz: 74e17e972bacd4fbe7f1ab4ebab69269df946139b1efc755773785d3619dd302808b22ee4f5be53a59da00e7d2dfe8c3fe7304896fadd88823701a01322ca718
6
+ metadata.gz: a1e76a71cd769f9d44c6170a1e41ca457b17ade6908de06e418947009ab3cb6d89acf223c07eb18921bb53fc3cf2d8ddf1ff505ee9e0d7b3e3eea55d1060aabb
7
+ data.tar.gz: 1ff6c1b607f73e5d4852d5d83e68c4782bb6155ef4a7347bd175f3ec9ab1c09ec47ef7003461cbaf066edefa760008d20712d83fd91c0713f8b5eb692061862c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.37.0 (2024-09-04)
5
+ ------------------
6
+
7
+ * Feature - This release adds safety levers, a new mechanism to stop all running experiments and prevent new experiments from starting.
8
+
9
+ 1.36.0 (2024-09-03)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.35.0 (2024-08-13)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.35.0
1
+ 1.37.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:
@@ -817,7 +829,7 @@ module Aws::FIS
817
829
  # resp.experiment.arn #=> String
818
830
  # resp.experiment.experiment_template_id #=> String
819
831
  # resp.experiment.role_arn #=> String
820
- # resp.experiment.state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed"
832
+ # resp.experiment.state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed", "cancelled"
821
833
  # resp.experiment.state.reason #=> String
822
834
  # resp.experiment.state.error.account_id #=> String
823
835
  # resp.experiment.state.error.code #=> String
@@ -976,6 +988,37 @@ module Aws::FIS
976
988
  req.send_request(options)
977
989
  end
978
990
 
991
+ # Gets information about the specified safety lever.
992
+ #
993
+ # @option params [required, String] :id
994
+ # The ID of the safety lever.
995
+ #
996
+ # @return [Types::GetSafetyLeverResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
997
+ #
998
+ # * {Types::GetSafetyLeverResponse#safety_lever #safety_lever} => Types::SafetyLever
999
+ #
1000
+ # @example Request syntax with placeholder values
1001
+ #
1002
+ # resp = client.get_safety_lever({
1003
+ # id: "SafetyLeverId", # required
1004
+ # })
1005
+ #
1006
+ # @example Response structure
1007
+ #
1008
+ # resp.safety_lever.id #=> String
1009
+ # resp.safety_lever.arn #=> String
1010
+ # resp.safety_lever.state.status #=> String, one of "disengaged", "engaged", "engaging"
1011
+ # resp.safety_lever.state.reason #=> String
1012
+ #
1013
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetSafetyLever AWS API Documentation
1014
+ #
1015
+ # @overload get_safety_lever(params = {})
1016
+ # @param [Hash] params ({})
1017
+ def get_safety_lever(params = {}, options = {})
1018
+ req = build_request(:get_safety_lever, params)
1019
+ req.send_request(options)
1020
+ end
1021
+
979
1022
  # Gets information about the specified target account configuration of
980
1023
  # the experiment template.
981
1024
  #
@@ -1254,7 +1297,7 @@ module Aws::FIS
1254
1297
  # resp.experiments[0].id #=> String
1255
1298
  # resp.experiments[0].arn #=> String
1256
1299
  # resp.experiments[0].experiment_template_id #=> String
1257
- # resp.experiments[0].state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed"
1300
+ # resp.experiments[0].state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed", "cancelled"
1258
1301
  # resp.experiments[0].state.reason #=> String
1259
1302
  # resp.experiments[0].state.error.account_id #=> String
1260
1303
  # resp.experiments[0].state.error.code #=> String
@@ -1432,7 +1475,7 @@ module Aws::FIS
1432
1475
  # resp.experiment.arn #=> String
1433
1476
  # resp.experiment.experiment_template_id #=> String
1434
1477
  # resp.experiment.role_arn #=> String
1435
- # resp.experiment.state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed"
1478
+ # resp.experiment.state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed", "cancelled"
1436
1479
  # resp.experiment.state.reason #=> String
1437
1480
  # resp.experiment.state.error.account_id #=> String
1438
1481
  # resp.experiment.state.error.code #=> String
@@ -1510,7 +1553,7 @@ module Aws::FIS
1510
1553
  # resp.experiment.arn #=> String
1511
1554
  # resp.experiment.experiment_template_id #=> String
1512
1555
  # resp.experiment.role_arn #=> String
1513
- # resp.experiment.state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed"
1556
+ # resp.experiment.state.status #=> String, one of "pending", "initiating", "running", "completed", "stopping", "stopped", "failed", "cancelled"
1514
1557
  # resp.experiment.state.reason #=> String
1515
1558
  # resp.experiment.state.error.account_id #=> String
1516
1559
  # resp.experiment.state.error.code #=> String
@@ -1763,6 +1806,44 @@ module Aws::FIS
1763
1806
  req.send_request(options)
1764
1807
  end
1765
1808
 
1809
+ # Updates the specified safety lever state.
1810
+ #
1811
+ # @option params [required, String] :id
1812
+ # The ID of the safety lever.
1813
+ #
1814
+ # @option params [required, Types::UpdateSafetyLeverStateInput] :state
1815
+ # The state of the safety lever.
1816
+ #
1817
+ # @return [Types::UpdateSafetyLeverStateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1818
+ #
1819
+ # * {Types::UpdateSafetyLeverStateResponse#safety_lever #safety_lever} => Types::SafetyLever
1820
+ #
1821
+ # @example Request syntax with placeholder values
1822
+ #
1823
+ # resp = client.update_safety_lever_state({
1824
+ # id: "SafetyLeverId", # required
1825
+ # state: { # required
1826
+ # status: "disengaged", # required, accepts disengaged, engaged
1827
+ # reason: "SafetyLeverStatusReason", # required
1828
+ # },
1829
+ # })
1830
+ #
1831
+ # @example Response structure
1832
+ #
1833
+ # resp.safety_lever.id #=> String
1834
+ # resp.safety_lever.arn #=> String
1835
+ # resp.safety_lever.state.status #=> String, one of "disengaged", "engaged", "engaging"
1836
+ # resp.safety_lever.state.reason #=> String
1837
+ #
1838
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/UpdateSafetyLeverState AWS API Documentation
1839
+ #
1840
+ # @overload update_safety_lever_state(params = {})
1841
+ # @param [Hash] params ({})
1842
+ def update_safety_lever_state(params = {}, options = {})
1843
+ req = build_request(:update_safety_lever_state, params)
1844
+ req.send_request(options)
1845
+ end
1846
+
1766
1847
  # Updates the target account configuration for the specified experiment
1767
1848
  # template.
1768
1849
  #
@@ -1812,14 +1893,19 @@ module Aws::FIS
1812
1893
  # @api private
1813
1894
  def build_request(operation_name, params = {})
1814
1895
  handlers = @handlers.for(operation_name)
1896
+ tracer = config.telemetry_provider.tracer_provider.tracer(
1897
+ Aws::Telemetry.module_to_tracer_name('Aws::FIS')
1898
+ )
1815
1899
  context = Seahorse::Client::RequestContext.new(
1816
1900
  operation_name: operation_name,
1817
1901
  operation: config.api.operation(operation_name),
1818
1902
  client: self,
1819
1903
  params: params,
1820
- config: config)
1904
+ config: config,
1905
+ tracer: tracer
1906
+ )
1821
1907
  context[:gem_name] = 'aws-sdk-fis'
1822
- context[:gem_version] = '1.35.0'
1908
+ context[:gem_version] = '1.37.0'
1823
1909
  Seahorse::Client::Request.new(handlers, context)
1824
1910
  end
1825
1911
 
@@ -146,6 +146,8 @@ module Aws::FIS
146
146
  GetExperimentTargetAccountConfigurationResponse = Shapes::StructureShape.new(name: 'GetExperimentTargetAccountConfigurationResponse')
147
147
  GetExperimentTemplateRequest = Shapes::StructureShape.new(name: 'GetExperimentTemplateRequest')
148
148
  GetExperimentTemplateResponse = Shapes::StructureShape.new(name: 'GetExperimentTemplateResponse')
149
+ GetSafetyLeverRequest = Shapes::StructureShape.new(name: 'GetSafetyLeverRequest')
150
+ GetSafetyLeverResponse = Shapes::StructureShape.new(name: 'GetSafetyLeverResponse')
149
151
  GetTargetAccountConfigurationRequest = Shapes::StructureShape.new(name: 'GetTargetAccountConfigurationRequest')
150
152
  GetTargetAccountConfigurationResponse = Shapes::StructureShape.new(name: 'GetTargetAccountConfigurationResponse')
151
153
  GetTargetResourceTypeRequest = Shapes::StructureShape.new(name: 'GetTargetResourceTypeRequest')
@@ -183,6 +185,12 @@ module Aws::FIS
183
185
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
184
186
  S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
185
187
  S3ObjectKey = Shapes::StringShape.new(name: 'S3ObjectKey')
188
+ SafetyLever = Shapes::StructureShape.new(name: 'SafetyLever')
189
+ SafetyLeverId = Shapes::StringShape.new(name: 'SafetyLeverId')
190
+ SafetyLeverState = Shapes::StructureShape.new(name: 'SafetyLeverState')
191
+ SafetyLeverStatus = Shapes::StringShape.new(name: 'SafetyLeverStatus')
192
+ SafetyLeverStatusInput = Shapes::StringShape.new(name: 'SafetyLeverStatusInput')
193
+ SafetyLeverStatusReason = Shapes::StringShape.new(name: 'SafetyLeverStatusReason')
186
194
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
187
195
  StartExperimentExperimentOptionsInput = Shapes::StructureShape.new(name: 'StartExperimentExperimentOptionsInput')
188
196
  StartExperimentRequest = Shapes::StructureShape.new(name: 'StartExperimentRequest')
@@ -229,6 +237,9 @@ module Aws::FIS
229
237
  UpdateExperimentTemplateStopConditionInputList = Shapes::ListShape.new(name: 'UpdateExperimentTemplateStopConditionInputList')
230
238
  UpdateExperimentTemplateTargetInput = Shapes::StructureShape.new(name: 'UpdateExperimentTemplateTargetInput')
231
239
  UpdateExperimentTemplateTargetInputMap = Shapes::MapShape.new(name: 'UpdateExperimentTemplateTargetInputMap')
240
+ UpdateSafetyLeverStateInput = Shapes::StructureShape.new(name: 'UpdateSafetyLeverStateInput')
241
+ UpdateSafetyLeverStateRequest = Shapes::StructureShape.new(name: 'UpdateSafetyLeverStateRequest')
242
+ UpdateSafetyLeverStateResponse = Shapes::StructureShape.new(name: 'UpdateSafetyLeverStateResponse')
232
243
  UpdateTargetAccountConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateTargetAccountConfigurationRequest')
233
244
  UpdateTargetAccountConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateTargetAccountConfigurationResponse')
234
245
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
@@ -584,6 +595,12 @@ module Aws::FIS
584
595
  GetExperimentTemplateResponse.add_member(:experiment_template, Shapes::ShapeRef.new(shape: ExperimentTemplate, location_name: "experimentTemplate"))
585
596
  GetExperimentTemplateResponse.struct_class = Types::GetExperimentTemplateResponse
586
597
 
598
+ GetSafetyLeverRequest.add_member(:id, Shapes::ShapeRef.new(shape: SafetyLeverId, required: true, location: "uri", location_name: "id"))
599
+ GetSafetyLeverRequest.struct_class = Types::GetSafetyLeverRequest
600
+
601
+ GetSafetyLeverResponse.add_member(:safety_lever, Shapes::ShapeRef.new(shape: SafetyLever, location_name: "safetyLever"))
602
+ GetSafetyLeverResponse.struct_class = Types::GetSafetyLeverResponse
603
+
587
604
  GetTargetAccountConfigurationRequest.add_member(:experiment_template_id, Shapes::ShapeRef.new(shape: ExperimentTemplateId, required: true, location: "uri", location_name: "id"))
588
605
  GetTargetAccountConfigurationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: TargetAccountId, required: true, location: "uri", location_name: "accountId"))
589
606
  GetTargetAccountConfigurationRequest.struct_class = Types::GetTargetAccountConfigurationRequest
@@ -675,6 +692,15 @@ module Aws::FIS
675
692
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
676
693
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
677
694
 
695
+ SafetyLever.add_member(:id, Shapes::ShapeRef.new(shape: SafetyLeverId, location_name: "id"))
696
+ SafetyLever.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "arn"))
697
+ SafetyLever.add_member(:state, Shapes::ShapeRef.new(shape: SafetyLeverState, location_name: "state"))
698
+ SafetyLever.struct_class = Types::SafetyLever
699
+
700
+ SafetyLeverState.add_member(:status, Shapes::ShapeRef.new(shape: SafetyLeverStatus, location_name: "status"))
701
+ SafetyLeverState.add_member(:reason, Shapes::ShapeRef.new(shape: SafetyLeverStatusReason, location_name: "reason"))
702
+ SafetyLeverState.struct_class = Types::SafetyLeverState
703
+
678
704
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
679
705
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
680
706
 
@@ -794,6 +820,17 @@ module Aws::FIS
794
820
  UpdateExperimentTemplateTargetInputMap.key = Shapes::ShapeRef.new(shape: ExperimentTemplateTargetName)
795
821
  UpdateExperimentTemplateTargetInputMap.value = Shapes::ShapeRef.new(shape: UpdateExperimentTemplateTargetInput)
796
822
 
823
+ UpdateSafetyLeverStateInput.add_member(:status, Shapes::ShapeRef.new(shape: SafetyLeverStatusInput, required: true, location_name: "status"))
824
+ UpdateSafetyLeverStateInput.add_member(:reason, Shapes::ShapeRef.new(shape: SafetyLeverStatusReason, required: true, location_name: "reason"))
825
+ UpdateSafetyLeverStateInput.struct_class = Types::UpdateSafetyLeverStateInput
826
+
827
+ UpdateSafetyLeverStateRequest.add_member(:id, Shapes::ShapeRef.new(shape: SafetyLeverId, required: true, location: "uri", location_name: "id"))
828
+ UpdateSafetyLeverStateRequest.add_member(:state, Shapes::ShapeRef.new(shape: UpdateSafetyLeverStateInput, required: true, location_name: "state"))
829
+ UpdateSafetyLeverStateRequest.struct_class = Types::UpdateSafetyLeverStateRequest
830
+
831
+ UpdateSafetyLeverStateResponse.add_member(:safety_lever, Shapes::ShapeRef.new(shape: SafetyLever, location_name: "safetyLever"))
832
+ UpdateSafetyLeverStateResponse.struct_class = Types::UpdateSafetyLeverStateResponse
833
+
797
834
  UpdateTargetAccountConfigurationRequest.add_member(:experiment_template_id, Shapes::ShapeRef.new(shape: ExperimentTemplateId, required: true, location: "uri", location_name: "id"))
798
835
  UpdateTargetAccountConfigurationRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: TargetAccountId, required: true, location: "uri", location_name: "accountId"))
799
836
  UpdateTargetAccountConfigurationRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
@@ -911,6 +948,15 @@ module Aws::FIS
911
948
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
912
949
  end)
913
950
 
951
+ api.add_operation(:get_safety_lever, Seahorse::Model::Operation.new.tap do |o|
952
+ o.name = "GetSafetyLever"
953
+ o.http_method = "GET"
954
+ o.http_request_uri = "/safetyLevers/{id}"
955
+ o.input = Shapes::ShapeRef.new(shape: GetSafetyLeverRequest)
956
+ o.output = Shapes::ShapeRef.new(shape: GetSafetyLeverResponse)
957
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
958
+ end)
959
+
914
960
  api.add_operation(:get_target_account_configuration, Seahorse::Model::Operation.new.tap do |o|
915
961
  o.name = "GetTargetAccountConfiguration"
916
962
  o.http_method = "GET"
@@ -1090,6 +1136,17 @@ module Aws::FIS
1090
1136
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1091
1137
  end)
1092
1138
 
1139
+ api.add_operation(:update_safety_lever_state, Seahorse::Model::Operation.new.tap do |o|
1140
+ o.name = "UpdateSafetyLeverState"
1141
+ o.http_method = "PATCH"
1142
+ o.http_request_uri = "/safetyLevers/{id}/state"
1143
+ o.input = Shapes::ShapeRef.new(shape: UpdateSafetyLeverStateRequest)
1144
+ o.output = Shapes::ShapeRef.new(shape: UpdateSafetyLeverStateResponse)
1145
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1146
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1147
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1148
+ end)
1149
+
1093
1150
  api.add_operation(:update_target_account_configuration, Seahorse::Model::Operation.new.tap do |o|
1094
1151
  o.name = "UpdateTargetAccountConfiguration"
1095
1152
  o.http_method = "PATCH"
@@ -124,6 +124,20 @@ module Aws::FIS
124
124
  end
125
125
  end
126
126
 
127
+ class GetSafetyLever
128
+ def self.build(context)
129
+ unless context.config.regional_endpoint
130
+ endpoint = context.config.endpoint.to_s
131
+ end
132
+ Aws::FIS::EndpointParameters.new(
133
+ region: context.config.region,
134
+ use_dual_stack: context.config.use_dualstack_endpoint,
135
+ use_fips: context.config.use_fips_endpoint,
136
+ endpoint: endpoint,
137
+ )
138
+ end
139
+ end
140
+
127
141
  class GetTargetAccountConfiguration
128
142
  def self.build(context)
129
143
  unless context.config.regional_endpoint
@@ -334,6 +348,20 @@ module Aws::FIS
334
348
  end
335
349
  end
336
350
 
351
+ class UpdateSafetyLeverState
352
+ def self.build(context)
353
+ unless context.config.regional_endpoint
354
+ endpoint = context.config.endpoint.to_s
355
+ end
356
+ Aws::FIS::EndpointParameters.new(
357
+ region: context.config.region,
358
+ use_dual_stack: context.config.use_dualstack_endpoint,
359
+ use_fips: context.config.use_fips_endpoint,
360
+ endpoint: endpoint,
361
+ )
362
+ end
363
+ end
364
+
337
365
  class UpdateTargetAccountConfiguration
338
366
  def self.build(context)
339
367
  unless context.config.regional_endpoint
@@ -74,6 +74,8 @@ module Aws::FIS
74
74
  Aws::FIS::Endpoints::GetExperimentTargetAccountConfiguration.build(context)
75
75
  when :get_experiment_template
76
76
  Aws::FIS::Endpoints::GetExperimentTemplate.build(context)
77
+ when :get_safety_lever
78
+ Aws::FIS::Endpoints::GetSafetyLever.build(context)
77
79
  when :get_target_account_configuration
78
80
  Aws::FIS::Endpoints::GetTargetAccountConfiguration.build(context)
79
81
  when :get_target_resource_type
@@ -104,6 +106,8 @@ module Aws::FIS
104
106
  Aws::FIS::Endpoints::UntagResource.build(context)
105
107
  when :update_experiment_template
106
108
  Aws::FIS::Endpoints::UpdateExperimentTemplate.build(context)
109
+ when :update_safety_lever_state
110
+ Aws::FIS::Endpoints::UpdateSafetyLeverState.build(context)
107
111
  when :update_target_account_configuration
108
112
  Aws::FIS::Endpoints::UpdateTargetAccountConfiguration.build(context)
109
113
  end
@@ -1408,6 +1408,30 @@ module Aws::FIS
1408
1408
  include Aws::Structure
1409
1409
  end
1410
1410
 
1411
+ # @!attribute [rw] id
1412
+ # The ID of the safety lever.
1413
+ # @return [String]
1414
+ #
1415
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetSafetyLeverRequest AWS API Documentation
1416
+ #
1417
+ class GetSafetyLeverRequest < Struct.new(
1418
+ :id)
1419
+ SENSITIVE = []
1420
+ include Aws::Structure
1421
+ end
1422
+
1423
+ # @!attribute [rw] safety_lever
1424
+ # Information about the safety lever.
1425
+ # @return [Types::SafetyLever]
1426
+ #
1427
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetSafetyLeverResponse AWS API Documentation
1428
+ #
1429
+ class GetSafetyLeverResponse < Struct.new(
1430
+ :safety_lever)
1431
+ SENSITIVE = []
1432
+ include Aws::Structure
1433
+ end
1434
+
1411
1435
  # @!attribute [rw] experiment_template_id
1412
1436
  # The ID of the experiment template.
1413
1437
  # @return [String]
@@ -1799,6 +1823,49 @@ module Aws::FIS
1799
1823
  include Aws::Structure
1800
1824
  end
1801
1825
 
1826
+ # Describes a safety lever.
1827
+ #
1828
+ # @!attribute [rw] id
1829
+ # The ID of the safety lever.
1830
+ # @return [String]
1831
+ #
1832
+ # @!attribute [rw] arn
1833
+ # The Amazon Resource Name (ARN) of the safety lever.
1834
+ # @return [String]
1835
+ #
1836
+ # @!attribute [rw] state
1837
+ # The state of the safety lever.
1838
+ # @return [Types::SafetyLeverState]
1839
+ #
1840
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/SafetyLever AWS API Documentation
1841
+ #
1842
+ class SafetyLever < Struct.new(
1843
+ :id,
1844
+ :arn,
1845
+ :state)
1846
+ SENSITIVE = []
1847
+ include Aws::Structure
1848
+ end
1849
+
1850
+ # Describes the state of the safety lever.
1851
+ #
1852
+ # @!attribute [rw] status
1853
+ # The state of the safety lever.
1854
+ # @return [String]
1855
+ #
1856
+ # @!attribute [rw] reason
1857
+ # The reason for the state of the safety lever.
1858
+ # @return [String]
1859
+ #
1860
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/SafetyLeverState AWS API Documentation
1861
+ #
1862
+ class SafetyLeverState < Struct.new(
1863
+ :status,
1864
+ :reason)
1865
+ SENSITIVE = []
1866
+ include Aws::Structure
1867
+ end
1868
+
1802
1869
  # You have exceeded your service quota.
1803
1870
  #
1804
1871
  # @!attribute [rw] message
@@ -2247,6 +2314,54 @@ module Aws::FIS
2247
2314
  include Aws::Structure
2248
2315
  end
2249
2316
 
2317
+ # Specifies a state for a safety lever.
2318
+ #
2319
+ # @!attribute [rw] status
2320
+ # The updated state of the safety lever.
2321
+ # @return [String]
2322
+ #
2323
+ # @!attribute [rw] reason
2324
+ # The reason for updating the state of the safety lever.
2325
+ # @return [String]
2326
+ #
2327
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/UpdateSafetyLeverStateInput AWS API Documentation
2328
+ #
2329
+ class UpdateSafetyLeverStateInput < Struct.new(
2330
+ :status,
2331
+ :reason)
2332
+ SENSITIVE = []
2333
+ include Aws::Structure
2334
+ end
2335
+
2336
+ # @!attribute [rw] id
2337
+ # The ID of the safety lever.
2338
+ # @return [String]
2339
+ #
2340
+ # @!attribute [rw] state
2341
+ # The state of the safety lever.
2342
+ # @return [Types::UpdateSafetyLeverStateInput]
2343
+ #
2344
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/UpdateSafetyLeverStateRequest AWS API Documentation
2345
+ #
2346
+ class UpdateSafetyLeverStateRequest < Struct.new(
2347
+ :id,
2348
+ :state)
2349
+ SENSITIVE = []
2350
+ include Aws::Structure
2351
+ end
2352
+
2353
+ # @!attribute [rw] safety_lever
2354
+ # Information about the safety lever.
2355
+ # @return [Types::SafetyLever]
2356
+ #
2357
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/UpdateSafetyLeverStateResponse AWS API Documentation
2358
+ #
2359
+ class UpdateSafetyLeverStateResponse < Struct.new(
2360
+ :safety_lever)
2361
+ SENSITIVE = []
2362
+ include Aws::Structure
2363
+ end
2364
+
2250
2365
  # @!attribute [rw] experiment_template_id
2251
2366
  # The ID of the experiment template.
2252
2367
  # @return [String]
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.35.0'
55
+ GEM_VERSION = '1.37.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,
@@ -202,6 +203,16 @@ module Aws
202
203
  ) -> _GetExperimentTemplateResponseSuccess
203
204
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetExperimentTemplateResponseSuccess
204
205
 
206
+ interface _GetSafetyLeverResponseSuccess
207
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSafetyLeverResponse]
208
+ def safety_lever: () -> Types::SafetyLever
209
+ end
210
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FIS/Client.html#get_safety_lever-instance_method
211
+ def get_safety_lever: (
212
+ id: ::String
213
+ ) -> _GetSafetyLeverResponseSuccess
214
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSafetyLeverResponseSuccess
215
+
205
216
  interface _GetTargetAccountConfigurationResponseSuccess
206
217
  include ::Seahorse::Client::_ResponseSuccess[Types::GetTargetAccountConfigurationResponse]
207
218
  def target_account_configuration: () -> Types::TargetAccountConfiguration
@@ -417,6 +428,20 @@ module Aws
417
428
  ) -> _UpdateExperimentTemplateResponseSuccess
418
429
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateExperimentTemplateResponseSuccess
419
430
 
431
+ interface _UpdateSafetyLeverStateResponseSuccess
432
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSafetyLeverStateResponse]
433
+ def safety_lever: () -> Types::SafetyLever
434
+ end
435
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FIS/Client.html#update_safety_lever_state-instance_method
436
+ def update_safety_lever_state: (
437
+ id: ::String,
438
+ state: {
439
+ status: ("disengaged" | "engaged"),
440
+ reason: ::String
441
+ }
442
+ ) -> _UpdateSafetyLeverStateResponseSuccess
443
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSafetyLeverStateResponseSuccess
444
+
420
445
  interface _UpdateTargetAccountConfigurationResponseSuccess
421
446
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTargetAccountConfigurationResponse]
422
447
  def target_account_configuration: () -> Types::TargetAccountConfiguration
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
@@ -204,7 +204,7 @@ module Aws::FIS
204
204
  end
205
205
 
206
206
  class ExperimentState
207
- attr_accessor status: ("pending" | "initiating" | "running" | "completed" | "stopping" | "stopped" | "failed")
207
+ attr_accessor status: ("pending" | "initiating" | "running" | "completed" | "stopping" | "stopped" | "failed" | "cancelled")
208
208
  attr_accessor reason: ::String
209
209
  attr_accessor error: Types::ExperimentError
210
210
  SENSITIVE: []
@@ -397,6 +397,16 @@ module Aws::FIS
397
397
  SENSITIVE: []
398
398
  end
399
399
 
400
+ class GetSafetyLeverRequest
401
+ attr_accessor id: ::String
402
+ SENSITIVE: []
403
+ end
404
+
405
+ class GetSafetyLeverResponse
406
+ attr_accessor safety_lever: Types::SafetyLever
407
+ SENSITIVE: []
408
+ end
409
+
400
410
  class GetTargetAccountConfigurationRequest
401
411
  attr_accessor experiment_template_id: ::String
402
412
  attr_accessor account_id: ::String
@@ -528,6 +538,19 @@ module Aws::FIS
528
538
  SENSITIVE: []
529
539
  end
530
540
 
541
+ class SafetyLever
542
+ attr_accessor id: ::String
543
+ attr_accessor arn: ::String
544
+ attr_accessor state: Types::SafetyLeverState
545
+ SENSITIVE: []
546
+ end
547
+
548
+ class SafetyLeverState
549
+ attr_accessor status: ("disengaged" | "engaged" | "engaging")
550
+ attr_accessor reason: ::String
551
+ SENSITIVE: []
552
+ end
553
+
531
554
  class ServiceQuotaExceededException
532
555
  attr_accessor message: ::String
533
556
  SENSITIVE: []
@@ -666,6 +689,23 @@ module Aws::FIS
666
689
  SENSITIVE: []
667
690
  end
668
691
 
692
+ class UpdateSafetyLeverStateInput
693
+ attr_accessor status: ("disengaged" | "engaged")
694
+ attr_accessor reason: ::String
695
+ SENSITIVE: []
696
+ end
697
+
698
+ class UpdateSafetyLeverStateRequest
699
+ attr_accessor id: ::String
700
+ attr_accessor state: Types::UpdateSafetyLeverStateInput
701
+ SENSITIVE: []
702
+ end
703
+
704
+ class UpdateSafetyLeverStateResponse
705
+ attr_accessor safety_lever: Types::SafetyLever
706
+ SENSITIVE: []
707
+ end
708
+
669
709
  class UpdateTargetAccountConfigurationRequest
670
710
  attr_accessor experiment_template_id: ::String
671
711
  attr_accessor account_id: ::String
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.35.0
4
+ version: 1.37.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-08-13 00:00:00.000000000 Z
11
+ date: 2024-09-04 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