Skip to content

Commit ed07b8e

Browse files
author
AWS
committed
Amazon Connect Service Update: Added DeleteContactFlowVersion API and the CAMPAIGN flow type
1 parent a4abc6e commit ed07b8e

File tree

2 files changed

+68
-6
lines changed

2 files changed

+68
-6
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 Connect Service",
4+
"contributor": "",
5+
"description": "Added DeleteContactFlowVersion API and the CAMPAIGN flow type"
6+
}

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

Lines changed: 62 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@
275275
{"shape":"ThrottlingException"},
276276
{"shape":"InternalServiceException"}
277277
],
278-
"documentation":"<p>&gt;Associates a set of proficiencies with a user.</p>"
278+
"documentation":"<p>Associates a set of proficiencies with a user.</p>"
279279
},
280280
"BatchAssociateAnalyticsDataSet":{
281281
"name":"BatchAssociateAnalyticsDataSet",
@@ -499,7 +499,7 @@
499499
{"shape":"InvalidRequestException"},
500500
{"shape":"ThrottlingException"}
501501
],
502-
"documentation":"<p>Publishes a new version of the flow provided. Versions are immutable and monotonically increasing. If a version of the same flow content already exists, no new version is created and instead the existing version number is returned. If the <code>FlowContentSha256</code> provided is different from the <code>FlowContentSha256</code> of the <code>$LATEST</code> published flow content, then an error is returned. This API only supports creating versions for flows of type <code>Campaign</code>.</p>"
502+
"documentation":"<p>Publishes a new version of the flow provided. Versions are immutable and monotonically increasing. If the <code>FlowContentSha256</code> provided is different from the <code>FlowContentSha256</code> of the <code>$LATEST</code> published flow content, then an error is returned. This API only supports creating versions for flows of type <code>Campaign</code>.</p>"
503503
},
504504
"CreateEmailAddress":{
505505
"name":"CreateEmailAddress",
@@ -1040,6 +1040,24 @@
10401040
],
10411041
"documentation":"<p>Deletes the specified flow module.</p>"
10421042
},
1043+
"DeleteContactFlowVersion":{
1044+
"name":"DeleteContactFlowVersion",
1045+
"http":{
1046+
"method":"DELETE",
1047+
"requestUri":"/contact-flows/{InstanceId}/{ContactFlowId}/version/{ContactFlowVersion}"
1048+
},
1049+
"input":{"shape":"DeleteContactFlowVersionRequest"},
1050+
"output":{"shape":"DeleteContactFlowVersionResponse"},
1051+
"errors":[
1052+
{"shape":"AccessDeniedException"},
1053+
{"shape":"InternalServiceException"},
1054+
{"shape":"ResourceNotFoundException"},
1055+
{"shape":"InvalidParameterException"},
1056+
{"shape":"InvalidRequestException"},
1057+
{"shape":"ThrottlingException"}
1058+
],
1059+
"documentation":"<p>Deletes the particular version specified in flow version identifier.</p>"
1060+
},
10431061
"DeleteEmailAddress":{
10441062
"name":"DeleteEmailAddress",
10451063
"http":{
@@ -1203,7 +1221,7 @@
12031221
{"shape":"ThrottlingException"},
12041222
{"shape":"InternalServiceException"}
12051223
],
1206-
"documentation":"<p>Deletes a queue. It isn't possible to delete a queue by using the Amazon Connect admin website.</p>"
1224+
"documentation":"<p>Deletes a queue.</p>"
12071225
},
12081226
"DeleteQuickConnect":{
12091227
"name":"DeleteQuickConnect",
@@ -1493,7 +1511,7 @@
14931511
{"shape":"ThrottlingException"},
14941512
{"shape":"InternalServiceException"}
14951513
],
1496-
"documentation":"<p>Describes the specified flow.</p> <p>You can also create and update flows using the <a href=\"https://docs.aws.amazon.com/connect/latest/APIReference/flow-language.html\">Amazon Connect Flow language</a>.</p> <p>Use the <code>$SAVED</code> alias in the request to describe the <code>SAVED</code> content of a Flow. For example, <code>arn:aws:.../contact-flow/{id}:$SAVED</code>. After a flow is published, <code>$SAVED</code> needs to be supplied to view saved content that has not been published.</p> <p>In the response, <b>Status</b> indicates the flow status as either <code>SAVED</code> or <code>PUBLISHED</code>. The <code>PUBLISHED</code> status will initiate validation on the content. <code>SAVED</code> does not initiate validation of the content. <code>SAVED</code> | <code>PUBLISHED</code> </p>"
1514+
"documentation":"<p>Describes the specified flow.</p> <p>You can also create and update flows using the <a href=\"https://docs.aws.amazon.com/connect/latest/APIReference/flow-language.html\">Amazon Connect Flow language</a>.</p> <p>Use the <code>$SAVED</code> alias in the request to describe the <code>SAVED</code> content of a Flow. For example, <code>arn:aws:.../contact-flow/{id}:$SAVED</code>. After a flow is published, <code>$SAVED</code> needs to be supplied to view saved content that has not been published.</p> <p>Use <code>arn:aws:.../contact-flow/{id}:{version}</code> to retrieve the content of a specific flow version.</p> <p>In the response, <b>Status</b> indicates the flow status as either <code>SAVED</code> or <code>PUBLISHED</code>. The <code>PUBLISHED</code> status will initiate validation on the content. <code>SAVED</code> does not initiate validation of the content. <code>SAVED</code> | <code>PUBLISHED</code> </p>"
14971515
},
14981516
"DescribeContactFlowModule":{
14991517
"name":"DescribeContactFlowModule",
@@ -7381,7 +7399,8 @@
73817399
"AGENT_WHISPER",
73827400
"OUTBOUND_WHISPER",
73837401
"AGENT_TRANSFER",
7384-
"QUEUE_TRANSFER"
7402+
"QUEUE_TRANSFER",
7403+
"CAMPAIGN"
73857404
]
73867405
},
73877406
"ContactFlowTypes":{
@@ -7832,7 +7851,7 @@
78327851
},
78337852
"FlowContentSha256":{
78347853
"shape":"FlowContentSha256",
7835-
"documentation":"<p>Indicates the checksum value of the flow content.</p>"
7854+
"documentation":"<p>Indicates the checksum value of the latest published flow content.</p>"
78367855
}
78377856
}
78387857
},
@@ -7863,6 +7882,10 @@
78637882
"shape":"FlowContentSha256",
78647883
"documentation":"<p>Indicates the checksum value of the flow content.</p>"
78657884
},
7885+
"ContactFlowVersion":{
7886+
"shape":"ResourceVersion",
7887+
"documentation":"<p>The identifier of the flow version.</p>"
7888+
},
78667889
"LastModifiedTime":{
78677890
"shape":"Timestamp",
78687891
"documentation":"<p>The Amazon Web Services Region where this resource was last modified.</p>"
@@ -9617,6 +9640,39 @@
96179640
"members":{
96189641
}
96199642
},
9643+
"DeleteContactFlowVersionRequest":{
9644+
"type":"structure",
9645+
"required":[
9646+
"InstanceId",
9647+
"ContactFlowId",
9648+
"ContactFlowVersion"
9649+
],
9650+
"members":{
9651+
"InstanceId":{
9652+
"shape":"InstanceId",
9653+
"documentation":"<p>The identifier of the Amazon Connect instance. You can <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html\">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>",
9654+
"location":"uri",
9655+
"locationName":"InstanceId"
9656+
},
9657+
"ContactFlowId":{
9658+
"shape":"ARN",
9659+
"documentation":"<p>The identifier of the flow.</p>",
9660+
"location":"uri",
9661+
"locationName":"ContactFlowId"
9662+
},
9663+
"ContactFlowVersion":{
9664+
"shape":"ResourceVersion",
9665+
"documentation":"<p>The identifier of the flow version.</p>",
9666+
"location":"uri",
9667+
"locationName":"ContactFlowVersion"
9668+
}
9669+
}
9670+
},
9671+
"DeleteContactFlowVersionResponse":{
9672+
"type":"structure",
9673+
"members":{
9674+
}
9675+
},
96209676
"DeleteEmailAddressRequest":{
96219677
"type":"structure",
96229678
"required":[

0 commit comments

Comments
 (0)