Skip to content

Commit e5e436f

Browse files
AWS SDK for RubyNobody
authored andcommitted
Updated API models and rebuilt service gems.
1 parent 4d85001 commit e5e436f

35 files changed

+2701
-2041
lines changed

apis/connect/2017-08-08/api-2.json

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,23 @@
303303
{"shape":"ThrottlingException"}
304304
]
305305
},
306+
"CreateParticipant":{
307+
"name":"CreateParticipant",
308+
"http":{
309+
"method":"POST",
310+
"requestUri":"/contact/create-participant"
311+
},
312+
"input":{"shape":"CreateParticipantRequest"},
313+
"output":{"shape":"CreateParticipantResponse"},
314+
"errors":[
315+
{"shape":"InvalidRequestException"},
316+
{"shape":"InvalidParameterException"},
317+
{"shape":"ResourceNotFoundException"},
318+
{"shape":"InternalServiceException"},
319+
{"shape":"ServiceQuotaExceededException"},
320+
{"shape":"ThrottlingException"}
321+
]
322+
},
306323
"CreateQueue":{
307324
"name":"CreateQueue",
308325
"http":{
@@ -3700,6 +3717,30 @@
37003717
"IntegrationAssociationArn":{"shape":"ARN"}
37013718
}
37023719
},
3720+
"CreateParticipantRequest":{
3721+
"type":"structure",
3722+
"required":[
3723+
"InstanceId",
3724+
"ContactId",
3725+
"ParticipantDetails"
3726+
],
3727+
"members":{
3728+
"InstanceId":{"shape":"InstanceId"},
3729+
"ContactId":{"shape":"ContactId"},
3730+
"ClientToken":{
3731+
"shape":"ClientToken",
3732+
"idempotencyToken":true
3733+
},
3734+
"ParticipantDetails":{"shape":"ParticipantDetailsToAdd"}
3735+
}
3736+
},
3737+
"CreateParticipantResponse":{
3738+
"type":"structure",
3739+
"members":{
3740+
"ParticipantCredentials":{"shape":"ParticipantTokenCredentials"},
3741+
"ParticipantId":{"shape":"ParticipantId"}
3742+
}
3743+
},
37033744
"CreateQueueRequest":{
37043745
"type":"structure",
37053746
"required":[
@@ -5788,6 +5829,7 @@
57885829
}
57895830
}
57905831
},
5832+
"ISO8601Datetime":{"type":"string"},
57915833
"IdempotencyException":{
57925834
"type":"structure",
57935835
"members":{
@@ -7332,11 +7374,27 @@
73327374
"DisplayName":{"shape":"DisplayName"}
73337375
}
73347376
},
7377+
"ParticipantDetailsToAdd":{
7378+
"type":"structure",
7379+
"members":{
7380+
"ParticipantRole":{"shape":"ParticipantRole"},
7381+
"DisplayName":{"shape":"DisplayName"}
7382+
}
7383+
},
73357384
"ParticipantId":{
73367385
"type":"string",
73377386
"max":256,
73387387
"min":1
73397388
},
7389+
"ParticipantRole":{
7390+
"type":"string",
7391+
"enum":[
7392+
"AGENT",
7393+
"CUSTOMER",
7394+
"SYSTEM",
7395+
"CUSTOM_BOT"
7396+
]
7397+
},
73407398
"ParticipantTimerAction":{
73417399
"type":"string",
73427400
"enum":["Unset"]
@@ -7385,6 +7443,13 @@
73857443
"max":1000,
73867444
"min":1
73877445
},
7446+
"ParticipantTokenCredentials":{
7447+
"type":"structure",
7448+
"members":{
7449+
"ParticipantToken":{"shape":"ParticipantToken"},
7450+
"Expiry":{"shape":"ISO8601Datetime"}
7451+
}
7452+
},
73887453
"Password":{
73897454
"type":"string",
73907455
"pattern":"/^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)[a-zA-Z\\d\\S]{8,64}$/"

apis/connect/2017-08-08/docs-2.json

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"CreateHoursOfOperation": "<p>This API is in preview release for Amazon Connect and is subject to change.</p> <p>Creates hours of operation. </p>",
2020
"CreateInstance": "<p>This API is in preview release for Amazon Connect and is subject to change.</p> <p>Initiates an Amazon Connect instance with all the supported channels enabled. It does not attach any storage, such as Amazon Simple Storage Service (Amazon S3) or Amazon Kinesis. It also does not allow for any configurations on features, such as Contact Lens for Amazon Connect. </p> <p>Amazon Connect enforces a limit on the total number of instances that you can create or delete in 30 days. If you exceed this limit, you will get an error message indicating there has been an excessive number of attempts at creating or deleting instances. You must wait 30 days before you can restart creating and deleting instances in your account.</p>",
2121
"CreateIntegrationAssociation": "<p>Creates an Amazon Web Services resource association with an Amazon Connect instance.</p>",
22+
"CreateParticipant": "<p>Adds a new participant into an on-going chat contact. For more information, see <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/chat-customize-flow.html\">Customize chat flow experiences by integrating custom participants</a>.</p>",
2223
"CreateQueue": "<p>This API is in preview release for Amazon Connect and is subject to change.</p> <p>Creates a new queue for the specified Amazon Connect instance.</p> <important> <p>If the number being used in the input is claimed to a traffic distribution group, and you are calling this API using an instance in the Amazon Web Services Region where the traffic distribution group was created, you can use either a full phone number ARN or UUID value for the <code>OutboundCallerIdNumberId</code> value of the <a href=\"https://docs.aws.amazon.com/connect/latest/APIReference/API_OutboundCallerConfig\">OutboundCallerConfig</a> request body parameter. However, if the number is claimed to a traffic distribution group and you are calling this API using an instance in the alternate Amazon Web Services Region associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a <code>ResourceNotFoundException</code>.</p> </important>",
2324
"CreateQuickConnect": "<p>Creates a quick connect for the specified Amazon Connect instance.</p>",
2425
"CreateRoutingProfile": "<p>Creates a new routing profile.</p>",
@@ -742,6 +743,7 @@
742743
"ClaimPhoneNumberRequest$ClientToken": "<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see <a href=\"https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/\">Making retries safe with idempotent APIs</a>.</p> <p>Pattern: <code>^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$</code> </p>",
743744
"CreateContactFlowModuleRequest$ClientToken": "<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see <a href=\"https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/\">Making retries safe with idempotent APIs</a>.</p>",
744745
"CreateInstanceRequest$ClientToken": "<p>The idempotency token.</p>",
746+
"CreateParticipantRequest$ClientToken": "<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see <a href=\"https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/\">Making retries safe with idempotent APIs</a>.</p>",
745747
"CreateRuleRequest$ClientToken": "<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see <a href=\"https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/\">Making retries safe with idempotent APIs</a>.</p>",
746748
"CreateTaskTemplateRequest$ClientToken": "<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see <a href=\"https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/\">Making retries safe with idempotent APIs</a>.</p>",
747749
"CreateTrafficDistributionGroupRequest$ClientToken": "<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see <a href=\"https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/\">Making retries safe with idempotent APIs</a>.</p>",
@@ -969,6 +971,7 @@
969971
"Contact$InitialContactId": "<p>If this contact is related to other contacts, this is the ID of the initial contact.</p>",
970972
"Contact$PreviousContactId": "<p>If this contact is not the first contact, this is the ID of the previous contact.</p>",
971973
"Contact$RelatedContactId": "<p>The contactId that is <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html#relatedcontactid\">related</a> to this contact.</p>",
974+
"CreateParticipantRequest$ContactId": "<p>The identifier of the contact in this instance of Amazon Connect. Only contacts in the CHAT channel are supported.</p>",
972975
"DescribeContactRequest$ContactId": "<p>The identifier of the contact.</p>",
973976
"DismissUserContactRequest$ContactId": "<p>The identifier of the contact.</p>",
974977
"GetContactAttributesRequest$InitialContactId": "<p>The identifier of the initial contact.</p>",
@@ -1110,6 +1113,16 @@
11101113
"refs": {
11111114
}
11121115
},
1116+
"CreateParticipantRequest": {
1117+
"base": null,
1118+
"refs": {
1119+
}
1120+
},
1121+
"CreateParticipantResponse": {
1122+
"base": null,
1123+
"refs": {
1124+
}
1125+
},
11131126
"CreateQueueRequest": {
11141127
"base": null,
11151128
"refs": {
@@ -1738,7 +1751,8 @@
17381751
"DisplayName": {
17391752
"base": null,
17401753
"refs": {
1741-
"ParticipantDetails$DisplayName": "<p>Display name of the participant.</p>"
1754+
"ParticipantDetails$DisplayName": "<p>Display name of the participant.</p>",
1755+
"ParticipantDetailsToAdd$DisplayName": "<p>The display name of the participant.</p>"
17421756
}
17431757
},
17441758
"Distribution": {
@@ -2205,6 +2219,12 @@
22052219
"HoursOfOperationConfig$EndTime": "<p>The end time that your contact center closes.</p>"
22062220
}
22072221
},
2222+
"ISO8601Datetime": {
2223+
"base": null,
2224+
"refs": {
2225+
"ParticipantTokenCredentials$Expiry": "<p>The expiration of the token. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.</p>"
2226+
}
2227+
},
22082228
"IdempotencyException": {
22092229
"base": "<p>An entity with the same name already exists.</p>",
22102230
"refs": {
@@ -2265,6 +2285,7 @@
22652285
"CreateHoursOfOperationRequest$InstanceId": "<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>",
22662286
"CreateInstanceResponse$Id": "<p>The identifier for the instance.</p>",
22672287
"CreateIntegrationAssociationRequest$InstanceId": "<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>",
2288+
"CreateParticipantRequest$InstanceId": "<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>",
22682289
"CreateQueueRequest$InstanceId": "<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>",
22692290
"CreateQuickConnectRequest$InstanceId": "<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>",
22702291
"CreateRoutingProfileRequest$InstanceId": "<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>",
@@ -3347,12 +3368,25 @@
33473368
"StartChatContactRequest$ParticipantDetails": "<p>Information identifying the participant.</p>"
33483369
}
33493370
},
3371+
"ParticipantDetailsToAdd": {
3372+
"base": "<p>The details to add for the participant.</p>",
3373+
"refs": {
3374+
"CreateParticipantRequest$ParticipantDetails": "<p>Information identifying the participant.</p> <important> <p>The only Valid value for <code>ParticipantRole</code> is <code>CUSTOM_BOT</code>. </p> <p> <code>DisplayName</code> is <b>Required</b>.</p> </important>"
3375+
}
3376+
},
33503377
"ParticipantId": {
33513378
"base": null,
33523379
"refs": {
3380+
"CreateParticipantResponse$ParticipantId": "<p>The identifier for a chat participant. The participantId for a chat participant is the same throughout the chat lifecycle.</p>",
33533381
"StartChatContactResponse$ParticipantId": "<p>The identifier for a chat participant. The participantId for a chat participant is the same throughout the chat lifecycle.</p>"
33543382
}
33553383
},
3384+
"ParticipantRole": {
3385+
"base": null,
3386+
"refs": {
3387+
"ParticipantDetailsToAdd$ParticipantRole": "<p>The role of the participant being added.</p>"
3388+
}
3389+
},
33563390
"ParticipantTimerAction": {
33573391
"base": null,
33583392
"refs": {
@@ -3392,9 +3426,16 @@
33923426
"ParticipantToken": {
33933427
"base": null,
33943428
"refs": {
3429+
"ParticipantTokenCredentials$ParticipantToken": "<p>The token used by the chat participant to call <a href=\"https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html\">CreateParticipantConnection</a>. The participant token is valid for the lifetime of a chat participant. </p>",
33953430
"StartChatContactResponse$ParticipantToken": "<p>The token used by the chat participant to call <a href=\"https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html\">CreateParticipantConnection</a>. The participant token is valid for the lifetime of a chat participant.</p>"
33963431
}
33973432
},
3433+
"ParticipantTokenCredentials": {
3434+
"base": "<p>The credentials used by the participant.</p>",
3435+
"refs": {
3436+
"CreateParticipantResponse$ParticipantCredentials": "<p>The token used by the chat participant to call <code>CreateParticipantConnection</code>. The participant token is valid for the lifetime of a chat participant.</p>"
3437+
}
3438+
},
33983439
"Password": {
33993440
"base": null,
34003441
"refs": {
@@ -4565,7 +4606,7 @@
45654606
"refs": {
45664607
"HierarchyGroupCondition$Value": "<p>The value in the hierarchy group condition.</p>",
45674608
"InstanceStatusReason$Message": "<p>The message.</p>",
4568-
"MetricFilterV2$MetricFilterKey": "<p>The key to use for filtering data. </p> <p>Valid metric filter keys: <code>INITIATION_METHOD</code>, <code>DISCONNECT_REASON</code> </p>",
4609+
"MetricFilterV2$MetricFilterKey": "<p>The key to use for filtering data. </p> <p>Valid metric filter keys: <code>INITIATION_METHOD</code>, <code>DISCONNECT_REASON</code>. These are the same values as the <code>InitiationMethod</code> and <code>DisconnectReason</code> in the contact record. For more information, see <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/ctr-data-model.html#ctr-ContactTraceRecord\">ContactTraceRecord</a> in the <i>Amazon Connect Administrator's Guide</i>. </p>",
45694610
"MetricFilterValueList$member": null,
45704611
"PropertyValidationExceptionProperty$PropertyPath": "<p>The full property path.</p>",
45714612
"StringCondition$FieldName": "<p>The name of the field in the string condition.</p>",

0 commit comments

Comments
 (0)