aws-sdk-appconfig 1.3.0 → 1.8.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 +272 -15
- data/lib/aws-sdk-appconfig/client_api.rb +142 -5
- data/lib/aws-sdk-appconfig/errors.rb +47 -0
- data/lib/aws-sdk-appconfig/resource.rb +1 -7
- data/lib/aws-sdk-appconfig/types.rb +358 -6
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4563aeacfbef69605c77d067d9a5e2c711ccb67105dcea4af13a98a73717cc4c
|
4
|
+
data.tar.gz: 83871b5c7fc063881c8f89187fc3c4170194cd56f4b7c5c48e2915e35bc0f3ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49819f6434f5c2e9dd651bd5946435cadf28f5e17ca16e6b381fc0540830dc7750381dafd9608341adff86c6250e852e81639a7baa1776384c56f1b79fba055b
|
7
|
+
data.tar.gz: c8dd5c0d2755ebfb6a060ef0747839c6d4af3cdc8407bedcc9556b8dcf3b1930e9256ec01dc9e85ec0eec74e3cf90dd1f33e3401facc146059f1b9212a86ff2a
|
data/lib/aws-sdk-appconfig.rb
CHANGED
@@ -24,6 +24,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
24
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
25
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
26
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
27
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
28
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
29
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
30
|
|
@@ -69,6 +70,7 @@ module Aws::AppConfig
|
|
69
70
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
71
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
72
|
add_plugin(Aws::Plugins::TransferEncoding)
|
73
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
74
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
75
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
74
76
|
|
@@ -105,7 +107,7 @@ module Aws::AppConfig
|
|
105
107
|
# @option options [required, String] :region
|
106
108
|
# The AWS region to connect to. The configured `:region` is
|
107
109
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
110
|
+
# a default `:region` is searched for in the following locations:
|
109
111
|
#
|
110
112
|
# * `Aws.config[:region]`
|
111
113
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +163,7 @@ module Aws::AppConfig
|
|
161
163
|
# @option options [String] :endpoint
|
162
164
|
# The client endpoint is normally constructed from the `:region`
|
163
165
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
166
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
167
|
#
|
166
168
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
169
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +178,7 @@ module Aws::AppConfig
|
|
176
178
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
179
|
#
|
178
180
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
181
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
182
|
#
|
181
183
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
184
|
# The log formatter.
|
@@ -269,8 +271,7 @@ module Aws::AppConfig
|
|
269
271
|
#
|
270
272
|
# @option options [Integer] :http_read_timeout (60) The default
|
271
273
|
# 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}.
|
274
|
+
# safely be set per-request on the session.
|
274
275
|
#
|
275
276
|
# @option options [Float] :http_idle_timeout (5) The number of
|
276
277
|
# seconds a connection is allowed to sit idle before it is
|
@@ -282,7 +283,7 @@ module Aws::AppConfig
|
|
282
283
|
# request body. This option has no effect unless the request has
|
283
284
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
284
285
|
# disables this behaviour. This value can safely be set per
|
285
|
-
# request on the session
|
286
|
+
# request on the session.
|
286
287
|
#
|
287
288
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
288
289
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -397,7 +398,7 @@ module Aws::AppConfig
|
|
397
398
|
# `s3://<bucket>/<objectKey> `. Here is an example:
|
398
399
|
# s3://my-bucket/my-app/us-east-1/my-config.json
|
399
400
|
#
|
400
|
-
# @option params [
|
401
|
+
# @option params [String] :retrieval_role_arn
|
401
402
|
# The ARN of an IAM role with permission to access the configuration at
|
402
403
|
# the specified LocationUri.
|
403
404
|
#
|
@@ -426,7 +427,7 @@ module Aws::AppConfig
|
|
426
427
|
# name: "Name", # required
|
427
428
|
# description: "Description",
|
428
429
|
# location_uri: "Uri", # required
|
429
|
-
# retrieval_role_arn: "
|
430
|
+
# retrieval_role_arn: "RoleArn",
|
430
431
|
# validators: [
|
431
432
|
# {
|
432
433
|
# type: "JSON_SCHEMA", # required, accepts JSON_SCHEMA, LAMBDA
|
@@ -610,7 +611,7 @@ module Aws::AppConfig
|
|
610
611
|
# monitors: [
|
611
612
|
# {
|
612
613
|
# alarm_arn: "Arn",
|
613
|
-
# alarm_role_arn: "
|
614
|
+
# alarm_role_arn: "RoleArn",
|
614
615
|
# },
|
615
616
|
# ],
|
616
617
|
# tags: {
|
@@ -638,6 +639,73 @@ module Aws::AppConfig
|
|
638
639
|
req.send_request(options)
|
639
640
|
end
|
640
641
|
|
642
|
+
# Create a new configuration in the AppConfig configuration store.
|
643
|
+
#
|
644
|
+
# @option params [required, String] :application_id
|
645
|
+
# The application ID.
|
646
|
+
#
|
647
|
+
# @option params [required, String] :configuration_profile_id
|
648
|
+
# The configuration profile ID.
|
649
|
+
#
|
650
|
+
# @option params [String] :description
|
651
|
+
# A description of the configuration.
|
652
|
+
#
|
653
|
+
# @option params [required, String, IO] :content
|
654
|
+
# The content of the configuration or the configuration data.
|
655
|
+
#
|
656
|
+
# @option params [required, String] :content_type
|
657
|
+
# A standard MIME type describing the format of the configuration
|
658
|
+
# content. For more information, see [Content-Type][1].
|
659
|
+
#
|
660
|
+
#
|
661
|
+
#
|
662
|
+
# [1]: https://docs.aws.amazon.com/https:/www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
|
663
|
+
#
|
664
|
+
# @option params [Integer] :latest_version_number
|
665
|
+
# An optional locking token used to prevent race conditions from
|
666
|
+
# overwriting configuration updates when creating a new version. To
|
667
|
+
# ensure your data is not overwritten when creating multiple hosted
|
668
|
+
# configuration versions in rapid succession, specify the version of the
|
669
|
+
# latest hosted configuration version.
|
670
|
+
#
|
671
|
+
# @return [Types::HostedConfigurationVersion] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
672
|
+
#
|
673
|
+
# * {Types::HostedConfigurationVersion#application_id #application_id} => String
|
674
|
+
# * {Types::HostedConfigurationVersion#configuration_profile_id #configuration_profile_id} => String
|
675
|
+
# * {Types::HostedConfigurationVersion#version_number #version_number} => Integer
|
676
|
+
# * {Types::HostedConfigurationVersion#description #description} => String
|
677
|
+
# * {Types::HostedConfigurationVersion#content #content} => String
|
678
|
+
# * {Types::HostedConfigurationVersion#content_type #content_type} => String
|
679
|
+
#
|
680
|
+
# @example Request syntax with placeholder values
|
681
|
+
#
|
682
|
+
# resp = client.create_hosted_configuration_version({
|
683
|
+
# application_id: "Id", # required
|
684
|
+
# configuration_profile_id: "Id", # required
|
685
|
+
# description: "Description",
|
686
|
+
# content: "data", # required
|
687
|
+
# content_type: "StringWithLengthBetween1And255", # required
|
688
|
+
# latest_version_number: 1,
|
689
|
+
# })
|
690
|
+
#
|
691
|
+
# @example Response structure
|
692
|
+
#
|
693
|
+
# resp.application_id #=> String
|
694
|
+
# resp.configuration_profile_id #=> String
|
695
|
+
# resp.version_number #=> Integer
|
696
|
+
# resp.description #=> String
|
697
|
+
# resp.content #=> String
|
698
|
+
# resp.content_type #=> String
|
699
|
+
#
|
700
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateHostedConfigurationVersion AWS API Documentation
|
701
|
+
#
|
702
|
+
# @overload create_hosted_configuration_version(params = {})
|
703
|
+
# @param [Hash] params ({})
|
704
|
+
def create_hosted_configuration_version(params = {}, options = {})
|
705
|
+
req = build_request(:create_hosted_configuration_version, params)
|
706
|
+
req.send_request(options)
|
707
|
+
end
|
708
|
+
|
641
709
|
# Delete an application. Deleting an application does not delete a
|
642
710
|
# configuration from a host.
|
643
711
|
#
|
@@ -739,6 +807,37 @@ module Aws::AppConfig
|
|
739
807
|
req.send_request(options)
|
740
808
|
end
|
741
809
|
|
810
|
+
# Delete a version of a configuration from the AppConfig configuration
|
811
|
+
# store.
|
812
|
+
#
|
813
|
+
# @option params [required, String] :application_id
|
814
|
+
# The application ID.
|
815
|
+
#
|
816
|
+
# @option params [required, String] :configuration_profile_id
|
817
|
+
# The configuration profile ID.
|
818
|
+
#
|
819
|
+
# @option params [required, Integer] :version_number
|
820
|
+
# The versions number to delete.
|
821
|
+
#
|
822
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
823
|
+
#
|
824
|
+
# @example Request syntax with placeholder values
|
825
|
+
#
|
826
|
+
# resp = client.delete_hosted_configuration_version({
|
827
|
+
# application_id: "Id", # required
|
828
|
+
# configuration_profile_id: "Id", # required
|
829
|
+
# version_number: 1, # required
|
830
|
+
# })
|
831
|
+
#
|
832
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteHostedConfigurationVersion AWS API Documentation
|
833
|
+
#
|
834
|
+
# @overload delete_hosted_configuration_version(params = {})
|
835
|
+
# @param [Hash] params ({})
|
836
|
+
def delete_hosted_configuration_version(params = {}, options = {})
|
837
|
+
req = build_request(:delete_hosted_configuration_version, params)
|
838
|
+
req.send_request(options)
|
839
|
+
end
|
840
|
+
|
742
841
|
# Retrieve information about an application.
|
743
842
|
#
|
744
843
|
# @option params [required, String] :application_id
|
@@ -771,7 +870,19 @@ module Aws::AppConfig
|
|
771
870
|
req.send_request(options)
|
772
871
|
end
|
773
872
|
|
774
|
-
#
|
873
|
+
# Receive information about a configuration.
|
874
|
+
#
|
875
|
+
# AWS AppConfig uses the value of the `ClientConfigurationVersion`
|
876
|
+
# parameter to identify the configuration version on your clients. If
|
877
|
+
# you don’t send `ClientConfigurationVersion` with each call to
|
878
|
+
# `GetConfiguration`, your clients receive the current configuration.
|
879
|
+
# You are charged each time your clients receive a configuration.
|
880
|
+
#
|
881
|
+
# To avoid excess charges, we recommend that you include the
|
882
|
+
# `ClientConfigurationVersion` value with every call to
|
883
|
+
# `GetConfiguration`. This value must be saved on your client.
|
884
|
+
# Subsequent calls to `GetConfiguration` must pass this value by using
|
885
|
+
# the `ClientConfigurationVersion` parameter.
|
775
886
|
#
|
776
887
|
# @option params [required, String] :application
|
777
888
|
# The application to get. Specify either the application name or the
|
@@ -791,8 +902,27 @@ module Aws::AppConfig
|
|
791
902
|
# in the deployment strategy.
|
792
903
|
#
|
793
904
|
# @option params [String] :client_configuration_version
|
794
|
-
# The configuration version returned in the most recent
|
795
|
-
# response.
|
905
|
+
# The configuration version returned in the most recent
|
906
|
+
# `GetConfiguration` response.
|
907
|
+
#
|
908
|
+
# AWS AppConfig uses the value of the `ClientConfigurationVersion`
|
909
|
+
# parameter to identify the configuration version on your clients. If
|
910
|
+
# you don’t send `ClientConfigurationVersion` with each call to
|
911
|
+
# `GetConfiguration`, your clients receive the current configuration.
|
912
|
+
# You are charged each time your clients receive a configuration.
|
913
|
+
#
|
914
|
+
# To avoid excess charges, we recommend that you include the
|
915
|
+
# `ClientConfigurationVersion` value with every call to
|
916
|
+
# `GetConfiguration`. This value must be saved on your client.
|
917
|
+
# Subsequent calls to `GetConfiguration` must pass this value by using
|
918
|
+
# the `ClientConfigurationVersion` parameter.
|
919
|
+
#
|
920
|
+
# For more information about working with configurations, see
|
921
|
+
# [Retrieving the Configuration][1] in the *AWS AppConfig User Guide*.
|
922
|
+
#
|
923
|
+
#
|
924
|
+
#
|
925
|
+
# [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/appconfig-retrieving-the-configuration.html
|
796
926
|
#
|
797
927
|
# @return [Types::Configuration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
798
928
|
#
|
@@ -901,6 +1031,7 @@ module Aws::AppConfig
|
|
901
1031
|
# * {Types::Deployment#growth_factor #growth_factor} => Float
|
902
1032
|
# * {Types::Deployment#final_bake_time_in_minutes #final_bake_time_in_minutes} => Integer
|
903
1033
|
# * {Types::Deployment#state #state} => String
|
1034
|
+
# * {Types::Deployment#event_log #event_log} => Array<Types::DeploymentEvent>
|
904
1035
|
# * {Types::Deployment#percentage_complete #percentage_complete} => Float
|
905
1036
|
# * {Types::Deployment#started_at #started_at} => Time
|
906
1037
|
# * {Types::Deployment#completed_at #completed_at} => Time
|
@@ -929,6 +1060,11 @@ module Aws::AppConfig
|
|
929
1060
|
# resp.growth_factor #=> Float
|
930
1061
|
# resp.final_bake_time_in_minutes #=> Integer
|
931
1062
|
# resp.state #=> String, one of "BAKING", "VALIDATING", "DEPLOYING", "COMPLETE", "ROLLING_BACK", "ROLLED_BACK"
|
1063
|
+
# resp.event_log #=> Array
|
1064
|
+
# resp.event_log[0].event_type #=> String, one of "PERCENTAGE_UPDATED", "ROLLBACK_STARTED", "ROLLBACK_COMPLETED", "BAKE_TIME_STARTED", "DEPLOYMENT_STARTED", "DEPLOYMENT_COMPLETED"
|
1065
|
+
# resp.event_log[0].triggered_by #=> String, one of "USER", "APPCONFIG", "CLOUDWATCH_ALARM", "INTERNAL_ERROR"
|
1066
|
+
# resp.event_log[0].description #=> String
|
1067
|
+
# resp.event_log[0].occurred_at #=> Time
|
932
1068
|
# resp.percentage_complete #=> Float
|
933
1069
|
# resp.started_at #=> Time
|
934
1070
|
# resp.completed_at #=> Time
|
@@ -1039,6 +1175,52 @@ module Aws::AppConfig
|
|
1039
1175
|
req.send_request(options)
|
1040
1176
|
end
|
1041
1177
|
|
1178
|
+
# Get information about a specific configuration version.
|
1179
|
+
#
|
1180
|
+
# @option params [required, String] :application_id
|
1181
|
+
# The application ID.
|
1182
|
+
#
|
1183
|
+
# @option params [required, String] :configuration_profile_id
|
1184
|
+
# The configuration profile ID.
|
1185
|
+
#
|
1186
|
+
# @option params [required, Integer] :version_number
|
1187
|
+
# The version.
|
1188
|
+
#
|
1189
|
+
# @return [Types::HostedConfigurationVersion] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1190
|
+
#
|
1191
|
+
# * {Types::HostedConfigurationVersion#application_id #application_id} => String
|
1192
|
+
# * {Types::HostedConfigurationVersion#configuration_profile_id #configuration_profile_id} => String
|
1193
|
+
# * {Types::HostedConfigurationVersion#version_number #version_number} => Integer
|
1194
|
+
# * {Types::HostedConfigurationVersion#description #description} => String
|
1195
|
+
# * {Types::HostedConfigurationVersion#content #content} => String
|
1196
|
+
# * {Types::HostedConfigurationVersion#content_type #content_type} => String
|
1197
|
+
#
|
1198
|
+
# @example Request syntax with placeholder values
|
1199
|
+
#
|
1200
|
+
# resp = client.get_hosted_configuration_version({
|
1201
|
+
# application_id: "Id", # required
|
1202
|
+
# configuration_profile_id: "Id", # required
|
1203
|
+
# version_number: 1, # required
|
1204
|
+
# })
|
1205
|
+
#
|
1206
|
+
# @example Response structure
|
1207
|
+
#
|
1208
|
+
# resp.application_id #=> String
|
1209
|
+
# resp.configuration_profile_id #=> String
|
1210
|
+
# resp.version_number #=> Integer
|
1211
|
+
# resp.description #=> String
|
1212
|
+
# resp.content #=> String
|
1213
|
+
# resp.content_type #=> String
|
1214
|
+
#
|
1215
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetHostedConfigurationVersion AWS API Documentation
|
1216
|
+
#
|
1217
|
+
# @overload get_hosted_configuration_version(params = {})
|
1218
|
+
# @param [Hash] params ({})
|
1219
|
+
def get_hosted_configuration_version(params = {}, options = {})
|
1220
|
+
req = build_request(:get_hosted_configuration_version, params)
|
1221
|
+
req.send_request(options)
|
1222
|
+
end
|
1223
|
+
|
1042
1224
|
# List all applications in your AWS account.
|
1043
1225
|
#
|
1044
1226
|
# @option params [Integer] :max_results
|
@@ -1055,6 +1237,8 @@ module Aws::AppConfig
|
|
1055
1237
|
# * {Types::Applications#items #items} => Array<Types::Application>
|
1056
1238
|
# * {Types::Applications#next_token #next_token} => String
|
1057
1239
|
#
|
1240
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1241
|
+
#
|
1058
1242
|
# @example Request syntax with placeholder values
|
1059
1243
|
#
|
1060
1244
|
# resp = client.list_applications({
|
@@ -1098,6 +1282,8 @@ module Aws::AppConfig
|
|
1098
1282
|
# * {Types::ConfigurationProfiles#items #items} => Array<Types::ConfigurationProfileSummary>
|
1099
1283
|
# * {Types::ConfigurationProfiles#next_token #next_token} => String
|
1100
1284
|
#
|
1285
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1286
|
+
#
|
1101
1287
|
# @example Request syntax with placeholder values
|
1102
1288
|
#
|
1103
1289
|
# resp = client.list_configuration_profiles({
|
@@ -1142,6 +1328,8 @@ module Aws::AppConfig
|
|
1142
1328
|
# * {Types::DeploymentStrategies#items #items} => Array<Types::DeploymentStrategy>
|
1143
1329
|
# * {Types::DeploymentStrategies#next_token #next_token} => String
|
1144
1330
|
#
|
1331
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1332
|
+
#
|
1145
1333
|
# @example Request syntax with placeholder values
|
1146
1334
|
#
|
1147
1335
|
# resp = client.list_deployment_strategies({
|
@@ -1193,6 +1381,8 @@ module Aws::AppConfig
|
|
1193
1381
|
# * {Types::Deployments#items #items} => Array<Types::DeploymentSummary>
|
1194
1382
|
# * {Types::Deployments#next_token #next_token} => String
|
1195
1383
|
#
|
1384
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1385
|
+
#
|
1196
1386
|
# @example Request syntax with placeholder values
|
1197
1387
|
#
|
1198
1388
|
# resp = client.list_deployments({
|
@@ -1246,6 +1436,8 @@ module Aws::AppConfig
|
|
1246
1436
|
# * {Types::Environments#items #items} => Array<Types::Environment>
|
1247
1437
|
# * {Types::Environments#next_token #next_token} => String
|
1248
1438
|
#
|
1439
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1440
|
+
#
|
1249
1441
|
# @example Request syntax with placeholder values
|
1250
1442
|
#
|
1251
1443
|
# resp = client.list_environments({
|
@@ -1276,6 +1468,59 @@ module Aws::AppConfig
|
|
1276
1468
|
req.send_request(options)
|
1277
1469
|
end
|
1278
1470
|
|
1471
|
+
# View a list of configurations stored in the AppConfig configuration
|
1472
|
+
# store by version.
|
1473
|
+
#
|
1474
|
+
# @option params [required, String] :application_id
|
1475
|
+
# The application ID.
|
1476
|
+
#
|
1477
|
+
# @option params [required, String] :configuration_profile_id
|
1478
|
+
# The configuration profile ID.
|
1479
|
+
#
|
1480
|
+
# @option params [Integer] :max_results
|
1481
|
+
# The maximum number of items to return for this call. The call also
|
1482
|
+
# returns a token that you can specify in a subsequent call to get the
|
1483
|
+
# next set of results.
|
1484
|
+
#
|
1485
|
+
# @option params [String] :next_token
|
1486
|
+
# A token to start the list. Use this token to get the next set of
|
1487
|
+
# results.
|
1488
|
+
#
|
1489
|
+
# @return [Types::HostedConfigurationVersions] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1490
|
+
#
|
1491
|
+
# * {Types::HostedConfigurationVersions#items #items} => Array<Types::HostedConfigurationVersionSummary>
|
1492
|
+
# * {Types::HostedConfigurationVersions#next_token #next_token} => String
|
1493
|
+
#
|
1494
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1495
|
+
#
|
1496
|
+
# @example Request syntax with placeholder values
|
1497
|
+
#
|
1498
|
+
# resp = client.list_hosted_configuration_versions({
|
1499
|
+
# application_id: "Id", # required
|
1500
|
+
# configuration_profile_id: "Id", # required
|
1501
|
+
# max_results: 1,
|
1502
|
+
# next_token: "NextToken",
|
1503
|
+
# })
|
1504
|
+
#
|
1505
|
+
# @example Response structure
|
1506
|
+
#
|
1507
|
+
# resp.items #=> Array
|
1508
|
+
# resp.items[0].application_id #=> String
|
1509
|
+
# resp.items[0].configuration_profile_id #=> String
|
1510
|
+
# resp.items[0].version_number #=> Integer
|
1511
|
+
# resp.items[0].description #=> String
|
1512
|
+
# resp.items[0].content_type #=> String
|
1513
|
+
# resp.next_token #=> String
|
1514
|
+
#
|
1515
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListHostedConfigurationVersions AWS API Documentation
|
1516
|
+
#
|
1517
|
+
# @overload list_hosted_configuration_versions(params = {})
|
1518
|
+
# @param [Hash] params ({})
|
1519
|
+
def list_hosted_configuration_versions(params = {}, options = {})
|
1520
|
+
req = build_request(:list_hosted_configuration_versions, params)
|
1521
|
+
req.send_request(options)
|
1522
|
+
end
|
1523
|
+
|
1279
1524
|
# Retrieves the list of key-value tags assigned to the resource.
|
1280
1525
|
#
|
1281
1526
|
# @option params [required, String] :resource_arn
|
@@ -1346,6 +1591,7 @@ module Aws::AppConfig
|
|
1346
1591
|
# * {Types::Deployment#growth_factor #growth_factor} => Float
|
1347
1592
|
# * {Types::Deployment#final_bake_time_in_minutes #final_bake_time_in_minutes} => Integer
|
1348
1593
|
# * {Types::Deployment#state #state} => String
|
1594
|
+
# * {Types::Deployment#event_log #event_log} => Array<Types::DeploymentEvent>
|
1349
1595
|
# * {Types::Deployment#percentage_complete #percentage_complete} => Float
|
1350
1596
|
# * {Types::Deployment#started_at #started_at} => Time
|
1351
1597
|
# * {Types::Deployment#completed_at #completed_at} => Time
|
@@ -1380,6 +1626,11 @@ module Aws::AppConfig
|
|
1380
1626
|
# resp.growth_factor #=> Float
|
1381
1627
|
# resp.final_bake_time_in_minutes #=> Integer
|
1382
1628
|
# resp.state #=> String, one of "BAKING", "VALIDATING", "DEPLOYING", "COMPLETE", "ROLLING_BACK", "ROLLED_BACK"
|
1629
|
+
# resp.event_log #=> Array
|
1630
|
+
# resp.event_log[0].event_type #=> String, one of "PERCENTAGE_UPDATED", "ROLLBACK_STARTED", "ROLLBACK_COMPLETED", "BAKE_TIME_STARTED", "DEPLOYMENT_STARTED", "DEPLOYMENT_COMPLETED"
|
1631
|
+
# resp.event_log[0].triggered_by #=> String, one of "USER", "APPCONFIG", "CLOUDWATCH_ALARM", "INTERNAL_ERROR"
|
1632
|
+
# resp.event_log[0].description #=> String
|
1633
|
+
# resp.event_log[0].occurred_at #=> Time
|
1383
1634
|
# resp.percentage_complete #=> Float
|
1384
1635
|
# resp.started_at #=> Time
|
1385
1636
|
# resp.completed_at #=> Time
|
@@ -1422,6 +1673,7 @@ module Aws::AppConfig
|
|
1422
1673
|
# * {Types::Deployment#growth_factor #growth_factor} => Float
|
1423
1674
|
# * {Types::Deployment#final_bake_time_in_minutes #final_bake_time_in_minutes} => Integer
|
1424
1675
|
# * {Types::Deployment#state #state} => String
|
1676
|
+
# * {Types::Deployment#event_log #event_log} => Array<Types::DeploymentEvent>
|
1425
1677
|
# * {Types::Deployment#percentage_complete #percentage_complete} => Float
|
1426
1678
|
# * {Types::Deployment#started_at #started_at} => Time
|
1427
1679
|
# * {Types::Deployment#completed_at #completed_at} => Time
|
@@ -1450,6 +1702,11 @@ module Aws::AppConfig
|
|
1450
1702
|
# resp.growth_factor #=> Float
|
1451
1703
|
# resp.final_bake_time_in_minutes #=> Integer
|
1452
1704
|
# resp.state #=> String, one of "BAKING", "VALIDATING", "DEPLOYING", "COMPLETE", "ROLLING_BACK", "ROLLED_BACK"
|
1705
|
+
# resp.event_log #=> Array
|
1706
|
+
# resp.event_log[0].event_type #=> String, one of "PERCENTAGE_UPDATED", "ROLLBACK_STARTED", "ROLLBACK_COMPLETED", "BAKE_TIME_STARTED", "DEPLOYMENT_STARTED", "DEPLOYMENT_COMPLETED"
|
1707
|
+
# resp.event_log[0].triggered_by #=> String, one of "USER", "APPCONFIG", "CLOUDWATCH_ALARM", "INTERNAL_ERROR"
|
1708
|
+
# resp.event_log[0].description #=> String
|
1709
|
+
# resp.event_log[0].occurred_at #=> Time
|
1453
1710
|
# resp.percentage_complete #=> Float
|
1454
1711
|
# resp.started_at #=> Time
|
1455
1712
|
# resp.completed_at #=> Time
|
@@ -1600,7 +1857,7 @@ module Aws::AppConfig
|
|
1600
1857
|
# configuration_profile_id: "Id", # required
|
1601
1858
|
# name: "Name",
|
1602
1859
|
# description: "Description",
|
1603
|
-
# retrieval_role_arn: "
|
1860
|
+
# retrieval_role_arn: "RoleArn",
|
1604
1861
|
# validators: [
|
1605
1862
|
# {
|
1606
1863
|
# type: "JSON_SCHEMA", # required, accepts JSON_SCHEMA, LAMBDA
|
@@ -1757,7 +2014,7 @@ module Aws::AppConfig
|
|
1757
2014
|
# monitors: [
|
1758
2015
|
# {
|
1759
2016
|
# alarm_arn: "Arn",
|
1760
|
-
# alarm_role_arn: "
|
2017
|
+
# alarm_role_arn: "RoleArn",
|
1761
2018
|
# },
|
1762
2019
|
# ],
|
1763
2020
|
# })
|
@@ -1826,7 +2083,7 @@ module Aws::AppConfig
|
|
1826
2083
|
params: params,
|
1827
2084
|
config: config)
|
1828
2085
|
context[:gem_name] = 'aws-sdk-appconfig'
|
1829
|
-
context[:gem_version] = '1.
|
2086
|
+
context[:gem_version] = '1.8.0'
|
1830
2087
|
Seahorse::Client::Request.new(handlers, context)
|
1831
2088
|
end
|
1832
2089
|
|