aws-sdk-appconfig 1.59.0 → 1.61.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appconfig/client.rb +31 -20
- data/lib/aws-sdk-appconfig/client_api.rb +1 -0
- data/lib/aws-sdk-appconfig/types.rb +25 -14
- data/lib/aws-sdk-appconfig.rb +1 -1
- data/sig/client.rbs +13 -12
- data/sig/types.rbs +8 -7
- 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: 987c8d1cd6bc59c2555a0924b81f6ca018ff1188e113349bdd8549faf53fe1ed
|
4
|
+
data.tar.gz: ed4ffca388112a799845a3ee9ba265d08b9d924bb1003ef5e69aacf1c63be80c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be123f6b9ef6d3752c80a465af1fa6ed573ec6aecb42ba16f7de31cf238098a04c4fe46402d74f4a0d30c602deccea514a81c24f8ac0b461ad37c6ccb8d75cf3
|
7
|
+
data.tar.gz: f621749147be3a41c31c85c5c9bafad2384a315dc29ab5af6d0c315e0a10b7aa38a1574ca07409d6c05d93dd8f511f617d88742d11cb767f092fe9153f0f43ba
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.61.0 (2024-11-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS AppConfig has added a new extension action point, AT_DEPLOYMENT_TICK, to support third-party monitors to trigger an automatic rollback during a deployment.
|
8
|
+
|
9
|
+
1.60.0 (2024-10-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
4
14
|
1.59.0 (2024-10-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.61.0
|
@@ -576,7 +576,7 @@ module Aws::AppConfig
|
|
576
576
|
#
|
577
577
|
# * For an Amazon S3 object, specify the URI in the following format:
|
578
578
|
# `s3://<bucket>/<objectKey> `. Here is an example:
|
579
|
-
# `s3://
|
579
|
+
# `s3://amzn-s3-demo-bucket/my-app/us-east-1/my-config.json`
|
580
580
|
#
|
581
581
|
# * For an SSM document, specify either the document name in the format
|
582
582
|
# `ssm-document://<document name>` or the Amazon Resource Name (ARN).
|
@@ -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
|
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/
|
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
|
@@ -2778,9 +2779,10 @@ module Aws::AppConfig
|
|
2778
2779
|
# The configuration profile ID.
|
2779
2780
|
#
|
2780
2781
|
# @option params [Integer] :max_results
|
2781
|
-
# The maximum number of items to return for this call.
|
2782
|
-
#
|
2783
|
-
#
|
2782
|
+
# The maximum number of items to return for this call. If `MaxResults`
|
2783
|
+
# is not provided in the call, AppConfig returns the maximum of 50. The
|
2784
|
+
# call also returns a token that you can specify in a subsequent call to
|
2785
|
+
# get the next set of results.
|
2784
2786
|
#
|
2785
2787
|
# @option params [String] :next_token
|
2786
2788
|
# A token to start the list. Use this token to get the next set of
|
@@ -3038,9 +3040,9 @@ module Aws::AppConfig
|
|
3038
3040
|
# resp.growth_type #=> String, one of "LINEAR", "EXPONENTIAL"
|
3039
3041
|
# resp.growth_factor #=> Float
|
3040
3042
|
# resp.final_bake_time_in_minutes #=> Integer
|
3041
|
-
# resp.state #=> String, one of "BAKING", "VALIDATING", "DEPLOYING", "COMPLETE", "ROLLING_BACK", "ROLLED_BACK"
|
3043
|
+
# resp.state #=> String, one of "BAKING", "VALIDATING", "DEPLOYING", "COMPLETE", "ROLLING_BACK", "ROLLED_BACK", "REVERTED"
|
3042
3044
|
# 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"
|
3045
|
+
# 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
3046
|
# resp.event_log[0].triggered_by #=> String, one of "USER", "APPCONFIG", "CLOUDWATCH_ALARM", "INTERNAL_ERROR"
|
3045
3047
|
# resp.event_log[0].description #=> String
|
3046
3048
|
# resp.event_log[0].action_invocations #=> Array
|
@@ -3075,8 +3077,11 @@ module Aws::AppConfig
|
|
3075
3077
|
end
|
3076
3078
|
|
3077
3079
|
# Stops a deployment. This API action works only on deployments that
|
3078
|
-
# have a status of `DEPLOYING
|
3079
|
-
# status of
|
3080
|
+
# have a status of `DEPLOYING`, unless an `AllowRevert` parameter is
|
3081
|
+
# supplied. If the `AllowRevert` parameter is supplied, the status of an
|
3082
|
+
# in-progress deployment will be `ROLLED_BACK`. The status of a
|
3083
|
+
# completed deployment will be `REVERTED`. AppConfig only allows a
|
3084
|
+
# revert within 72 hours of deployment completion.
|
3080
3085
|
#
|
3081
3086
|
# @option params [required, String] :application_id
|
3082
3087
|
# The application ID.
|
@@ -3087,6 +3092,11 @@ module Aws::AppConfig
|
|
3087
3092
|
# @option params [required, Integer] :deployment_number
|
3088
3093
|
# The sequence number of the deployment.
|
3089
3094
|
#
|
3095
|
+
# @option params [Boolean] :allow_revert
|
3096
|
+
# A Boolean that enables AppConfig to rollback a `COMPLETED` deployment
|
3097
|
+
# to the previous configuration version. This action moves the
|
3098
|
+
# deployment to a status of `REVERTED`.
|
3099
|
+
#
|
3090
3100
|
# @return [Types::Deployment] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3091
3101
|
#
|
3092
3102
|
# * {Types::Deployment#application_id #application_id} => String
|
@@ -3138,6 +3148,7 @@ module Aws::AppConfig
|
|
3138
3148
|
# application_id: "Id", # required
|
3139
3149
|
# environment_id: "Id", # required
|
3140
3150
|
# deployment_number: 1, # required
|
3151
|
+
# allow_revert: false,
|
3141
3152
|
# })
|
3142
3153
|
#
|
3143
3154
|
# @example Response structure
|
@@ -3155,9 +3166,9 @@ module Aws::AppConfig
|
|
3155
3166
|
# resp.growth_type #=> String, one of "LINEAR", "EXPONENTIAL"
|
3156
3167
|
# resp.growth_factor #=> Float
|
3157
3168
|
# resp.final_bake_time_in_minutes #=> Integer
|
3158
|
-
# resp.state #=> String, one of "BAKING", "VALIDATING", "DEPLOYING", "COMPLETE", "ROLLING_BACK", "ROLLED_BACK"
|
3169
|
+
# resp.state #=> String, one of "BAKING", "VALIDATING", "DEPLOYING", "COMPLETE", "ROLLING_BACK", "ROLLED_BACK", "REVERTED"
|
3159
3170
|
# 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"
|
3171
|
+
# 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
3172
|
# resp.event_log[0].triggered_by #=> String, one of "USER", "APPCONFIG", "CLOUDWATCH_ALARM", "INTERNAL_ERROR"
|
3162
3173
|
# resp.event_log[0].description #=> String
|
3163
3174
|
# resp.event_log[0].action_invocations #=> Array
|
@@ -3658,7 +3669,7 @@ module Aws::AppConfig
|
|
3658
3669
|
# resp.id #=> String
|
3659
3670
|
# resp.name #=> String
|
3660
3671
|
# resp.description #=> String
|
3661
|
-
# resp.state #=> String, one of "READY_FOR_DEPLOYMENT", "DEPLOYING", "ROLLING_BACK", "ROLLED_BACK"
|
3672
|
+
# resp.state #=> String, one of "READY_FOR_DEPLOYMENT", "DEPLOYING", "ROLLING_BACK", "ROLLED_BACK", "REVERTED"
|
3662
3673
|
# resp.monitors #=> Array
|
3663
3674
|
# resp.monitors[0].alarm_arn #=> String
|
3664
3675
|
# resp.monitors[0].alarm_role_arn #=> String
|
@@ -3867,7 +3878,7 @@ module Aws::AppConfig
|
|
3867
3878
|
tracer: tracer
|
3868
3879
|
)
|
3869
3880
|
context[:gem_name] = 'aws-sdk-appconfig'
|
3870
|
-
context[:gem_version] = '1.
|
3881
|
+
context[:gem_version] = '1.61.0'
|
3871
3882
|
Seahorse::Client::Request.new(handlers, context)
|
3872
3883
|
end
|
3873
3884
|
|
@@ -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)
|
@@ -33,18 +33,15 @@ module Aws::AppConfig
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# An action defines the tasks that the extension performs during the
|
36
|
-
# AppConfig workflow. Each action includes an action point
|
37
|
-
#
|
38
|
-
# `ON_DEPLOYMENT`. Each action also includes a name, a URI to an Lambda
|
39
|
-
# function, and an Amazon Resource Name (ARN) for an Identity and Access
|
40
|
-
# Management assume role. You specify the name, URI, and ARN for each
|
41
|
-
# *action point* defined in the extension. You can specify the following
|
42
|
-
# actions for an extension:
|
36
|
+
# AppConfig workflow. Each action includes an action point, as shown in
|
37
|
+
# the following list:
|
43
38
|
#
|
44
39
|
# * `PRE_CREATE_HOSTED_CONFIGURATION_VERSION`
|
45
40
|
#
|
46
41
|
# * `PRE_START_DEPLOYMENT`
|
47
42
|
#
|
43
|
+
# * `AT_DEPLOYMENT_TICK`
|
44
|
+
#
|
48
45
|
# * `ON_DEPLOYMENT_START`
|
49
46
|
#
|
50
47
|
# * `ON_DEPLOYMENT_STEP`
|
@@ -55,6 +52,11 @@ module Aws::AppConfig
|
|
55
52
|
#
|
56
53
|
# * `ON_DEPLOYMENT_ROLLED_BACK`
|
57
54
|
#
|
55
|
+
# Each action also includes a name, a URI to an Lambda function, and an
|
56
|
+
# Amazon Resource Name (ARN) for an Identity and Access Management
|
57
|
+
# assume role. You specify the name, URI, and ARN for each *action
|
58
|
+
# point* defined in the extension.
|
59
|
+
#
|
58
60
|
# @!attribute [rw] name
|
59
61
|
# The action name.
|
60
62
|
# @return [String]
|
@@ -491,7 +493,7 @@ module Aws::AppConfig
|
|
491
493
|
#
|
492
494
|
# * For an Amazon S3 object, specify the URI in the following format:
|
493
495
|
# `s3://<bucket>/<objectKey> `. Here is an example:
|
494
|
-
# `s3://
|
496
|
+
# `s3://amzn-s3-demo-bucket/my-app/us-east-1/my-config.json`
|
495
497
|
#
|
496
498
|
# * For an SSM document, specify either the document name in the
|
497
499
|
# format `ssm-document://<document name>` or the Amazon Resource
|
@@ -1687,13 +1689,14 @@ module Aws::AppConfig
|
|
1687
1689
|
# saved for subsequent calls to GetConfiguration.
|
1688
1690
|
#
|
1689
1691
|
# For more information about working with configurations, see
|
1690
|
-
# [Retrieving
|
1692
|
+
# [Retrieving feature flags and configuration data in AppConfig][3] in
|
1693
|
+
# the *AppConfig User Guide*.
|
1691
1694
|
#
|
1692
1695
|
#
|
1693
1696
|
#
|
1694
1697
|
# [1]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/StartConfigurationSession.html
|
1695
1698
|
# [2]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/GetLatestConfiguration.html
|
1696
|
-
# [3]: http://docs.aws.amazon.com/appconfig/latest/userguide/
|
1699
|
+
# [3]: http://docs.aws.amazon.com/appconfig/latest/userguide/retrieving-feature-flags.html
|
1697
1700
|
# @return [String]
|
1698
1701
|
#
|
1699
1702
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationRequest AWS API Documentation
|
@@ -2192,9 +2195,10 @@ module Aws::AppConfig
|
|
2192
2195
|
# @return [String]
|
2193
2196
|
#
|
2194
2197
|
# @!attribute [rw] max_results
|
2195
|
-
# The maximum number of items to return for this call.
|
2196
|
-
#
|
2197
|
-
#
|
2198
|
+
# The maximum number of items to return for this call. If `MaxResults`
|
2199
|
+
# is not provided in the call, AppConfig returns the maximum of 50.
|
2200
|
+
# The call also returns a token that you can specify in a subsequent
|
2201
|
+
# call to get the next set of results.
|
2198
2202
|
# @return [Integer]
|
2199
2203
|
#
|
2200
2204
|
# @!attribute [rw] next_token
|
@@ -2448,12 +2452,19 @@ module Aws::AppConfig
|
|
2448
2452
|
# The sequence number of the deployment.
|
2449
2453
|
# @return [Integer]
|
2450
2454
|
#
|
2455
|
+
# @!attribute [rw] allow_revert
|
2456
|
+
# A Boolean that enables AppConfig to rollback a `COMPLETED`
|
2457
|
+
# deployment to the previous configuration version. This action moves
|
2458
|
+
# the deployment to a status of `REVERTED`.
|
2459
|
+
# @return [Boolean]
|
2460
|
+
#
|
2451
2461
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StopDeploymentRequest AWS API Documentation
|
2452
2462
|
#
|
2453
2463
|
class StopDeploymentRequest < Struct.new(
|
2454
2464
|
:application_id,
|
2455
2465
|
:environment_id,
|
2456
|
-
:deployment_number
|
2466
|
+
:deployment_number,
|
2467
|
+
:allow_revert)
|
2457
2468
|
SENSITIVE = []
|
2458
2469
|
include Aws::Structure
|
2459
2470
|
end
|
data/lib/aws-sdk-appconfig.rb
CHANGED
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
|
@@ -176,14 +176,14 @@ module Aws
|
|
176
176
|
def version_number: () -> ::Integer
|
177
177
|
def arn: () -> ::String
|
178
178
|
def description: () -> ::String
|
179
|
-
def actions: () -> ::Hash[("PRE_CREATE_HOSTED_CONFIGURATION_VERSION" | "PRE_START_DEPLOYMENT" | "ON_DEPLOYMENT_START" | "ON_DEPLOYMENT_STEP" | "ON_DEPLOYMENT_BAKING" | "ON_DEPLOYMENT_COMPLETE" | "ON_DEPLOYMENT_ROLLED_BACK"), ::Array[Types::Action]]
|
179
|
+
def actions: () -> ::Hash[("PRE_CREATE_HOSTED_CONFIGURATION_VERSION" | "PRE_START_DEPLOYMENT" | "AT_DEPLOYMENT_TICK" | "ON_DEPLOYMENT_START" | "ON_DEPLOYMENT_STEP" | "ON_DEPLOYMENT_BAKING" | "ON_DEPLOYMENT_COMPLETE" | "ON_DEPLOYMENT_ROLLED_BACK"), ::Array[Types::Action]]
|
180
180
|
def parameters: () -> ::Hash[::String, Types::Parameter]
|
181
181
|
end
|
182
182
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#create_extension-instance_method
|
183
183
|
def create_extension: (
|
184
184
|
name: ::String,
|
185
185
|
?description: ::String,
|
186
|
-
actions: Hash[("PRE_CREATE_HOSTED_CONFIGURATION_VERSION" | "PRE_START_DEPLOYMENT" | "ON_DEPLOYMENT_START" | "ON_DEPLOYMENT_STEP" | "ON_DEPLOYMENT_BAKING" | "ON_DEPLOYMENT_COMPLETE" | "ON_DEPLOYMENT_ROLLED_BACK"), Array[
|
186
|
+
actions: Hash[("PRE_CREATE_HOSTED_CONFIGURATION_VERSION" | "PRE_START_DEPLOYMENT" | "AT_DEPLOYMENT_TICK" | "ON_DEPLOYMENT_START" | "ON_DEPLOYMENT_STEP" | "ON_DEPLOYMENT_BAKING" | "ON_DEPLOYMENT_COMPLETE" | "ON_DEPLOYMENT_ROLLED_BACK"), Array[
|
187
187
|
{
|
188
188
|
name: ::String?,
|
189
189
|
description: ::String?,
|
@@ -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
|
@@ -421,7 +421,7 @@ module Aws
|
|
421
421
|
def version_number: () -> ::Integer
|
422
422
|
def arn: () -> ::String
|
423
423
|
def description: () -> ::String
|
424
|
-
def actions: () -> ::Hash[("PRE_CREATE_HOSTED_CONFIGURATION_VERSION" | "PRE_START_DEPLOYMENT" | "ON_DEPLOYMENT_START" | "ON_DEPLOYMENT_STEP" | "ON_DEPLOYMENT_BAKING" | "ON_DEPLOYMENT_COMPLETE" | "ON_DEPLOYMENT_ROLLED_BACK"), ::Array[Types::Action]]
|
424
|
+
def actions: () -> ::Hash[("PRE_CREATE_HOSTED_CONFIGURATION_VERSION" | "PRE_START_DEPLOYMENT" | "AT_DEPLOYMENT_TICK" | "ON_DEPLOYMENT_START" | "ON_DEPLOYMENT_STEP" | "ON_DEPLOYMENT_BAKING" | "ON_DEPLOYMENT_COMPLETE" | "ON_DEPLOYMENT_ROLLED_BACK"), ::Array[Types::Action]]
|
425
425
|
def parameters: () -> ::Hash[::String, Types::Parameter]
|
426
426
|
end
|
427
427
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#get_extension-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
|
@@ -779,14 +780,14 @@ module Aws
|
|
779
780
|
def version_number: () -> ::Integer
|
780
781
|
def arn: () -> ::String
|
781
782
|
def description: () -> ::String
|
782
|
-
def actions: () -> ::Hash[("PRE_CREATE_HOSTED_CONFIGURATION_VERSION" | "PRE_START_DEPLOYMENT" | "ON_DEPLOYMENT_START" | "ON_DEPLOYMENT_STEP" | "ON_DEPLOYMENT_BAKING" | "ON_DEPLOYMENT_COMPLETE" | "ON_DEPLOYMENT_ROLLED_BACK"), ::Array[Types::Action]]
|
783
|
+
def actions: () -> ::Hash[("PRE_CREATE_HOSTED_CONFIGURATION_VERSION" | "PRE_START_DEPLOYMENT" | "AT_DEPLOYMENT_TICK" | "ON_DEPLOYMENT_START" | "ON_DEPLOYMENT_STEP" | "ON_DEPLOYMENT_BAKING" | "ON_DEPLOYMENT_COMPLETE" | "ON_DEPLOYMENT_ROLLED_BACK"), ::Array[Types::Action]]
|
783
784
|
def parameters: () -> ::Hash[::String, Types::Parameter]
|
784
785
|
end
|
785
786
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#update_extension-instance_method
|
786
787
|
def update_extension: (
|
787
788
|
extension_identifier: ::String,
|
788
789
|
?description: ::String,
|
789
|
-
?actions: Hash[("PRE_CREATE_HOSTED_CONFIGURATION_VERSION" | "PRE_START_DEPLOYMENT" | "ON_DEPLOYMENT_START" | "ON_DEPLOYMENT_STEP" | "ON_DEPLOYMENT_BAKING" | "ON_DEPLOYMENT_COMPLETE" | "ON_DEPLOYMENT_ROLLED_BACK"), Array[
|
790
|
+
?actions: Hash[("PRE_CREATE_HOSTED_CONFIGURATION_VERSION" | "PRE_START_DEPLOYMENT" | "AT_DEPLOYMENT_TICK" | "ON_DEPLOYMENT_START" | "ON_DEPLOYMENT_STEP" | "ON_DEPLOYMENT_BAKING" | "ON_DEPLOYMENT_COMPLETE" | "ON_DEPLOYMENT_ROLLED_BACK"), Array[
|
790
791
|
{
|
791
792
|
name: ::String?,
|
792
793
|
description: ::String?,
|
data/sig/types.rbs
CHANGED
@@ -166,7 +166,7 @@ module Aws::AppConfig
|
|
166
166
|
class CreateExtensionRequest
|
167
167
|
attr_accessor name: ::String
|
168
168
|
attr_accessor description: ::String
|
169
|
-
attr_accessor actions: ::Hash[("PRE_CREATE_HOSTED_CONFIGURATION_VERSION" | "PRE_START_DEPLOYMENT" | "ON_DEPLOYMENT_START" | "ON_DEPLOYMENT_STEP" | "ON_DEPLOYMENT_BAKING" | "ON_DEPLOYMENT_COMPLETE" | "ON_DEPLOYMENT_ROLLED_BACK"), ::Array[Types::Action]]
|
169
|
+
attr_accessor actions: ::Hash[("PRE_CREATE_HOSTED_CONFIGURATION_VERSION" | "PRE_START_DEPLOYMENT" | "AT_DEPLOYMENT_TICK" | "ON_DEPLOYMENT_START" | "ON_DEPLOYMENT_STEP" | "ON_DEPLOYMENT_BAKING" | "ON_DEPLOYMENT_COMPLETE" | "ON_DEPLOYMENT_ROLLED_BACK"), ::Array[Types::Action]]
|
170
170
|
attr_accessor parameters: ::Hash[::String, Types::Parameter]
|
171
171
|
attr_accessor tags: ::Hash[::String, ::String]
|
172
172
|
attr_accessor latest_version_number: ::Integer
|
@@ -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
|
@@ -329,7 +329,7 @@ module Aws::AppConfig
|
|
329
329
|
attr_accessor version_number: ::Integer
|
330
330
|
attr_accessor arn: ::String
|
331
331
|
attr_accessor description: ::String
|
332
|
-
attr_accessor actions: ::Hash[("PRE_CREATE_HOSTED_CONFIGURATION_VERSION" | "PRE_START_DEPLOYMENT" | "ON_DEPLOYMENT_START" | "ON_DEPLOYMENT_STEP" | "ON_DEPLOYMENT_BAKING" | "ON_DEPLOYMENT_COMPLETE" | "ON_DEPLOYMENT_ROLLED_BACK"), ::Array[Types::Action]]
|
332
|
+
attr_accessor actions: ::Hash[("PRE_CREATE_HOSTED_CONFIGURATION_VERSION" | "PRE_START_DEPLOYMENT" | "AT_DEPLOYMENT_TICK" | "ON_DEPLOYMENT_START" | "ON_DEPLOYMENT_STEP" | "ON_DEPLOYMENT_BAKING" | "ON_DEPLOYMENT_COMPLETE" | "ON_DEPLOYMENT_ROLLED_BACK"), ::Array[Types::Action]]
|
333
333
|
attr_accessor parameters: ::Hash[::String, Types::Parameter]
|
334
334
|
SENSITIVE: []
|
335
335
|
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
|
|
@@ -656,7 +657,7 @@ module Aws::AppConfig
|
|
656
657
|
class UpdateExtensionRequest
|
657
658
|
attr_accessor extension_identifier: ::String
|
658
659
|
attr_accessor description: ::String
|
659
|
-
attr_accessor actions: ::Hash[("PRE_CREATE_HOSTED_CONFIGURATION_VERSION" | "PRE_START_DEPLOYMENT" | "ON_DEPLOYMENT_START" | "ON_DEPLOYMENT_STEP" | "ON_DEPLOYMENT_BAKING" | "ON_DEPLOYMENT_COMPLETE" | "ON_DEPLOYMENT_ROLLED_BACK"), ::Array[Types::Action]]
|
660
|
+
attr_accessor actions: ::Hash[("PRE_CREATE_HOSTED_CONFIGURATION_VERSION" | "PRE_START_DEPLOYMENT" | "AT_DEPLOYMENT_TICK" | "ON_DEPLOYMENT_START" | "ON_DEPLOYMENT_STEP" | "ON_DEPLOYMENT_BAKING" | "ON_DEPLOYMENT_COMPLETE" | "ON_DEPLOYMENT_ROLLED_BACK"), ::Array[Types::Action]]
|
660
661
|
attr_accessor parameters: ::Hash[::String, Types::Parameter]
|
661
662
|
attr_accessor version_number: ::Integer
|
662
663
|
SENSITIVE: []
|
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.
|
4
|
+
version: 1.61.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-
|
11
|
+
date: 2024-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|