aws-sdk-appconfig 1.0.0 → 1.1.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 +4 -4
- data/lib/aws-sdk-appconfig.rb +1 -1
- data/lib/aws-sdk-appconfig/client.rb +65 -13
- data/lib/aws-sdk-appconfig/types.rb +59 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d4dde6721b7652ecb40216186bd633a72072d70
|
4
|
+
data.tar.gz: 7c886af1a7e7f982936620893d2e1f0499082dad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1f48b8f966b6e304f073922181c6d6c13fc72ed93701e1b96894ea1f4c6240be699af06c3ad58c6a56b4aedaa5c3a9c72e9168978b98e28edbc6f3dbfc251a1
|
7
|
+
data.tar.gz: ea28dcf0311ce81ca71e1cc284fa3a970822d97e11e1b305b103cb2db6f0901ebaae86ecf2f4a221d7a3da5a1af2aed35057a9e81b1121c64a0544a628b4d219
|
data/lib/aws-sdk-appconfig.rb
CHANGED
@@ -419,7 +419,33 @@ module Aws::AppConfig
|
|
419
419
|
# each interval.
|
420
420
|
#
|
421
421
|
# @option params [String] :growth_type
|
422
|
-
# The algorithm used to define how percentage grows over time.
|
422
|
+
# The algorithm used to define how percentage grows over time. AWS
|
423
|
+
# AppConfig supports the following growth types:
|
424
|
+
#
|
425
|
+
# **Linear**\: For this type, AppConfig processes the deployment by
|
426
|
+
# dividing the total number of targets by the value specified for `Step
|
427
|
+
# percentage`. For example, a linear deployment that uses a `Step
|
428
|
+
# percentage` of 10 deploys the configuration to 10 percent of the
|
429
|
+
# hosts. After those deployments are complete, the system deploys the
|
430
|
+
# configuration to the next 10 percent. This continues until 100% of the
|
431
|
+
# targets have successfully received the configuration.
|
432
|
+
#
|
433
|
+
# **Exponential**\: For this type, AppConfig processes the deployment
|
434
|
+
# exponentially using the following formula: `G*(2^N)`. In this formula,
|
435
|
+
# `G` is the growth factor specified by the user and `N` is the number
|
436
|
+
# of steps until the configuration is deployed to all targets. For
|
437
|
+
# example, if you specify a growth factor of 2, then the system rolls
|
438
|
+
# out the configuration as follows:
|
439
|
+
#
|
440
|
+
# `2*(2^0)`
|
441
|
+
#
|
442
|
+
# `2*(2^1)`
|
443
|
+
#
|
444
|
+
# `2*(2^2)`
|
445
|
+
#
|
446
|
+
# Expressed numerically, the deployment rolls out as follows: 2% of the
|
447
|
+
# targets, 4% of the targets, 8% of the targets, and continues until the
|
448
|
+
# configuration has been deployed to all targets.
|
423
449
|
#
|
424
450
|
# @option params [required, String] :replicate_to
|
425
451
|
# Save the deployment strategy to a Systems Manager (SSM) document.
|
@@ -448,7 +474,7 @@ module Aws::AppConfig
|
|
448
474
|
# deployment_duration_in_minutes: 1, # required
|
449
475
|
# final_bake_time_in_minutes: 1,
|
450
476
|
# growth_factor: 1.0, # required
|
451
|
-
# growth_type: "LINEAR", # accepts LINEAR
|
477
|
+
# growth_type: "LINEAR", # accepts LINEAR, EXPONENTIAL
|
452
478
|
# replicate_to: "NONE", # required, accepts NONE, SSM_DOCUMENT
|
453
479
|
# tags: {
|
454
480
|
# "TagKey" => "TagValue",
|
@@ -461,7 +487,7 @@ module Aws::AppConfig
|
|
461
487
|
# resp.name #=> String
|
462
488
|
# resp.description #=> String
|
463
489
|
# resp.deployment_duration_in_minutes #=> Integer
|
464
|
-
# resp.growth_type #=> String, one of "LINEAR"
|
490
|
+
# resp.growth_type #=> String, one of "LINEAR", "EXPONENTIAL"
|
465
491
|
# resp.growth_factor #=> Float
|
466
492
|
# resp.final_bake_time_in_minutes #=> Integer
|
467
493
|
# resp.replicate_to #=> String, one of "NONE", "SSM_DOCUMENT"
|
@@ -831,7 +857,7 @@ module Aws::AppConfig
|
|
831
857
|
# resp.configuration_version #=> String
|
832
858
|
# resp.description #=> String
|
833
859
|
# resp.deployment_duration_in_minutes #=> Integer
|
834
|
-
# resp.growth_type #=> String, one of "LINEAR"
|
860
|
+
# resp.growth_type #=> String, one of "LINEAR", "EXPONENTIAL"
|
835
861
|
# resp.growth_factor #=> Float
|
836
862
|
# resp.final_bake_time_in_minutes #=> Integer
|
837
863
|
# resp.state #=> String, one of "BAKING", "VALIDATING", "DEPLOYING", "COMPLETE", "ROLLING_BACK", "ROLLED_BACK"
|
@@ -881,7 +907,7 @@ module Aws::AppConfig
|
|
881
907
|
# resp.name #=> String
|
882
908
|
# resp.description #=> String
|
883
909
|
# resp.deployment_duration_in_minutes #=> Integer
|
884
|
-
# resp.growth_type #=> String, one of "LINEAR"
|
910
|
+
# resp.growth_type #=> String, one of "LINEAR", "EXPONENTIAL"
|
885
911
|
# resp.growth_factor #=> Float
|
886
912
|
# resp.final_bake_time_in_minutes #=> Integer
|
887
913
|
# resp.replicate_to #=> String, one of "NONE", "SSM_DOCUMENT"
|
@@ -1062,7 +1088,7 @@ module Aws::AppConfig
|
|
1062
1088
|
# resp.items[0].name #=> String
|
1063
1089
|
# resp.items[0].description #=> String
|
1064
1090
|
# resp.items[0].deployment_duration_in_minutes #=> Integer
|
1065
|
-
# resp.items[0].growth_type #=> String, one of "LINEAR"
|
1091
|
+
# resp.items[0].growth_type #=> String, one of "LINEAR", "EXPONENTIAL"
|
1066
1092
|
# resp.items[0].growth_factor #=> Float
|
1067
1093
|
# resp.items[0].final_bake_time_in_minutes #=> Integer
|
1068
1094
|
# resp.items[0].replicate_to #=> String, one of "NONE", "SSM_DOCUMENT"
|
@@ -1115,7 +1141,7 @@ module Aws::AppConfig
|
|
1115
1141
|
# resp.items[0].configuration_name #=> String
|
1116
1142
|
# resp.items[0].configuration_version #=> String
|
1117
1143
|
# resp.items[0].deployment_duration_in_minutes #=> Integer
|
1118
|
-
# resp.items[0].growth_type #=> String, one of "LINEAR"
|
1144
|
+
# resp.items[0].growth_type #=> String, one of "LINEAR", "EXPONENTIAL"
|
1119
1145
|
# resp.items[0].growth_factor #=> Float
|
1120
1146
|
# resp.items[0].final_bake_time_in_minutes #=> Integer
|
1121
1147
|
# resp.items[0].state #=> String, one of "BAKING", "VALIDATING", "DEPLOYING", "COMPLETE", "ROLLING_BACK", "ROLLED_BACK"
|
@@ -1282,7 +1308,7 @@ module Aws::AppConfig
|
|
1282
1308
|
# resp.configuration_version #=> String
|
1283
1309
|
# resp.description #=> String
|
1284
1310
|
# resp.deployment_duration_in_minutes #=> Integer
|
1285
|
-
# resp.growth_type #=> String, one of "LINEAR"
|
1311
|
+
# resp.growth_type #=> String, one of "LINEAR", "EXPONENTIAL"
|
1286
1312
|
# resp.growth_factor #=> Float
|
1287
1313
|
# resp.final_bake_time_in_minutes #=> Integer
|
1288
1314
|
# resp.state #=> String, one of "BAKING", "VALIDATING", "DEPLOYING", "COMPLETE", "ROLLING_BACK", "ROLLED_BACK"
|
@@ -1352,7 +1378,7 @@ module Aws::AppConfig
|
|
1352
1378
|
# resp.configuration_version #=> String
|
1353
1379
|
# resp.description #=> String
|
1354
1380
|
# resp.deployment_duration_in_minutes #=> Integer
|
1355
|
-
# resp.growth_type #=> String, one of "LINEAR"
|
1381
|
+
# resp.growth_type #=> String, one of "LINEAR", "EXPONENTIAL"
|
1356
1382
|
# resp.growth_factor #=> Float
|
1357
1383
|
# resp.final_bake_time_in_minutes #=> Integer
|
1358
1384
|
# resp.state #=> String, one of "BAKING", "VALIDATING", "DEPLOYING", "COMPLETE", "ROLLING_BACK", "ROLLED_BACK"
|
@@ -1557,7 +1583,33 @@ module Aws::AppConfig
|
|
1557
1583
|
# each interval.
|
1558
1584
|
#
|
1559
1585
|
# @option params [String] :growth_type
|
1560
|
-
# The algorithm used to define how percentage grows over time.
|
1586
|
+
# The algorithm used to define how percentage grows over time. AWS
|
1587
|
+
# AppConfig supports the following growth types:
|
1588
|
+
#
|
1589
|
+
# **Linear**\: For this type, AppConfig processes the deployment by
|
1590
|
+
# increments of the growth factor evenly distributed over the deployment
|
1591
|
+
# time. For example, a linear deployment that uses a growth factor of 20
|
1592
|
+
# initially makes the configuration available to 20 percent of the
|
1593
|
+
# targets. After 1/5th of the deployment time has passed, the system
|
1594
|
+
# updates the percentage to 40 percent. This continues until 100% of the
|
1595
|
+
# targets are set to receive the deployed configuration.
|
1596
|
+
#
|
1597
|
+
# **Exponential**\: For this type, AppConfig processes the deployment
|
1598
|
+
# exponentially using the following formula: `G*(2^N)`. In this formula,
|
1599
|
+
# `G` is the growth factor specified by the user and `N` is the number
|
1600
|
+
# of steps until the configuration is deployed to all targets. For
|
1601
|
+
# example, if you specify a growth factor of 2, then the system rolls
|
1602
|
+
# out the configuration as follows:
|
1603
|
+
#
|
1604
|
+
# `2*(2^0)`
|
1605
|
+
#
|
1606
|
+
# `2*(2^1)`
|
1607
|
+
#
|
1608
|
+
# `2*(2^2)`
|
1609
|
+
#
|
1610
|
+
# Expressed numerically, the deployment rolls out as follows: 2% of the
|
1611
|
+
# targets, 4% of the targets, 8% of the targets, and continues until the
|
1612
|
+
# configuration has been deployed to all targets.
|
1561
1613
|
#
|
1562
1614
|
# @return [Types::DeploymentStrategy] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1563
1615
|
#
|
@@ -1578,7 +1630,7 @@ module Aws::AppConfig
|
|
1578
1630
|
# deployment_duration_in_minutes: 1,
|
1579
1631
|
# final_bake_time_in_minutes: 1,
|
1580
1632
|
# growth_factor: 1.0,
|
1581
|
-
# growth_type: "LINEAR", # accepts LINEAR
|
1633
|
+
# growth_type: "LINEAR", # accepts LINEAR, EXPONENTIAL
|
1582
1634
|
# })
|
1583
1635
|
#
|
1584
1636
|
# @example Response structure
|
@@ -1587,7 +1639,7 @@ module Aws::AppConfig
|
|
1587
1639
|
# resp.name #=> String
|
1588
1640
|
# resp.description #=> String
|
1589
1641
|
# resp.deployment_duration_in_minutes #=> Integer
|
1590
|
-
# resp.growth_type #=> String, one of "LINEAR"
|
1642
|
+
# resp.growth_type #=> String, one of "LINEAR", "EXPONENTIAL"
|
1591
1643
|
# resp.growth_factor #=> Float
|
1592
1644
|
# resp.final_bake_time_in_minutes #=> Integer
|
1593
1645
|
# resp.replicate_to #=> String, one of "NONE", "SSM_DOCUMENT"
|
@@ -1706,7 +1758,7 @@ module Aws::AppConfig
|
|
1706
1758
|
params: params,
|
1707
1759
|
config: config)
|
1708
1760
|
context[:gem_name] = 'aws-sdk-appconfig'
|
1709
|
-
context[:gem_version] = '1.
|
1761
|
+
context[:gem_version] = '1.1.0'
|
1710
1762
|
Seahorse::Client::Request.new(handlers, context)
|
1711
1763
|
end
|
1712
1764
|
|
@@ -302,7 +302,7 @@ module Aws::AppConfig
|
|
302
302
|
# deployment_duration_in_minutes: 1, # required
|
303
303
|
# final_bake_time_in_minutes: 1,
|
304
304
|
# growth_factor: 1.0, # required
|
305
|
-
# growth_type: "LINEAR", # accepts LINEAR
|
305
|
+
# growth_type: "LINEAR", # accepts LINEAR, EXPONENTIAL
|
306
306
|
# replicate_to: "NONE", # required, accepts NONE, SSM_DOCUMENT
|
307
307
|
# tags: {
|
308
308
|
# "TagKey" => "TagValue",
|
@@ -333,7 +333,33 @@ module Aws::AppConfig
|
|
333
333
|
# @return [Float]
|
334
334
|
#
|
335
335
|
# @!attribute [rw] growth_type
|
336
|
-
# The algorithm used to define how percentage grows over time.
|
336
|
+
# The algorithm used to define how percentage grows over time. AWS
|
337
|
+
# AppConfig supports the following growth types:
|
338
|
+
#
|
339
|
+
# **Linear**\: For this type, AppConfig processes the deployment by
|
340
|
+
# dividing the total number of targets by the value specified for
|
341
|
+
# `Step percentage`. For example, a linear deployment that uses a
|
342
|
+
# `Step percentage` of 10 deploys the configuration to 10 percent of
|
343
|
+
# the hosts. After those deployments are complete, the system deploys
|
344
|
+
# the configuration to the next 10 percent. This continues until 100%
|
345
|
+
# of the targets have successfully received the configuration.
|
346
|
+
#
|
347
|
+
# **Exponential**\: For this type, AppConfig processes the deployment
|
348
|
+
# exponentially using the following formula: `G*(2^N)`. In this
|
349
|
+
# formula, `G` is the growth factor specified by the user and `N` is
|
350
|
+
# the number of steps until the configuration is deployed to all
|
351
|
+
# targets. For example, if you specify a growth factor of 2, then the
|
352
|
+
# system rolls out the configuration as follows:
|
353
|
+
#
|
354
|
+
# `2*(2^0)`
|
355
|
+
#
|
356
|
+
# `2*(2^1)`
|
357
|
+
#
|
358
|
+
# `2*(2^2)`
|
359
|
+
#
|
360
|
+
# Expressed numerically, the deployment rolls out as follows: 2% of
|
361
|
+
# the targets, 4% of the targets, 8% of the targets, and continues
|
362
|
+
# until the configuration has been deployed to all targets.
|
337
363
|
# @return [String]
|
338
364
|
#
|
339
365
|
# @!attribute [rw] replicate_to
|
@@ -1434,7 +1460,7 @@ module Aws::AppConfig
|
|
1434
1460
|
# deployment_duration_in_minutes: 1,
|
1435
1461
|
# final_bake_time_in_minutes: 1,
|
1436
1462
|
# growth_factor: 1.0,
|
1437
|
-
# growth_type: "LINEAR", # accepts LINEAR
|
1463
|
+
# growth_type: "LINEAR", # accepts LINEAR, EXPONENTIAL
|
1438
1464
|
# }
|
1439
1465
|
#
|
1440
1466
|
# @!attribute [rw] deployment_strategy_id
|
@@ -1461,7 +1487,34 @@ module Aws::AppConfig
|
|
1461
1487
|
# @return [Float]
|
1462
1488
|
#
|
1463
1489
|
# @!attribute [rw] growth_type
|
1464
|
-
# The algorithm used to define how percentage grows over time.
|
1490
|
+
# The algorithm used to define how percentage grows over time. AWS
|
1491
|
+
# AppConfig supports the following growth types:
|
1492
|
+
#
|
1493
|
+
# **Linear**\: For this type, AppConfig processes the deployment by
|
1494
|
+
# increments of the growth factor evenly distributed over the
|
1495
|
+
# deployment time. For example, a linear deployment that uses a growth
|
1496
|
+
# factor of 20 initially makes the configuration available to 20
|
1497
|
+
# percent of the targets. After 1/5th of the deployment time has
|
1498
|
+
# passed, the system updates the percentage to 40 percent. This
|
1499
|
+
# continues until 100% of the targets are set to receive the deployed
|
1500
|
+
# configuration.
|
1501
|
+
#
|
1502
|
+
# **Exponential**\: For this type, AppConfig processes the deployment
|
1503
|
+
# exponentially using the following formula: `G*(2^N)`. In this
|
1504
|
+
# formula, `G` is the growth factor specified by the user and `N` is
|
1505
|
+
# the number of steps until the configuration is deployed to all
|
1506
|
+
# targets. For example, if you specify a growth factor of 2, then the
|
1507
|
+
# system rolls out the configuration as follows:
|
1508
|
+
#
|
1509
|
+
# `2*(2^0)`
|
1510
|
+
#
|
1511
|
+
# `2*(2^1)`
|
1512
|
+
#
|
1513
|
+
# `2*(2^2)`
|
1514
|
+
#
|
1515
|
+
# Expressed numerically, the deployment rolls out as follows: 2% of
|
1516
|
+
# the targets, 4% of the targets, 8% of the targets, and continues
|
1517
|
+
# until the configuration has been deployed to all targets.
|
1465
1518
|
# @return [String]
|
1466
1519
|
#
|
1467
1520
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateDeploymentStrategyRequest AWS API Documentation
|
@@ -1573,7 +1626,8 @@ module Aws::AppConfig
|
|
1573
1626
|
# @return [String]
|
1574
1627
|
#
|
1575
1628
|
# @!attribute [rw] content
|
1576
|
-
# Either the JSON Schema content or
|
1629
|
+
# Either the JSON Schema content or the Amazon Resource Name (ARN) of
|
1630
|
+
# an AWS Lambda function.
|
1577
1631
|
# @return [String]
|
1578
1632
|
#
|
1579
1633
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/Validator AWS API Documentation
|
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.1.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:
|
11
|
+
date: 2020-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|