Skip to content

Commit a881c13

Browse files
author
AWS
committed
Amazon AppIntegrations Service Update: 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.
1 parent bfe89b4 commit a881c13

File tree

3 files changed

+185
-13
lines changed

3 files changed

+185
-13
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon AppIntegrations Service",
4+
"contributor": "",
5+
"description": "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."
6+
}

services/appintegrations/src/main/resources/codegen-resources/paginators-1.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
{
22
"pagination": {
3+
"ListApplicationAssociations": {
4+
"input_token": "NextToken",
5+
"limit_key": "MaxResults",
6+
"output_token": "NextToken",
7+
"result_key": "ApplicationAssociations"
8+
},
39
"ListApplications": {
410
"input_token": "NextToken",
511
"limit_key": "MaxResults",

services/appintegrations/src/main/resources/codegen-resources/service-2.json

Lines changed: 173 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
{"shape":"DuplicateResourceException"},
2727
{"shape":"ThrottlingException"},
2828
{"shape":"InvalidRequestException"},
29-
{"shape":"AccessDeniedException"}
29+
{"shape":"AccessDeniedException"},
30+
{"shape":"UnsupportedOperationException"}
3031
],
3132
"documentation":"<p>This API is in preview release and subject to change.</p> <p>Creates and persists an Application resource.</p>"
3233
},
@@ -66,6 +67,23 @@
6667
],
6768
"documentation":"<p>Creates an EventIntegration, given a specified name, description, and a reference to an Amazon EventBridge bus in your account and a partner event source that pushes events to that bus. No objects are created in the your account, only metadata that is persisted on the EventIntegration control plane.</p>"
6869
},
70+
"DeleteApplication":{
71+
"name":"DeleteApplication",
72+
"http":{
73+
"method":"DELETE",
74+
"requestUri":"/applications/{ApplicationIdentifier}"
75+
},
76+
"input":{"shape":"DeleteApplicationRequest"},
77+
"output":{"shape":"DeleteApplicationResponse"},
78+
"errors":[
79+
{"shape":"InternalServiceError"},
80+
{"shape":"ThrottlingException"},
81+
{"shape":"ResourceNotFoundException"},
82+
{"shape":"InvalidRequestException"},
83+
{"shape":"AccessDeniedException"}
84+
],
85+
"documentation":"<p>Deletes the Application. Only Applications that don't have any Application Associations can be deleted.</p>"
86+
},
6987
"DeleteDataIntegration":{
7088
"name":"DeleteDataIntegration",
7189
"http":{
@@ -104,7 +122,7 @@
104122
"name":"GetApplication",
105123
"http":{
106124
"method":"GET",
107-
"requestUri":"/applications/{Arn}"
125+
"requestUri":"/applications/{ApplicationIdentifier}"
108126
},
109127
"input":{"shape":"GetApplicationRequest"},
110128
"output":{"shape":"GetApplicationResponse"},
@@ -151,6 +169,23 @@
151169
],
152170
"documentation":"<p>Returns information about the event integration.</p>"
153171
},
172+
"ListApplicationAssociations":{
173+
"name":"ListApplicationAssociations",
174+
"http":{
175+
"method":"GET",
176+
"requestUri":"/applications/{ApplicationIdentifier}/associations"
177+
},
178+
"input":{"shape":"ListApplicationAssociationsRequest"},
179+
"output":{"shape":"ListApplicationAssociationsResponse"},
180+
"errors":[
181+
{"shape":"InternalServiceError"},
182+
{"shape":"ThrottlingException"},
183+
{"shape":"ResourceNotFoundException"},
184+
{"shape":"InvalidRequestException"},
185+
{"shape":"AccessDeniedException"}
186+
],
187+
"documentation":"<p>Returns a paginated list of application associations for an application.</p>"
188+
},
154189
"ListApplications":{
155190
"name":"ListApplications",
156191
"http":{
@@ -285,7 +320,7 @@
285320
"name":"UpdateApplication",
286321
"http":{
287322
"method":"PATCH",
288-
"requestUri":"/applications/{Arn}"
323+
"requestUri":"/applications/{ApplicationIdentifier}"
289324
},
290325
"input":{"shape":"UpdateApplicationRequest"},
291326
"output":{"shape":"UpdateApplicationResponse"},
@@ -294,7 +329,8 @@
294329
{"shape":"ThrottlingException"},
295330
{"shape":"ResourceNotFoundException"},
296331
{"shape":"InvalidRequestException"},
297-
{"shape":"AccessDeniedException"}
332+
{"shape":"AccessDeniedException"},
333+
{"shape":"UnsupportedOperationException"}
298334
],
299335
"documentation":"<p>This API is in preview release and subject to change.</p> <p>Updates and persists an Application resource.</p>"
300336
},
@@ -349,6 +385,30 @@
349385
"max":50,
350386
"min":1
351387
},
388+
"ApplicationAssociationSummary":{
389+
"type":"structure",
390+
"members":{
391+
"ApplicationAssociationArn":{
392+
"shape":"Arn",
393+
"documentation":"<p>The Amazon Resource Name (ARN) of the Application Association.</p>"
394+
},
395+
"ApplicationArn":{
396+
"shape":"Arn",
397+
"documentation":"<p>The Amazon Resource Name (ARN) of the Application.</p>"
398+
},
399+
"ClientId":{
400+
"shape":"ClientId",
401+
"documentation":"<p>The identifier for the client that is associated with the Application Association.</p>"
402+
}
403+
},
404+
"documentation":"<p>Summary information about the Application Association.</p>"
405+
},
406+
"ApplicationAssociationsList":{
407+
"type":"list",
408+
"member":{"shape":"ApplicationAssociationSummary"},
409+
"max":50,
410+
"min":1
411+
},
352412
"ApplicationName":{
353413
"type":"string",
354414
"max":255,
@@ -462,11 +522,15 @@
462522
},
463523
"Subscriptions":{
464524
"shape":"SubscriptionList",
465-
"documentation":"<p>The events that the application subscribes.</p>"
525+
"documentation":"<p>The events that the application subscribes.</p>",
526+
"deprecated":true,
527+
"deprecatedMessage":"Subscriptions has been replaced with Permissions"
466528
},
467529
"Publications":{
468530
"shape":"PublicationList",
469-
"documentation":"<p>The events that the application publishes.</p>"
531+
"documentation":"<p>The events that the application publishes.</p>",
532+
"deprecated":true,
533+
"deprecatedMessage":"Publications has been replaced with Permissions"
470534
},
471535
"ClientToken":{
472536
"shape":"IdempotencyToken",
@@ -476,6 +540,10 @@
476540
"Tags":{
477541
"shape":"TagMap",
478542
"documentation":"<p>The tags used to organize, track, or control access for this resource. For example, { \"tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.</p>"
543+
},
544+
"Permissions":{
545+
"shape":"PermissionList",
546+
"documentation":"<p>The configuration of events or requests that the application has access to.</p>"
479547
}
480548
}
481549
},
@@ -680,6 +748,23 @@
680748
"max":50,
681749
"min":1
682750
},
751+
"DeleteApplicationRequest":{
752+
"type":"structure",
753+
"required":["Arn"],
754+
"members":{
755+
"Arn":{
756+
"shape":"ArnOrUUID",
757+
"documentation":"<p>The Amazon Resource Name (ARN) of the Application.</p>",
758+
"location":"uri",
759+
"locationName":"ApplicationIdentifier"
760+
}
761+
}
762+
},
763+
"DeleteApplicationResponse":{
764+
"type":"structure",
765+
"members":{
766+
}
767+
},
683768
"DeleteDataIntegrationRequest":{
684769
"type":"structure",
685770
"required":["DataIntegrationIdentifier"],
@@ -717,7 +802,7 @@
717802
"Description":{
718803
"type":"string",
719804
"max":1000,
720-
"min":1,
805+
"min":0,
721806
"pattern":".*"
722807
},
723808
"DuplicateResourceException":{
@@ -897,7 +982,7 @@
897982
"shape":"ArnOrUUID",
898983
"documentation":"<p>The Amazon Resource Name (ARN) of the Application.</p>",
899984
"location":"uri",
900-
"locationName":"Arn"
985+
"locationName":"ApplicationIdentifier"
901986
}
902987
}
903988
},
@@ -930,11 +1015,15 @@
9301015
},
9311016
"Subscriptions":{
9321017
"shape":"SubscriptionList",
933-
"documentation":"<p>The events that the application subscribes.</p>"
1018+
"documentation":"<p>The events that the application subscribes.</p>",
1019+
"deprecated":true,
1020+
"deprecatedMessage":"Subscriptions has been replaced with Permissions"
9341021
},
9351022
"Publications":{
9361023
"shape":"PublicationList",
937-
"documentation":"<p>The events that the application publishes.</p>"
1024+
"documentation":"<p>The events that the application publishes.</p>",
1025+
"deprecated":true,
1026+
"deprecatedMessage":"Publications has been replaced with Permissions"
9381027
},
9391028
"CreatedTime":{
9401029
"shape":"Timestamp",
@@ -947,6 +1036,10 @@
9471036
"Tags":{
9481037
"shape":"TagMap",
9491038
"documentation":"<p>The tags used to organize, track, or control access for this resource. For example, { \"tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.</p>"
1039+
},
1040+
"Permissions":{
1041+
"shape":"PermissionList",
1042+
"documentation":"<p>The configuration of events or requests that the application has access to.</p>"
9501043
}
9511044
}
9521045
},
@@ -1079,6 +1172,43 @@
10791172
"error":{"httpStatusCode":400},
10801173
"exception":true
10811174
},
1175+
"ListApplicationAssociationsRequest":{
1176+
"type":"structure",
1177+
"required":["ApplicationId"],
1178+
"members":{
1179+
"ApplicationId":{
1180+
"shape":"ArnOrUUID",
1181+
"documentation":"<p>A unique identifier for the Application.</p>",
1182+
"location":"uri",
1183+
"locationName":"ApplicationIdentifier"
1184+
},
1185+
"NextToken":{
1186+
"shape":"NextToken",
1187+
"documentation":"<p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p>",
1188+
"location":"querystring",
1189+
"locationName":"nextToken"
1190+
},
1191+
"MaxResults":{
1192+
"shape":"MaxResults",
1193+
"documentation":"<p>The maximum number of results to return per page.</p>",
1194+
"location":"querystring",
1195+
"locationName":"maxResults"
1196+
}
1197+
}
1198+
},
1199+
"ListApplicationAssociationsResponse":{
1200+
"type":"structure",
1201+
"members":{
1202+
"ApplicationAssociations":{
1203+
"shape":"ApplicationAssociationsList",
1204+
"documentation":"<p>List of Application Associations for the Application.</p>"
1205+
},
1206+
"NextToken":{
1207+
"shape":"NextToken",
1208+
"documentation":"<p>If there are additional results, this is the token for the next set of results.</p>"
1209+
}
1210+
}
1211+
},
10821212
"ListApplicationsRequest":{
10831213
"type":"structure",
10841214
"members":{
@@ -1306,6 +1436,19 @@
13061436
"value":{"shape":"FieldsMap"},
13071437
"documentation":"<p>The configuration for what data should be pulled from the source.</p>"
13081438
},
1439+
"Permission":{
1440+
"type":"string",
1441+
"documentation":"<p>The permission of an event or request that the application has access to.</p>",
1442+
"max":255,
1443+
"min":1,
1444+
"pattern":"^[a-zA-Z0-9\\/\\._\\-\\*]+$"
1445+
},
1446+
"PermissionList":{
1447+
"type":"list",
1448+
"member":{"shape":"Permission"},
1449+
"max":150,
1450+
"min":0
1451+
},
13091452
"Publication":{
13101453
"type":"structure",
13111454
"required":[
@@ -1471,6 +1614,15 @@
14711614
"type":"string",
14721615
"pattern":"[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}"
14731616
},
1617+
"UnsupportedOperationException":{
1618+
"type":"structure",
1619+
"members":{
1620+
"Message":{"shape":"Message"}
1621+
},
1622+
"documentation":"<p>The operation is not supported.</p>",
1623+
"error":{"httpStatusCode":400},
1624+
"exception":true
1625+
},
14741626
"UntagResourceRequest":{
14751627
"type":"structure",
14761628
"required":[
@@ -1505,7 +1657,7 @@
15051657
"shape":"ArnOrUUID",
15061658
"documentation":"<p>The Amazon Resource Name (ARN) of the Application.</p>",
15071659
"location":"uri",
1508-
"locationName":"Arn"
1660+
"locationName":"ApplicationIdentifier"
15091661
},
15101662
"Name":{
15111663
"shape":"ApplicationName",
@@ -1521,11 +1673,19 @@
15211673
},
15221674
"Subscriptions":{
15231675
"shape":"SubscriptionList",
1524-
"documentation":"<p>The events that the application subscribes.</p>"
1676+
"documentation":"<p>The events that the application subscribes.</p>",
1677+
"deprecated":true,
1678+
"deprecatedMessage":"Subscriptions has been replaced with Permissions"
15251679
},
15261680
"Publications":{
15271681
"shape":"PublicationList",
1528-
"documentation":"<p>The events that the application publishes.</p>"
1682+
"documentation":"<p>The events that the application publishes.</p>",
1683+
"deprecated":true,
1684+
"deprecatedMessage":"Publications has been replaced with Permissions"
1685+
},
1686+
"Permissions":{
1687+
"shape":"PermissionList",
1688+
"documentation":"<p>The configuration of events or requests that the application has access to.</p>"
15291689
}
15301690
}
15311691
},

0 commit comments

Comments
 (0)