aws-sdk-appintegrationsservice 1.10.0 → 1.25.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,9 +14,19 @@ module Aws::AppIntegrationsService
14
14
  include Seahorse::Model
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ ApplicationApprovedOrigins = Shapes::ListShape.new(name: 'ApplicationApprovedOrigins')
18
+ ApplicationName = Shapes::StringShape.new(name: 'ApplicationName')
19
+ ApplicationNamespace = Shapes::StringShape.new(name: 'ApplicationNamespace')
20
+ ApplicationSourceConfig = Shapes::StructureShape.new(name: 'ApplicationSourceConfig')
21
+ ApplicationSummary = Shapes::StructureShape.new(name: 'ApplicationSummary')
22
+ ApplicationTrustedSource = Shapes::StringShape.new(name: 'ApplicationTrustedSource')
23
+ ApplicationsList = Shapes::ListShape.new(name: 'ApplicationsList')
17
24
  Arn = Shapes::StringShape.new(name: 'Arn')
25
+ ArnOrUUID = Shapes::StringShape.new(name: 'ArnOrUUID')
18
26
  ClientAssociationMetadata = Shapes::MapShape.new(name: 'ClientAssociationMetadata')
19
27
  ClientId = Shapes::StringShape.new(name: 'ClientId')
28
+ CreateApplicationRequest = Shapes::StructureShape.new(name: 'CreateApplicationRequest')
29
+ CreateApplicationResponse = Shapes::StructureShape.new(name: 'CreateApplicationResponse')
20
30
  CreateDataIntegrationRequest = Shapes::StructureShape.new(name: 'CreateDataIntegrationRequest')
21
31
  CreateDataIntegrationResponse = Shapes::StructureShape.new(name: 'CreateDataIntegrationResponse')
22
32
  CreateEventIntegrationRequest = Shapes::StructureShape.new(name: 'CreateEventIntegrationRequest')
@@ -33,11 +43,21 @@ module Aws::AppIntegrationsService
33
43
  DuplicateResourceException = Shapes::StructureShape.new(name: 'DuplicateResourceException')
34
44
  EventBridgeBus = Shapes::StringShape.new(name: 'EventBridgeBus')
35
45
  EventBridgeRuleName = Shapes::StringShape.new(name: 'EventBridgeRuleName')
46
+ EventDefinitionSchema = Shapes::StringShape.new(name: 'EventDefinitionSchema')
36
47
  EventFilter = Shapes::StructureShape.new(name: 'EventFilter')
37
48
  EventIntegration = Shapes::StructureShape.new(name: 'EventIntegration')
38
49
  EventIntegrationAssociation = Shapes::StructureShape.new(name: 'EventIntegrationAssociation')
39
50
  EventIntegrationAssociationsList = Shapes::ListShape.new(name: 'EventIntegrationAssociationsList')
40
51
  EventIntegrationsList = Shapes::ListShape.new(name: 'EventIntegrationsList')
52
+ EventName = Shapes::StringShape.new(name: 'EventName')
53
+ ExternalUrlConfig = Shapes::StructureShape.new(name: 'ExternalUrlConfig')
54
+ Fields = Shapes::StringShape.new(name: 'Fields')
55
+ FieldsList = Shapes::ListShape.new(name: 'FieldsList')
56
+ FieldsMap = Shapes::MapShape.new(name: 'FieldsMap')
57
+ FileConfiguration = Shapes::StructureShape.new(name: 'FileConfiguration')
58
+ FolderList = Shapes::ListShape.new(name: 'FolderList')
59
+ GetApplicationRequest = Shapes::StructureShape.new(name: 'GetApplicationRequest')
60
+ GetApplicationResponse = Shapes::StructureShape.new(name: 'GetApplicationResponse')
41
61
  GetDataIntegrationRequest = Shapes::StructureShape.new(name: 'GetDataIntegrationRequest')
42
62
  GetDataIntegrationResponse = Shapes::StructureShape.new(name: 'GetDataIntegrationResponse')
43
63
  GetEventIntegrationRequest = Shapes::StructureShape.new(name: 'GetEventIntegrationRequest')
@@ -46,6 +66,8 @@ module Aws::AppIntegrationsService
46
66
  Identifier = Shapes::StringShape.new(name: 'Identifier')
47
67
  InternalServiceError = Shapes::StructureShape.new(name: 'InternalServiceError')
48
68
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
69
+ ListApplicationsRequest = Shapes::StructureShape.new(name: 'ListApplicationsRequest')
70
+ ListApplicationsResponse = Shapes::StructureShape.new(name: 'ListApplicationsResponse')
49
71
  ListDataIntegrationAssociationsRequest = Shapes::StructureShape.new(name: 'ListDataIntegrationAssociationsRequest')
50
72
  ListDataIntegrationAssociationsResponse = Shapes::StructureShape.new(name: 'ListDataIntegrationAssociationsResponse')
51
73
  ListDataIntegrationsRequest = Shapes::StructureShape.new(name: 'ListDataIntegrationsRequest')
@@ -60,13 +82,19 @@ module Aws::AppIntegrationsService
60
82
  Message = Shapes::StringShape.new(name: 'Message')
61
83
  Name = Shapes::StringShape.new(name: 'Name')
62
84
  NextToken = Shapes::StringShape.new(name: 'NextToken')
85
+ NonBlankLongString = Shapes::StringShape.new(name: 'NonBlankLongString')
63
86
  NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
64
87
  Object = Shapes::StringShape.new(name: 'Object')
88
+ ObjectConfiguration = Shapes::MapShape.new(name: 'ObjectConfiguration')
89
+ Publication = Shapes::StructureShape.new(name: 'Publication')
90
+ PublicationList = Shapes::ListShape.new(name: 'PublicationList')
65
91
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
66
92
  ResourceQuotaExceededException = Shapes::StructureShape.new(name: 'ResourceQuotaExceededException')
67
- Schedule = Shapes::StringShape.new(name: 'Schedule')
68
93
  ScheduleConfiguration = Shapes::StructureShape.new(name: 'ScheduleConfiguration')
69
94
  Source = Shapes::StringShape.new(name: 'Source')
95
+ SourceURI = Shapes::StringShape.new(name: 'SourceURI')
96
+ Subscription = Shapes::StructureShape.new(name: 'Subscription')
97
+ SubscriptionList = Shapes::ListShape.new(name: 'SubscriptionList')
70
98
  TagKey = Shapes::StringShape.new(name: 'TagKey')
71
99
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
72
100
  TagMap = Shapes::MapShape.new(name: 'TagMap')
@@ -74,9 +102,13 @@ module Aws::AppIntegrationsService
74
102
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
75
103
  TagValue = Shapes::StringShape.new(name: 'TagValue')
76
104
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
105
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
106
+ URL = Shapes::StringShape.new(name: 'URL')
77
107
  UUID = Shapes::StringShape.new(name: 'UUID')
78
108
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
79
109
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
110
+ UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
111
+ UpdateApplicationResponse = Shapes::StructureShape.new(name: 'UpdateApplicationResponse')
80
112
  UpdateDataIntegrationRequest = Shapes::StructureShape.new(name: 'UpdateDataIntegrationRequest')
81
113
  UpdateDataIntegrationResponse = Shapes::StructureShape.new(name: 'UpdateDataIntegrationResponse')
82
114
  UpdateEventIntegrationRequest = Shapes::StructureShape.new(name: 'UpdateEventIntegrationRequest')
@@ -85,16 +117,47 @@ module Aws::AppIntegrationsService
85
117
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
86
118
  AccessDeniedException.struct_class = Types::AccessDeniedException
87
119
 
120
+ ApplicationApprovedOrigins.member = Shapes::ShapeRef.new(shape: ApplicationTrustedSource)
121
+
122
+ ApplicationSourceConfig.add_member(:external_url_config, Shapes::ShapeRef.new(shape: ExternalUrlConfig, location_name: "ExternalUrlConfig"))
123
+ ApplicationSourceConfig.struct_class = Types::ApplicationSourceConfig
124
+
125
+ ApplicationSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
126
+ ApplicationSummary.add_member(:id, Shapes::ShapeRef.new(shape: UUID, location_name: "Id"))
127
+ ApplicationSummary.add_member(:name, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "Name"))
128
+ ApplicationSummary.add_member(:namespace, Shapes::ShapeRef.new(shape: ApplicationNamespace, location_name: "Namespace"))
129
+ ApplicationSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTime"))
130
+ ApplicationSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
131
+ ApplicationSummary.struct_class = Types::ApplicationSummary
132
+
133
+ ApplicationsList.member = Shapes::ShapeRef.new(shape: ApplicationSummary)
134
+
88
135
  ClientAssociationMetadata.key = Shapes::ShapeRef.new(shape: NonBlankString)
89
136
  ClientAssociationMetadata.value = Shapes::ShapeRef.new(shape: NonBlankString)
90
137
 
138
+ CreateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "Name"))
139
+ CreateApplicationRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: ApplicationNamespace, required: true, location_name: "Namespace"))
140
+ CreateApplicationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
141
+ CreateApplicationRequest.add_member(:application_source_config, Shapes::ShapeRef.new(shape: ApplicationSourceConfig, required: true, location_name: "ApplicationSourceConfig"))
142
+ CreateApplicationRequest.add_member(:subscriptions, Shapes::ShapeRef.new(shape: SubscriptionList, location_name: "Subscriptions"))
143
+ CreateApplicationRequest.add_member(:publications, Shapes::ShapeRef.new(shape: PublicationList, location_name: "Publications"))
144
+ CreateApplicationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
145
+ CreateApplicationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
146
+ CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
147
+
148
+ CreateApplicationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
149
+ CreateApplicationResponse.add_member(:id, Shapes::ShapeRef.new(shape: UUID, location_name: "Id"))
150
+ CreateApplicationResponse.struct_class = Types::CreateApplicationResponse
151
+
91
152
  CreateDataIntegrationRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
92
153
  CreateDataIntegrationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
93
- CreateDataIntegrationRequest.add_member(:kms_key, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "KmsKey"))
94
- CreateDataIntegrationRequest.add_member(:source_uri, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "SourceURI"))
154
+ CreateDataIntegrationRequest.add_member(:kms_key, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "KmsKey"))
155
+ CreateDataIntegrationRequest.add_member(:source_uri, Shapes::ShapeRef.new(shape: SourceURI, required: true, location_name: "SourceURI"))
95
156
  CreateDataIntegrationRequest.add_member(:schedule_config, Shapes::ShapeRef.new(shape: ScheduleConfiguration, location_name: "ScheduleConfig"))
96
157
  CreateDataIntegrationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
97
158
  CreateDataIntegrationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
159
+ CreateDataIntegrationRequest.add_member(:file_configuration, Shapes::ShapeRef.new(shape: FileConfiguration, location_name: "FileConfiguration"))
160
+ CreateDataIntegrationRequest.add_member(:object_configuration, Shapes::ShapeRef.new(shape: ObjectConfiguration, location_name: "ObjectConfiguration"))
98
161
  CreateDataIntegrationRequest.struct_class = Types::CreateDataIntegrationRequest
99
162
 
100
163
  CreateDataIntegrationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
@@ -102,10 +165,12 @@ module Aws::AppIntegrationsService
102
165
  CreateDataIntegrationResponse.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
103
166
  CreateDataIntegrationResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
104
167
  CreateDataIntegrationResponse.add_member(:kms_key, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "KmsKey"))
105
- CreateDataIntegrationResponse.add_member(:source_uri, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "SourceURI"))
168
+ CreateDataIntegrationResponse.add_member(:source_uri, Shapes::ShapeRef.new(shape: SourceURI, location_name: "SourceURI"))
106
169
  CreateDataIntegrationResponse.add_member(:schedule_configuration, Shapes::ShapeRef.new(shape: ScheduleConfiguration, location_name: "ScheduleConfiguration"))
107
170
  CreateDataIntegrationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
108
171
  CreateDataIntegrationResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "ClientToken"))
172
+ CreateDataIntegrationResponse.add_member(:file_configuration, Shapes::ShapeRef.new(shape: FileConfiguration, location_name: "FileConfiguration"))
173
+ CreateDataIntegrationResponse.add_member(:object_configuration, Shapes::ShapeRef.new(shape: ObjectConfiguration, location_name: "ObjectConfiguration"))
109
174
  CreateDataIntegrationResponse.struct_class = Types::CreateDataIntegrationResponse
110
175
 
111
176
  CreateEventIntegrationRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
@@ -128,7 +193,7 @@ module Aws::AppIntegrationsService
128
193
 
129
194
  DataIntegrationSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
130
195
  DataIntegrationSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
131
- DataIntegrationSummary.add_member(:source_uri, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "SourceURI"))
196
+ DataIntegrationSummary.add_member(:source_uri, Shapes::ShapeRef.new(shape: SourceURI, location_name: "SourceURI"))
132
197
  DataIntegrationSummary.struct_class = Types::DataIntegrationSummary
133
198
 
134
199
  DataIntegrationsList.member = Shapes::ShapeRef.new(shape: DataIntegrationSummary)
@@ -169,6 +234,37 @@ module Aws::AppIntegrationsService
169
234
 
170
235
  EventIntegrationsList.member = Shapes::ShapeRef.new(shape: EventIntegration)
171
236
 
237
+ ExternalUrlConfig.add_member(:access_url, Shapes::ShapeRef.new(shape: URL, required: true, location_name: "AccessUrl"))
238
+ ExternalUrlConfig.add_member(:approved_origins, Shapes::ShapeRef.new(shape: ApplicationApprovedOrigins, location_name: "ApprovedOrigins"))
239
+ ExternalUrlConfig.struct_class = Types::ExternalUrlConfig
240
+
241
+ FieldsList.member = Shapes::ShapeRef.new(shape: Fields)
242
+
243
+ FieldsMap.key = Shapes::ShapeRef.new(shape: NonBlankString)
244
+ FieldsMap.value = Shapes::ShapeRef.new(shape: FieldsList)
245
+
246
+ FileConfiguration.add_member(:folders, Shapes::ShapeRef.new(shape: FolderList, required: true, location_name: "Folders"))
247
+ FileConfiguration.add_member(:filters, Shapes::ShapeRef.new(shape: FieldsMap, location_name: "Filters"))
248
+ FileConfiguration.struct_class = Types::FileConfiguration
249
+
250
+ FolderList.member = Shapes::ShapeRef.new(shape: NonBlankLongString)
251
+
252
+ GetApplicationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ArnOrUUID, required: true, location: "uri", location_name: "Arn"))
253
+ GetApplicationRequest.struct_class = Types::GetApplicationRequest
254
+
255
+ GetApplicationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
256
+ GetApplicationResponse.add_member(:id, Shapes::ShapeRef.new(shape: UUID, location_name: "Id"))
257
+ GetApplicationResponse.add_member(:name, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "Name"))
258
+ GetApplicationResponse.add_member(:namespace, Shapes::ShapeRef.new(shape: ApplicationNamespace, location_name: "Namespace"))
259
+ GetApplicationResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
260
+ GetApplicationResponse.add_member(:application_source_config, Shapes::ShapeRef.new(shape: ApplicationSourceConfig, location_name: "ApplicationSourceConfig"))
261
+ GetApplicationResponse.add_member(:subscriptions, Shapes::ShapeRef.new(shape: SubscriptionList, location_name: "Subscriptions"))
262
+ GetApplicationResponse.add_member(:publications, Shapes::ShapeRef.new(shape: PublicationList, location_name: "Publications"))
263
+ GetApplicationResponse.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTime"))
264
+ GetApplicationResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
265
+ GetApplicationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
266
+ GetApplicationResponse.struct_class = Types::GetApplicationResponse
267
+
172
268
  GetDataIntegrationRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "Identifier"))
173
269
  GetDataIntegrationRequest.struct_class = Types::GetDataIntegrationRequest
174
270
 
@@ -177,9 +273,11 @@ module Aws::AppIntegrationsService
177
273
  GetDataIntegrationResponse.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
178
274
  GetDataIntegrationResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
179
275
  GetDataIntegrationResponse.add_member(:kms_key, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "KmsKey"))
180
- GetDataIntegrationResponse.add_member(:source_uri, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "SourceURI"))
276
+ GetDataIntegrationResponse.add_member(:source_uri, Shapes::ShapeRef.new(shape: SourceURI, location_name: "SourceURI"))
181
277
  GetDataIntegrationResponse.add_member(:schedule_configuration, Shapes::ShapeRef.new(shape: ScheduleConfiguration, location_name: "ScheduleConfiguration"))
182
278
  GetDataIntegrationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
279
+ GetDataIntegrationResponse.add_member(:file_configuration, Shapes::ShapeRef.new(shape: FileConfiguration, location_name: "FileConfiguration"))
280
+ GetDataIntegrationResponse.add_member(:object_configuration, Shapes::ShapeRef.new(shape: ObjectConfiguration, location_name: "ObjectConfiguration"))
183
281
  GetDataIntegrationResponse.struct_class = Types::GetDataIntegrationResponse
184
282
 
185
283
  GetEventIntegrationRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location: "uri", location_name: "Name"))
@@ -199,6 +297,14 @@ module Aws::AppIntegrationsService
199
297
  InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
200
298
  InvalidRequestException.struct_class = Types::InvalidRequestException
201
299
 
300
+ ListApplicationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
301
+ ListApplicationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
302
+ ListApplicationsRequest.struct_class = Types::ListApplicationsRequest
303
+
304
+ ListApplicationsResponse.add_member(:applications, Shapes::ShapeRef.new(shape: ApplicationsList, location_name: "Applications"))
305
+ ListApplicationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
306
+ ListApplicationsResponse.struct_class = Types::ListApplicationsResponse
307
+
202
308
  ListDataIntegrationAssociationsRequest.add_member(:data_integration_identifier, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "Identifier"))
203
309
  ListDataIntegrationAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
204
310
  ListDataIntegrationAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
@@ -239,6 +345,16 @@ module Aws::AppIntegrationsService
239
345
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
240
346
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
241
347
 
348
+ ObjectConfiguration.key = Shapes::ShapeRef.new(shape: NonBlankString)
349
+ ObjectConfiguration.value = Shapes::ShapeRef.new(shape: FieldsMap)
350
+
351
+ Publication.add_member(:event, Shapes::ShapeRef.new(shape: EventName, required: true, location_name: "Event"))
352
+ Publication.add_member(:schema, Shapes::ShapeRef.new(shape: EventDefinitionSchema, required: true, location_name: "Schema"))
353
+ Publication.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
354
+ Publication.struct_class = Types::Publication
355
+
356
+ PublicationList.member = Shapes::ShapeRef.new(shape: Publication)
357
+
242
358
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
243
359
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
244
360
 
@@ -247,9 +363,15 @@ module Aws::AppIntegrationsService
247
363
 
248
364
  ScheduleConfiguration.add_member(:first_execution_from, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "FirstExecutionFrom"))
249
365
  ScheduleConfiguration.add_member(:object, Shapes::ShapeRef.new(shape: Object, location_name: "Object"))
250
- ScheduleConfiguration.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: Schedule, location_name: "ScheduleExpression"))
366
+ ScheduleConfiguration.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "ScheduleExpression"))
251
367
  ScheduleConfiguration.struct_class = Types::ScheduleConfiguration
252
368
 
369
+ Subscription.add_member(:event, Shapes::ShapeRef.new(shape: EventName, required: true, location_name: "Event"))
370
+ Subscription.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
371
+ Subscription.struct_class = Types::Subscription
372
+
373
+ SubscriptionList.member = Shapes::ShapeRef.new(shape: Subscription)
374
+
253
375
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
254
376
 
255
377
  TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
@@ -270,6 +392,16 @@ module Aws::AppIntegrationsService
270
392
 
271
393
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
272
394
 
395
+ UpdateApplicationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ArnOrUUID, required: true, location: "uri", location_name: "Arn"))
396
+ UpdateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "Name"))
397
+ UpdateApplicationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
398
+ UpdateApplicationRequest.add_member(:application_source_config, Shapes::ShapeRef.new(shape: ApplicationSourceConfig, location_name: "ApplicationSourceConfig"))
399
+ UpdateApplicationRequest.add_member(:subscriptions, Shapes::ShapeRef.new(shape: SubscriptionList, location_name: "Subscriptions"))
400
+ UpdateApplicationRequest.add_member(:publications, Shapes::ShapeRef.new(shape: PublicationList, location_name: "Publications"))
401
+ UpdateApplicationRequest.struct_class = Types::UpdateApplicationRequest
402
+
403
+ UpdateApplicationResponse.struct_class = Types::UpdateApplicationResponse
404
+
273
405
  UpdateDataIntegrationRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "Identifier"))
274
406
  UpdateDataIntegrationRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
275
407
  UpdateDataIntegrationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
@@ -301,6 +433,20 @@ module Aws::AppIntegrationsService
301
433
  "uid" => "appintegrations-2020-07-29",
302
434
  }
303
435
 
436
+ api.add_operation(:create_application, Seahorse::Model::Operation.new.tap do |o|
437
+ o.name = "CreateApplication"
438
+ o.http_method = "POST"
439
+ o.http_request_uri = "/applications"
440
+ o.input = Shapes::ShapeRef.new(shape: CreateApplicationRequest)
441
+ o.output = Shapes::ShapeRef.new(shape: CreateApplicationResponse)
442
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
443
+ o.errors << Shapes::ShapeRef.new(shape: ResourceQuotaExceededException)
444
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
445
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
446
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
447
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
448
+ end)
449
+
304
450
  api.add_operation(:create_data_integration, Seahorse::Model::Operation.new.tap do |o|
305
451
  o.name = "CreateDataIntegration"
306
452
  o.http_method = "POST"
@@ -355,6 +501,19 @@ module Aws::AppIntegrationsService
355
501
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
356
502
  end)
357
503
 
504
+ api.add_operation(:get_application, Seahorse::Model::Operation.new.tap do |o|
505
+ o.name = "GetApplication"
506
+ o.http_method = "GET"
507
+ o.http_request_uri = "/applications/{Arn}"
508
+ o.input = Shapes::ShapeRef.new(shape: GetApplicationRequest)
509
+ o.output = Shapes::ShapeRef.new(shape: GetApplicationResponse)
510
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
511
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
512
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
513
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
514
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
515
+ end)
516
+
358
517
  api.add_operation(:get_data_integration, Seahorse::Model::Operation.new.tap do |o|
359
518
  o.name = "GetDataIntegration"
360
519
  o.http_method = "GET"
@@ -381,6 +540,24 @@ module Aws::AppIntegrationsService
381
540
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
382
541
  end)
383
542
 
543
+ api.add_operation(:list_applications, Seahorse::Model::Operation.new.tap do |o|
544
+ o.name = "ListApplications"
545
+ o.http_method = "GET"
546
+ o.http_request_uri = "/applications"
547
+ o.input = Shapes::ShapeRef.new(shape: ListApplicationsRequest)
548
+ o.output = Shapes::ShapeRef.new(shape: ListApplicationsResponse)
549
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
550
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
551
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
552
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
553
+ o[:pager] = Aws::Pager.new(
554
+ limit_key: "max_results",
555
+ tokens: {
556
+ "next_token" => "next_token"
557
+ }
558
+ )
559
+ end)
560
+
384
561
  api.add_operation(:list_data_integration_associations, Seahorse::Model::Operation.new.tap do |o|
385
562
  o.name = "ListDataIntegrationAssociations"
386
563
  o.http_method = "GET"
@@ -392,6 +569,12 @@ module Aws::AppIntegrationsService
392
569
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
393
570
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
394
571
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
572
+ o[:pager] = Aws::Pager.new(
573
+ limit_key: "max_results",
574
+ tokens: {
575
+ "next_token" => "next_token"
576
+ }
577
+ )
395
578
  end)
396
579
 
397
580
  api.add_operation(:list_data_integrations, Seahorse::Model::Operation.new.tap do |o|
@@ -404,6 +587,12 @@ module Aws::AppIntegrationsService
404
587
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
405
588
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
406
589
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
590
+ o[:pager] = Aws::Pager.new(
591
+ limit_key: "max_results",
592
+ tokens: {
593
+ "next_token" => "next_token"
594
+ }
595
+ )
407
596
  end)
408
597
 
409
598
  api.add_operation(:list_event_integration_associations, Seahorse::Model::Operation.new.tap do |o|
@@ -417,6 +606,12 @@ module Aws::AppIntegrationsService
417
606
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
418
607
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
419
608
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
609
+ o[:pager] = Aws::Pager.new(
610
+ limit_key: "max_results",
611
+ tokens: {
612
+ "next_token" => "next_token"
613
+ }
614
+ )
420
615
  end)
421
616
 
422
617
  api.add_operation(:list_event_integrations, Seahorse::Model::Operation.new.tap do |o|
@@ -429,6 +624,12 @@ module Aws::AppIntegrationsService
429
624
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
430
625
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
431
626
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
627
+ o[:pager] = Aws::Pager.new(
628
+ limit_key: "max_results",
629
+ tokens: {
630
+ "next_token" => "next_token"
631
+ }
632
+ )
432
633
  end)
433
634
 
434
635
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -467,6 +668,19 @@ module Aws::AppIntegrationsService
467
668
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
468
669
  end)
469
670
 
671
+ api.add_operation(:update_application, Seahorse::Model::Operation.new.tap do |o|
672
+ o.name = "UpdateApplication"
673
+ o.http_method = "PATCH"
674
+ o.http_request_uri = "/applications/{Arn}"
675
+ o.input = Shapes::ShapeRef.new(shape: UpdateApplicationRequest)
676
+ o.output = Shapes::ShapeRef.new(shape: UpdateApplicationResponse)
677
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
678
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
679
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
680
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
681
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
682
+ end)
683
+
470
684
  api.add_operation(:update_data_integration, Seahorse::Model::Operation.new.tap do |o|
471
685
  o.name = "UpdateDataIntegration"
472
686
  o.http_method = "PATCH"
@@ -0,0 +1,66 @@
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::AppIntegrationsService
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ self[:use_dual_stack] = options[:use_dual_stack]
54
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
+ if self[:use_dual_stack].nil?
56
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
+ end
58
+ self[:use_fips] = options[:use_fips]
59
+ self[:use_fips] = false if self[:use_fips].nil?
60
+ if self[:use_fips].nil?
61
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
+ end
63
+ self[:endpoint] = options[:endpoint]
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,54 @@
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::AppIntegrationsService
11
+ class EndpointProvider
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
18
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
+ end
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://app-integrations-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
+ return Aws::Endpoints::Endpoint.new(url: "https://app-integrations-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://app-integrations.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
+ end
46
+ return Aws::Endpoints::Endpoint.new(url: "https://app-integrations.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
47
+ end
48
+ end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
50
+ raise ArgumentError, 'No endpoint could be resolved'
51
+
52
+ end
53
+ end
54
+ end