aws-sdk-appintegrationsservice 1.27.0 → 1.29.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 836498dcab580b26c0efc28c9b6fa9d75d9d25e47e329be6055a9448360e47a6
4
- data.tar.gz: cf3a1b98912ba8f10195d5ec9feffadf49b526ab121026b94a122f48985ff7f7
3
+ metadata.gz: 3887137896eb52e5b2f7b7e3f4fd9e5c71ebfcc334581525f70cef56bbe28b5c
4
+ data.tar.gz: f854231264dbfa7873b9ae8320520434f30c27f69b90e47a3e582dd1ee6eea0a
5
5
  SHA512:
6
- metadata.gz: '0186afd5a4a5e21f01ba489118675ffd023ecd48c136572d2dd00aa777f47ef6374935cfca2158d0d2f029d21513de26a825e6272e32792e37e8999633c3b242'
7
- data.tar.gz: 9a5fdf4b6fc3ec49a3f6be8d5d57a3f5ba7f5dd5de059aeb8f927116d16c1a41890b6a9c5d106b3e2c0a7190430fb9a075e39c9a52a4606edd1893e06bee2202
6
+ metadata.gz: 90aac78f56fb0e535af3b726fab9246bde3e5e7369d196dec0eb983f1234adf601d55e949a4b73b439aab75a40caaae243519b35bb6463da93a2b79f191c32be
7
+ data.tar.gz: 8f5197a7ebba9e6f6b9bb2c79ff97b45c612daac4cdcefca3ef61c4f0037a85110de144fe6a0a62559da1683cdc0eca9b52dc9adff7e8d266e7ae300284d87aa
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.29.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.28.0 (2023-12-21)
10
+ ------------------
11
+
12
+ * Feature - The Amazon AppIntegrations service adds DeleteApplication API for deleting applications, and updates APIs to support third party applications reacting to workspace events and make data requests to Amazon Connect for agent and contact events.
13
+
4
14
  1.27.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.27.0
1
+ 1.29.0
@@ -428,6 +428,10 @@ module Aws::AppIntegrationsService
428
428
  # For example, \\\{ "tags": \\\{"key1":"value1",
429
429
  # "key2":"value2"\\} \\}.
430
430
  #
431
+ # @option params [Array<String>] :permissions
432
+ # The configuration of events or requests that the application has
433
+ # access to.
434
+ #
431
435
  # @return [Types::CreateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
432
436
  #
433
437
  # * {Types::CreateApplicationResponse#arn #arn} => String
@@ -484,6 +488,7 @@ module Aws::AppIntegrationsService
484
488
  # tags: {
485
489
  # "TagKey" => "TagValue",
486
490
  # },
491
+ # permissions: ["Permission"],
487
492
  # })
488
493
  #
489
494
  # @example Response structure
@@ -692,6 +697,42 @@ module Aws::AppIntegrationsService
692
697
  req.send_request(options)
693
698
  end
694
699
 
700
+ # Deletes the Application. Only Applications that don't have any
701
+ # Application Associations can be deleted.
702
+ #
703
+ # @option params [required, String] :arn
704
+ # The Amazon Resource Name (ARN) of the Application.
705
+ #
706
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
707
+ #
708
+ #
709
+ # @example Example: To delete an application
710
+ #
711
+ # # The following deletes an application.
712
+ #
713
+ # resp = client.delete_application({
714
+ # arn: "arn:aws:app-integrations:us-west-2:0123456789012:application/98542c53-e8ac-4570-9c85-c6552c8d9c5e",
715
+ # })
716
+ #
717
+ # resp.to_h outputs the following:
718
+ # {
719
+ # }
720
+ #
721
+ # @example Request syntax with placeholder values
722
+ #
723
+ # resp = client.delete_application({
724
+ # arn: "ArnOrUUID", # required
725
+ # })
726
+ #
727
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/DeleteApplication AWS API Documentation
728
+ #
729
+ # @overload delete_application(params = {})
730
+ # @param [Hash] params ({})
731
+ def delete_application(params = {}, options = {})
732
+ req = build_request(:delete_application, params)
733
+ req.send_request(options)
734
+ end
735
+
695
736
  # Deletes the DataIntegration. Only DataIntegrations that don't have
696
737
  # any DataIntegrationAssociations can be deleted. Deleting a
697
738
  # DataIntegration also deletes the underlying Amazon AppFlow flow and
@@ -771,6 +812,7 @@ module Aws::AppIntegrationsService
771
812
  # * {Types::GetApplicationResponse#created_time #created_time} => Time
772
813
  # * {Types::GetApplicationResponse#last_modified_time #last_modified_time} => Time
773
814
  # * {Types::GetApplicationResponse#tags #tags} => Hash&lt;String,String&gt;
815
+ # * {Types::GetApplicationResponse#permissions #permissions} => Array&lt;String&gt;
774
816
  #
775
817
  #
776
818
  # @example Example: To get an application
@@ -820,6 +862,8 @@ module Aws::AppIntegrationsService
820
862
  # resp.last_modified_time #=> Time
821
863
  # resp.tags #=> Hash
822
864
  # resp.tags["TagKey"] #=> String
865
+ # resp.permissions #=> Array
866
+ # resp.permissions[0] #=> String
823
867
  #
824
868
  # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/GetApplication AWS API Documentation
825
869
  #
@@ -936,6 +980,73 @@ module Aws::AppIntegrationsService
936
980
  req.send_request(options)
937
981
  end
938
982
 
983
+ # Returns a paginated list of application associations for an
984
+ # application.
985
+ #
986
+ # @option params [required, String] :application_id
987
+ # A unique identifier for the Application.
988
+ #
989
+ # @option params [String] :next_token
990
+ # The token for the next set of results. Use the value returned in the
991
+ # previous response in the next request to retrieve the next set of
992
+ # results.
993
+ #
994
+ # @option params [Integer] :max_results
995
+ # The maximum number of results to return per page.
996
+ #
997
+ # @return [Types::ListApplicationAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
998
+ #
999
+ # * {Types::ListApplicationAssociationsResponse#application_associations #application_associations} => Array&lt;Types::ApplicationAssociationSummary&gt;
1000
+ # * {Types::ListApplicationAssociationsResponse#next_token #next_token} => String
1001
+ #
1002
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1003
+ #
1004
+ #
1005
+ # @example Example: To list application associations of an application
1006
+ #
1007
+ # # The following retrives application associations of an application
1008
+ #
1009
+ # resp = client.list_application_associations({
1010
+ # application_id: "98542c53-e8ac-4570-9c85-c6552c8d9c5e",
1011
+ # })
1012
+ #
1013
+ # resp.to_h outputs the following:
1014
+ # {
1015
+ # application_associations: [
1016
+ # {
1017
+ # application_arn: "arn:aws:app-integrations:us-west-2:0123456789012:application/98542c53-e8ac-4570-9c85-c6552c8d9c5e",
1018
+ # application_association_arn: "arn:aws:app-integrations:us-west-2:0123456789012:application-association/98542c53-e8ac-4570-9c85-c6552c8d9c5e/461dfb57-320a-454d-9bba-bb560845ff38",
1019
+ # client_id: "connect.amazonaws.com",
1020
+ # },
1021
+ # ],
1022
+ # next_token: "abc",
1023
+ # }
1024
+ #
1025
+ # @example Request syntax with placeholder values
1026
+ #
1027
+ # resp = client.list_application_associations({
1028
+ # application_id: "ArnOrUUID", # required
1029
+ # next_token: "NextToken",
1030
+ # max_results: 1,
1031
+ # })
1032
+ #
1033
+ # @example Response structure
1034
+ #
1035
+ # resp.application_associations #=> Array
1036
+ # resp.application_associations[0].application_association_arn #=> String
1037
+ # resp.application_associations[0].application_arn #=> String
1038
+ # resp.application_associations[0].client_id #=> String
1039
+ # resp.next_token #=> String
1040
+ #
1041
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ListApplicationAssociations AWS API Documentation
1042
+ #
1043
+ # @overload list_application_associations(params = {})
1044
+ # @param [Hash] params ({})
1045
+ def list_application_associations(params = {}, options = {})
1046
+ req = build_request(:list_application_associations, params)
1047
+ req.send_request(options)
1048
+ end
1049
+
939
1050
  # This API is in preview release and subject to change.
940
1051
  #
941
1052
  # Lists applications in the account.
@@ -1315,6 +1426,10 @@ module Aws::AppIntegrationsService
1315
1426
  # @option params [Array<Types::Publication>] :publications
1316
1427
  # The events that the application publishes.
1317
1428
  #
1429
+ # @option params [Array<String>] :permissions
1430
+ # The configuration of events or requests that the application has
1431
+ # access to.
1432
+ #
1318
1433
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1319
1434
  #
1320
1435
  #
@@ -1356,6 +1471,7 @@ module Aws::AppIntegrationsService
1356
1471
  # description: "Description",
1357
1472
  # },
1358
1473
  # ],
1474
+ # permissions: ["Permission"],
1359
1475
  # })
1360
1476
  #
1361
1477
  # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/UpdateApplication AWS API Documentation
@@ -1447,7 +1563,7 @@ module Aws::AppIntegrationsService
1447
1563
  params: params,
1448
1564
  config: config)
1449
1565
  context[:gem_name] = 'aws-sdk-appintegrationsservice'
1450
- context[:gem_version] = '1.27.0'
1566
+ context[:gem_version] = '1.29.0'
1451
1567
  Seahorse::Client::Request.new(handlers, context)
1452
1568
  end
1453
1569
 
@@ -15,6 +15,8 @@ module Aws::AppIntegrationsService
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
17
  ApplicationApprovedOrigins = Shapes::ListShape.new(name: 'ApplicationApprovedOrigins')
18
+ ApplicationAssociationSummary = Shapes::StructureShape.new(name: 'ApplicationAssociationSummary')
19
+ ApplicationAssociationsList = Shapes::ListShape.new(name: 'ApplicationAssociationsList')
18
20
  ApplicationName = Shapes::StringShape.new(name: 'ApplicationName')
19
21
  ApplicationNamespace = Shapes::StringShape.new(name: 'ApplicationNamespace')
20
22
  ApplicationSourceConfig = Shapes::StructureShape.new(name: 'ApplicationSourceConfig')
@@ -35,6 +37,8 @@ module Aws::AppIntegrationsService
35
37
  DataIntegrationAssociationsList = Shapes::ListShape.new(name: 'DataIntegrationAssociationsList')
36
38
  DataIntegrationSummary = Shapes::StructureShape.new(name: 'DataIntegrationSummary')
37
39
  DataIntegrationsList = Shapes::ListShape.new(name: 'DataIntegrationsList')
40
+ DeleteApplicationRequest = Shapes::StructureShape.new(name: 'DeleteApplicationRequest')
41
+ DeleteApplicationResponse = Shapes::StructureShape.new(name: 'DeleteApplicationResponse')
38
42
  DeleteDataIntegrationRequest = Shapes::StructureShape.new(name: 'DeleteDataIntegrationRequest')
39
43
  DeleteDataIntegrationResponse = Shapes::StructureShape.new(name: 'DeleteDataIntegrationResponse')
40
44
  DeleteEventIntegrationRequest = Shapes::StructureShape.new(name: 'DeleteEventIntegrationRequest')
@@ -66,6 +70,8 @@ module Aws::AppIntegrationsService
66
70
  Identifier = Shapes::StringShape.new(name: 'Identifier')
67
71
  InternalServiceError = Shapes::StructureShape.new(name: 'InternalServiceError')
68
72
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
73
+ ListApplicationAssociationsRequest = Shapes::StructureShape.new(name: 'ListApplicationAssociationsRequest')
74
+ ListApplicationAssociationsResponse = Shapes::StructureShape.new(name: 'ListApplicationAssociationsResponse')
69
75
  ListApplicationsRequest = Shapes::StructureShape.new(name: 'ListApplicationsRequest')
70
76
  ListApplicationsResponse = Shapes::StructureShape.new(name: 'ListApplicationsResponse')
71
77
  ListDataIntegrationAssociationsRequest = Shapes::StructureShape.new(name: 'ListDataIntegrationAssociationsRequest')
@@ -86,6 +92,8 @@ module Aws::AppIntegrationsService
86
92
  NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
87
93
  Object = Shapes::StringShape.new(name: 'Object')
88
94
  ObjectConfiguration = Shapes::MapShape.new(name: 'ObjectConfiguration')
95
+ Permission = Shapes::StringShape.new(name: 'Permission')
96
+ PermissionList = Shapes::ListShape.new(name: 'PermissionList')
89
97
  Publication = Shapes::StructureShape.new(name: 'Publication')
90
98
  PublicationList = Shapes::ListShape.new(name: 'PublicationList')
91
99
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
@@ -105,6 +113,7 @@ module Aws::AppIntegrationsService
105
113
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
106
114
  URL = Shapes::StringShape.new(name: 'URL')
107
115
  UUID = Shapes::StringShape.new(name: 'UUID')
116
+ UnsupportedOperationException = Shapes::StructureShape.new(name: 'UnsupportedOperationException')
108
117
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
109
118
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
110
119
  UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
@@ -119,6 +128,13 @@ module Aws::AppIntegrationsService
119
128
 
120
129
  ApplicationApprovedOrigins.member = Shapes::ShapeRef.new(shape: ApplicationTrustedSource)
121
130
 
131
+ ApplicationAssociationSummary.add_member(:application_association_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ApplicationAssociationArn"))
132
+ ApplicationAssociationSummary.add_member(:application_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ApplicationArn"))
133
+ ApplicationAssociationSummary.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientId, location_name: "ClientId"))
134
+ ApplicationAssociationSummary.struct_class = Types::ApplicationAssociationSummary
135
+
136
+ ApplicationAssociationsList.member = Shapes::ShapeRef.new(shape: ApplicationAssociationSummary)
137
+
122
138
  ApplicationSourceConfig.add_member(:external_url_config, Shapes::ShapeRef.new(shape: ExternalUrlConfig, location_name: "ExternalUrlConfig"))
123
139
  ApplicationSourceConfig.struct_class = Types::ApplicationSourceConfig
124
140
 
@@ -139,10 +155,11 @@ module Aws::AppIntegrationsService
139
155
  CreateApplicationRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: ApplicationNamespace, required: true, location_name: "Namespace"))
140
156
  CreateApplicationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
141
157
  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"))
158
+ CreateApplicationRequest.add_member(:subscriptions, Shapes::ShapeRef.new(shape: SubscriptionList, deprecated: true, location_name: "Subscriptions", metadata: {"deprecatedMessage"=>"Subscriptions has been replaced with Permissions"}))
159
+ CreateApplicationRequest.add_member(:publications, Shapes::ShapeRef.new(shape: PublicationList, deprecated: true, location_name: "Publications", metadata: {"deprecatedMessage"=>"Publications has been replaced with Permissions"}))
144
160
  CreateApplicationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
145
161
  CreateApplicationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
162
+ CreateApplicationRequest.add_member(:permissions, Shapes::ShapeRef.new(shape: PermissionList, location_name: "Permissions"))
146
163
  CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
147
164
 
148
165
  CreateApplicationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
@@ -198,6 +215,11 @@ module Aws::AppIntegrationsService
198
215
 
199
216
  DataIntegrationsList.member = Shapes::ShapeRef.new(shape: DataIntegrationSummary)
200
217
 
218
+ DeleteApplicationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ArnOrUUID, required: true, location: "uri", location_name: "ApplicationIdentifier"))
219
+ DeleteApplicationRequest.struct_class = Types::DeleteApplicationRequest
220
+
221
+ DeleteApplicationResponse.struct_class = Types::DeleteApplicationResponse
222
+
201
223
  DeleteDataIntegrationRequest.add_member(:data_integration_identifier, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "Identifier"))
202
224
  DeleteDataIntegrationRequest.struct_class = Types::DeleteDataIntegrationRequest
203
225
 
@@ -249,7 +271,7 @@ module Aws::AppIntegrationsService
249
271
 
250
272
  FolderList.member = Shapes::ShapeRef.new(shape: NonBlankLongString)
251
273
 
252
- GetApplicationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ArnOrUUID, required: true, location: "uri", location_name: "Arn"))
274
+ GetApplicationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ArnOrUUID, required: true, location: "uri", location_name: "ApplicationIdentifier"))
253
275
  GetApplicationRequest.struct_class = Types::GetApplicationRequest
254
276
 
255
277
  GetApplicationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
@@ -258,11 +280,12 @@ module Aws::AppIntegrationsService
258
280
  GetApplicationResponse.add_member(:namespace, Shapes::ShapeRef.new(shape: ApplicationNamespace, location_name: "Namespace"))
259
281
  GetApplicationResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
260
282
  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"))
283
+ GetApplicationResponse.add_member(:subscriptions, Shapes::ShapeRef.new(shape: SubscriptionList, deprecated: true, location_name: "Subscriptions", metadata: {"deprecatedMessage"=>"Subscriptions has been replaced with Permissions"}))
284
+ GetApplicationResponse.add_member(:publications, Shapes::ShapeRef.new(shape: PublicationList, deprecated: true, location_name: "Publications", metadata: {"deprecatedMessage"=>"Publications has been replaced with Permissions"}))
263
285
  GetApplicationResponse.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTime"))
264
286
  GetApplicationResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
265
287
  GetApplicationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
288
+ GetApplicationResponse.add_member(:permissions, Shapes::ShapeRef.new(shape: PermissionList, location_name: "Permissions"))
266
289
  GetApplicationResponse.struct_class = Types::GetApplicationResponse
267
290
 
268
291
  GetDataIntegrationRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: Identifier, required: true, location: "uri", location_name: "Identifier"))
@@ -297,6 +320,15 @@ module Aws::AppIntegrationsService
297
320
  InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
298
321
  InvalidRequestException.struct_class = Types::InvalidRequestException
299
322
 
323
+ ListApplicationAssociationsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ArnOrUUID, required: true, location: "uri", location_name: "ApplicationIdentifier"))
324
+ ListApplicationAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
325
+ ListApplicationAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
326
+ ListApplicationAssociationsRequest.struct_class = Types::ListApplicationAssociationsRequest
327
+
328
+ ListApplicationAssociationsResponse.add_member(:application_associations, Shapes::ShapeRef.new(shape: ApplicationAssociationsList, location_name: "ApplicationAssociations"))
329
+ ListApplicationAssociationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
330
+ ListApplicationAssociationsResponse.struct_class = Types::ListApplicationAssociationsResponse
331
+
300
332
  ListApplicationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
301
333
  ListApplicationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
302
334
  ListApplicationsRequest.struct_class = Types::ListApplicationsRequest
@@ -348,6 +380,8 @@ module Aws::AppIntegrationsService
348
380
  ObjectConfiguration.key = Shapes::ShapeRef.new(shape: NonBlankString)
349
381
  ObjectConfiguration.value = Shapes::ShapeRef.new(shape: FieldsMap)
350
382
 
383
+ PermissionList.member = Shapes::ShapeRef.new(shape: Permission)
384
+
351
385
  Publication.add_member(:event, Shapes::ShapeRef.new(shape: EventName, required: true, location_name: "Event"))
352
386
  Publication.add_member(:schema, Shapes::ShapeRef.new(shape: EventDefinitionSchema, required: true, location_name: "Schema"))
353
387
  Publication.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
@@ -386,18 +420,22 @@ module Aws::AppIntegrationsService
386
420
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
387
421
  ThrottlingException.struct_class = Types::ThrottlingException
388
422
 
423
+ UnsupportedOperationException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
424
+ UnsupportedOperationException.struct_class = Types::UnsupportedOperationException
425
+
389
426
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
390
427
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
391
428
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
392
429
 
393
430
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
394
431
 
395
- UpdateApplicationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ArnOrUUID, required: true, location: "uri", location_name: "Arn"))
432
+ UpdateApplicationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ArnOrUUID, required: true, location: "uri", location_name: "ApplicationIdentifier"))
396
433
  UpdateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "Name"))
397
434
  UpdateApplicationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
398
435
  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"))
436
+ UpdateApplicationRequest.add_member(:subscriptions, Shapes::ShapeRef.new(shape: SubscriptionList, deprecated: true, location_name: "Subscriptions", metadata: {"deprecatedMessage"=>"Subscriptions has been replaced with Permissions"}))
437
+ UpdateApplicationRequest.add_member(:publications, Shapes::ShapeRef.new(shape: PublicationList, deprecated: true, location_name: "Publications", metadata: {"deprecatedMessage"=>"Publications has been replaced with Permissions"}))
438
+ UpdateApplicationRequest.add_member(:permissions, Shapes::ShapeRef.new(shape: PermissionList, location_name: "Permissions"))
401
439
  UpdateApplicationRequest.struct_class = Types::UpdateApplicationRequest
402
440
 
403
441
  UpdateApplicationResponse.struct_class = Types::UpdateApplicationResponse
@@ -445,6 +483,7 @@ module Aws::AppIntegrationsService
445
483
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
446
484
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
447
485
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
486
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
448
487
  end)
449
488
 
450
489
  api.add_operation(:create_data_integration, Seahorse::Model::Operation.new.tap do |o|
@@ -475,6 +514,19 @@ module Aws::AppIntegrationsService
475
514
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
476
515
  end)
477
516
 
517
+ api.add_operation(:delete_application, Seahorse::Model::Operation.new.tap do |o|
518
+ o.name = "DeleteApplication"
519
+ o.http_method = "DELETE"
520
+ o.http_request_uri = "/applications/{ApplicationIdentifier}"
521
+ o.input = Shapes::ShapeRef.new(shape: DeleteApplicationRequest)
522
+ o.output = Shapes::ShapeRef.new(shape: DeleteApplicationResponse)
523
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
524
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
525
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
526
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
527
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
528
+ end)
529
+
478
530
  api.add_operation(:delete_data_integration, Seahorse::Model::Operation.new.tap do |o|
479
531
  o.name = "DeleteDataIntegration"
480
532
  o.http_method = "DELETE"
@@ -504,7 +556,7 @@ module Aws::AppIntegrationsService
504
556
  api.add_operation(:get_application, Seahorse::Model::Operation.new.tap do |o|
505
557
  o.name = "GetApplication"
506
558
  o.http_method = "GET"
507
- o.http_request_uri = "/applications/{Arn}"
559
+ o.http_request_uri = "/applications/{ApplicationIdentifier}"
508
560
  o.input = Shapes::ShapeRef.new(shape: GetApplicationRequest)
509
561
  o.output = Shapes::ShapeRef.new(shape: GetApplicationResponse)
510
562
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
@@ -540,6 +592,25 @@ module Aws::AppIntegrationsService
540
592
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
541
593
  end)
542
594
 
595
+ api.add_operation(:list_application_associations, Seahorse::Model::Operation.new.tap do |o|
596
+ o.name = "ListApplicationAssociations"
597
+ o.http_method = "GET"
598
+ o.http_request_uri = "/applications/{ApplicationIdentifier}/associations"
599
+ o.input = Shapes::ShapeRef.new(shape: ListApplicationAssociationsRequest)
600
+ o.output = Shapes::ShapeRef.new(shape: ListApplicationAssociationsResponse)
601
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
602
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
603
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
604
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
605
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
606
+ o[:pager] = Aws::Pager.new(
607
+ limit_key: "max_results",
608
+ tokens: {
609
+ "next_token" => "next_token"
610
+ }
611
+ )
612
+ end)
613
+
543
614
  api.add_operation(:list_applications, Seahorse::Model::Operation.new.tap do |o|
544
615
  o.name = "ListApplications"
545
616
  o.http_method = "GET"
@@ -671,7 +742,7 @@ module Aws::AppIntegrationsService
671
742
  api.add_operation(:update_application, Seahorse::Model::Operation.new.tap do |o|
672
743
  o.name = "UpdateApplication"
673
744
  o.http_method = "PATCH"
674
- o.http_request_uri = "/applications/{Arn}"
745
+ o.http_request_uri = "/applications/{ApplicationIdentifier}"
675
746
  o.input = Shapes::ShapeRef.new(shape: UpdateApplicationRequest)
676
747
  o.output = Shapes::ShapeRef.new(shape: UpdateApplicationResponse)
677
748
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
@@ -679,6 +750,7 @@ module Aws::AppIntegrationsService
679
750
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
680
751
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
681
752
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
753
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
682
754
  end)
683
755
 
684
756
  api.add_operation(:update_data_integration, Seahorse::Model::Operation.new.tap do |o|
@@ -54,6 +54,20 @@ module Aws::AppIntegrationsService
54
54
  end
55
55
  end
56
56
 
57
+ class DeleteApplication
58
+ def self.build(context)
59
+ unless context.config.regional_endpoint
60
+ endpoint = context.config.endpoint.to_s
61
+ end
62
+ Aws::AppIntegrationsService::EndpointParameters.new(
63
+ region: context.config.region,
64
+ use_dual_stack: context.config.use_dualstack_endpoint,
65
+ use_fips: context.config.use_fips_endpoint,
66
+ endpoint: endpoint,
67
+ )
68
+ end
69
+ end
70
+
57
71
  class DeleteDataIntegration
58
72
  def self.build(context)
59
73
  unless context.config.regional_endpoint
@@ -124,6 +138,20 @@ module Aws::AppIntegrationsService
124
138
  end
125
139
  end
126
140
 
141
+ class ListApplicationAssociations
142
+ def self.build(context)
143
+ unless context.config.regional_endpoint
144
+ endpoint = context.config.endpoint.to_s
145
+ end
146
+ Aws::AppIntegrationsService::EndpointParameters.new(
147
+ region: context.config.region,
148
+ use_dual_stack: context.config.use_dualstack_endpoint,
149
+ use_fips: context.config.use_fips_endpoint,
150
+ endpoint: endpoint,
151
+ )
152
+ end
153
+ end
154
+
127
155
  class ListApplications
128
156
  def self.build(context)
129
157
  unless context.config.regional_endpoint
@@ -34,6 +34,7 @@ module Aws::AppIntegrationsService
34
34
  # * {ResourceNotFoundException}
35
35
  # * {ResourceQuotaExceededException}
36
36
  # * {ThrottlingException}
37
+ # * {UnsupportedOperationException}
37
38
  #
38
39
  # Additionally, error classes are dynamically generated for service errors based on the error code
39
40
  # if they are not defined above.
@@ -146,5 +147,20 @@ module Aws::AppIntegrationsService
146
147
  end
147
148
  end
148
149
 
150
+ class UnsupportedOperationException < ServiceError
151
+
152
+ # @param [Seahorse::Client::RequestContext] context
153
+ # @param [String] message
154
+ # @param [Aws::AppIntegrationsService::Types::UnsupportedOperationException] data
155
+ def initialize(context, message, data = Aws::EmptyStructure.new)
156
+ super(context, message, data)
157
+ end
158
+
159
+ # @return [String]
160
+ def message
161
+ @message || @data[:message]
162
+ end
163
+ end
164
+
149
165
  end
150
166
  end
@@ -14,6 +14,7 @@ module Aws::AppIntegrationsService
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::AppIntegrationsService::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -63,6 +64,8 @@ module Aws::AppIntegrationsService
63
64
  Aws::AppIntegrationsService::Endpoints::CreateDataIntegration.build(context)
64
65
  when :create_event_integration
65
66
  Aws::AppIntegrationsService::Endpoints::CreateEventIntegration.build(context)
67
+ when :delete_application
68
+ Aws::AppIntegrationsService::Endpoints::DeleteApplication.build(context)
66
69
  when :delete_data_integration
67
70
  Aws::AppIntegrationsService::Endpoints::DeleteDataIntegration.build(context)
68
71
  when :delete_event_integration
@@ -73,6 +76,8 @@ module Aws::AppIntegrationsService
73
76
  Aws::AppIntegrationsService::Endpoints::GetDataIntegration.build(context)
74
77
  when :get_event_integration
75
78
  Aws::AppIntegrationsService::Endpoints::GetEventIntegration.build(context)
79
+ when :list_application_associations
80
+ Aws::AppIntegrationsService::Endpoints::ListApplicationAssociations.build(context)
76
81
  when :list_applications
77
82
  Aws::AppIntegrationsService::Endpoints::ListApplications.build(context)
78
83
  when :list_data_integration_associations