aws-sdk-appconfig 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/aws-sdk-appconfig.rb +1 -1
- data/lib/aws-sdk-appconfig/client.rb +31 -4
- data/lib/aws-sdk-appconfig/client_api.rb +13 -0
- data/lib/aws-sdk-appconfig/resource.rb +1 -7
- data/lib/aws-sdk-appconfig/types.rb +43 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: b704f798640b31431cb5c54b422b79d7b27aafa7
|
4
|
+
data.tar.gz: 2178018dce0d686e3b7a48774d4b80b2484034f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0856317a8417bf0388d14493b70a3a5e06038dff9789971cab3329afcd4a27bf5e3ed3f33aa48cdb9d16d97af6beab30e557af6b6384873875cc3a0150a6854
|
7
|
+
data.tar.gz: 001e9be45ce1b8c6e74d588e1f6e89c8db519db7a8509ad5a2c77328a2e86a66867bf249b305735994a14e45022270189b3068d82eca32e89ca51f60ae77b6f0
|
data/lib/aws-sdk-appconfig.rb
CHANGED
@@ -269,8 +269,7 @@ module Aws::AppConfig
|
|
269
269
|
#
|
270
270
|
# @option options [Integer] :http_read_timeout (60) The default
|
271
271
|
# number of seconds to wait for response data. This value can
|
272
|
-
# safely be set
|
273
|
-
# per-request on the session yielded by {#session_for}.
|
272
|
+
# safely be set per-request on the session.
|
274
273
|
#
|
275
274
|
# @option options [Float] :http_idle_timeout (5) The number of
|
276
275
|
# seconds a connection is allowed to sit idle before it is
|
@@ -282,7 +281,7 @@ module Aws::AppConfig
|
|
282
281
|
# request body. This option has no effect unless the request has
|
283
282
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
284
283
|
# disables this behaviour. This value can safely be set per
|
285
|
-
# request on the session
|
284
|
+
# request on the session.
|
286
285
|
#
|
287
286
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
288
287
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -901,6 +900,7 @@ module Aws::AppConfig
|
|
901
900
|
# * {Types::Deployment#growth_factor #growth_factor} => Float
|
902
901
|
# * {Types::Deployment#final_bake_time_in_minutes #final_bake_time_in_minutes} => Integer
|
903
902
|
# * {Types::Deployment#state #state} => String
|
903
|
+
# * {Types::Deployment#event_log #event_log} => Array<Types::DeploymentEvent>
|
904
904
|
# * {Types::Deployment#percentage_complete #percentage_complete} => Float
|
905
905
|
# * {Types::Deployment#started_at #started_at} => Time
|
906
906
|
# * {Types::Deployment#completed_at #completed_at} => Time
|
@@ -929,6 +929,11 @@ module Aws::AppConfig
|
|
929
929
|
# resp.growth_factor #=> Float
|
930
930
|
# resp.final_bake_time_in_minutes #=> Integer
|
931
931
|
# resp.state #=> String, one of "BAKING", "VALIDATING", "DEPLOYING", "COMPLETE", "ROLLING_BACK", "ROLLED_BACK"
|
932
|
+
# resp.event_log #=> Array
|
933
|
+
# resp.event_log[0].event_type #=> String, one of "PERCENTAGE_UPDATED", "ROLLBACK_STARTED", "ROLLBACK_COMPLETED", "BAKE_TIME_STARTED", "DEPLOYMENT_STARTED", "DEPLOYMENT_COMPLETED"
|
934
|
+
# resp.event_log[0].triggered_by #=> String, one of "USER", "APPCONFIG", "CLOUDWATCH_ALARM", "INTERNAL_ERROR"
|
935
|
+
# resp.event_log[0].description #=> String
|
936
|
+
# resp.event_log[0].occurred_at #=> Time
|
932
937
|
# resp.percentage_complete #=> Float
|
933
938
|
# resp.started_at #=> Time
|
934
939
|
# resp.completed_at #=> Time
|
@@ -1055,6 +1060,8 @@ module Aws::AppConfig
|
|
1055
1060
|
# * {Types::Applications#items #items} => Array<Types::Application>
|
1056
1061
|
# * {Types::Applications#next_token #next_token} => String
|
1057
1062
|
#
|
1063
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1064
|
+
#
|
1058
1065
|
# @example Request syntax with placeholder values
|
1059
1066
|
#
|
1060
1067
|
# resp = client.list_applications({
|
@@ -1098,6 +1105,8 @@ module Aws::AppConfig
|
|
1098
1105
|
# * {Types::ConfigurationProfiles#items #items} => Array<Types::ConfigurationProfileSummary>
|
1099
1106
|
# * {Types::ConfigurationProfiles#next_token #next_token} => String
|
1100
1107
|
#
|
1108
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1109
|
+
#
|
1101
1110
|
# @example Request syntax with placeholder values
|
1102
1111
|
#
|
1103
1112
|
# resp = client.list_configuration_profiles({
|
@@ -1142,6 +1151,8 @@ module Aws::AppConfig
|
|
1142
1151
|
# * {Types::DeploymentStrategies#items #items} => Array<Types::DeploymentStrategy>
|
1143
1152
|
# * {Types::DeploymentStrategies#next_token #next_token} => String
|
1144
1153
|
#
|
1154
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1155
|
+
#
|
1145
1156
|
# @example Request syntax with placeholder values
|
1146
1157
|
#
|
1147
1158
|
# resp = client.list_deployment_strategies({
|
@@ -1193,6 +1204,8 @@ module Aws::AppConfig
|
|
1193
1204
|
# * {Types::Deployments#items #items} => Array<Types::DeploymentSummary>
|
1194
1205
|
# * {Types::Deployments#next_token #next_token} => String
|
1195
1206
|
#
|
1207
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1208
|
+
#
|
1196
1209
|
# @example Request syntax with placeholder values
|
1197
1210
|
#
|
1198
1211
|
# resp = client.list_deployments({
|
@@ -1246,6 +1259,8 @@ module Aws::AppConfig
|
|
1246
1259
|
# * {Types::Environments#items #items} => Array<Types::Environment>
|
1247
1260
|
# * {Types::Environments#next_token #next_token} => String
|
1248
1261
|
#
|
1262
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1263
|
+
#
|
1249
1264
|
# @example Request syntax with placeholder values
|
1250
1265
|
#
|
1251
1266
|
# resp = client.list_environments({
|
@@ -1346,6 +1361,7 @@ module Aws::AppConfig
|
|
1346
1361
|
# * {Types::Deployment#growth_factor #growth_factor} => Float
|
1347
1362
|
# * {Types::Deployment#final_bake_time_in_minutes #final_bake_time_in_minutes} => Integer
|
1348
1363
|
# * {Types::Deployment#state #state} => String
|
1364
|
+
# * {Types::Deployment#event_log #event_log} => Array<Types::DeploymentEvent>
|
1349
1365
|
# * {Types::Deployment#percentage_complete #percentage_complete} => Float
|
1350
1366
|
# * {Types::Deployment#started_at #started_at} => Time
|
1351
1367
|
# * {Types::Deployment#completed_at #completed_at} => Time
|
@@ -1380,6 +1396,11 @@ module Aws::AppConfig
|
|
1380
1396
|
# resp.growth_factor #=> Float
|
1381
1397
|
# resp.final_bake_time_in_minutes #=> Integer
|
1382
1398
|
# resp.state #=> String, one of "BAKING", "VALIDATING", "DEPLOYING", "COMPLETE", "ROLLING_BACK", "ROLLED_BACK"
|
1399
|
+
# resp.event_log #=> Array
|
1400
|
+
# resp.event_log[0].event_type #=> String, one of "PERCENTAGE_UPDATED", "ROLLBACK_STARTED", "ROLLBACK_COMPLETED", "BAKE_TIME_STARTED", "DEPLOYMENT_STARTED", "DEPLOYMENT_COMPLETED"
|
1401
|
+
# resp.event_log[0].triggered_by #=> String, one of "USER", "APPCONFIG", "CLOUDWATCH_ALARM", "INTERNAL_ERROR"
|
1402
|
+
# resp.event_log[0].description #=> String
|
1403
|
+
# resp.event_log[0].occurred_at #=> Time
|
1383
1404
|
# resp.percentage_complete #=> Float
|
1384
1405
|
# resp.started_at #=> Time
|
1385
1406
|
# resp.completed_at #=> Time
|
@@ -1422,6 +1443,7 @@ module Aws::AppConfig
|
|
1422
1443
|
# * {Types::Deployment#growth_factor #growth_factor} => Float
|
1423
1444
|
# * {Types::Deployment#final_bake_time_in_minutes #final_bake_time_in_minutes} => Integer
|
1424
1445
|
# * {Types::Deployment#state #state} => String
|
1446
|
+
# * {Types::Deployment#event_log #event_log} => Array<Types::DeploymentEvent>
|
1425
1447
|
# * {Types::Deployment#percentage_complete #percentage_complete} => Float
|
1426
1448
|
# * {Types::Deployment#started_at #started_at} => Time
|
1427
1449
|
# * {Types::Deployment#completed_at #completed_at} => Time
|
@@ -1450,6 +1472,11 @@ module Aws::AppConfig
|
|
1450
1472
|
# resp.growth_factor #=> Float
|
1451
1473
|
# resp.final_bake_time_in_minutes #=> Integer
|
1452
1474
|
# resp.state #=> String, one of "BAKING", "VALIDATING", "DEPLOYING", "COMPLETE", "ROLLING_BACK", "ROLLED_BACK"
|
1475
|
+
# resp.event_log #=> Array
|
1476
|
+
# resp.event_log[0].event_type #=> String, one of "PERCENTAGE_UPDATED", "ROLLBACK_STARTED", "ROLLBACK_COMPLETED", "BAKE_TIME_STARTED", "DEPLOYMENT_STARTED", "DEPLOYMENT_COMPLETED"
|
1477
|
+
# resp.event_log[0].triggered_by #=> String, one of "USER", "APPCONFIG", "CLOUDWATCH_ALARM", "INTERNAL_ERROR"
|
1478
|
+
# resp.event_log[0].description #=> String
|
1479
|
+
# resp.event_log[0].occurred_at #=> Time
|
1453
1480
|
# resp.percentage_complete #=> Float
|
1454
1481
|
# resp.started_at #=> Time
|
1455
1482
|
# resp.completed_at #=> Time
|
@@ -1826,7 +1853,7 @@ module Aws::AppConfig
|
|
1826
1853
|
params: params,
|
1827
1854
|
config: config)
|
1828
1855
|
context[:gem_name] = 'aws-sdk-appconfig'
|
1829
|
-
context[:gem_version] = '1.
|
1856
|
+
context[:gem_version] = '1.4.0'
|
1830
1857
|
Seahorse::Client::Request.new(handlers, context)
|
1831
1858
|
end
|
1832
1859
|
|
@@ -32,6 +32,9 @@ module Aws::AppConfig
|
|
32
32
|
DeleteDeploymentStrategyRequest = Shapes::StructureShape.new(name: 'DeleteDeploymentStrategyRequest')
|
33
33
|
DeleteEnvironmentRequest = Shapes::StructureShape.new(name: 'DeleteEnvironmentRequest')
|
34
34
|
Deployment = Shapes::StructureShape.new(name: 'Deployment')
|
35
|
+
DeploymentEvent = Shapes::StructureShape.new(name: 'DeploymentEvent')
|
36
|
+
DeploymentEventType = Shapes::StringShape.new(name: 'DeploymentEventType')
|
37
|
+
DeploymentEvents = Shapes::ListShape.new(name: 'DeploymentEvents')
|
35
38
|
DeploymentList = Shapes::ListShape.new(name: 'DeploymentList')
|
36
39
|
DeploymentState = Shapes::StringShape.new(name: 'DeploymentState')
|
37
40
|
DeploymentStrategies = Shapes::StructureShape.new(name: 'DeploymentStrategies')
|
@@ -83,6 +86,7 @@ module Aws::AppConfig
|
|
83
86
|
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
84
87
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
85
88
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
89
|
+
TriggeredBy = Shapes::StringShape.new(name: 'TriggeredBy')
|
86
90
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
87
91
|
UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
|
88
92
|
UpdateConfigurationProfileRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationProfileRequest')
|
@@ -201,11 +205,20 @@ module Aws::AppConfig
|
|
201
205
|
Deployment.add_member(:growth_factor, Shapes::ShapeRef.new(shape: Percentage, location_name: "GrowthFactor"))
|
202
206
|
Deployment.add_member(:final_bake_time_in_minutes, Shapes::ShapeRef.new(shape: MinutesBetween0And24Hours, location_name: "FinalBakeTimeInMinutes"))
|
203
207
|
Deployment.add_member(:state, Shapes::ShapeRef.new(shape: DeploymentState, location_name: "State"))
|
208
|
+
Deployment.add_member(:event_log, Shapes::ShapeRef.new(shape: DeploymentEvents, location_name: "EventLog"))
|
204
209
|
Deployment.add_member(:percentage_complete, Shapes::ShapeRef.new(shape: Percentage, location_name: "PercentageComplete"))
|
205
210
|
Deployment.add_member(:started_at, Shapes::ShapeRef.new(shape: Iso8601DateTime, location_name: "StartedAt"))
|
206
211
|
Deployment.add_member(:completed_at, Shapes::ShapeRef.new(shape: Iso8601DateTime, location_name: "CompletedAt"))
|
207
212
|
Deployment.struct_class = Types::Deployment
|
208
213
|
|
214
|
+
DeploymentEvent.add_member(:event_type, Shapes::ShapeRef.new(shape: DeploymentEventType, location_name: "EventType"))
|
215
|
+
DeploymentEvent.add_member(:triggered_by, Shapes::ShapeRef.new(shape: TriggeredBy, location_name: "TriggeredBy"))
|
216
|
+
DeploymentEvent.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
217
|
+
DeploymentEvent.add_member(:occurred_at, Shapes::ShapeRef.new(shape: Iso8601DateTime, location_name: "OccurredAt"))
|
218
|
+
DeploymentEvent.struct_class = Types::DeploymentEvent
|
219
|
+
|
220
|
+
DeploymentEvents.member = Shapes::ShapeRef.new(shape: DeploymentEvent)
|
221
|
+
|
209
222
|
DeploymentList.member = Shapes::ShapeRef.new(shape: DeploymentSummary)
|
210
223
|
|
211
224
|
DeploymentStrategies.add_member(:items, Shapes::ShapeRef.new(shape: DeploymentStrategyList, location_name: "Items"))
|
@@ -6,13 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::AppConfig
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::AppConfig::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::AppConfig::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::AppConfig::Resource.new(client: client)
|
9
|
+
|
16
10
|
class Resource
|
17
11
|
|
18
12
|
# @param options ({})
|
@@ -584,6 +584,11 @@ module Aws::AppConfig
|
|
584
584
|
# The state of the deployment.
|
585
585
|
# @return [String]
|
586
586
|
#
|
587
|
+
# @!attribute [rw] event_log
|
588
|
+
# A list containing all events related to a deployment. The most
|
589
|
+
# recent events are displayed first.
|
590
|
+
# @return [Array<Types::DeploymentEvent>]
|
591
|
+
#
|
587
592
|
# @!attribute [rw] percentage_complete
|
588
593
|
# The percentage of targets for which the deployment is available.
|
589
594
|
# @return [Float]
|
@@ -613,12 +618,50 @@ module Aws::AppConfig
|
|
613
618
|
:growth_factor,
|
614
619
|
:final_bake_time_in_minutes,
|
615
620
|
:state,
|
621
|
+
:event_log,
|
616
622
|
:percentage_complete,
|
617
623
|
:started_at,
|
618
624
|
:completed_at)
|
619
625
|
include Aws::Structure
|
620
626
|
end
|
621
627
|
|
628
|
+
# An object that describes a deployment event.
|
629
|
+
#
|
630
|
+
# @!attribute [rw] event_type
|
631
|
+
# The type of deployment event. Deployment event types include the
|
632
|
+
# start, stop, or completion of a deployment; a percentage update; the
|
633
|
+
# start or stop of a bake period; the start or completion of a
|
634
|
+
# rollback.
|
635
|
+
# @return [String]
|
636
|
+
#
|
637
|
+
# @!attribute [rw] triggered_by
|
638
|
+
# The entity that triggered the deployment event. Events can be
|
639
|
+
# triggered by a user, AWS AppConfig, an Amazon CloudWatch alarm, or
|
640
|
+
# an internal error.
|
641
|
+
# @return [String]
|
642
|
+
#
|
643
|
+
# @!attribute [rw] description
|
644
|
+
# A description of the deployment event. Descriptions include, but are
|
645
|
+
# not limited to, the user account or the CloudWatch alarm ARN that
|
646
|
+
# initiated a rollback, the percentage of hosts that received the
|
647
|
+
# deployment, or in the case of an internal error, a recommendation to
|
648
|
+
# attempt a new deployment.
|
649
|
+
# @return [String]
|
650
|
+
#
|
651
|
+
# @!attribute [rw] occurred_at
|
652
|
+
# The date and time the event occurred.
|
653
|
+
# @return [Time]
|
654
|
+
#
|
655
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeploymentEvent AWS API Documentation
|
656
|
+
#
|
657
|
+
class DeploymentEvent < Struct.new(
|
658
|
+
:event_type,
|
659
|
+
:triggered_by,
|
660
|
+
:description,
|
661
|
+
:occurred_at)
|
662
|
+
include Aws::Structure
|
663
|
+
end
|
664
|
+
|
622
665
|
# @!attribute [rw] items
|
623
666
|
# The elements from this collection.
|
624
667
|
# @return [Array<Types::DeploymentStrategy>]
|
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.4.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: 2020-03-
|
11
|
+
date: 2020-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -80,7 +80,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
|
-
|
83
|
+
rubyforge_project:
|
84
|
+
rubygems_version: 2.5.2.3
|
84
85
|
signing_key:
|
85
86
|
specification_version: 4
|
86
87
|
summary: AWS SDK for Ruby - AppConfig
|