aws-sdk-amplifyuibuilder 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,652 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::AmplifyUIBuilder
11
+ # @api private
12
+ module ClientApi
13
+
14
+ include Seahorse::Model
15
+
16
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
17
+ Component = Shapes::StructureShape.new(name: 'Component')
18
+ ComponentBindingProperties = Shapes::MapShape.new(name: 'ComponentBindingProperties')
19
+ ComponentBindingPropertiesValue = Shapes::StructureShape.new(name: 'ComponentBindingPropertiesValue')
20
+ ComponentBindingPropertiesValueProperties = Shapes::StructureShape.new(name: 'ComponentBindingPropertiesValueProperties')
21
+ ComponentChild = Shapes::StructureShape.new(name: 'ComponentChild')
22
+ ComponentChildList = Shapes::ListShape.new(name: 'ComponentChildList')
23
+ ComponentCollectionProperties = Shapes::MapShape.new(name: 'ComponentCollectionProperties')
24
+ ComponentConditionProperty = Shapes::StructureShape.new(name: 'ComponentConditionProperty')
25
+ ComponentDataConfiguration = Shapes::StructureShape.new(name: 'ComponentDataConfiguration')
26
+ ComponentList = Shapes::ListShape.new(name: 'ComponentList')
27
+ ComponentName = Shapes::StringShape.new(name: 'ComponentName')
28
+ ComponentOverrides = Shapes::MapShape.new(name: 'ComponentOverrides')
29
+ ComponentOverridesValue = Shapes::MapShape.new(name: 'ComponentOverridesValue')
30
+ ComponentProperties = Shapes::MapShape.new(name: 'ComponentProperties')
31
+ ComponentProperty = Shapes::StructureShape.new(name: 'ComponentProperty')
32
+ ComponentPropertyBindingProperties = Shapes::StructureShape.new(name: 'ComponentPropertyBindingProperties')
33
+ ComponentPropertyList = Shapes::ListShape.new(name: 'ComponentPropertyList')
34
+ ComponentSummary = Shapes::StructureShape.new(name: 'ComponentSummary')
35
+ ComponentSummaryList = Shapes::ListShape.new(name: 'ComponentSummaryList')
36
+ ComponentType = Shapes::StringShape.new(name: 'ComponentType')
37
+ ComponentVariant = Shapes::StructureShape.new(name: 'ComponentVariant')
38
+ ComponentVariantValues = Shapes::MapShape.new(name: 'ComponentVariantValues')
39
+ ComponentVariants = Shapes::ListShape.new(name: 'ComponentVariants')
40
+ CreateComponentData = Shapes::StructureShape.new(name: 'CreateComponentData')
41
+ CreateComponentRequest = Shapes::StructureShape.new(name: 'CreateComponentRequest')
42
+ CreateComponentResponse = Shapes::StructureShape.new(name: 'CreateComponentResponse')
43
+ CreateThemeData = Shapes::StructureShape.new(name: 'CreateThemeData')
44
+ CreateThemeRequest = Shapes::StructureShape.new(name: 'CreateThemeRequest')
45
+ CreateThemeResponse = Shapes::StructureShape.new(name: 'CreateThemeResponse')
46
+ DeleteComponentRequest = Shapes::StructureShape.new(name: 'DeleteComponentRequest')
47
+ DeleteThemeRequest = Shapes::StructureShape.new(name: 'DeleteThemeRequest')
48
+ ExchangeCodeForTokenRequest = Shapes::StructureShape.new(name: 'ExchangeCodeForTokenRequest')
49
+ ExchangeCodeForTokenRequestBody = Shapes::StructureShape.new(name: 'ExchangeCodeForTokenRequestBody')
50
+ ExchangeCodeForTokenResponse = Shapes::StructureShape.new(name: 'ExchangeCodeForTokenResponse')
51
+ ExportComponentsRequest = Shapes::StructureShape.new(name: 'ExportComponentsRequest')
52
+ ExportComponentsResponse = Shapes::StructureShape.new(name: 'ExportComponentsResponse')
53
+ ExportThemesRequest = Shapes::StructureShape.new(name: 'ExportThemesRequest')
54
+ ExportThemesResponse = Shapes::StructureShape.new(name: 'ExportThemesResponse')
55
+ FormBindingElement = Shapes::StructureShape.new(name: 'FormBindingElement')
56
+ FormBindings = Shapes::MapShape.new(name: 'FormBindings')
57
+ GetComponentRequest = Shapes::StructureShape.new(name: 'GetComponentRequest')
58
+ GetComponentResponse = Shapes::StructureShape.new(name: 'GetComponentResponse')
59
+ GetThemeRequest = Shapes::StructureShape.new(name: 'GetThemeRequest')
60
+ GetThemeResponse = Shapes::StructureShape.new(name: 'GetThemeResponse')
61
+ IdentifierList = Shapes::ListShape.new(name: 'IdentifierList')
62
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
63
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
64
+ InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
65
+ ListComponentsLimit = Shapes::IntegerShape.new(name: 'ListComponentsLimit')
66
+ ListComponentsRequest = Shapes::StructureShape.new(name: 'ListComponentsRequest')
67
+ ListComponentsResponse = Shapes::StructureShape.new(name: 'ListComponentsResponse')
68
+ ListThemesLimit = Shapes::IntegerShape.new(name: 'ListThemesLimit')
69
+ ListThemesRequest = Shapes::StructureShape.new(name: 'ListThemesRequest')
70
+ ListThemesResponse = Shapes::StructureShape.new(name: 'ListThemesResponse')
71
+ Predicate = Shapes::StructureShape.new(name: 'Predicate')
72
+ PredicateList = Shapes::ListShape.new(name: 'PredicateList')
73
+ RefreshTokenRequest = Shapes::StructureShape.new(name: 'RefreshTokenRequest')
74
+ RefreshTokenRequestBody = Shapes::StructureShape.new(name: 'RefreshTokenRequestBody')
75
+ RefreshTokenResponse = Shapes::StructureShape.new(name: 'RefreshTokenResponse')
76
+ ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
77
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
78
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
79
+ SortDirection = Shapes::StringShape.new(name: 'SortDirection')
80
+ SortProperty = Shapes::StructureShape.new(name: 'SortProperty')
81
+ SortPropertyList = Shapes::ListShape.new(name: 'SortPropertyList')
82
+ String = Shapes::StringShape.new(name: 'String')
83
+ SyntheticExchangeCodeForTokenRequestBodyString = Shapes::StringShape.new(name: 'SyntheticExchangeCodeForTokenRequestBodyString')
84
+ SyntheticExchangeCodeForTokenResponseString = Shapes::StringShape.new(name: 'SyntheticExchangeCodeForTokenResponseString')
85
+ SyntheticRefreshTokenRequestBodyString = Shapes::StringShape.new(name: 'SyntheticRefreshTokenRequestBodyString')
86
+ SyntheticRefreshTokenResponseString = Shapes::StringShape.new(name: 'SyntheticRefreshTokenResponseString')
87
+ SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
88
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
89
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
90
+ Tags = Shapes::MapShape.new(name: 'Tags')
91
+ Theme = Shapes::StructureShape.new(name: 'Theme')
92
+ ThemeList = Shapes::ListShape.new(name: 'ThemeList')
93
+ ThemeName = Shapes::StringShape.new(name: 'ThemeName')
94
+ ThemeSummary = Shapes::StructureShape.new(name: 'ThemeSummary')
95
+ ThemeSummaryList = Shapes::ListShape.new(name: 'ThemeSummaryList')
96
+ ThemeValue = Shapes::StructureShape.new(name: 'ThemeValue')
97
+ ThemeValues = Shapes::StructureShape.new(name: 'ThemeValues')
98
+ ThemeValuesList = Shapes::ListShape.new(name: 'ThemeValuesList')
99
+ TokenProviders = Shapes::StringShape.new(name: 'TokenProviders')
100
+ UpdateComponentData = Shapes::StructureShape.new(name: 'UpdateComponentData')
101
+ UpdateComponentRequest = Shapes::StructureShape.new(name: 'UpdateComponentRequest')
102
+ UpdateComponentResponse = Shapes::StructureShape.new(name: 'UpdateComponentResponse')
103
+ UpdateThemeData = Shapes::StructureShape.new(name: 'UpdateThemeData')
104
+ UpdateThemeRequest = Shapes::StructureShape.new(name: 'UpdateThemeRequest')
105
+ UpdateThemeResponse = Shapes::StructureShape.new(name: 'UpdateThemeResponse')
106
+ Uuid = Shapes::StringShape.new(name: 'Uuid')
107
+
108
+ Component.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "appId"))
109
+ Component.add_member(:binding_properties, Shapes::ShapeRef.new(shape: ComponentBindingProperties, required: true, location_name: "bindingProperties"))
110
+ Component.add_member(:children, Shapes::ShapeRef.new(shape: ComponentChildList, location_name: "children"))
111
+ Component.add_member(:collection_properties, Shapes::ShapeRef.new(shape: ComponentCollectionProperties, location_name: "collectionProperties"))
112
+ Component.add_member(:component_type, Shapes::ShapeRef.new(shape: ComponentType, required: true, location_name: "componentType"))
113
+ Component.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
114
+ Component.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "environmentName"))
115
+ Component.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
116
+ Component.add_member(:modified_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "modifiedAt"))
117
+ Component.add_member(:name, Shapes::ShapeRef.new(shape: ComponentName, required: true, location_name: "name"))
118
+ Component.add_member(:overrides, Shapes::ShapeRef.new(shape: ComponentOverrides, required: true, location_name: "overrides"))
119
+ Component.add_member(:properties, Shapes::ShapeRef.new(shape: ComponentProperties, required: true, location_name: "properties"))
120
+ Component.add_member(:source_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceId"))
121
+ Component.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
122
+ Component.add_member(:variants, Shapes::ShapeRef.new(shape: ComponentVariants, required: true, location_name: "variants"))
123
+ Component.struct_class = Types::Component
124
+
125
+ ComponentBindingProperties.key = Shapes::ShapeRef.new(shape: String)
126
+ ComponentBindingProperties.value = Shapes::ShapeRef.new(shape: ComponentBindingPropertiesValue)
127
+
128
+ ComponentBindingPropertiesValue.add_member(:binding_properties, Shapes::ShapeRef.new(shape: ComponentBindingPropertiesValueProperties, location_name: "bindingProperties"))
129
+ ComponentBindingPropertiesValue.add_member(:default_value, Shapes::ShapeRef.new(shape: String, location_name: "defaultValue"))
130
+ ComponentBindingPropertiesValue.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
131
+ ComponentBindingPropertiesValue.struct_class = Types::ComponentBindingPropertiesValue
132
+
133
+ ComponentBindingPropertiesValueProperties.add_member(:bucket, Shapes::ShapeRef.new(shape: String, location_name: "bucket"))
134
+ ComponentBindingPropertiesValueProperties.add_member(:default_value, Shapes::ShapeRef.new(shape: String, location_name: "defaultValue"))
135
+ ComponentBindingPropertiesValueProperties.add_member(:field, Shapes::ShapeRef.new(shape: String, location_name: "field"))
136
+ ComponentBindingPropertiesValueProperties.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "key"))
137
+ ComponentBindingPropertiesValueProperties.add_member(:model, Shapes::ShapeRef.new(shape: String, location_name: "model"))
138
+ ComponentBindingPropertiesValueProperties.add_member(:predicates, Shapes::ShapeRef.new(shape: PredicateList, location_name: "predicates"))
139
+ ComponentBindingPropertiesValueProperties.add_member(:user_attribute, Shapes::ShapeRef.new(shape: String, location_name: "userAttribute"))
140
+ ComponentBindingPropertiesValueProperties.struct_class = Types::ComponentBindingPropertiesValueProperties
141
+
142
+ ComponentChild.add_member(:children, Shapes::ShapeRef.new(shape: ComponentChildList, location_name: "children"))
143
+ ComponentChild.add_member(:component_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "componentType"))
144
+ ComponentChild.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
145
+ ComponentChild.add_member(:properties, Shapes::ShapeRef.new(shape: ComponentProperties, required: true, location_name: "properties"))
146
+ ComponentChild.struct_class = Types::ComponentChild
147
+
148
+ ComponentChildList.member = Shapes::ShapeRef.new(shape: ComponentChild)
149
+
150
+ ComponentCollectionProperties.key = Shapes::ShapeRef.new(shape: String)
151
+ ComponentCollectionProperties.value = Shapes::ShapeRef.new(shape: ComponentDataConfiguration)
152
+
153
+ ComponentConditionProperty.add_member(:else, Shapes::ShapeRef.new(shape: ComponentProperty, location_name: "else"))
154
+ ComponentConditionProperty.add_member(:field, Shapes::ShapeRef.new(shape: String, location_name: "field"))
155
+ ComponentConditionProperty.add_member(:operand, Shapes::ShapeRef.new(shape: String, location_name: "operand"))
156
+ ComponentConditionProperty.add_member(:operator, Shapes::ShapeRef.new(shape: String, location_name: "operator"))
157
+ ComponentConditionProperty.add_member(:property, Shapes::ShapeRef.new(shape: String, location_name: "property"))
158
+ ComponentConditionProperty.add_member(:then, Shapes::ShapeRef.new(shape: ComponentProperty, location_name: "then"))
159
+ ComponentConditionProperty.struct_class = Types::ComponentConditionProperty
160
+
161
+ ComponentDataConfiguration.add_member(:identifiers, Shapes::ShapeRef.new(shape: IdentifierList, location_name: "identifiers"))
162
+ ComponentDataConfiguration.add_member(:model, Shapes::ShapeRef.new(shape: String, required: true, location_name: "model"))
163
+ ComponentDataConfiguration.add_member(:predicate, Shapes::ShapeRef.new(shape: Predicate, location_name: "predicate"))
164
+ ComponentDataConfiguration.add_member(:sort, Shapes::ShapeRef.new(shape: SortPropertyList, location_name: "sort"))
165
+ ComponentDataConfiguration.struct_class = Types::ComponentDataConfiguration
166
+
167
+ ComponentList.member = Shapes::ShapeRef.new(shape: Component)
168
+
169
+ ComponentOverrides.key = Shapes::ShapeRef.new(shape: String)
170
+ ComponentOverrides.value = Shapes::ShapeRef.new(shape: ComponentOverridesValue)
171
+
172
+ ComponentOverridesValue.key = Shapes::ShapeRef.new(shape: String)
173
+ ComponentOverridesValue.value = Shapes::ShapeRef.new(shape: String)
174
+
175
+ ComponentProperties.key = Shapes::ShapeRef.new(shape: String)
176
+ ComponentProperties.value = Shapes::ShapeRef.new(shape: ComponentProperty)
177
+
178
+ ComponentProperty.add_member(:binding_properties, Shapes::ShapeRef.new(shape: ComponentPropertyBindingProperties, location_name: "bindingProperties"))
179
+ ComponentProperty.add_member(:bindings, Shapes::ShapeRef.new(shape: FormBindings, location_name: "bindings"))
180
+ ComponentProperty.add_member(:collection_binding_properties, Shapes::ShapeRef.new(shape: ComponentPropertyBindingProperties, location_name: "collectionBindingProperties"))
181
+ ComponentProperty.add_member(:concat, Shapes::ShapeRef.new(shape: ComponentPropertyList, location_name: "concat"))
182
+ ComponentProperty.add_member(:condition, Shapes::ShapeRef.new(shape: ComponentConditionProperty, location_name: "condition"))
183
+ ComponentProperty.add_member(:configured, Shapes::ShapeRef.new(shape: Boolean, location_name: "configured"))
184
+ ComponentProperty.add_member(:default_value, Shapes::ShapeRef.new(shape: String, location_name: "defaultValue"))
185
+ ComponentProperty.add_member(:event, Shapes::ShapeRef.new(shape: String, location_name: "event"))
186
+ ComponentProperty.add_member(:imported_value, Shapes::ShapeRef.new(shape: String, location_name: "importedValue"))
187
+ ComponentProperty.add_member(:model, Shapes::ShapeRef.new(shape: String, location_name: "model"))
188
+ ComponentProperty.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
189
+ ComponentProperty.add_member(:user_attribute, Shapes::ShapeRef.new(shape: String, location_name: "userAttribute"))
190
+ ComponentProperty.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
191
+ ComponentProperty.struct_class = Types::ComponentProperty
192
+
193
+ ComponentPropertyBindingProperties.add_member(:field, Shapes::ShapeRef.new(shape: String, location_name: "field"))
194
+ ComponentPropertyBindingProperties.add_member(:property, Shapes::ShapeRef.new(shape: String, required: true, location_name: "property"))
195
+ ComponentPropertyBindingProperties.struct_class = Types::ComponentPropertyBindingProperties
196
+
197
+ ComponentPropertyList.member = Shapes::ShapeRef.new(shape: ComponentProperty)
198
+
199
+ ComponentSummary.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "appId"))
200
+ ComponentSummary.add_member(:component_type, Shapes::ShapeRef.new(shape: ComponentType, required: true, location_name: "componentType"))
201
+ ComponentSummary.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "environmentName"))
202
+ ComponentSummary.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
203
+ ComponentSummary.add_member(:name, Shapes::ShapeRef.new(shape: ComponentName, required: true, location_name: "name"))
204
+ ComponentSummary.struct_class = Types::ComponentSummary
205
+
206
+ ComponentSummaryList.member = Shapes::ShapeRef.new(shape: ComponentSummary)
207
+
208
+ ComponentVariant.add_member(:overrides, Shapes::ShapeRef.new(shape: ComponentOverrides, location_name: "overrides"))
209
+ ComponentVariant.add_member(:variant_values, Shapes::ShapeRef.new(shape: ComponentVariantValues, location_name: "variantValues"))
210
+ ComponentVariant.struct_class = Types::ComponentVariant
211
+
212
+ ComponentVariantValues.key = Shapes::ShapeRef.new(shape: String)
213
+ ComponentVariantValues.value = Shapes::ShapeRef.new(shape: String)
214
+
215
+ ComponentVariants.member = Shapes::ShapeRef.new(shape: ComponentVariant)
216
+
217
+ CreateComponentData.add_member(:binding_properties, Shapes::ShapeRef.new(shape: ComponentBindingProperties, required: true, location_name: "bindingProperties"))
218
+ CreateComponentData.add_member(:children, Shapes::ShapeRef.new(shape: ComponentChildList, location_name: "children"))
219
+ CreateComponentData.add_member(:collection_properties, Shapes::ShapeRef.new(shape: ComponentCollectionProperties, location_name: "collectionProperties"))
220
+ CreateComponentData.add_member(:component_type, Shapes::ShapeRef.new(shape: ComponentType, required: true, location_name: "componentType"))
221
+ CreateComponentData.add_member(:name, Shapes::ShapeRef.new(shape: ComponentName, required: true, location_name: "name"))
222
+ CreateComponentData.add_member(:overrides, Shapes::ShapeRef.new(shape: ComponentOverrides, required: true, location_name: "overrides"))
223
+ CreateComponentData.add_member(:properties, Shapes::ShapeRef.new(shape: ComponentProperties, required: true, location_name: "properties"))
224
+ CreateComponentData.add_member(:source_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceId"))
225
+ CreateComponentData.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
226
+ CreateComponentData.add_member(:variants, Shapes::ShapeRef.new(shape: ComponentVariants, required: true, location_name: "variants"))
227
+ CreateComponentData.struct_class = Types::CreateComponentData
228
+
229
+ CreateComponentRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
230
+ CreateComponentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
231
+ CreateComponentRequest.add_member(:component_to_create, Shapes::ShapeRef.new(shape: CreateComponentData, required: true, location_name: "componentToCreate"))
232
+ CreateComponentRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
233
+ CreateComponentRequest.struct_class = Types::CreateComponentRequest
234
+ CreateComponentRequest[:payload] = :component_to_create
235
+ CreateComponentRequest[:payload_member] = CreateComponentRequest.member(:component_to_create)
236
+
237
+ CreateComponentResponse.add_member(:entity, Shapes::ShapeRef.new(shape: Component, location_name: "entity"))
238
+ CreateComponentResponse.struct_class = Types::CreateComponentResponse
239
+ CreateComponentResponse[:payload] = :entity
240
+ CreateComponentResponse[:payload_member] = CreateComponentResponse.member(:entity)
241
+
242
+ CreateThemeData.add_member(:name, Shapes::ShapeRef.new(shape: ThemeName, required: true, location_name: "name"))
243
+ CreateThemeData.add_member(:overrides, Shapes::ShapeRef.new(shape: ThemeValuesList, location_name: "overrides"))
244
+ CreateThemeData.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
245
+ CreateThemeData.add_member(:values, Shapes::ShapeRef.new(shape: ThemeValuesList, required: true, location_name: "values"))
246
+ CreateThemeData.struct_class = Types::CreateThemeData
247
+
248
+ CreateThemeRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
249
+ CreateThemeRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
250
+ CreateThemeRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
251
+ CreateThemeRequest.add_member(:theme_to_create, Shapes::ShapeRef.new(shape: CreateThemeData, required: true, location_name: "themeToCreate"))
252
+ CreateThemeRequest.struct_class = Types::CreateThemeRequest
253
+ CreateThemeRequest[:payload] = :theme_to_create
254
+ CreateThemeRequest[:payload_member] = CreateThemeRequest.member(:theme_to_create)
255
+
256
+ CreateThemeResponse.add_member(:entity, Shapes::ShapeRef.new(shape: Theme, location_name: "entity"))
257
+ CreateThemeResponse.struct_class = Types::CreateThemeResponse
258
+ CreateThemeResponse[:payload] = :entity
259
+ CreateThemeResponse[:payload_member] = CreateThemeResponse.member(:entity)
260
+
261
+ DeleteComponentRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
262
+ DeleteComponentRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
263
+ DeleteComponentRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
264
+ DeleteComponentRequest.struct_class = Types::DeleteComponentRequest
265
+
266
+ DeleteThemeRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
267
+ DeleteThemeRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
268
+ DeleteThemeRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
269
+ DeleteThemeRequest.struct_class = Types::DeleteThemeRequest
270
+
271
+ ExchangeCodeForTokenRequest.add_member(:provider, Shapes::ShapeRef.new(shape: TokenProviders, required: true, location: "uri", location_name: "provider"))
272
+ ExchangeCodeForTokenRequest.add_member(:request, Shapes::ShapeRef.new(shape: ExchangeCodeForTokenRequestBody, required: true, location_name: "request"))
273
+ ExchangeCodeForTokenRequest.struct_class = Types::ExchangeCodeForTokenRequest
274
+ ExchangeCodeForTokenRequest[:payload] = :request
275
+ ExchangeCodeForTokenRequest[:payload_member] = ExchangeCodeForTokenRequest.member(:request)
276
+
277
+ ExchangeCodeForTokenRequestBody.add_member(:code, Shapes::ShapeRef.new(shape: SyntheticExchangeCodeForTokenRequestBodyString, required: true, location_name: "code"))
278
+ ExchangeCodeForTokenRequestBody.add_member(:redirect_uri, Shapes::ShapeRef.new(shape: String, required: true, location_name: "redirectUri"))
279
+ ExchangeCodeForTokenRequestBody.struct_class = Types::ExchangeCodeForTokenRequestBody
280
+
281
+ ExchangeCodeForTokenResponse.add_member(:access_token, Shapes::ShapeRef.new(shape: SyntheticExchangeCodeForTokenResponseString, required: true, location_name: "accessToken"))
282
+ ExchangeCodeForTokenResponse.add_member(:expires_in, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "expiresIn"))
283
+ ExchangeCodeForTokenResponse.add_member(:refresh_token, Shapes::ShapeRef.new(shape: SyntheticExchangeCodeForTokenResponseString, required: true, location_name: "refreshToken"))
284
+ ExchangeCodeForTokenResponse.struct_class = Types::ExchangeCodeForTokenResponse
285
+
286
+ ExportComponentsRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
287
+ ExportComponentsRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
288
+ ExportComponentsRequest.struct_class = Types::ExportComponentsRequest
289
+
290
+ ExportComponentsResponse.add_member(:entities, Shapes::ShapeRef.new(shape: ComponentList, required: true, location_name: "entities"))
291
+ ExportComponentsResponse.struct_class = Types::ExportComponentsResponse
292
+
293
+ ExportThemesRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
294
+ ExportThemesRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
295
+ ExportThemesRequest.struct_class = Types::ExportThemesRequest
296
+
297
+ ExportThemesResponse.add_member(:entities, Shapes::ShapeRef.new(shape: ThemeList, required: true, location_name: "entities"))
298
+ ExportThemesResponse.struct_class = Types::ExportThemesResponse
299
+
300
+ FormBindingElement.add_member(:element, Shapes::ShapeRef.new(shape: String, required: true, location_name: "element"))
301
+ FormBindingElement.add_member(:property, Shapes::ShapeRef.new(shape: String, required: true, location_name: "property"))
302
+ FormBindingElement.struct_class = Types::FormBindingElement
303
+
304
+ FormBindings.key = Shapes::ShapeRef.new(shape: String)
305
+ FormBindings.value = Shapes::ShapeRef.new(shape: FormBindingElement)
306
+
307
+ GetComponentRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
308
+ GetComponentRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
309
+ GetComponentRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
310
+ GetComponentRequest.struct_class = Types::GetComponentRequest
311
+
312
+ GetComponentResponse.add_member(:component, Shapes::ShapeRef.new(shape: Component, location_name: "component"))
313
+ GetComponentResponse.struct_class = Types::GetComponentResponse
314
+ GetComponentResponse[:payload] = :component
315
+ GetComponentResponse[:payload_member] = GetComponentResponse.member(:component)
316
+
317
+ GetThemeRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
318
+ GetThemeRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
319
+ GetThemeRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
320
+ GetThemeRequest.struct_class = Types::GetThemeRequest
321
+
322
+ GetThemeResponse.add_member(:theme, Shapes::ShapeRef.new(shape: Theme, location_name: "theme"))
323
+ GetThemeResponse.struct_class = Types::GetThemeResponse
324
+ GetThemeResponse[:payload] = :theme
325
+ GetThemeResponse[:payload_member] = GetThemeResponse.member(:theme)
326
+
327
+ IdentifierList.member = Shapes::ShapeRef.new(shape: String)
328
+
329
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
330
+ InternalServerException.struct_class = Types::InternalServerException
331
+
332
+ InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
333
+ InvalidParameterException.struct_class = Types::InvalidParameterException
334
+
335
+ ListComponentsRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
336
+ ListComponentsRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
337
+ ListComponentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListComponentsLimit, location: "querystring", location_name: "maxResults"))
338
+ ListComponentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
339
+ ListComponentsRequest.struct_class = Types::ListComponentsRequest
340
+
341
+ ListComponentsResponse.add_member(:entities, Shapes::ShapeRef.new(shape: ComponentSummaryList, required: true, location_name: "entities"))
342
+ ListComponentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
343
+ ListComponentsResponse.struct_class = Types::ListComponentsResponse
344
+
345
+ ListThemesRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
346
+ ListThemesRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
347
+ ListThemesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListThemesLimit, location: "querystring", location_name: "maxResults"))
348
+ ListThemesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
349
+ ListThemesRequest.struct_class = Types::ListThemesRequest
350
+
351
+ ListThemesResponse.add_member(:entities, Shapes::ShapeRef.new(shape: ThemeSummaryList, required: true, location_name: "entities"))
352
+ ListThemesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
353
+ ListThemesResponse.struct_class = Types::ListThemesResponse
354
+
355
+ Predicate.add_member(:and, Shapes::ShapeRef.new(shape: PredicateList, location_name: "and"))
356
+ Predicate.add_member(:field, Shapes::ShapeRef.new(shape: String, location_name: "field"))
357
+ Predicate.add_member(:operand, Shapes::ShapeRef.new(shape: String, location_name: "operand"))
358
+ Predicate.add_member(:operator, Shapes::ShapeRef.new(shape: String, location_name: "operator"))
359
+ Predicate.add_member(:or, Shapes::ShapeRef.new(shape: PredicateList, location_name: "or"))
360
+ Predicate.struct_class = Types::Predicate
361
+
362
+ PredicateList.member = Shapes::ShapeRef.new(shape: Predicate)
363
+
364
+ RefreshTokenRequest.add_member(:provider, Shapes::ShapeRef.new(shape: TokenProviders, required: true, location: "uri", location_name: "provider"))
365
+ RefreshTokenRequest.add_member(:refresh_token_body, Shapes::ShapeRef.new(shape: RefreshTokenRequestBody, required: true, location_name: "refreshTokenBody"))
366
+ RefreshTokenRequest.struct_class = Types::RefreshTokenRequest
367
+ RefreshTokenRequest[:payload] = :refresh_token_body
368
+ RefreshTokenRequest[:payload_member] = RefreshTokenRequest.member(:refresh_token_body)
369
+
370
+ RefreshTokenRequestBody.add_member(:token, Shapes::ShapeRef.new(shape: SyntheticRefreshTokenRequestBodyString, required: true, location_name: "token"))
371
+ RefreshTokenRequestBody.struct_class = Types::RefreshTokenRequestBody
372
+
373
+ RefreshTokenResponse.add_member(:access_token, Shapes::ShapeRef.new(shape: SyntheticRefreshTokenResponseString, required: true, location_name: "accessToken"))
374
+ RefreshTokenResponse.add_member(:expires_in, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "expiresIn"))
375
+ RefreshTokenResponse.struct_class = Types::RefreshTokenResponse
376
+
377
+ ResourceConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
378
+ ResourceConflictException.struct_class = Types::ResourceConflictException
379
+
380
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
381
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
382
+
383
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
384
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
385
+
386
+ SortProperty.add_member(:direction, Shapes::ShapeRef.new(shape: SortDirection, required: true, location_name: "direction"))
387
+ SortProperty.add_member(:field, Shapes::ShapeRef.new(shape: String, required: true, location_name: "field"))
388
+ SortProperty.struct_class = Types::SortProperty
389
+
390
+ SortPropertyList.member = Shapes::ShapeRef.new(shape: SortProperty)
391
+
392
+ Tags.key = Shapes::ShapeRef.new(shape: TagKey)
393
+ Tags.value = Shapes::ShapeRef.new(shape: TagValue)
394
+
395
+ Theme.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "appId"))
396
+ Theme.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
397
+ Theme.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "environmentName"))
398
+ Theme.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
399
+ Theme.add_member(:modified_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "modifiedAt"))
400
+ Theme.add_member(:name, Shapes::ShapeRef.new(shape: ThemeName, required: true, location_name: "name"))
401
+ Theme.add_member(:overrides, Shapes::ShapeRef.new(shape: ThemeValuesList, location_name: "overrides"))
402
+ Theme.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
403
+ Theme.add_member(:values, Shapes::ShapeRef.new(shape: ThemeValuesList, required: true, location_name: "values"))
404
+ Theme.struct_class = Types::Theme
405
+
406
+ ThemeList.member = Shapes::ShapeRef.new(shape: Theme)
407
+
408
+ ThemeSummary.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "appId"))
409
+ ThemeSummary.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "environmentName"))
410
+ ThemeSummary.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "id"))
411
+ ThemeSummary.add_member(:name, Shapes::ShapeRef.new(shape: ThemeName, required: true, location_name: "name"))
412
+ ThemeSummary.struct_class = Types::ThemeSummary
413
+
414
+ ThemeSummaryList.member = Shapes::ShapeRef.new(shape: ThemeSummary)
415
+
416
+ ThemeValue.add_member(:children, Shapes::ShapeRef.new(shape: ThemeValuesList, location_name: "children"))
417
+ ThemeValue.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
418
+ ThemeValue.struct_class = Types::ThemeValue
419
+
420
+ ThemeValues.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "key"))
421
+ ThemeValues.add_member(:value, Shapes::ShapeRef.new(shape: ThemeValue, location_name: "value"))
422
+ ThemeValues.struct_class = Types::ThemeValues
423
+
424
+ ThemeValuesList.member = Shapes::ShapeRef.new(shape: ThemeValues)
425
+
426
+ UpdateComponentData.add_member(:binding_properties, Shapes::ShapeRef.new(shape: ComponentBindingProperties, location_name: "bindingProperties"))
427
+ UpdateComponentData.add_member(:children, Shapes::ShapeRef.new(shape: ComponentChildList, location_name: "children"))
428
+ UpdateComponentData.add_member(:collection_properties, Shapes::ShapeRef.new(shape: ComponentCollectionProperties, location_name: "collectionProperties"))
429
+ UpdateComponentData.add_member(:component_type, Shapes::ShapeRef.new(shape: ComponentType, location_name: "componentType"))
430
+ UpdateComponentData.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, location_name: "id"))
431
+ UpdateComponentData.add_member(:name, Shapes::ShapeRef.new(shape: ComponentName, location_name: "name"))
432
+ UpdateComponentData.add_member(:overrides, Shapes::ShapeRef.new(shape: ComponentOverrides, location_name: "overrides"))
433
+ UpdateComponentData.add_member(:properties, Shapes::ShapeRef.new(shape: ComponentProperties, location_name: "properties"))
434
+ UpdateComponentData.add_member(:source_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceId"))
435
+ UpdateComponentData.add_member(:variants, Shapes::ShapeRef.new(shape: ComponentVariants, location_name: "variants"))
436
+ UpdateComponentData.struct_class = Types::UpdateComponentData
437
+
438
+ UpdateComponentRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
439
+ UpdateComponentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
440
+ UpdateComponentRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
441
+ UpdateComponentRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
442
+ UpdateComponentRequest.add_member(:updated_component, Shapes::ShapeRef.new(shape: UpdateComponentData, required: true, location_name: "updatedComponent"))
443
+ UpdateComponentRequest.struct_class = Types::UpdateComponentRequest
444
+ UpdateComponentRequest[:payload] = :updated_component
445
+ UpdateComponentRequest[:payload_member] = UpdateComponentRequest.member(:updated_component)
446
+
447
+ UpdateComponentResponse.add_member(:entity, Shapes::ShapeRef.new(shape: Component, location_name: "entity"))
448
+ UpdateComponentResponse.struct_class = Types::UpdateComponentResponse
449
+ UpdateComponentResponse[:payload] = :entity
450
+ UpdateComponentResponse[:payload_member] = UpdateComponentResponse.member(:entity)
451
+
452
+ UpdateThemeData.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, location_name: "id"))
453
+ UpdateThemeData.add_member(:name, Shapes::ShapeRef.new(shape: ThemeName, location_name: "name"))
454
+ UpdateThemeData.add_member(:overrides, Shapes::ShapeRef.new(shape: ThemeValuesList, location_name: "overrides"))
455
+ UpdateThemeData.add_member(:values, Shapes::ShapeRef.new(shape: ThemeValuesList, required: true, location_name: "values"))
456
+ UpdateThemeData.struct_class = Types::UpdateThemeData
457
+
458
+ UpdateThemeRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "appId"))
459
+ UpdateThemeRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
460
+ UpdateThemeRequest.add_member(:environment_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "environmentName"))
461
+ UpdateThemeRequest.add_member(:id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "id"))
462
+ UpdateThemeRequest.add_member(:updated_theme, Shapes::ShapeRef.new(shape: UpdateThemeData, required: true, location_name: "updatedTheme"))
463
+ UpdateThemeRequest.struct_class = Types::UpdateThemeRequest
464
+ UpdateThemeRequest[:payload] = :updated_theme
465
+ UpdateThemeRequest[:payload_member] = UpdateThemeRequest.member(:updated_theme)
466
+
467
+ UpdateThemeResponse.add_member(:entity, Shapes::ShapeRef.new(shape: Theme, location_name: "entity"))
468
+ UpdateThemeResponse.struct_class = Types::UpdateThemeResponse
469
+ UpdateThemeResponse[:payload] = :entity
470
+ UpdateThemeResponse[:payload_member] = UpdateThemeResponse.member(:entity)
471
+
472
+
473
+ # @api private
474
+ API = Seahorse::Model::Api.new.tap do |api|
475
+
476
+ api.version = "2021-08-11"
477
+
478
+ api.metadata = {
479
+ "apiVersion" => "2021-08-11",
480
+ "endpointPrefix" => "amplifyuibuilder",
481
+ "jsonVersion" => "1.1",
482
+ "protocol" => "rest-json",
483
+ "serviceFullName" => "AWS Amplify UI Builder",
484
+ "serviceId" => "AmplifyUIBuilder",
485
+ "signatureVersion" => "v4",
486
+ "signingName" => "amplifyuibuilder",
487
+ "uid" => "amplifyuibuilder-2021-08-11",
488
+ }
489
+
490
+ api.add_operation(:create_component, Seahorse::Model::Operation.new.tap do |o|
491
+ o.name = "CreateComponent"
492
+ o.http_method = "POST"
493
+ o.http_request_uri = "/app/{appId}/environment/{environmentName}/components"
494
+ o.input = Shapes::ShapeRef.new(shape: CreateComponentRequest)
495
+ o.output = Shapes::ShapeRef.new(shape: CreateComponentResponse)
496
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
497
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
498
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
499
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
500
+ end)
501
+
502
+ api.add_operation(:create_theme, Seahorse::Model::Operation.new.tap do |o|
503
+ o.name = "CreateTheme"
504
+ o.http_method = "POST"
505
+ o.http_request_uri = "/app/{appId}/environment/{environmentName}/themes"
506
+ o.input = Shapes::ShapeRef.new(shape: CreateThemeRequest)
507
+ o.output = Shapes::ShapeRef.new(shape: CreateThemeResponse)
508
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
509
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
510
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
511
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
512
+ end)
513
+
514
+ api.add_operation(:delete_component, Seahorse::Model::Operation.new.tap do |o|
515
+ o.name = "DeleteComponent"
516
+ o.http_method = "DELETE"
517
+ o.http_request_uri = "/app/{appId}/environment/{environmentName}/components/{id}"
518
+ o.input = Shapes::ShapeRef.new(shape: DeleteComponentRequest)
519
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
520
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
521
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
522
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
523
+ end)
524
+
525
+ api.add_operation(:delete_theme, Seahorse::Model::Operation.new.tap do |o|
526
+ o.name = "DeleteTheme"
527
+ o.http_method = "DELETE"
528
+ o.http_request_uri = "/app/{appId}/environment/{environmentName}/themes/{id}"
529
+ o.input = Shapes::ShapeRef.new(shape: DeleteThemeRequest)
530
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
531
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
532
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
533
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
534
+ end)
535
+
536
+ api.add_operation(:exchange_code_for_token, Seahorse::Model::Operation.new.tap do |o|
537
+ o.name = "ExchangeCodeForToken"
538
+ o.http_method = "POST"
539
+ o.http_request_uri = "/tokens/{provider}"
540
+ o.input = Shapes::ShapeRef.new(shape: ExchangeCodeForTokenRequest)
541
+ o.output = Shapes::ShapeRef.new(shape: ExchangeCodeForTokenResponse)
542
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
543
+ end)
544
+
545
+ api.add_operation(:export_components, Seahorse::Model::Operation.new.tap do |o|
546
+ o.name = "ExportComponents"
547
+ o.http_method = "GET"
548
+ o.http_request_uri = "/export/app/{appId}/environment/{environmentName}/components"
549
+ o.input = Shapes::ShapeRef.new(shape: ExportComponentsRequest)
550
+ o.output = Shapes::ShapeRef.new(shape: ExportComponentsResponse)
551
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
552
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
553
+ end)
554
+
555
+ api.add_operation(:export_themes, Seahorse::Model::Operation.new.tap do |o|
556
+ o.name = "ExportThemes"
557
+ o.http_method = "GET"
558
+ o.http_request_uri = "/export/app/{appId}/environment/{environmentName}/themes"
559
+ o.input = Shapes::ShapeRef.new(shape: ExportThemesRequest)
560
+ o.output = Shapes::ShapeRef.new(shape: ExportThemesResponse)
561
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
562
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
563
+ end)
564
+
565
+ api.add_operation(:get_component, Seahorse::Model::Operation.new.tap do |o|
566
+ o.name = "GetComponent"
567
+ o.http_method = "GET"
568
+ o.http_request_uri = "/app/{appId}/environment/{environmentName}/components/{id}"
569
+ o.input = Shapes::ShapeRef.new(shape: GetComponentRequest)
570
+ o.output = Shapes::ShapeRef.new(shape: GetComponentResponse)
571
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
572
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
573
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
574
+ end)
575
+
576
+ api.add_operation(:get_theme, Seahorse::Model::Operation.new.tap do |o|
577
+ o.name = "GetTheme"
578
+ o.http_method = "GET"
579
+ o.http_request_uri = "/app/{appId}/environment/{environmentName}/themes/{id}"
580
+ o.input = Shapes::ShapeRef.new(shape: GetThemeRequest)
581
+ o.output = Shapes::ShapeRef.new(shape: GetThemeResponse)
582
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
583
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
584
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
585
+ end)
586
+
587
+ api.add_operation(:list_components, Seahorse::Model::Operation.new.tap do |o|
588
+ o.name = "ListComponents"
589
+ o.http_method = "GET"
590
+ o.http_request_uri = "/app/{appId}/environment/{environmentName}/components"
591
+ o.input = Shapes::ShapeRef.new(shape: ListComponentsRequest)
592
+ o.output = Shapes::ShapeRef.new(shape: ListComponentsResponse)
593
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
594
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
595
+ o[:pager] = Aws::Pager.new(
596
+ limit_key: "max_results",
597
+ tokens: {
598
+ "next_token" => "next_token"
599
+ }
600
+ )
601
+ end)
602
+
603
+ api.add_operation(:list_themes, Seahorse::Model::Operation.new.tap do |o|
604
+ o.name = "ListThemes"
605
+ o.http_method = "GET"
606
+ o.http_request_uri = "/app/{appId}/environment/{environmentName}/themes"
607
+ o.input = Shapes::ShapeRef.new(shape: ListThemesRequest)
608
+ o.output = Shapes::ShapeRef.new(shape: ListThemesResponse)
609
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
610
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
611
+ o[:pager] = Aws::Pager.new(
612
+ limit_key: "max_results",
613
+ tokens: {
614
+ "next_token" => "next_token"
615
+ }
616
+ )
617
+ end)
618
+
619
+ api.add_operation(:refresh_token, Seahorse::Model::Operation.new.tap do |o|
620
+ o.name = "RefreshToken"
621
+ o.http_method = "POST"
622
+ o.http_request_uri = "/tokens/{provider}/refresh"
623
+ o.input = Shapes::ShapeRef.new(shape: RefreshTokenRequest)
624
+ o.output = Shapes::ShapeRef.new(shape: RefreshTokenResponse)
625
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
626
+ end)
627
+
628
+ api.add_operation(:update_component, Seahorse::Model::Operation.new.tap do |o|
629
+ o.name = "UpdateComponent"
630
+ o.http_method = "PATCH"
631
+ o.http_request_uri = "/app/{appId}/environment/{environmentName}/components/{id}"
632
+ o.input = Shapes::ShapeRef.new(shape: UpdateComponentRequest)
633
+ o.output = Shapes::ShapeRef.new(shape: UpdateComponentResponse)
634
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
635
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
636
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
637
+ end)
638
+
639
+ api.add_operation(:update_theme, Seahorse::Model::Operation.new.tap do |o|
640
+ o.name = "UpdateTheme"
641
+ o.http_method = "PATCH"
642
+ o.http_request_uri = "/app/{appId}/environment/{environmentName}/themes/{id}"
643
+ o.input = Shapes::ShapeRef.new(shape: UpdateThemeRequest)
644
+ o.output = Shapes::ShapeRef.new(shape: UpdateThemeResponse)
645
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
646
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
647
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
648
+ end)
649
+ end
650
+
651
+ end
652
+ end