aws-sdk-appconfig 1.58.0 → 1.60.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: 0b0bbbcd293ea5ae881ced400ed871bd41a50df88573ed61593bfc941972d2e5
4
- data.tar.gz: 44302b47774d4abc7946cddbf69971cfe0c6581be218bdb693a837c55fe264ee
3
+ metadata.gz: 279cd99a32e6b54d63f281bb0df4254271dc3ddd6f0d8434db3c643d297d66ba
4
+ data.tar.gz: 2cf0c423bfad1ceec3a5c97527b8e9e2fcf5d9eca1271214f150ee6d4ae2b61f
5
5
  SHA512:
6
- metadata.gz: 304053ffb77f7de4d9aad36444cc302259260b80e67ec33a0e53e5da6f25bb343449a2a61841a349be0f5a78e924c37e5d98f19212c990e80cce1c4e21770f60
7
- data.tar.gz: 13f2fb2efaacec7e899a31dd5f68199fd8d78996178b7c626ee8a8064e1f7c9fba8d2815470585d406fe80e6969409a3b39dfbbb0d4c0b98b3a0659f43a1d7e6
6
+ metadata.gz: a83ca61267490bb8f609b761239e4bf857aa1b5e519b2a7cf1553f767e2a62056d368c1bb8bd4173a179b549aaf8e03e0c713663f3284fb8e940a236b7f74e56
7
+ data.tar.gz: 3fd8612bccc8d6186156f9e9d9bac11eff897b181db378e4bed36fab045df891149c7694efb1bdb78af59c396aa736396a8c80c3cfb6bd65986aa87e637b6573
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.60.0 (2024-10-24)
5
+ ------------------
6
+
7
+ * Feature - This release improves deployment safety by granting customers the ability to REVERT completed deployments, to the last known good state.In the StopDeployment API revert case the status of a COMPLETE deployment will be REVERTED. AppConfig only allows a revert within 72 hours of deployment completion.
8
+
9
+ 1.59.0 (2024-10-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.58.0 (2024-09-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.58.0
1
+ 1.60.0
@@ -916,7 +916,7 @@ module Aws::AppConfig
916
916
  # resp.id #=> String
917
917
  # resp.name #=> String
918
918
  # resp.description #=> String
919
- # resp.state #=> String, one of "READY_FOR_DEPLOYMENT", "DEPLOYING", "ROLLING_BACK", "ROLLED_BACK"
919
+ # resp.state #=> String, one of "READY_FOR_DEPLOYMENT", "DEPLOYING", "ROLLING_BACK", "ROLLED_BACK", "REVERTED"
920
920
  # resp.monitors #=> Array
921
921
  # resp.monitors[0].alarm_arn #=> String
922
922
  # resp.monitors[0].alarm_role_arn #=> String
@@ -1664,13 +1664,14 @@ module Aws::AppConfig
1664
1664
  # saved for subsequent calls to GetConfiguration.
1665
1665
  #
1666
1666
  # For more information about working with configurations, see
1667
- # [Retrieving the Configuration][3] in the *AppConfig User Guide*.
1667
+ # [Retrieving feature flags and configuration data in AppConfig][3] in
1668
+ # the *AppConfig User Guide*.
1668
1669
  #
1669
1670
  #
1670
1671
  #
1671
1672
  # [1]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/StartConfigurationSession.html
1672
1673
  # [2]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/GetLatestConfiguration.html
1673
- # [3]: http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration.html
1674
+ # [3]: http://docs.aws.amazon.com/appconfig/latest/userguide/retrieving-feature-flags.html
1674
1675
  #
1675
1676
  # @return [Types::Configuration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1676
1677
  #
@@ -1933,9 +1934,9 @@ module Aws::AppConfig
1933
1934
  # resp.growth_type #=> String, one of "LINEAR", "EXPONENTIAL"
1934
1935
  # resp.growth_factor #=> Float
1935
1936
  # resp.final_bake_time_in_minutes #=> Integer
1936
- # resp.state #=> String, one of "BAKING", "VALIDATING", "DEPLOYING", "COMPLETE", "ROLLING_BACK", "ROLLED_BACK"
1937
+ # resp.state #=> String, one of "BAKING", "VALIDATING", "DEPLOYING", "COMPLETE", "ROLLING_BACK", "ROLLED_BACK", "REVERTED"
1937
1938
  # resp.event_log #=> Array
1938
- # resp.event_log[0].event_type #=> String, one of "PERCENTAGE_UPDATED", "ROLLBACK_STARTED", "ROLLBACK_COMPLETED", "BAKE_TIME_STARTED", "DEPLOYMENT_STARTED", "DEPLOYMENT_COMPLETED"
1939
+ # resp.event_log[0].event_type #=> String, one of "PERCENTAGE_UPDATED", "ROLLBACK_STARTED", "ROLLBACK_COMPLETED", "BAKE_TIME_STARTED", "DEPLOYMENT_STARTED", "DEPLOYMENT_COMPLETED", "REVERT_COMPLETED"
1939
1940
  # resp.event_log[0].triggered_by #=> String, one of "USER", "APPCONFIG", "CLOUDWATCH_ALARM", "INTERNAL_ERROR"
1940
1941
  # resp.event_log[0].description #=> String
1941
1942
  # resp.event_log[0].action_invocations #=> Array
@@ -2090,7 +2091,7 @@ module Aws::AppConfig
2090
2091
  # resp.id #=> String
2091
2092
  # resp.name #=> String
2092
2093
  # resp.description #=> String
2093
- # resp.state #=> String, one of "READY_FOR_DEPLOYMENT", "DEPLOYING", "ROLLING_BACK", "ROLLED_BACK"
2094
+ # resp.state #=> String, one of "READY_FOR_DEPLOYMENT", "DEPLOYING", "ROLLING_BACK", "ROLLED_BACK", "REVERTED"
2094
2095
  # resp.monitors #=> Array
2095
2096
  # resp.monitors[0].alarm_arn #=> String
2096
2097
  # resp.monitors[0].alarm_role_arn #=> String
@@ -2565,7 +2566,7 @@ module Aws::AppConfig
2565
2566
  # resp.items[0].growth_type #=> String, one of "LINEAR", "EXPONENTIAL"
2566
2567
  # resp.items[0].growth_factor #=> Float
2567
2568
  # resp.items[0].final_bake_time_in_minutes #=> Integer
2568
- # resp.items[0].state #=> String, one of "BAKING", "VALIDATING", "DEPLOYING", "COMPLETE", "ROLLING_BACK", "ROLLED_BACK"
2569
+ # resp.items[0].state #=> String, one of "BAKING", "VALIDATING", "DEPLOYING", "COMPLETE", "ROLLING_BACK", "ROLLED_BACK", "REVERTED"
2569
2570
  # resp.items[0].percentage_complete #=> Float
2570
2571
  # resp.items[0].started_at #=> Time
2571
2572
  # resp.items[0].completed_at #=> Time
@@ -2639,7 +2640,7 @@ module Aws::AppConfig
2639
2640
  # resp.items[0].id #=> String
2640
2641
  # resp.items[0].name #=> String
2641
2642
  # resp.items[0].description #=> String
2642
- # resp.items[0].state #=> String, one of "READY_FOR_DEPLOYMENT", "DEPLOYING", "ROLLING_BACK", "ROLLED_BACK"
2643
+ # resp.items[0].state #=> String, one of "READY_FOR_DEPLOYMENT", "DEPLOYING", "ROLLING_BACK", "ROLLED_BACK", "REVERTED"
2643
2644
  # resp.items[0].monitors #=> Array
2644
2645
  # resp.items[0].monitors[0].alarm_arn #=> String
2645
2646
  # resp.items[0].monitors[0].alarm_role_arn #=> String
@@ -3038,9 +3039,9 @@ module Aws::AppConfig
3038
3039
  # resp.growth_type #=> String, one of "LINEAR", "EXPONENTIAL"
3039
3040
  # resp.growth_factor #=> Float
3040
3041
  # resp.final_bake_time_in_minutes #=> Integer
3041
- # resp.state #=> String, one of "BAKING", "VALIDATING", "DEPLOYING", "COMPLETE", "ROLLING_BACK", "ROLLED_BACK"
3042
+ # resp.state #=> String, one of "BAKING", "VALIDATING", "DEPLOYING", "COMPLETE", "ROLLING_BACK", "ROLLED_BACK", "REVERTED"
3042
3043
  # resp.event_log #=> Array
3043
- # resp.event_log[0].event_type #=> String, one of "PERCENTAGE_UPDATED", "ROLLBACK_STARTED", "ROLLBACK_COMPLETED", "BAKE_TIME_STARTED", "DEPLOYMENT_STARTED", "DEPLOYMENT_COMPLETED"
3044
+ # resp.event_log[0].event_type #=> String, one of "PERCENTAGE_UPDATED", "ROLLBACK_STARTED", "ROLLBACK_COMPLETED", "BAKE_TIME_STARTED", "DEPLOYMENT_STARTED", "DEPLOYMENT_COMPLETED", "REVERT_COMPLETED"
3044
3045
  # resp.event_log[0].triggered_by #=> String, one of "USER", "APPCONFIG", "CLOUDWATCH_ALARM", "INTERNAL_ERROR"
3045
3046
  # resp.event_log[0].description #=> String
3046
3047
  # resp.event_log[0].action_invocations #=> Array
@@ -3075,8 +3076,11 @@ module Aws::AppConfig
3075
3076
  end
3076
3077
 
3077
3078
  # Stops a deployment. This API action works only on deployments that
3078
- # have a status of `DEPLOYING`. This action moves the deployment to a
3079
- # status of `ROLLED_BACK`.
3079
+ # have a status of `DEPLOYING`, unless an `AllowRevert` parameter is
3080
+ # supplied. If the `AllowRevert` parameter is supplied, the status of an
3081
+ # in-progress deployment will be `ROLLED_BACK`. The status of a
3082
+ # completed deployment will be `REVERTED`. AppConfig only allows a
3083
+ # revert within 72 hours of deployment completion.
3080
3084
  #
3081
3085
  # @option params [required, String] :application_id
3082
3086
  # The application ID.
@@ -3087,6 +3091,11 @@ module Aws::AppConfig
3087
3091
  # @option params [required, Integer] :deployment_number
3088
3092
  # The sequence number of the deployment.
3089
3093
  #
3094
+ # @option params [Boolean] :allow_revert
3095
+ # A Boolean that enables AppConfig to rollback a `COMPLETED` deployment
3096
+ # to the previous configuration version. This action moves the
3097
+ # deployment to a status of `REVERTED`.
3098
+ #
3090
3099
  # @return [Types::Deployment] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3091
3100
  #
3092
3101
  # * {Types::Deployment#application_id #application_id} => String
@@ -3138,6 +3147,7 @@ module Aws::AppConfig
3138
3147
  # application_id: "Id", # required
3139
3148
  # environment_id: "Id", # required
3140
3149
  # deployment_number: 1, # required
3150
+ # allow_revert: false,
3141
3151
  # })
3142
3152
  #
3143
3153
  # @example Response structure
@@ -3155,9 +3165,9 @@ module Aws::AppConfig
3155
3165
  # resp.growth_type #=> String, one of "LINEAR", "EXPONENTIAL"
3156
3166
  # resp.growth_factor #=> Float
3157
3167
  # resp.final_bake_time_in_minutes #=> Integer
3158
- # resp.state #=> String, one of "BAKING", "VALIDATING", "DEPLOYING", "COMPLETE", "ROLLING_BACK", "ROLLED_BACK"
3168
+ # resp.state #=> String, one of "BAKING", "VALIDATING", "DEPLOYING", "COMPLETE", "ROLLING_BACK", "ROLLED_BACK", "REVERTED"
3159
3169
  # resp.event_log #=> Array
3160
- # resp.event_log[0].event_type #=> String, one of "PERCENTAGE_UPDATED", "ROLLBACK_STARTED", "ROLLBACK_COMPLETED", "BAKE_TIME_STARTED", "DEPLOYMENT_STARTED", "DEPLOYMENT_COMPLETED"
3170
+ # resp.event_log[0].event_type #=> String, one of "PERCENTAGE_UPDATED", "ROLLBACK_STARTED", "ROLLBACK_COMPLETED", "BAKE_TIME_STARTED", "DEPLOYMENT_STARTED", "DEPLOYMENT_COMPLETED", "REVERT_COMPLETED"
3161
3171
  # resp.event_log[0].triggered_by #=> String, one of "USER", "APPCONFIG", "CLOUDWATCH_ALARM", "INTERNAL_ERROR"
3162
3172
  # resp.event_log[0].description #=> String
3163
3173
  # resp.event_log[0].action_invocations #=> Array
@@ -3658,7 +3668,7 @@ module Aws::AppConfig
3658
3668
  # resp.id #=> String
3659
3669
  # resp.name #=> String
3660
3670
  # resp.description #=> String
3661
- # resp.state #=> String, one of "READY_FOR_DEPLOYMENT", "DEPLOYING", "ROLLING_BACK", "ROLLED_BACK"
3671
+ # resp.state #=> String, one of "READY_FOR_DEPLOYMENT", "DEPLOYING", "ROLLING_BACK", "ROLLED_BACK", "REVERTED"
3662
3672
  # resp.monitors #=> Array
3663
3673
  # resp.monitors[0].alarm_arn #=> String
3664
3674
  # resp.monitors[0].alarm_role_arn #=> String
@@ -3867,7 +3877,7 @@ module Aws::AppConfig
3867
3877
  tracer: tracer
3868
3878
  )
3869
3879
  context[:gem_name] = 'aws-sdk-appconfig'
3870
- context[:gem_version] = '1.58.0'
3880
+ context[:gem_version] = '1.60.0'
3871
3881
  Seahorse::Client::Request.new(handlers, context)
3872
3882
  end
3873
3883
 
@@ -647,6 +647,7 @@ module Aws::AppConfig
647
647
  StopDeploymentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
648
648
  StopDeploymentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "EnvironmentId"))
649
649
  StopDeploymentRequest.add_member(:deployment_number, Shapes::ShapeRef.new(shape: Integer, required: true, location: "uri", location_name: "DeploymentNumber", metadata: {"box"=>true}))
650
+ StopDeploymentRequest.add_member(:allow_revert, Shapes::ShapeRef.new(shape: Boolean, location: "header", location_name: "Allow-Revert", metadata: {"box"=>true}))
650
651
  StopDeploymentRequest.struct_class = Types::StopDeploymentRequest
651
652
 
652
653
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
@@ -52,15 +52,18 @@ module Aws::AppConfig
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
- if self[:use_dual_stack].nil?
56
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
- end
58
55
  self[:use_fips] = options[:use_fips]
59
56
  self[:use_fips] = false if self[:use_fips].nil?
60
- if self[:use_fips].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
- end
63
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end
@@ -12,500 +12,9 @@ module Aws::AppConfig
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
- class CreateApplication
16
- def self.build(context)
17
- Aws::AppConfig::EndpointParameters.new(
18
- region: context.config.region,
19
- use_dual_stack: context.config.use_dualstack_endpoint,
20
- use_fips: context.config.use_fips_endpoint,
21
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
22
- )
23
- end
24
- end
25
-
26
- class CreateConfigurationProfile
27
- def self.build(context)
28
- Aws::AppConfig::EndpointParameters.new(
29
- region: context.config.region,
30
- use_dual_stack: context.config.use_dualstack_endpoint,
31
- use_fips: context.config.use_fips_endpoint,
32
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
33
- )
34
- end
35
- end
36
-
37
- class CreateDeploymentStrategy
38
- def self.build(context)
39
- Aws::AppConfig::EndpointParameters.new(
40
- region: context.config.region,
41
- use_dual_stack: context.config.use_dualstack_endpoint,
42
- use_fips: context.config.use_fips_endpoint,
43
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
44
- )
45
- end
46
- end
47
-
48
- class CreateEnvironment
49
- def self.build(context)
50
- Aws::AppConfig::EndpointParameters.new(
51
- region: context.config.region,
52
- use_dual_stack: context.config.use_dualstack_endpoint,
53
- use_fips: context.config.use_fips_endpoint,
54
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
55
- )
56
- end
57
- end
58
-
59
- class CreateExtension
60
- def self.build(context)
61
- Aws::AppConfig::EndpointParameters.new(
62
- region: context.config.region,
63
- use_dual_stack: context.config.use_dualstack_endpoint,
64
- use_fips: context.config.use_fips_endpoint,
65
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
66
- )
67
- end
68
- end
69
-
70
- class CreateExtensionAssociation
71
- def self.build(context)
72
- Aws::AppConfig::EndpointParameters.new(
73
- region: context.config.region,
74
- use_dual_stack: context.config.use_dualstack_endpoint,
75
- use_fips: context.config.use_fips_endpoint,
76
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
77
- )
78
- end
79
- end
80
-
81
- class CreateHostedConfigurationVersion
82
- def self.build(context)
83
- Aws::AppConfig::EndpointParameters.new(
84
- region: context.config.region,
85
- use_dual_stack: context.config.use_dualstack_endpoint,
86
- use_fips: context.config.use_fips_endpoint,
87
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
88
- )
89
- end
90
- end
91
-
92
- class DeleteApplication
93
- def self.build(context)
94
- Aws::AppConfig::EndpointParameters.new(
95
- region: context.config.region,
96
- use_dual_stack: context.config.use_dualstack_endpoint,
97
- use_fips: context.config.use_fips_endpoint,
98
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
99
- )
100
- end
101
- end
102
-
103
- class DeleteConfigurationProfile
104
- def self.build(context)
105
- Aws::AppConfig::EndpointParameters.new(
106
- region: context.config.region,
107
- use_dual_stack: context.config.use_dualstack_endpoint,
108
- use_fips: context.config.use_fips_endpoint,
109
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
110
- )
111
- end
112
- end
113
-
114
- class DeleteDeploymentStrategy
115
- def self.build(context)
116
- Aws::AppConfig::EndpointParameters.new(
117
- region: context.config.region,
118
- use_dual_stack: context.config.use_dualstack_endpoint,
119
- use_fips: context.config.use_fips_endpoint,
120
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
121
- )
122
- end
123
- end
124
-
125
- class DeleteEnvironment
126
- def self.build(context)
127
- Aws::AppConfig::EndpointParameters.new(
128
- region: context.config.region,
129
- use_dual_stack: context.config.use_dualstack_endpoint,
130
- use_fips: context.config.use_fips_endpoint,
131
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
132
- )
133
- end
134
- end
135
-
136
- class DeleteExtension
137
- def self.build(context)
138
- Aws::AppConfig::EndpointParameters.new(
139
- region: context.config.region,
140
- use_dual_stack: context.config.use_dualstack_endpoint,
141
- use_fips: context.config.use_fips_endpoint,
142
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
143
- )
144
- end
145
- end
146
-
147
- class DeleteExtensionAssociation
148
- def self.build(context)
149
- Aws::AppConfig::EndpointParameters.new(
150
- region: context.config.region,
151
- use_dual_stack: context.config.use_dualstack_endpoint,
152
- use_fips: context.config.use_fips_endpoint,
153
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
154
- )
155
- end
156
- end
157
-
158
- class DeleteHostedConfigurationVersion
159
- def self.build(context)
160
- Aws::AppConfig::EndpointParameters.new(
161
- region: context.config.region,
162
- use_dual_stack: context.config.use_dualstack_endpoint,
163
- use_fips: context.config.use_fips_endpoint,
164
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
165
- )
166
- end
167
- end
168
-
169
- class GetAccountSettings
170
- def self.build(context)
171
- Aws::AppConfig::EndpointParameters.new(
172
- region: context.config.region,
173
- use_dual_stack: context.config.use_dualstack_endpoint,
174
- use_fips: context.config.use_fips_endpoint,
175
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
176
- )
177
- end
178
- end
179
-
180
- class GetApplication
181
- def self.build(context)
182
- Aws::AppConfig::EndpointParameters.new(
183
- region: context.config.region,
184
- use_dual_stack: context.config.use_dualstack_endpoint,
185
- use_fips: context.config.use_fips_endpoint,
186
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
187
- )
188
- end
189
- end
190
-
191
- class GetConfiguration
192
- def self.build(context)
193
- Aws::AppConfig::EndpointParameters.new(
194
- region: context.config.region,
195
- use_dual_stack: context.config.use_dualstack_endpoint,
196
- use_fips: context.config.use_fips_endpoint,
197
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
198
- )
199
- end
200
- end
201
-
202
- class GetConfigurationProfile
203
- def self.build(context)
204
- Aws::AppConfig::EndpointParameters.new(
205
- region: context.config.region,
206
- use_dual_stack: context.config.use_dualstack_endpoint,
207
- use_fips: context.config.use_fips_endpoint,
208
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
209
- )
210
- end
211
- end
212
-
213
- class GetDeployment
214
- def self.build(context)
215
- Aws::AppConfig::EndpointParameters.new(
216
- region: context.config.region,
217
- use_dual_stack: context.config.use_dualstack_endpoint,
218
- use_fips: context.config.use_fips_endpoint,
219
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
220
- )
221
- end
222
- end
223
-
224
- class GetDeploymentStrategy
225
- def self.build(context)
226
- Aws::AppConfig::EndpointParameters.new(
227
- region: context.config.region,
228
- use_dual_stack: context.config.use_dualstack_endpoint,
229
- use_fips: context.config.use_fips_endpoint,
230
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
231
- )
232
- end
233
- end
234
-
235
- class GetEnvironment
236
- def self.build(context)
237
- Aws::AppConfig::EndpointParameters.new(
238
- region: context.config.region,
239
- use_dual_stack: context.config.use_dualstack_endpoint,
240
- use_fips: context.config.use_fips_endpoint,
241
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
242
- )
243
- end
244
- end
245
-
246
- class GetExtension
247
- def self.build(context)
248
- Aws::AppConfig::EndpointParameters.new(
249
- region: context.config.region,
250
- use_dual_stack: context.config.use_dualstack_endpoint,
251
- use_fips: context.config.use_fips_endpoint,
252
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
253
- )
254
- end
255
- end
256
-
257
- class GetExtensionAssociation
258
- def self.build(context)
259
- Aws::AppConfig::EndpointParameters.new(
260
- region: context.config.region,
261
- use_dual_stack: context.config.use_dualstack_endpoint,
262
- use_fips: context.config.use_fips_endpoint,
263
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
264
- )
265
- end
266
- end
267
-
268
- class GetHostedConfigurationVersion
269
- def self.build(context)
270
- Aws::AppConfig::EndpointParameters.new(
271
- region: context.config.region,
272
- use_dual_stack: context.config.use_dualstack_endpoint,
273
- use_fips: context.config.use_fips_endpoint,
274
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
275
- )
276
- end
277
- end
278
-
279
- class ListApplications
280
- def self.build(context)
281
- Aws::AppConfig::EndpointParameters.new(
282
- region: context.config.region,
283
- use_dual_stack: context.config.use_dualstack_endpoint,
284
- use_fips: context.config.use_fips_endpoint,
285
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
286
- )
287
- end
288
- end
289
-
290
- class ListConfigurationProfiles
291
- def self.build(context)
292
- Aws::AppConfig::EndpointParameters.new(
293
- region: context.config.region,
294
- use_dual_stack: context.config.use_dualstack_endpoint,
295
- use_fips: context.config.use_fips_endpoint,
296
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
297
- )
298
- end
299
- end
300
-
301
- class ListDeploymentStrategies
302
- def self.build(context)
303
- Aws::AppConfig::EndpointParameters.new(
304
- region: context.config.region,
305
- use_dual_stack: context.config.use_dualstack_endpoint,
306
- use_fips: context.config.use_fips_endpoint,
307
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
308
- )
309
- end
310
- end
311
-
312
- class ListDeployments
313
- def self.build(context)
314
- Aws::AppConfig::EndpointParameters.new(
315
- region: context.config.region,
316
- use_dual_stack: context.config.use_dualstack_endpoint,
317
- use_fips: context.config.use_fips_endpoint,
318
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
319
- )
320
- end
321
- end
322
-
323
- class ListEnvironments
324
- def self.build(context)
325
- Aws::AppConfig::EndpointParameters.new(
326
- region: context.config.region,
327
- use_dual_stack: context.config.use_dualstack_endpoint,
328
- use_fips: context.config.use_fips_endpoint,
329
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
330
- )
331
- end
332
- end
333
-
334
- class ListExtensionAssociations
335
- def self.build(context)
336
- Aws::AppConfig::EndpointParameters.new(
337
- region: context.config.region,
338
- use_dual_stack: context.config.use_dualstack_endpoint,
339
- use_fips: context.config.use_fips_endpoint,
340
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
341
- )
342
- end
343
- end
344
-
345
- class ListExtensions
346
- def self.build(context)
347
- Aws::AppConfig::EndpointParameters.new(
348
- region: context.config.region,
349
- use_dual_stack: context.config.use_dualstack_endpoint,
350
- use_fips: context.config.use_fips_endpoint,
351
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
352
- )
353
- end
354
- end
355
-
356
- class ListHostedConfigurationVersions
357
- def self.build(context)
358
- Aws::AppConfig::EndpointParameters.new(
359
- region: context.config.region,
360
- use_dual_stack: context.config.use_dualstack_endpoint,
361
- use_fips: context.config.use_fips_endpoint,
362
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
363
- )
364
- end
365
- end
366
-
367
- class ListTagsForResource
368
- def self.build(context)
369
- Aws::AppConfig::EndpointParameters.new(
370
- region: context.config.region,
371
- use_dual_stack: context.config.use_dualstack_endpoint,
372
- use_fips: context.config.use_fips_endpoint,
373
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
374
- )
375
- end
376
- end
377
-
378
- class StartDeployment
379
- def self.build(context)
380
- Aws::AppConfig::EndpointParameters.new(
381
- region: context.config.region,
382
- use_dual_stack: context.config.use_dualstack_endpoint,
383
- use_fips: context.config.use_fips_endpoint,
384
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
385
- )
386
- end
387
- end
388
-
389
- class StopDeployment
390
- def self.build(context)
391
- Aws::AppConfig::EndpointParameters.new(
392
- region: context.config.region,
393
- use_dual_stack: context.config.use_dualstack_endpoint,
394
- use_fips: context.config.use_fips_endpoint,
395
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
396
- )
397
- end
398
- end
399
-
400
- class TagResource
401
- def self.build(context)
402
- Aws::AppConfig::EndpointParameters.new(
403
- region: context.config.region,
404
- use_dual_stack: context.config.use_dualstack_endpoint,
405
- use_fips: context.config.use_fips_endpoint,
406
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
407
- )
408
- end
409
- end
410
-
411
- class UntagResource
412
- def self.build(context)
413
- Aws::AppConfig::EndpointParameters.new(
414
- region: context.config.region,
415
- use_dual_stack: context.config.use_dualstack_endpoint,
416
- use_fips: context.config.use_fips_endpoint,
417
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
418
- )
419
- end
420
- end
421
-
422
- class UpdateAccountSettings
423
- def self.build(context)
424
- Aws::AppConfig::EndpointParameters.new(
425
- region: context.config.region,
426
- use_dual_stack: context.config.use_dualstack_endpoint,
427
- use_fips: context.config.use_fips_endpoint,
428
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
429
- )
430
- end
431
- end
432
-
433
- class UpdateApplication
434
- def self.build(context)
435
- Aws::AppConfig::EndpointParameters.new(
436
- region: context.config.region,
437
- use_dual_stack: context.config.use_dualstack_endpoint,
438
- use_fips: context.config.use_fips_endpoint,
439
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
440
- )
441
- end
442
- end
443
15
 
444
- class UpdateConfigurationProfile
445
- def self.build(context)
446
- Aws::AppConfig::EndpointParameters.new(
447
- region: context.config.region,
448
- use_dual_stack: context.config.use_dualstack_endpoint,
449
- use_fips: context.config.use_fips_endpoint,
450
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
451
- )
452
- end
16
+ def self.parameters_for_operation(context)
17
+ Aws::AppConfig::EndpointParameters.create(context.config)
453
18
  end
454
-
455
- class UpdateDeploymentStrategy
456
- def self.build(context)
457
- Aws::AppConfig::EndpointParameters.new(
458
- region: context.config.region,
459
- use_dual_stack: context.config.use_dualstack_endpoint,
460
- use_fips: context.config.use_fips_endpoint,
461
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
462
- )
463
- end
464
- end
465
-
466
- class UpdateEnvironment
467
- def self.build(context)
468
- Aws::AppConfig::EndpointParameters.new(
469
- region: context.config.region,
470
- use_dual_stack: context.config.use_dualstack_endpoint,
471
- use_fips: context.config.use_fips_endpoint,
472
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
473
- )
474
- end
475
- end
476
-
477
- class UpdateExtension
478
- def self.build(context)
479
- Aws::AppConfig::EndpointParameters.new(
480
- region: context.config.region,
481
- use_dual_stack: context.config.use_dualstack_endpoint,
482
- use_fips: context.config.use_fips_endpoint,
483
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
484
- )
485
- end
486
- end
487
-
488
- class UpdateExtensionAssociation
489
- def self.build(context)
490
- Aws::AppConfig::EndpointParameters.new(
491
- region: context.config.region,
492
- use_dual_stack: context.config.use_dualstack_endpoint,
493
- use_fips: context.config.use_fips_endpoint,
494
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
495
- )
496
- end
497
- end
498
-
499
- class ValidateConfiguration
500
- def self.build(context)
501
- Aws::AppConfig::EndpointParameters.new(
502
- region: context.config.region,
503
- use_dual_stack: context.config.use_dualstack_endpoint,
504
- use_fips: context.config.use_fips_endpoint,
505
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
506
- )
507
- end
508
- end
509
-
510
19
  end
511
20
  end
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::AppConfig::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -67,101 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
67
67
  context.http_request.headers[key] = value
68
68
  end
69
69
  end
70
-
71
- def parameters_for_operation(context)
72
- case context.operation_name
73
- when :create_application
74
- Aws::AppConfig::Endpoints::CreateApplication.build(context)
75
- when :create_configuration_profile
76
- Aws::AppConfig::Endpoints::CreateConfigurationProfile.build(context)
77
- when :create_deployment_strategy
78
- Aws::AppConfig::Endpoints::CreateDeploymentStrategy.build(context)
79
- when :create_environment
80
- Aws::AppConfig::Endpoints::CreateEnvironment.build(context)
81
- when :create_extension
82
- Aws::AppConfig::Endpoints::CreateExtension.build(context)
83
- when :create_extension_association
84
- Aws::AppConfig::Endpoints::CreateExtensionAssociation.build(context)
85
- when :create_hosted_configuration_version
86
- Aws::AppConfig::Endpoints::CreateHostedConfigurationVersion.build(context)
87
- when :delete_application
88
- Aws::AppConfig::Endpoints::DeleteApplication.build(context)
89
- when :delete_configuration_profile
90
- Aws::AppConfig::Endpoints::DeleteConfigurationProfile.build(context)
91
- when :delete_deployment_strategy
92
- Aws::AppConfig::Endpoints::DeleteDeploymentStrategy.build(context)
93
- when :delete_environment
94
- Aws::AppConfig::Endpoints::DeleteEnvironment.build(context)
95
- when :delete_extension
96
- Aws::AppConfig::Endpoints::DeleteExtension.build(context)
97
- when :delete_extension_association
98
- Aws::AppConfig::Endpoints::DeleteExtensionAssociation.build(context)
99
- when :delete_hosted_configuration_version
100
- Aws::AppConfig::Endpoints::DeleteHostedConfigurationVersion.build(context)
101
- when :get_account_settings
102
- Aws::AppConfig::Endpoints::GetAccountSettings.build(context)
103
- when :get_application
104
- Aws::AppConfig::Endpoints::GetApplication.build(context)
105
- when :get_configuration
106
- Aws::AppConfig::Endpoints::GetConfiguration.build(context)
107
- when :get_configuration_profile
108
- Aws::AppConfig::Endpoints::GetConfigurationProfile.build(context)
109
- when :get_deployment
110
- Aws::AppConfig::Endpoints::GetDeployment.build(context)
111
- when :get_deployment_strategy
112
- Aws::AppConfig::Endpoints::GetDeploymentStrategy.build(context)
113
- when :get_environment
114
- Aws::AppConfig::Endpoints::GetEnvironment.build(context)
115
- when :get_extension
116
- Aws::AppConfig::Endpoints::GetExtension.build(context)
117
- when :get_extension_association
118
- Aws::AppConfig::Endpoints::GetExtensionAssociation.build(context)
119
- when :get_hosted_configuration_version
120
- Aws::AppConfig::Endpoints::GetHostedConfigurationVersion.build(context)
121
- when :list_applications
122
- Aws::AppConfig::Endpoints::ListApplications.build(context)
123
- when :list_configuration_profiles
124
- Aws::AppConfig::Endpoints::ListConfigurationProfiles.build(context)
125
- when :list_deployment_strategies
126
- Aws::AppConfig::Endpoints::ListDeploymentStrategies.build(context)
127
- when :list_deployments
128
- Aws::AppConfig::Endpoints::ListDeployments.build(context)
129
- when :list_environments
130
- Aws::AppConfig::Endpoints::ListEnvironments.build(context)
131
- when :list_extension_associations
132
- Aws::AppConfig::Endpoints::ListExtensionAssociations.build(context)
133
- when :list_extensions
134
- Aws::AppConfig::Endpoints::ListExtensions.build(context)
135
- when :list_hosted_configuration_versions
136
- Aws::AppConfig::Endpoints::ListHostedConfigurationVersions.build(context)
137
- when :list_tags_for_resource
138
- Aws::AppConfig::Endpoints::ListTagsForResource.build(context)
139
- when :start_deployment
140
- Aws::AppConfig::Endpoints::StartDeployment.build(context)
141
- when :stop_deployment
142
- Aws::AppConfig::Endpoints::StopDeployment.build(context)
143
- when :tag_resource
144
- Aws::AppConfig::Endpoints::TagResource.build(context)
145
- when :untag_resource
146
- Aws::AppConfig::Endpoints::UntagResource.build(context)
147
- when :update_account_settings
148
- Aws::AppConfig::Endpoints::UpdateAccountSettings.build(context)
149
- when :update_application
150
- Aws::AppConfig::Endpoints::UpdateApplication.build(context)
151
- when :update_configuration_profile
152
- Aws::AppConfig::Endpoints::UpdateConfigurationProfile.build(context)
153
- when :update_deployment_strategy
154
- Aws::AppConfig::Endpoints::UpdateDeploymentStrategy.build(context)
155
- when :update_environment
156
- Aws::AppConfig::Endpoints::UpdateEnvironment.build(context)
157
- when :update_extension
158
- Aws::AppConfig::Endpoints::UpdateExtension.build(context)
159
- when :update_extension_association
160
- Aws::AppConfig::Endpoints::UpdateExtensionAssociation.build(context)
161
- when :validate_configuration
162
- Aws::AppConfig::Endpoints::ValidateConfiguration.build(context)
163
- end
164
- end
165
70
  end
166
71
 
167
72
  def add_handlers(handlers, _config)
@@ -1687,13 +1687,14 @@ module Aws::AppConfig
1687
1687
  # saved for subsequent calls to GetConfiguration.
1688
1688
  #
1689
1689
  # For more information about working with configurations, see
1690
- # [Retrieving the Configuration][3] in the *AppConfig User Guide*.
1690
+ # [Retrieving feature flags and configuration data in AppConfig][3] in
1691
+ # the *AppConfig User Guide*.
1691
1692
  #
1692
1693
  #
1693
1694
  #
1694
1695
  # [1]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/StartConfigurationSession.html
1695
1696
  # [2]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/GetLatestConfiguration.html
1696
- # [3]: http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration.html
1697
+ # [3]: http://docs.aws.amazon.com/appconfig/latest/userguide/retrieving-feature-flags.html
1697
1698
  # @return [String]
1698
1699
  #
1699
1700
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationRequest AWS API Documentation
@@ -2448,12 +2449,19 @@ module Aws::AppConfig
2448
2449
  # The sequence number of the deployment.
2449
2450
  # @return [Integer]
2450
2451
  #
2452
+ # @!attribute [rw] allow_revert
2453
+ # A Boolean that enables AppConfig to rollback a `COMPLETED`
2454
+ # deployment to the previous configuration version. This action moves
2455
+ # the deployment to a status of `REVERTED`.
2456
+ # @return [Boolean]
2457
+ #
2451
2458
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StopDeploymentRequest AWS API Documentation
2452
2459
  #
2453
2460
  class StopDeploymentRequest < Struct.new(
2454
2461
  :application_id,
2455
2462
  :environment_id,
2456
- :deployment_number)
2463
+ :deployment_number,
2464
+ :allow_revert)
2457
2465
  SENSITIVE = []
2458
2466
  include Aws::Structure
2459
2467
  end
@@ -54,7 +54,7 @@ module Aws::AppConfig
54
54
  autoload :EndpointProvider, 'aws-sdk-appconfig/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-appconfig/endpoints'
56
56
 
57
- GEM_VERSION = '1.58.0'
57
+ GEM_VERSION = '1.60.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -151,7 +151,7 @@ module Aws
151
151
  def id: () -> ::String
152
152
  def name: () -> ::String
153
153
  def description: () -> ::String
154
- def state: () -> ("READY_FOR_DEPLOYMENT" | "DEPLOYING" | "ROLLING_BACK" | "ROLLED_BACK")
154
+ def state: () -> ("READY_FOR_DEPLOYMENT" | "DEPLOYING" | "ROLLING_BACK" | "ROLLED_BACK" | "REVERTED")
155
155
  def monitors: () -> ::Array[Types::Monitor]
156
156
  end
157
157
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#create_environment-instance_method
@@ -363,7 +363,7 @@ module Aws
363
363
  def growth_type: () -> ("LINEAR" | "EXPONENTIAL")
364
364
  def growth_factor: () -> ::Float
365
365
  def final_bake_time_in_minutes: () -> ::Integer
366
- def state: () -> ("BAKING" | "VALIDATING" | "DEPLOYING" | "COMPLETE" | "ROLLING_BACK" | "ROLLED_BACK")
366
+ def state: () -> ("BAKING" | "VALIDATING" | "DEPLOYING" | "COMPLETE" | "ROLLING_BACK" | "ROLLED_BACK" | "REVERTED")
367
367
  def event_log: () -> ::Array[Types::DeploymentEvent]
368
368
  def percentage_complete: () -> ::Float
369
369
  def started_at: () -> ::Time
@@ -404,7 +404,7 @@ module Aws
404
404
  def id: () -> ::String
405
405
  def name: () -> ::String
406
406
  def description: () -> ::String
407
- def state: () -> ("READY_FOR_DEPLOYMENT" | "DEPLOYING" | "ROLLING_BACK" | "ROLLED_BACK")
407
+ def state: () -> ("READY_FOR_DEPLOYMENT" | "DEPLOYING" | "ROLLING_BACK" | "ROLLED_BACK" | "REVERTED")
408
408
  def monitors: () -> ::Array[Types::Monitor]
409
409
  end
410
410
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#get_environment-instance_method
@@ -598,7 +598,7 @@ module Aws
598
598
  def growth_type: () -> ("LINEAR" | "EXPONENTIAL")
599
599
  def growth_factor: () -> ::Float
600
600
  def final_bake_time_in_minutes: () -> ::Integer
601
- def state: () -> ("BAKING" | "VALIDATING" | "DEPLOYING" | "COMPLETE" | "ROLLING_BACK" | "ROLLED_BACK")
601
+ def state: () -> ("BAKING" | "VALIDATING" | "DEPLOYING" | "COMPLETE" | "ROLLING_BACK" | "ROLLED_BACK" | "REVERTED")
602
602
  def event_log: () -> ::Array[Types::DeploymentEvent]
603
603
  def percentage_complete: () -> ::Float
604
604
  def started_at: () -> ::Time
@@ -637,7 +637,7 @@ module Aws
637
637
  def growth_type: () -> ("LINEAR" | "EXPONENTIAL")
638
638
  def growth_factor: () -> ::Float
639
639
  def final_bake_time_in_minutes: () -> ::Integer
640
- def state: () -> ("BAKING" | "VALIDATING" | "DEPLOYING" | "COMPLETE" | "ROLLING_BACK" | "ROLLED_BACK")
640
+ def state: () -> ("BAKING" | "VALIDATING" | "DEPLOYING" | "COMPLETE" | "ROLLING_BACK" | "ROLLED_BACK" | "REVERTED")
641
641
  def event_log: () -> ::Array[Types::DeploymentEvent]
642
642
  def percentage_complete: () -> ::Float
643
643
  def started_at: () -> ::Time
@@ -651,7 +651,8 @@ module Aws
651
651
  def stop_deployment: (
652
652
  application_id: ::String,
653
653
  environment_id: ::String,
654
- deployment_number: ::Integer
654
+ deployment_number: ::Integer,
655
+ ?allow_revert: bool
655
656
  ) -> _StopDeploymentResponseSuccess
656
657
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopDeploymentResponseSuccess
657
658
 
@@ -754,7 +755,7 @@ module Aws
754
755
  def id: () -> ::String
755
756
  def name: () -> ::String
756
757
  def description: () -> ::String
757
- def state: () -> ("READY_FOR_DEPLOYMENT" | "DEPLOYING" | "ROLLING_BACK" | "ROLLED_BACK")
758
+ def state: () -> ("READY_FOR_DEPLOYMENT" | "DEPLOYING" | "ROLLING_BACK" | "ROLLED_BACK" | "REVERTED")
758
759
  def monitors: () -> ::Array[Types::Monitor]
759
760
  end
760
761
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#update_environment-instance_method
data/sig/types.rbs CHANGED
@@ -246,7 +246,7 @@ module Aws::AppConfig
246
246
  attr_accessor growth_type: ("LINEAR" | "EXPONENTIAL")
247
247
  attr_accessor growth_factor: ::Float
248
248
  attr_accessor final_bake_time_in_minutes: ::Integer
249
- attr_accessor state: ("BAKING" | "VALIDATING" | "DEPLOYING" | "COMPLETE" | "ROLLING_BACK" | "ROLLED_BACK")
249
+ attr_accessor state: ("BAKING" | "VALIDATING" | "DEPLOYING" | "COMPLETE" | "ROLLING_BACK" | "ROLLED_BACK" | "REVERTED")
250
250
  attr_accessor event_log: ::Array[Types::DeploymentEvent]
251
251
  attr_accessor percentage_complete: ::Float
252
252
  attr_accessor started_at: ::Time
@@ -259,7 +259,7 @@ module Aws::AppConfig
259
259
  end
260
260
 
261
261
  class DeploymentEvent
262
- attr_accessor event_type: ("PERCENTAGE_UPDATED" | "ROLLBACK_STARTED" | "ROLLBACK_COMPLETED" | "BAKE_TIME_STARTED" | "DEPLOYMENT_STARTED" | "DEPLOYMENT_COMPLETED")
262
+ attr_accessor event_type: ("PERCENTAGE_UPDATED" | "ROLLBACK_STARTED" | "ROLLBACK_COMPLETED" | "BAKE_TIME_STARTED" | "DEPLOYMENT_STARTED" | "DEPLOYMENT_COMPLETED" | "REVERT_COMPLETED")
263
263
  attr_accessor triggered_by: ("USER" | "APPCONFIG" | "CLOUDWATCH_ALARM" | "INTERNAL_ERROR")
264
264
  attr_accessor description: ::String
265
265
  attr_accessor action_invocations: ::Array[Types::ActionInvocation]
@@ -293,7 +293,7 @@ module Aws::AppConfig
293
293
  attr_accessor growth_type: ("LINEAR" | "EXPONENTIAL")
294
294
  attr_accessor growth_factor: ::Float
295
295
  attr_accessor final_bake_time_in_minutes: ::Integer
296
- attr_accessor state: ("BAKING" | "VALIDATING" | "DEPLOYING" | "COMPLETE" | "ROLLING_BACK" | "ROLLED_BACK")
296
+ attr_accessor state: ("BAKING" | "VALIDATING" | "DEPLOYING" | "COMPLETE" | "ROLLING_BACK" | "ROLLED_BACK" | "REVERTED")
297
297
  attr_accessor percentage_complete: ::Float
298
298
  attr_accessor started_at: ::Time
299
299
  attr_accessor completed_at: ::Time
@@ -312,7 +312,7 @@ module Aws::AppConfig
312
312
  attr_accessor id: ::String
313
313
  attr_accessor name: ::String
314
314
  attr_accessor description: ::String
315
- attr_accessor state: ("READY_FOR_DEPLOYMENT" | "DEPLOYING" | "ROLLING_BACK" | "ROLLED_BACK")
315
+ attr_accessor state: ("READY_FOR_DEPLOYMENT" | "DEPLOYING" | "ROLLING_BACK" | "ROLLED_BACK" | "REVERTED")
316
316
  attr_accessor monitors: ::Array[Types::Monitor]
317
317
  SENSITIVE: []
318
318
  end
@@ -590,6 +590,7 @@ module Aws::AppConfig
590
590
  attr_accessor application_id: ::String
591
591
  attr_accessor environment_id: ::String
592
592
  attr_accessor deployment_number: ::Integer
593
+ attr_accessor allow_revert: bool
593
594
  SENSITIVE: []
594
595
  end
595
596
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-appconfig
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.58.0
4
+ version: 1.60.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-24 00:00:00.000000000 Z
11
+ date: 2024-10-24 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.207.0
22
+ version: 3.210.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.207.0
32
+ version: 3.210.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement