|
320 | 320 | ],
|
321 | 321 | "documentation":"<p>Creates an Amazon Web Services resource association with an Amazon Connect instance.</p>"
|
322 | 322 | },
|
| 323 | + "CreateParticipant":{ |
| 324 | + "name":"CreateParticipant", |
| 325 | + "http":{ |
| 326 | + "method":"POST", |
| 327 | + "requestUri":"/contact/create-participant" |
| 328 | + }, |
| 329 | + "input":{"shape":"CreateParticipantRequest"}, |
| 330 | + "output":{"shape":"CreateParticipantResponse"}, |
| 331 | + "errors":[ |
| 332 | + {"shape":"InvalidRequestException"}, |
| 333 | + {"shape":"InvalidParameterException"}, |
| 334 | + {"shape":"ResourceNotFoundException"}, |
| 335 | + {"shape":"InternalServiceException"}, |
| 336 | + {"shape":"ServiceQuotaExceededException"}, |
| 337 | + {"shape":"ThrottlingException"} |
| 338 | + ], |
| 339 | + "documentation":"<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>" |
| 340 | + }, |
323 | 341 | "CreateQueue":{
|
324 | 342 | "name":"CreateQueue",
|
325 | 343 | "http":{
|
|
4381 | 4399 | }
|
4382 | 4400 | }
|
4383 | 4401 | },
|
| 4402 | + "CreateParticipantRequest":{ |
| 4403 | + "type":"structure", |
| 4404 | + "required":[ |
| 4405 | + "InstanceId", |
| 4406 | + "ContactId", |
| 4407 | + "ParticipantDetails" |
| 4408 | + ], |
| 4409 | + "members":{ |
| 4410 | + "InstanceId":{ |
| 4411 | + "shape":"InstanceId", |
| 4412 | + "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>" |
| 4413 | + }, |
| 4414 | + "ContactId":{ |
| 4415 | + "shape":"ContactId", |
| 4416 | + "documentation":"<p>The identifier of the contact in this instance of Amazon Connect. Only contacts in the CHAT channel are supported.</p>" |
| 4417 | + }, |
| 4418 | + "ClientToken":{ |
| 4419 | + "shape":"ClientToken", |
| 4420 | + "documentation":"<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>", |
| 4421 | + "idempotencyToken":true |
| 4422 | + }, |
| 4423 | + "ParticipantDetails":{ |
| 4424 | + "shape":"ParticipantDetailsToAdd", |
| 4425 | + "documentation":"<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>" |
| 4426 | + } |
| 4427 | + } |
| 4428 | + }, |
| 4429 | + "CreateParticipantResponse":{ |
| 4430 | + "type":"structure", |
| 4431 | + "members":{ |
| 4432 | + "ParticipantCredentials":{ |
| 4433 | + "shape":"ParticipantTokenCredentials", |
| 4434 | + "documentation":"<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>" |
| 4435 | + }, |
| 4436 | + "ParticipantId":{ |
| 4437 | + "shape":"ParticipantId", |
| 4438 | + "documentation":"<p>The identifier for a chat participant. The participantId for a chat participant is the same throughout the chat lifecycle.</p>" |
| 4439 | + } |
| 4440 | + } |
| 4441 | + }, |
4384 | 4442 | "CreateQueueRequest":{
|
4385 | 4443 | "type":"structure",
|
4386 | 4444 | "required":[
|
|
7358 | 7416 | },
|
7359 | 7417 | "documentation":"<p>The start time or end time for an hours of operation.</p>"
|
7360 | 7418 | },
|
| 7419 | + "ISO8601Datetime":{"type":"string"}, |
7361 | 7420 | "IdempotencyException":{
|
7362 | 7421 | "type":"structure",
|
7363 | 7422 | "members":{
|
|
9269 | 9328 | "members":{
|
9270 | 9329 | "MetricFilterKey":{
|
9271 | 9330 | "shape":"String",
|
9272 |
| - "documentation":"<p>The key to use for filtering data. </p> <p>Valid metric filter keys: <code>INITIATION_METHOD</code>, <code>DISCONNECT_REASON</code> </p>" |
| 9331 | + "documentation":"<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>" |
9273 | 9332 | },
|
9274 | 9333 | "MetricFilterValues":{
|
9275 | 9334 | "shape":"MetricFilterValueList",
|
|
9499 | 9558 | },
|
9500 | 9559 | "documentation":"<p>The customer's details.</p>"
|
9501 | 9560 | },
|
| 9561 | + "ParticipantDetailsToAdd":{ |
| 9562 | + "type":"structure", |
| 9563 | + "members":{ |
| 9564 | + "ParticipantRole":{ |
| 9565 | + "shape":"ParticipantRole", |
| 9566 | + "documentation":"<p>The role of the participant being added.</p>" |
| 9567 | + }, |
| 9568 | + "DisplayName":{ |
| 9569 | + "shape":"DisplayName", |
| 9570 | + "documentation":"<p>The display name of the participant.</p>" |
| 9571 | + } |
| 9572 | + }, |
| 9573 | + "documentation":"<p>The details to add for the participant.</p>" |
| 9574 | + }, |
9502 | 9575 | "ParticipantId":{
|
9503 | 9576 | "type":"string",
|
9504 | 9577 | "max":256,
|
9505 | 9578 | "min":1
|
9506 | 9579 | },
|
| 9580 | + "ParticipantRole":{ |
| 9581 | + "type":"string", |
| 9582 | + "enum":[ |
| 9583 | + "AGENT", |
| 9584 | + "CUSTOMER", |
| 9585 | + "SYSTEM", |
| 9586 | + "CUSTOM_BOT" |
| 9587 | + ] |
| 9588 | + }, |
9507 | 9589 | "ParticipantTimerAction":{
|
9508 | 9590 | "type":"string",
|
9509 | 9591 | "enum":["Unset"]
|
|
9569 | 9651 | "max":1000,
|
9570 | 9652 | "min":1
|
9571 | 9653 | },
|
| 9654 | + "ParticipantTokenCredentials":{ |
| 9655 | + "type":"structure", |
| 9656 | + "members":{ |
| 9657 | + "ParticipantToken":{ |
| 9658 | + "shape":"ParticipantToken", |
| 9659 | + "documentation":"<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>" |
| 9660 | + }, |
| 9661 | + "Expiry":{ |
| 9662 | + "shape":"ISO8601Datetime", |
| 9663 | + "documentation":"<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>" |
| 9664 | + } |
| 9665 | + }, |
| 9666 | + "documentation":"<p>The credentials used by the participant.</p>" |
| 9667 | + }, |
9572 | 9668 | "Password":{
|
9573 | 9669 | "type":"string",
|
9574 | 9670 | "pattern":"/^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)[a-zA-Z\\d\\S]{8,64}$/"
|
|
0 commit comments