aws-sdk-appconfig 1.19.0 → 1.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,13 +17,16 @@ module Aws::AppConfig
17
17
  ApplicationList = Shapes::ListShape.new(name: 'ApplicationList')
18
18
  Applications = Shapes::StructureShape.new(name: 'Applications')
19
19
  Arn = Shapes::StringShape.new(name: 'Arn')
20
+ BadRequestDetails = Shapes::UnionShape.new(name: 'BadRequestDetails')
20
21
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
22
+ BadRequestReason = Shapes::StringShape.new(name: 'BadRequestReason')
21
23
  Blob = Shapes::BlobShape.new(name: 'Blob')
22
24
  BytesMeasure = Shapes::StringShape.new(name: 'BytesMeasure')
23
25
  Configuration = Shapes::StructureShape.new(name: 'Configuration')
24
26
  ConfigurationProfile = Shapes::StructureShape.new(name: 'ConfigurationProfile')
25
27
  ConfigurationProfileSummary = Shapes::StructureShape.new(name: 'ConfigurationProfileSummary')
26
28
  ConfigurationProfileSummaryList = Shapes::ListShape.new(name: 'ConfigurationProfileSummaryList')
29
+ ConfigurationProfileType = Shapes::StringShape.new(name: 'ConfigurationProfileType')
27
30
  ConfigurationProfiles = Shapes::StructureShape.new(name: 'ConfigurationProfiles')
28
31
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
29
32
  CreateApplicationRequest = Shapes::StructureShape.new(name: 'CreateApplicationRequest')
@@ -70,6 +73,8 @@ module Aws::AppConfig
70
73
  Id = Shapes::StringShape.new(name: 'Id')
71
74
  Integer = Shapes::IntegerShape.new(name: 'Integer')
72
75
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
76
+ InvalidConfigurationDetail = Shapes::StructureShape.new(name: 'InvalidConfigurationDetail')
77
+ InvalidConfigurationDetailList = Shapes::ListShape.new(name: 'InvalidConfigurationDetailList')
73
78
  Iso8601DateTime = Shapes::TimestampShape.new(name: 'Iso8601DateTime', timestampFormat: "iso8601")
74
79
  ListApplicationsRequest = Shapes::StructureShape.new(name: 'ListApplicationsRequest')
75
80
  ListConfigurationProfilesRequest = Shapes::StructureShape.new(name: 'ListConfigurationProfilesRequest')
@@ -95,6 +100,7 @@ module Aws::AppConfig
95
100
  StopDeploymentRequest = Shapes::StructureShape.new(name: 'StopDeploymentRequest')
96
101
  String = Shapes::StringShape.new(name: 'String')
97
102
  StringWithLengthBetween0And32768 = Shapes::StringShape.new(name: 'StringWithLengthBetween0And32768')
103
+ StringWithLengthBetween1And2048 = Shapes::StringShape.new(name: 'StringWithLengthBetween1And2048')
98
104
  StringWithLengthBetween1And255 = Shapes::StringShape.new(name: 'StringWithLengthBetween1And255')
99
105
  StringWithLengthBetween1And64 = Shapes::StringShape.new(name: 'StringWithLengthBetween1And64')
100
106
  TagKey = Shapes::StringShape.new(name: 'TagKey')
@@ -127,7 +133,15 @@ module Aws::AppConfig
127
133
  Applications.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
128
134
  Applications.struct_class = Types::Applications
129
135
 
136
+ BadRequestDetails.add_member(:invalid_configuration, Shapes::ShapeRef.new(shape: InvalidConfigurationDetailList, location_name: "InvalidConfiguration"))
137
+ BadRequestDetails.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
138
+ BadRequestDetails.add_member_subclass(:invalid_configuration, Types::BadRequestDetails::InvalidConfiguration)
139
+ BadRequestDetails.add_member_subclass(:unknown, Types::BadRequestDetails::Unknown)
140
+ BadRequestDetails.struct_class = Types::BadRequestDetails
141
+
130
142
  BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
143
+ BadRequestException.add_member(:reason, Shapes::ShapeRef.new(shape: BadRequestReason, location_name: "Reason"))
144
+ BadRequestException.add_member(:details, Shapes::ShapeRef.new(shape: BadRequestDetails, location_name: "Details"))
131
145
  BadRequestException.struct_class = Types::BadRequestException
132
146
 
133
147
  Configuration.add_member(:content, Shapes::ShapeRef.new(shape: Blob, location_name: "Content"))
@@ -144,6 +158,7 @@ module Aws::AppConfig
144
158
  ConfigurationProfile.add_member(:location_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "LocationUri"))
145
159
  ConfigurationProfile.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RetrievalRoleArn"))
146
160
  ConfigurationProfile.add_member(:validators, Shapes::ShapeRef.new(shape: ValidatorList, location_name: "Validators"))
161
+ ConfigurationProfile.add_member(:type, Shapes::ShapeRef.new(shape: ConfigurationProfileType, location_name: "Type"))
147
162
  ConfigurationProfile.struct_class = Types::ConfigurationProfile
148
163
 
149
164
  ConfigurationProfileSummary.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, location_name: "ApplicationId"))
@@ -151,6 +166,7 @@ module Aws::AppConfig
151
166
  ConfigurationProfileSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
152
167
  ConfigurationProfileSummary.add_member(:location_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "LocationUri"))
153
168
  ConfigurationProfileSummary.add_member(:validator_types, Shapes::ShapeRef.new(shape: ValidatorTypeList, location_name: "ValidatorTypes"))
169
+ ConfigurationProfileSummary.add_member(:type, Shapes::ShapeRef.new(shape: ConfigurationProfileType, location_name: "Type"))
154
170
  ConfigurationProfileSummary.struct_class = Types::ConfigurationProfileSummary
155
171
 
156
172
  ConfigurationProfileSummaryList.member = Shapes::ShapeRef.new(shape: ConfigurationProfileSummary)
@@ -174,6 +190,7 @@ module Aws::AppConfig
174
190
  CreateConfigurationProfileRequest.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RetrievalRoleArn"))
175
191
  CreateConfigurationProfileRequest.add_member(:validators, Shapes::ShapeRef.new(shape: ValidatorList, location_name: "Validators"))
176
192
  CreateConfigurationProfileRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
193
+ CreateConfigurationProfileRequest.add_member(:type, Shapes::ShapeRef.new(shape: ConfigurationProfileType, location_name: "Type"))
177
194
  CreateConfigurationProfileRequest.struct_class = Types::CreateConfigurationProfileRequest
178
195
 
179
196
  CreateDeploymentStrategyRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
@@ -356,6 +373,14 @@ module Aws::AppConfig
356
373
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
357
374
  InternalServerException.struct_class = Types::InternalServerException
358
375
 
376
+ InvalidConfigurationDetail.add_member(:constraint, Shapes::ShapeRef.new(shape: String, location_name: "Constraint"))
377
+ InvalidConfigurationDetail.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "Location"))
378
+ InvalidConfigurationDetail.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "Reason"))
379
+ InvalidConfigurationDetail.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
380
+ InvalidConfigurationDetail.struct_class = Types::InvalidConfigurationDetail
381
+
382
+ InvalidConfigurationDetailList.member = Shapes::ShapeRef.new(shape: InvalidConfigurationDetail)
383
+
359
384
  ListApplicationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box"=>true}))
360
385
  ListApplicationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next_token"))
361
386
  ListApplicationsRequest.struct_class = Types::ListApplicationsRequest
@@ -363,6 +388,7 @@ module Aws::AppConfig
363
388
  ListConfigurationProfilesRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
364
389
  ListConfigurationProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box"=>true}))
365
390
  ListConfigurationProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next_token"))
391
+ ListConfigurationProfilesRequest.add_member(:type, Shapes::ShapeRef.new(shape: ConfigurationProfileType, location: "querystring", location_name: "type"))
366
392
  ListConfigurationProfilesRequest.struct_class = Types::ListConfigurationProfilesRequest
367
393
 
368
394
  ListDeploymentStrategiesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box"=>true}))
@@ -389,7 +415,7 @@ module Aws::AppConfig
389
415
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
390
416
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
391
417
 
392
- Monitor.add_member(:alarm_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AlarmArn"))
418
+ Monitor.add_member(:alarm_arn, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And2048, required: true, location_name: "AlarmArn"))
393
419
  Monitor.add_member(:alarm_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "AlarmRoleArn"))
394
420
  Monitor.struct_class = Types::Monitor
395
421
 
@@ -626,6 +652,7 @@ module Aws::AppConfig
626
652
  o.name = "GetConfiguration"
627
653
  o.http_method = "GET"
628
654
  o.http_request_uri = "/applications/{Application}/environments/{Environment}/configurations/{Configuration}"
655
+ o.deprecated = true
629
656
  o.input = Shapes::ShapeRef.new(shape: GetConfigurationRequest)
630
657
  o.output = Shapes::ShapeRef.new(shape: Configuration)
631
658
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
@@ -53,6 +53,16 @@ module Aws::AppConfig
53
53
  def message
54
54
  @message || @data[:message]
55
55
  end
56
+
57
+ # @return [String]
58
+ def reason
59
+ @data[:reason]
60
+ end
61
+
62
+ # @return [String]
63
+ def details
64
+ @data[:details]
65
+ end
56
66
  end
57
67
 
58
68
  class ConflictException < ServiceError