aws-sdk-appconfig 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/aws-sdk-appconfig.rb +47 -0
- data/lib/aws-sdk-appconfig/client.rb +1731 -0
- data/lib/aws-sdk-appconfig/client_api.rb +765 -0
- data/lib/aws-sdk-appconfig/customizations.rb +0 -0
- data/lib/aws-sdk-appconfig/errors.rb +83 -0
- data/lib/aws-sdk-appconfig/resource.rb +23 -0
- data/lib/aws-sdk-appconfig/types.rb +1588 -0
- metadata +88 -0
@@ -0,0 +1,765 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::AppConfig
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
Application = Shapes::StructureShape.new(name: 'Application')
|
15
|
+
ApplicationList = Shapes::ListShape.new(name: 'ApplicationList')
|
16
|
+
Applications = Shapes::StructureShape.new(name: 'Applications')
|
17
|
+
Arn = Shapes::StringShape.new(name: 'Arn')
|
18
|
+
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
19
|
+
Blob = Shapes::BlobShape.new(name: 'Blob')
|
20
|
+
Configuration = Shapes::StructureShape.new(name: 'Configuration')
|
21
|
+
ConfigurationProfile = Shapes::StructureShape.new(name: 'ConfigurationProfile')
|
22
|
+
ConfigurationProfileSummary = Shapes::StructureShape.new(name: 'ConfigurationProfileSummary')
|
23
|
+
ConfigurationProfileSummaryList = Shapes::ListShape.new(name: 'ConfigurationProfileSummaryList')
|
24
|
+
ConfigurationProfiles = Shapes::StructureShape.new(name: 'ConfigurationProfiles')
|
25
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
26
|
+
CreateApplicationRequest = Shapes::StructureShape.new(name: 'CreateApplicationRequest')
|
27
|
+
CreateConfigurationProfileRequest = Shapes::StructureShape.new(name: 'CreateConfigurationProfileRequest')
|
28
|
+
CreateDeploymentStrategyRequest = Shapes::StructureShape.new(name: 'CreateDeploymentStrategyRequest')
|
29
|
+
CreateEnvironmentRequest = Shapes::StructureShape.new(name: 'CreateEnvironmentRequest')
|
30
|
+
DeleteApplicationRequest = Shapes::StructureShape.new(name: 'DeleteApplicationRequest')
|
31
|
+
DeleteConfigurationProfileRequest = Shapes::StructureShape.new(name: 'DeleteConfigurationProfileRequest')
|
32
|
+
DeleteDeploymentStrategyRequest = Shapes::StructureShape.new(name: 'DeleteDeploymentStrategyRequest')
|
33
|
+
DeleteEnvironmentRequest = Shapes::StructureShape.new(name: 'DeleteEnvironmentRequest')
|
34
|
+
Deployment = Shapes::StructureShape.new(name: 'Deployment')
|
35
|
+
DeploymentList = Shapes::ListShape.new(name: 'DeploymentList')
|
36
|
+
DeploymentState = Shapes::StringShape.new(name: 'DeploymentState')
|
37
|
+
DeploymentStrategies = Shapes::StructureShape.new(name: 'DeploymentStrategies')
|
38
|
+
DeploymentStrategy = Shapes::StructureShape.new(name: 'DeploymentStrategy')
|
39
|
+
DeploymentStrategyId = Shapes::StringShape.new(name: 'DeploymentStrategyId')
|
40
|
+
DeploymentStrategyList = Shapes::ListShape.new(name: 'DeploymentStrategyList')
|
41
|
+
DeploymentSummary = Shapes::StructureShape.new(name: 'DeploymentSummary')
|
42
|
+
Deployments = Shapes::StructureShape.new(name: 'Deployments')
|
43
|
+
Description = Shapes::StringShape.new(name: 'Description')
|
44
|
+
Environment = Shapes::StructureShape.new(name: 'Environment')
|
45
|
+
EnvironmentList = Shapes::ListShape.new(name: 'EnvironmentList')
|
46
|
+
EnvironmentState = Shapes::StringShape.new(name: 'EnvironmentState')
|
47
|
+
Environments = Shapes::StructureShape.new(name: 'Environments')
|
48
|
+
GetApplicationRequest = Shapes::StructureShape.new(name: 'GetApplicationRequest')
|
49
|
+
GetConfigurationProfileRequest = Shapes::StructureShape.new(name: 'GetConfigurationProfileRequest')
|
50
|
+
GetConfigurationRequest = Shapes::StructureShape.new(name: 'GetConfigurationRequest')
|
51
|
+
GetDeploymentRequest = Shapes::StructureShape.new(name: 'GetDeploymentRequest')
|
52
|
+
GetDeploymentStrategyRequest = Shapes::StructureShape.new(name: 'GetDeploymentStrategyRequest')
|
53
|
+
GetEnvironmentRequest = Shapes::StructureShape.new(name: 'GetEnvironmentRequest')
|
54
|
+
GrowthFactor = Shapes::FloatShape.new(name: 'GrowthFactor')
|
55
|
+
GrowthType = Shapes::StringShape.new(name: 'GrowthType')
|
56
|
+
Id = Shapes::StringShape.new(name: 'Id')
|
57
|
+
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
58
|
+
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
59
|
+
Iso8601DateTime = Shapes::TimestampShape.new(name: 'Iso8601DateTime', timestampFormat: "iso8601")
|
60
|
+
ListApplicationsRequest = Shapes::StructureShape.new(name: 'ListApplicationsRequest')
|
61
|
+
ListConfigurationProfilesRequest = Shapes::StructureShape.new(name: 'ListConfigurationProfilesRequest')
|
62
|
+
ListDeploymentStrategiesRequest = Shapes::StructureShape.new(name: 'ListDeploymentStrategiesRequest')
|
63
|
+
ListDeploymentsRequest = Shapes::StructureShape.new(name: 'ListDeploymentsRequest')
|
64
|
+
ListEnvironmentsRequest = Shapes::StructureShape.new(name: 'ListEnvironmentsRequest')
|
65
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
66
|
+
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
67
|
+
MinutesBetween0And24Hours = Shapes::IntegerShape.new(name: 'MinutesBetween0And24Hours')
|
68
|
+
Monitor = Shapes::StructureShape.new(name: 'Monitor')
|
69
|
+
MonitorList = Shapes::ListShape.new(name: 'MonitorList')
|
70
|
+
Name = Shapes::StringShape.new(name: 'Name')
|
71
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
72
|
+
Percentage = Shapes::FloatShape.new(name: 'Percentage')
|
73
|
+
ReplicateTo = Shapes::StringShape.new(name: 'ReplicateTo')
|
74
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
75
|
+
ResourceTags = Shapes::StructureShape.new(name: 'ResourceTags')
|
76
|
+
StartDeploymentRequest = Shapes::StructureShape.new(name: 'StartDeploymentRequest')
|
77
|
+
StopDeploymentRequest = Shapes::StructureShape.new(name: 'StopDeploymentRequest')
|
78
|
+
String = Shapes::StringShape.new(name: 'String')
|
79
|
+
StringWithLengthBetween0And32768 = Shapes::StringShape.new(name: 'StringWithLengthBetween0And32768')
|
80
|
+
StringWithLengthBetween1And64 = Shapes::StringShape.new(name: 'StringWithLengthBetween1And64')
|
81
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
82
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
83
|
+
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
84
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
85
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
86
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
87
|
+
UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
|
88
|
+
UpdateConfigurationProfileRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationProfileRequest')
|
89
|
+
UpdateDeploymentStrategyRequest = Shapes::StructureShape.new(name: 'UpdateDeploymentStrategyRequest')
|
90
|
+
UpdateEnvironmentRequest = Shapes::StructureShape.new(name: 'UpdateEnvironmentRequest')
|
91
|
+
Uri = Shapes::StringShape.new(name: 'Uri')
|
92
|
+
ValidateConfigurationRequest = Shapes::StructureShape.new(name: 'ValidateConfigurationRequest')
|
93
|
+
Validator = Shapes::StructureShape.new(name: 'Validator')
|
94
|
+
ValidatorList = Shapes::ListShape.new(name: 'ValidatorList')
|
95
|
+
ValidatorType = Shapes::StringShape.new(name: 'ValidatorType')
|
96
|
+
ValidatorTypeList = Shapes::ListShape.new(name: 'ValidatorTypeList')
|
97
|
+
Version = Shapes::StringShape.new(name: 'Version')
|
98
|
+
|
99
|
+
Application.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
|
100
|
+
Application.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
|
101
|
+
Application.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
102
|
+
Application.struct_class = Types::Application
|
103
|
+
|
104
|
+
ApplicationList.member = Shapes::ShapeRef.new(shape: Application)
|
105
|
+
|
106
|
+
Applications.add_member(:items, Shapes::ShapeRef.new(shape: ApplicationList, location_name: "Items"))
|
107
|
+
Applications.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
108
|
+
Applications.struct_class = Types::Applications
|
109
|
+
|
110
|
+
BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
111
|
+
BadRequestException.struct_class = Types::BadRequestException
|
112
|
+
|
113
|
+
Configuration.add_member(:content, Shapes::ShapeRef.new(shape: Blob, location_name: "Content"))
|
114
|
+
Configuration.add_member(:configuration_version, Shapes::ShapeRef.new(shape: Version, location: "header", location_name: "Configuration-Version"))
|
115
|
+
Configuration.add_member(:content_type, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Content-Type"))
|
116
|
+
Configuration.struct_class = Types::Configuration
|
117
|
+
Configuration[:payload] = :content
|
118
|
+
Configuration[:payload_member] = Configuration.member(:content)
|
119
|
+
|
120
|
+
ConfigurationProfile.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, location_name: "ApplicationId"))
|
121
|
+
ConfigurationProfile.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
|
122
|
+
ConfigurationProfile.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
|
123
|
+
ConfigurationProfile.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
124
|
+
ConfigurationProfile.add_member(:location_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "LocationUri"))
|
125
|
+
ConfigurationProfile.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "RetrievalRoleArn"))
|
126
|
+
ConfigurationProfile.add_member(:validators, Shapes::ShapeRef.new(shape: ValidatorList, location_name: "Validators"))
|
127
|
+
ConfigurationProfile.struct_class = Types::ConfigurationProfile
|
128
|
+
|
129
|
+
ConfigurationProfileSummary.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, location_name: "ApplicationId"))
|
130
|
+
ConfigurationProfileSummary.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
|
131
|
+
ConfigurationProfileSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
|
132
|
+
ConfigurationProfileSummary.add_member(:location_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "LocationUri"))
|
133
|
+
ConfigurationProfileSummary.add_member(:validator_types, Shapes::ShapeRef.new(shape: ValidatorTypeList, location_name: "ValidatorTypes"))
|
134
|
+
ConfigurationProfileSummary.struct_class = Types::ConfigurationProfileSummary
|
135
|
+
|
136
|
+
ConfigurationProfileSummaryList.member = Shapes::ShapeRef.new(shape: ConfigurationProfileSummary)
|
137
|
+
|
138
|
+
ConfigurationProfiles.add_member(:items, Shapes::ShapeRef.new(shape: ConfigurationProfileSummaryList, location_name: "Items"))
|
139
|
+
ConfigurationProfiles.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
140
|
+
ConfigurationProfiles.struct_class = Types::ConfigurationProfiles
|
141
|
+
|
142
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
143
|
+
ConflictException.struct_class = Types::ConflictException
|
144
|
+
|
145
|
+
CreateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
|
146
|
+
CreateApplicationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
147
|
+
CreateApplicationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
148
|
+
CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
|
149
|
+
|
150
|
+
CreateConfigurationProfileRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
|
151
|
+
CreateConfigurationProfileRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
|
152
|
+
CreateConfigurationProfileRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
153
|
+
CreateConfigurationProfileRequest.add_member(:location_uri, Shapes::ShapeRef.new(shape: Uri, required: true, location_name: "LocationUri"))
|
154
|
+
CreateConfigurationProfileRequest.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "RetrievalRoleArn"))
|
155
|
+
CreateConfigurationProfileRequest.add_member(:validators, Shapes::ShapeRef.new(shape: ValidatorList, location_name: "Validators"))
|
156
|
+
CreateConfigurationProfileRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
157
|
+
CreateConfigurationProfileRequest.struct_class = Types::CreateConfigurationProfileRequest
|
158
|
+
|
159
|
+
CreateDeploymentStrategyRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
|
160
|
+
CreateDeploymentStrategyRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
161
|
+
CreateDeploymentStrategyRequest.add_member(:deployment_duration_in_minutes, Shapes::ShapeRef.new(shape: MinutesBetween0And24Hours, required: true, location_name: "DeploymentDurationInMinutes", metadata: {"box"=>true}))
|
162
|
+
CreateDeploymentStrategyRequest.add_member(:final_bake_time_in_minutes, Shapes::ShapeRef.new(shape: MinutesBetween0And24Hours, location_name: "FinalBakeTimeInMinutes"))
|
163
|
+
CreateDeploymentStrategyRequest.add_member(:growth_factor, Shapes::ShapeRef.new(shape: GrowthFactor, required: true, location_name: "GrowthFactor", metadata: {"box"=>true}))
|
164
|
+
CreateDeploymentStrategyRequest.add_member(:growth_type, Shapes::ShapeRef.new(shape: GrowthType, location_name: "GrowthType"))
|
165
|
+
CreateDeploymentStrategyRequest.add_member(:replicate_to, Shapes::ShapeRef.new(shape: ReplicateTo, required: true, location_name: "ReplicateTo"))
|
166
|
+
CreateDeploymentStrategyRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
167
|
+
CreateDeploymentStrategyRequest.struct_class = Types::CreateDeploymentStrategyRequest
|
168
|
+
|
169
|
+
CreateEnvironmentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
|
170
|
+
CreateEnvironmentRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
|
171
|
+
CreateEnvironmentRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
172
|
+
CreateEnvironmentRequest.add_member(:monitors, Shapes::ShapeRef.new(shape: MonitorList, location_name: "Monitors"))
|
173
|
+
CreateEnvironmentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
174
|
+
CreateEnvironmentRequest.struct_class = Types::CreateEnvironmentRequest
|
175
|
+
|
176
|
+
DeleteApplicationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
|
177
|
+
DeleteApplicationRequest.struct_class = Types::DeleteApplicationRequest
|
178
|
+
|
179
|
+
DeleteConfigurationProfileRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
|
180
|
+
DeleteConfigurationProfileRequest.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ConfigurationProfileId"))
|
181
|
+
DeleteConfigurationProfileRequest.struct_class = Types::DeleteConfigurationProfileRequest
|
182
|
+
|
183
|
+
DeleteDeploymentStrategyRequest.add_member(:deployment_strategy_id, Shapes::ShapeRef.new(shape: DeploymentStrategyId, required: true, location: "uri", location_name: "DeploymentStrategyId"))
|
184
|
+
DeleteDeploymentStrategyRequest.struct_class = Types::DeleteDeploymentStrategyRequest
|
185
|
+
|
186
|
+
DeleteEnvironmentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
|
187
|
+
DeleteEnvironmentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "EnvironmentId"))
|
188
|
+
DeleteEnvironmentRequest.struct_class = Types::DeleteEnvironmentRequest
|
189
|
+
|
190
|
+
Deployment.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, location_name: "ApplicationId"))
|
191
|
+
Deployment.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, location_name: "EnvironmentId"))
|
192
|
+
Deployment.add_member(:deployment_strategy_id, Shapes::ShapeRef.new(shape: Id, location_name: "DeploymentStrategyId"))
|
193
|
+
Deployment.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, location_name: "ConfigurationProfileId"))
|
194
|
+
Deployment.add_member(:deployment_number, Shapes::ShapeRef.new(shape: Integer, location_name: "DeploymentNumber"))
|
195
|
+
Deployment.add_member(:configuration_name, Shapes::ShapeRef.new(shape: Name, location_name: "ConfigurationName"))
|
196
|
+
Deployment.add_member(:configuration_location_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "ConfigurationLocationUri"))
|
197
|
+
Deployment.add_member(:configuration_version, Shapes::ShapeRef.new(shape: Version, location_name: "ConfigurationVersion"))
|
198
|
+
Deployment.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
199
|
+
Deployment.add_member(:deployment_duration_in_minutes, Shapes::ShapeRef.new(shape: MinutesBetween0And24Hours, location_name: "DeploymentDurationInMinutes"))
|
200
|
+
Deployment.add_member(:growth_type, Shapes::ShapeRef.new(shape: GrowthType, location_name: "GrowthType"))
|
201
|
+
Deployment.add_member(:growth_factor, Shapes::ShapeRef.new(shape: Percentage, location_name: "GrowthFactor"))
|
202
|
+
Deployment.add_member(:final_bake_time_in_minutes, Shapes::ShapeRef.new(shape: MinutesBetween0And24Hours, location_name: "FinalBakeTimeInMinutes"))
|
203
|
+
Deployment.add_member(:state, Shapes::ShapeRef.new(shape: DeploymentState, location_name: "State"))
|
204
|
+
Deployment.add_member(:percentage_complete, Shapes::ShapeRef.new(shape: Percentage, location_name: "PercentageComplete"))
|
205
|
+
Deployment.add_member(:started_at, Shapes::ShapeRef.new(shape: Iso8601DateTime, location_name: "StartedAt"))
|
206
|
+
Deployment.add_member(:completed_at, Shapes::ShapeRef.new(shape: Iso8601DateTime, location_name: "CompletedAt"))
|
207
|
+
Deployment.struct_class = Types::Deployment
|
208
|
+
|
209
|
+
DeploymentList.member = Shapes::ShapeRef.new(shape: DeploymentSummary)
|
210
|
+
|
211
|
+
DeploymentStrategies.add_member(:items, Shapes::ShapeRef.new(shape: DeploymentStrategyList, location_name: "Items"))
|
212
|
+
DeploymentStrategies.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
213
|
+
DeploymentStrategies.struct_class = Types::DeploymentStrategies
|
214
|
+
|
215
|
+
DeploymentStrategy.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
|
216
|
+
DeploymentStrategy.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
|
217
|
+
DeploymentStrategy.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
218
|
+
DeploymentStrategy.add_member(:deployment_duration_in_minutes, Shapes::ShapeRef.new(shape: MinutesBetween0And24Hours, location_name: "DeploymentDurationInMinutes"))
|
219
|
+
DeploymentStrategy.add_member(:growth_type, Shapes::ShapeRef.new(shape: GrowthType, location_name: "GrowthType"))
|
220
|
+
DeploymentStrategy.add_member(:growth_factor, Shapes::ShapeRef.new(shape: Percentage, location_name: "GrowthFactor"))
|
221
|
+
DeploymentStrategy.add_member(:final_bake_time_in_minutes, Shapes::ShapeRef.new(shape: MinutesBetween0And24Hours, location_name: "FinalBakeTimeInMinutes"))
|
222
|
+
DeploymentStrategy.add_member(:replicate_to, Shapes::ShapeRef.new(shape: ReplicateTo, location_name: "ReplicateTo"))
|
223
|
+
DeploymentStrategy.struct_class = Types::DeploymentStrategy
|
224
|
+
|
225
|
+
DeploymentStrategyList.member = Shapes::ShapeRef.new(shape: DeploymentStrategy)
|
226
|
+
|
227
|
+
DeploymentSummary.add_member(:deployment_number, Shapes::ShapeRef.new(shape: Integer, location_name: "DeploymentNumber"))
|
228
|
+
DeploymentSummary.add_member(:configuration_name, Shapes::ShapeRef.new(shape: Name, location_name: "ConfigurationName"))
|
229
|
+
DeploymentSummary.add_member(:configuration_version, Shapes::ShapeRef.new(shape: Version, location_name: "ConfigurationVersion"))
|
230
|
+
DeploymentSummary.add_member(:deployment_duration_in_minutes, Shapes::ShapeRef.new(shape: MinutesBetween0And24Hours, location_name: "DeploymentDurationInMinutes"))
|
231
|
+
DeploymentSummary.add_member(:growth_type, Shapes::ShapeRef.new(shape: GrowthType, location_name: "GrowthType"))
|
232
|
+
DeploymentSummary.add_member(:growth_factor, Shapes::ShapeRef.new(shape: Percentage, location_name: "GrowthFactor"))
|
233
|
+
DeploymentSummary.add_member(:final_bake_time_in_minutes, Shapes::ShapeRef.new(shape: MinutesBetween0And24Hours, location_name: "FinalBakeTimeInMinutes"))
|
234
|
+
DeploymentSummary.add_member(:state, Shapes::ShapeRef.new(shape: DeploymentState, location_name: "State"))
|
235
|
+
DeploymentSummary.add_member(:percentage_complete, Shapes::ShapeRef.new(shape: Percentage, location_name: "PercentageComplete"))
|
236
|
+
DeploymentSummary.add_member(:started_at, Shapes::ShapeRef.new(shape: Iso8601DateTime, location_name: "StartedAt"))
|
237
|
+
DeploymentSummary.add_member(:completed_at, Shapes::ShapeRef.new(shape: Iso8601DateTime, location_name: "CompletedAt"))
|
238
|
+
DeploymentSummary.struct_class = Types::DeploymentSummary
|
239
|
+
|
240
|
+
Deployments.add_member(:items, Shapes::ShapeRef.new(shape: DeploymentList, location_name: "Items"))
|
241
|
+
Deployments.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
242
|
+
Deployments.struct_class = Types::Deployments
|
243
|
+
|
244
|
+
Environment.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, location_name: "ApplicationId"))
|
245
|
+
Environment.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
|
246
|
+
Environment.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
|
247
|
+
Environment.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
248
|
+
Environment.add_member(:state, Shapes::ShapeRef.new(shape: EnvironmentState, location_name: "State"))
|
249
|
+
Environment.add_member(:monitors, Shapes::ShapeRef.new(shape: MonitorList, location_name: "Monitors"))
|
250
|
+
Environment.struct_class = Types::Environment
|
251
|
+
|
252
|
+
EnvironmentList.member = Shapes::ShapeRef.new(shape: Environment)
|
253
|
+
|
254
|
+
Environments.add_member(:items, Shapes::ShapeRef.new(shape: EnvironmentList, location_name: "Items"))
|
255
|
+
Environments.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
256
|
+
Environments.struct_class = Types::Environments
|
257
|
+
|
258
|
+
GetApplicationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
|
259
|
+
GetApplicationRequest.struct_class = Types::GetApplicationRequest
|
260
|
+
|
261
|
+
GetConfigurationProfileRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
|
262
|
+
GetConfigurationProfileRequest.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ConfigurationProfileId"))
|
263
|
+
GetConfigurationProfileRequest.struct_class = Types::GetConfigurationProfileRequest
|
264
|
+
|
265
|
+
GetConfigurationRequest.add_member(:application, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, required: true, location: "uri", location_name: "Application"))
|
266
|
+
GetConfigurationRequest.add_member(:environment, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, required: true, location: "uri", location_name: "Environment"))
|
267
|
+
GetConfigurationRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, required: true, location: "uri", location_name: "Configuration"))
|
268
|
+
GetConfigurationRequest.add_member(:client_id, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, required: true, location: "querystring", location_name: "client_id"))
|
269
|
+
GetConfigurationRequest.add_member(:client_configuration_version, Shapes::ShapeRef.new(shape: Version, location: "querystring", location_name: "client_configuration_version"))
|
270
|
+
GetConfigurationRequest.struct_class = Types::GetConfigurationRequest
|
271
|
+
|
272
|
+
GetDeploymentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
|
273
|
+
GetDeploymentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "EnvironmentId"))
|
274
|
+
GetDeploymentRequest.add_member(:deployment_number, Shapes::ShapeRef.new(shape: Integer, required: true, location: "uri", location_name: "DeploymentNumber", metadata: {"box"=>true}))
|
275
|
+
GetDeploymentRequest.struct_class = Types::GetDeploymentRequest
|
276
|
+
|
277
|
+
GetDeploymentStrategyRequest.add_member(:deployment_strategy_id, Shapes::ShapeRef.new(shape: DeploymentStrategyId, required: true, location: "uri", location_name: "DeploymentStrategyId"))
|
278
|
+
GetDeploymentStrategyRequest.struct_class = Types::GetDeploymentStrategyRequest
|
279
|
+
|
280
|
+
GetEnvironmentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
|
281
|
+
GetEnvironmentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "EnvironmentId"))
|
282
|
+
GetEnvironmentRequest.struct_class = Types::GetEnvironmentRequest
|
283
|
+
|
284
|
+
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
285
|
+
InternalServerException.struct_class = Types::InternalServerException
|
286
|
+
|
287
|
+
ListApplicationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box"=>true}))
|
288
|
+
ListApplicationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next_token"))
|
289
|
+
ListApplicationsRequest.struct_class = Types::ListApplicationsRequest
|
290
|
+
|
291
|
+
ListConfigurationProfilesRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
|
292
|
+
ListConfigurationProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box"=>true}))
|
293
|
+
ListConfigurationProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next_token"))
|
294
|
+
ListConfigurationProfilesRequest.struct_class = Types::ListConfigurationProfilesRequest
|
295
|
+
|
296
|
+
ListDeploymentStrategiesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box"=>true}))
|
297
|
+
ListDeploymentStrategiesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next_token"))
|
298
|
+
ListDeploymentStrategiesRequest.struct_class = Types::ListDeploymentStrategiesRequest
|
299
|
+
|
300
|
+
ListDeploymentsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
|
301
|
+
ListDeploymentsRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "EnvironmentId"))
|
302
|
+
ListDeploymentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box"=>true}))
|
303
|
+
ListDeploymentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next_token"))
|
304
|
+
ListDeploymentsRequest.struct_class = Types::ListDeploymentsRequest
|
305
|
+
|
306
|
+
ListEnvironmentsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
|
307
|
+
ListEnvironmentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max_results", metadata: {"box"=>true}))
|
308
|
+
ListEnvironmentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next_token"))
|
309
|
+
ListEnvironmentsRequest.struct_class = Types::ListEnvironmentsRequest
|
310
|
+
|
311
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
|
312
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
313
|
+
|
314
|
+
Monitor.add_member(:alarm_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AlarmArn"))
|
315
|
+
Monitor.add_member(:alarm_role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AlarmRoleArn"))
|
316
|
+
Monitor.struct_class = Types::Monitor
|
317
|
+
|
318
|
+
MonitorList.member = Shapes::ShapeRef.new(shape: Monitor)
|
319
|
+
|
320
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
321
|
+
ResourceNotFoundException.add_member(:resource_name, Shapes::ShapeRef.new(shape: String, location_name: "ResourceName"))
|
322
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
323
|
+
|
324
|
+
ResourceTags.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
325
|
+
ResourceTags.struct_class = Types::ResourceTags
|
326
|
+
|
327
|
+
StartDeploymentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
|
328
|
+
StartDeploymentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "EnvironmentId"))
|
329
|
+
StartDeploymentRequest.add_member(:deployment_strategy_id, Shapes::ShapeRef.new(shape: DeploymentStrategyId, required: true, location_name: "DeploymentStrategyId"))
|
330
|
+
StartDeploymentRequest.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "ConfigurationProfileId"))
|
331
|
+
StartDeploymentRequest.add_member(:configuration_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "ConfigurationVersion"))
|
332
|
+
StartDeploymentRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
333
|
+
StartDeploymentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
334
|
+
StartDeploymentRequest.struct_class = Types::StartDeploymentRequest
|
335
|
+
|
336
|
+
StopDeploymentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
|
337
|
+
StopDeploymentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "EnvironmentId"))
|
338
|
+
StopDeploymentRequest.add_member(:deployment_number, Shapes::ShapeRef.new(shape: Integer, required: true, location: "uri", location_name: "DeploymentNumber", metadata: {"box"=>true}))
|
339
|
+
StopDeploymentRequest.struct_class = Types::StopDeploymentRequest
|
340
|
+
|
341
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
342
|
+
|
343
|
+
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
344
|
+
TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
345
|
+
|
346
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
|
347
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
|
348
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
349
|
+
|
350
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
|
351
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
|
352
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
353
|
+
|
354
|
+
UpdateApplicationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
|
355
|
+
UpdateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
|
356
|
+
UpdateApplicationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
357
|
+
UpdateApplicationRequest.struct_class = Types::UpdateApplicationRequest
|
358
|
+
|
359
|
+
UpdateConfigurationProfileRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
|
360
|
+
UpdateConfigurationProfileRequest.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ConfigurationProfileId"))
|
361
|
+
UpdateConfigurationProfileRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
|
362
|
+
UpdateConfigurationProfileRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
363
|
+
UpdateConfigurationProfileRequest.add_member(:retrieval_role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "RetrievalRoleArn"))
|
364
|
+
UpdateConfigurationProfileRequest.add_member(:validators, Shapes::ShapeRef.new(shape: ValidatorList, location_name: "Validators"))
|
365
|
+
UpdateConfigurationProfileRequest.struct_class = Types::UpdateConfigurationProfileRequest
|
366
|
+
|
367
|
+
UpdateDeploymentStrategyRequest.add_member(:deployment_strategy_id, Shapes::ShapeRef.new(shape: DeploymentStrategyId, required: true, location: "uri", location_name: "DeploymentStrategyId"))
|
368
|
+
UpdateDeploymentStrategyRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
369
|
+
UpdateDeploymentStrategyRequest.add_member(:deployment_duration_in_minutes, Shapes::ShapeRef.new(shape: MinutesBetween0And24Hours, location_name: "DeploymentDurationInMinutes", metadata: {"box"=>true}))
|
370
|
+
UpdateDeploymentStrategyRequest.add_member(:final_bake_time_in_minutes, Shapes::ShapeRef.new(shape: MinutesBetween0And24Hours, location_name: "FinalBakeTimeInMinutes", metadata: {"box"=>true}))
|
371
|
+
UpdateDeploymentStrategyRequest.add_member(:growth_factor, Shapes::ShapeRef.new(shape: GrowthFactor, location_name: "GrowthFactor", metadata: {"box"=>true}))
|
372
|
+
UpdateDeploymentStrategyRequest.add_member(:growth_type, Shapes::ShapeRef.new(shape: GrowthType, location_name: "GrowthType"))
|
373
|
+
UpdateDeploymentStrategyRequest.struct_class = Types::UpdateDeploymentStrategyRequest
|
374
|
+
|
375
|
+
UpdateEnvironmentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
|
376
|
+
UpdateEnvironmentRequest.add_member(:environment_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "EnvironmentId"))
|
377
|
+
UpdateEnvironmentRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
|
378
|
+
UpdateEnvironmentRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
379
|
+
UpdateEnvironmentRequest.add_member(:monitors, Shapes::ShapeRef.new(shape: MonitorList, location_name: "Monitors"))
|
380
|
+
UpdateEnvironmentRequest.struct_class = Types::UpdateEnvironmentRequest
|
381
|
+
|
382
|
+
ValidateConfigurationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ApplicationId"))
|
383
|
+
ValidateConfigurationRequest.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ConfigurationProfileId"))
|
384
|
+
ValidateConfigurationRequest.add_member(:configuration_version, Shapes::ShapeRef.new(shape: Version, required: true, location: "querystring", location_name: "configuration_version"))
|
385
|
+
ValidateConfigurationRequest.struct_class = Types::ValidateConfigurationRequest
|
386
|
+
|
387
|
+
Validator.add_member(:type, Shapes::ShapeRef.new(shape: ValidatorType, required: true, location_name: "Type"))
|
388
|
+
Validator.add_member(:content, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And32768, required: true, location_name: "Content"))
|
389
|
+
Validator.struct_class = Types::Validator
|
390
|
+
|
391
|
+
ValidatorList.member = Shapes::ShapeRef.new(shape: Validator)
|
392
|
+
|
393
|
+
ValidatorTypeList.member = Shapes::ShapeRef.new(shape: ValidatorType)
|
394
|
+
|
395
|
+
|
396
|
+
# @api private
|
397
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
398
|
+
|
399
|
+
api.version = "2019-10-09"
|
400
|
+
|
401
|
+
api.metadata = {
|
402
|
+
"apiVersion" => "2019-10-09",
|
403
|
+
"endpointPrefix" => "appconfig",
|
404
|
+
"jsonVersion" => "1.1",
|
405
|
+
"protocol" => "rest-json",
|
406
|
+
"serviceAbbreviation" => "AppConfig",
|
407
|
+
"serviceFullName" => "Amazon AppConfig",
|
408
|
+
"serviceId" => "AppConfig",
|
409
|
+
"signatureVersion" => "v4",
|
410
|
+
"signingName" => "appconfig",
|
411
|
+
"uid" => "appconfig-2019-10-09",
|
412
|
+
}
|
413
|
+
|
414
|
+
api.add_operation(:create_application, Seahorse::Model::Operation.new.tap do |o|
|
415
|
+
o.name = "CreateApplication"
|
416
|
+
o.http_method = "POST"
|
417
|
+
o.http_request_uri = "/applications"
|
418
|
+
o.input = Shapes::ShapeRef.new(shape: CreateApplicationRequest)
|
419
|
+
o.output = Shapes::ShapeRef.new(shape: Application)
|
420
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
421
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
422
|
+
end)
|
423
|
+
|
424
|
+
api.add_operation(:create_configuration_profile, Seahorse::Model::Operation.new.tap do |o|
|
425
|
+
o.name = "CreateConfigurationProfile"
|
426
|
+
o.http_method = "POST"
|
427
|
+
o.http_request_uri = "/applications/{ApplicationId}/configurationprofiles"
|
428
|
+
o.input = Shapes::ShapeRef.new(shape: CreateConfigurationProfileRequest)
|
429
|
+
o.output = Shapes::ShapeRef.new(shape: ConfigurationProfile)
|
430
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
431
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
432
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
433
|
+
end)
|
434
|
+
|
435
|
+
api.add_operation(:create_deployment_strategy, Seahorse::Model::Operation.new.tap do |o|
|
436
|
+
o.name = "CreateDeploymentStrategy"
|
437
|
+
o.http_method = "POST"
|
438
|
+
o.http_request_uri = "/deploymentstrategies"
|
439
|
+
o.input = Shapes::ShapeRef.new(shape: CreateDeploymentStrategyRequest)
|
440
|
+
o.output = Shapes::ShapeRef.new(shape: DeploymentStrategy)
|
441
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
442
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
443
|
+
end)
|
444
|
+
|
445
|
+
api.add_operation(:create_environment, Seahorse::Model::Operation.new.tap do |o|
|
446
|
+
o.name = "CreateEnvironment"
|
447
|
+
o.http_method = "POST"
|
448
|
+
o.http_request_uri = "/applications/{ApplicationId}/environments"
|
449
|
+
o.input = Shapes::ShapeRef.new(shape: CreateEnvironmentRequest)
|
450
|
+
o.output = Shapes::ShapeRef.new(shape: Environment)
|
451
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
452
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
453
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
454
|
+
end)
|
455
|
+
|
456
|
+
api.add_operation(:delete_application, Seahorse::Model::Operation.new.tap do |o|
|
457
|
+
o.name = "DeleteApplication"
|
458
|
+
o.http_method = "DELETE"
|
459
|
+
o.http_request_uri = "/applications/{ApplicationId}"
|
460
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteApplicationRequest)
|
461
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
462
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
463
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
464
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
465
|
+
end)
|
466
|
+
|
467
|
+
api.add_operation(:delete_configuration_profile, Seahorse::Model::Operation.new.tap do |o|
|
468
|
+
o.name = "DeleteConfigurationProfile"
|
469
|
+
o.http_method = "DELETE"
|
470
|
+
o.http_request_uri = "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}"
|
471
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteConfigurationProfileRequest)
|
472
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
473
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
474
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
475
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
476
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
477
|
+
end)
|
478
|
+
|
479
|
+
api.add_operation(:delete_deployment_strategy, Seahorse::Model::Operation.new.tap do |o|
|
480
|
+
o.name = "DeleteDeploymentStrategy"
|
481
|
+
o.http_method = "DELETE"
|
482
|
+
o.http_request_uri = "/deployementstrategies/{DeploymentStrategyId}"
|
483
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteDeploymentStrategyRequest)
|
484
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
485
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
486
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
487
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
488
|
+
end)
|
489
|
+
|
490
|
+
api.add_operation(:delete_environment, Seahorse::Model::Operation.new.tap do |o|
|
491
|
+
o.name = "DeleteEnvironment"
|
492
|
+
o.http_method = "DELETE"
|
493
|
+
o.http_request_uri = "/applications/{ApplicationId}/environments/{EnvironmentId}"
|
494
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteEnvironmentRequest)
|
495
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
496
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
497
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
498
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
499
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
500
|
+
end)
|
501
|
+
|
502
|
+
api.add_operation(:get_application, Seahorse::Model::Operation.new.tap do |o|
|
503
|
+
o.name = "GetApplication"
|
504
|
+
o.http_method = "GET"
|
505
|
+
o.http_request_uri = "/applications/{ApplicationId}"
|
506
|
+
o.input = Shapes::ShapeRef.new(shape: GetApplicationRequest)
|
507
|
+
o.output = Shapes::ShapeRef.new(shape: Application)
|
508
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
509
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
510
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
511
|
+
end)
|
512
|
+
|
513
|
+
api.add_operation(:get_configuration, Seahorse::Model::Operation.new.tap do |o|
|
514
|
+
o.name = "GetConfiguration"
|
515
|
+
o.http_method = "GET"
|
516
|
+
o.http_request_uri = "/applications/{Application}/environments/{Environment}/configurations/{Configuration}"
|
517
|
+
o.input = Shapes::ShapeRef.new(shape: GetConfigurationRequest)
|
518
|
+
o.output = Shapes::ShapeRef.new(shape: Configuration)
|
519
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
520
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
521
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
522
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
523
|
+
end)
|
524
|
+
|
525
|
+
api.add_operation(:get_configuration_profile, Seahorse::Model::Operation.new.tap do |o|
|
526
|
+
o.name = "GetConfigurationProfile"
|
527
|
+
o.http_method = "GET"
|
528
|
+
o.http_request_uri = "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}"
|
529
|
+
o.input = Shapes::ShapeRef.new(shape: GetConfigurationProfileRequest)
|
530
|
+
o.output = Shapes::ShapeRef.new(shape: ConfigurationProfile)
|
531
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
532
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
533
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
534
|
+
end)
|
535
|
+
|
536
|
+
api.add_operation(:get_deployment, Seahorse::Model::Operation.new.tap do |o|
|
537
|
+
o.name = "GetDeployment"
|
538
|
+
o.http_method = "GET"
|
539
|
+
o.http_request_uri = "/applications/{ApplicationId}/environments/{EnvironmentId}/deployments/{DeploymentNumber}"
|
540
|
+
o.input = Shapes::ShapeRef.new(shape: GetDeploymentRequest)
|
541
|
+
o.output = Shapes::ShapeRef.new(shape: Deployment)
|
542
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
543
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
544
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
545
|
+
end)
|
546
|
+
|
547
|
+
api.add_operation(:get_deployment_strategy, Seahorse::Model::Operation.new.tap do |o|
|
548
|
+
o.name = "GetDeploymentStrategy"
|
549
|
+
o.http_method = "GET"
|
550
|
+
o.http_request_uri = "/deploymentstrategies/{DeploymentStrategyId}"
|
551
|
+
o.input = Shapes::ShapeRef.new(shape: GetDeploymentStrategyRequest)
|
552
|
+
o.output = Shapes::ShapeRef.new(shape: DeploymentStrategy)
|
553
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
554
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
555
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
556
|
+
end)
|
557
|
+
|
558
|
+
api.add_operation(:get_environment, Seahorse::Model::Operation.new.tap do |o|
|
559
|
+
o.name = "GetEnvironment"
|
560
|
+
o.http_method = "GET"
|
561
|
+
o.http_request_uri = "/applications/{ApplicationId}/environments/{EnvironmentId}"
|
562
|
+
o.input = Shapes::ShapeRef.new(shape: GetEnvironmentRequest)
|
563
|
+
o.output = Shapes::ShapeRef.new(shape: Environment)
|
564
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
565
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
566
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
567
|
+
end)
|
568
|
+
|
569
|
+
api.add_operation(:list_applications, Seahorse::Model::Operation.new.tap do |o|
|
570
|
+
o.name = "ListApplications"
|
571
|
+
o.http_method = "GET"
|
572
|
+
o.http_request_uri = "/applications"
|
573
|
+
o.input = Shapes::ShapeRef.new(shape: ListApplicationsRequest)
|
574
|
+
o.output = Shapes::ShapeRef.new(shape: Applications)
|
575
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
576
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
577
|
+
o[:pager] = Aws::Pager.new(
|
578
|
+
limit_key: "max_results",
|
579
|
+
tokens: {
|
580
|
+
"next_token" => "next_token"
|
581
|
+
}
|
582
|
+
)
|
583
|
+
end)
|
584
|
+
|
585
|
+
api.add_operation(:list_configuration_profiles, Seahorse::Model::Operation.new.tap do |o|
|
586
|
+
o.name = "ListConfigurationProfiles"
|
587
|
+
o.http_method = "GET"
|
588
|
+
o.http_request_uri = "/applications/{ApplicationId}/configurationprofiles"
|
589
|
+
o.input = Shapes::ShapeRef.new(shape: ListConfigurationProfilesRequest)
|
590
|
+
o.output = Shapes::ShapeRef.new(shape: ConfigurationProfiles)
|
591
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
592
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
593
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
594
|
+
o[:pager] = Aws::Pager.new(
|
595
|
+
limit_key: "max_results",
|
596
|
+
tokens: {
|
597
|
+
"next_token" => "next_token"
|
598
|
+
}
|
599
|
+
)
|
600
|
+
end)
|
601
|
+
|
602
|
+
api.add_operation(:list_deployment_strategies, Seahorse::Model::Operation.new.tap do |o|
|
603
|
+
o.name = "ListDeploymentStrategies"
|
604
|
+
o.http_method = "GET"
|
605
|
+
o.http_request_uri = "/deploymentstrategies"
|
606
|
+
o.input = Shapes::ShapeRef.new(shape: ListDeploymentStrategiesRequest)
|
607
|
+
o.output = Shapes::ShapeRef.new(shape: DeploymentStrategies)
|
608
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
609
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
610
|
+
o[:pager] = Aws::Pager.new(
|
611
|
+
limit_key: "max_results",
|
612
|
+
tokens: {
|
613
|
+
"next_token" => "next_token"
|
614
|
+
}
|
615
|
+
)
|
616
|
+
end)
|
617
|
+
|
618
|
+
api.add_operation(:list_deployments, Seahorse::Model::Operation.new.tap do |o|
|
619
|
+
o.name = "ListDeployments"
|
620
|
+
o.http_method = "GET"
|
621
|
+
o.http_request_uri = "/applications/{ApplicationId}/environments/{EnvironmentId}/deployments"
|
622
|
+
o.input = Shapes::ShapeRef.new(shape: ListDeploymentsRequest)
|
623
|
+
o.output = Shapes::ShapeRef.new(shape: Deployments)
|
624
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
625
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
626
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
627
|
+
o[:pager] = Aws::Pager.new(
|
628
|
+
limit_key: "max_results",
|
629
|
+
tokens: {
|
630
|
+
"next_token" => "next_token"
|
631
|
+
}
|
632
|
+
)
|
633
|
+
end)
|
634
|
+
|
635
|
+
api.add_operation(:list_environments, Seahorse::Model::Operation.new.tap do |o|
|
636
|
+
o.name = "ListEnvironments"
|
637
|
+
o.http_method = "GET"
|
638
|
+
o.http_request_uri = "/applications/{ApplicationId}/environments"
|
639
|
+
o.input = Shapes::ShapeRef.new(shape: ListEnvironmentsRequest)
|
640
|
+
o.output = Shapes::ShapeRef.new(shape: Environments)
|
641
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
642
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
643
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
644
|
+
o[:pager] = Aws::Pager.new(
|
645
|
+
limit_key: "max_results",
|
646
|
+
tokens: {
|
647
|
+
"next_token" => "next_token"
|
648
|
+
}
|
649
|
+
)
|
650
|
+
end)
|
651
|
+
|
652
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
653
|
+
o.name = "ListTagsForResource"
|
654
|
+
o.http_method = "GET"
|
655
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
656
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
657
|
+
o.output = Shapes::ShapeRef.new(shape: ResourceTags)
|
658
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
659
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
660
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
661
|
+
end)
|
662
|
+
|
663
|
+
api.add_operation(:start_deployment, Seahorse::Model::Operation.new.tap do |o|
|
664
|
+
o.name = "StartDeployment"
|
665
|
+
o.http_method = "POST"
|
666
|
+
o.http_request_uri = "/applications/{ApplicationId}/environments/{EnvironmentId}/deployments"
|
667
|
+
o.input = Shapes::ShapeRef.new(shape: StartDeploymentRequest)
|
668
|
+
o.output = Shapes::ShapeRef.new(shape: Deployment)
|
669
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
670
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
671
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
672
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
673
|
+
end)
|
674
|
+
|
675
|
+
api.add_operation(:stop_deployment, Seahorse::Model::Operation.new.tap do |o|
|
676
|
+
o.name = "StopDeployment"
|
677
|
+
o.http_method = "DELETE"
|
678
|
+
o.http_request_uri = "/applications/{ApplicationId}/environments/{EnvironmentId}/deployments/{DeploymentNumber}"
|
679
|
+
o.input = Shapes::ShapeRef.new(shape: StopDeploymentRequest)
|
680
|
+
o.output = Shapes::ShapeRef.new(shape: Deployment)
|
681
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
682
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
683
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
684
|
+
end)
|
685
|
+
|
686
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
687
|
+
o.name = "TagResource"
|
688
|
+
o.http_method = "POST"
|
689
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
690
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
691
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
692
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
693
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
694
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
695
|
+
end)
|
696
|
+
|
697
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
698
|
+
o.name = "UntagResource"
|
699
|
+
o.http_method = "DELETE"
|
700
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
701
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
702
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
703
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
704
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
705
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
706
|
+
end)
|
707
|
+
|
708
|
+
api.add_operation(:update_application, Seahorse::Model::Operation.new.tap do |o|
|
709
|
+
o.name = "UpdateApplication"
|
710
|
+
o.http_method = "PATCH"
|
711
|
+
o.http_request_uri = "/applications/{ApplicationId}"
|
712
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateApplicationRequest)
|
713
|
+
o.output = Shapes::ShapeRef.new(shape: Application)
|
714
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
715
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
716
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
717
|
+
end)
|
718
|
+
|
719
|
+
api.add_operation(:update_configuration_profile, Seahorse::Model::Operation.new.tap do |o|
|
720
|
+
o.name = "UpdateConfigurationProfile"
|
721
|
+
o.http_method = "PATCH"
|
722
|
+
o.http_request_uri = "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}"
|
723
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateConfigurationProfileRequest)
|
724
|
+
o.output = Shapes::ShapeRef.new(shape: ConfigurationProfile)
|
725
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
726
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
727
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
728
|
+
end)
|
729
|
+
|
730
|
+
api.add_operation(:update_deployment_strategy, Seahorse::Model::Operation.new.tap do |o|
|
731
|
+
o.name = "UpdateDeploymentStrategy"
|
732
|
+
o.http_method = "PATCH"
|
733
|
+
o.http_request_uri = "/deploymentstrategies/{DeploymentStrategyId}"
|
734
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateDeploymentStrategyRequest)
|
735
|
+
o.output = Shapes::ShapeRef.new(shape: DeploymentStrategy)
|
736
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
737
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
738
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
739
|
+
end)
|
740
|
+
|
741
|
+
api.add_operation(:update_environment, Seahorse::Model::Operation.new.tap do |o|
|
742
|
+
o.name = "UpdateEnvironment"
|
743
|
+
o.http_method = "PATCH"
|
744
|
+
o.http_request_uri = "/applications/{ApplicationId}/environments/{EnvironmentId}"
|
745
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateEnvironmentRequest)
|
746
|
+
o.output = Shapes::ShapeRef.new(shape: Environment)
|
747
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
748
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
749
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
750
|
+
end)
|
751
|
+
|
752
|
+
api.add_operation(:validate_configuration, Seahorse::Model::Operation.new.tap do |o|
|
753
|
+
o.name = "ValidateConfiguration"
|
754
|
+
o.http_method = "POST"
|
755
|
+
o.http_request_uri = "/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/validators"
|
756
|
+
o.input = Shapes::ShapeRef.new(shape: ValidateConfigurationRequest)
|
757
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
758
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
759
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
760
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
761
|
+
end)
|
762
|
+
end
|
763
|
+
|
764
|
+
end
|
765
|
+
end
|