aws-sdk-amplify 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-amplify.rb +47 -0
- data/lib/aws-sdk-amplify/client.rb +1505 -0
- data/lib/aws-sdk-amplify/client_api.rb +740 -0
- data/lib/aws-sdk-amplify/customizations.rb +0 -0
- data/lib/aws-sdk-amplify/errors.rb +14 -0
- data/lib/aws-sdk-amplify/resource.rb +23 -0
- data/lib/aws-sdk-amplify/types.rb +1681 -0
- metadata +88 -0
@@ -0,0 +1,740 @@
|
|
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::Amplify
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
ActiveJobId = Shapes::StringShape.new(name: 'ActiveJobId')
|
15
|
+
App = Shapes::StructureShape.new(name: 'App')
|
16
|
+
AppArn = Shapes::StringShape.new(name: 'AppArn')
|
17
|
+
AppId = Shapes::StringShape.new(name: 'AppId')
|
18
|
+
Apps = Shapes::ListShape.new(name: 'Apps')
|
19
|
+
ArtifactsUrl = Shapes::StringShape.new(name: 'ArtifactsUrl')
|
20
|
+
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
21
|
+
BasicAuthCredentials = Shapes::StringShape.new(name: 'BasicAuthCredentials')
|
22
|
+
Branch = Shapes::StructureShape.new(name: 'Branch')
|
23
|
+
BranchArn = Shapes::StringShape.new(name: 'BranchArn')
|
24
|
+
BranchName = Shapes::StringShape.new(name: 'BranchName')
|
25
|
+
Branches = Shapes::ListShape.new(name: 'Branches')
|
26
|
+
BuildSpec = Shapes::StringShape.new(name: 'BuildSpec')
|
27
|
+
CertificateVerificationDNSRecord = Shapes::StringShape.new(name: 'CertificateVerificationDNSRecord')
|
28
|
+
CommitId = Shapes::StringShape.new(name: 'CommitId')
|
29
|
+
CommitMessage = Shapes::StringShape.new(name: 'CommitMessage')
|
30
|
+
CommitTime = Shapes::TimestampShape.new(name: 'CommitTime')
|
31
|
+
Condition = Shapes::StringShape.new(name: 'Condition')
|
32
|
+
CreateAppRequest = Shapes::StructureShape.new(name: 'CreateAppRequest')
|
33
|
+
CreateAppResult = Shapes::StructureShape.new(name: 'CreateAppResult')
|
34
|
+
CreateBranchRequest = Shapes::StructureShape.new(name: 'CreateBranchRequest')
|
35
|
+
CreateBranchResult = Shapes::StructureShape.new(name: 'CreateBranchResult')
|
36
|
+
CreateDomainAssociationRequest = Shapes::StructureShape.new(name: 'CreateDomainAssociationRequest')
|
37
|
+
CreateDomainAssociationResult = Shapes::StructureShape.new(name: 'CreateDomainAssociationResult')
|
38
|
+
CreateTime = Shapes::TimestampShape.new(name: 'CreateTime')
|
39
|
+
CustomDomain = Shapes::StringShape.new(name: 'CustomDomain')
|
40
|
+
CustomDomains = Shapes::ListShape.new(name: 'CustomDomains')
|
41
|
+
CustomRule = Shapes::StructureShape.new(name: 'CustomRule')
|
42
|
+
CustomRules = Shapes::ListShape.new(name: 'CustomRules')
|
43
|
+
DNSRecord = Shapes::StringShape.new(name: 'DNSRecord')
|
44
|
+
DefaultDomain = Shapes::StringShape.new(name: 'DefaultDomain')
|
45
|
+
DeleteAppRequest = Shapes::StructureShape.new(name: 'DeleteAppRequest')
|
46
|
+
DeleteAppResult = Shapes::StructureShape.new(name: 'DeleteAppResult')
|
47
|
+
DeleteBranchRequest = Shapes::StructureShape.new(name: 'DeleteBranchRequest')
|
48
|
+
DeleteBranchResult = Shapes::StructureShape.new(name: 'DeleteBranchResult')
|
49
|
+
DeleteDomainAssociationRequest = Shapes::StructureShape.new(name: 'DeleteDomainAssociationRequest')
|
50
|
+
DeleteDomainAssociationResult = Shapes::StructureShape.new(name: 'DeleteDomainAssociationResult')
|
51
|
+
DeleteJobRequest = Shapes::StructureShape.new(name: 'DeleteJobRequest')
|
52
|
+
DeleteJobResult = Shapes::StructureShape.new(name: 'DeleteJobResult')
|
53
|
+
DependentServiceFailureException = Shapes::StructureShape.new(name: 'DependentServiceFailureException')
|
54
|
+
Description = Shapes::StringShape.new(name: 'Description')
|
55
|
+
DisplayName = Shapes::StringShape.new(name: 'DisplayName')
|
56
|
+
DomainAssociation = Shapes::StructureShape.new(name: 'DomainAssociation')
|
57
|
+
DomainAssociationArn = Shapes::StringShape.new(name: 'DomainAssociationArn')
|
58
|
+
DomainAssociations = Shapes::ListShape.new(name: 'DomainAssociations')
|
59
|
+
DomainName = Shapes::StringShape.new(name: 'DomainName')
|
60
|
+
DomainPrefix = Shapes::StringShape.new(name: 'DomainPrefix')
|
61
|
+
DomainStatus = Shapes::StringShape.new(name: 'DomainStatus')
|
62
|
+
EnableAutoBuild = Shapes::BooleanShape.new(name: 'EnableAutoBuild')
|
63
|
+
EnableAutoSubDomain = Shapes::BooleanShape.new(name: 'EnableAutoSubDomain')
|
64
|
+
EnableBasicAuth = Shapes::BooleanShape.new(name: 'EnableBasicAuth')
|
65
|
+
EnableBranchAutoBuild = Shapes::BooleanShape.new(name: 'EnableBranchAutoBuild')
|
66
|
+
EnableNotification = Shapes::BooleanShape.new(name: 'EnableNotification')
|
67
|
+
EndTime = Shapes::TimestampShape.new(name: 'EndTime')
|
68
|
+
EnvKey = Shapes::StringShape.new(name: 'EnvKey')
|
69
|
+
EnvValue = Shapes::StringShape.new(name: 'EnvValue')
|
70
|
+
EnvironmentVariables = Shapes::MapShape.new(name: 'EnvironmentVariables')
|
71
|
+
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
72
|
+
Framework = Shapes::StringShape.new(name: 'Framework')
|
73
|
+
GetAppRequest = Shapes::StructureShape.new(name: 'GetAppRequest')
|
74
|
+
GetAppResult = Shapes::StructureShape.new(name: 'GetAppResult')
|
75
|
+
GetBranchRequest = Shapes::StructureShape.new(name: 'GetBranchRequest')
|
76
|
+
GetBranchResult = Shapes::StructureShape.new(name: 'GetBranchResult')
|
77
|
+
GetDomainAssociationRequest = Shapes::StructureShape.new(name: 'GetDomainAssociationRequest')
|
78
|
+
GetDomainAssociationResult = Shapes::StructureShape.new(name: 'GetDomainAssociationResult')
|
79
|
+
GetJobRequest = Shapes::StructureShape.new(name: 'GetJobRequest')
|
80
|
+
GetJobResult = Shapes::StructureShape.new(name: 'GetJobResult')
|
81
|
+
InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
|
82
|
+
Job = Shapes::StructureShape.new(name: 'Job')
|
83
|
+
JobArn = Shapes::StringShape.new(name: 'JobArn')
|
84
|
+
JobId = Shapes::StringShape.new(name: 'JobId')
|
85
|
+
JobReason = Shapes::StringShape.new(name: 'JobReason')
|
86
|
+
JobStatus = Shapes::StringShape.new(name: 'JobStatus')
|
87
|
+
JobSummaries = Shapes::ListShape.new(name: 'JobSummaries')
|
88
|
+
JobSummary = Shapes::StructureShape.new(name: 'JobSummary')
|
89
|
+
JobType = Shapes::StringShape.new(name: 'JobType')
|
90
|
+
LastDeployTime = Shapes::TimestampShape.new(name: 'LastDeployTime')
|
91
|
+
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
92
|
+
ListAppsRequest = Shapes::StructureShape.new(name: 'ListAppsRequest')
|
93
|
+
ListAppsResult = Shapes::StructureShape.new(name: 'ListAppsResult')
|
94
|
+
ListBranchesRequest = Shapes::StructureShape.new(name: 'ListBranchesRequest')
|
95
|
+
ListBranchesResult = Shapes::StructureShape.new(name: 'ListBranchesResult')
|
96
|
+
ListDomainAssociationsRequest = Shapes::StructureShape.new(name: 'ListDomainAssociationsRequest')
|
97
|
+
ListDomainAssociationsResult = Shapes::StructureShape.new(name: 'ListDomainAssociationsResult')
|
98
|
+
ListJobsRequest = Shapes::StructureShape.new(name: 'ListJobsRequest')
|
99
|
+
ListJobsResult = Shapes::StructureShape.new(name: 'ListJobsResult')
|
100
|
+
LogUrl = Shapes::StringShape.new(name: 'LogUrl')
|
101
|
+
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
102
|
+
Name = Shapes::StringShape.new(name: 'Name')
|
103
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
104
|
+
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
105
|
+
OauthToken = Shapes::StringShape.new(name: 'OauthToken')
|
106
|
+
Platform = Shapes::StringShape.new(name: 'Platform')
|
107
|
+
ProductionBranch = Shapes::StructureShape.new(name: 'ProductionBranch')
|
108
|
+
Repository = Shapes::StringShape.new(name: 'Repository')
|
109
|
+
Screenshots = Shapes::MapShape.new(name: 'Screenshots')
|
110
|
+
ServiceRoleArn = Shapes::StringShape.new(name: 'ServiceRoleArn')
|
111
|
+
Source = Shapes::StringShape.new(name: 'Source')
|
112
|
+
Stage = Shapes::StringShape.new(name: 'Stage')
|
113
|
+
StartJobRequest = Shapes::StructureShape.new(name: 'StartJobRequest')
|
114
|
+
StartJobResult = Shapes::StructureShape.new(name: 'StartJobResult')
|
115
|
+
StartTime = Shapes::TimestampShape.new(name: 'StartTime')
|
116
|
+
Status = Shapes::StringShape.new(name: 'Status')
|
117
|
+
StatusReason = Shapes::StringShape.new(name: 'StatusReason')
|
118
|
+
Step = Shapes::StructureShape.new(name: 'Step')
|
119
|
+
StepName = Shapes::StringShape.new(name: 'StepName')
|
120
|
+
Steps = Shapes::ListShape.new(name: 'Steps')
|
121
|
+
StopJobRequest = Shapes::StructureShape.new(name: 'StopJobRequest')
|
122
|
+
StopJobResult = Shapes::StructureShape.new(name: 'StopJobResult')
|
123
|
+
SubDomain = Shapes::StructureShape.new(name: 'SubDomain')
|
124
|
+
SubDomainSetting = Shapes::StructureShape.new(name: 'SubDomainSetting')
|
125
|
+
SubDomainSettings = Shapes::ListShape.new(name: 'SubDomainSettings')
|
126
|
+
SubDomains = Shapes::ListShape.new(name: 'SubDomains')
|
127
|
+
TTL = Shapes::StringShape.new(name: 'TTL')
|
128
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
129
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
130
|
+
Tags = Shapes::MapShape.new(name: 'Tags')
|
131
|
+
Target = Shapes::StringShape.new(name: 'Target')
|
132
|
+
ThumbnailName = Shapes::StringShape.new(name: 'ThumbnailName')
|
133
|
+
ThumbnailUrl = Shapes::StringShape.new(name: 'ThumbnailUrl')
|
134
|
+
TotalNumberOfJobs = Shapes::StringShape.new(name: 'TotalNumberOfJobs')
|
135
|
+
UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
|
136
|
+
UpdateAppRequest = Shapes::StructureShape.new(name: 'UpdateAppRequest')
|
137
|
+
UpdateAppResult = Shapes::StructureShape.new(name: 'UpdateAppResult')
|
138
|
+
UpdateBranchRequest = Shapes::StructureShape.new(name: 'UpdateBranchRequest')
|
139
|
+
UpdateBranchResult = Shapes::StructureShape.new(name: 'UpdateBranchResult')
|
140
|
+
UpdateDomainAssociationRequest = Shapes::StructureShape.new(name: 'UpdateDomainAssociationRequest')
|
141
|
+
UpdateDomainAssociationResult = Shapes::StructureShape.new(name: 'UpdateDomainAssociationResult')
|
142
|
+
UpdateTime = Shapes::TimestampShape.new(name: 'UpdateTime')
|
143
|
+
Verified = Shapes::BooleanShape.new(name: 'Verified')
|
144
|
+
|
145
|
+
App.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location_name: "appId"))
|
146
|
+
App.add_member(:app_arn, Shapes::ShapeRef.new(shape: AppArn, required: true, location_name: "appArn"))
|
147
|
+
App.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
148
|
+
App.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
149
|
+
App.add_member(:description, Shapes::ShapeRef.new(shape: Description, required: true, location_name: "description"))
|
150
|
+
App.add_member(:repository, Shapes::ShapeRef.new(shape: Repository, required: true, location_name: "repository"))
|
151
|
+
App.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, required: true, location_name: "platform"))
|
152
|
+
App.add_member(:create_time, Shapes::ShapeRef.new(shape: CreateTime, required: true, location_name: "createTime"))
|
153
|
+
App.add_member(:update_time, Shapes::ShapeRef.new(shape: UpdateTime, required: true, location_name: "updateTime"))
|
154
|
+
App.add_member(:iam_service_role_arn, Shapes::ShapeRef.new(shape: ServiceRoleArn, location_name: "iamServiceRoleArn"))
|
155
|
+
App.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, required: true, location_name: "environmentVariables"))
|
156
|
+
App.add_member(:default_domain, Shapes::ShapeRef.new(shape: DefaultDomain, required: true, location_name: "defaultDomain"))
|
157
|
+
App.add_member(:enable_branch_auto_build, Shapes::ShapeRef.new(shape: EnableBranchAutoBuild, required: true, location_name: "enableBranchAutoBuild"))
|
158
|
+
App.add_member(:enable_basic_auth, Shapes::ShapeRef.new(shape: EnableBasicAuth, required: true, location_name: "enableBasicAuth"))
|
159
|
+
App.add_member(:basic_auth_credentials, Shapes::ShapeRef.new(shape: BasicAuthCredentials, location_name: "basicAuthCredentials"))
|
160
|
+
App.add_member(:custom_rules, Shapes::ShapeRef.new(shape: CustomRules, location_name: "customRules"))
|
161
|
+
App.add_member(:production_branch, Shapes::ShapeRef.new(shape: ProductionBranch, location_name: "productionBranch"))
|
162
|
+
App.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
|
163
|
+
App.struct_class = Types::App
|
164
|
+
|
165
|
+
Apps.member = Shapes::ShapeRef.new(shape: App)
|
166
|
+
|
167
|
+
Branch.add_member(:branch_arn, Shapes::ShapeRef.new(shape: BranchArn, required: true, location_name: "branchArn"))
|
168
|
+
Branch.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "branchName"))
|
169
|
+
Branch.add_member(:description, Shapes::ShapeRef.new(shape: Description, required: true, location_name: "description"))
|
170
|
+
Branch.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
171
|
+
Branch.add_member(:stage, Shapes::ShapeRef.new(shape: Stage, required: true, location_name: "stage"))
|
172
|
+
Branch.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
|
173
|
+
Branch.add_member(:enable_notification, Shapes::ShapeRef.new(shape: EnableNotification, required: true, location_name: "enableNotification"))
|
174
|
+
Branch.add_member(:create_time, Shapes::ShapeRef.new(shape: CreateTime, required: true, location_name: "createTime"))
|
175
|
+
Branch.add_member(:update_time, Shapes::ShapeRef.new(shape: UpdateTime, required: true, location_name: "updateTime"))
|
176
|
+
Branch.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, required: true, location_name: "environmentVariables"))
|
177
|
+
Branch.add_member(:enable_auto_build, Shapes::ShapeRef.new(shape: EnableAutoBuild, required: true, location_name: "enableAutoBuild"))
|
178
|
+
Branch.add_member(:custom_domains, Shapes::ShapeRef.new(shape: CustomDomains, required: true, location_name: "customDomains"))
|
179
|
+
Branch.add_member(:framework, Shapes::ShapeRef.new(shape: Framework, required: true, location_name: "framework"))
|
180
|
+
Branch.add_member(:active_job_id, Shapes::ShapeRef.new(shape: ActiveJobId, required: true, location_name: "activeJobId"))
|
181
|
+
Branch.add_member(:total_number_of_jobs, Shapes::ShapeRef.new(shape: TotalNumberOfJobs, required: true, location_name: "totalNumberOfJobs"))
|
182
|
+
Branch.add_member(:enable_basic_auth, Shapes::ShapeRef.new(shape: EnableBasicAuth, required: true, location_name: "enableBasicAuth"))
|
183
|
+
Branch.add_member(:thumbnail_url, Shapes::ShapeRef.new(shape: ThumbnailUrl, location_name: "thumbnailUrl"))
|
184
|
+
Branch.add_member(:basic_auth_credentials, Shapes::ShapeRef.new(shape: BasicAuthCredentials, location_name: "basicAuthCredentials"))
|
185
|
+
Branch.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
|
186
|
+
Branch.add_member(:ttl, Shapes::ShapeRef.new(shape: TTL, required: true, location_name: "ttl"))
|
187
|
+
Branch.struct_class = Types::Branch
|
188
|
+
|
189
|
+
Branches.member = Shapes::ShapeRef.new(shape: Branch)
|
190
|
+
|
191
|
+
CreateAppRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
192
|
+
CreateAppRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
193
|
+
CreateAppRequest.add_member(:repository, Shapes::ShapeRef.new(shape: Repository, required: true, location_name: "repository"))
|
194
|
+
CreateAppRequest.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, required: true, location_name: "platform"))
|
195
|
+
CreateAppRequest.add_member(:iam_service_role_arn, Shapes::ShapeRef.new(shape: ServiceRoleArn, location_name: "iamServiceRoleArn"))
|
196
|
+
CreateAppRequest.add_member(:oauth_token, Shapes::ShapeRef.new(shape: OauthToken, required: true, location_name: "oauthToken"))
|
197
|
+
CreateAppRequest.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
|
198
|
+
CreateAppRequest.add_member(:enable_branch_auto_build, Shapes::ShapeRef.new(shape: EnableBranchAutoBuild, location_name: "enableBranchAutoBuild"))
|
199
|
+
CreateAppRequest.add_member(:enable_basic_auth, Shapes::ShapeRef.new(shape: EnableBasicAuth, location_name: "enableBasicAuth"))
|
200
|
+
CreateAppRequest.add_member(:basic_auth_credentials, Shapes::ShapeRef.new(shape: BasicAuthCredentials, location_name: "basicAuthCredentials"))
|
201
|
+
CreateAppRequest.add_member(:custom_rules, Shapes::ShapeRef.new(shape: CustomRules, location_name: "customRules"))
|
202
|
+
CreateAppRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
203
|
+
CreateAppRequest.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
|
204
|
+
CreateAppRequest.struct_class = Types::CreateAppRequest
|
205
|
+
|
206
|
+
CreateAppResult.add_member(:app, Shapes::ShapeRef.new(shape: App, required: true, location_name: "app"))
|
207
|
+
CreateAppResult.struct_class = Types::CreateAppResult
|
208
|
+
|
209
|
+
CreateBranchRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
|
210
|
+
CreateBranchRequest.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "branchName"))
|
211
|
+
CreateBranchRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
212
|
+
CreateBranchRequest.add_member(:stage, Shapes::ShapeRef.new(shape: Stage, location_name: "stage"))
|
213
|
+
CreateBranchRequest.add_member(:framework, Shapes::ShapeRef.new(shape: Framework, location_name: "framework"))
|
214
|
+
CreateBranchRequest.add_member(:enable_notification, Shapes::ShapeRef.new(shape: EnableNotification, location_name: "enableNotification"))
|
215
|
+
CreateBranchRequest.add_member(:enable_auto_build, Shapes::ShapeRef.new(shape: EnableAutoBuild, location_name: "enableAutoBuild"))
|
216
|
+
CreateBranchRequest.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
|
217
|
+
CreateBranchRequest.add_member(:basic_auth_credentials, Shapes::ShapeRef.new(shape: BasicAuthCredentials, location_name: "basicAuthCredentials"))
|
218
|
+
CreateBranchRequest.add_member(:enable_basic_auth, Shapes::ShapeRef.new(shape: EnableBasicAuth, location_name: "enableBasicAuth"))
|
219
|
+
CreateBranchRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
220
|
+
CreateBranchRequest.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
|
221
|
+
CreateBranchRequest.add_member(:ttl, Shapes::ShapeRef.new(shape: TTL, location_name: "ttl"))
|
222
|
+
CreateBranchRequest.struct_class = Types::CreateBranchRequest
|
223
|
+
|
224
|
+
CreateBranchResult.add_member(:branch, Shapes::ShapeRef.new(shape: Branch, required: true, location_name: "branch"))
|
225
|
+
CreateBranchResult.struct_class = Types::CreateBranchResult
|
226
|
+
|
227
|
+
CreateDomainAssociationRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
|
228
|
+
CreateDomainAssociationRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "domainName"))
|
229
|
+
CreateDomainAssociationRequest.add_member(:enable_auto_sub_domain, Shapes::ShapeRef.new(shape: EnableAutoSubDomain, location_name: "enableAutoSubDomain"))
|
230
|
+
CreateDomainAssociationRequest.add_member(:sub_domain_settings, Shapes::ShapeRef.new(shape: SubDomainSettings, required: true, location_name: "subDomainSettings"))
|
231
|
+
CreateDomainAssociationRequest.struct_class = Types::CreateDomainAssociationRequest
|
232
|
+
|
233
|
+
CreateDomainAssociationResult.add_member(:domain_association, Shapes::ShapeRef.new(shape: DomainAssociation, required: true, location_name: "domainAssociation"))
|
234
|
+
CreateDomainAssociationResult.struct_class = Types::CreateDomainAssociationResult
|
235
|
+
|
236
|
+
CustomDomains.member = Shapes::ShapeRef.new(shape: CustomDomain)
|
237
|
+
|
238
|
+
CustomRule.add_member(:source, Shapes::ShapeRef.new(shape: Source, required: true, location_name: "source"))
|
239
|
+
CustomRule.add_member(:target, Shapes::ShapeRef.new(shape: Target, required: true, location_name: "target"))
|
240
|
+
CustomRule.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
|
241
|
+
CustomRule.add_member(:condition, Shapes::ShapeRef.new(shape: Condition, location_name: "condition"))
|
242
|
+
CustomRule.struct_class = Types::CustomRule
|
243
|
+
|
244
|
+
CustomRules.member = Shapes::ShapeRef.new(shape: CustomRule)
|
245
|
+
|
246
|
+
DeleteAppRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
|
247
|
+
DeleteAppRequest.struct_class = Types::DeleteAppRequest
|
248
|
+
|
249
|
+
DeleteAppResult.add_member(:app, Shapes::ShapeRef.new(shape: App, required: true, location_name: "app"))
|
250
|
+
DeleteAppResult.struct_class = Types::DeleteAppResult
|
251
|
+
|
252
|
+
DeleteBranchRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
|
253
|
+
DeleteBranchRequest.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location: "uri", location_name: "branchName"))
|
254
|
+
DeleteBranchRequest.struct_class = Types::DeleteBranchRequest
|
255
|
+
|
256
|
+
DeleteBranchResult.add_member(:branch, Shapes::ShapeRef.new(shape: Branch, required: true, location_name: "branch"))
|
257
|
+
DeleteBranchResult.struct_class = Types::DeleteBranchResult
|
258
|
+
|
259
|
+
DeleteDomainAssociationRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
|
260
|
+
DeleteDomainAssociationRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "domainName"))
|
261
|
+
DeleteDomainAssociationRequest.struct_class = Types::DeleteDomainAssociationRequest
|
262
|
+
|
263
|
+
DeleteDomainAssociationResult.add_member(:domain_association, Shapes::ShapeRef.new(shape: DomainAssociation, required: true, location_name: "domainAssociation"))
|
264
|
+
DeleteDomainAssociationResult.struct_class = Types::DeleteDomainAssociationResult
|
265
|
+
|
266
|
+
DeleteJobRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
|
267
|
+
DeleteJobRequest.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location: "uri", location_name: "branchName"))
|
268
|
+
DeleteJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
|
269
|
+
DeleteJobRequest.struct_class = Types::DeleteJobRequest
|
270
|
+
|
271
|
+
DeleteJobResult.add_member(:job_summary, Shapes::ShapeRef.new(shape: JobSummary, required: true, location_name: "jobSummary"))
|
272
|
+
DeleteJobResult.struct_class = Types::DeleteJobResult
|
273
|
+
|
274
|
+
DomainAssociation.add_member(:domain_association_arn, Shapes::ShapeRef.new(shape: DomainAssociationArn, required: true, location_name: "domainAssociationArn"))
|
275
|
+
DomainAssociation.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "domainName"))
|
276
|
+
DomainAssociation.add_member(:enable_auto_sub_domain, Shapes::ShapeRef.new(shape: EnableAutoSubDomain, required: true, location_name: "enableAutoSubDomain"))
|
277
|
+
DomainAssociation.add_member(:domain_status, Shapes::ShapeRef.new(shape: DomainStatus, required: true, location_name: "domainStatus"))
|
278
|
+
DomainAssociation.add_member(:status_reason, Shapes::ShapeRef.new(shape: StatusReason, required: true, location_name: "statusReason"))
|
279
|
+
DomainAssociation.add_member(:certificate_verification_dns_record, Shapes::ShapeRef.new(shape: CertificateVerificationDNSRecord, required: true, location_name: "certificateVerificationDNSRecord"))
|
280
|
+
DomainAssociation.add_member(:sub_domains, Shapes::ShapeRef.new(shape: SubDomains, required: true, location_name: "subDomains"))
|
281
|
+
DomainAssociation.struct_class = Types::DomainAssociation
|
282
|
+
|
283
|
+
DomainAssociations.member = Shapes::ShapeRef.new(shape: DomainAssociation)
|
284
|
+
|
285
|
+
EnvironmentVariables.key = Shapes::ShapeRef.new(shape: EnvKey)
|
286
|
+
EnvironmentVariables.value = Shapes::ShapeRef.new(shape: EnvValue)
|
287
|
+
|
288
|
+
GetAppRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
|
289
|
+
GetAppRequest.struct_class = Types::GetAppRequest
|
290
|
+
|
291
|
+
GetAppResult.add_member(:app, Shapes::ShapeRef.new(shape: App, required: true, location_name: "app"))
|
292
|
+
GetAppResult.struct_class = Types::GetAppResult
|
293
|
+
|
294
|
+
GetBranchRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
|
295
|
+
GetBranchRequest.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location: "uri", location_name: "branchName"))
|
296
|
+
GetBranchRequest.struct_class = Types::GetBranchRequest
|
297
|
+
|
298
|
+
GetBranchResult.add_member(:branch, Shapes::ShapeRef.new(shape: Branch, required: true, location_name: "branch"))
|
299
|
+
GetBranchResult.struct_class = Types::GetBranchResult
|
300
|
+
|
301
|
+
GetDomainAssociationRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
|
302
|
+
GetDomainAssociationRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "domainName"))
|
303
|
+
GetDomainAssociationRequest.struct_class = Types::GetDomainAssociationRequest
|
304
|
+
|
305
|
+
GetDomainAssociationResult.add_member(:domain_association, Shapes::ShapeRef.new(shape: DomainAssociation, required: true, location_name: "domainAssociation"))
|
306
|
+
GetDomainAssociationResult.struct_class = Types::GetDomainAssociationResult
|
307
|
+
|
308
|
+
GetJobRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
|
309
|
+
GetJobRequest.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location: "uri", location_name: "branchName"))
|
310
|
+
GetJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
|
311
|
+
GetJobRequest.struct_class = Types::GetJobRequest
|
312
|
+
|
313
|
+
GetJobResult.add_member(:job, Shapes::ShapeRef.new(shape: Job, required: true, location_name: "job"))
|
314
|
+
GetJobResult.struct_class = Types::GetJobResult
|
315
|
+
|
316
|
+
Job.add_member(:summary, Shapes::ShapeRef.new(shape: JobSummary, required: true, location_name: "summary"))
|
317
|
+
Job.add_member(:steps, Shapes::ShapeRef.new(shape: Steps, required: true, location_name: "steps"))
|
318
|
+
Job.struct_class = Types::Job
|
319
|
+
|
320
|
+
JobSummaries.member = Shapes::ShapeRef.new(shape: JobSummary)
|
321
|
+
|
322
|
+
JobSummary.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, required: true, location_name: "jobArn"))
|
323
|
+
JobSummary.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "jobId"))
|
324
|
+
JobSummary.add_member(:commit_id, Shapes::ShapeRef.new(shape: CommitId, required: true, location_name: "commitId"))
|
325
|
+
JobSummary.add_member(:commit_message, Shapes::ShapeRef.new(shape: CommitMessage, required: true, location_name: "commitMessage"))
|
326
|
+
JobSummary.add_member(:commit_time, Shapes::ShapeRef.new(shape: CommitTime, required: true, location_name: "commitTime"))
|
327
|
+
JobSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: StartTime, required: true, location_name: "startTime"))
|
328
|
+
JobSummary.add_member(:status, Shapes::ShapeRef.new(shape: JobStatus, required: true, location_name: "status"))
|
329
|
+
JobSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: EndTime, location_name: "endTime"))
|
330
|
+
JobSummary.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, required: true, location_name: "jobType"))
|
331
|
+
JobSummary.struct_class = Types::JobSummary
|
332
|
+
|
333
|
+
ListAppsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
334
|
+
ListAppsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
335
|
+
ListAppsRequest.struct_class = Types::ListAppsRequest
|
336
|
+
|
337
|
+
ListAppsResult.add_member(:apps, Shapes::ShapeRef.new(shape: Apps, required: true, location_name: "apps"))
|
338
|
+
ListAppsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
339
|
+
ListAppsResult.struct_class = Types::ListAppsResult
|
340
|
+
|
341
|
+
ListBranchesRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
|
342
|
+
ListBranchesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
343
|
+
ListBranchesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
344
|
+
ListBranchesRequest.struct_class = Types::ListBranchesRequest
|
345
|
+
|
346
|
+
ListBranchesResult.add_member(:branches, Shapes::ShapeRef.new(shape: Branches, required: true, location_name: "branches"))
|
347
|
+
ListBranchesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
348
|
+
ListBranchesResult.struct_class = Types::ListBranchesResult
|
349
|
+
|
350
|
+
ListDomainAssociationsRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
|
351
|
+
ListDomainAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
352
|
+
ListDomainAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
353
|
+
ListDomainAssociationsRequest.struct_class = Types::ListDomainAssociationsRequest
|
354
|
+
|
355
|
+
ListDomainAssociationsResult.add_member(:domain_associations, Shapes::ShapeRef.new(shape: DomainAssociations, required: true, location_name: "domainAssociations"))
|
356
|
+
ListDomainAssociationsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
357
|
+
ListDomainAssociationsResult.struct_class = Types::ListDomainAssociationsResult
|
358
|
+
|
359
|
+
ListJobsRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
|
360
|
+
ListJobsRequest.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location: "uri", location_name: "branchName"))
|
361
|
+
ListJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
362
|
+
ListJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
363
|
+
ListJobsRequest.struct_class = Types::ListJobsRequest
|
364
|
+
|
365
|
+
ListJobsResult.add_member(:job_summaries, Shapes::ShapeRef.new(shape: JobSummaries, required: true, location_name: "jobSummaries"))
|
366
|
+
ListJobsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
367
|
+
ListJobsResult.struct_class = Types::ListJobsResult
|
368
|
+
|
369
|
+
ProductionBranch.add_member(:last_deploy_time, Shapes::ShapeRef.new(shape: LastDeployTime, location_name: "lastDeployTime"))
|
370
|
+
ProductionBranch.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
|
371
|
+
ProductionBranch.add_member(:thumbnail_url, Shapes::ShapeRef.new(shape: ThumbnailUrl, location_name: "thumbnailUrl"))
|
372
|
+
ProductionBranch.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, location_name: "branchName"))
|
373
|
+
ProductionBranch.struct_class = Types::ProductionBranch
|
374
|
+
|
375
|
+
Screenshots.key = Shapes::ShapeRef.new(shape: ThumbnailName)
|
376
|
+
Screenshots.value = Shapes::ShapeRef.new(shape: ThumbnailUrl)
|
377
|
+
|
378
|
+
StartJobRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
|
379
|
+
StartJobRequest.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location: "uri", location_name: "branchName"))
|
380
|
+
StartJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
|
381
|
+
StartJobRequest.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, required: true, location_name: "jobType"))
|
382
|
+
StartJobRequest.add_member(:job_reason, Shapes::ShapeRef.new(shape: JobReason, location_name: "jobReason"))
|
383
|
+
StartJobRequest.add_member(:commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "commitId"))
|
384
|
+
StartJobRequest.add_member(:commit_message, Shapes::ShapeRef.new(shape: CommitMessage, location_name: "commitMessage"))
|
385
|
+
StartJobRequest.add_member(:commit_time, Shapes::ShapeRef.new(shape: CommitTime, location_name: "commitTime"))
|
386
|
+
StartJobRequest.struct_class = Types::StartJobRequest
|
387
|
+
|
388
|
+
StartJobResult.add_member(:job_summary, Shapes::ShapeRef.new(shape: JobSummary, required: true, location_name: "jobSummary"))
|
389
|
+
StartJobResult.struct_class = Types::StartJobResult
|
390
|
+
|
391
|
+
Step.add_member(:step_name, Shapes::ShapeRef.new(shape: StepName, required: true, location_name: "stepName"))
|
392
|
+
Step.add_member(:start_time, Shapes::ShapeRef.new(shape: StartTime, required: true, location_name: "startTime"))
|
393
|
+
Step.add_member(:status, Shapes::ShapeRef.new(shape: JobStatus, required: true, location_name: "status"))
|
394
|
+
Step.add_member(:end_time, Shapes::ShapeRef.new(shape: EndTime, required: true, location_name: "endTime"))
|
395
|
+
Step.add_member(:log_url, Shapes::ShapeRef.new(shape: LogUrl, location_name: "logUrl"))
|
396
|
+
Step.add_member(:artifacts_url, Shapes::ShapeRef.new(shape: ArtifactsUrl, location_name: "artifactsUrl"))
|
397
|
+
Step.add_member(:screenshots, Shapes::ShapeRef.new(shape: Screenshots, location_name: "screenshots"))
|
398
|
+
Step.struct_class = Types::Step
|
399
|
+
|
400
|
+
Steps.member = Shapes::ShapeRef.new(shape: Step)
|
401
|
+
|
402
|
+
StopJobRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
|
403
|
+
StopJobRequest.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location: "uri", location_name: "branchName"))
|
404
|
+
StopJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
|
405
|
+
StopJobRequest.struct_class = Types::StopJobRequest
|
406
|
+
|
407
|
+
StopJobResult.add_member(:job_summary, Shapes::ShapeRef.new(shape: JobSummary, required: true, location_name: "jobSummary"))
|
408
|
+
StopJobResult.struct_class = Types::StopJobResult
|
409
|
+
|
410
|
+
SubDomain.add_member(:sub_domain_setting, Shapes::ShapeRef.new(shape: SubDomainSetting, required: true, location_name: "subDomainSetting"))
|
411
|
+
SubDomain.add_member(:verified, Shapes::ShapeRef.new(shape: Verified, required: true, location_name: "verified"))
|
412
|
+
SubDomain.add_member(:dns_record, Shapes::ShapeRef.new(shape: DNSRecord, required: true, location_name: "dnsRecord"))
|
413
|
+
SubDomain.struct_class = Types::SubDomain
|
414
|
+
|
415
|
+
SubDomainSetting.add_member(:prefix, Shapes::ShapeRef.new(shape: DomainPrefix, required: true, location_name: "prefix"))
|
416
|
+
SubDomainSetting.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "branchName"))
|
417
|
+
SubDomainSetting.struct_class = Types::SubDomainSetting
|
418
|
+
|
419
|
+
SubDomainSettings.member = Shapes::ShapeRef.new(shape: SubDomainSetting)
|
420
|
+
|
421
|
+
SubDomains.member = Shapes::ShapeRef.new(shape: SubDomain)
|
422
|
+
|
423
|
+
Tags.key = Shapes::ShapeRef.new(shape: TagKey)
|
424
|
+
Tags.value = Shapes::ShapeRef.new(shape: TagValue)
|
425
|
+
|
426
|
+
UpdateAppRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
|
427
|
+
UpdateAppRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
428
|
+
UpdateAppRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
429
|
+
UpdateAppRequest.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "platform"))
|
430
|
+
UpdateAppRequest.add_member(:iam_service_role_arn, Shapes::ShapeRef.new(shape: ServiceRoleArn, location_name: "iamServiceRoleArn"))
|
431
|
+
UpdateAppRequest.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
|
432
|
+
UpdateAppRequest.add_member(:enable_branch_auto_build, Shapes::ShapeRef.new(shape: EnableAutoBuild, location_name: "enableBranchAutoBuild"))
|
433
|
+
UpdateAppRequest.add_member(:enable_basic_auth, Shapes::ShapeRef.new(shape: EnableBasicAuth, location_name: "enableBasicAuth"))
|
434
|
+
UpdateAppRequest.add_member(:basic_auth_credentials, Shapes::ShapeRef.new(shape: BasicAuthCredentials, location_name: "basicAuthCredentials"))
|
435
|
+
UpdateAppRequest.add_member(:custom_rules, Shapes::ShapeRef.new(shape: CustomRules, location_name: "customRules"))
|
436
|
+
UpdateAppRequest.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
|
437
|
+
UpdateAppRequest.struct_class = Types::UpdateAppRequest
|
438
|
+
|
439
|
+
UpdateAppResult.add_member(:app, Shapes::ShapeRef.new(shape: App, required: true, location_name: "app"))
|
440
|
+
UpdateAppResult.struct_class = Types::UpdateAppResult
|
441
|
+
|
442
|
+
UpdateBranchRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
|
443
|
+
UpdateBranchRequest.add_member(:branch_name, Shapes::ShapeRef.new(shape: BranchName, required: true, location: "uri", location_name: "branchName"))
|
444
|
+
UpdateBranchRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
445
|
+
UpdateBranchRequest.add_member(:framework, Shapes::ShapeRef.new(shape: Framework, location_name: "framework"))
|
446
|
+
UpdateBranchRequest.add_member(:stage, Shapes::ShapeRef.new(shape: Stage, location_name: "stage"))
|
447
|
+
UpdateBranchRequest.add_member(:enable_notification, Shapes::ShapeRef.new(shape: EnableNotification, location_name: "enableNotification"))
|
448
|
+
UpdateBranchRequest.add_member(:enable_auto_build, Shapes::ShapeRef.new(shape: EnableAutoBuild, location_name: "enableAutoBuild"))
|
449
|
+
UpdateBranchRequest.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
|
450
|
+
UpdateBranchRequest.add_member(:basic_auth_credentials, Shapes::ShapeRef.new(shape: BasicAuthCredentials, location_name: "basicAuthCredentials"))
|
451
|
+
UpdateBranchRequest.add_member(:enable_basic_auth, Shapes::ShapeRef.new(shape: EnableBasicAuth, location_name: "enableBasicAuth"))
|
452
|
+
UpdateBranchRequest.add_member(:build_spec, Shapes::ShapeRef.new(shape: BuildSpec, location_name: "buildSpec"))
|
453
|
+
UpdateBranchRequest.add_member(:ttl, Shapes::ShapeRef.new(shape: TTL, location_name: "ttl"))
|
454
|
+
UpdateBranchRequest.struct_class = Types::UpdateBranchRequest
|
455
|
+
|
456
|
+
UpdateBranchResult.add_member(:branch, Shapes::ShapeRef.new(shape: Branch, required: true, location_name: "branch"))
|
457
|
+
UpdateBranchResult.struct_class = Types::UpdateBranchResult
|
458
|
+
|
459
|
+
UpdateDomainAssociationRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: AppId, required: true, location: "uri", location_name: "appId"))
|
460
|
+
UpdateDomainAssociationRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "domainName"))
|
461
|
+
UpdateDomainAssociationRequest.add_member(:enable_auto_sub_domain, Shapes::ShapeRef.new(shape: EnableAutoSubDomain, location_name: "enableAutoSubDomain"))
|
462
|
+
UpdateDomainAssociationRequest.add_member(:sub_domain_settings, Shapes::ShapeRef.new(shape: SubDomainSettings, required: true, location_name: "subDomainSettings"))
|
463
|
+
UpdateDomainAssociationRequest.struct_class = Types::UpdateDomainAssociationRequest
|
464
|
+
|
465
|
+
UpdateDomainAssociationResult.add_member(:domain_association, Shapes::ShapeRef.new(shape: DomainAssociation, required: true, location_name: "domainAssociation"))
|
466
|
+
UpdateDomainAssociationResult.struct_class = Types::UpdateDomainAssociationResult
|
467
|
+
|
468
|
+
|
469
|
+
# @api private
|
470
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
471
|
+
|
472
|
+
api.version = "2017-07-25"
|
473
|
+
|
474
|
+
api.metadata = {
|
475
|
+
"apiVersion" => "2017-07-25",
|
476
|
+
"endpointPrefix" => "amplify",
|
477
|
+
"jsonVersion" => "1.1",
|
478
|
+
"protocol" => "rest-json",
|
479
|
+
"serviceAbbreviation" => "Amplify",
|
480
|
+
"serviceFullName" => "AWS Amplify",
|
481
|
+
"serviceId" => "Amplify",
|
482
|
+
"signatureVersion" => "v4",
|
483
|
+
"signingName" => "amplify",
|
484
|
+
"uid" => "amplify-2017-07-25",
|
485
|
+
}
|
486
|
+
|
487
|
+
api.add_operation(:create_app, Seahorse::Model::Operation.new.tap do |o|
|
488
|
+
o.name = "CreateApp"
|
489
|
+
o.http_method = "POST"
|
490
|
+
o.http_request_uri = "/apps"
|
491
|
+
o.input = Shapes::ShapeRef.new(shape: CreateAppRequest)
|
492
|
+
o.output = Shapes::ShapeRef.new(shape: CreateAppResult)
|
493
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
494
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
495
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
496
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
497
|
+
o.errors << Shapes::ShapeRef.new(shape: DependentServiceFailureException)
|
498
|
+
end)
|
499
|
+
|
500
|
+
api.add_operation(:create_branch, Seahorse::Model::Operation.new.tap do |o|
|
501
|
+
o.name = "CreateBranch"
|
502
|
+
o.http_method = "POST"
|
503
|
+
o.http_request_uri = "/apps/{appId}/branches"
|
504
|
+
o.input = Shapes::ShapeRef.new(shape: CreateBranchRequest)
|
505
|
+
o.output = Shapes::ShapeRef.new(shape: CreateBranchResult)
|
506
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
507
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
508
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
509
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
510
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
511
|
+
o.errors << Shapes::ShapeRef.new(shape: DependentServiceFailureException)
|
512
|
+
end)
|
513
|
+
|
514
|
+
api.add_operation(:create_domain_association, Seahorse::Model::Operation.new.tap do |o|
|
515
|
+
o.name = "CreateDomainAssociation"
|
516
|
+
o.http_method = "POST"
|
517
|
+
o.http_request_uri = "/apps/{appId}/domains"
|
518
|
+
o.input = Shapes::ShapeRef.new(shape: CreateDomainAssociationRequest)
|
519
|
+
o.output = Shapes::ShapeRef.new(shape: CreateDomainAssociationResult)
|
520
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
521
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
522
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
523
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
524
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
525
|
+
o.errors << Shapes::ShapeRef.new(shape: DependentServiceFailureException)
|
526
|
+
end)
|
527
|
+
|
528
|
+
api.add_operation(:delete_app, Seahorse::Model::Operation.new.tap do |o|
|
529
|
+
o.name = "DeleteApp"
|
530
|
+
o.http_method = "DELETE"
|
531
|
+
o.http_request_uri = "/apps/{appId}"
|
532
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteAppRequest)
|
533
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteAppResult)
|
534
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
535
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
536
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
537
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
538
|
+
o.errors << Shapes::ShapeRef.new(shape: DependentServiceFailureException)
|
539
|
+
end)
|
540
|
+
|
541
|
+
api.add_operation(:delete_branch, Seahorse::Model::Operation.new.tap do |o|
|
542
|
+
o.name = "DeleteBranch"
|
543
|
+
o.http_method = "DELETE"
|
544
|
+
o.http_request_uri = "/apps/{appId}/branches/{branchName}"
|
545
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteBranchRequest)
|
546
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteBranchResult)
|
547
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
548
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
549
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
550
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
551
|
+
o.errors << Shapes::ShapeRef.new(shape: DependentServiceFailureException)
|
552
|
+
end)
|
553
|
+
|
554
|
+
api.add_operation(:delete_domain_association, Seahorse::Model::Operation.new.tap do |o|
|
555
|
+
o.name = "DeleteDomainAssociation"
|
556
|
+
o.http_method = "DELETE"
|
557
|
+
o.http_request_uri = "/apps/{appId}/domains/{domainName}"
|
558
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteDomainAssociationRequest)
|
559
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteDomainAssociationResult)
|
560
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
561
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
562
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
563
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
564
|
+
o.errors << Shapes::ShapeRef.new(shape: DependentServiceFailureException)
|
565
|
+
end)
|
566
|
+
|
567
|
+
api.add_operation(:delete_job, Seahorse::Model::Operation.new.tap do |o|
|
568
|
+
o.name = "DeleteJob"
|
569
|
+
o.http_method = "DELETE"
|
570
|
+
o.http_request_uri = "/apps/{appId}/branches/{branchName}/jobs/{jobId}"
|
571
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteJobRequest)
|
572
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteJobResult)
|
573
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
574
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
575
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
576
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
577
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
578
|
+
end)
|
579
|
+
|
580
|
+
api.add_operation(:get_app, Seahorse::Model::Operation.new.tap do |o|
|
581
|
+
o.name = "GetApp"
|
582
|
+
o.http_method = "GET"
|
583
|
+
o.http_request_uri = "/apps/{appId}"
|
584
|
+
o.input = Shapes::ShapeRef.new(shape: GetAppRequest)
|
585
|
+
o.output = Shapes::ShapeRef.new(shape: GetAppResult)
|
586
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
587
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
588
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
589
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
590
|
+
end)
|
591
|
+
|
592
|
+
api.add_operation(:get_branch, Seahorse::Model::Operation.new.tap do |o|
|
593
|
+
o.name = "GetBranch"
|
594
|
+
o.http_method = "GET"
|
595
|
+
o.http_request_uri = "/apps/{appId}/branches/{branchName}"
|
596
|
+
o.input = Shapes::ShapeRef.new(shape: GetBranchRequest)
|
597
|
+
o.output = Shapes::ShapeRef.new(shape: GetBranchResult)
|
598
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
599
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
600
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
601
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
602
|
+
end)
|
603
|
+
|
604
|
+
api.add_operation(:get_domain_association, Seahorse::Model::Operation.new.tap do |o|
|
605
|
+
o.name = "GetDomainAssociation"
|
606
|
+
o.http_method = "GET"
|
607
|
+
o.http_request_uri = "/apps/{appId}/domains/{domainName}"
|
608
|
+
o.input = Shapes::ShapeRef.new(shape: GetDomainAssociationRequest)
|
609
|
+
o.output = Shapes::ShapeRef.new(shape: GetDomainAssociationResult)
|
610
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
611
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
612
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
613
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
614
|
+
end)
|
615
|
+
|
616
|
+
api.add_operation(:get_job, Seahorse::Model::Operation.new.tap do |o|
|
617
|
+
o.name = "GetJob"
|
618
|
+
o.http_method = "GET"
|
619
|
+
o.http_request_uri = "/apps/{appId}/branches/{branchName}/jobs/{jobId}"
|
620
|
+
o.input = Shapes::ShapeRef.new(shape: GetJobRequest)
|
621
|
+
o.output = Shapes::ShapeRef.new(shape: GetJobResult)
|
622
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
623
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
624
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
625
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
626
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
627
|
+
end)
|
628
|
+
|
629
|
+
api.add_operation(:list_apps, Seahorse::Model::Operation.new.tap do |o|
|
630
|
+
o.name = "ListApps"
|
631
|
+
o.http_method = "GET"
|
632
|
+
o.http_request_uri = "/apps"
|
633
|
+
o.input = Shapes::ShapeRef.new(shape: ListAppsRequest)
|
634
|
+
o.output = Shapes::ShapeRef.new(shape: ListAppsResult)
|
635
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
636
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
637
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
638
|
+
end)
|
639
|
+
|
640
|
+
api.add_operation(:list_branches, Seahorse::Model::Operation.new.tap do |o|
|
641
|
+
o.name = "ListBranches"
|
642
|
+
o.http_method = "GET"
|
643
|
+
o.http_request_uri = "/apps/{appId}/branches"
|
644
|
+
o.input = Shapes::ShapeRef.new(shape: ListBranchesRequest)
|
645
|
+
o.output = Shapes::ShapeRef.new(shape: ListBranchesResult)
|
646
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
647
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
648
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
649
|
+
end)
|
650
|
+
|
651
|
+
api.add_operation(:list_domain_associations, Seahorse::Model::Operation.new.tap do |o|
|
652
|
+
o.name = "ListDomainAssociations"
|
653
|
+
o.http_method = "GET"
|
654
|
+
o.http_request_uri = "/apps/{appId}/domains"
|
655
|
+
o.input = Shapes::ShapeRef.new(shape: ListDomainAssociationsRequest)
|
656
|
+
o.output = Shapes::ShapeRef.new(shape: ListDomainAssociationsResult)
|
657
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
658
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
659
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
660
|
+
end)
|
661
|
+
|
662
|
+
api.add_operation(:list_jobs, Seahorse::Model::Operation.new.tap do |o|
|
663
|
+
o.name = "ListJobs"
|
664
|
+
o.http_method = "GET"
|
665
|
+
o.http_request_uri = "/apps/{appId}/branches/{branchName}/jobs"
|
666
|
+
o.input = Shapes::ShapeRef.new(shape: ListJobsRequest)
|
667
|
+
o.output = Shapes::ShapeRef.new(shape: ListJobsResult)
|
668
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
669
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
670
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
671
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
672
|
+
end)
|
673
|
+
|
674
|
+
api.add_operation(:start_job, Seahorse::Model::Operation.new.tap do |o|
|
675
|
+
o.name = "StartJob"
|
676
|
+
o.http_method = "POST"
|
677
|
+
o.http_request_uri = "/apps/{appId}/branches/{branchName}/jobs"
|
678
|
+
o.input = Shapes::ShapeRef.new(shape: StartJobRequest)
|
679
|
+
o.output = Shapes::ShapeRef.new(shape: StartJobResult)
|
680
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
681
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
682
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
683
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
684
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
685
|
+
end)
|
686
|
+
|
687
|
+
api.add_operation(:stop_job, Seahorse::Model::Operation.new.tap do |o|
|
688
|
+
o.name = "StopJob"
|
689
|
+
o.http_method = "DELETE"
|
690
|
+
o.http_request_uri = "/apps/{appId}/branches/{branchName}/jobs/{jobId}/stop"
|
691
|
+
o.input = Shapes::ShapeRef.new(shape: StopJobRequest)
|
692
|
+
o.output = Shapes::ShapeRef.new(shape: StopJobResult)
|
693
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
694
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
695
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
696
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
697
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
698
|
+
end)
|
699
|
+
|
700
|
+
api.add_operation(:update_app, Seahorse::Model::Operation.new.tap do |o|
|
701
|
+
o.name = "UpdateApp"
|
702
|
+
o.http_method = "POST"
|
703
|
+
o.http_request_uri = "/apps/{appId}"
|
704
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateAppRequest)
|
705
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateAppResult)
|
706
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
707
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
708
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
709
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
710
|
+
end)
|
711
|
+
|
712
|
+
api.add_operation(:update_branch, Seahorse::Model::Operation.new.tap do |o|
|
713
|
+
o.name = "UpdateBranch"
|
714
|
+
o.http_method = "POST"
|
715
|
+
o.http_request_uri = "/apps/{appId}/branches/{branchName}"
|
716
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateBranchRequest)
|
717
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateBranchResult)
|
718
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
719
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
720
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
721
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
722
|
+
o.errors << Shapes::ShapeRef.new(shape: DependentServiceFailureException)
|
723
|
+
end)
|
724
|
+
|
725
|
+
api.add_operation(:update_domain_association, Seahorse::Model::Operation.new.tap do |o|
|
726
|
+
o.name = "UpdateDomainAssociation"
|
727
|
+
o.http_method = "POST"
|
728
|
+
o.http_request_uri = "/apps/{appId}/domains/{domainName}"
|
729
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateDomainAssociationRequest)
|
730
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateDomainAssociationResult)
|
731
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
732
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
733
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
734
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
735
|
+
o.errors << Shapes::ShapeRef.new(shape: DependentServiceFailureException)
|
736
|
+
end)
|
737
|
+
end
|
738
|
+
|
739
|
+
end
|
740
|
+
end
|