aws-sdk-appconfig 1.4.0 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b704f798640b31431cb5c54b422b79d7b27aafa7
4
- data.tar.gz: 2178018dce0d686e3b7a48774d4b80b2484034f1
2
+ SHA256:
3
+ metadata.gz: 9f4881458c2e3e687e6c07c61e51fd5b2405162f3c098e9fb572e3b88a0ec86d
4
+ data.tar.gz: d9df0a14f751b8618005eb78b6ec587dfb8b87a8b85d07581a7c4ee0b021b6db
5
5
  SHA512:
6
- metadata.gz: f0856317a8417bf0388d14493b70a3a5e06038dff9789971cab3329afcd4a27bf5e3ed3f33aa48cdb9d16d97af6beab30e557af6b6384873875cc3a0150a6854
7
- data.tar.gz: 001e9be45ce1b8c6e74d588e1f6e89c8db519db7a8509ad5a2c77328a2e86a66867bf249b305735994a14e45022270189b3068d82eca32e89ca51f60ae77b6f0
6
+ metadata.gz: 46749189c62cbf0b02a74bff61da789bb120dac64ffb26302936a3682a73254f1e363040b3753761453ae71f9b5f2f9103bcd692a0f5b5009a452f33a63d10cf
7
+ data.tar.gz: 02f3f2003b74fe07b878d6f8f86dd5adb49795c8dd0ed08dd34b3843f7518c23489a59f4bb20998d0abf196b6150727550da867dfab62fd43e836c2c553f99aa
@@ -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:
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-appconfig/customizations'
45
47
  # @service
46
48
  module Aws::AppConfig
47
49
 
48
- GEM_VERSION = '1.4.0'
50
+ GEM_VERSION = '1.9.0'
49
51
 
50
52
  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
 
@@ -105,7 +109,7 @@ module Aws::AppConfig
105
109
  # @option options [required, String] :region
106
110
  # The AWS region to connect to. The configured `:region` is
107
111
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
112
+ # a default `:region` is searched for in the following locations:
109
113
  #
110
114
  # * `Aws.config[:region]`
111
115
  # * `ENV['AWS_REGION']`
@@ -161,7 +165,7 @@ module Aws::AppConfig
161
165
  # @option options [String] :endpoint
162
166
  # The client endpoint is normally constructed from the `:region`
163
167
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
168
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
169
  #
166
170
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
171
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +180,7 @@ module Aws::AppConfig
176
180
  # requests fetching endpoints information. Defaults to 60 sec.
177
181
  #
178
182
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
183
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
184
  #
181
185
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
186
  # The log formatter.
@@ -396,7 +400,7 @@ module Aws::AppConfig
396
400
  # `s3://<bucket>/<objectKey> `. Here is an example:
397
401
  # s3://my-bucket/my-app/us-east-1/my-config.json
398
402
  #
399
- # @option params [required, String] :retrieval_role_arn
403
+ # @option params [String] :retrieval_role_arn
400
404
  # The ARN of an IAM role with permission to access the configuration at
401
405
  # the specified LocationUri.
402
406
  #
@@ -425,7 +429,7 @@ module Aws::AppConfig
425
429
  # name: "Name", # required
426
430
  # description: "Description",
427
431
  # location_uri: "Uri", # required
428
- # retrieval_role_arn: "Arn", # required
432
+ # retrieval_role_arn: "RoleArn",
429
433
  # validators: [
430
434
  # {
431
435
  # type: "JSON_SCHEMA", # required, accepts JSON_SCHEMA, LAMBDA
@@ -609,7 +613,7 @@ module Aws::AppConfig
609
613
  # monitors: [
610
614
  # {
611
615
  # alarm_arn: "Arn",
612
- # alarm_role_arn: "Arn",
616
+ # alarm_role_arn: "RoleArn",
613
617
  # },
614
618
  # ],
615
619
  # tags: {
@@ -637,6 +641,73 @@ module Aws::AppConfig
637
641
  req.send_request(options)
638
642
  end
639
643
 
644
+ # Create a new configuration in the AppConfig configuration store.
645
+ #
646
+ # @option params [required, String] :application_id
647
+ # The application ID.
648
+ #
649
+ # @option params [required, String] :configuration_profile_id
650
+ # The configuration profile ID.
651
+ #
652
+ # @option params [String] :description
653
+ # A description of the configuration.
654
+ #
655
+ # @option params [required, String, IO] :content
656
+ # The content of the configuration or the configuration data.
657
+ #
658
+ # @option params [required, String] :content_type
659
+ # A standard MIME type describing the format of the configuration
660
+ # content. For more information, see [Content-Type][1].
661
+ #
662
+ #
663
+ #
664
+ # [1]: https://docs.aws.amazon.com/https:/www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
665
+ #
666
+ # @option params [Integer] :latest_version_number
667
+ # An optional locking token used to prevent race conditions from
668
+ # overwriting configuration updates when creating a new version. To
669
+ # ensure your data is not overwritten when creating multiple hosted
670
+ # configuration versions in rapid succession, specify the version of the
671
+ # latest hosted configuration version.
672
+ #
673
+ # @return [Types::HostedConfigurationVersion] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
674
+ #
675
+ # * {Types::HostedConfigurationVersion#application_id #application_id} => String
676
+ # * {Types::HostedConfigurationVersion#configuration_profile_id #configuration_profile_id} => String
677
+ # * {Types::HostedConfigurationVersion#version_number #version_number} => Integer
678
+ # * {Types::HostedConfigurationVersion#description #description} => String
679
+ # * {Types::HostedConfigurationVersion#content #content} => String
680
+ # * {Types::HostedConfigurationVersion#content_type #content_type} => String
681
+ #
682
+ # @example Request syntax with placeholder values
683
+ #
684
+ # resp = client.create_hosted_configuration_version({
685
+ # application_id: "Id", # required
686
+ # configuration_profile_id: "Id", # required
687
+ # description: "Description",
688
+ # content: "data", # required
689
+ # content_type: "StringWithLengthBetween1And255", # required
690
+ # latest_version_number: 1,
691
+ # })
692
+ #
693
+ # @example Response structure
694
+ #
695
+ # resp.application_id #=> String
696
+ # resp.configuration_profile_id #=> String
697
+ # resp.version_number #=> Integer
698
+ # resp.description #=> String
699
+ # resp.content #=> String
700
+ # resp.content_type #=> String
701
+ #
702
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateHostedConfigurationVersion AWS API Documentation
703
+ #
704
+ # @overload create_hosted_configuration_version(params = {})
705
+ # @param [Hash] params ({})
706
+ def create_hosted_configuration_version(params = {}, options = {})
707
+ req = build_request(:create_hosted_configuration_version, params)
708
+ req.send_request(options)
709
+ end
710
+
640
711
  # Delete an application. Deleting an application does not delete a
641
712
  # configuration from a host.
642
713
  #
@@ -738,6 +809,37 @@ module Aws::AppConfig
738
809
  req.send_request(options)
739
810
  end
740
811
 
812
+ # Delete a version of a configuration from the AppConfig configuration
813
+ # store.
814
+ #
815
+ # @option params [required, String] :application_id
816
+ # The application ID.
817
+ #
818
+ # @option params [required, String] :configuration_profile_id
819
+ # The configuration profile ID.
820
+ #
821
+ # @option params [required, Integer] :version_number
822
+ # The versions number to delete.
823
+ #
824
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
825
+ #
826
+ # @example Request syntax with placeholder values
827
+ #
828
+ # resp = client.delete_hosted_configuration_version({
829
+ # application_id: "Id", # required
830
+ # configuration_profile_id: "Id", # required
831
+ # version_number: 1, # required
832
+ # })
833
+ #
834
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteHostedConfigurationVersion AWS API Documentation
835
+ #
836
+ # @overload delete_hosted_configuration_version(params = {})
837
+ # @param [Hash] params ({})
838
+ def delete_hosted_configuration_version(params = {}, options = {})
839
+ req = build_request(:delete_hosted_configuration_version, params)
840
+ req.send_request(options)
841
+ end
842
+
741
843
  # Retrieve information about an application.
742
844
  #
743
845
  # @option params [required, String] :application_id
@@ -770,7 +872,19 @@ module Aws::AppConfig
770
872
  req.send_request(options)
771
873
  end
772
874
 
773
- # Retrieve information about a configuration.
875
+ # Receive information about a configuration.
876
+ #
877
+ # AWS AppConfig uses the value of the `ClientConfigurationVersion`
878
+ # parameter to identify the configuration version on your clients. If
879
+ # you don’t send `ClientConfigurationVersion` with each call to
880
+ # `GetConfiguration`, your clients receive the current configuration.
881
+ # You are charged each time your clients receive a configuration.
882
+ #
883
+ # To avoid excess charges, we recommend that you include the
884
+ # `ClientConfigurationVersion` value with every call to
885
+ # `GetConfiguration`. This value must be saved on your client.
886
+ # Subsequent calls to `GetConfiguration` must pass this value by using
887
+ # the `ClientConfigurationVersion` parameter.
774
888
  #
775
889
  # @option params [required, String] :application
776
890
  # The application to get. Specify either the application name or the
@@ -790,8 +904,27 @@ module Aws::AppConfig
790
904
  # in the deployment strategy.
791
905
  #
792
906
  # @option params [String] :client_configuration_version
793
- # The configuration version returned in the most recent GetConfiguration
794
- # response.
907
+ # The configuration version returned in the most recent
908
+ # `GetConfiguration` response.
909
+ #
910
+ # AWS AppConfig uses the value of the `ClientConfigurationVersion`
911
+ # parameter to identify the configuration version on your clients. If
912
+ # you don’t send `ClientConfigurationVersion` with each call to
913
+ # `GetConfiguration`, your clients receive the current configuration.
914
+ # You are charged each time your clients receive a configuration.
915
+ #
916
+ # To avoid excess charges, we recommend that you include the
917
+ # `ClientConfigurationVersion` value with every call to
918
+ # `GetConfiguration`. This value must be saved on your client.
919
+ # Subsequent calls to `GetConfiguration` must pass this value by using
920
+ # the `ClientConfigurationVersion` parameter.
921
+ #
922
+ # For more information about working with configurations, see
923
+ # [Retrieving the Configuration][1] in the *AWS AppConfig User Guide*.
924
+ #
925
+ #
926
+ #
927
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/appconfig-retrieving-the-configuration.html
795
928
  #
796
929
  # @return [Types::Configuration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
797
930
  #
@@ -1044,6 +1177,52 @@ module Aws::AppConfig
1044
1177
  req.send_request(options)
1045
1178
  end
1046
1179
 
1180
+ # Get information about a specific configuration version.
1181
+ #
1182
+ # @option params [required, String] :application_id
1183
+ # The application ID.
1184
+ #
1185
+ # @option params [required, String] :configuration_profile_id
1186
+ # The configuration profile ID.
1187
+ #
1188
+ # @option params [required, Integer] :version_number
1189
+ # The version.
1190
+ #
1191
+ # @return [Types::HostedConfigurationVersion] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1192
+ #
1193
+ # * {Types::HostedConfigurationVersion#application_id #application_id} => String
1194
+ # * {Types::HostedConfigurationVersion#configuration_profile_id #configuration_profile_id} => String
1195
+ # * {Types::HostedConfigurationVersion#version_number #version_number} => Integer
1196
+ # * {Types::HostedConfigurationVersion#description #description} => String
1197
+ # * {Types::HostedConfigurationVersion#content #content} => String
1198
+ # * {Types::HostedConfigurationVersion#content_type #content_type} => String
1199
+ #
1200
+ # @example Request syntax with placeholder values
1201
+ #
1202
+ # resp = client.get_hosted_configuration_version({
1203
+ # application_id: "Id", # required
1204
+ # configuration_profile_id: "Id", # required
1205
+ # version_number: 1, # required
1206
+ # })
1207
+ #
1208
+ # @example Response structure
1209
+ #
1210
+ # resp.application_id #=> String
1211
+ # resp.configuration_profile_id #=> String
1212
+ # resp.version_number #=> Integer
1213
+ # resp.description #=> String
1214
+ # resp.content #=> String
1215
+ # resp.content_type #=> String
1216
+ #
1217
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetHostedConfigurationVersion AWS API Documentation
1218
+ #
1219
+ # @overload get_hosted_configuration_version(params = {})
1220
+ # @param [Hash] params ({})
1221
+ def get_hosted_configuration_version(params = {}, options = {})
1222
+ req = build_request(:get_hosted_configuration_version, params)
1223
+ req.send_request(options)
1224
+ end
1225
+
1047
1226
  # List all applications in your AWS account.
1048
1227
  #
1049
1228
  # @option params [Integer] :max_results
@@ -1291,6 +1470,59 @@ module Aws::AppConfig
1291
1470
  req.send_request(options)
1292
1471
  end
1293
1472
 
1473
+ # View a list of configurations stored in the AppConfig configuration
1474
+ # store by version.
1475
+ #
1476
+ # @option params [required, String] :application_id
1477
+ # The application ID.
1478
+ #
1479
+ # @option params [required, String] :configuration_profile_id
1480
+ # The configuration profile ID.
1481
+ #
1482
+ # @option params [Integer] :max_results
1483
+ # The maximum number of items to return for this call. The call also
1484
+ # returns a token that you can specify in a subsequent call to get the
1485
+ # next set of results.
1486
+ #
1487
+ # @option params [String] :next_token
1488
+ # A token to start the list. Use this token to get the next set of
1489
+ # results.
1490
+ #
1491
+ # @return [Types::HostedConfigurationVersions] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1492
+ #
1493
+ # * {Types::HostedConfigurationVersions#items #items} => Array&lt;Types::HostedConfigurationVersionSummary&gt;
1494
+ # * {Types::HostedConfigurationVersions#next_token #next_token} => String
1495
+ #
1496
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1497
+ #
1498
+ # @example Request syntax with placeholder values
1499
+ #
1500
+ # resp = client.list_hosted_configuration_versions({
1501
+ # application_id: "Id", # required
1502
+ # configuration_profile_id: "Id", # required
1503
+ # max_results: 1,
1504
+ # next_token: "NextToken",
1505
+ # })
1506
+ #
1507
+ # @example Response structure
1508
+ #
1509
+ # resp.items #=> Array
1510
+ # resp.items[0].application_id #=> String
1511
+ # resp.items[0].configuration_profile_id #=> String
1512
+ # resp.items[0].version_number #=> Integer
1513
+ # resp.items[0].description #=> String
1514
+ # resp.items[0].content_type #=> String
1515
+ # resp.next_token #=> String
1516
+ #
1517
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListHostedConfigurationVersions AWS API Documentation
1518
+ #
1519
+ # @overload list_hosted_configuration_versions(params = {})
1520
+ # @param [Hash] params ({})
1521
+ def list_hosted_configuration_versions(params = {}, options = {})
1522
+ req = build_request(:list_hosted_configuration_versions, params)
1523
+ req.send_request(options)
1524
+ end
1525
+
1294
1526
  # Retrieves the list of key-value tags assigned to the resource.
1295
1527
  #
1296
1528
  # @option params [required, String] :resource_arn
@@ -1627,7 +1859,7 @@ module Aws::AppConfig
1627
1859
  # configuration_profile_id: "Id", # required
1628
1860
  # name: "Name",
1629
1861
  # description: "Description",
1630
- # retrieval_role_arn: "Arn",
1862
+ # retrieval_role_arn: "RoleArn",
1631
1863
  # validators: [
1632
1864
  # {
1633
1865
  # type: "JSON_SCHEMA", # required, accepts JSON_SCHEMA, LAMBDA
@@ -1784,7 +2016,7 @@ module Aws::AppConfig
1784
2016
  # monitors: [
1785
2017
  # {
1786
2018
  # alarm_arn: "Arn",
1787
- # alarm_role_arn: "Arn",
2019
+ # alarm_role_arn: "RoleArn",
1788
2020
  # },
1789
2021
  # ],
1790
2022
  # })
@@ -1853,7 +2085,7 @@ module Aws::AppConfig
1853
2085
  params: params,
1854
2086
  config: config)
1855
2087
  context[:gem_name] = 'aws-sdk-appconfig'
1856
- context[:gem_version] = '1.4.0'
2088
+ context[:gem_version] = '1.9.0'
1857
2089
  Seahorse::Client::Request.new(handlers, context)
1858
2090
  end
1859
2091
 
@@ -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: Arn, location_name: "RetrievalRoleArn"))
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: Arn, required: true, location_name: "RetrievalRoleArn"))
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: Arn, location_name: "AlarmRoleArn"))
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: Arn, location_name: "RetrievalRoleArn"))
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"