aws-sdk-appconfig 1.7.1 → 1.12.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
2
  SHA256:
3
- metadata.gz: 3cab30030cf053171922ac755e787f2deedcc332c3bcc1a3034e69097165a12f
4
- data.tar.gz: 1517397d645d33feb06a0dd600e399329ef766f1759039d07ebfe1110d6038a9
3
+ metadata.gz: 0e448cbea04054fd68e30b0f8ebac4317fe4c3cf2534dddbdbd3183c86476070
4
+ data.tar.gz: 120ef1da4a5ae5e9e0efa908f7d6ea135de3131438a43c4c115924bcfd0087a1
5
5
  SHA512:
6
- metadata.gz: a44b5ad1a72fe66df93168875e78e170446111864d9fd7d29403942d8d87f7b14bb42ffd7fc1e11b6968910c207c85ea08f2f1c3c7cdff0cf3b6640e03ae06fd
7
- data.tar.gz: 3527dd14ad58a646ea84b573a7e14cee73c58daca2888708ad761c5064131699fe02b7194062dc180fdbeed3571bb3d20229d0c54d07351322279d5b75d4db6b
6
+ metadata.gz: e515d9a1746c08b71e6d2aabda23c0638194d0fc60a07c4e159dd74c896dd532e0acdd5cda3d9f2711754694a32bf3485ebf3764dc31bf5a96ac93c6e346aeb1
7
+ data.tar.gz: 79ce883f0ae2e067f31823a0ad9aa1a482538e6a739183768aabcf8c839231b21cd75c62314547c16d817db3ed2ecbad6e458d1291770a0cd22d6fff3f3b4042
@@ -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
- # @service
48
+ # @!group service
46
49
  module Aws::AppConfig
47
50
 
48
- GEM_VERSION = '1.7.1'
51
+ GEM_VERSION = '1.12.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:
@@ -83,13 +85,28 @@ module Aws::AppConfig
83
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
84
86
  # credentials.
85
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
+ #
86
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
87
103
  # from an EC2 IMDS on an EC2 instance.
88
104
  #
89
- # * `Aws::SharedCredentials` - Used for loading credentials from a
90
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
91
107
  #
92
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
93
110
  #
94
111
  # When `:credentials` are not configured directly, the following
95
112
  # locations will be searched for credentials:
@@ -99,10 +116,10 @@ module Aws::AppConfig
99
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
100
117
  # * `~/.aws/credentials`
101
118
  # * `~/.aws/config`
102
- # * EC2 IMDS instance profile - When used by default, the timeouts are
103
- # very aggressive. Construct and pass an instance of
104
- # `Aws::InstanceProfileCredentails` to enable retries and extended
105
- # 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.
106
123
  #
107
124
  # @option options [required, String] :region
108
125
  # The AWS region to connect to. The configured `:region` is
@@ -398,7 +415,7 @@ module Aws::AppConfig
398
415
  # `s3://<bucket>/<objectKey> `. Here is an example:
399
416
  # s3://my-bucket/my-app/us-east-1/my-config.json
400
417
  #
401
- # @option params [required, String] :retrieval_role_arn
418
+ # @option params [String] :retrieval_role_arn
402
419
  # The ARN of an IAM role with permission to access the configuration at
403
420
  # the specified LocationUri.
404
421
  #
@@ -427,7 +444,7 @@ module Aws::AppConfig
427
444
  # name: "Name", # required
428
445
  # description: "Description",
429
446
  # location_uri: "Uri", # required
430
- # retrieval_role_arn: "RoleArn", # required
447
+ # retrieval_role_arn: "RoleArn",
431
448
  # validators: [
432
449
  # {
433
450
  # type: "JSON_SCHEMA", # required, accepts JSON_SCHEMA, LAMBDA
@@ -639,6 +656,73 @@ module Aws::AppConfig
639
656
  req.send_request(options)
640
657
  end
641
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
+
642
726
  # Delete an application. Deleting an application does not delete a
643
727
  # configuration from a host.
644
728
  #
@@ -740,6 +824,37 @@ module Aws::AppConfig
740
824
  req.send_request(options)
741
825
  end
742
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
+
743
858
  # Retrieve information about an application.
744
859
  #
745
860
  # @option params [required, String] :application_id
@@ -1077,6 +1192,52 @@ module Aws::AppConfig
1077
1192
  req.send_request(options)
1078
1193
  end
1079
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
+
1080
1241
  # List all applications in your AWS account.
1081
1242
  #
1082
1243
  # @option params [Integer] :max_results
@@ -1324,6 +1485,59 @@ module Aws::AppConfig
1324
1485
  req.send_request(options)
1325
1486
  end
1326
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&lt;Types::HostedConfigurationVersionSummary&gt;
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
+
1327
1541
  # Retrieves the list of key-value tags assigned to the resource.
1328
1542
  #
1329
1543
  # @option params [required, String] :resource_arn
@@ -1886,7 +2100,7 @@ module Aws::AppConfig
1886
2100
  params: params,
1887
2101
  config: config)
1888
2102
  context[:gem_name] = 'aws-sdk-appconfig'
1889
- context[:gem_version] = '1.7.1'
2103
+ context[:gem_version] = '1.12.0'
1890
2104
  Seahorse::Client::Request.new(handlers, context)
1891
2105
  end
1892
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,15 +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')
79
92
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
93
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
80
94
  StartDeploymentRequest = Shapes::StructureShape.new(name: 'StartDeploymentRequest')
81
95
  StopDeploymentRequest = Shapes::StructureShape.new(name: 'StopDeploymentRequest')
82
96
  String = Shapes::StringShape.new(name: 'String')
83
97
  StringWithLengthBetween0And32768 = Shapes::StringShape.new(name: 'StringWithLengthBetween0And32768')
98
+ StringWithLengthBetween1And255 = Shapes::StringShape.new(name: 'StringWithLengthBetween1And255')
84
99
  StringWithLengthBetween1And64 = Shapes::StringShape.new(name: 'StringWithLengthBetween1And64')
85
100
  TagKey = Shapes::StringShape.new(name: 'TagKey')
86
101
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
@@ -156,7 +171,7 @@ module Aws::AppConfig
156
171
  CreateConfigurationProfileRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
157
172
  CreateConfigurationProfileRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
158
173
  CreateConfigurationProfileRequest.add_member(:location_uri, Shapes::ShapeRef.new(shape: Uri, required: true, location_name: "LocationUri"))
159
- CreateConfigurationProfileRequest.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "RetrievalRoleArn"))
174
+ CreateConfigurationProfileRequest.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RetrievalRoleArn"))
160
175
  CreateConfigurationProfileRequest.add_member(:validators, Shapes::ShapeRef.new(shape: ValidatorList, location_name: "Validators"))
161
176
  CreateConfigurationProfileRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
162
177
  CreateConfigurationProfileRequest.struct_class = Types::CreateConfigurationProfileRequest
@@ -178,6 +193,16 @@ module Aws::AppConfig
178
193
  CreateEnvironmentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
179
194
  CreateEnvironmentRequest.struct_class = Types::CreateEnvironmentRequest
180
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
+
181
206
  DeleteApplicationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
182
207
  DeleteApplicationRequest.struct_class = Types::DeleteApplicationRequest
183
208
 
@@ -192,6 +217,11 @@ module Aws::AppConfig
192
217
  DeleteEnvironmentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "EnvironmentId"))
193
218
  DeleteEnvironmentRequest.struct_class = Types::DeleteEnvironmentRequest
194
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
+
195
225
  Deployment.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, location_name: "ApplicationId"))
196
226
  Deployment.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, location_name: "EnvironmentId"))
197
227
  Deployment.add_member(:deployment_strategy_id, Shapes::ShapeRef.new(shape: Id, location_name: "DeploymentStrategyId"))
@@ -295,6 +325,34 @@ module Aws::AppConfig
295
325
  GetEnvironmentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "EnvironmentId"))
296
326
  GetEnvironmentRequest.struct_class = Types::GetEnvironmentRequest
297
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
+
298
356
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
299
357
  InternalServerException.struct_class = Types::InternalServerException
300
358
 
@@ -322,6 +380,12 @@ module Aws::AppConfig
322
380
  ListEnvironmentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next_token"))
323
381
  ListEnvironmentsRequest.struct_class = Types::ListEnvironmentsRequest
324
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
+
325
389
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
326
390
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
327
391
 
@@ -331,6 +395,12 @@ module Aws::AppConfig
331
395
 
332
396
  MonitorList.member = Shapes::ShapeRef.new(shape: Monitor)
333
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
+
334
404
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
335
405
  ResourceNotFoundException.add_member(:resource_name, Shapes::ShapeRef.new(shape: String, location_name: "ResourceName"))
336
406
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
@@ -338,6 +408,9 @@ module Aws::AppConfig
338
408
  ResourceTags.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
339
409
  ResourceTags.struct_class = Types::ResourceTags
340
410
 
411
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
412
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
413
+
341
414
  StartDeploymentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
342
415
  StartDeploymentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "EnvironmentId"))
343
416
  StartDeploymentRequest.add_member(:deployment_strategy_id, Shapes::ShapeRef.new(shape: DeploymentStrategyId, required: true, location_name: "DeploymentStrategyId"))
@@ -467,6 +540,20 @@ module Aws::AppConfig
467
540
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
468
541
  end)
469
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
+
470
557
  api.add_operation(:delete_application, Seahorse::Model::Operation.new.tap do |o|
471
558
  o.name = "DeleteApplication"
472
559
  o.http_method = "DELETE"
@@ -513,6 +600,17 @@ module Aws::AppConfig
513
600
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
514
601
  end)
515
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
+
516
614
  api.add_operation(:get_application, Seahorse::Model::Operation.new.tap do |o|
517
615
  o.name = "GetApplication"
518
616
  o.http_method = "GET"
@@ -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"