aws-sdk-appintegrationsservice 1.26.0 → 1.28.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: 4fa48baed5ce2bdf6bc6987b174e1d10023d5deed250384d52c9b75eb4609c4a
4
- data.tar.gz: 712710a5394014d18c42d86bde706201cecda96278bb3636267d3e11d4bb7e9e
3
+ metadata.gz: b3f9a5e9b46e076887d26bdfe203b991ea474ffd8b6c57121151b68b9b286bc4
4
+ data.tar.gz: c764242cb1a4dd64605a3e8e7a8ed74b9dce0c86e98513ecf6fcd398259100a7
5
5
  SHA512:
6
- metadata.gz: 1c3f166ebd3f2a47cd2b499b8e1c13137b279c7cdf34f1a50a8302f7a2e95fcd6e026d0d0861219cd8ea6a9d731de983131d520d8c9e2665b801c42ba64fe6b6
7
- data.tar.gz: df1c7e5a13c50d9b5290ce61dc3ad3e78a5b07d0303a6b788b0afea214dc1f2475d3e2d52baa43d82019f59081b73fe54f7da44741eda89c9dd76fa72a6db7d0
6
+ metadata.gz: 7f6438e4495a9045d7d48e687df7f6502c05867b1335a7da09466057e42379d7a2de550d11637ccc6e735b18270af77a150e941b92d221af465b91b90cf55afc
7
+ data.tar.gz: 9ec15231e2320c848e5ed150ec0f143b90912dfccabd400a00167d45b56d3cb4701dbb16f774b9fc04d14f7336653ea8c7567a459fb89884738419f834e6ee27
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.28.0 (2023-12-21)
5
+ ------------------
6
+
7
+ * 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.
8
+
9
+ 1.27.0 (2023-11-28)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.26.0 (2023-11-22)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.26.0
1
+ 1.28.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.26.0'
1566
+ context[:gem_version] = '1.28.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
@@ -25,16 +25,17 @@ module Aws::AppIntegrationsService
25
25
  # @api private
26
26
  class Handler < Seahorse::Client::Handler
27
27
  def call(context)
28
- # If endpoint was discovered, do not resolve or apply the endpoint.
29
28
  unless context[:discovered_endpoint]
30
29
  params = parameters_for_operation(context)
31
30
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
31
 
33
32
  context.http_request.endpoint = endpoint.url
34
33
  apply_endpoint_headers(context, endpoint.headers)
34
+
35
+ context[:endpoint_params] = params
36
+ context[:endpoint_properties] = endpoint.properties
35
37
  end
36
38
 
37
- context[:endpoint_params] = params
38
39
  context[:auth_scheme] =
39
40
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
41
 
@@ -62,6 +63,8 @@ module Aws::AppIntegrationsService
62
63
  Aws::AppIntegrationsService::Endpoints::CreateDataIntegration.build(context)
63
64
  when :create_event_integration
64
65
  Aws::AppIntegrationsService::Endpoints::CreateEventIntegration.build(context)
66
+ when :delete_application
67
+ Aws::AppIntegrationsService::Endpoints::DeleteApplication.build(context)
65
68
  when :delete_data_integration
66
69
  Aws::AppIntegrationsService::Endpoints::DeleteDataIntegration.build(context)
67
70
  when :delete_event_integration
@@ -72,6 +75,8 @@ module Aws::AppIntegrationsService
72
75
  Aws::AppIntegrationsService::Endpoints::GetDataIntegration.build(context)
73
76
  when :get_event_integration
74
77
  Aws::AppIntegrationsService::Endpoints::GetEventIntegration.build(context)
78
+ when :list_application_associations
79
+ Aws::AppIntegrationsService::Endpoints::ListApplicationAssociations.build(context)
75
80
  when :list_applications
76
81
  Aws::AppIntegrationsService::Endpoints::ListApplications.build(context)
77
82
  when :list_data_integration_associations
@@ -23,6 +23,31 @@ module Aws::AppIntegrationsService
23
23
  include Aws::Structure
24
24
  end
25
25
 
26
+ # Summary information about the Application Association.
27
+ #
28
+ # @!attribute [rw] application_association_arn
29
+ # The Amazon Resource Name (ARN) of the Application Association.
30
+ # @return [String]
31
+ #
32
+ # @!attribute [rw] application_arn
33
+ # The Amazon Resource Name (ARN) of the Application.
34
+ # @return [String]
35
+ #
36
+ # @!attribute [rw] client_id
37
+ # The identifier for the client that is associated with the
38
+ # Application Association.
39
+ # @return [String]
40
+ #
41
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ApplicationAssociationSummary AWS API Documentation
42
+ #
43
+ class ApplicationAssociationSummary < Struct.new(
44
+ :application_association_arn,
45
+ :application_arn,
46
+ :client_id)
47
+ SENSITIVE = []
48
+ include Aws::Structure
49
+ end
50
+
26
51
  # The configuration for where the application should be loaded from.
27
52
  #
28
53
  # @!attribute [rw] external_url_config
@@ -120,6 +145,11 @@ module Aws::AppIntegrationsService
120
145
  # "key2":"value2"\\} \\}.
121
146
  # @return [Hash<String,String>]
122
147
  #
148
+ # @!attribute [rw] permissions
149
+ # The configuration of events or requests that the application has
150
+ # access to.
151
+ # @return [Array<String>]
152
+ #
123
153
  # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/CreateApplicationRequest AWS API Documentation
124
154
  #
125
155
  class CreateApplicationRequest < Struct.new(
@@ -130,7 +160,8 @@ module Aws::AppIntegrationsService
130
160
  :subscriptions,
131
161
  :publications,
132
162
  :client_token,
133
- :tags)
163
+ :tags,
164
+ :permissions)
134
165
  SENSITIVE = []
135
166
  include Aws::Structure
136
167
  end
@@ -399,6 +430,22 @@ module Aws::AppIntegrationsService
399
430
  include Aws::Structure
400
431
  end
401
432
 
433
+ # @!attribute [rw] arn
434
+ # The Amazon Resource Name (ARN) of the Application.
435
+ # @return [String]
436
+ #
437
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/DeleteApplicationRequest AWS API Documentation
438
+ #
439
+ class DeleteApplicationRequest < Struct.new(
440
+ :arn)
441
+ SENSITIVE = []
442
+ include Aws::Structure
443
+ end
444
+
445
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/DeleteApplicationResponse AWS API Documentation
446
+ #
447
+ class DeleteApplicationResponse < Aws::EmptyStructure; end
448
+
402
449
  # @!attribute [rw] data_integration_identifier
403
450
  # A unique identifier for the DataIntegration.
404
451
  # @return [String]
@@ -637,6 +684,11 @@ module Aws::AppIntegrationsService
637
684
  # "key2":"value2"\\} \\}.
638
685
  # @return [Hash<String,String>]
639
686
  #
687
+ # @!attribute [rw] permissions
688
+ # The configuration of events or requests that the application has
689
+ # access to.
690
+ # @return [Array<String>]
691
+ #
640
692
  # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/GetApplicationResponse AWS API Documentation
641
693
  #
642
694
  class GetApplicationResponse < Struct.new(
@@ -650,7 +702,8 @@ module Aws::AppIntegrationsService
650
702
  :publications,
651
703
  :created_time,
652
704
  :last_modified_time,
653
- :tags)
705
+ :tags,
706
+ :permissions)
654
707
  SENSITIVE = []
655
708
  include Aws::Structure
656
709
  end
@@ -804,6 +857,48 @@ module Aws::AppIntegrationsService
804
857
  include Aws::Structure
805
858
  end
806
859
 
860
+ # @!attribute [rw] application_id
861
+ # A unique identifier for the Application.
862
+ # @return [String]
863
+ #
864
+ # @!attribute [rw] next_token
865
+ # The token for the next set of results. Use the value returned in the
866
+ # previous response in the next request to retrieve the next set of
867
+ # results.
868
+ # @return [String]
869
+ #
870
+ # @!attribute [rw] max_results
871
+ # The maximum number of results to return per page.
872
+ # @return [Integer]
873
+ #
874
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ListApplicationAssociationsRequest AWS API Documentation
875
+ #
876
+ class ListApplicationAssociationsRequest < Struct.new(
877
+ :application_id,
878
+ :next_token,
879
+ :max_results)
880
+ SENSITIVE = []
881
+ include Aws::Structure
882
+ end
883
+
884
+ # @!attribute [rw] application_associations
885
+ # List of Application Associations for the Application.
886
+ # @return [Array<Types::ApplicationAssociationSummary>]
887
+ #
888
+ # @!attribute [rw] next_token
889
+ # If there are additional results, this is the token for the next set
890
+ # of results.
891
+ # @return [String]
892
+ #
893
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ListApplicationAssociationsResponse AWS API Documentation
894
+ #
895
+ class ListApplicationAssociationsResponse < Struct.new(
896
+ :application_associations,
897
+ :next_token)
898
+ SENSITIVE = []
899
+ include Aws::Structure
900
+ end
901
+
807
902
  # @!attribute [rw] next_token
808
903
  # The token for the next set of results. Use the value returned in the
809
904
  # previous response in the next request to retrieve the next set of
@@ -1155,6 +1250,19 @@ module Aws::AppIntegrationsService
1155
1250
  include Aws::Structure
1156
1251
  end
1157
1252
 
1253
+ # The operation is not supported.
1254
+ #
1255
+ # @!attribute [rw] message
1256
+ # @return [String]
1257
+ #
1258
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/UnsupportedOperationException AWS API Documentation
1259
+ #
1260
+ class UnsupportedOperationException < Struct.new(
1261
+ :message)
1262
+ SENSITIVE = []
1263
+ include Aws::Structure
1264
+ end
1265
+
1158
1266
  # @!attribute [rw] resource_arn
1159
1267
  # The Amazon Resource Name (ARN) of the resource.
1160
1268
  # @return [String]
@@ -1200,6 +1308,11 @@ module Aws::AppIntegrationsService
1200
1308
  # The events that the application publishes.
1201
1309
  # @return [Array<Types::Publication>]
1202
1310
  #
1311
+ # @!attribute [rw] permissions
1312
+ # The configuration of events or requests that the application has
1313
+ # access to.
1314
+ # @return [Array<String>]
1315
+ #
1203
1316
  # @see http://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/UpdateApplicationRequest AWS API Documentation
1204
1317
  #
1205
1318
  class UpdateApplicationRequest < Struct.new(
@@ -1208,7 +1321,8 @@ module Aws::AppIntegrationsService
1208
1321
  :description,
1209
1322
  :application_source_config,
1210
1323
  :subscriptions,
1211
- :publications)
1324
+ :publications,
1325
+ :permissions)
1212
1326
  SENSITIVE = []
1213
1327
  include Aws::Structure
1214
1328
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-appintegrationsservice/customizations'
52
52
  # @!group service
53
53
  module Aws::AppIntegrationsService
54
54
 
55
- GEM_VERSION = '1.26.0'
55
+ GEM_VERSION = '1.28.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-appintegrationsservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.26.0
4
+ version: 1.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-22 00:00:00.000000000 Z
11
+ date: 2023-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core