aws-sdk-fis 1.36.0 → 1.37.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-fis/client.rb +74 -5
- data/lib/aws-sdk-fis/client_api.rb +57 -0
- data/lib/aws-sdk-fis/endpoints.rb +28 -0
- data/lib/aws-sdk-fis/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-fis/types.rb +115 -0
- data/lib/aws-sdk-fis.rb +1 -1
- data/sig/client.rbs +24 -0
- data/sig/types.rbs +41 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f72ecd4dd0cf90cd791a0d407b626f71bcec6be558c4c8c65d35564585b58ae
|
4
|
+
data.tar.gz: 83486942035da67739c6df0cba3aed7aede38cd07d5a4415d82080fd1c2c7471
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1e76a71cd769f9d44c6170a1e41ca457b17ade6908de06e418947009ab3cb6d89acf223c07eb18921bb53fc3cf2d8ddf1ff505ee9e0d7b3e3eea55d1060aabb
|
7
|
+
data.tar.gz: 1ff6c1b607f73e5d4852d5d83e68c4782bb6155ef4a7347bd175f3ec9ab1c09ec47ef7003461cbaf066edefa760008d20712d83fd91c0713f8b5eb692061862c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
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
|
+
|
4
9
|
1.36.0 (2024-09-03)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.37.0
|
data/lib/aws-sdk-fis/client.rb
CHANGED
@@ -829,7 +829,7 @@ module Aws::FIS
|
|
829
829
|
# resp.experiment.arn #=> String
|
830
830
|
# resp.experiment.experiment_template_id #=> String
|
831
831
|
# resp.experiment.role_arn #=> String
|
832
|
-
# 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"
|
833
833
|
# resp.experiment.state.reason #=> String
|
834
834
|
# resp.experiment.state.error.account_id #=> String
|
835
835
|
# resp.experiment.state.error.code #=> String
|
@@ -988,6 +988,37 @@ module Aws::FIS
|
|
988
988
|
req.send_request(options)
|
989
989
|
end
|
990
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
|
+
|
991
1022
|
# Gets information about the specified target account configuration of
|
992
1023
|
# the experiment template.
|
993
1024
|
#
|
@@ -1266,7 +1297,7 @@ module Aws::FIS
|
|
1266
1297
|
# resp.experiments[0].id #=> String
|
1267
1298
|
# resp.experiments[0].arn #=> String
|
1268
1299
|
# resp.experiments[0].experiment_template_id #=> String
|
1269
|
-
# 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"
|
1270
1301
|
# resp.experiments[0].state.reason #=> String
|
1271
1302
|
# resp.experiments[0].state.error.account_id #=> String
|
1272
1303
|
# resp.experiments[0].state.error.code #=> String
|
@@ -1444,7 +1475,7 @@ module Aws::FIS
|
|
1444
1475
|
# resp.experiment.arn #=> String
|
1445
1476
|
# resp.experiment.experiment_template_id #=> String
|
1446
1477
|
# resp.experiment.role_arn #=> String
|
1447
|
-
# 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"
|
1448
1479
|
# resp.experiment.state.reason #=> String
|
1449
1480
|
# resp.experiment.state.error.account_id #=> String
|
1450
1481
|
# resp.experiment.state.error.code #=> String
|
@@ -1522,7 +1553,7 @@ module Aws::FIS
|
|
1522
1553
|
# resp.experiment.arn #=> String
|
1523
1554
|
# resp.experiment.experiment_template_id #=> String
|
1524
1555
|
# resp.experiment.role_arn #=> String
|
1525
|
-
# 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"
|
1526
1557
|
# resp.experiment.state.reason #=> String
|
1527
1558
|
# resp.experiment.state.error.account_id #=> String
|
1528
1559
|
# resp.experiment.state.error.code #=> String
|
@@ -1775,6 +1806,44 @@ module Aws::FIS
|
|
1775
1806
|
req.send_request(options)
|
1776
1807
|
end
|
1777
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
|
+
|
1778
1847
|
# Updates the target account configuration for the specified experiment
|
1779
1848
|
# template.
|
1780
1849
|
#
|
@@ -1836,7 +1905,7 @@ module Aws::FIS
|
|
1836
1905
|
tracer: tracer
|
1837
1906
|
)
|
1838
1907
|
context[:gem_name] = 'aws-sdk-fis'
|
1839
|
-
context[:gem_version] = '1.
|
1908
|
+
context[:gem_version] = '1.37.0'
|
1840
1909
|
Seahorse::Client::Request.new(handlers, context)
|
1841
1910
|
end
|
1842
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
|
data/lib/aws-sdk-fis/types.rb
CHANGED
@@ -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
data/sig/client.rbs
CHANGED
@@ -203,6 +203,16 @@ module Aws
|
|
203
203
|
) -> _GetExperimentTemplateResponseSuccess
|
204
204
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetExperimentTemplateResponseSuccess
|
205
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
|
+
|
206
216
|
interface _GetTargetAccountConfigurationResponseSuccess
|
207
217
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetTargetAccountConfigurationResponse]
|
208
218
|
def target_account_configuration: () -> Types::TargetAccountConfiguration
|
@@ -418,6 +428,20 @@ module Aws
|
|
418
428
|
) -> _UpdateExperimentTemplateResponseSuccess
|
419
429
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateExperimentTemplateResponseSuccess
|
420
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
|
+
|
421
445
|
interface _UpdateTargetAccountConfigurationResponseSuccess
|
422
446
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTargetAccountConfigurationResponse]
|
423
447
|
def target_account_configuration: () -> Types::TargetAccountConfiguration
|
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.
|
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-09-
|
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
|