aws-sdk-appconfig 1.7.1 → 1.8.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: 4563aeacfbef69605c77d067d9a5e2c711ccb67105dcea4af13a98a73717cc4c
4
+ data.tar.gz: 83871b5c7fc063881c8f89187fc3c4170194cd56f4b7c5c48e2915e35bc0f3ce
5
5
  SHA512:
6
- metadata.gz: a44b5ad1a72fe66df93168875e78e170446111864d9fd7d29403942d8d87f7b14bb42ffd7fc1e11b6968910c207c85ea08f2f1c3c7cdff0cf3b6640e03ae06fd
7
- data.tar.gz: 3527dd14ad58a646ea84b573a7e14cee73c58daca2888708ad761c5064131699fe02b7194062dc180fdbeed3571bb3d20229d0c54d07351322279d5b75d4db6b
6
+ metadata.gz: 49819f6434f5c2e9dd651bd5946435cadf28f5e17ca16e6b381fc0540830dc7750381dafd9608341adff86c6250e852e81639a7baa1776384c56f1b79fba055b
7
+ data.tar.gz: c8dd5c0d2755ebfb6a060ef0747839c6d4af3cdc8407bedcc9556b8dcf3b1930e9256ec01dc9e85ec0eec74e3cf90dd1f33e3401facc146059f1b9212a86ff2a
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-appconfig/customizations'
45
45
  # @service
46
46
  module Aws::AppConfig
47
47
 
48
- GEM_VERSION = '1.7.1'
48
+ GEM_VERSION = '1.8.0'
49
49
 
50
50
  end
@@ -398,7 +398,7 @@ module Aws::AppConfig
398
398
  # `s3://<bucket>/<objectKey> `. Here is an example:
399
399
  # s3://my-bucket/my-app/us-east-1/my-config.json
400
400
  #
401
- # @option params [required, String] :retrieval_role_arn
401
+ # @option params [String] :retrieval_role_arn
402
402
  # The ARN of an IAM role with permission to access the configuration at
403
403
  # the specified LocationUri.
404
404
  #
@@ -427,7 +427,7 @@ module Aws::AppConfig
427
427
  # name: "Name", # required
428
428
  # description: "Description",
429
429
  # location_uri: "Uri", # required
430
- # retrieval_role_arn: "RoleArn", # required
430
+ # retrieval_role_arn: "RoleArn",
431
431
  # validators: [
432
432
  # {
433
433
  # type: "JSON_SCHEMA", # required, accepts JSON_SCHEMA, LAMBDA
@@ -639,6 +639,73 @@ module Aws::AppConfig
639
639
  req.send_request(options)
640
640
  end
641
641
 
642
+ # Create a new configuration in the AppConfig configuration store.
643
+ #
644
+ # @option params [required, String] :application_id
645
+ # The application ID.
646
+ #
647
+ # @option params [required, String] :configuration_profile_id
648
+ # The configuration profile ID.
649
+ #
650
+ # @option params [String] :description
651
+ # A description of the configuration.
652
+ #
653
+ # @option params [required, String, IO] :content
654
+ # The content of the configuration or the configuration data.
655
+ #
656
+ # @option params [required, String] :content_type
657
+ # A standard MIME type describing the format of the configuration
658
+ # content. For more information, see [Content-Type][1].
659
+ #
660
+ #
661
+ #
662
+ # [1]: https://docs.aws.amazon.com/https:/www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
663
+ #
664
+ # @option params [Integer] :latest_version_number
665
+ # An optional locking token used to prevent race conditions from
666
+ # overwriting configuration updates when creating a new version. To
667
+ # ensure your data is not overwritten when creating multiple hosted
668
+ # configuration versions in rapid succession, specify the version of the
669
+ # latest hosted configuration version.
670
+ #
671
+ # @return [Types::HostedConfigurationVersion] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
672
+ #
673
+ # * {Types::HostedConfigurationVersion#application_id #application_id} => String
674
+ # * {Types::HostedConfigurationVersion#configuration_profile_id #configuration_profile_id} => String
675
+ # * {Types::HostedConfigurationVersion#version_number #version_number} => Integer
676
+ # * {Types::HostedConfigurationVersion#description #description} => String
677
+ # * {Types::HostedConfigurationVersion#content #content} => String
678
+ # * {Types::HostedConfigurationVersion#content_type #content_type} => String
679
+ #
680
+ # @example Request syntax with placeholder values
681
+ #
682
+ # resp = client.create_hosted_configuration_version({
683
+ # application_id: "Id", # required
684
+ # configuration_profile_id: "Id", # required
685
+ # description: "Description",
686
+ # content: "data", # required
687
+ # content_type: "StringWithLengthBetween1And255", # required
688
+ # latest_version_number: 1,
689
+ # })
690
+ #
691
+ # @example Response structure
692
+ #
693
+ # resp.application_id #=> String
694
+ # resp.configuration_profile_id #=> String
695
+ # resp.version_number #=> Integer
696
+ # resp.description #=> String
697
+ # resp.content #=> String
698
+ # resp.content_type #=> String
699
+ #
700
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateHostedConfigurationVersion AWS API Documentation
701
+ #
702
+ # @overload create_hosted_configuration_version(params = {})
703
+ # @param [Hash] params ({})
704
+ def create_hosted_configuration_version(params = {}, options = {})
705
+ req = build_request(:create_hosted_configuration_version, params)
706
+ req.send_request(options)
707
+ end
708
+
642
709
  # Delete an application. Deleting an application does not delete a
643
710
  # configuration from a host.
644
711
  #
@@ -740,6 +807,37 @@ module Aws::AppConfig
740
807
  req.send_request(options)
741
808
  end
742
809
 
810
+ # Delete a version of a configuration from the AppConfig configuration
811
+ # store.
812
+ #
813
+ # @option params [required, String] :application_id
814
+ # The application ID.
815
+ #
816
+ # @option params [required, String] :configuration_profile_id
817
+ # The configuration profile ID.
818
+ #
819
+ # @option params [required, Integer] :version_number
820
+ # The versions number to delete.
821
+ #
822
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
823
+ #
824
+ # @example Request syntax with placeholder values
825
+ #
826
+ # resp = client.delete_hosted_configuration_version({
827
+ # application_id: "Id", # required
828
+ # configuration_profile_id: "Id", # required
829
+ # version_number: 1, # required
830
+ # })
831
+ #
832
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteHostedConfigurationVersion AWS API Documentation
833
+ #
834
+ # @overload delete_hosted_configuration_version(params = {})
835
+ # @param [Hash] params ({})
836
+ def delete_hosted_configuration_version(params = {}, options = {})
837
+ req = build_request(:delete_hosted_configuration_version, params)
838
+ req.send_request(options)
839
+ end
840
+
743
841
  # Retrieve information about an application.
744
842
  #
745
843
  # @option params [required, String] :application_id
@@ -1077,6 +1175,52 @@ module Aws::AppConfig
1077
1175
  req.send_request(options)
1078
1176
  end
1079
1177
 
1178
+ # Get information about a specific configuration version.
1179
+ #
1180
+ # @option params [required, String] :application_id
1181
+ # The application ID.
1182
+ #
1183
+ # @option params [required, String] :configuration_profile_id
1184
+ # The configuration profile ID.
1185
+ #
1186
+ # @option params [required, Integer] :version_number
1187
+ # The version.
1188
+ #
1189
+ # @return [Types::HostedConfigurationVersion] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1190
+ #
1191
+ # * {Types::HostedConfigurationVersion#application_id #application_id} => String
1192
+ # * {Types::HostedConfigurationVersion#configuration_profile_id #configuration_profile_id} => String
1193
+ # * {Types::HostedConfigurationVersion#version_number #version_number} => Integer
1194
+ # * {Types::HostedConfigurationVersion#description #description} => String
1195
+ # * {Types::HostedConfigurationVersion#content #content} => String
1196
+ # * {Types::HostedConfigurationVersion#content_type #content_type} => String
1197
+ #
1198
+ # @example Request syntax with placeholder values
1199
+ #
1200
+ # resp = client.get_hosted_configuration_version({
1201
+ # application_id: "Id", # required
1202
+ # configuration_profile_id: "Id", # required
1203
+ # version_number: 1, # required
1204
+ # })
1205
+ #
1206
+ # @example Response structure
1207
+ #
1208
+ # resp.application_id #=> String
1209
+ # resp.configuration_profile_id #=> String
1210
+ # resp.version_number #=> Integer
1211
+ # resp.description #=> String
1212
+ # resp.content #=> String
1213
+ # resp.content_type #=> String
1214
+ #
1215
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetHostedConfigurationVersion AWS API Documentation
1216
+ #
1217
+ # @overload get_hosted_configuration_version(params = {})
1218
+ # @param [Hash] params ({})
1219
+ def get_hosted_configuration_version(params = {}, options = {})
1220
+ req = build_request(:get_hosted_configuration_version, params)
1221
+ req.send_request(options)
1222
+ end
1223
+
1080
1224
  # List all applications in your AWS account.
1081
1225
  #
1082
1226
  # @option params [Integer] :max_results
@@ -1324,6 +1468,59 @@ module Aws::AppConfig
1324
1468
  req.send_request(options)
1325
1469
  end
1326
1470
 
1471
+ # View a list of configurations stored in the AppConfig configuration
1472
+ # store by version.
1473
+ #
1474
+ # @option params [required, String] :application_id
1475
+ # The application ID.
1476
+ #
1477
+ # @option params [required, String] :configuration_profile_id
1478
+ # The configuration profile ID.
1479
+ #
1480
+ # @option params [Integer] :max_results
1481
+ # The maximum number of items to return for this call. The call also
1482
+ # returns a token that you can specify in a subsequent call to get the
1483
+ # next set of results.
1484
+ #
1485
+ # @option params [String] :next_token
1486
+ # A token to start the list. Use this token to get the next set of
1487
+ # results.
1488
+ #
1489
+ # @return [Types::HostedConfigurationVersions] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1490
+ #
1491
+ # * {Types::HostedConfigurationVersions#items #items} => Array&lt;Types::HostedConfigurationVersionSummary&gt;
1492
+ # * {Types::HostedConfigurationVersions#next_token #next_token} => String
1493
+ #
1494
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1495
+ #
1496
+ # @example Request syntax with placeholder values
1497
+ #
1498
+ # resp = client.list_hosted_configuration_versions({
1499
+ # application_id: "Id", # required
1500
+ # configuration_profile_id: "Id", # required
1501
+ # max_results: 1,
1502
+ # next_token: "NextToken",
1503
+ # })
1504
+ #
1505
+ # @example Response structure
1506
+ #
1507
+ # resp.items #=> Array
1508
+ # resp.items[0].application_id #=> String
1509
+ # resp.items[0].configuration_profile_id #=> String
1510
+ # resp.items[0].version_number #=> Integer
1511
+ # resp.items[0].description #=> String
1512
+ # resp.items[0].content_type #=> String
1513
+ # resp.next_token #=> String
1514
+ #
1515
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListHostedConfigurationVersions AWS API Documentation
1516
+ #
1517
+ # @overload list_hosted_configuration_versions(params = {})
1518
+ # @param [Hash] params ({})
1519
+ def list_hosted_configuration_versions(params = {}, options = {})
1520
+ req = build_request(:list_hosted_configuration_versions, params)
1521
+ req.send_request(options)
1522
+ end
1523
+
1327
1524
  # Retrieves the list of key-value tags assigned to the resource.
1328
1525
  #
1329
1526
  # @option params [required, String] :resource_arn
@@ -1886,7 +2083,7 @@ module Aws::AppConfig
1886
2083
  params: params,
1887
2084
  config: config)
1888
2085
  context[:gem_name] = 'aws-sdk-appconfig'
1889
- context[:gem_version] = '1.7.1'
2086
+ context[:gem_version] = '1.8.0'
1890
2087
  Seahorse::Client::Request.new(handlers, context)
1891
2088
  end
1892
2089
 
@@ -17,6 +17,7 @@ module Aws::AppConfig
17
17
  Arn = Shapes::StringShape.new(name: 'Arn')
18
18
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
19
19
  Blob = Shapes::BlobShape.new(name: 'Blob')
20
+ BytesMeasure = Shapes::StringShape.new(name: 'BytesMeasure')
20
21
  Configuration = Shapes::StructureShape.new(name: 'Configuration')
21
22
  ConfigurationProfile = Shapes::StructureShape.new(name: 'ConfigurationProfile')
22
23
  ConfigurationProfileSummary = Shapes::StructureShape.new(name: 'ConfigurationProfileSummary')
@@ -27,10 +28,12 @@ module Aws::AppConfig
27
28
  CreateConfigurationProfileRequest = Shapes::StructureShape.new(name: 'CreateConfigurationProfileRequest')
28
29
  CreateDeploymentStrategyRequest = Shapes::StructureShape.new(name: 'CreateDeploymentStrategyRequest')
29
30
  CreateEnvironmentRequest = Shapes::StructureShape.new(name: 'CreateEnvironmentRequest')
31
+ CreateHostedConfigurationVersionRequest = Shapes::StructureShape.new(name: 'CreateHostedConfigurationVersionRequest')
30
32
  DeleteApplicationRequest = Shapes::StructureShape.new(name: 'DeleteApplicationRequest')
31
33
  DeleteConfigurationProfileRequest = Shapes::StructureShape.new(name: 'DeleteConfigurationProfileRequest')
32
34
  DeleteDeploymentStrategyRequest = Shapes::StructureShape.new(name: 'DeleteDeploymentStrategyRequest')
33
35
  DeleteEnvironmentRequest = Shapes::StructureShape.new(name: 'DeleteEnvironmentRequest')
36
+ DeleteHostedConfigurationVersionRequest = Shapes::StructureShape.new(name: 'DeleteHostedConfigurationVersionRequest')
34
37
  Deployment = Shapes::StructureShape.new(name: 'Deployment')
35
38
  DeploymentEvent = Shapes::StructureShape.new(name: 'DeploymentEvent')
36
39
  DeploymentEventType = Shapes::StringShape.new(name: 'DeploymentEventType')
@@ -48,14 +51,20 @@ module Aws::AppConfig
48
51
  EnvironmentList = Shapes::ListShape.new(name: 'EnvironmentList')
49
52
  EnvironmentState = Shapes::StringShape.new(name: 'EnvironmentState')
50
53
  Environments = Shapes::StructureShape.new(name: 'Environments')
54
+ Float = Shapes::FloatShape.new(name: 'Float')
51
55
  GetApplicationRequest = Shapes::StructureShape.new(name: 'GetApplicationRequest')
52
56
  GetConfigurationProfileRequest = Shapes::StructureShape.new(name: 'GetConfigurationProfileRequest')
53
57
  GetConfigurationRequest = Shapes::StructureShape.new(name: 'GetConfigurationRequest')
54
58
  GetDeploymentRequest = Shapes::StructureShape.new(name: 'GetDeploymentRequest')
55
59
  GetDeploymentStrategyRequest = Shapes::StructureShape.new(name: 'GetDeploymentStrategyRequest')
56
60
  GetEnvironmentRequest = Shapes::StructureShape.new(name: 'GetEnvironmentRequest')
61
+ GetHostedConfigurationVersionRequest = Shapes::StructureShape.new(name: 'GetHostedConfigurationVersionRequest')
57
62
  GrowthFactor = Shapes::FloatShape.new(name: 'GrowthFactor')
58
63
  GrowthType = Shapes::StringShape.new(name: 'GrowthType')
64
+ HostedConfigurationVersion = Shapes::StructureShape.new(name: 'HostedConfigurationVersion')
65
+ HostedConfigurationVersionSummary = Shapes::StructureShape.new(name: 'HostedConfigurationVersionSummary')
66
+ HostedConfigurationVersionSummaryList = Shapes::ListShape.new(name: 'HostedConfigurationVersionSummaryList')
67
+ HostedConfigurationVersions = Shapes::StructureShape.new(name: 'HostedConfigurationVersions')
59
68
  Id = Shapes::StringShape.new(name: 'Id')
60
69
  Integer = Shapes::IntegerShape.new(name: 'Integer')
61
70
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
@@ -65,6 +74,7 @@ module Aws::AppConfig
65
74
  ListDeploymentStrategiesRequest = Shapes::StructureShape.new(name: 'ListDeploymentStrategiesRequest')
66
75
  ListDeploymentsRequest = Shapes::StructureShape.new(name: 'ListDeploymentsRequest')
67
76
  ListEnvironmentsRequest = Shapes::StructureShape.new(name: 'ListEnvironmentsRequest')
77
+ ListHostedConfigurationVersionsRequest = Shapes::StructureShape.new(name: 'ListHostedConfigurationVersionsRequest')
68
78
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
69
79
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
70
80
  MinutesBetween0And24Hours = Shapes::IntegerShape.new(name: 'MinutesBetween0And24Hours')
@@ -72,15 +82,18 @@ module Aws::AppConfig
72
82
  MonitorList = Shapes::ListShape.new(name: 'MonitorList')
73
83
  Name = Shapes::StringShape.new(name: 'Name')
74
84
  NextToken = Shapes::StringShape.new(name: 'NextToken')
85
+ PayloadTooLargeException = Shapes::StructureShape.new(name: 'PayloadTooLargeException')
75
86
  Percentage = Shapes::FloatShape.new(name: 'Percentage')
76
87
  ReplicateTo = Shapes::StringShape.new(name: 'ReplicateTo')
77
88
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
78
89
  ResourceTags = Shapes::StructureShape.new(name: 'ResourceTags')
79
90
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
91
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
80
92
  StartDeploymentRequest = Shapes::StructureShape.new(name: 'StartDeploymentRequest')
81
93
  StopDeploymentRequest = Shapes::StructureShape.new(name: 'StopDeploymentRequest')
82
94
  String = Shapes::StringShape.new(name: 'String')
83
95
  StringWithLengthBetween0And32768 = Shapes::StringShape.new(name: 'StringWithLengthBetween0And32768')
96
+ StringWithLengthBetween1And255 = Shapes::StringShape.new(name: 'StringWithLengthBetween1And255')
84
97
  StringWithLengthBetween1And64 = Shapes::StringShape.new(name: 'StringWithLengthBetween1And64')
85
98
  TagKey = Shapes::StringShape.new(name: 'TagKey')
86
99
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
@@ -156,7 +169,7 @@ module Aws::AppConfig
156
169
  CreateConfigurationProfileRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
157
170
  CreateConfigurationProfileRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
158
171
  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"))
172
+ CreateConfigurationProfileRequest.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RetrievalRoleArn"))
160
173
  CreateConfigurationProfileRequest.add_member(:validators, Shapes::ShapeRef.new(shape: ValidatorList, location_name: "Validators"))
161
174
  CreateConfigurationProfileRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
162
175
  CreateConfigurationProfileRequest.struct_class = Types::CreateConfigurationProfileRequest
@@ -178,6 +191,16 @@ module Aws::AppConfig
178
191
  CreateEnvironmentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
179
192
  CreateEnvironmentRequest.struct_class = Types::CreateEnvironmentRequest
180
193
 
194
+ CreateHostedConfigurationVersionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
195
+ CreateHostedConfigurationVersionRequest.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ConfigurationProfileId"))
196
+ CreateHostedConfigurationVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location: "header", location_name: "Description"))
197
+ CreateHostedConfigurationVersionRequest.add_member(:content, Shapes::ShapeRef.new(shape: Blob, required: true, location_name: "Content"))
198
+ CreateHostedConfigurationVersionRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And255, required: true, location: "header", location_name: "Content-Type"))
199
+ CreateHostedConfigurationVersionRequest.add_member(:latest_version_number, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Latest-Version-Number", metadata: {"box"=>true}))
200
+ CreateHostedConfigurationVersionRequest.struct_class = Types::CreateHostedConfigurationVersionRequest
201
+ CreateHostedConfigurationVersionRequest[:payload] = :content
202
+ CreateHostedConfigurationVersionRequest[:payload_member] = CreateHostedConfigurationVersionRequest.member(:content)
203
+
181
204
  DeleteApplicationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
182
205
  DeleteApplicationRequest.struct_class = Types::DeleteApplicationRequest
183
206
 
@@ -192,6 +215,11 @@ module Aws::AppConfig
192
215
  DeleteEnvironmentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "EnvironmentId"))
193
216
  DeleteEnvironmentRequest.struct_class = Types::DeleteEnvironmentRequest
194
217
 
218
+ DeleteHostedConfigurationVersionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
219
+ DeleteHostedConfigurationVersionRequest.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ConfigurationProfileId"))
220
+ DeleteHostedConfigurationVersionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: Integer, required: true, location: "uri", location_name: "VersionNumber"))
221
+ DeleteHostedConfigurationVersionRequest.struct_class = Types::DeleteHostedConfigurationVersionRequest
222
+
195
223
  Deployment.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, location_name: "ApplicationId"))
196
224
  Deployment.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, location_name: "EnvironmentId"))
197
225
  Deployment.add_member(:deployment_strategy_id, Shapes::ShapeRef.new(shape: Id, location_name: "DeploymentStrategyId"))
@@ -295,6 +323,34 @@ module Aws::AppConfig
295
323
  GetEnvironmentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "EnvironmentId"))
296
324
  GetEnvironmentRequest.struct_class = Types::GetEnvironmentRequest
297
325
 
326
+ GetHostedConfigurationVersionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
327
+ GetHostedConfigurationVersionRequest.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ConfigurationProfileId"))
328
+ GetHostedConfigurationVersionRequest.add_member(:version_number, Shapes::ShapeRef.new(shape: Integer, required: true, location: "uri", location_name: "VersionNumber"))
329
+ GetHostedConfigurationVersionRequest.struct_class = Types::GetHostedConfigurationVersionRequest
330
+
331
+ HostedConfigurationVersion.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, location: "header", location_name: "Application-Id"))
332
+ HostedConfigurationVersion.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, location: "header", location_name: "Configuration-Profile-Id"))
333
+ HostedConfigurationVersion.add_member(:version_number, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Version-Number"))
334
+ HostedConfigurationVersion.add_member(:description, Shapes::ShapeRef.new(shape: Description, location: "header", location_name: "Description"))
335
+ HostedConfigurationVersion.add_member(:content, Shapes::ShapeRef.new(shape: Blob, location_name: "Content"))
336
+ HostedConfigurationVersion.add_member(:content_type, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And255, location: "header", location_name: "Content-Type"))
337
+ HostedConfigurationVersion.struct_class = Types::HostedConfigurationVersion
338
+ HostedConfigurationVersion[:payload] = :content
339
+ HostedConfigurationVersion[:payload_member] = HostedConfigurationVersion.member(:content)
340
+
341
+ HostedConfigurationVersionSummary.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, location_name: "ApplicationId"))
342
+ HostedConfigurationVersionSummary.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, location_name: "ConfigurationProfileId"))
343
+ HostedConfigurationVersionSummary.add_member(:version_number, Shapes::ShapeRef.new(shape: Integer, location_name: "VersionNumber"))
344
+ HostedConfigurationVersionSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
345
+ HostedConfigurationVersionSummary.add_member(:content_type, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And255, location_name: "ContentType"))
346
+ HostedConfigurationVersionSummary.struct_class = Types::HostedConfigurationVersionSummary
347
+
348
+ HostedConfigurationVersionSummaryList.member = Shapes::ShapeRef.new(shape: HostedConfigurationVersionSummary)
349
+
350
+ HostedConfigurationVersions.add_member(:items, Shapes::ShapeRef.new(shape: HostedConfigurationVersionSummaryList, location_name: "Items"))
351
+ HostedConfigurationVersions.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
352
+ HostedConfigurationVersions.struct_class = Types::HostedConfigurationVersions
353
+
298
354
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
299
355
  InternalServerException.struct_class = Types::InternalServerException
300
356
 
@@ -322,6 +378,12 @@ module Aws::AppConfig
322
378
  ListEnvironmentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next_token"))
323
379
  ListEnvironmentsRequest.struct_class = Types::ListEnvironmentsRequest
324
380
 
381
+ ListHostedConfigurationVersionsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
382
+ ListHostedConfigurationVersionsRequest.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ConfigurationProfileId"))
383
+ ListHostedConfigurationVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box"=>true}))
384
+ ListHostedConfigurationVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next_token"))
385
+ ListHostedConfigurationVersionsRequest.struct_class = Types::ListHostedConfigurationVersionsRequest
386
+
325
387
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
326
388
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
327
389
 
@@ -331,6 +393,12 @@ module Aws::AppConfig
331
393
 
332
394
  MonitorList.member = Shapes::ShapeRef.new(shape: Monitor)
333
395
 
396
+ PayloadTooLargeException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
397
+ PayloadTooLargeException.add_member(:measure, Shapes::ShapeRef.new(shape: BytesMeasure, location_name: "Measure"))
398
+ PayloadTooLargeException.add_member(:limit, Shapes::ShapeRef.new(shape: Float, location_name: "Limit"))
399
+ PayloadTooLargeException.add_member(:size, Shapes::ShapeRef.new(shape: Float, location_name: "Size"))
400
+ PayloadTooLargeException.struct_class = Types::PayloadTooLargeException
401
+
334
402
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
335
403
  ResourceNotFoundException.add_member(:resource_name, Shapes::ShapeRef.new(shape: String, location_name: "ResourceName"))
336
404
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
@@ -338,6 +406,9 @@ module Aws::AppConfig
338
406
  ResourceTags.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
339
407
  ResourceTags.struct_class = Types::ResourceTags
340
408
 
409
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
410
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
411
+
341
412
  StartDeploymentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
342
413
  StartDeploymentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "EnvironmentId"))
343
414
  StartDeploymentRequest.add_member(:deployment_strategy_id, Shapes::ShapeRef.new(shape: DeploymentStrategyId, required: true, location_name: "DeploymentStrategyId"))
@@ -467,6 +538,20 @@ module Aws::AppConfig
467
538
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
468
539
  end)
469
540
 
541
+ api.add_operation(:create_hosted_configuration_version, Seahorse::Model::Operation.new.tap do |o|
542
+ o.name = "CreateHostedConfigurationVersion"
543
+ o.http_method = "POST"
544
+ o.http_request_uri = "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions"
545
+ o.input = Shapes::ShapeRef.new(shape: CreateHostedConfigurationVersionRequest)
546
+ o.output = Shapes::ShapeRef.new(shape: HostedConfigurationVersion)
547
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
548
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
549
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
550
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
551
+ o.errors << Shapes::ShapeRef.new(shape: PayloadTooLargeException)
552
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
553
+ end)
554
+
470
555
  api.add_operation(:delete_application, Seahorse::Model::Operation.new.tap do |o|
471
556
  o.name = "DeleteApplication"
472
557
  o.http_method = "DELETE"
@@ -513,6 +598,17 @@ module Aws::AppConfig
513
598
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
514
599
  end)
515
600
 
601
+ api.add_operation(:delete_hosted_configuration_version, Seahorse::Model::Operation.new.tap do |o|
602
+ o.name = "DeleteHostedConfigurationVersion"
603
+ o.http_method = "DELETE"
604
+ o.http_request_uri = "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions/{VersionNumber}"
605
+ o.input = Shapes::ShapeRef.new(shape: DeleteHostedConfigurationVersionRequest)
606
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
607
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
608
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
609
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
610
+ end)
611
+
516
612
  api.add_operation(:get_application, Seahorse::Model::Operation.new.tap do |o|
517
613
  o.name = "GetApplication"
518
614
  o.http_method = "GET"
@@ -579,6 +675,17 @@ module Aws::AppConfig
579
675
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
580
676
  end)
581
677
 
678
+ api.add_operation(:get_hosted_configuration_version, Seahorse::Model::Operation.new.tap do |o|
679
+ o.name = "GetHostedConfigurationVersion"
680
+ o.http_method = "GET"
681
+ o.http_request_uri = "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions/{VersionNumber}"
682
+ o.input = Shapes::ShapeRef.new(shape: GetHostedConfigurationVersionRequest)
683
+ o.output = Shapes::ShapeRef.new(shape: HostedConfigurationVersion)
684
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
685
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
686
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
687
+ end)
688
+
582
689
  api.add_operation(:list_applications, Seahorse::Model::Operation.new.tap do |o|
583
690
  o.name = "ListApplications"
584
691
  o.http_method = "GET"
@@ -662,6 +769,23 @@ module Aws::AppConfig
662
769
  )
663
770
  end)
664
771
 
772
+ api.add_operation(:list_hosted_configuration_versions, Seahorse::Model::Operation.new.tap do |o|
773
+ o.name = "ListHostedConfigurationVersions"
774
+ o.http_method = "GET"
775
+ o.http_request_uri = "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions"
776
+ o.input = Shapes::ShapeRef.new(shape: ListHostedConfigurationVersionsRequest)
777
+ o.output = Shapes::ShapeRef.new(shape: HostedConfigurationVersions)
778
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
779
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
780
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
781
+ o[:pager] = Aws::Pager.new(
782
+ limit_key: "max_results",
783
+ tokens: {
784
+ "next_token" => "next_token"
785
+ }
786
+ )
787
+ end)
788
+
665
789
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
666
790
  o.name = "ListTagsForResource"
667
791
  o.http_method = "GET"
@@ -28,7 +28,9 @@ module Aws::AppConfig
28
28
  # * {BadRequestException}
29
29
  # * {ConflictException}
30
30
  # * {InternalServerException}
31
+ # * {PayloadTooLargeException}
31
32
  # * {ResourceNotFoundException}
33
+ # * {ServiceQuotaExceededException}
32
34
  #
33
35
  # Additionally, error classes are dynamically generated for service errors based on the error code
34
36
  # if they are not defined above.
@@ -81,6 +83,36 @@ module Aws::AppConfig
81
83
  end
82
84
  end
83
85
 
86
+ class PayloadTooLargeException < ServiceError
87
+
88
+ # @param [Seahorse::Client::RequestContext] context
89
+ # @param [String] message
90
+ # @param [Aws::AppConfig::Types::PayloadTooLargeException] data
91
+ def initialize(context, message, data = Aws::EmptyStructure.new)
92
+ super(context, message, data)
93
+ end
94
+
95
+ # @return [String]
96
+ def message
97
+ @message || @data[:message]
98
+ end
99
+
100
+ # @return [String]
101
+ def measure
102
+ @data[:measure]
103
+ end
104
+
105
+ # @return [String]
106
+ def limit
107
+ @data[:limit]
108
+ end
109
+
110
+ # @return [String]
111
+ def size
112
+ @data[:size]
113
+ end
114
+ end
115
+
84
116
  class ResourceNotFoundException < ServiceError
85
117
 
86
118
  # @param [Seahorse::Client::RequestContext] context
@@ -101,5 +133,20 @@ module Aws::AppConfig
101
133
  end
102
134
  end
103
135
 
136
+ class ServiceQuotaExceededException < ServiceError
137
+
138
+ # @param [Seahorse::Client::RequestContext] context
139
+ # @param [String] message
140
+ # @param [Aws::AppConfig::Types::ServiceQuotaExceededException] data
141
+ def initialize(context, message, data = Aws::EmptyStructure.new)
142
+ super(context, message, data)
143
+ end
144
+
145
+ # @return [String]
146
+ def message
147
+ @message || @data[:message]
148
+ end
149
+ end
150
+
104
151
  end
105
152
  end
@@ -232,7 +232,7 @@ module Aws::AppConfig
232
232
  # name: "Name", # required
233
233
  # description: "Description",
234
234
  # location_uri: "Uri", # required
235
- # retrieval_role_arn: "RoleArn", # required
235
+ # retrieval_role_arn: "RoleArn",
236
236
  # validators: [
237
237
  # {
238
238
  # type: "JSON_SCHEMA", # required, accepts JSON_SCHEMA, LAMBDA
@@ -440,6 +440,63 @@ module Aws::AppConfig
440
440
  include Aws::Structure
441
441
  end
442
442
 
443
+ # @note When making an API call, you may pass CreateHostedConfigurationVersionRequest
444
+ # data as a hash:
445
+ #
446
+ # {
447
+ # application_id: "Id", # required
448
+ # configuration_profile_id: "Id", # required
449
+ # description: "Description",
450
+ # content: "data", # required
451
+ # content_type: "StringWithLengthBetween1And255", # required
452
+ # latest_version_number: 1,
453
+ # }
454
+ #
455
+ # @!attribute [rw] application_id
456
+ # The application ID.
457
+ # @return [String]
458
+ #
459
+ # @!attribute [rw] configuration_profile_id
460
+ # The configuration profile ID.
461
+ # @return [String]
462
+ #
463
+ # @!attribute [rw] description
464
+ # A description of the configuration.
465
+ # @return [String]
466
+ #
467
+ # @!attribute [rw] content
468
+ # The content of the configuration or the configuration data.
469
+ # @return [String]
470
+ #
471
+ # @!attribute [rw] content_type
472
+ # A standard MIME type describing the format of the configuration
473
+ # content. For more information, see [Content-Type][1].
474
+ #
475
+ #
476
+ #
477
+ # [1]: https://docs.aws.amazon.com/https:/www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
478
+ # @return [String]
479
+ #
480
+ # @!attribute [rw] latest_version_number
481
+ # An optional locking token used to prevent race conditions from
482
+ # overwriting configuration updates when creating a new version. To
483
+ # ensure your data is not overwritten when creating multiple hosted
484
+ # configuration versions in rapid succession, specify the version of
485
+ # the latest hosted configuration version.
486
+ # @return [Integer]
487
+ #
488
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateHostedConfigurationVersionRequest AWS API Documentation
489
+ #
490
+ class CreateHostedConfigurationVersionRequest < Struct.new(
491
+ :application_id,
492
+ :configuration_profile_id,
493
+ :description,
494
+ :content,
495
+ :content_type,
496
+ :latest_version_number)
497
+ include Aws::Structure
498
+ end
499
+
443
500
  # @note When making an API call, you may pass DeleteApplicationRequest
444
501
  # data as a hash:
445
502
  #
@@ -525,6 +582,36 @@ module Aws::AppConfig
525
582
  include Aws::Structure
526
583
  end
527
584
 
585
+ # @note When making an API call, you may pass DeleteHostedConfigurationVersionRequest
586
+ # data as a hash:
587
+ #
588
+ # {
589
+ # application_id: "Id", # required
590
+ # configuration_profile_id: "Id", # required
591
+ # version_number: 1, # required
592
+ # }
593
+ #
594
+ # @!attribute [rw] application_id
595
+ # The application ID.
596
+ # @return [String]
597
+ #
598
+ # @!attribute [rw] configuration_profile_id
599
+ # The configuration profile ID.
600
+ # @return [String]
601
+ #
602
+ # @!attribute [rw] version_number
603
+ # The versions number to delete.
604
+ # @return [Integer]
605
+ #
606
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteHostedConfigurationVersionRequest AWS API Documentation
607
+ #
608
+ class DeleteHostedConfigurationVersionRequest < Struct.new(
609
+ :application_id,
610
+ :configuration_profile_id,
611
+ :version_number)
612
+ include Aws::Structure
613
+ end
614
+
528
615
  # @!attribute [rw] application_id
529
616
  # The ID of the application that was deployed.
530
617
  # @return [String]
@@ -1051,6 +1138,132 @@ module Aws::AppConfig
1051
1138
  include Aws::Structure
1052
1139
  end
1053
1140
 
1141
+ # @note When making an API call, you may pass GetHostedConfigurationVersionRequest
1142
+ # data as a hash:
1143
+ #
1144
+ # {
1145
+ # application_id: "Id", # required
1146
+ # configuration_profile_id: "Id", # required
1147
+ # version_number: 1, # required
1148
+ # }
1149
+ #
1150
+ # @!attribute [rw] application_id
1151
+ # The application ID.
1152
+ # @return [String]
1153
+ #
1154
+ # @!attribute [rw] configuration_profile_id
1155
+ # The configuration profile ID.
1156
+ # @return [String]
1157
+ #
1158
+ # @!attribute [rw] version_number
1159
+ # The version.
1160
+ # @return [Integer]
1161
+ #
1162
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetHostedConfigurationVersionRequest AWS API Documentation
1163
+ #
1164
+ class GetHostedConfigurationVersionRequest < Struct.new(
1165
+ :application_id,
1166
+ :configuration_profile_id,
1167
+ :version_number)
1168
+ include Aws::Structure
1169
+ end
1170
+
1171
+ # @!attribute [rw] application_id
1172
+ # The application ID.
1173
+ # @return [String]
1174
+ #
1175
+ # @!attribute [rw] configuration_profile_id
1176
+ # The configuration profile ID.
1177
+ # @return [String]
1178
+ #
1179
+ # @!attribute [rw] version_number
1180
+ # The configuration version.
1181
+ # @return [Integer]
1182
+ #
1183
+ # @!attribute [rw] description
1184
+ # A description of the configuration.
1185
+ # @return [String]
1186
+ #
1187
+ # @!attribute [rw] content
1188
+ # The content of the configuration or the configuration data.
1189
+ # @return [String]
1190
+ #
1191
+ # @!attribute [rw] content_type
1192
+ # A standard MIME type describing the format of the configuration
1193
+ # content. For more information, see [Content-Type][1].
1194
+ #
1195
+ #
1196
+ #
1197
+ # [1]: https://docs.aws.amazon.com/https:/www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
1198
+ # @return [String]
1199
+ #
1200
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/HostedConfigurationVersion AWS API Documentation
1201
+ #
1202
+ class HostedConfigurationVersion < Struct.new(
1203
+ :application_id,
1204
+ :configuration_profile_id,
1205
+ :version_number,
1206
+ :description,
1207
+ :content,
1208
+ :content_type)
1209
+ include Aws::Structure
1210
+ end
1211
+
1212
+ # Information about the configuration.
1213
+ #
1214
+ # @!attribute [rw] application_id
1215
+ # The application ID.
1216
+ # @return [String]
1217
+ #
1218
+ # @!attribute [rw] configuration_profile_id
1219
+ # The configuration profile ID.
1220
+ # @return [String]
1221
+ #
1222
+ # @!attribute [rw] version_number
1223
+ # The configuration version.
1224
+ # @return [Integer]
1225
+ #
1226
+ # @!attribute [rw] description
1227
+ # A description of the configuration.
1228
+ # @return [String]
1229
+ #
1230
+ # @!attribute [rw] content_type
1231
+ # A standard MIME type describing the format of the configuration
1232
+ # content. For more information, see [Content-Type][1].
1233
+ #
1234
+ #
1235
+ #
1236
+ # [1]: https://docs.aws.amazon.com/https:/www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
1237
+ # @return [String]
1238
+ #
1239
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/HostedConfigurationVersionSummary AWS API Documentation
1240
+ #
1241
+ class HostedConfigurationVersionSummary < Struct.new(
1242
+ :application_id,
1243
+ :configuration_profile_id,
1244
+ :version_number,
1245
+ :description,
1246
+ :content_type)
1247
+ include Aws::Structure
1248
+ end
1249
+
1250
+ # @!attribute [rw] items
1251
+ # The elements from this collection.
1252
+ # @return [Array<Types::HostedConfigurationVersionSummary>]
1253
+ #
1254
+ # @!attribute [rw] next_token
1255
+ # The token for the next set of items to return. Use this token to get
1256
+ # the next set of results.
1257
+ # @return [String]
1258
+ #
1259
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/HostedConfigurationVersions AWS API Documentation
1260
+ #
1261
+ class HostedConfigurationVersions < Struct.new(
1262
+ :items,
1263
+ :next_token)
1264
+ include Aws::Structure
1265
+ end
1266
+
1054
1267
  # There was an internal failure in the AppConfig service.
1055
1268
  #
1056
1269
  # @!attribute [rw] message
@@ -1222,6 +1435,45 @@ module Aws::AppConfig
1222
1435
  include Aws::Structure
1223
1436
  end
1224
1437
 
1438
+ # @note When making an API call, you may pass ListHostedConfigurationVersionsRequest
1439
+ # data as a hash:
1440
+ #
1441
+ # {
1442
+ # application_id: "Id", # required
1443
+ # configuration_profile_id: "Id", # required
1444
+ # max_results: 1,
1445
+ # next_token: "NextToken",
1446
+ # }
1447
+ #
1448
+ # @!attribute [rw] application_id
1449
+ # The application ID.
1450
+ # @return [String]
1451
+ #
1452
+ # @!attribute [rw] configuration_profile_id
1453
+ # The configuration profile ID.
1454
+ # @return [String]
1455
+ #
1456
+ # @!attribute [rw] max_results
1457
+ # The maximum number of items to return for this call. The call also
1458
+ # returns a token that you can specify in a subsequent call to get the
1459
+ # next set of results.
1460
+ # @return [Integer]
1461
+ #
1462
+ # @!attribute [rw] next_token
1463
+ # A token to start the list. Use this token to get the next set of
1464
+ # results.
1465
+ # @return [String]
1466
+ #
1467
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListHostedConfigurationVersionsRequest AWS API Documentation
1468
+ #
1469
+ class ListHostedConfigurationVersionsRequest < Struct.new(
1470
+ :application_id,
1471
+ :configuration_profile_id,
1472
+ :max_results,
1473
+ :next_token)
1474
+ include Aws::Structure
1475
+ end
1476
+
1225
1477
  # @note When making an API call, you may pass ListTagsForResourceRequest
1226
1478
  # data as a hash:
1227
1479
  #
@@ -1266,6 +1518,30 @@ module Aws::AppConfig
1266
1518
  include Aws::Structure
1267
1519
  end
1268
1520
 
1521
+ # The configuration size is too large.
1522
+ #
1523
+ # @!attribute [rw] message
1524
+ # @return [String]
1525
+ #
1526
+ # @!attribute [rw] measure
1527
+ # @return [String]
1528
+ #
1529
+ # @!attribute [rw] limit
1530
+ # @return [Float]
1531
+ #
1532
+ # @!attribute [rw] size
1533
+ # @return [Float]
1534
+ #
1535
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/PayloadTooLargeException AWS API Documentation
1536
+ #
1537
+ class PayloadTooLargeException < Struct.new(
1538
+ :message,
1539
+ :measure,
1540
+ :limit,
1541
+ :size)
1542
+ include Aws::Structure
1543
+ end
1544
+
1269
1545
  # The requested resource could not be found.
1270
1546
  #
1271
1547
  # @!attribute [rw] message
@@ -1295,6 +1571,20 @@ module Aws::AppConfig
1295
1571
  include Aws::Structure
1296
1572
  end
1297
1573
 
1574
+ # The number of hosted configuration versions exceeds the limit for the
1575
+ # AppConfig configuration store. Delete one or more versions and try
1576
+ # again.
1577
+ #
1578
+ # @!attribute [rw] message
1579
+ # @return [String]
1580
+ #
1581
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ServiceQuotaExceededException AWS API Documentation
1582
+ #
1583
+ class ServiceQuotaExceededException < Struct.new(
1584
+ :message)
1585
+ include Aws::Structure
1586
+ end
1587
+
1298
1588
  # @note When making an API call, you may pass StartDeploymentRequest
1299
1589
  # data as a hash:
1300
1590
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-appconfig
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-11 00:00:00.000000000 Z
11
+ date: 2020-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core