aws-sdk-appconfig 1.6.0 → 1.11.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 +5 -2
- data/lib/aws-sdk-appconfig/client.rb +230 -14
- data/lib/aws-sdk-appconfig/client_api.rb +131 -5
- data/lib/aws-sdk-appconfig/errors.rb +49 -0
- data/lib/aws-sdk-appconfig/resource.rb +2 -0
- data/lib/aws-sdk-appconfig/types.rb +356 -5
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f673b2f7783338639c856be434cad89b1443d432d18b687e0d8f66e504a326e9
|
4
|
+
data.tar.gz: 14f6304b4f8799e288f3fbaf0374a98f8acee5d93408c2b9e299aeab834bdb5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e10b7baf8d4a5d86d38a07076e570bafc5ae1418a30460e453f25a893d96dcbc5ea176738da6cf5dfe3abd2653ed2c736914d8230d53922cc5219832321810a6
|
7
|
+
data.tar.gz: d58e17f078022d86b22b77a6d6bfb8d26f9f95bcedea463b5c833284b990f48888a81e242d79c623544886fe0587dcd6c6df737f670af6f445cd8facbd8952bc
|
data/lib/aws-sdk-appconfig.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -5,6 +7,7 @@
|
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
10
|
+
|
8
11
|
require 'aws-sdk-core'
|
9
12
|
require 'aws-sigv4'
|
10
13
|
|
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-appconfig/customizations'
|
|
42
45
|
#
|
43
46
|
# See {Errors} for more information.
|
44
47
|
#
|
45
|
-
#
|
48
|
+
# @!group service
|
46
49
|
module Aws::AppConfig
|
47
50
|
|
48
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.11.0'
|
49
52
|
|
50
53
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
32
|
|
@@ -69,6 +72,7 @@ module Aws::AppConfig
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
74
78
|
|
@@ -81,13 +85,28 @@ module Aws::AppConfig
|
|
81
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
82
86
|
# credentials.
|
83
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
84
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
85
103
|
# from an EC2 IMDS on an EC2 instance.
|
86
104
|
#
|
87
|
-
# * `Aws::
|
88
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
89
107
|
#
|
90
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
91
110
|
#
|
92
111
|
# When `:credentials` are not configured directly, the following
|
93
112
|
# locations will be searched for credentials:
|
@@ -97,10 +116,10 @@ module Aws::AppConfig
|
|
97
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
98
117
|
# * `~/.aws/credentials`
|
99
118
|
# * `~/.aws/config`
|
100
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
101
|
-
# very aggressive. Construct and pass an instance of
|
102
|
-
# `Aws::InstanceProfileCredentails`
|
103
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
104
123
|
#
|
105
124
|
# @option options [required, String] :region
|
106
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -161,7 +180,7 @@ module Aws::AppConfig
|
|
161
180
|
# @option options [String] :endpoint
|
162
181
|
# The client endpoint is normally constructed from the `:region`
|
163
182
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
183
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
184
|
#
|
166
185
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
186
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -396,7 +415,7 @@ module Aws::AppConfig
|
|
396
415
|
# `s3://<bucket>/<objectKey> `. Here is an example:
|
397
416
|
# s3://my-bucket/my-app/us-east-1/my-config.json
|
398
417
|
#
|
399
|
-
# @option params [
|
418
|
+
# @option params [String] :retrieval_role_arn
|
400
419
|
# The ARN of an IAM role with permission to access the configuration at
|
401
420
|
# the specified LocationUri.
|
402
421
|
#
|
@@ -425,7 +444,7 @@ module Aws::AppConfig
|
|
425
444
|
# name: "Name", # required
|
426
445
|
# description: "Description",
|
427
446
|
# location_uri: "Uri", # required
|
428
|
-
# retrieval_role_arn: "
|
447
|
+
# retrieval_role_arn: "RoleArn",
|
429
448
|
# validators: [
|
430
449
|
# {
|
431
450
|
# type: "JSON_SCHEMA", # required, accepts JSON_SCHEMA, LAMBDA
|
@@ -609,7 +628,7 @@ module Aws::AppConfig
|
|
609
628
|
# monitors: [
|
610
629
|
# {
|
611
630
|
# alarm_arn: "Arn",
|
612
|
-
# alarm_role_arn: "
|
631
|
+
# alarm_role_arn: "RoleArn",
|
613
632
|
# },
|
614
633
|
# ],
|
615
634
|
# tags: {
|
@@ -637,6 +656,73 @@ module Aws::AppConfig
|
|
637
656
|
req.send_request(options)
|
638
657
|
end
|
639
658
|
|
659
|
+
# Create a new configuration in the AppConfig configuration store.
|
660
|
+
#
|
661
|
+
# @option params [required, String] :application_id
|
662
|
+
# The application ID.
|
663
|
+
#
|
664
|
+
# @option params [required, String] :configuration_profile_id
|
665
|
+
# The configuration profile ID.
|
666
|
+
#
|
667
|
+
# @option params [String] :description
|
668
|
+
# A description of the configuration.
|
669
|
+
#
|
670
|
+
# @option params [required, String, StringIO, File] :content
|
671
|
+
# The content of the configuration or the configuration data.
|
672
|
+
#
|
673
|
+
# @option params [required, String] :content_type
|
674
|
+
# A standard MIME type describing the format of the configuration
|
675
|
+
# content. For more information, see [Content-Type][1].
|
676
|
+
#
|
677
|
+
#
|
678
|
+
#
|
679
|
+
# [1]: https://docs.aws.amazon.com/https:/www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
|
680
|
+
#
|
681
|
+
# @option params [Integer] :latest_version_number
|
682
|
+
# An optional locking token used to prevent race conditions from
|
683
|
+
# overwriting configuration updates when creating a new version. To
|
684
|
+
# ensure your data is not overwritten when creating multiple hosted
|
685
|
+
# configuration versions in rapid succession, specify the version of the
|
686
|
+
# latest hosted configuration version.
|
687
|
+
#
|
688
|
+
# @return [Types::HostedConfigurationVersion] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
689
|
+
#
|
690
|
+
# * {Types::HostedConfigurationVersion#application_id #application_id} => String
|
691
|
+
# * {Types::HostedConfigurationVersion#configuration_profile_id #configuration_profile_id} => String
|
692
|
+
# * {Types::HostedConfigurationVersion#version_number #version_number} => Integer
|
693
|
+
# * {Types::HostedConfigurationVersion#description #description} => String
|
694
|
+
# * {Types::HostedConfigurationVersion#content #content} => String
|
695
|
+
# * {Types::HostedConfigurationVersion#content_type #content_type} => String
|
696
|
+
#
|
697
|
+
# @example Request syntax with placeholder values
|
698
|
+
#
|
699
|
+
# resp = client.create_hosted_configuration_version({
|
700
|
+
# application_id: "Id", # required
|
701
|
+
# configuration_profile_id: "Id", # required
|
702
|
+
# description: "Description",
|
703
|
+
# content: "data", # required
|
704
|
+
# content_type: "StringWithLengthBetween1And255", # required
|
705
|
+
# latest_version_number: 1,
|
706
|
+
# })
|
707
|
+
#
|
708
|
+
# @example Response structure
|
709
|
+
#
|
710
|
+
# resp.application_id #=> String
|
711
|
+
# resp.configuration_profile_id #=> String
|
712
|
+
# resp.version_number #=> Integer
|
713
|
+
# resp.description #=> String
|
714
|
+
# resp.content #=> String
|
715
|
+
# resp.content_type #=> String
|
716
|
+
#
|
717
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateHostedConfigurationVersion AWS API Documentation
|
718
|
+
#
|
719
|
+
# @overload create_hosted_configuration_version(params = {})
|
720
|
+
# @param [Hash] params ({})
|
721
|
+
def create_hosted_configuration_version(params = {}, options = {})
|
722
|
+
req = build_request(:create_hosted_configuration_version, params)
|
723
|
+
req.send_request(options)
|
724
|
+
end
|
725
|
+
|
640
726
|
# Delete an application. Deleting an application does not delete a
|
641
727
|
# configuration from a host.
|
642
728
|
#
|
@@ -738,6 +824,37 @@ module Aws::AppConfig
|
|
738
824
|
req.send_request(options)
|
739
825
|
end
|
740
826
|
|
827
|
+
# Delete a version of a configuration from the AppConfig configuration
|
828
|
+
# store.
|
829
|
+
#
|
830
|
+
# @option params [required, String] :application_id
|
831
|
+
# The application ID.
|
832
|
+
#
|
833
|
+
# @option params [required, String] :configuration_profile_id
|
834
|
+
# The configuration profile ID.
|
835
|
+
#
|
836
|
+
# @option params [required, Integer] :version_number
|
837
|
+
# The versions number to delete.
|
838
|
+
#
|
839
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
840
|
+
#
|
841
|
+
# @example Request syntax with placeholder values
|
842
|
+
#
|
843
|
+
# resp = client.delete_hosted_configuration_version({
|
844
|
+
# application_id: "Id", # required
|
845
|
+
# configuration_profile_id: "Id", # required
|
846
|
+
# version_number: 1, # required
|
847
|
+
# })
|
848
|
+
#
|
849
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteHostedConfigurationVersion AWS API Documentation
|
850
|
+
#
|
851
|
+
# @overload delete_hosted_configuration_version(params = {})
|
852
|
+
# @param [Hash] params ({})
|
853
|
+
def delete_hosted_configuration_version(params = {}, options = {})
|
854
|
+
req = build_request(:delete_hosted_configuration_version, params)
|
855
|
+
req.send_request(options)
|
856
|
+
end
|
857
|
+
|
741
858
|
# Retrieve information about an application.
|
742
859
|
#
|
743
860
|
# @option params [required, String] :application_id
|
@@ -1075,6 +1192,52 @@ module Aws::AppConfig
|
|
1075
1192
|
req.send_request(options)
|
1076
1193
|
end
|
1077
1194
|
|
1195
|
+
# Get information about a specific configuration version.
|
1196
|
+
#
|
1197
|
+
# @option params [required, String] :application_id
|
1198
|
+
# The application ID.
|
1199
|
+
#
|
1200
|
+
# @option params [required, String] :configuration_profile_id
|
1201
|
+
# The configuration profile ID.
|
1202
|
+
#
|
1203
|
+
# @option params [required, Integer] :version_number
|
1204
|
+
# The version.
|
1205
|
+
#
|
1206
|
+
# @return [Types::HostedConfigurationVersion] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1207
|
+
#
|
1208
|
+
# * {Types::HostedConfigurationVersion#application_id #application_id} => String
|
1209
|
+
# * {Types::HostedConfigurationVersion#configuration_profile_id #configuration_profile_id} => String
|
1210
|
+
# * {Types::HostedConfigurationVersion#version_number #version_number} => Integer
|
1211
|
+
# * {Types::HostedConfigurationVersion#description #description} => String
|
1212
|
+
# * {Types::HostedConfigurationVersion#content #content} => String
|
1213
|
+
# * {Types::HostedConfigurationVersion#content_type #content_type} => String
|
1214
|
+
#
|
1215
|
+
# @example Request syntax with placeholder values
|
1216
|
+
#
|
1217
|
+
# resp = client.get_hosted_configuration_version({
|
1218
|
+
# application_id: "Id", # required
|
1219
|
+
# configuration_profile_id: "Id", # required
|
1220
|
+
# version_number: 1, # required
|
1221
|
+
# })
|
1222
|
+
#
|
1223
|
+
# @example Response structure
|
1224
|
+
#
|
1225
|
+
# resp.application_id #=> String
|
1226
|
+
# resp.configuration_profile_id #=> String
|
1227
|
+
# resp.version_number #=> Integer
|
1228
|
+
# resp.description #=> String
|
1229
|
+
# resp.content #=> String
|
1230
|
+
# resp.content_type #=> String
|
1231
|
+
#
|
1232
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetHostedConfigurationVersion AWS API Documentation
|
1233
|
+
#
|
1234
|
+
# @overload get_hosted_configuration_version(params = {})
|
1235
|
+
# @param [Hash] params ({})
|
1236
|
+
def get_hosted_configuration_version(params = {}, options = {})
|
1237
|
+
req = build_request(:get_hosted_configuration_version, params)
|
1238
|
+
req.send_request(options)
|
1239
|
+
end
|
1240
|
+
|
1078
1241
|
# List all applications in your AWS account.
|
1079
1242
|
#
|
1080
1243
|
# @option params [Integer] :max_results
|
@@ -1322,6 +1485,59 @@ module Aws::AppConfig
|
|
1322
1485
|
req.send_request(options)
|
1323
1486
|
end
|
1324
1487
|
|
1488
|
+
# View a list of configurations stored in the AppConfig configuration
|
1489
|
+
# store by version.
|
1490
|
+
#
|
1491
|
+
# @option params [required, String] :application_id
|
1492
|
+
# The application ID.
|
1493
|
+
#
|
1494
|
+
# @option params [required, String] :configuration_profile_id
|
1495
|
+
# The configuration profile ID.
|
1496
|
+
#
|
1497
|
+
# @option params [Integer] :max_results
|
1498
|
+
# The maximum number of items to return for this call. The call also
|
1499
|
+
# returns a token that you can specify in a subsequent call to get the
|
1500
|
+
# next set of results.
|
1501
|
+
#
|
1502
|
+
# @option params [String] :next_token
|
1503
|
+
# A token to start the list. Use this token to get the next set of
|
1504
|
+
# results.
|
1505
|
+
#
|
1506
|
+
# @return [Types::HostedConfigurationVersions] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1507
|
+
#
|
1508
|
+
# * {Types::HostedConfigurationVersions#items #items} => Array<Types::HostedConfigurationVersionSummary>
|
1509
|
+
# * {Types::HostedConfigurationVersions#next_token #next_token} => String
|
1510
|
+
#
|
1511
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1512
|
+
#
|
1513
|
+
# @example Request syntax with placeholder values
|
1514
|
+
#
|
1515
|
+
# resp = client.list_hosted_configuration_versions({
|
1516
|
+
# application_id: "Id", # required
|
1517
|
+
# configuration_profile_id: "Id", # required
|
1518
|
+
# max_results: 1,
|
1519
|
+
# next_token: "NextToken",
|
1520
|
+
# })
|
1521
|
+
#
|
1522
|
+
# @example Response structure
|
1523
|
+
#
|
1524
|
+
# resp.items #=> Array
|
1525
|
+
# resp.items[0].application_id #=> String
|
1526
|
+
# resp.items[0].configuration_profile_id #=> String
|
1527
|
+
# resp.items[0].version_number #=> Integer
|
1528
|
+
# resp.items[0].description #=> String
|
1529
|
+
# resp.items[0].content_type #=> String
|
1530
|
+
# resp.next_token #=> String
|
1531
|
+
#
|
1532
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListHostedConfigurationVersions AWS API Documentation
|
1533
|
+
#
|
1534
|
+
# @overload list_hosted_configuration_versions(params = {})
|
1535
|
+
# @param [Hash] params ({})
|
1536
|
+
def list_hosted_configuration_versions(params = {}, options = {})
|
1537
|
+
req = build_request(:list_hosted_configuration_versions, params)
|
1538
|
+
req.send_request(options)
|
1539
|
+
end
|
1540
|
+
|
1325
1541
|
# Retrieves the list of key-value tags assigned to the resource.
|
1326
1542
|
#
|
1327
1543
|
# @option params [required, String] :resource_arn
|
@@ -1658,7 +1874,7 @@ module Aws::AppConfig
|
|
1658
1874
|
# configuration_profile_id: "Id", # required
|
1659
1875
|
# name: "Name",
|
1660
1876
|
# description: "Description",
|
1661
|
-
# retrieval_role_arn: "
|
1877
|
+
# retrieval_role_arn: "RoleArn",
|
1662
1878
|
# validators: [
|
1663
1879
|
# {
|
1664
1880
|
# type: "JSON_SCHEMA", # required, accepts JSON_SCHEMA, LAMBDA
|
@@ -1815,7 +2031,7 @@ module Aws::AppConfig
|
|
1815
2031
|
# monitors: [
|
1816
2032
|
# {
|
1817
2033
|
# alarm_arn: "Arn",
|
1818
|
-
# alarm_role_arn: "
|
2034
|
+
# alarm_role_arn: "RoleArn",
|
1819
2035
|
# },
|
1820
2036
|
# ],
|
1821
2037
|
# })
|
@@ -1884,7 +2100,7 @@ module Aws::AppConfig
|
|
1884
2100
|
params: params,
|
1885
2101
|
config: config)
|
1886
2102
|
context[:gem_name] = 'aws-sdk-appconfig'
|
1887
|
-
context[:gem_version] = '1.
|
2103
|
+
context[:gem_version] = '1.11.0'
|
1888
2104
|
Seahorse::Client::Request.new(handlers, context)
|
1889
2105
|
end
|
1890
2106
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -17,6 +19,7 @@ module Aws::AppConfig
|
|
17
19
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
18
20
|
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
19
21
|
Blob = Shapes::BlobShape.new(name: 'Blob')
|
22
|
+
BytesMeasure = Shapes::StringShape.new(name: 'BytesMeasure')
|
20
23
|
Configuration = Shapes::StructureShape.new(name: 'Configuration')
|
21
24
|
ConfigurationProfile = Shapes::StructureShape.new(name: 'ConfigurationProfile')
|
22
25
|
ConfigurationProfileSummary = Shapes::StructureShape.new(name: 'ConfigurationProfileSummary')
|
@@ -27,10 +30,12 @@ module Aws::AppConfig
|
|
27
30
|
CreateConfigurationProfileRequest = Shapes::StructureShape.new(name: 'CreateConfigurationProfileRequest')
|
28
31
|
CreateDeploymentStrategyRequest = Shapes::StructureShape.new(name: 'CreateDeploymentStrategyRequest')
|
29
32
|
CreateEnvironmentRequest = Shapes::StructureShape.new(name: 'CreateEnvironmentRequest')
|
33
|
+
CreateHostedConfigurationVersionRequest = Shapes::StructureShape.new(name: 'CreateHostedConfigurationVersionRequest')
|
30
34
|
DeleteApplicationRequest = Shapes::StructureShape.new(name: 'DeleteApplicationRequest')
|
31
35
|
DeleteConfigurationProfileRequest = Shapes::StructureShape.new(name: 'DeleteConfigurationProfileRequest')
|
32
36
|
DeleteDeploymentStrategyRequest = Shapes::StructureShape.new(name: 'DeleteDeploymentStrategyRequest')
|
33
37
|
DeleteEnvironmentRequest = Shapes::StructureShape.new(name: 'DeleteEnvironmentRequest')
|
38
|
+
DeleteHostedConfigurationVersionRequest = Shapes::StructureShape.new(name: 'DeleteHostedConfigurationVersionRequest')
|
34
39
|
Deployment = Shapes::StructureShape.new(name: 'Deployment')
|
35
40
|
DeploymentEvent = Shapes::StructureShape.new(name: 'DeploymentEvent')
|
36
41
|
DeploymentEventType = Shapes::StringShape.new(name: 'DeploymentEventType')
|
@@ -48,14 +53,20 @@ module Aws::AppConfig
|
|
48
53
|
EnvironmentList = Shapes::ListShape.new(name: 'EnvironmentList')
|
49
54
|
EnvironmentState = Shapes::StringShape.new(name: 'EnvironmentState')
|
50
55
|
Environments = Shapes::StructureShape.new(name: 'Environments')
|
56
|
+
Float = Shapes::FloatShape.new(name: 'Float')
|
51
57
|
GetApplicationRequest = Shapes::StructureShape.new(name: 'GetApplicationRequest')
|
52
58
|
GetConfigurationProfileRequest = Shapes::StructureShape.new(name: 'GetConfigurationProfileRequest')
|
53
59
|
GetConfigurationRequest = Shapes::StructureShape.new(name: 'GetConfigurationRequest')
|
54
60
|
GetDeploymentRequest = Shapes::StructureShape.new(name: 'GetDeploymentRequest')
|
55
61
|
GetDeploymentStrategyRequest = Shapes::StructureShape.new(name: 'GetDeploymentStrategyRequest')
|
56
62
|
GetEnvironmentRequest = Shapes::StructureShape.new(name: 'GetEnvironmentRequest')
|
63
|
+
GetHostedConfigurationVersionRequest = Shapes::StructureShape.new(name: 'GetHostedConfigurationVersionRequest')
|
57
64
|
GrowthFactor = Shapes::FloatShape.new(name: 'GrowthFactor')
|
58
65
|
GrowthType = Shapes::StringShape.new(name: 'GrowthType')
|
66
|
+
HostedConfigurationVersion = Shapes::StructureShape.new(name: 'HostedConfigurationVersion')
|
67
|
+
HostedConfigurationVersionSummary = Shapes::StructureShape.new(name: 'HostedConfigurationVersionSummary')
|
68
|
+
HostedConfigurationVersionSummaryList = Shapes::ListShape.new(name: 'HostedConfigurationVersionSummaryList')
|
69
|
+
HostedConfigurationVersions = Shapes::StructureShape.new(name: 'HostedConfigurationVersions')
|
59
70
|
Id = Shapes::StringShape.new(name: 'Id')
|
60
71
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
61
72
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
@@ -65,6 +76,7 @@ module Aws::AppConfig
|
|
65
76
|
ListDeploymentStrategiesRequest = Shapes::StructureShape.new(name: 'ListDeploymentStrategiesRequest')
|
66
77
|
ListDeploymentsRequest = Shapes::StructureShape.new(name: 'ListDeploymentsRequest')
|
67
78
|
ListEnvironmentsRequest = Shapes::StructureShape.new(name: 'ListEnvironmentsRequest')
|
79
|
+
ListHostedConfigurationVersionsRequest = Shapes::StructureShape.new(name: 'ListHostedConfigurationVersionsRequest')
|
68
80
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
69
81
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
70
82
|
MinutesBetween0And24Hours = Shapes::IntegerShape.new(name: 'MinutesBetween0And24Hours')
|
@@ -72,14 +84,18 @@ module Aws::AppConfig
|
|
72
84
|
MonitorList = Shapes::ListShape.new(name: 'MonitorList')
|
73
85
|
Name = Shapes::StringShape.new(name: 'Name')
|
74
86
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
87
|
+
PayloadTooLargeException = Shapes::StructureShape.new(name: 'PayloadTooLargeException')
|
75
88
|
Percentage = Shapes::FloatShape.new(name: 'Percentage')
|
76
89
|
ReplicateTo = Shapes::StringShape.new(name: 'ReplicateTo')
|
77
90
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
78
91
|
ResourceTags = Shapes::StructureShape.new(name: 'ResourceTags')
|
92
|
+
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
93
|
+
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
79
94
|
StartDeploymentRequest = Shapes::StructureShape.new(name: 'StartDeploymentRequest')
|
80
95
|
StopDeploymentRequest = Shapes::StructureShape.new(name: 'StopDeploymentRequest')
|
81
96
|
String = Shapes::StringShape.new(name: 'String')
|
82
97
|
StringWithLengthBetween0And32768 = Shapes::StringShape.new(name: 'StringWithLengthBetween0And32768')
|
98
|
+
StringWithLengthBetween1And255 = Shapes::StringShape.new(name: 'StringWithLengthBetween1And255')
|
83
99
|
StringWithLengthBetween1And64 = Shapes::StringShape.new(name: 'StringWithLengthBetween1And64')
|
84
100
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
85
101
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
@@ -126,7 +142,7 @@ module Aws::AppConfig
|
|
126
142
|
ConfigurationProfile.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
|
127
143
|
ConfigurationProfile.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
128
144
|
ConfigurationProfile.add_member(:location_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "LocationUri"))
|
129
|
-
ConfigurationProfile.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape:
|
145
|
+
ConfigurationProfile.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RetrievalRoleArn"))
|
130
146
|
ConfigurationProfile.add_member(:validators, Shapes::ShapeRef.new(shape: ValidatorList, location_name: "Validators"))
|
131
147
|
ConfigurationProfile.struct_class = Types::ConfigurationProfile
|
132
148
|
|
@@ -155,7 +171,7 @@ module Aws::AppConfig
|
|
155
171
|
CreateConfigurationProfileRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
|
156
172
|
CreateConfigurationProfileRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
157
173
|
CreateConfigurationProfileRequest.add_member(:location_uri, Shapes::ShapeRef.new(shape: Uri, required: true, location_name: "LocationUri"))
|
158
|
-
CreateConfigurationProfileRequest.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape:
|
174
|
+
CreateConfigurationProfileRequest.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RetrievalRoleArn"))
|
159
175
|
CreateConfigurationProfileRequest.add_member(:validators, Shapes::ShapeRef.new(shape: ValidatorList, location_name: "Validators"))
|
160
176
|
CreateConfigurationProfileRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
161
177
|
CreateConfigurationProfileRequest.struct_class = Types::CreateConfigurationProfileRequest
|
@@ -177,6 +193,16 @@ module Aws::AppConfig
|
|
177
193
|
CreateEnvironmentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
178
194
|
CreateEnvironmentRequest.struct_class = Types::CreateEnvironmentRequest
|
179
195
|
|
196
|
+
CreateHostedConfigurationVersionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
|
197
|
+
CreateHostedConfigurationVersionRequest.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ConfigurationProfileId"))
|
198
|
+
CreateHostedConfigurationVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location: "header", location_name: "Description"))
|
199
|
+
CreateHostedConfigurationVersionRequest.add_member(:content, Shapes::ShapeRef.new(shape: Blob, required: true, location_name: "Content"))
|
200
|
+
CreateHostedConfigurationVersionRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And255, required: true, location: "header", location_name: "Content-Type"))
|
201
|
+
CreateHostedConfigurationVersionRequest.add_member(:latest_version_number, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Latest-Version-Number", metadata: {"box"=>true}))
|
202
|
+
CreateHostedConfigurationVersionRequest.struct_class = Types::CreateHostedConfigurationVersionRequest
|
203
|
+
CreateHostedConfigurationVersionRequest[:payload] = :content
|
204
|
+
CreateHostedConfigurationVersionRequest[:payload_member] = CreateHostedConfigurationVersionRequest.member(:content)
|
205
|
+
|
180
206
|
DeleteApplicationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
|
181
207
|
DeleteApplicationRequest.struct_class = Types::DeleteApplicationRequest
|
182
208
|
|
@@ -191,6 +217,11 @@ module Aws::AppConfig
|
|
191
217
|
DeleteEnvironmentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "EnvironmentId"))
|
192
218
|
DeleteEnvironmentRequest.struct_class = Types::DeleteEnvironmentRequest
|
193
219
|
|
220
|
+
DeleteHostedConfigurationVersionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
|
221
|
+
DeleteHostedConfigurationVersionRequest.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ConfigurationProfileId"))
|
222
|
+
DeleteHostedConfigurationVersionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: Integer, required: true, location: "uri", location_name: "VersionNumber"))
|
223
|
+
DeleteHostedConfigurationVersionRequest.struct_class = Types::DeleteHostedConfigurationVersionRequest
|
224
|
+
|
194
225
|
Deployment.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, location_name: "ApplicationId"))
|
195
226
|
Deployment.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, location_name: "EnvironmentId"))
|
196
227
|
Deployment.add_member(:deployment_strategy_id, Shapes::ShapeRef.new(shape: Id, location_name: "DeploymentStrategyId"))
|
@@ -294,6 +325,34 @@ module Aws::AppConfig
|
|
294
325
|
GetEnvironmentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "EnvironmentId"))
|
295
326
|
GetEnvironmentRequest.struct_class = Types::GetEnvironmentRequest
|
296
327
|
|
328
|
+
GetHostedConfigurationVersionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
|
329
|
+
GetHostedConfigurationVersionRequest.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ConfigurationProfileId"))
|
330
|
+
GetHostedConfigurationVersionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: Integer, required: true, location: "uri", location_name: "VersionNumber"))
|
331
|
+
GetHostedConfigurationVersionRequest.struct_class = Types::GetHostedConfigurationVersionRequest
|
332
|
+
|
333
|
+
HostedConfigurationVersion.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, location: "header", location_name: "Application-Id"))
|
334
|
+
HostedConfigurationVersion.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, location: "header", location_name: "Configuration-Profile-Id"))
|
335
|
+
HostedConfigurationVersion.add_member(:version_number, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Version-Number"))
|
336
|
+
HostedConfigurationVersion.add_member(:description, Shapes::ShapeRef.new(shape: Description, location: "header", location_name: "Description"))
|
337
|
+
HostedConfigurationVersion.add_member(:content, Shapes::ShapeRef.new(shape: Blob, location_name: "Content"))
|
338
|
+
HostedConfigurationVersion.add_member(:content_type, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And255, location: "header", location_name: "Content-Type"))
|
339
|
+
HostedConfigurationVersion.struct_class = Types::HostedConfigurationVersion
|
340
|
+
HostedConfigurationVersion[:payload] = :content
|
341
|
+
HostedConfigurationVersion[:payload_member] = HostedConfigurationVersion.member(:content)
|
342
|
+
|
343
|
+
HostedConfigurationVersionSummary.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, location_name: "ApplicationId"))
|
344
|
+
HostedConfigurationVersionSummary.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, location_name: "ConfigurationProfileId"))
|
345
|
+
HostedConfigurationVersionSummary.add_member(:version_number, Shapes::ShapeRef.new(shape: Integer, location_name: "VersionNumber"))
|
346
|
+
HostedConfigurationVersionSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
347
|
+
HostedConfigurationVersionSummary.add_member(:content_type, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And255, location_name: "ContentType"))
|
348
|
+
HostedConfigurationVersionSummary.struct_class = Types::HostedConfigurationVersionSummary
|
349
|
+
|
350
|
+
HostedConfigurationVersionSummaryList.member = Shapes::ShapeRef.new(shape: HostedConfigurationVersionSummary)
|
351
|
+
|
352
|
+
HostedConfigurationVersions.add_member(:items, Shapes::ShapeRef.new(shape: HostedConfigurationVersionSummaryList, location_name: "Items"))
|
353
|
+
HostedConfigurationVersions.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
354
|
+
HostedConfigurationVersions.struct_class = Types::HostedConfigurationVersions
|
355
|
+
|
297
356
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
298
357
|
InternalServerException.struct_class = Types::InternalServerException
|
299
358
|
|
@@ -321,15 +380,27 @@ module Aws::AppConfig
|
|
321
380
|
ListEnvironmentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next_token"))
|
322
381
|
ListEnvironmentsRequest.struct_class = Types::ListEnvironmentsRequest
|
323
382
|
|
383
|
+
ListHostedConfigurationVersionsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
|
384
|
+
ListHostedConfigurationVersionsRequest.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ConfigurationProfileId"))
|
385
|
+
ListHostedConfigurationVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box"=>true}))
|
386
|
+
ListHostedConfigurationVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next_token"))
|
387
|
+
ListHostedConfigurationVersionsRequest.struct_class = Types::ListHostedConfigurationVersionsRequest
|
388
|
+
|
324
389
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
|
325
390
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
326
391
|
|
327
392
|
Monitor.add_member(:alarm_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AlarmArn"))
|
328
|
-
Monitor.add_member(:alarm_role_arn, Shapes::ShapeRef.new(shape:
|
393
|
+
Monitor.add_member(:alarm_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "AlarmRoleArn"))
|
329
394
|
Monitor.struct_class = Types::Monitor
|
330
395
|
|
331
396
|
MonitorList.member = Shapes::ShapeRef.new(shape: Monitor)
|
332
397
|
|
398
|
+
PayloadTooLargeException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
399
|
+
PayloadTooLargeException.add_member(:measure, Shapes::ShapeRef.new(shape: BytesMeasure, location_name: "Measure"))
|
400
|
+
PayloadTooLargeException.add_member(:limit, Shapes::ShapeRef.new(shape: Float, location_name: "Limit"))
|
401
|
+
PayloadTooLargeException.add_member(:size, Shapes::ShapeRef.new(shape: Float, location_name: "Size"))
|
402
|
+
PayloadTooLargeException.struct_class = Types::PayloadTooLargeException
|
403
|
+
|
333
404
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
334
405
|
ResourceNotFoundException.add_member(:resource_name, Shapes::ShapeRef.new(shape: String, location_name: "ResourceName"))
|
335
406
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
@@ -337,6 +408,9 @@ module Aws::AppConfig
|
|
337
408
|
ResourceTags.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
338
409
|
ResourceTags.struct_class = Types::ResourceTags
|
339
410
|
|
411
|
+
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
412
|
+
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
413
|
+
|
340
414
|
StartDeploymentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
|
341
415
|
StartDeploymentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "EnvironmentId"))
|
342
416
|
StartDeploymentRequest.add_member(:deployment_strategy_id, Shapes::ShapeRef.new(shape: DeploymentStrategyId, required: true, location_name: "DeploymentStrategyId"))
|
@@ -373,7 +447,7 @@ module Aws::AppConfig
|
|
373
447
|
UpdateConfigurationProfileRequest.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ConfigurationProfileId"))
|
374
448
|
UpdateConfigurationProfileRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
|
375
449
|
UpdateConfigurationProfileRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
376
|
-
UpdateConfigurationProfileRequest.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape:
|
450
|
+
UpdateConfigurationProfileRequest.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RetrievalRoleArn"))
|
377
451
|
UpdateConfigurationProfileRequest.add_member(:validators, Shapes::ShapeRef.new(shape: ValidatorList, location_name: "Validators"))
|
378
452
|
UpdateConfigurationProfileRequest.struct_class = Types::UpdateConfigurationProfileRequest
|
379
453
|
|
@@ -466,6 +540,20 @@ module Aws::AppConfig
|
|
466
540
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
467
541
|
end)
|
468
542
|
|
543
|
+
api.add_operation(:create_hosted_configuration_version, Seahorse::Model::Operation.new.tap do |o|
|
544
|
+
o.name = "CreateHostedConfigurationVersion"
|
545
|
+
o.http_method = "POST"
|
546
|
+
o.http_request_uri = "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions"
|
547
|
+
o.input = Shapes::ShapeRef.new(shape: CreateHostedConfigurationVersionRequest)
|
548
|
+
o.output = Shapes::ShapeRef.new(shape: HostedConfigurationVersion)
|
549
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
550
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
551
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
552
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
553
|
+
o.errors << Shapes::ShapeRef.new(shape: PayloadTooLargeException)
|
554
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
555
|
+
end)
|
556
|
+
|
469
557
|
api.add_operation(:delete_application, Seahorse::Model::Operation.new.tap do |o|
|
470
558
|
o.name = "DeleteApplication"
|
471
559
|
o.http_method = "DELETE"
|
@@ -512,6 +600,17 @@ module Aws::AppConfig
|
|
512
600
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
513
601
|
end)
|
514
602
|
|
603
|
+
api.add_operation(:delete_hosted_configuration_version, Seahorse::Model::Operation.new.tap do |o|
|
604
|
+
o.name = "DeleteHostedConfigurationVersion"
|
605
|
+
o.http_method = "DELETE"
|
606
|
+
o.http_request_uri = "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions/{VersionNumber}"
|
607
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteHostedConfigurationVersionRequest)
|
608
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
609
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
610
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
611
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
612
|
+
end)
|
613
|
+
|
515
614
|
api.add_operation(:get_application, Seahorse::Model::Operation.new.tap do |o|
|
516
615
|
o.name = "GetApplication"
|
517
616
|
o.http_method = "GET"
|
@@ -531,7 +630,6 @@ module Aws::AppConfig
|
|
531
630
|
o.output = Shapes::ShapeRef.new(shape: Configuration)
|
532
631
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
533
632
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
534
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
535
633
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
536
634
|
end)
|
537
635
|
|
@@ -579,6 +677,17 @@ module Aws::AppConfig
|
|
579
677
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
580
678
|
end)
|
581
679
|
|
680
|
+
api.add_operation(:get_hosted_configuration_version, Seahorse::Model::Operation.new.tap do |o|
|
681
|
+
o.name = "GetHostedConfigurationVersion"
|
682
|
+
o.http_method = "GET"
|
683
|
+
o.http_request_uri = "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions/{VersionNumber}"
|
684
|
+
o.input = Shapes::ShapeRef.new(shape: GetHostedConfigurationVersionRequest)
|
685
|
+
o.output = Shapes::ShapeRef.new(shape: HostedConfigurationVersion)
|
686
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
687
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
688
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
689
|
+
end)
|
690
|
+
|
582
691
|
api.add_operation(:list_applications, Seahorse::Model::Operation.new.tap do |o|
|
583
692
|
o.name = "ListApplications"
|
584
693
|
o.http_method = "GET"
|
@@ -662,6 +771,23 @@ module Aws::AppConfig
|
|
662
771
|
)
|
663
772
|
end)
|
664
773
|
|
774
|
+
api.add_operation(:list_hosted_configuration_versions, Seahorse::Model::Operation.new.tap do |o|
|
775
|
+
o.name = "ListHostedConfigurationVersions"
|
776
|
+
o.http_method = "GET"
|
777
|
+
o.http_request_uri = "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions"
|
778
|
+
o.input = Shapes::ShapeRef.new(shape: ListHostedConfigurationVersionsRequest)
|
779
|
+
o.output = Shapes::ShapeRef.new(shape: HostedConfigurationVersions)
|
780
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
781
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
782
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
783
|
+
o[:pager] = Aws::Pager.new(
|
784
|
+
limit_key: "max_results",
|
785
|
+
tokens: {
|
786
|
+
"next_token" => "next_token"
|
787
|
+
}
|
788
|
+
)
|
789
|
+
end)
|
790
|
+
|
665
791
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
666
792
|
o.name = "ListTagsForResource"
|
667
793
|
o.http_method = "GET"
|