From 3974dd034387fbc7cf09c8cd2400787ce07f3285 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Fri, 29 Jan 2021 11:18:40 -0800 Subject: [PATCH] Release v1.37.1 (2021-01-29) (#3766) Release v1.37.1 (2021-01-29) === ### Service Client Updates * `service/connect`: Updates service API, documentation, and paginators * `service/macie2`: Updates service API and documentation * `service/medialive`: Updates service API and documentation * "AWS Elemental MediaLive now supports output to a private VPC. When this property is specified, the output will egress from a user specified VPC." * `service/transcribe-streaming`: Updates service API and documentation ### SDK Bugs * `service/lexmodelsv2`: Add fix to send expected Content-Type header * Fixes the Amazon Lex Model Builder V2 API client to send the expected Content-Type of application/x-amz-json-1.1. --- CHANGELOG.md | 14 + CHANGELOG_PENDING.md | 2 - aws/endpoints/defaults.go | 12 + aws/version.go | 2 +- models/apis/connect/2017-08-08/api-2.json | 560 +- models/apis/connect/2017-08-08/docs-2.json | 371 +- .../apis/connect/2017-08-08/paginators-1.json | 6 + models/apis/macie2/2020-01-01/api-2.json | 12 +- models/apis/macie2/2020-01-01/docs-2.json | 8 +- models/apis/medialive/2017-10-14/api-2.json | 52 + models/apis/medialive/2017-10-14/docs-2.json | 13 +- .../2017-10-26/api-2.json | 31 +- .../2017-10-26/docs-2.json | 28 +- models/endpoints/endpoints.json | 10 + service/connect/api.go | 8538 +++++++++++------ service/connect/connectiface/interface.go | 47 + service/connect/doc.go | 22 +- service/connect/errors.go | 2 +- service/macie2/api.go | 73 +- service/medialive/api.go | 136 + service/transcribestreamingservice/api.go | 107 + .../eventstream_test.go | 207 + 22 files changed, 7142 insertions(+), 3111 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c798953f1cc..a9a7a67f0de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +Release v1.37.1 (2021-01-29) +=== + +### Service Client Updates +* `service/connect`: Updates service API, documentation, and paginators +* `service/macie2`: Updates service API and documentation +* `service/medialive`: Updates service API and documentation + * "AWS Elemental MediaLive now supports output to a private VPC. When this property is specified, the output will egress from a user specified VPC." +* `service/transcribe-streaming`: Updates service API and documentation + +### SDK Bugs +* `service/lexmodelsv2`: Add fix to send expected Content-Type header + * Fixes the Amazon Lex Model Builder V2 API client to send the expected Content-Type of application/x-amz-json-1.1. + Release v1.37.0 (2021-01-28) === diff --git a/CHANGELOG_PENDING.md b/CHANGELOG_PENDING.md index d9270e44081..8a1927a39ca 100644 --- a/CHANGELOG_PENDING.md +++ b/CHANGELOG_PENDING.md @@ -3,5 +3,3 @@ ### SDK Enhancements ### SDK Bugs -* `service/lexmodelsv2`: Add fix to send expected Content-Type header - * Fixes the Amazon Lex Model Builder V2 API client to send the expected Content-Type of application/x-amz-json-1.1. diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 3cc48800d6d..53098d6f7da 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -9892,6 +9892,18 @@ var awsisoPartition = partition{ "us-iso-east-1": endpoint{}, }, }, + "medialive": service{ + + Endpoints: endpoints{ + "us-iso-east-1": endpoint{}, + }, + }, + "mediapackage": service{ + + Endpoints: endpoints{ + "us-iso-east-1": endpoint{}, + }, + }, "monitoring": service{ Endpoints: endpoints{ diff --git a/aws/version.go b/aws/version.go index cf26997eb29..9514f518930 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.37.0" +const SDKVersion = "1.37.1" diff --git a/models/apis/connect/2017-08-08/api-2.json b/models/apis/connect/2017-08-08/api-2.json index 65c937df807..a5432537bd6 100644 --- a/models/apis/connect/2017-08-08/api-2.json +++ b/models/apis/connect/2017-08-08/api-2.json @@ -81,6 +81,22 @@ {"shape":"ThrottlingException"} ] }, + "AssociateQueueQuickConnects":{ + "name":"AssociateQueueQuickConnects", + "http":{ + "method":"POST", + "requestUri":"/queues/{InstanceId}/{QueueId}/associate-quick-connects" + }, + "input":{"shape":"AssociateQueueQuickConnectsRequest"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"LimitExceededException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceException"} + ] + }, "AssociateRoutingProfileQueues":{ "name":"AssociateRoutingProfileQueues", "http":{ @@ -165,6 +181,24 @@ {"shape":"ThrottlingException"} ] }, + "CreateQueue":{ + "name":"CreateQueue", + "http":{ + "method":"PUT", + "requestUri":"/queues/{InstanceId}" + }, + "input":{"shape":"CreateQueueRequest"}, + "output":{"shape":"CreateQueueResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InvalidParameterException"}, + {"shape":"DuplicateResourceException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"LimitExceededException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceException"} + ] + }, "CreateQuickConnect":{ "name":"CreateQuickConnect", "http":{ @@ -357,6 +391,22 @@ {"shape":"InternalServiceException"} ] }, + "DescribeHoursOfOperation":{ + "name":"DescribeHoursOfOperation", + "http":{ + "method":"GET", + "requestUri":"/hours-of-operations/{InstanceId}/{HoursOfOperationId}" + }, + "input":{"shape":"DescribeHoursOfOperationRequest"}, + "output":{"shape":"DescribeHoursOfOperationResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceException"} + ] + }, "DescribeInstance":{ "name":"DescribeInstance", "http":{ @@ -403,6 +453,22 @@ {"shape":"ThrottlingException"} ] }, + "DescribeQueue":{ + "name":"DescribeQueue", + "http":{ + "method":"GET", + "requestUri":"/queues/{InstanceId}/{QueueId}" + }, + "input":{"shape":"DescribeQueueRequest"}, + "output":{"shape":"DescribeQueueResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceException"} + ] + }, "DescribeQuickConnect":{ "name":"DescribeQuickConnect", "http":{ @@ -543,6 +609,21 @@ {"shape":"ThrottlingException"} ] }, + "DisassociateQueueQuickConnects":{ + "name":"DisassociateQueueQuickConnects", + "http":{ + "method":"POST", + "requestUri":"/queues/{InstanceId}/{QueueId}/disassociate-quick-connects" + }, + "input":{"shape":"DisassociateQueueQuickConnectsRequest"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceException"} + ] + }, "DisassociateRoutingProfileQueues":{ "name":"DisassociateRoutingProfileQueues", "http":{ @@ -808,6 +889,22 @@ {"shape":"InternalServiceException"} ] }, + "ListQueueQuickConnects":{ + "name":"ListQueueQuickConnects", + "http":{ + "method":"GET", + "requestUri":"/queues/{InstanceId}/{QueueId}/quick-connects" + }, + "input":{"shape":"ListQueueQuickConnectsRequest"}, + "output":{"shape":"ListQueueQuickConnectsResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceException"} + ] + }, "ListQueues":{ "name":"ListQueues", "http":{ @@ -1198,6 +1295,82 @@ {"shape":"ThrottlingException"} ] }, + "UpdateQueueHoursOfOperation":{ + "name":"UpdateQueueHoursOfOperation", + "http":{ + "method":"POST", + "requestUri":"/queues/{InstanceId}/{QueueId}/hours-of-operation" + }, + "input":{"shape":"UpdateQueueHoursOfOperationRequest"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceException"} + ] + }, + "UpdateQueueMaxContacts":{ + "name":"UpdateQueueMaxContacts", + "http":{ + "method":"POST", + "requestUri":"/queues/{InstanceId}/{QueueId}/max-contacts" + }, + "input":{"shape":"UpdateQueueMaxContactsRequest"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceException"} + ] + }, + "UpdateQueueName":{ + "name":"UpdateQueueName", + "http":{ + "method":"POST", + "requestUri":"/queues/{InstanceId}/{QueueId}/name" + }, + "input":{"shape":"UpdateQueueNameRequest"}, + "errors":[ + {"shape":"DuplicateResourceException"}, + {"shape":"InvalidRequestException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceException"} + ] + }, + "UpdateQueueOutboundCallerConfig":{ + "name":"UpdateQueueOutboundCallerConfig", + "http":{ + "method":"POST", + "requestUri":"/queues/{InstanceId}/{QueueId}/outbound-caller-config" + }, + "input":{"shape":"UpdateQueueOutboundCallerConfigRequest"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceException"} + ] + }, + "UpdateQueueStatus":{ + "name":"UpdateQueueStatus", + "http":{ + "method":"POST", + "requestUri":"/queues/{InstanceId}/{QueueId}/status" + }, + "input":{"shape":"UpdateQueueStatusRequest"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceException"} + ] + }, "UpdateQuickConnectConfig":{ "name":"UpdateQuickConnectConfig", "http":{ @@ -1486,6 +1659,27 @@ "LexBot":{"shape":"LexBot"} } }, + "AssociateQueueQuickConnectsRequest":{ + "type":"structure", + "required":[ + "InstanceId", + "QueueId", + "QuickConnectIds" + ], + "members":{ + "InstanceId":{ + "shape":"InstanceId", + "location":"uri", + "locationName":"InstanceId" + }, + "QueueId":{ + "shape":"QueueId", + "location":"uri", + "locationName":"QueueId" + }, + "QuickConnectIds":{"shape":"QuickConnectsList"} + } + }, "AssociateRoutingProfileQueuesRequest":{ "type":"structure", "required":[ @@ -1580,7 +1774,7 @@ "Channels":{ "type":"list", "member":{"shape":"Channel"}, - "max":3 + "max":1 }, "ChatContent":{ "type":"string", @@ -1607,6 +1801,16 @@ "type":"string", "max":500 }, + "CommonDescriptionLength250":{ + "type":"string", + "max":250, + "min":0 + }, + "CommonNameLength127":{ + "type":"string", + "max":127, + "min":1 + }, "Comparison":{ "type":"string", "enum":["LT"] @@ -1777,6 +1981,38 @@ "IntegrationAssociationArn":{"shape":"ARN"} } }, + "CreateQueueRequest":{ + "type":"structure", + "required":[ + "InstanceId", + "Name", + "HoursOfOperationId" + ], + "members":{ + "InstanceId":{ + "shape":"InstanceId", + "location":"uri", + "locationName":"InstanceId" + }, + "Name":{"shape":"CommonNameLength127"}, + "Description":{"shape":"QueueDescription"}, + "OutboundCallerConfig":{"shape":"OutboundCallerConfig"}, + "HoursOfOperationId":{"shape":"HoursOfOperationId"}, + "MaxContacts":{ + "shape":"QueueMaxContacts", + "box":true + }, + "QuickConnectIds":{"shape":"QuickConnectsList"}, + "Tags":{"shape":"TagMap"} + } + }, + "CreateQueueResponse":{ + "type":"structure", + "members":{ + "QueueArn":{"shape":"ARN"}, + "QueueId":{"shape":"QueueId"} + } + }, "CreateQuickConnectRequest":{ "type":"structure", "required":[ @@ -2122,6 +2358,31 @@ "ContactFlow":{"shape":"ContactFlow"} } }, + "DescribeHoursOfOperationRequest":{ + "type":"structure", + "required":[ + "InstanceId", + "HoursOfOperationId" + ], + "members":{ + "InstanceId":{ + "shape":"InstanceId", + "location":"uri", + "locationName":"InstanceId" + }, + "HoursOfOperationId":{ + "shape":"HoursOfOperationId", + "location":"uri", + "locationName":"HoursOfOperationId" + } + } + }, + "DescribeHoursOfOperationResponse":{ + "type":"structure", + "members":{ + "HoursOfOperation":{"shape":"HoursOfOperation"} + } + }, "DescribeInstanceAttributeRequest":{ "type":"structure", "required":[ @@ -2195,6 +2456,31 @@ "StorageConfig":{"shape":"InstanceStorageConfig"} } }, + "DescribeQueueRequest":{ + "type":"structure", + "required":[ + "InstanceId", + "QueueId" + ], + "members":{ + "InstanceId":{ + "shape":"InstanceId", + "location":"uri", + "locationName":"InstanceId" + }, + "QueueId":{ + "shape":"QueueId", + "location":"uri", + "locationName":"QueueId" + } + } + }, + "DescribeQueueResponse":{ + "type":"structure", + "members":{ + "Queue":{"shape":"Queue"} + } + }, "DescribeQuickConnectRequest":{ "type":"structure", "required":[ @@ -2442,6 +2728,27 @@ } } }, + "DisassociateQueueQuickConnectsRequest":{ + "type":"structure", + "required":[ + "InstanceId", + "QueueId", + "QuickConnectIds" + ], + "members":{ + "InstanceId":{ + "shape":"InstanceId", + "location":"uri", + "locationName":"InstanceId" + }, + "QueueId":{ + "shape":"QueueId", + "location":"uri", + "locationName":"QueueId" + }, + "QuickConnectIds":{"shape":"QuickConnectsList"} + } + }, "DisassociateRoutingProfileQueuesRequest":{ "type":"structure", "required":[ @@ -2793,6 +3100,47 @@ "max":87600, "min":0 }, + "Hours24Format":{ + "type":"integer", + "max":23, + "min":0 + }, + "HoursOfOperation":{ + "type":"structure", + "members":{ + "HoursOfOperationId":{"shape":"HoursOfOperationId"}, + "HoursOfOperationArn":{"shape":"ARN"}, + "Name":{"shape":"CommonNameLength127"}, + "Description":{"shape":"CommonDescriptionLength250"}, + "TimeZone":{"shape":"TimeZone"}, + "Config":{"shape":"HoursOfOperationConfigList"}, + "Tags":{"shape":"TagMap"} + } + }, + "HoursOfOperationConfig":{ + "type":"structure", + "members":{ + "Day":{"shape":"HoursOfOperationDays"}, + "StartTime":{"shape":"HoursOfOperationTimeSlice"}, + "EndTime":{"shape":"HoursOfOperationTimeSlice"} + } + }, + "HoursOfOperationConfigList":{ + "type":"list", + "member":{"shape":"HoursOfOperationConfig"} + }, + "HoursOfOperationDays":{ + "type":"string", + "enum":[ + "SUNDAY", + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY" + ] + }, "HoursOfOperationId":{"type":"string"}, "HoursOfOperationName":{"type":"string"}, "HoursOfOperationSummary":{ @@ -2807,6 +3155,13 @@ "type":"list", "member":{"shape":"HoursOfOperationSummary"} }, + "HoursOfOperationTimeSlice":{ + "type":"structure", + "members":{ + "Hours":{"shape":"Hours24Format"}, + "Minutes":{"shape":"MinutesLimit60"} + } + }, "InboundCallsEnabled":{"type":"boolean"}, "Instance":{ "type":"structure", @@ -3350,6 +3705,43 @@ "NextToken":{"shape":"NextToken"} } }, + "ListQueueQuickConnectsRequest":{ + "type":"structure", + "required":[ + "InstanceId", + "QueueId" + ], + "members":{ + "InstanceId":{ + "shape":"InstanceId", + "location":"uri", + "locationName":"InstanceId" + }, + "QueueId":{ + "shape":"QueueId", + "location":"uri", + "locationName":"QueueId" + }, + "NextToken":{ + "shape":"NextToken", + "location":"querystring", + "locationName":"nextToken" + }, + "MaxResults":{ + "shape":"MaxResult100", + "box":true, + "location":"querystring", + "locationName":"maxResults" + } + } + }, + "ListQueueQuickConnectsResponse":{ + "type":"structure", + "members":{ + "NextToken":{"shape":"NextToken"}, + "QuickConnectSummaryList":{"shape":"QuickConnectSummaryList"} + } + }, "ListQueuesRequest":{ "type":"structure", "required":["InstanceId"], @@ -3699,6 +4091,11 @@ } }, "Message":{"type":"string"}, + "MinutesLimit60":{ + "type":"integer", + "max":59, + "min":0 + }, "Name":{ "type":"string", "max":512, @@ -3713,6 +4110,19 @@ "type":"list", "member":{"shape":"Origin"} }, + "OutboundCallerConfig":{ + "type":"structure", + "members":{ + "OutboundCallerIdName":{"shape":"OutboundCallerIdName"}, + "OutboundCallerIdNumberId":{"shape":"PhoneNumberId"}, + "OutboundFlowId":{"shape":"ContactFlowId"} + } + }, + "OutboundCallerIdName":{ + "type":"string", + "max":255, + "min":1 + }, "OutboundCallsEnabled":{"type":"boolean"}, "OutboundContactNotPermittedException":{ "type":"structure", @@ -4086,7 +4496,33 @@ "type":"list", "member":{"shape":"PromptSummary"} }, + "Queue":{ + "type":"structure", + "members":{ + "Name":{"shape":"CommonNameLength127"}, + "QueueArn":{"shape":"ARN"}, + "QueueId":{"shape":"QueueId"}, + "Description":{"shape":"QueueDescription"}, + "OutboundCallerConfig":{"shape":"OutboundCallerConfig"}, + "HoursOfOperationId":{"shape":"HoursOfOperationId"}, + "MaxContacts":{ + "shape":"QueueMaxContacts", + "box":true + }, + "Status":{"shape":"QueueStatus"}, + "Tags":{"shape":"TagMap"} + } + }, + "QueueDescription":{ + "type":"string", + "max":250, + "min":1 + }, "QueueId":{"type":"string"}, + "QueueMaxContacts":{ + "type":"integer", + "min":0 + }, "QueueName":{ "type":"string", "max":256, @@ -4110,6 +4546,13 @@ "Arn":{"shape":"ARN"} } }, + "QueueStatus":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLED" + ] + }, "QueueSummary":{ "type":"structure", "members":{ @@ -4199,6 +4642,12 @@ "member":{"shape":"QuickConnectType"}, "max":3 }, + "QuickConnectsList":{ + "type":"list", + "member":{"shape":"QuickConnectId"}, + "max":50, + "min":1 + }, "Reference":{ "type":"structure", "required":[ @@ -4675,6 +5124,7 @@ "error":{"httpStatusCode":429}, "exception":true }, + "TimeZone":{"type":"string"}, "Timestamp":{"type":"timestamp"}, "URI":{ "type":"string", @@ -4816,6 +5266,114 @@ "StorageConfig":{"shape":"InstanceStorageConfig"} } }, + "UpdateQueueHoursOfOperationRequest":{ + "type":"structure", + "required":[ + "InstanceId", + "QueueId", + "HoursOfOperationId" + ], + "members":{ + "InstanceId":{ + "shape":"InstanceId", + "location":"uri", + "locationName":"InstanceId" + }, + "QueueId":{ + "shape":"QueueId", + "location":"uri", + "locationName":"QueueId" + }, + "HoursOfOperationId":{"shape":"HoursOfOperationId"} + } + }, + "UpdateQueueMaxContactsRequest":{ + "type":"structure", + "required":[ + "InstanceId", + "QueueId", + "MaxContacts" + ], + "members":{ + "InstanceId":{ + "shape":"InstanceId", + "location":"uri", + "locationName":"InstanceId" + }, + "QueueId":{ + "shape":"QueueId", + "location":"uri", + "locationName":"QueueId" + }, + "MaxContacts":{ + "shape":"QueueMaxContacts", + "box":true + } + } + }, + "UpdateQueueNameRequest":{ + "type":"structure", + "required":[ + "InstanceId", + "QueueId" + ], + "members":{ + "InstanceId":{ + "shape":"InstanceId", + "location":"uri", + "locationName":"InstanceId" + }, + "QueueId":{ + "shape":"QueueId", + "location":"uri", + "locationName":"QueueId" + }, + "Name":{"shape":"CommonNameLength127"}, + "Description":{"shape":"QueueDescription"} + } + }, + "UpdateQueueOutboundCallerConfigRequest":{ + "type":"structure", + "required":[ + "InstanceId", + "QueueId", + "OutboundCallerConfig" + ], + "members":{ + "InstanceId":{ + "shape":"InstanceId", + "location":"uri", + "locationName":"InstanceId" + }, + "QueueId":{ + "shape":"QueueId", + "location":"uri", + "locationName":"QueueId" + }, + "OutboundCallerConfig":{"shape":"OutboundCallerConfig"} + } + }, + "UpdateQueueStatusRequest":{ + "type":"structure", + "required":[ + "InstanceId", + "QueueId", + "Status" + ], + "members":{ + "InstanceId":{ + "shape":"InstanceId", + "location":"uri", + "locationName":"InstanceId" + }, + "QueueId":{ + "shape":"QueueId", + "location":"uri", + "locationName":"QueueId" + }, + "Status":{"shape":"QueueStatus"} + } + }, "UpdateQuickConnectConfigRequest":{ "type":"structure", "required":[ diff --git a/models/apis/connect/2017-08-08/docs-2.json b/models/apis/connect/2017-08-08/docs-2.json index 67357c0780f..2630809d407 100644 --- a/models/apis/connect/2017-08-08/docs-2.json +++ b/models/apis/connect/2017-08-08/docs-2.json @@ -1,16 +1,18 @@ { "version": "2.0", - "service": "

Amazon Connect is a cloud-based contact center solution that makes it easy to set up and manage a customer contact center and provide reliable customer engagement at any scale.

Amazon Connect provides rich metrics and real-time reporting that allow you to optimize contact routing. You can also resolve customer issues more efficiently by putting customers in touch with the right agents.

There are limits to the number of Amazon Connect resources that you can create and limits to the number of requests that you can make per second. For more information, see Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.

To connect programmatically to an AWS service, you use an endpoint. For a list of Amazon Connect endpoints, see Amazon Connect Endpoints.

Working with contact flows? Check out the Amazon Connect Flow language.

", + "service": "

Amazon Connect is a cloud-based contact center solution that you use to set up and manage a customer contact center and provide reliable customer engagement at any scale.

Amazon Connect provides metrics and real-time reporting that enable you to optimize contact routing. You can also resolve customer issues more efficiently by getting customers in touch with the appropriate agents.

There are limits to the number of Amazon Connect resources that you can create. There are also limits to the number of requests that you can make per second. For more information, see Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.

You can connect programmatically to an AWS service by using an endpoint. For a list of Amazon Connect endpoints, see Amazon Connect Endpoints.

Working with contact flows? Check out the Amazon Connect Flow language.

", "operations": { "AssociateApprovedOrigin": "

This API is in preview release for Amazon Connect and is subject to change.

Associates an approved origin to an Amazon Connect instance.

", - "AssociateInstanceStorageConfig": "

This API is in preview release for Amazon Connect and is subject to change.

Associates a storage resource type for the first time. You can only associate one type of storage configuration in a single call. This means, for example, that you can't define an instance with multiple S3 buckets for storing chat transcripts.

This API does not create a resource that doesn't exist. It only associates it to the instance. Ensure that the resource being specified in the storage configuration, like an Amazon S3 bucket, exists when being used for association.

", + "AssociateInstanceStorageConfig": "

This API is in preview release for Amazon Connect and is subject to change.

Associates a storage resource type for the first time. You can only associate one type of storage configuration in a single call. This means, for example, that you can't define an instance with multiple S3 buckets for storing chat transcripts.

This API does not create a resource that doesn't exist. It only associates it to the instance. Ensure that the resource being specified in the storage configuration, like an S3 bucket, exists when being used for association.

", "AssociateLambdaFunction": "

This API is in preview release for Amazon Connect and is subject to change.

Allows the specified Amazon Connect instance to access the specified Lambda function.

", "AssociateLexBot": "

This API is in preview release for Amazon Connect and is subject to change.

Allows the specified Amazon Connect instance to access the specified Amazon Lex bot.

", + "AssociateQueueQuickConnects": "

This API is in preview release for Amazon Connect and is subject to change.

Associates a set of quick connects with a queue.

", "AssociateRoutingProfileQueues": "

Associates a set of queues with a routing profile.

", "AssociateSecurityKey": "

This API is in preview release for Amazon Connect and is subject to change.

Associates a security key to the instance.

", "CreateContactFlow": "

Creates a contact flow for the specified Amazon Connect instance.

You can also create and update contact flows using the Amazon Connect Flow language.

", - "CreateInstance": "

This API is in preview release for Amazon Connect and is subject to change.

Initiates an Amazon Connect instance with all the supported channels enabled. It does not attach any storage (such as Amazon S3, or Kinesis) or allow for any configurations on features such as Contact Lens for Amazon Connect.

", + "CreateInstance": "

This API is in preview release for Amazon Connect and is subject to change.

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.

", "CreateIntegrationAssociation": "

This API is in preview release for Amazon Connect and is subject to change.

Create an AppIntegration association with an Amazon Connect instance.

", + "CreateQueue": "

This API is in preview release for Amazon Connect and is subject to change.

Creates a new queue for the specified Amazon Connect instance.

", "CreateQuickConnect": "

This API is in preview release for Amazon Connect and is subject to change.

Creates a quick connect for the specified Amazon Connect instance.

", "CreateRoutingProfile": "

Creates a new routing profile.

", "CreateUseCase": "

This API is in preview release for Amazon Connect and is subject to change.

Creates a use case for an AppIntegration association.

", @@ -23,9 +25,11 @@ "DeleteUser": "

Deletes a user account from the specified Amazon Connect instance.

For information about what happens to a user's data when their account is deleted, see Delete Users from Your Amazon Connect Instance in the Amazon Connect Administrator Guide.

", "DeleteUserHierarchyGroup": "

Deletes an existing user hierarchy group. It must not be associated with any agents or have any active child groups.

", "DescribeContactFlow": "

Describes the specified contact flow.

You can also create and update contact flows using the Amazon Connect Flow language.

", - "DescribeInstance": "

This API is in preview release for Amazon Connect and is subject to change.

Returns the current state of the specified instance identifier. It tracks the instance while it is being created and returns an error status if applicable.

If an instance is not created successfully, the instance status reason field returns details relevant to the reason. The instance in a failed state is returned only for 24 hours after the CreateInstance API was invoked.

", + "DescribeHoursOfOperation": "

This API is in preview release for Amazon Connect and is subject to change.

Describes the hours of operation.

", + "DescribeInstance": "

This API is in preview release for Amazon Connect and is subject to change.

Returns the current state of the specified instance identifier. It tracks the instance while it is being created and returns an error status, if applicable.

If an instance is not created successfully, the instance status reason field returns details relevant to the reason. The instance in a failed state is returned only for 24 hours after the CreateInstance API was invoked.

", "DescribeInstanceAttribute": "

This API is in preview release for Amazon Connect and is subject to change.

Describes the specified instance attribute.

", "DescribeInstanceStorageConfig": "

This API is in preview release for Amazon Connect and is subject to change.

Retrieves the current storage configurations for the specified resource type, association ID, and instance ID.

", + "DescribeQueue": "

This API is in preview release for Amazon Connect and is subject to change.

Describes the specified queue.

", "DescribeQuickConnect": "

This API is in preview release for Amazon Connect and is subject to change.

Describes the quick connect.

", "DescribeRoutingProfile": "

Describes the specified routing profile.

", "DescribeUser": "

Describes the specified user account. You can find the instance ID in the console (it’s the final part of the ARN). The console does not display the user IDs. Instead, list the users and note the IDs provided in the output.

", @@ -33,8 +37,9 @@ "DescribeUserHierarchyStructure": "

Describes the hierarchy structure of the specified Amazon Connect instance.

", "DisassociateApprovedOrigin": "

This API is in preview release for Amazon Connect and is subject to change.

Revokes access to integrated applications from Amazon Connect.

", "DisassociateInstanceStorageConfig": "

This API is in preview release for Amazon Connect and is subject to change.

Removes the storage type configurations for the specified resource type and association ID.

", - "DisassociateLambdaFunction": "

This API is in preview release for Amazon Connect and is subject to change.

Remove the Lambda function from the drop-down options available in the relevant contact flow blocks.

", + "DisassociateLambdaFunction": "

This API is in preview release for Amazon Connect and is subject to change.

Remove the Lambda function from the dropdown options available in the relevant contact flow blocks.

", "DisassociateLexBot": "

This API is in preview release for Amazon Connect and is subject to change.

Revokes authorization from the specified instance to access the specified Amazon Lex bot.

", + "DisassociateQueueQuickConnects": "

This API is in preview release for Amazon Connect and is subject to change.

Disassociates a set of quick connects from a queue.

", "DisassociateRoutingProfileQueues": "

Disassociates a set of queues from a routing profile.

", "DisassociateSecurityKey": "

This API is in preview release for Amazon Connect and is subject to change.

Deletes the specified security key.

", "GetContactAttributes": "

Retrieves the contact attributes for the specified contact.

", @@ -48,37 +53,43 @@ "ListInstanceStorageConfigs": "

This API is in preview release for Amazon Connect and is subject to change.

Returns a paginated list of storage configs for the identified instance and resource type.

", "ListInstances": "

This API is in preview release for Amazon Connect and is subject to change.

Return a list of instances which are in active state, creation-in-progress state, and failed state. Instances that aren't successfully created (they are in a failed state) are returned only for 24 hours after the CreateInstance API was invoked.

", "ListIntegrationAssociations": "

This API is in preview release for Amazon Connect and is subject to change.

Provides summary information about the AppIntegration associations for the specified Amazon Connect instance.

", - "ListLambdaFunctions": "

This API is in preview release for Amazon Connect and is subject to change.

Returns a paginated list of all the Lambda functions that show up in the drop-down options in the relevant contact flow blocks.

", + "ListLambdaFunctions": "

This API is in preview release for Amazon Connect and is subject to change.

Returns a paginated list of all Lambda functions that display in the dropdown options in the relevant contact flow blocks.

", "ListLexBots": "

This API is in preview release for Amazon Connect and is subject to change.

Returns a paginated list of all the Amazon Lex bots currently associated with the instance.

", "ListPhoneNumbers": "

Provides information about the phone numbers for the specified Amazon Connect instance.

For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide.

", "ListPrompts": "

Provides information about the prompts for the specified Amazon Connect instance.

", + "ListQueueQuickConnects": "

This API is in preview release for Amazon Connect and is subject to change.

Lists the quick connects associated with a queue.

", "ListQueues": "

Provides information about the queues for the specified Amazon Connect instance.

For more information about queues, see Queues: Standard and Agent in the Amazon Connect Administrator Guide.

", "ListQuickConnects": "

This API is in preview release for Amazon Connect and is subject to change.

Provides information about the quick connects for the specified Amazon Connect instance.

", - "ListRoutingProfileQueues": "

List the queues associated with a routing profile.

", + "ListRoutingProfileQueues": "

Lists the queues associated with a routing profile.

", "ListRoutingProfiles": "

Provides summary information about the routing profiles for the specified Amazon Connect instance.

For more information about routing profiles, see Routing Profiles and Create a Routing Profile in the Amazon Connect Administrator Guide.

", "ListSecurityKeys": "

This API is in preview release for Amazon Connect and is subject to change.

Returns a paginated list of all security keys associated with the instance.

", "ListSecurityProfiles": "

Provides summary information about the security profiles for the specified Amazon Connect instance.

For more information about security profiles, see Security Profiles in the Amazon Connect Administrator Guide.

", "ListTagsForResource": "

Lists the tags for the specified resource.

For sample policies that use tags, see Amazon Connect Identity-Based Policy Examples in the Amazon Connect Administrator Guide.

", - "ListUseCases": "

This API is in preview release for Amazon Connect and is subject to change.

List the use cases.

", + "ListUseCases": "

This API is in preview release for Amazon Connect and is subject to change.

Lists the use cases.

", "ListUserHierarchyGroups": "

Provides summary information about the hierarchy groups for the specified Amazon Connect instance.

For more information about agent hierarchies, see Set Up Agent Hierarchies in the Amazon Connect Administrator Guide.

", "ListUsers": "

Provides summary information about the users for the specified Amazon Connect instance.

", "ResumeContactRecording": "

When a contact is being recorded, and the recording has been suspended using SuspendContactRecording, this API resumes recording the call.

Only voice recordings are supported at this time.

", - "StartChatContact": "

Initiates a contact flow to start a new chat for the customer. Response of this API provides a token required to obtain credentials from the CreateParticipantConnection API in the Amazon Connect Participant Service.

When a new chat contact is successfully created, clients need to subscribe to the participant’s connection for the created chat within 5 minutes. This is achieved by invoking CreateParticipantConnection with WEBSOCKET and CONNECTION_CREDENTIALS.

A 429 error occurs in two situations:

For more information about how chat works, see Chat in the Amazon Connect Administrator Guide.

", - "StartContactRecording": "

This API starts recording the contact when the agent joins the call. StartContactRecording is a one-time action. For example, if you use StopContactRecording to stop recording an ongoing call, you can't use StartContactRecording to restart it. For scenarios where the recording has started and you want to suspend and resume it, such as when collecting sensitive information (for example, a credit card number), use SuspendContactRecording and ResumeContactRecording.

You can use this API to override the recording behavior configured in the Set recording behavior block.

Only voice recordings are supported at this time.

", - "StartOutboundVoiceContact": "

This API places an outbound call to a contact, and then initiates the contact flow. It performs the actions in the contact flow that's specified (in ContactFlowId).

Agents are not involved in initiating the outbound API (that is, dialing the contact). If the contact flow places an outbound call to a contact, and then puts the contact in queue, that's when the call is routed to the agent, like any other inbound case.

There is a 60 second dialing timeout for this operation. If the call is not connected after 60 seconds, it fails.

UK numbers with a 447 prefix are not allowed by default. Before you can dial these UK mobile numbers, you must submit a service quota increase request. For more information, see Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.

", + "StartChatContact": "

Initiates a contact flow to start a new chat for the customer. Response of this API provides a token required to obtain credentials from the CreateParticipantConnection API in the Amazon Connect Participant Service.

When a new chat contact is successfully created, clients must subscribe to the participant’s connection for the created chat within 5 minutes. This is achieved by invoking CreateParticipantConnection with WEBSOCKET and CONNECTION_CREDENTIALS.

A 429 error occurs in two situations:

For more information about chat, see Chat in the Amazon Connect Administrator Guide.

", + "StartContactRecording": "

Starts recording the contact when the agent joins the call. StartContactRecording is a one-time action. For example, if you use StopContactRecording to stop recording an ongoing call, you can't use StartContactRecording to restart it. For scenarios where the recording has started and you want to suspend and resume it, such as when collecting sensitive information (for example, a credit card number), use SuspendContactRecording and ResumeContactRecording.

You can use this API to override the recording behavior configured in the Set recording behavior block.

Only voice recordings are supported at this time.

", + "StartOutboundVoiceContact": "

Places an outbound call to a contact, and then initiates the contact flow. It performs the actions in the contact flow that's specified (in ContactFlowId).

Agents do not initiate the outbound API, which means that they do not dial the contact. If the contact flow places an outbound call to a contact, and then puts the contact in queue, the call is then routed to the agent, like any other inbound case.

There is a 60-second dialing timeout for this operation. If the call is not connected after 60 seconds, it fails.

UK numbers with a 447 prefix are not allowed by default. Before you can dial these UK mobile numbers, you must submit a service quota increase request. For more information, see Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.

", "StartTaskContact": "

Initiates a contact flow to start a new task.

", "StopContact": "

Ends the specified contact.

", - "StopContactRecording": "

When a contact is being recorded, this API stops recording the call. StopContactRecording is a one-time action. If you use StopContactRecording to stop recording an ongoing call, you can't use StartContactRecording to restart it. For scenarios where the recording has started and you want to suspend it for sensitive information (for example, to collect a credit card number), and then restart it, use SuspendContactRecording and ResumeContactRecording.

Only voice recordings are supported at this time.

", + "StopContactRecording": "

Stops recording a call when a contact is being recorded. StopContactRecording is a one-time action. If you use StopContactRecording to stop recording an ongoing call, you can't use StartContactRecording to restart it. For scenarios where the recording has started and you want to suspend it for sensitive information (for example, to collect a credit card number), and then restart it, use SuspendContactRecording and ResumeContactRecording.

Only voice recordings are supported at this time.

", "SuspendContactRecording": "

When a contact is being recorded, this API suspends recording the call. For example, you might suspend the call recording while collecting sensitive information, such as a credit card number. Then use ResumeContactRecording to restart recording.

The period of time that the recording is suspended is filled with silence in the final recording.

Only voice recordings are supported at this time.

", - "TagResource": "

Adds the specified tags to the specified resource.

The supported resource types are users, routing profiles, quick connects, and contact flows.

For sample policies that use tags, see Amazon Connect Identity-Based Policy Examples in the Amazon Connect Administrator Guide.

", + "TagResource": "

Adds the specified tags to the specified resource.

The supported resource types are users, routing profiles, queues, quick connects, and contact flows.

For sample policies that use tags, see Amazon Connect Identity-Based Policy Examples in the Amazon Connect Administrator Guide.

", "UntagResource": "

Removes the specified tags from the specified resource.

", - "UpdateContactAttributes": "

Creates or updates the contact attributes associated with the specified contact.

You can add or update attributes for both ongoing and completed contacts. For example, you can update the customer's name or the reason the customer called while the call is active, or add notes about steps that the agent took during the call that are displayed to the next agent that takes the call. You can also update attributes for a contact using data from your CRM application and save the data with the contact in Amazon Connect. You could also flag calls for additional analysis, such as legal review or identifying abusive callers.

Contact attributes are available in Amazon Connect for 24 months, and are then deleted.

Important: You cannot use the operation to update attributes for contacts that occurred prior to the release of the API, September 12, 2018. You can update attributes only for contacts that started after the release of the API. If you attempt to update attributes for a contact that occurred prior to the release of the API, a 400 error is returned. This applies also to queued callbacks that were initiated prior to the release of the API but are still active in your instance.

", + "UpdateContactAttributes": "

Creates or updates the contact attributes associated with the specified contact.

You can add or update attributes for both ongoing and completed contacts. For example, while the call is active, you can update the customer's name or the reason the customer called. You can add notes about steps that the agent took during the call that display to the next agent that takes the call. You can also update attributes for a contact using data from your CRM application and save the data with the contact in Amazon Connect. You could also flag calls for additional analysis, such as legal review or to identify abusive callers.

Contact attributes are available in Amazon Connect for 24 months, and are then deleted.

Important: You cannot use the operation to update attributes for contacts that occurred prior to the release of the API, which was September 12, 2018. You can update attributes only for contacts that started after the release of the API. If you attempt to update attributes for a contact that occurred prior to the release of the API, a 400 error is returned. This applies also to queued callbacks that were initiated prior to the release of the API but are still active in your instance.

", "UpdateContactFlowContent": "

Updates the specified contact flow.

You can also create and update contact flows using the Amazon Connect Flow language.

", "UpdateContactFlowName": "

The name of the contact flow.

You can also create and update contact flows using the Amazon Connect Flow language.

", "UpdateInstanceAttribute": "

This API is in preview release for Amazon Connect and is subject to change.

Updates the value for the specified attribute type.

", "UpdateInstanceStorageConfig": "

This API is in preview release for Amazon Connect and is subject to change.

Updates an existing configuration for a resource type. This API is idempotent.

", + "UpdateQueueHoursOfOperation": "

This API is in preview release for Amazon Connect and is subject to change.

Updates the hours of operation for the specified queue.

", + "UpdateQueueMaxContacts": "

This API is in preview release for Amazon Connect and is subject to change.

Updates the maximum number of contacts allowed in a queue before it is considered full.

", + "UpdateQueueName": "

This API is in preview release for Amazon Connect and is subject to change.

Updates the name and description of a queue. At least Name or Description must be provided.

", + "UpdateQueueOutboundCallerConfig": "

This API is in preview release for Amazon Connect and is subject to change.

Updates the outbound caller ID name, number, and outbound whisper flow for a specified queue.

", + "UpdateQueueStatus": "

This API is in preview release for Amazon Connect and is subject to change.

Updates the status of the queue.

", "UpdateQuickConnectConfig": "

This API is in preview release for Amazon Connect and is subject to change.

Updates the configuration settings for the specified quick connect.

", - "UpdateQuickConnectName": "

This API is in preview release for Amazon Connect and is subject to change.

Updates the name and description of a quick connect. The request accepts the following data in JSON format. At least Name or Description must be provided.

", + "UpdateQuickConnectName": "

This API is in preview release for Amazon Connect and is subject to change.

Updates the name and description of a quick connect. The request accepts the following data in JSON format. At least Name or Description must be provided.

", "UpdateRoutingProfileConcurrency": "

Updates the channels that agents can handle in the Contact Control Panel (CCP) for a routing profile.

", "UpdateRoutingProfileDefaultOutboundQueue": "

Updates the default outbound queue of a routing profile.

", "UpdateRoutingProfileName": "

Updates the name and description of a routing profile. The request accepts the following data in JSON format. At least Name or Description must be provided.

", @@ -86,7 +97,7 @@ "UpdateUserHierarchy": "

Assigns the specified hierarchy group to the specified user.

", "UpdateUserHierarchyGroupName": "

Updates the name of the user hierarchy group.

", "UpdateUserHierarchyStructure": "

Updates the user hierarchy structure: add, remove, and rename user hierarchy levels.

", - "UpdateUserIdentityInfo": "

Updates the identity information for the specified user.

Someone with the ability to invoke UpdateUserIndentityInfo can change the login credentials of other users by changing their email address. This poses a security risk to your organization. They can change the email address of a user to the attacker's email address, and then reset the password through email. We strongly recommend limiting who has the ability to invoke UpdateUserIndentityInfo. For more information, see Best Practices for Security Profiles in the Amazon Connect Administrator Guide.

", + "UpdateUserIdentityInfo": "

Updates the identity information for the specified user.

We strongly recommend limiting who has the ability to invoke UpdateUserIdentityInfo. Someone with that ability can change the login credentials of other users by changing their email address. This poses a security risk to your organization. They can change the email address of a user to the attacker's email address, and then reset the password through email. For more information, see Best Practices for Security Profiles in the Amazon Connect Administrator Guide.

", "UpdateUserPhoneConfig": "

Updates the phone configuration settings for the specified user.

", "UpdateUserRoutingProfile": "

Assigns the specified routing profile to the specified user.

", "UpdateUserSecurityProfiles": "

Assigns the specified security profiles to the specified user.

" @@ -101,6 +112,7 @@ "CreateInstanceResponse$Arn": "

The Amazon Resource Name (ARN) of the instance.

", "CreateIntegrationAssociationRequest$IntegrationArn": "

The Amazon Resource Name (ARN) of the integration.

", "CreateIntegrationAssociationResponse$IntegrationAssociationArn": "

The Amazon Resource Name (ARN) for the association.

", + "CreateQueueResponse$QueueArn": "

The Amazon Resource Name (ARN) of the queue.

", "CreateQuickConnectResponse$QuickConnectARN": "

The Amazon Resource Name (ARN) for the quick connect.

", "CreateRoutingProfileResponse$RoutingProfileArn": "

The Amazon Resource Name (ARN) of the routing profile.

", "CreateUseCaseResponse$UseCaseArn": "

The Amazon Resource Name (ARN) for the use case.

", @@ -109,6 +121,7 @@ "HierarchyGroup$Arn": "

The Amazon Resource Name (ARN) of the hierarchy group.

", "HierarchyGroupSummary$Arn": "

The Amazon Resource Name (ARN) of the hierarchy group.

", "HierarchyLevel$Arn": "

The Amazon Resource Name (ARN) of the hierarchy level.

", + "HoursOfOperation$HoursOfOperationArn": "

The Amazon Resource Name (ARN) for the hours of operation.

", "HoursOfOperationSummary$Arn": "

The Amazon Resource Name (ARN) of the hours of operation.

", "Instance$Arn": "

The Amazon Resource Name (ARN) of the instance.

", "Instance$ServiceRole": "

The service role of the instance.

", @@ -121,10 +134,11 @@ "ListTagsForResourceRequest$resourceArn": "

The Amazon Resource Name (ARN) of the resource.

", "PhoneNumberSummary$Arn": "

The Amazon Resource Name (ARN) of the phone number.

", "PromptSummary$Arn": "

The Amazon Resource Name (ARN) of the prompt.

", + "Queue$QueueArn": "

The Amazon Resource Name (ARN) for the queue.

", "QueueReference$Arn": "

The Amazon Resource Name (ARN) of the queue.

", "QueueSummary$Arn": "

The Amazon Resource Name (ARN) of the queue.

", "QuickConnect$QuickConnectARN": "

The Amazon Resource Name (ARN) of the quick connect.

", - "QuickConnectSummary$Arn": "

The Amazon Resource Name (ARN).

", + "QuickConnectSummary$Arn": "

The Amazon Resource Name (ARN) of the quick connect.

", "ResourceInUseException$ResourceId": "

The identifier for the resource.

", "RoutingProfile$RoutingProfileArn": "

The Amazon Resource Name (ARN) of the routing profile.

", "RoutingProfileQueueConfigSummary$QueueArn": "

The Amazon Resource Name (ARN) of the queue.

", @@ -188,6 +202,11 @@ "refs": { } }, + "AssociateQueueQuickConnectsRequest": { + "base": null, + "refs": { + } + }, "AssociateRoutingProfileQueuesRequest": { "base": null, "refs": { @@ -239,7 +258,7 @@ "base": null, "refs": { "GetContactAttributesResponse$Attributes": "

Information about the attributes.

", - "StartChatContactRequest$Attributes": "

A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in contact flows just like any other contact attributes.

There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.

", + "StartChatContactRequest$Attributes": "

A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in contact flows just like any other contact attributes.

There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.

", "StartOutboundVoiceContactRequest$Attributes": "

A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in contact flows just like any other contact attributes.

There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.

", "StartTaskContactRequest$Attributes": "

A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in contact flows just like any other contact attributes.

There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.

", "UpdateContactAttributesRequest$Attributes": "

The Amazon Connect attributes. These attributes can be accessed in contact flows just like any other contact attributes.

You can have up to 32,768 UTF-8 bytes across all attributes for a contact. Attribute keys can include only alphanumeric, dash, and underscore characters.

" @@ -295,7 +314,7 @@ "ChatContentType": { "base": null, "refs": { - "ChatMessage$ContentType": "

The type of the content. Supported types are text/plain.

" + "ChatMessage$ContentType": "

The type of the content. Supported types are text and plain.

" } }, "ChatMessage": { @@ -313,6 +332,21 @@ "StartTaskContactRequest$ClientToken": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

" } }, + "CommonDescriptionLength250": { + "base": null, + "refs": { + "HoursOfOperation$Description": "

The description for the hours of operation.

" + } + }, + "CommonNameLength127": { + "base": null, + "refs": { + "CreateQueueRequest$Name": "

The name of the queue.

", + "HoursOfOperation$Name": "

The name for the hours of operation.

", + "Queue$Name": "

The name of the queue.

", + "UpdateQueueNameRequest$Name": "

The name of the queue.

" + } + }, "Comparison": { "base": null, "refs": { @@ -354,6 +388,7 @@ "ContactFlowSummary$Id": "

The identifier of the contact flow.

", "CreateContactFlowResponse$ContactFlowId": "

The identifier of the contact flow.

", "DescribeContactFlowRequest$ContactFlowId": "

The identifier of the contact flow.

", + "OutboundCallerConfig$OutboundFlowId": "

The outbound whisper flow to be used during an outbound call.

", "QueueQuickConnectConfig$ContactFlowId": "

The identifier of the contact flow.

", "StartChatContactRequest$ContactFlowId": "

The identifier of the contact flow for initiating the chat. To see the ContactFlowId in the Amazon Connect console user interface, on the navigation menu go to Routing, Contact Flows. Choose the contact flow. On the contact flow page, under the name of the contact flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:

arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx

", "StartOutboundVoiceContactRequest$ContactFlowId": "

The identifier of the contact flow for the outbound call. To see the ContactFlowId in the Amazon Connect console user interface, on the navigation menu go to Routing, Contact Flows. Choose the contact flow. On the contact flow page, under the name of the contact flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:

arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx

", @@ -465,6 +500,16 @@ "refs": { } }, + "CreateQueueRequest": { + "base": null, + "refs": { + } + }, + "CreateQueueResponse": { + "base": null, + "refs": { + } + }, "CreateQuickConnectRequest": { "base": null, "refs": { @@ -611,6 +656,16 @@ "refs": { } }, + "DescribeHoursOfOperationRequest": { + "base": null, + "refs": { + } + }, + "DescribeHoursOfOperationResponse": { + "base": null, + "refs": { + } + }, "DescribeInstanceAttributeRequest": { "base": null, "refs": { @@ -641,6 +696,16 @@ "refs": { } }, + "DescribeQueueRequest": { + "base": null, + "refs": { + } + }, + "DescribeQueueResponse": { + "base": null, + "refs": { + } + }, "DescribeQuickConnectRequest": { "base": null, "refs": { @@ -758,6 +823,11 @@ "refs": { } }, + "DisassociateQueueQuickConnectsRequest": { + "base": null, + "refs": { + } + }, "DisassociateRoutingProfileQueuesRequest": { "base": null, "refs": { @@ -789,7 +859,7 @@ "base": "

The encryption configuration.

", "refs": { "KinesisVideoStreamConfig$EncryptionConfig": "

The encryption configuration.

", - "S3Config$EncryptionConfig": "

The S3 encryption configuration.

" + "S3Config$EncryptionConfig": "

The Amazon S3 encryption configuration.

" } }, "EncryptionType": { @@ -1020,10 +1090,45 @@ "KinesisVideoStreamConfig$RetentionPeriodHours": "

The number of hours data is retained in the stream. Kinesis Video Streams retains the data in a data store that is associated with the stream.

The default value is 0, indicating that the stream does not persist data.

" } }, + "Hours24Format": { + "base": null, + "refs": { + "HoursOfOperationTimeSlice$Hours": "

The hours.

" + } + }, + "HoursOfOperation": { + "base": "

Information about of the hours of operation.

", + "refs": { + "DescribeHoursOfOperationResponse$HoursOfOperation": "

The hours of operation.

" + } + }, + "HoursOfOperationConfig": { + "base": "

Contains information about the hours of operation.

", + "refs": { + "HoursOfOperationConfigList$member": null + } + }, + "HoursOfOperationConfigList": { + "base": null, + "refs": { + "HoursOfOperation$Config": "

Configuration information for the hours of operation.

" + } + }, + "HoursOfOperationDays": { + "base": null, + "refs": { + "HoursOfOperationConfig$Day": "

The day that the hours of operation applies to.

" + } + }, "HoursOfOperationId": { "base": null, "refs": { - "HoursOfOperationSummary$Id": "

The identifier of the hours of operation.

" + "CreateQueueRequest$HoursOfOperationId": "

The identifier for the hours of operation.

", + "DescribeHoursOfOperationRequest$HoursOfOperationId": "

The identifier for the hours of operation.

", + "HoursOfOperation$HoursOfOperationId": "

The identifier for the hours of operation.

", + "HoursOfOperationSummary$Id": "

The identifier of the hours of operation.

", + "Queue$HoursOfOperationId": "

The identifier for the hours of operation.

", + "UpdateQueueHoursOfOperationRequest$HoursOfOperationId": "

The identifier for the hours of operation.

" } }, "HoursOfOperationName": { @@ -1044,10 +1149,17 @@ "ListHoursOfOperationsResponse$HoursOfOperationSummaryList": "

Information about the hours of operation.

" } }, + "HoursOfOperationTimeSlice": { + "base": "

The start time or end time for an hours of operation.

", + "refs": { + "HoursOfOperationConfig$StartTime": "

The start time that your contact center is open.

", + "HoursOfOperationConfig$EndTime": "

The end time that your contact center is closes.

" + } + }, "InboundCallsEnabled": { "base": null, "refs": { - "CreateInstanceRequest$InboundCallsEnabled": "

Whether your contact center handles incoming contacts.

", + "CreateInstanceRequest$InboundCallsEnabled": "

Your contact center handles incoming contacts.

", "Instance$InboundCallsEnabled": "

Whether inbound calls are enabled.

", "InstanceSummary$InboundCallsEnabled": "

Whether inbound calls are enabled.

" } @@ -1080,11 +1192,13 @@ "AssociateInstanceStorageConfigRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "AssociateLambdaFunctionRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "AssociateLexBotRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", + "AssociateQueueQuickConnectsRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "AssociateRoutingProfileQueuesRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "AssociateSecurityKeyRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "CreateContactFlowRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "CreateInstanceResponse$Id": "

The identifier for the instance.

", "CreateIntegrationAssociationRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", + "CreateQueueRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "CreateQuickConnectRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "CreateRoutingProfileRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "CreateUseCaseRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", @@ -1097,9 +1211,11 @@ "DeleteUserHierarchyGroupRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "DeleteUserRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "DescribeContactFlowRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", + "DescribeHoursOfOperationRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "DescribeInstanceAttributeRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "DescribeInstanceRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "DescribeInstanceStorageConfigRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", + "DescribeQueueRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "DescribeQuickConnectRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "DescribeRoutingProfileRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "DescribeUserHierarchyGroupRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", @@ -1109,6 +1225,7 @@ "DisassociateInstanceStorageConfigRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "DisassociateLambdaFunctionRequest$InstanceId": "

The identifier of the Amazon Connect instance..

", "DisassociateLexBotRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", + "DisassociateQueueQuickConnectsRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "DisassociateRoutingProfileQueuesRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "DisassociateSecurityKeyRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "GetContactAttributesRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", @@ -1128,6 +1245,7 @@ "ListLexBotsRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "ListPhoneNumbersRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "ListPromptsRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", + "ListQueueQuickConnectsRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "ListQueuesRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "ListQuickConnectsRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "ListRoutingProfileQueuesRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", @@ -1151,6 +1269,11 @@ "UpdateContactFlowNameRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "UpdateInstanceAttributeRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "UpdateInstanceStorageConfigRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", + "UpdateQueueHoursOfOperationRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", + "UpdateQueueMaxContactsRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", + "UpdateQueueNameRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", + "UpdateQueueOutboundCallerConfigRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", + "UpdateQueueStatusRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "UpdateQuickConnectConfigRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "UpdateQuickConnectNameRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "UpdateRoutingProfileConcurrencyRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", @@ -1247,7 +1370,7 @@ } }, "InternalServiceException": { - "base": "

Request processing failed due to an error or failure with the service.

", + "base": "

Request processing failed because of an error or failure with the service.

", "refs": { } }, @@ -1273,7 +1396,7 @@ } }, "KinesisFirehoseConfig": { - "base": "

Configuration information of a Kinesis Firehose delivery stream.

", + "base": "

Configuration information of a Kinesis Data Firehose delivery stream.

", "refs": { "InstanceStorageConfig$KinesisFirehoseConfig": "

The configuration of the Kinesis Firehose delivery stream.

" } @@ -1300,14 +1423,14 @@ "LexBotsList": { "base": null, "refs": { - "ListLexBotsResponse$LexBots": "

The the names and regions of the Amazon Lex bots associated with the specified instance.

" + "ListLexBotsResponse$LexBots": "

The names and Regions of the Amazon Lex bots associated with the specified instance.

" } }, "LexRegion": { "base": null, "refs": { "DisassociateLexBotRequest$LexRegion": "

The Region in which the Amazon Lex bot has been created.

", - "LexBot$LexRegion": "

The Region the Amazon Lex bot was created in.

" + "LexBot$LexRegion": "

The Region that the Amazon Lex bot was created in.

" } }, "LimitExceededException": { @@ -1425,6 +1548,16 @@ "refs": { } }, + "ListQueueQuickConnectsRequest": { + "base": null, + "refs": { + } + }, + "ListQueueQuickConnectsResponse": { + "base": null, + "refs": { + } + }, "ListQueuesRequest": { "base": null, "refs": { @@ -1528,61 +1661,62 @@ "MaxResult10": { "base": null, "refs": { - "ListInstanceStorageConfigsRequest$MaxResults": "

The maximimum number of results to return per page.

", - "ListInstancesRequest$MaxResults": "

The maximimum number of results to return per page.

" + "ListInstanceStorageConfigsRequest$MaxResults": "

The maximum number of results to return per page.

", + "ListInstancesRequest$MaxResults": "

The maximum number of results to return per page.

" } }, "MaxResult100": { "base": null, "refs": { - "GetCurrentMetricDataRequest$MaxResults": "

The maximimum number of results to return per page.

", - "GetMetricDataRequest$MaxResults": "

The maximimum number of results to return per page.

", - "ListIntegrationAssociationsRequest$MaxResults": "

The maximimum number of results to return per page.

", - "ListRoutingProfileQueuesRequest$MaxResults": "

The maximimum number of results to return per page.

", - "ListUseCasesRequest$MaxResults": "

The maximimum number of results to return per page.

" + "GetCurrentMetricDataRequest$MaxResults": "

The maximum number of results to return per page.

", + "GetMetricDataRequest$MaxResults": "

The maximum number of results to return per page.

", + "ListIntegrationAssociationsRequest$MaxResults": "

The maximum number of results to return per page.

", + "ListQueueQuickConnectsRequest$MaxResults": "

The maximum number of results to return per page.

", + "ListRoutingProfileQueuesRequest$MaxResults": "

The maximum number of results to return per page.

", + "ListUseCasesRequest$MaxResults": "

The maximum number of results to return per page.

" } }, "MaxResult1000": { "base": null, "refs": { - "ListContactFlowsRequest$MaxResults": "

The maximimum number of results to return per page.

", - "ListHoursOfOperationsRequest$MaxResults": "

The maximimum number of results to return per page.

", - "ListPhoneNumbersRequest$MaxResults": "

The maximimum number of results to return per page.

", + "ListContactFlowsRequest$MaxResults": "

The maximum number of results to return per page.

", + "ListHoursOfOperationsRequest$MaxResults": "

The maximum number of results to return per page.

", + "ListPhoneNumbersRequest$MaxResults": "

The maximum number of results to return per page.

", "ListPromptsRequest$MaxResults": "

The maximum number of results to return per page.

", - "ListQueuesRequest$MaxResults": "

The maximimum number of results to return per page.

", - "ListQuickConnectsRequest$MaxResults": "

The maximimum number of results to return per page.

", - "ListRoutingProfilesRequest$MaxResults": "

The maximimum number of results to return per page.

", - "ListSecurityProfilesRequest$MaxResults": "

The maximimum number of results to return per page.

", - "ListUserHierarchyGroupsRequest$MaxResults": "

The maximimum number of results to return per page.

", - "ListUsersRequest$MaxResults": "

The maximimum number of results to return per page.

" + "ListQueuesRequest$MaxResults": "

The maximum number of results to return per page.

", + "ListQuickConnectsRequest$MaxResults": "

The maximum number of results to return per page.

", + "ListRoutingProfilesRequest$MaxResults": "

The maximum number of results to return per page.

", + "ListSecurityProfilesRequest$MaxResults": "

The maximum number of results to return per page.

", + "ListUserHierarchyGroupsRequest$MaxResults": "

The maximum number of results to return per page.

", + "ListUsersRequest$MaxResults": "

The maximum number of results to return per page.

" } }, "MaxResult2": { "base": null, "refs": { - "ListSecurityKeysRequest$MaxResults": "

The maximimum number of results to return per page.

" + "ListSecurityKeysRequest$MaxResults": "

The maximum number of results to return per page.

" } }, "MaxResult25": { "base": null, "refs": { - "ListApprovedOriginsRequest$MaxResults": "

The maximimum number of results to return per page.

", - "ListLambdaFunctionsRequest$MaxResults": "

The maximimum number of results to return per page.

", - "ListLexBotsRequest$MaxResults": "

The maximimum number of results to return per page.

" + "ListApprovedOriginsRequest$MaxResults": "

The maximum number of results to return per page.

", + "ListLambdaFunctionsRequest$MaxResults": "

The maximum number of results to return per page.

", + "ListLexBotsRequest$MaxResults": "

The maximum number of results to return per page.

" } }, "MaxResult7": { "base": null, "refs": { - "ListInstanceAttributesRequest$MaxResults": "

The maximimum number of results to return per page.

" + "ListInstanceAttributesRequest$MaxResults": "

The maximum number of results to return per page.

" } }, "MediaConcurrencies": { "base": null, "refs": { - "CreateRoutingProfileRequest$MediaConcurrencies": "

The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.

", + "CreateRoutingProfileRequest$MediaConcurrencies": "

The channels that agents can handle in the Contact Control Panel (CCP) for this routing profile.

", "RoutingProfile$MediaConcurrencies": "

The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.

", - "UpdateRoutingProfileConcurrencyRequest$MediaConcurrencies": "

The channels agents can handle in the Contact Control Panel (CCP).

" + "UpdateRoutingProfileConcurrencyRequest$MediaConcurrencies": "

The channels that agents can handle in the Contact Control Panel (CCP).

" } }, "MediaConcurrency": { @@ -1596,21 +1730,27 @@ "refs": { "ContactFlowNotPublishedException$Message": null, "ContactNotFoundException$Message": "

The message.

", - "DestinationNotAllowedException$Message": "

The message.

", + "DestinationNotAllowedException$Message": "

The message about the outbound calls.

", "DuplicateResourceException$Message": null, "InternalServiceException$Message": "

The message.

", - "InvalidParameterException$Message": "

The message.

", - "InvalidRequestException$Message": "

The message.

", - "LimitExceededException$Message": "

The message.

", - "OutboundContactNotPermittedException$Message": "

The message.

", + "InvalidParameterException$Message": "

The message about the parameters.

", + "InvalidRequestException$Message": "

The message about the request.

", + "LimitExceededException$Message": "

The message about the limit.

", + "OutboundContactNotPermittedException$Message": "

The message about the contact.

", "ResourceConflictException$Message": null, "ResourceInUseException$Message": null, - "ResourceNotFoundException$Message": "

The message.

", + "ResourceNotFoundException$Message": "

The message about the resource.

", "ServiceQuotaExceededException$Message": null, "ThrottlingException$Message": null, "UserNotFoundException$Message": null } }, + "MinutesLimit60": { + "base": null, + "refs": { + "HoursOfOperationTimeSlice$Minutes": "

The minutes.

" + } + }, "Name": { "base": null, "refs": { @@ -1646,6 +1786,8 @@ "ListPhoneNumbersResponse$NextToken": "

If there are additional results, this is the token for the next set of results.

", "ListPromptsRequest$NextToken": "

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.

", "ListPromptsResponse$NextToken": "

If there are additional results, this is the token for the next set of results.

", + "ListQueueQuickConnectsRequest$NextToken": "

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.

", + "ListQueueQuickConnectsResponse$NextToken": "

If there are additional results, this is the token for the next set of results.

", "ListQueuesRequest$NextToken": "

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.

", "ListQueuesResponse$NextToken": "

If there are additional results, this is the token for the next set of results.

", "ListQuickConnectsRequest$NextToken": "

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.

", @@ -1680,10 +1822,24 @@ "ListApprovedOriginsResponse$Origins": "

The approved origins.

" } }, + "OutboundCallerConfig": { + "base": "

The outbound caller ID name, number, and outbound whisper flow.

", + "refs": { + "CreateQueueRequest$OutboundCallerConfig": "

The outbound caller ID name, number, and outbound whisper flow.

", + "Queue$OutboundCallerConfig": "

The outbound caller ID name, number, and outbound whisper flow.

", + "UpdateQueueOutboundCallerConfigRequest$OutboundCallerConfig": "

The outbound caller ID name, number, and outbound whisper flow.

" + } + }, + "OutboundCallerIdName": { + "base": null, + "refs": { + "OutboundCallerConfig$OutboundCallerIdName": "

The caller ID name.

" + } + }, "OutboundCallsEnabled": { "base": null, "refs": { - "CreateInstanceRequest$OutboundCallsEnabled": "

Whether your contact center allows outbound calls.

", + "CreateInstanceRequest$OutboundCallsEnabled": "

Your contact center allows outbound calls.

", "Instance$OutboundCallsEnabled": "

Whether outbound calls are enabled.

", "InstanceSummary$OutboundCallsEnabled": "

Whether outbound calls are enabled.

" } @@ -1750,6 +1906,7 @@ "PhoneNumberId": { "base": null, "refs": { + "OutboundCallerConfig$OutboundCallerIdNumberId": "

The caller ID number.

", "PhoneNumberSummary$Id": "

The identifier of the phone number.

" } }, @@ -1846,21 +2003,54 @@ "ListPromptsResponse$PromptSummaryList": "

Information about the prompts.

" } }, + "Queue": { + "base": "

Contains information about a queue.

", + "refs": { + "DescribeQueueResponse$Queue": "

The name of the queue.

" + } + }, + "QueueDescription": { + "base": null, + "refs": { + "CreateQueueRequest$Description": "

The description of the queue.

", + "Queue$Description": "

The description of the queue.

", + "UpdateQueueNameRequest$Description": "

The description of the queue.

" + } + }, "QueueId": { "base": null, "refs": { + "AssociateQueueQuickConnectsRequest$QueueId": "

The identifier for the queue.

", + "CreateQueueResponse$QueueId": "

The identifier for the queue.

", "CreateRoutingProfileRequest$DefaultOutboundQueueId": "

The default outbound queue for the routing profile.

", - "QueueQuickConnectConfig$QueueId": "

The identifier of the queue.

", + "DescribeQueueRequest$QueueId": "

The identifier for the queue.

", + "DisassociateQueueQuickConnectsRequest$QueueId": "

The identifier for the queue.

", + "ListQueueQuickConnectsRequest$QueueId": "

The identifier for the queue.

", + "Queue$QueueId": "

The identifier for the queue.

", + "QueueQuickConnectConfig$QueueId": "

The identifier for the queue.

", "QueueReference$Id": "

The identifier of the queue.

", "QueueSummary$Id": "

The identifier of the queue.

", "Queues$member": null, "RoutingProfile$DefaultOutboundQueueId": "

The identifier of the default outbound queue for this routing profile.

", - "RoutingProfileQueueConfigSummary$QueueId": "

The identifier of the queue.

", - "RoutingProfileQueueReference$QueueId": "

The identifier of the queue.

", + "RoutingProfileQueueConfigSummary$QueueId": "

The identifier for the queue.

", + "RoutingProfileQueueReference$QueueId": "

The identifier for the queue.

", "StartOutboundVoiceContactRequest$QueueId": "

The queue for the call. If you specify a queue, the phone displayed for caller ID is the phone number specified in the queue. If you do not specify a queue, the queue defined in the contact flow is used. If you do not specify a queue, you must specify a source phone number.

", + "UpdateQueueHoursOfOperationRequest$QueueId": "

The identifier for the queue.

", + "UpdateQueueMaxContactsRequest$QueueId": "

The identifier for the queue.

", + "UpdateQueueNameRequest$QueueId": "

The identifier for the queue.

", + "UpdateQueueOutboundCallerConfigRequest$QueueId": "

The identifier for the queue.

", + "UpdateQueueStatusRequest$QueueId": "

The identifier for the queue.

", "UpdateRoutingProfileDefaultOutboundQueueRequest$DefaultOutboundQueueId": "

The identifier for the default outbound queue.

" } }, + "QueueMaxContacts": { + "base": null, + "refs": { + "CreateQueueRequest$MaxContacts": "

The maximum number of contacts that can be in the queue before it is considered full.

", + "Queue$MaxContacts": "

The maximum number of contacts that can be in the queue before it is considered full.

", + "UpdateQueueMaxContactsRequest$MaxContacts": "

The maximum number of contacts that can be in the queue before it is considered full.

" + } + }, "QueueName": { "base": null, "refs": { @@ -1880,6 +2070,13 @@ "Dimensions$Queue": "

Information about the queue for which metrics are returned.

" } }, + "QueueStatus": { + "base": null, + "refs": { + "Queue$Status": "

The status of the queue.

", + "UpdateQueueStatusRequest$Status": "

The status of the queue.

" + } + }, "QueueSummary": { "base": "

Contains summary information about a queue.

", "refs": { @@ -1941,6 +2138,7 @@ "DescribeQuickConnectRequest$QuickConnectId": "

The identifier for the quick connect.

", "QuickConnect$QuickConnectId": "

The identifier for the quick connect.

", "QuickConnectSummary$Id": "

The identifier for the quick connect.

", + "QuickConnectsList$member": null, "UpdateQuickConnectConfigRequest$QuickConnectId": "

The identifier for the quick connect.

", "UpdateQuickConnectNameRequest$QuickConnectId": "

The identifier for the quick connect.

" } @@ -1950,7 +2148,7 @@ "refs": { "CreateQuickConnectRequest$Name": "

The name of the quick connect.

", "QuickConnect$Name": "

The name of the quick connect.

", - "QuickConnectSummary$Name": "

The name.

", + "QuickConnectSummary$Name": "

The name of the quick connect.

", "UpdateQuickConnectNameRequest$Name": "

The name of the quick connect.

" } }, @@ -1963,6 +2161,7 @@ "QuickConnectSummaryList": { "base": null, "refs": { + "ListQueueQuickConnectsResponse$QuickConnectSummaryList": "

Information about the quick connects.

", "ListQuickConnectsResponse$QuickConnectSummaryList": "

Information about the quick connects.

" } }, @@ -1980,6 +2179,14 @@ "ListQuickConnectsRequest$QuickConnectTypes": "

The type of quick connect. In the Amazon Connect console, when you create a quick connect, you are prompted to assign one of the following types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE).

" } }, + "QuickConnectsList": { + "base": null, + "refs": { + "AssociateQueueQuickConnectsRequest$QuickConnectIds": "

The quick connects to associate with this queue.

", + "CreateQueueRequest$QuickConnectIds": "

The quick connects available to agents who are working the queue.

", + "DisassociateQueueQuickConnectsRequest$QuickConnectIds": "

The quick connects to disassociate from the queue.

" + } + }, "Reference": { "base": "

A link that an agent selects to complete a given task. You can have up to 4,096 UTF-8 bytes across all references for a contact.

", "refs": { @@ -2001,7 +2208,7 @@ "ReferenceValue": { "base": null, "refs": { - "Reference$Value": "

A formatted URL that will be shown to an agent in the Contact Control Panel (CCP)

" + "Reference$Value": "

A formatted URL that displays to an agent in the Contact Control Panel (CCP)

" } }, "ResourceConflictException": { @@ -2087,7 +2294,7 @@ "base": null, "refs": { "AssociateRoutingProfileQueuesRequest$QueueConfigs": "

The queues to associate with this routing profile.

", - "CreateRoutingProfileRequest$QueueConfigs": "

The inbound queues associated with the routing profile. If no queue is added, the agent can only make outbound calls.

", + "CreateRoutingProfileRequest$QueueConfigs": "

The inbound queues associated with the routing profile. If no queue is added, the agent can make only outbound calls.

", "UpdateRoutingProfileQueuesRequest$QueueConfigs": "

The queues to be updated for this routing profile. Queues must first be associated to the routing profile. You can do this using AssociateRoutingProfileQueues.

" } }, @@ -2129,9 +2336,9 @@ } }, "S3Config": { - "base": "

Information about the S3 storage type.

", + "base": "

Information about the Amazon Simple Storage Service (Amazon S3) storage type.

", "refs": { - "InstanceStorageConfig$S3Config": "

The S3 configuration.

" + "InstanceStorageConfig$S3Config": "

The S3 bucket configuration.

" } }, "SecurityKey": { @@ -2311,10 +2518,13 @@ "refs": { "ContactFlow$Tags": "

One or more tags.

", "CreateContactFlowRequest$Tags": "

One or more tags.

", + "CreateQueueRequest$Tags": "

One or more tags.

", "CreateQuickConnectRequest$Tags": "

One or more tags.

", "CreateRoutingProfileRequest$Tags": "

One or more tags.

", "CreateUserRequest$Tags": "

One or more tags.

", + "HoursOfOperation$Tags": "

One or more tags.

", "ListTagsForResourceResponse$tags": "

Information about the tags.

", + "Queue$Tags": "

One or more tags.

", "QuickConnect$Tags": "

One or more tags.

", "RoutingProfile$Tags": "

One or more tags.

", "TagResourceRequest$tags": "

One or more tags. For example, { \"tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

", @@ -2349,6 +2559,12 @@ "refs": { } }, + "TimeZone": { + "base": null, + "refs": { + "HoursOfOperation$TimeZone": "

The time zone for the hours of operation.

" + } + }, "Timestamp": { "base": null, "refs": { @@ -2405,6 +2621,31 @@ "refs": { } }, + "UpdateQueueHoursOfOperationRequest": { + "base": null, + "refs": { + } + }, + "UpdateQueueMaxContactsRequest": { + "base": null, + "refs": { + } + }, + "UpdateQueueNameRequest": { + "base": null, + "refs": { + } + }, + "UpdateQueueOutboundCallerConfigRequest": { + "base": null, + "refs": { + } + }, + "UpdateQueueStatusRequest": { + "base": null, + "refs": { + } + }, "UpdateQuickConnectConfigRequest": { "base": null, "refs": { @@ -2568,7 +2809,7 @@ "VoiceRecordingConfiguration": { "base": "

Contains information about the recording configuration settings.

", "refs": { - "StartContactRecordingRequest$VoiceRecordingConfiguration": "

Who is being recorded.

" + "StartContactRecordingRequest$VoiceRecordingConfiguration": "

The person being recorded.

" } }, "VoiceRecordingTrack": { diff --git a/models/apis/connect/2017-08-08/paginators-1.json b/models/apis/connect/2017-08-08/paginators-1.json index c0126382c86..b886a781db3 100644 --- a/models/apis/connect/2017-08-08/paginators-1.json +++ b/models/apis/connect/2017-08-08/paginators-1.json @@ -76,6 +76,12 @@ "output_token": "NextToken", "result_key": "PromptSummaryList" }, + "ListQueueQuickConnects": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "QuickConnectSummaryList" + }, "ListQueues": { "input_token": "NextToken", "limit_key": "MaxResults", diff --git a/models/apis/macie2/2020-01-01/api-2.json b/models/apis/macie2/2020-01-01/api-2.json index e2862a81475..abf26d5370d 100644 --- a/models/apis/macie2/2020-01-01/api-2.json +++ b/models/apis/macie2/2020-01-01/api-2.json @@ -3991,7 +3991,8 @@ "LT", "LTE", "NE", - "CONTAINS" + "CONTAINS", + "STARTS_WITH" ] }, "JobDetails": { @@ -4767,7 +4768,11 @@ "shape": "__listOf__string", "locationName": "buckets" } - } + }, + "required": [ + "accountId", + "buckets" + ] }, "S3BucketOwner": { "type": "structure", @@ -4876,7 +4881,8 @@ "OBJECT_EXTENSION", "OBJECT_LAST_MODIFIED_DATE", "OBJECT_SIZE", - "TAG" + "TAG", + "OBJECT_KEY" ] }, "Scoping": { diff --git a/models/apis/macie2/2020-01-01/docs-2.json b/models/apis/macie2/2020-01-01/docs-2.json index a29ebc8a1b1..4316c13ecac 100644 --- a/models/apis/macie2/2020-01-01/docs-2.json +++ b/models/apis/macie2/2020-01-01/docs-2.json @@ -132,7 +132,7 @@ "refs" : { } }, "BlockPublicAccess" : { - "base" : "

Provides information about the block public access settings for an S3 bucket. These settings can apply to a bucket at the account level or bucket level. For detailed information about each setting, see Using Amazon S3 block public access in the Amazon Simple Storage Service Developer Guide.

", + "base" : "

Provides information about the block public access settings for an S3 bucket. These settings can apply to a bucket at the account level or bucket level. For detailed information about each setting, see Blocking public access to your Amazon S3 storage in the Amazon Simple Storage Service User Guide.

", "refs" : { "AccountLevelPermissions$BlockPublicAccess" : "

The block public access settings for the bucket.

", "BucketLevelPermissions$BlockPublicAccess" : "

The block public access settings for the bucket.

" @@ -653,7 +653,7 @@ "base" : "

The operator to use in a condition. Valid values are:

", "refs" : { "ListJobsFilterTerm$Comparator" : "

The operator to use to filter the results.

", - "SimpleScopeTerm$Comparator" : "

The operator to use in the condition. Valid operators for each supported property (key) are:

", + "SimpleScopeTerm$Comparator" : "

The operator to use in the condition. Valid operators for each supported property (key) are:

", "TagScopeTerm$Comparator" : "

The operator to use in the condition. Valid operators are EQ (equals) or NE (not equals).

" } }, @@ -1481,7 +1481,7 @@ "ListJobsFilterTerm$Values" : "

An array that lists one or more values to use to filter the results.

", "ReplicationDetails$ReplicationAccounts" : "

An array of AWS account IDs, one for each AWS account that the bucket is configured to replicate one or more objects to.

", "S3BucketDefinitionForJob$Buckets" : "

An array that lists the names of the buckets.

", - "SimpleScopeTerm$Values" : "

An array that lists the values to use in the condition. If the value for the key property is OBJECT_EXTENSION, this array can specify multiple values and Amazon Macie uses an OR operator to join the values. Otherwise, this array can specify only one value. Valid values for each supported property (key) are:

", + "SimpleScopeTerm$Values" : "

An array that lists the values to use in the condition. If the value for the key property is OBJECT_EXTENSION or OBJECT_KEY, this array can specify multiple values and Amazon Macie uses an OR operator to join the values. Otherwise, this array can specify only one value.

Valid values for each supported property (key) are:

Macie doesn't support use of wildcard characters in values. Also, string values are case sensitive.

", "TestCustomDataIdentifierRequest$IgnoreWords" : "

An array that lists specific character sequences (ignore words) to exclude from the results. If the text matched by the regular expression is the same as any string in this array, Amazon Macie ignores it. The array can contain as many as 10 ignore words. Each ignore word can contain 4 - 90 characters. Ignore words are case sensitive.

", "TestCustomDataIdentifierRequest$Keywords" : "

An array that lists specific character sequences (keywords), one of which must be within proximity (maximumMatchDistance) of the regular expression to match. The array can contain as many as 50 keywords. Each keyword can contain 4 - 90 characters. Keywords aren't case sensitive.

", "UsageStatisticsFilter$Values" : "

An array that lists values to use in the condition, based on the value for the field specified by the key property. If the value for the key property is accountId, this array can specify multiple values. Otherwise, this array can specify only one value.

Valid values for each supported field are:

" @@ -1689,7 +1689,7 @@ "ResourceNotFoundException$Message" : "

The explanation of the error that occurred.

", "S3Bucket$Arn" : "

The Amazon Resource Name (ARN) of the bucket.

", "S3Bucket$Name" : "

The name of the bucket.

", - "S3BucketDefinitionForJob$AccountId" : "

The unique identifier for the AWS account that owns the buckets. If you specify this value and don't specify a value for the buckets array, the job analyzes objects in all the buckets that are owned by the account and meet other conditions specified for the job.

", + "S3BucketDefinitionForJob$AccountId" : "

The unique identifier for the AWS account that owns the buckets.

", "S3BucketOwner$DisplayName" : "

The display name of the user who owns the bucket.

", "S3BucketOwner$Id" : "

The AWS account ID for the user who owns the bucket.

", "S3Destination$BucketName" : "

The name of the bucket.

", diff --git a/models/apis/medialive/2017-10-14/api-2.json b/models/apis/medialive/2017-10-14/api-2.json index d5ab04eab88..5b75e21fa37 100644 --- a/models/apis/medialive/2017-10-14/api-2.json +++ b/models/apis/medialive/2017-10-14/api-2.json @@ -3482,6 +3482,10 @@ "Tags": { "shape": "Tags", "locationName": "tags" + }, + "Vpc": { + "shape": "VpcOutputSettings", + "locationName": "vpc" } } }, @@ -3588,6 +3592,10 @@ "Tags": { "shape": "Tags", "locationName": "tags" + }, + "Vpc": { + "shape": "VpcOutputSettings", + "locationName": "vpc" } } }, @@ -3661,6 +3669,10 @@ "Tags": { "shape": "Tags", "locationName": "tags" + }, + "Vpc": { + "shape": "VpcOutputSettings", + "locationName": "vpc" } } }, @@ -3716,6 +3728,10 @@ "Tags": { "shape": "Tags", "locationName": "tags" + }, + "Vpc": { + "shape": "VpcOutputSettings", + "locationName": "vpc" } } }, @@ -4134,6 +4150,10 @@ "Tags": { "shape": "Tags", "locationName": "tags" + }, + "Vpc": { + "shape": "VpcOutputSettings", + "locationName": "vpc" } } }, @@ -4481,6 +4501,10 @@ "Tags": { "shape": "Tags", "locationName": "tags" + }, + "Vpc": { + "shape": "VpcOutputSettings", + "locationName": "vpc" } } }, @@ -10943,6 +10967,10 @@ "Tags": { "shape": "Tags", "locationName": "tags" + }, + "Vpc": { + "shape": "VpcOutputSettings", + "locationName": "vpc" } } }, @@ -11169,6 +11197,10 @@ "Tags": { "shape": "Tags", "locationName": "tags" + }, + "Vpc": { + "shape": "VpcOutputSettings", + "locationName": "vpc" } } }, @@ -12196,6 +12228,26 @@ } } }, + "VpcOutputSettings": { + "type": "structure", + "members": { + "PublicAddressAllocationIds": { + "shape": "__listOf__string", + "locationName": "publicAddressAllocationIds" + }, + "SecurityGroupIds": { + "shape": "__listOf__string", + "locationName": "securityGroupIds" + }, + "SubnetIds": { + "shape": "__listOf__string", + "locationName": "subnetIds" + } + }, + "required": [ + "SubnetIds" + ] + }, "WavCodingMode": { "type": "string", "enum": [ diff --git a/models/apis/medialive/2017-10-14/docs-2.json b/models/apis/medialive/2017-10-14/docs-2.json index c5cc3276c64..63fa81de0c0 100644 --- a/models/apis/medialive/2017-10-14/docs-2.json +++ b/models/apis/medialive/2017-10-14/docs-2.json @@ -3149,6 +3149,14 @@ "VideoSelector$SelectorSettings": "The video selector settings." } }, + "VpcOutputSettings": { + "base": "The properties for a private VPC Output\nWhen this property is specified, the output egress addresses will be created in a user specified VPC\n", + "refs": { + "Channel$Vpc": "Settings for VPC output", + "ChannelSummary$Vpc": "Settings for VPC output", + "CreateChannel$Vpc": "Settings for VPC output" + } + }, "WavCodingMode": { "base": "Wav Coding Mode", "refs": { @@ -4014,7 +4022,10 @@ "MultiplexSummary$AvailabilityZones": "A list of availability zones for the multiplex.", "Output$AudioDescriptionNames": "The names of the AudioDescriptions used as audio sources for this output.", "Output$CaptionDescriptionNames": "The names of the CaptionDescriptions used as caption sources for this output.", - "UpdateInput$InputSecurityGroups": "A list of security groups referenced by IDs to attach to the input." + "UpdateInput$InputSecurityGroups": "A list of security groups referenced by IDs to attach to the input.", + "VpcOutputSettings$PublicAddressAllocationIds": "List of public address allocation ids to associate with ENIs that will be created in Output VPC.\nMust specify one for SINGLE_PIPELINE, two for STANDARD channels\n", + "VpcOutputSettings$SecurityGroupIds": "A list of up to 5 EC2 VPC security group IDs to attach to the Output VPC network interfaces.\nIf none are specified then the VPC default security group will be used\n", + "VpcOutputSettings$SubnetIds": "A list of VPC subnet IDs from the same VPC.\nIf STANDARD channel, subnet IDs must be mapped to two unique availability zones (AZ).\n" } }, "__longMin0Max1099511627775": { diff --git a/models/apis/transcribe-streaming/2017-10-26/api-2.json b/models/apis/transcribe-streaming/2017-10-26/api-2.json index b8df57377ef..a3008d421e4 100755 --- a/models/apis/transcribe-streaming/2017-10-26/api-2.json +++ b/models/apis/transcribe-streaming/2017-10-26/api-2.json @@ -166,13 +166,32 @@ "type":"structure", "members":{ "Transcript":{"shape":"String"}, - "Items":{"shape":"MedicalItemList"} + "Items":{"shape":"MedicalItemList"}, + "Entities":{"shape":"MedicalEntityList"} } }, "MedicalAlternativeList":{ "type":"list", "member":{"shape":"MedicalAlternative"} }, + "MedicalContentIdentificationType":{ + "type":"string", + "enum":["PHI"] + }, + "MedicalEntity":{ + "type":"structure", + "members":{ + "StartTime":{"shape":"Double"}, + "EndTime":{"shape":"Double"}, + "Category":{"shape":"String"}, + "Content":{"shape":"String"}, + "Confidence":{"shape":"Confidence"} + } + }, + "MedicalEntityList":{ + "type":"list", + "member":{"shape":"MedicalEntity"} + }, "MedicalItem":{ "type":"structure", "members":{ @@ -334,6 +353,11 @@ "shape":"NumberOfChannels", "location":"header", "locationName":"x-amzn-transcribe-number-of-channels" + }, + "ContentIdentificationType":{ + "shape":"MedicalContentIdentificationType", + "location":"header", + "locationName":"x-amzn-transcribe-content-identification-type" } }, "payload":"AudioStream" @@ -396,6 +420,11 @@ "shape":"NumberOfChannels", "location":"header", "locationName":"x-amzn-transcribe-number-of-channels" + }, + "ContentIdentificationType":{ + "shape":"MedicalContentIdentificationType", + "location":"header", + "locationName":"x-amzn-transcribe-content-identification-type" } }, "payload":"TranscriptResultStream" diff --git a/models/apis/transcribe-streaming/2017-10-26/docs-2.json b/models/apis/transcribe-streaming/2017-10-26/docs-2.json index a043ac5fcbf..e665c5f5e53 100755 --- a/models/apis/transcribe-streaming/2017-10-26/docs-2.json +++ b/models/apis/transcribe-streaming/2017-10-26/docs-2.json @@ -21,13 +21,13 @@ "AudioChunk": { "base": null, "refs": { - "AudioEvent$AudioChunk": "

An audio blob that contains the next part of the audio that you want to transcribe.

" + "AudioEvent$AudioChunk": "

An audio blob that contains the next part of the audio that you want to transcribe. The maximum audio chunk size is 32 KB.

" } }, "AudioEvent": { "base": "

Provides a wrapper for the audio chunks that you are sending.

", "refs": { - "AudioStream$AudioEvent": "

A blob of audio from your application. You audio stream consists of one or more audio events.

" + "AudioStream$AudioEvent": "

A blob of audio from your application. You audio stream consists of one or more audio events. For information on audio encoding formats, see input. For more information on stream encoding, see event-stream.

" } }, "AudioStream": { @@ -63,6 +63,7 @@ "Confidence": { "base": null, "refs": { + "MedicalEntity$Confidence": "

A value between zero and one that Amazon Transcribe Medical assigned to the personal health information that it identified in the source audio. Larger values indicate that Amazon Transcribe Medical has higher confidence in the personal health information that it identified.

", "MedicalItem$Confidence": "

A value between 0 and 1 for an item that is a confidence score that Amazon Transcribe Medical assigns to each word that it transcribes.

" } }, @@ -78,6 +79,8 @@ "refs": { "Item$StartTime": "

The offset from the beginning of the audio stream to the beginning of the audio that resulted in the item.

", "Item$EndTime": "

The offset from the beginning of the audio stream to the end of the audio that resulted in the item.

", + "MedicalEntity$StartTime": "

The start time of the speech that was identified as a medical entity.

", + "MedicalEntity$EndTime": "

The end time of the speech that was identified as a medical entity.

", "MedicalItem$StartTime": "

The number of seconds into an audio stream that indicates the creation time of an item.

", "MedicalItem$EndTime": "

The number of seconds into an audio stream that indicates the creation time of an item.

", "MedicalResult$StartTime": "

The time, in seconds, from the beginning of the audio stream to the beginning of the result.

", @@ -158,6 +161,25 @@ "MedicalResult$Alternatives": "

A list of possible transcriptions of the audio. Each alternative typically contains one Item that contains the result of the transcription.

" } }, + "MedicalContentIdentificationType": { + "base": null, + "refs": { + "StartMedicalStreamTranscriptionRequest$ContentIdentificationType": "

Set this field to PHI to identify personal health information in the transcription output.

", + "StartMedicalStreamTranscriptionResponse$ContentIdentificationType": "

If the value is PHI, indicates that you've configured your stream to identify personal health information.

" + } + }, + "MedicalEntity": { + "base": "

The medical entity identified as personal health information.

", + "refs": { + "MedicalEntityList$member": null + } + }, + "MedicalEntityList": { + "base": null, + "refs": { + "MedicalAlternative$Entities": "

Contains the medical entities identified as personal health information in the transcription output.

" + } + }, "MedicalItem": { "base": "

A word or punctuation that is transcribed from the input audio.

", "refs": { @@ -282,6 +304,8 @@ "Item$Speaker": "

If speaker identification is enabled, shows the speakers identified in the real-time stream.

", "LimitExceededException$Message": null, "MedicalAlternative$Transcript": "

The text that was transcribed from the audio.

", + "MedicalEntity$Category": "

The type of personal health information of the medical entity.

", + "MedicalEntity$Content": "

The word or words in the transcription output that have been identified as a medical entity.

", "MedicalItem$Content": "

The word or punctuation mark that was recognized in the input audio.

", "MedicalItem$Speaker": "

If speaker identification is enabled, shows the integer values that correspond to the different speakers identified in the stream. For example, if the value of Speaker in the stream is either a 0 or a 1, that indicates that Amazon Transcribe Medical has identified two speakers in the stream. The value of 0 corresponds to one speaker and the value of 1 corresponds to the other speaker.

", "MedicalResult$ResultId": "

A unique identifier for the result.

", diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index e66a08cbf76..4d2aba8baa0 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -9407,6 +9407,16 @@ "us-iso-east-1" : { } } }, + "medialive" : { + "endpoints" : { + "us-iso-east-1" : { } + } + }, + "mediapackage" : { + "endpoints" : { + "us-iso-east-1" : { } + } + }, "monitoring" : { "endpoints" : { "us-iso-east-1" : { } diff --git a/service/connect/api.go b/service/connect/api.go index 37959563d4b..20d1ca6d9c2 100644 --- a/service/connect/api.go +++ b/service/connect/api.go @@ -77,7 +77,7 @@ func (c *Connect) AssociateApprovedOriginRequest(input *AssociateApprovedOriginI // A resource already has that name. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * InvalidRequestException // The request is not valid. @@ -166,7 +166,7 @@ func (c *Connect) AssociateInstanceStorageConfigRequest(input *AssociateInstance // // This API does not create a resource that doesn't exist. It only associates // it to the instance. Ensure that the resource being specified in the storage -// configuration, like an Amazon S3 bucket, exists when being used for association. +// configuration, like an S3 bucket, exists when being used for association. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -183,7 +183,7 @@ func (c *Connect) AssociateInstanceStorageConfigRequest(input *AssociateInstance // A resource already has that name. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * InvalidRequestException // The request is not valid. @@ -281,7 +281,7 @@ func (c *Connect) AssociateLambdaFunctionRequest(input *AssociateLambdaFunctionI // A resource already has that name. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * InvalidRequestException // The request is not valid. @@ -382,7 +382,7 @@ func (c *Connect) AssociateLexBotRequest(input *AssociateLexBotInput) (req *requ // A resource already has that name. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * InvalidRequestException // The request is not valid. @@ -418,6 +418,103 @@ func (c *Connect) AssociateLexBotWithContext(ctx aws.Context, input *AssociateLe return out, req.Send() } +const opAssociateQueueQuickConnects = "AssociateQueueQuickConnects" + +// AssociateQueueQuickConnectsRequest generates a "aws/request.Request" representing the +// client's request for the AssociateQueueQuickConnects operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See AssociateQueueQuickConnects for more information on using the AssociateQueueQuickConnects +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the AssociateQueueQuickConnectsRequest method. +// req, resp := client.AssociateQueueQuickConnectsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateQueueQuickConnects +func (c *Connect) AssociateQueueQuickConnectsRequest(input *AssociateQueueQuickConnectsInput) (req *request.Request, output *AssociateQueueQuickConnectsOutput) { + op := &request.Operation{ + Name: opAssociateQueueQuickConnects, + HTTPMethod: "POST", + HTTPPath: "/queues/{InstanceId}/{QueueId}/associate-quick-connects", + } + + if input == nil { + input = &AssociateQueueQuickConnectsInput{} + } + + output = &AssociateQueueQuickConnectsOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// AssociateQueueQuickConnects API operation for Amazon Connect Service. +// +// This API is in preview release for Amazon Connect and is subject to change. +// +// Associates a set of quick connects with a queue. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Connect Service's +// API operation AssociateQueueQuickConnects for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// The request is not valid. +// +// * InvalidParameterException +// One or more of the specified parameters are not valid. +// +// * ResourceNotFoundException +// The specified resource was not found. +// +// * LimitExceededException +// The allowed limit for the resource has been exceeded. +// +// * ThrottlingException +// The throttling limit has been exceeded. +// +// * InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateQueueQuickConnects +func (c *Connect) AssociateQueueQuickConnects(input *AssociateQueueQuickConnectsInput) (*AssociateQueueQuickConnectsOutput, error) { + req, out := c.AssociateQueueQuickConnectsRequest(input) + return out, req.Send() +} + +// AssociateQueueQuickConnectsWithContext is the same as AssociateQueueQuickConnects with the addition of +// the ability to pass a context and additional request options. +// +// See AssociateQueueQuickConnects for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Connect) AssociateQueueQuickConnectsWithContext(ctx aws.Context, input *AssociateQueueQuickConnectsInput, opts ...request.Option) (*AssociateQueueQuickConnectsOutput, error) { + req, out := c.AssociateQueueQuickConnectsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opAssociateRoutingProfileQueues = "AssociateRoutingProfileQueues" // AssociateRoutingProfileQueuesRequest generates a "aws/request.Request" representing the @@ -486,7 +583,7 @@ func (c *Connect) AssociateRoutingProfileQueuesRequest(input *AssociateRoutingPr // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateRoutingProfileQueues func (c *Connect) AssociateRoutingProfileQueues(input *AssociateRoutingProfileQueuesInput) (*AssociateRoutingProfileQueuesOutput, error) { @@ -573,7 +670,7 @@ func (c *Connect) AssociateSecurityKeyRequest(input *AssociateSecurityKeyInput) // A resource already has that name. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * InvalidRequestException // The request is not valid. @@ -688,7 +785,7 @@ func (c *Connect) CreateContactFlowRequest(input *CreateContactFlowInput) (req * // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateContactFlow func (c *Connect) CreateContactFlow(input *CreateContactFlowInput) (*CreateContactFlowOutput, error) { @@ -759,8 +856,9 @@ func (c *Connect) CreateInstanceRequest(input *CreateInstanceInput) (req *reques // This API is in preview release for Amazon Connect and is subject to change. // // Initiates an Amazon Connect instance with all the supported channels enabled. -// It does not attach any storage (such as Amazon S3, or Kinesis) or allow for -// any configurations on features such as Contact Lens for Amazon Connect. +// 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. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -783,7 +881,7 @@ func (c *Connect) CreateInstanceRequest(input *CreateInstanceInput) (req *reques // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateInstance func (c *Connect) CreateInstance(input *CreateInstanceInput) (*CreateInstanceOutput, error) { @@ -870,7 +968,7 @@ func (c *Connect) CreateIntegrationAssociationRequest(input *CreateIntegrationAs // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * InvalidRequestException // The request is not valid. @@ -900,6 +998,105 @@ func (c *Connect) CreateIntegrationAssociationWithContext(ctx aws.Context, input return out, req.Send() } +const opCreateQueue = "CreateQueue" + +// CreateQueueRequest generates a "aws/request.Request" representing the +// client's request for the CreateQueue operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateQueue for more information on using the CreateQueue +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateQueueRequest method. +// req, resp := client.CreateQueueRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateQueue +func (c *Connect) CreateQueueRequest(input *CreateQueueInput) (req *request.Request, output *CreateQueueOutput) { + op := &request.Operation{ + Name: opCreateQueue, + HTTPMethod: "PUT", + HTTPPath: "/queues/{InstanceId}", + } + + if input == nil { + input = &CreateQueueInput{} + } + + output = &CreateQueueOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateQueue API operation for Amazon Connect Service. +// +// This API is in preview release for Amazon Connect and is subject to change. +// +// Creates a new queue for the specified Amazon Connect instance. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Connect Service's +// API operation CreateQueue for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// The request is not valid. +// +// * InvalidParameterException +// One or more of the specified parameters are not valid. +// +// * DuplicateResourceException +// A resource with the specified name already exists. +// +// * ResourceNotFoundException +// The specified resource was not found. +// +// * LimitExceededException +// The allowed limit for the resource has been exceeded. +// +// * ThrottlingException +// The throttling limit has been exceeded. +// +// * InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateQueue +func (c *Connect) CreateQueue(input *CreateQueueInput) (*CreateQueueOutput, error) { + req, out := c.CreateQueueRequest(input) + return out, req.Send() +} + +// CreateQueueWithContext is the same as CreateQueue with the addition of +// the ability to pass a context and additional request options. +// +// See CreateQueue for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Connect) CreateQueueWithContext(ctx aws.Context, input *CreateQueueInput, opts ...request.Option) (*CreateQueueOutput, error) { + req, out := c.CreateQueueRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateQuickConnect = "CreateQuickConnect" // CreateQuickConnectRequest generates a "aws/request.Request" representing the @@ -975,7 +1172,7 @@ func (c *Connect) CreateQuickConnectRequest(input *CreateQuickConnectInput) (req // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateQuickConnect func (c *Connect) CreateQuickConnect(input *CreateQuickConnectInput) (*CreateQuickConnectOutput, error) { @@ -1072,7 +1269,7 @@ func (c *Connect) CreateRoutingProfileRequest(input *CreateRoutingProfileInput) // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateRoutingProfile func (c *Connect) CreateRoutingProfile(input *CreateRoutingProfileInput) (*CreateRoutingProfileOutput, error) { @@ -1159,7 +1356,7 @@ func (c *Connect) CreateUseCaseRequest(input *CreateUseCaseInput) (req *request. // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * InvalidRequestException // The request is not valid. @@ -1266,7 +1463,7 @@ func (c *Connect) CreateUserRequest(input *CreateUserInput) (req *request.Reques // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateUser func (c *Connect) CreateUser(input *CreateUserInput) (*CreateUserOutput, error) { @@ -1363,7 +1560,7 @@ func (c *Connect) CreateUserHierarchyGroupRequest(input *CreateUserHierarchyGrou // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateUserHierarchyGroup func (c *Connect) CreateUserHierarchyGroup(input *CreateUserHierarchyGroupInput) (*CreateUserHierarchyGroupOutput, error) { @@ -1448,7 +1645,7 @@ func (c *Connect) DeleteInstanceRequest(input *DeleteInstanceInput) (req *reques // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * InvalidRequestException // The request is not valid. @@ -1537,7 +1734,7 @@ func (c *Connect) DeleteIntegrationAssociationRequest(input *DeleteIntegrationAs // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * InvalidRequestException // The request is not valid. @@ -1637,7 +1834,7 @@ func (c *Connect) DeleteQuickConnectRequest(input *DeleteQuickConnectInput) (req // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteQuickConnect func (c *Connect) DeleteQuickConnect(input *DeleteQuickConnectInput) (*DeleteQuickConnectOutput, error) { @@ -1722,7 +1919,7 @@ func (c *Connect) DeleteUseCaseRequest(input *DeleteUseCaseInput) (req *request. // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * InvalidRequestException // The request is not valid. @@ -1824,7 +2021,7 @@ func (c *Connect) DeleteUserRequest(input *DeleteUserInput) (req *request.Reques // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteUser func (c *Connect) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error) { @@ -1920,7 +2117,7 @@ func (c *Connect) DeleteUserHierarchyGroupRequest(input *DeleteUserHierarchyGrou // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteUserHierarchyGroup func (c *Connect) DeleteUserHierarchyGroup(input *DeleteUserHierarchyGroupInput) (*DeleteUserHierarchyGroupOutput, error) { @@ -2017,7 +2214,7 @@ func (c *Connect) DescribeContactFlowRequest(input *DescribeContactFlowInput) (r // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeContactFlow func (c *Connect) DescribeContactFlow(input *DescribeContactFlowInput) (*DescribeContactFlowOutput, error) { @@ -2041,6 +2238,99 @@ func (c *Connect) DescribeContactFlowWithContext(ctx aws.Context, input *Describ return out, req.Send() } +const opDescribeHoursOfOperation = "DescribeHoursOfOperation" + +// DescribeHoursOfOperationRequest generates a "aws/request.Request" representing the +// client's request for the DescribeHoursOfOperation operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeHoursOfOperation for more information on using the DescribeHoursOfOperation +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeHoursOfOperationRequest method. +// req, resp := client.DescribeHoursOfOperationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeHoursOfOperation +func (c *Connect) DescribeHoursOfOperationRequest(input *DescribeHoursOfOperationInput) (req *request.Request, output *DescribeHoursOfOperationOutput) { + op := &request.Operation{ + Name: opDescribeHoursOfOperation, + HTTPMethod: "GET", + HTTPPath: "/hours-of-operations/{InstanceId}/{HoursOfOperationId}", + } + + if input == nil { + input = &DescribeHoursOfOperationInput{} + } + + output = &DescribeHoursOfOperationOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeHoursOfOperation API operation for Amazon Connect Service. +// +// This API is in preview release for Amazon Connect and is subject to change. +// +// Describes the hours of operation. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Connect Service's +// API operation DescribeHoursOfOperation for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// The request is not valid. +// +// * InvalidParameterException +// One or more of the specified parameters are not valid. +// +// * ResourceNotFoundException +// The specified resource was not found. +// +// * ThrottlingException +// The throttling limit has been exceeded. +// +// * InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeHoursOfOperation +func (c *Connect) DescribeHoursOfOperation(input *DescribeHoursOfOperationInput) (*DescribeHoursOfOperationOutput, error) { + req, out := c.DescribeHoursOfOperationRequest(input) + return out, req.Send() +} + +// DescribeHoursOfOperationWithContext is the same as DescribeHoursOfOperation with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeHoursOfOperation for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Connect) DescribeHoursOfOperationWithContext(ctx aws.Context, input *DescribeHoursOfOperationInput, opts ...request.Option) (*DescribeHoursOfOperationOutput, error) { + req, out := c.DescribeHoursOfOperationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeInstance = "DescribeInstance" // DescribeInstanceRequest generates a "aws/request.Request" representing the @@ -2088,7 +2378,7 @@ func (c *Connect) DescribeInstanceRequest(input *DescribeInstanceInput) (req *re // This API is in preview release for Amazon Connect and is subject to change. // // Returns the current state of the specified instance identifier. It tracks -// the instance while it is being created and returns an error status if applicable. +// the instance while it is being created and returns an error status, if applicable. // // If an instance is not created successfully, the instance status reason field // returns details relevant to the reason. The instance in a failed state is @@ -2109,7 +2399,7 @@ func (c *Connect) DescribeInstanceRequest(input *DescribeInstanceInput) (req *re // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeInstance func (c *Connect) DescribeInstance(input *DescribeInstanceInput) (*DescribeInstanceOutput, error) { @@ -2193,7 +2483,7 @@ func (c *Connect) DescribeInstanceAttributeRequest(input *DescribeInstanceAttrib // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * InvalidRequestException // The request is not valid. @@ -2287,7 +2577,7 @@ func (c *Connect) DescribeInstanceStorageConfigRequest(input *DescribeInstanceSt // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * InvalidRequestException // The request is not valid. @@ -2320,60 +2610,60 @@ func (c *Connect) DescribeInstanceStorageConfigWithContext(ctx aws.Context, inpu return out, req.Send() } -const opDescribeQuickConnect = "DescribeQuickConnect" +const opDescribeQueue = "DescribeQueue" -// DescribeQuickConnectRequest generates a "aws/request.Request" representing the -// client's request for the DescribeQuickConnect operation. The "output" return +// DescribeQueueRequest generates a "aws/request.Request" representing the +// client's request for the DescribeQueue operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DescribeQuickConnect for more information on using the DescribeQuickConnect +// See DescribeQueue for more information on using the DescribeQueue // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DescribeQuickConnectRequest method. -// req, resp := client.DescribeQuickConnectRequest(params) +// // Example sending a request using the DescribeQueueRequest method. +// req, resp := client.DescribeQueueRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeQuickConnect -func (c *Connect) DescribeQuickConnectRequest(input *DescribeQuickConnectInput) (req *request.Request, output *DescribeQuickConnectOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeQueue +func (c *Connect) DescribeQueueRequest(input *DescribeQueueInput) (req *request.Request, output *DescribeQueueOutput) { op := &request.Operation{ - Name: opDescribeQuickConnect, + Name: opDescribeQueue, HTTPMethod: "GET", - HTTPPath: "/quick-connects/{InstanceId}/{QuickConnectId}", + HTTPPath: "/queues/{InstanceId}/{QueueId}", } if input == nil { - input = &DescribeQuickConnectInput{} + input = &DescribeQueueInput{} } - output = &DescribeQuickConnectOutput{} + output = &DescribeQueueOutput{} req = c.newRequest(op, input, output) return } -// DescribeQuickConnect API operation for Amazon Connect Service. +// DescribeQueue API operation for Amazon Connect Service. // // This API is in preview release for Amazon Connect and is subject to change. // -// Describes the quick connect. +// Describes the specified queue. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Connect Service's -// API operation DescribeQuickConnect for usage and error information. +// API operation DescribeQueue for usage and error information. // // Returned Error Types: // * InvalidRequestException @@ -2389,57 +2679,150 @@ func (c *Connect) DescribeQuickConnectRequest(input *DescribeQuickConnectInput) // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeQuickConnect -func (c *Connect) DescribeQuickConnect(input *DescribeQuickConnectInput) (*DescribeQuickConnectOutput, error) { - req, out := c.DescribeQuickConnectRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeQueue +func (c *Connect) DescribeQueue(input *DescribeQueueInput) (*DescribeQueueOutput, error) { + req, out := c.DescribeQueueRequest(input) return out, req.Send() } -// DescribeQuickConnectWithContext is the same as DescribeQuickConnect with the addition of +// DescribeQueueWithContext is the same as DescribeQueue with the addition of // the ability to pass a context and additional request options. // -// See DescribeQuickConnect for details on how to use this API operation. +// See DescribeQueue for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Connect) DescribeQuickConnectWithContext(ctx aws.Context, input *DescribeQuickConnectInput, opts ...request.Option) (*DescribeQuickConnectOutput, error) { - req, out := c.DescribeQuickConnectRequest(input) +func (c *Connect) DescribeQueueWithContext(ctx aws.Context, input *DescribeQueueInput, opts ...request.Option) (*DescribeQueueOutput, error) { + req, out := c.DescribeQueueRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDescribeRoutingProfile = "DescribeRoutingProfile" +const opDescribeQuickConnect = "DescribeQuickConnect" -// DescribeRoutingProfileRequest generates a "aws/request.Request" representing the -// client's request for the DescribeRoutingProfile operation. The "output" return +// DescribeQuickConnectRequest generates a "aws/request.Request" representing the +// client's request for the DescribeQuickConnect operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See DescribeRoutingProfile for more information on using the DescribeRoutingProfile +// See DescribeQuickConnect for more information on using the DescribeQuickConnect // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the DescribeRoutingProfileRequest method. -// req, resp := client.DescribeRoutingProfileRequest(params) +// // Example sending a request using the DescribeQuickConnectRequest method. +// req, resp := client.DescribeQuickConnectRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeRoutingProfile -func (c *Connect) DescribeRoutingProfileRequest(input *DescribeRoutingProfileInput) (req *request.Request, output *DescribeRoutingProfileOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeQuickConnect +func (c *Connect) DescribeQuickConnectRequest(input *DescribeQuickConnectInput) (req *request.Request, output *DescribeQuickConnectOutput) { + op := &request.Operation{ + Name: opDescribeQuickConnect, + HTTPMethod: "GET", + HTTPPath: "/quick-connects/{InstanceId}/{QuickConnectId}", + } + + if input == nil { + input = &DescribeQuickConnectInput{} + } + + output = &DescribeQuickConnectOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeQuickConnect API operation for Amazon Connect Service. +// +// This API is in preview release for Amazon Connect and is subject to change. +// +// Describes the quick connect. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Connect Service's +// API operation DescribeQuickConnect for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// The request is not valid. +// +// * InvalidParameterException +// One or more of the specified parameters are not valid. +// +// * ResourceNotFoundException +// The specified resource was not found. +// +// * ThrottlingException +// The throttling limit has been exceeded. +// +// * InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeQuickConnect +func (c *Connect) DescribeQuickConnect(input *DescribeQuickConnectInput) (*DescribeQuickConnectOutput, error) { + req, out := c.DescribeQuickConnectRequest(input) + return out, req.Send() +} + +// DescribeQuickConnectWithContext is the same as DescribeQuickConnect with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeQuickConnect for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Connect) DescribeQuickConnectWithContext(ctx aws.Context, input *DescribeQuickConnectInput, opts ...request.Option) (*DescribeQuickConnectOutput, error) { + req, out := c.DescribeQuickConnectRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeRoutingProfile = "DescribeRoutingProfile" + +// DescribeRoutingProfileRequest generates a "aws/request.Request" representing the +// client's request for the DescribeRoutingProfile operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeRoutingProfile for more information on using the DescribeRoutingProfile +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeRoutingProfileRequest method. +// req, resp := client.DescribeRoutingProfileRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeRoutingProfile +func (c *Connect) DescribeRoutingProfileRequest(input *DescribeRoutingProfileInput) (req *request.Request, output *DescribeRoutingProfileOutput) { op := &request.Operation{ Name: opDescribeRoutingProfile, HTTPMethod: "GET", @@ -2480,7 +2863,7 @@ func (c *Connect) DescribeRoutingProfileRequest(input *DescribeRoutingProfileInp // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeRoutingProfile func (c *Connect) DescribeRoutingProfile(input *DescribeRoutingProfileInput) (*DescribeRoutingProfileOutput, error) { @@ -2573,7 +2956,7 @@ func (c *Connect) DescribeUserRequest(input *DescribeUserInput) (req *request.Re // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeUser func (c *Connect) DescribeUser(input *DescribeUserInput) (*DescribeUserOutput, error) { @@ -2664,7 +3047,7 @@ func (c *Connect) DescribeUserHierarchyGroupRequest(input *DescribeUserHierarchy // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeUserHierarchyGroup func (c *Connect) DescribeUserHierarchyGroup(input *DescribeUserHierarchyGroupInput) (*DescribeUserHierarchyGroupOutput, error) { @@ -2755,7 +3138,7 @@ func (c *Connect) DescribeUserHierarchyStructureRequest(input *DescribeUserHiera // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeUserHierarchyStructure func (c *Connect) DescribeUserHierarchyStructure(input *DescribeUserHierarchyStructureInput) (*DescribeUserHierarchyStructureOutput, error) { @@ -2840,7 +3223,7 @@ func (c *Connect) DisassociateApprovedOriginRequest(input *DisassociateApprovedO // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * InvalidRequestException // The request is not valid. @@ -2935,7 +3318,7 @@ func (c *Connect) DisassociateInstanceStorageConfigRequest(input *DisassociateIn // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * InvalidRequestException // The request is not valid. @@ -3015,7 +3398,7 @@ func (c *Connect) DisassociateLambdaFunctionRequest(input *DisassociateLambdaFun // // This API is in preview release for Amazon Connect and is subject to change. // -// Remove the Lambda function from the drop-down options available in the relevant +// Remove the Lambda function from the dropdown options available in the relevant // contact flow blocks. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -3030,7 +3413,7 @@ func (c *Connect) DisassociateLambdaFunctionRequest(input *DisassociateLambdaFun // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * InvalidRequestException // The request is not valid. @@ -3125,7 +3508,7 @@ func (c *Connect) DisassociateLexBotRequest(input *DisassociateLexBotInput) (req // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * InvalidRequestException // The request is not valid. @@ -3158,6 +3541,100 @@ func (c *Connect) DisassociateLexBotWithContext(ctx aws.Context, input *Disassoc return out, req.Send() } +const opDisassociateQueueQuickConnects = "DisassociateQueueQuickConnects" + +// DisassociateQueueQuickConnectsRequest generates a "aws/request.Request" representing the +// client's request for the DisassociateQueueQuickConnects operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DisassociateQueueQuickConnects for more information on using the DisassociateQueueQuickConnects +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DisassociateQueueQuickConnectsRequest method. +// req, resp := client.DisassociateQueueQuickConnectsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateQueueQuickConnects +func (c *Connect) DisassociateQueueQuickConnectsRequest(input *DisassociateQueueQuickConnectsInput) (req *request.Request, output *DisassociateQueueQuickConnectsOutput) { + op := &request.Operation{ + Name: opDisassociateQueueQuickConnects, + HTTPMethod: "POST", + HTTPPath: "/queues/{InstanceId}/{QueueId}/disassociate-quick-connects", + } + + if input == nil { + input = &DisassociateQueueQuickConnectsInput{} + } + + output = &DisassociateQueueQuickConnectsOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DisassociateQueueQuickConnects API operation for Amazon Connect Service. +// +// This API is in preview release for Amazon Connect and is subject to change. +// +// Disassociates a set of quick connects from a queue. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Connect Service's +// API operation DisassociateQueueQuickConnects for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// The request is not valid. +// +// * InvalidParameterException +// One or more of the specified parameters are not valid. +// +// * ResourceNotFoundException +// The specified resource was not found. +// +// * ThrottlingException +// The throttling limit has been exceeded. +// +// * InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateQueueQuickConnects +func (c *Connect) DisassociateQueueQuickConnects(input *DisassociateQueueQuickConnectsInput) (*DisassociateQueueQuickConnectsOutput, error) { + req, out := c.DisassociateQueueQuickConnectsRequest(input) + return out, req.Send() +} + +// DisassociateQueueQuickConnectsWithContext is the same as DisassociateQueueQuickConnects with the addition of +// the ability to pass a context and additional request options. +// +// See DisassociateQueueQuickConnects for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Connect) DisassociateQueueQuickConnectsWithContext(ctx aws.Context, input *DisassociateQueueQuickConnectsInput, opts ...request.Option) (*DisassociateQueueQuickConnectsOutput, error) { + req, out := c.DisassociateQueueQuickConnectsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDisassociateRoutingProfileQueues = "DisassociateRoutingProfileQueues" // DisassociateRoutingProfileQueuesRequest generates a "aws/request.Request" representing the @@ -3226,7 +3703,7 @@ func (c *Connect) DisassociateRoutingProfileQueuesRequest(input *DisassociateRou // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateRoutingProfileQueues func (c *Connect) DisassociateRoutingProfileQueues(input *DisassociateRoutingProfileQueuesInput) (*DisassociateRoutingProfileQueuesOutput, error) { @@ -3311,7 +3788,7 @@ func (c *Connect) DisassociateSecurityKeyRequest(input *DisassociateSecurityKeyI // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * InvalidRequestException // The request is not valid. @@ -3405,7 +3882,7 @@ func (c *Connect) GetContactAttributesRequest(input *GetContactAttributesInput) // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetContactAttributes func (c *Connect) GetContactAttributes(input *GetContactAttributesInput) (*GetContactAttributesOutput, error) { @@ -3499,7 +3976,7 @@ func (c *Connect) GetCurrentMetricDataRequest(input *GetCurrentMetricDataInput) // One or more of the specified parameters are not valid. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * ThrottlingException // The throttling limit has been exceeded. @@ -3648,7 +4125,7 @@ func (c *Connect) GetFederationTokenRequest(input *GetFederationTokenInput) (req // No user with the specified credentials was found in the Amazon Connect instance. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * DuplicateResourceException // A resource with the specified name already exists. @@ -3746,7 +4223,7 @@ func (c *Connect) GetMetricDataRequest(input *GetMetricDataInput) (req *request. // One or more of the specified parameters are not valid. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * ThrottlingException // The throttling limit has been exceeded. @@ -3894,7 +4371,7 @@ func (c *Connect) ListApprovedOriginsRequest(input *ListApprovedOriginsInput) (r // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * InvalidRequestException // The request is not valid. @@ -4059,7 +4536,7 @@ func (c *Connect) ListContactFlowsRequest(input *ListContactFlowsInput) (req *re // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListContactFlows func (c *Connect) ListContactFlows(input *ListContactFlowsInput) (*ListContactFlowsOutput, error) { @@ -4213,7 +4690,7 @@ func (c *Connect) ListHoursOfOperationsRequest(input *ListHoursOfOperationsInput // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListHoursOfOperations func (c *Connect) ListHoursOfOperations(input *ListHoursOfOperationsInput) (*ListHoursOfOperationsOutput, error) { @@ -4355,7 +4832,7 @@ func (c *Connect) ListInstanceAttributesRequest(input *ListInstanceAttributesInp // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * InvalidRequestException // The request is not valid. @@ -4507,7 +4984,7 @@ func (c *Connect) ListInstanceStorageConfigsRequest(input *ListInstanceStorageCo // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * InvalidRequestException // The request is not valid. @@ -4661,7 +5138,7 @@ func (c *Connect) ListInstancesRequest(input *ListInstancesInput) (req *request. // The request is not valid. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListInstances func (c *Connect) ListInstances(input *ListInstancesInput) (*ListInstancesOutput, error) { @@ -4804,7 +5281,7 @@ func (c *Connect) ListIntegrationAssociationsRequest(input *ListIntegrationAssoc // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * InvalidRequestException // The request is not valid. @@ -4938,8 +5415,8 @@ func (c *Connect) ListLambdaFunctionsRequest(input *ListLambdaFunctionsInput) (r // // This API is in preview release for Amazon Connect and is subject to change. // -// Returns a paginated list of all the Lambda functions that show up in the -// drop-down options in the relevant contact flow blocks. +// Returns a paginated list of all Lambda functions that display in the dropdown +// options in the relevant contact flow blocks. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4953,7 +5430,7 @@ func (c *Connect) ListLambdaFunctionsRequest(input *ListLambdaFunctionsInput) (r // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * InvalidRequestException // The request is not valid. @@ -5105,7 +5582,7 @@ func (c *Connect) ListLexBotsRequest(input *ListLexBotsInput) (req *request.Requ // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * InvalidRequestException // The request is not valid. @@ -5268,7 +5745,7 @@ func (c *Connect) ListPhoneNumbersRequest(input *ListPhoneNumbersInput) (req *re // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListPhoneNumbers func (c *Connect) ListPhoneNumbers(input *ListPhoneNumbersInput) (*ListPhoneNumbersOutput, error) { @@ -5417,7 +5894,7 @@ func (c *Connect) ListPromptsRequest(input *ListPromptsInput) (req *request.Requ // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListPrompts func (c *Connect) ListPrompts(input *ListPromptsInput) (*ListPromptsOutput, error) { @@ -5493,37 +5970,37 @@ func (c *Connect) ListPromptsPagesWithContext(ctx aws.Context, input *ListPrompt return p.Err() } -const opListQueues = "ListQueues" +const opListQueueQuickConnects = "ListQueueQuickConnects" -// ListQueuesRequest generates a "aws/request.Request" representing the -// client's request for the ListQueues operation. The "output" return +// ListQueueQuickConnectsRequest generates a "aws/request.Request" representing the +// client's request for the ListQueueQuickConnects operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListQueues for more information on using the ListQueues +// See ListQueueQuickConnects for more information on using the ListQueueQuickConnects // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ListQueuesRequest method. -// req, resp := client.ListQueuesRequest(params) +// // Example sending a request using the ListQueueQuickConnectsRequest method. +// req, resp := client.ListQueueQuickConnectsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListQueues -func (c *Connect) ListQueuesRequest(input *ListQueuesInput) (req *request.Request, output *ListQueuesOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListQueueQuickConnects +func (c *Connect) ListQueueQuickConnectsRequest(input *ListQueueQuickConnectsInput) (req *request.Request, output *ListQueueQuickConnectsOutput) { op := &request.Operation{ - Name: opListQueues, + Name: opListQueueQuickConnects, HTTPMethod: "GET", - HTTPPath: "/queues-summary/{InstanceId}", + HTTPPath: "/queues/{InstanceId}/{QueueId}/quick-connects", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, @@ -5533,27 +6010,26 @@ func (c *Connect) ListQueuesRequest(input *ListQueuesInput) (req *request.Reques } if input == nil { - input = &ListQueuesInput{} + input = &ListQueueQuickConnectsInput{} } - output = &ListQueuesOutput{} + output = &ListQueueQuickConnectsOutput{} req = c.newRequest(op, input, output) return } -// ListQueues API operation for Amazon Connect Service. +// ListQueueQuickConnects API operation for Amazon Connect Service. // -// Provides information about the queues for the specified Amazon Connect instance. +// This API is in preview release for Amazon Connect and is subject to change. // -// For more information about queues, see Queues: Standard and Agent (https://docs.aws.amazon.com/connect/latest/adminguide/concepts-queues-standard-and-agent.html) -// in the Amazon Connect Administrator Guide. +// Lists the quick connects associated with a queue. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Connect Service's -// API operation ListQueues for usage and error information. +// API operation ListQueueQuickConnects for usage and error information. // // Returned Error Types: // * InvalidRequestException @@ -5569,67 +6045,67 @@ func (c *Connect) ListQueuesRequest(input *ListQueuesInput) (req *request.Reques // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListQueues -func (c *Connect) ListQueues(input *ListQueuesInput) (*ListQueuesOutput, error) { - req, out := c.ListQueuesRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListQueueQuickConnects +func (c *Connect) ListQueueQuickConnects(input *ListQueueQuickConnectsInput) (*ListQueueQuickConnectsOutput, error) { + req, out := c.ListQueueQuickConnectsRequest(input) return out, req.Send() } -// ListQueuesWithContext is the same as ListQueues with the addition of +// ListQueueQuickConnectsWithContext is the same as ListQueueQuickConnects with the addition of // the ability to pass a context and additional request options. // -// See ListQueues for details on how to use this API operation. +// See ListQueueQuickConnects for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Connect) ListQueuesWithContext(ctx aws.Context, input *ListQueuesInput, opts ...request.Option) (*ListQueuesOutput, error) { - req, out := c.ListQueuesRequest(input) +func (c *Connect) ListQueueQuickConnectsWithContext(ctx aws.Context, input *ListQueueQuickConnectsInput, opts ...request.Option) (*ListQueueQuickConnectsOutput, error) { + req, out := c.ListQueueQuickConnectsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListQueuesPages iterates over the pages of a ListQueues operation, +// ListQueueQuickConnectsPages iterates over the pages of a ListQueueQuickConnects operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See ListQueues method for more information on how to use this operation. +// See ListQueueQuickConnects method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListQueues operation. +// // Example iterating over at most 3 pages of a ListQueueQuickConnects operation. // pageNum := 0 -// err := client.ListQueuesPages(params, -// func(page *connect.ListQueuesOutput, lastPage bool) bool { +// err := client.ListQueueQuickConnectsPages(params, +// func(page *connect.ListQueueQuickConnectsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) // -func (c *Connect) ListQueuesPages(input *ListQueuesInput, fn func(*ListQueuesOutput, bool) bool) error { - return c.ListQueuesPagesWithContext(aws.BackgroundContext(), input, fn) +func (c *Connect) ListQueueQuickConnectsPages(input *ListQueueQuickConnectsInput, fn func(*ListQueueQuickConnectsOutput, bool) bool) error { + return c.ListQueueQuickConnectsPagesWithContext(aws.BackgroundContext(), input, fn) } -// ListQueuesPagesWithContext same as ListQueuesPages except +// ListQueueQuickConnectsPagesWithContext same as ListQueueQuickConnectsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Connect) ListQueuesPagesWithContext(ctx aws.Context, input *ListQueuesInput, fn func(*ListQueuesOutput, bool) bool, opts ...request.Option) error { +func (c *Connect) ListQueueQuickConnectsPagesWithContext(ctx aws.Context, input *ListQueueQuickConnectsInput, fn func(*ListQueueQuickConnectsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { - var inCpy *ListQueuesInput + var inCpy *ListQueueQuickConnectsInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.ListQueuesRequest(inCpy) + req, _ := c.ListQueueQuickConnectsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -5637,7 +6113,7 @@ func (c *Connect) ListQueuesPagesWithContext(ctx aws.Context, input *ListQueuesI } for p.Next() { - if !fn(p.Page().(*ListQueuesOutput), !p.HasNextPage()) { + if !fn(p.Page().(*ListQueueQuickConnectsOutput), !p.HasNextPage()) { break } } @@ -5645,37 +6121,37 @@ func (c *Connect) ListQueuesPagesWithContext(ctx aws.Context, input *ListQueuesI return p.Err() } -const opListQuickConnects = "ListQuickConnects" +const opListQueues = "ListQueues" -// ListQuickConnectsRequest generates a "aws/request.Request" representing the -// client's request for the ListQuickConnects operation. The "output" return +// ListQueuesRequest generates a "aws/request.Request" representing the +// client's request for the ListQueues operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListQuickConnects for more information on using the ListQuickConnects +// See ListQueues for more information on using the ListQueues // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ListQuickConnectsRequest method. -// req, resp := client.ListQuickConnectsRequest(params) +// // Example sending a request using the ListQueuesRequest method. +// req, resp := client.ListQueuesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListQuickConnects -func (c *Connect) ListQuickConnectsRequest(input *ListQuickConnectsInput) (req *request.Request, output *ListQuickConnectsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListQueues +func (c *Connect) ListQueuesRequest(input *ListQueuesInput) (req *request.Request, output *ListQueuesOutput) { op := &request.Operation{ - Name: opListQuickConnects, + Name: opListQueues, HTTPMethod: "GET", - HTTPPath: "/quick-connects/{InstanceId}", + HTTPPath: "/queues-summary/{InstanceId}", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, @@ -5685,27 +6161,27 @@ func (c *Connect) ListQuickConnectsRequest(input *ListQuickConnectsInput) (req * } if input == nil { - input = &ListQuickConnectsInput{} + input = &ListQueuesInput{} } - output = &ListQuickConnectsOutput{} + output = &ListQueuesOutput{} req = c.newRequest(op, input, output) return } -// ListQuickConnects API operation for Amazon Connect Service. +// ListQueues API operation for Amazon Connect Service. // -// This API is in preview release for Amazon Connect and is subject to change. +// Provides information about the queues for the specified Amazon Connect instance. // -// Provides information about the quick connects for the specified Amazon Connect -// instance. +// For more information about queues, see Queues: Standard and Agent (https://docs.aws.amazon.com/connect/latest/adminguide/concepts-queues-standard-and-agent.html) +// in the Amazon Connect Administrator Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Connect Service's -// API operation ListQuickConnects for usage and error information. +// API operation ListQueues for usage and error information. // // Returned Error Types: // * InvalidRequestException @@ -5721,39 +6197,191 @@ func (c *Connect) ListQuickConnectsRequest(input *ListQuickConnectsInput) (req * // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListQuickConnects -func (c *Connect) ListQuickConnects(input *ListQuickConnectsInput) (*ListQuickConnectsOutput, error) { - req, out := c.ListQuickConnectsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListQueues +func (c *Connect) ListQueues(input *ListQueuesInput) (*ListQueuesOutput, error) { + req, out := c.ListQueuesRequest(input) return out, req.Send() } -// ListQuickConnectsWithContext is the same as ListQuickConnects with the addition of +// ListQueuesWithContext is the same as ListQueues with the addition of // the ability to pass a context and additional request options. // -// See ListQuickConnects for details on how to use this API operation. +// See ListQueues for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Connect) ListQuickConnectsWithContext(ctx aws.Context, input *ListQuickConnectsInput, opts ...request.Option) (*ListQuickConnectsOutput, error) { - req, out := c.ListQuickConnectsRequest(input) +func (c *Connect) ListQueuesWithContext(ctx aws.Context, input *ListQueuesInput, opts ...request.Option) (*ListQueuesOutput, error) { + req, out := c.ListQueuesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListQuickConnectsPages iterates over the pages of a ListQuickConnects operation, +// ListQueuesPages iterates over the pages of a ListQueues operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See ListQuickConnects method for more information on how to use this operation. +// See ListQueues method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListQuickConnects operation. +// // Example iterating over at most 3 pages of a ListQueues operation. +// pageNum := 0 +// err := client.ListQueuesPages(params, +// func(page *connect.ListQueuesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *Connect) ListQueuesPages(input *ListQueuesInput, fn func(*ListQueuesOutput, bool) bool) error { + return c.ListQueuesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListQueuesPagesWithContext same as ListQueuesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Connect) ListQueuesPagesWithContext(ctx aws.Context, input *ListQueuesInput, fn func(*ListQueuesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListQueuesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListQueuesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListQueuesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListQuickConnects = "ListQuickConnects" + +// ListQuickConnectsRequest generates a "aws/request.Request" representing the +// client's request for the ListQuickConnects operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListQuickConnects for more information on using the ListQuickConnects +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListQuickConnectsRequest method. +// req, resp := client.ListQuickConnectsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListQuickConnects +func (c *Connect) ListQuickConnectsRequest(input *ListQuickConnectsInput) (req *request.Request, output *ListQuickConnectsOutput) { + op := &request.Operation{ + Name: opListQuickConnects, + HTTPMethod: "GET", + HTTPPath: "/quick-connects/{InstanceId}", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListQuickConnectsInput{} + } + + output = &ListQuickConnectsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListQuickConnects API operation for Amazon Connect Service. +// +// This API is in preview release for Amazon Connect and is subject to change. +// +// Provides information about the quick connects for the specified Amazon Connect +// instance. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Connect Service's +// API operation ListQuickConnects for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// The request is not valid. +// +// * InvalidParameterException +// One or more of the specified parameters are not valid. +// +// * ResourceNotFoundException +// The specified resource was not found. +// +// * ThrottlingException +// The throttling limit has been exceeded. +// +// * InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListQuickConnects +func (c *Connect) ListQuickConnects(input *ListQuickConnectsInput) (*ListQuickConnectsOutput, error) { + req, out := c.ListQuickConnectsRequest(input) + return out, req.Send() +} + +// ListQuickConnectsWithContext is the same as ListQuickConnects with the addition of +// the ability to pass a context and additional request options. +// +// See ListQuickConnects for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Connect) ListQuickConnectsWithContext(ctx aws.Context, input *ListQuickConnectsInput, opts ...request.Option) (*ListQuickConnectsOutput, error) { + req, out := c.ListQuickConnectsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListQuickConnectsPages iterates over the pages of a ListQuickConnects operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListQuickConnects method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListQuickConnects operation. // pageNum := 0 // err := client.ListQuickConnectsPages(params, // func(page *connect.ListQuickConnectsOutput, lastPage bool) bool { @@ -5847,7 +6475,7 @@ func (c *Connect) ListRoutingProfileQueuesRequest(input *ListRoutingProfileQueue // ListRoutingProfileQueues API operation for Amazon Connect Service. // -// List the queues associated with a routing profile. +// Lists the queues associated with a routing profile. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5870,7 +6498,7 @@ func (c *Connect) ListRoutingProfileQueuesRequest(input *ListRoutingProfileQueue // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListRoutingProfileQueues func (c *Connect) ListRoutingProfileQueues(input *ListRoutingProfileQueuesInput) (*ListRoutingProfileQueuesOutput, error) { @@ -6024,7 +6652,7 @@ func (c *Connect) ListRoutingProfilesRequest(input *ListRoutingProfilesInput) (r // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListRoutingProfiles func (c *Connect) ListRoutingProfiles(input *ListRoutingProfilesInput) (*ListRoutingProfilesOutput, error) { @@ -6166,7 +6794,7 @@ func (c *Connect) ListSecurityKeysRequest(input *ListSecurityKeysInput) (req *re // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * InvalidRequestException // The request is not valid. @@ -6328,7 +6956,7 @@ func (c *Connect) ListSecurityProfilesRequest(input *ListSecurityProfilesInput) // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListSecurityProfiles func (c *Connect) ListSecurityProfiles(input *ListSecurityProfilesInput) (*ListSecurityProfilesOutput, error) { @@ -6469,7 +7097,7 @@ func (c *Connect) ListTagsForResourceRequest(input *ListTagsForResourceInput) (r // One or more of the specified parameters are not valid. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * ResourceNotFoundException // The specified resource was not found. @@ -6551,7 +7179,7 @@ func (c *Connect) ListUseCasesRequest(input *ListUseCasesInput) (req *request.Re // // This API is in preview release for Amazon Connect and is subject to change. // -// List the use cases. +// Lists the use cases. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -6565,7 +7193,7 @@ func (c *Connect) ListUseCasesRequest(input *ListUseCasesInput) (req *request.Re // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * InvalidRequestException // The request is not valid. @@ -6725,7 +7353,7 @@ func (c *Connect) ListUserHierarchyGroupsRequest(input *ListUserHierarchyGroupsI // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListUserHierarchyGroups func (c *Connect) ListUserHierarchyGroups(input *ListUserHierarchyGroupsInput) (*ListUserHierarchyGroupsOutput, error) { @@ -6875,7 +7503,7 @@ func (c *Connect) ListUsersRequest(input *ListUsersInput) (req *request.Request, // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListUsers func (c *Connect) ListUsers(input *ListUsersInput) (*ListUsersOutput, error) { @@ -7016,7 +7644,7 @@ func (c *Connect) ResumeContactRecordingRequest(input *ResumeContactRecordingInp // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ResumeContactRecording func (c *Connect) ResumeContactRecording(input *ResumeContactRecordingInput) (*ResumeContactRecordingOutput, error) { @@ -7089,9 +7717,9 @@ func (c *Connect) StartChatContactRequest(input *StartChatContactInput) (req *re // (https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html) // API in the Amazon Connect Participant Service. // -// When a new chat contact is successfully created, clients need to subscribe -// to the participant’s connection for the created chat within 5 minutes. -// This is achieved by invoking CreateParticipantConnection (https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html) +// When a new chat contact is successfully created, clients must subscribe to +// the participant’s connection for the created chat within 5 minutes. This +// is achieved by invoking CreateParticipantConnection (https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html) // with WEBSOCKET and CONNECTION_CREDENTIALS. // // A 429 error occurs in two situations: @@ -7102,7 +7730,7 @@ func (c *Connect) StartChatContactRequest(input *StartChatContactInput) (req *re // * The quota for concurrent active chats (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html) // is exceeded. Active chat throttling returns a LimitExceededException. // -// For more information about how chat works, see Chat (https://docs.aws.amazon.com/connect/latest/adminguide/chat.html) +// For more information about chat, see Chat (https://docs.aws.amazon.com/connect/latest/adminguide/chat.html) // in the Amazon Connect Administrator Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -7123,7 +7751,7 @@ func (c *Connect) StartChatContactRequest(input *StartChatContactInput) (req *re // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * LimitExceededException // The allowed limit for the resource has been exceeded. @@ -7195,7 +7823,7 @@ func (c *Connect) StartContactRecordingRequest(input *StartContactRecordingInput // StartContactRecording API operation for Amazon Connect Service. // -// This API starts recording the contact when the agent joins the call. StartContactRecording +// Starts recording the contact when the agent joins the call. StartContactRecording // is a one-time action. For example, if you use StopContactRecording to stop // recording an ongoing call, you can't use StartContactRecording to restart // it. For scenarios where the recording has started and you want to suspend @@ -7226,7 +7854,7 @@ func (c *Connect) StartContactRecordingRequest(input *StartContactRecordingInput // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartContactRecording func (c *Connect) StartContactRecording(input *StartContactRecordingInput) (*StartContactRecordingOutput, error) { @@ -7294,15 +7922,15 @@ func (c *Connect) StartOutboundVoiceContactRequest(input *StartOutboundVoiceCont // StartOutboundVoiceContact API operation for Amazon Connect Service. // -// This API places an outbound call to a contact, and then initiates the contact -// flow. It performs the actions in the contact flow that's specified (in ContactFlowId). +// Places an outbound call to a contact, and then initiates the contact flow. +// It performs the actions in the contact flow that's specified (in ContactFlowId). // -// Agents are not involved in initiating the outbound API (that is, dialing -// the contact). If the contact flow places an outbound call to a contact, and -// then puts the contact in queue, that's when the call is routed to the agent, -// like any other inbound case. +// Agents do not initiate the outbound API, which means that they do not dial +// the contact. If the contact flow places an outbound call to a contact, and +// then puts the contact in queue, the call is then routed to the agent, like +// any other inbound case. // -// There is a 60 second dialing timeout for this operation. If the call is not +// There is a 60-second dialing timeout for this operation. If the call is not // connected after 60 seconds, it fails. // // UK numbers with a 447 prefix are not allowed by default. Before you can dial @@ -7328,7 +7956,7 @@ func (c *Connect) StartOutboundVoiceContactRequest(input *StartOutboundVoiceCont // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * LimitExceededException // The allowed limit for the resource has been exceeded. @@ -7431,7 +8059,7 @@ func (c *Connect) StartTaskContactRequest(input *StartTaskContactInput) (req *re // The service quota has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartTaskContact func (c *Connect) StartTaskContact(input *StartTaskContactInput) (*StartTaskContactOutput, error) { @@ -7523,7 +8151,7 @@ func (c *Connect) StopContactRequest(input *StopContactInput) (req *request.Requ // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StopContact func (c *Connect) StopContact(input *StopContactInput) (*StopContactOutput, error) { @@ -7592,7 +8220,7 @@ func (c *Connect) StopContactRecordingRequest(input *StopContactRecordingInput) // StopContactRecording API operation for Amazon Connect Service. // -// When a contact is being recorded, this API stops recording the call. StopContactRecording +// Stops recording a call when a contact is being recorded. StopContactRecording // is a one-time action. If you use StopContactRecording to stop recording an // ongoing call, you can't use StartContactRecording to restart it. For scenarios // where the recording has started and you want to suspend it for sensitive @@ -7616,7 +8244,7 @@ func (c *Connect) StopContactRecordingRequest(input *StopContactRecordingInput) // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StopContactRecording func (c *Connect) StopContactRecording(input *StopContactRecordingInput) (*StopContactRecordingOutput, error) { @@ -7710,7 +8338,7 @@ func (c *Connect) SuspendContactRecordingRequest(input *SuspendContactRecordingI // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SuspendContactRecording func (c *Connect) SuspendContactRecording(input *SuspendContactRecordingInput) (*SuspendContactRecordingOutput, error) { @@ -7781,7 +8409,7 @@ func (c *Connect) TagResourceRequest(input *TagResourceInput) (req *request.Requ // // Adds the specified tags to the specified resource. // -// The supported resource types are users, routing profiles, quick connects, +// The supported resource types are users, routing profiles, queues, quick connects, // and contact flows. // // For sample policies that use tags, see Amazon Connect Identity-Based Policy @@ -7803,7 +8431,7 @@ func (c *Connect) TagResourceRequest(input *TagResourceInput) (req *request.Requ // One or more of the specified parameters are not valid. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * ResourceNotFoundException // The specified resource was not found. @@ -7895,7 +8523,7 @@ func (c *Connect) UntagResourceRequest(input *UntagResourceInput) (req *request. // One or more of the specified parameters are not valid. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * ResourceNotFoundException // The specified resource was not found. @@ -7973,23 +8601,23 @@ func (c *Connect) UpdateContactAttributesRequest(input *UpdateContactAttributesI // Creates or updates the contact attributes associated with the specified contact. // // You can add or update attributes for both ongoing and completed contacts. -// For example, you can update the customer's name or the reason the customer -// called while the call is active, or add notes about steps that the agent -// took during the call that are displayed to the next agent that takes the +// For example, while the call is active, you can update the customer's name +// or the reason the customer called. You can add notes about steps that the +// agent took during the call that display to the next agent that takes the // call. You can also update attributes for a contact using data from your CRM // application and save the data with the contact in Amazon Connect. You could -// also flag calls for additional analysis, such as legal review or identifying +// also flag calls for additional analysis, such as legal review or to identify // abusive callers. // // Contact attributes are available in Amazon Connect for 24 months, and are // then deleted. // // Important: You cannot use the operation to update attributes for contacts -// that occurred prior to the release of the API, September 12, 2018. You can -// update attributes only for contacts that started after the release of the -// API. If you attempt to update attributes for a contact that occurred prior -// to the release of the API, a 400 error is returned. This applies also to -// queued callbacks that were initiated prior to the release of the API but +// that occurred prior to the release of the API, which was September 12, 2018. +// You can update attributes only for contacts that started after the release +// of the API. If you attempt to update attributes for a contact that occurred +// prior to the release of the API, a 400 error is returned. This applies also +// to queued callbacks that were initiated prior to the release of the API but // are still active in your instance. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -8010,7 +8638,7 @@ func (c *Connect) UpdateContactAttributesRequest(input *UpdateContactAttributesI // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactAttributes func (c *Connect) UpdateContactAttributes(input *UpdateContactAttributesInput) (*UpdateContactAttributesOutput, error) { @@ -8108,7 +8736,7 @@ func (c *Connect) UpdateContactFlowContentRequest(input *UpdateContactFlowConten // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactFlowContent func (c *Connect) UpdateContactFlowContent(input *UpdateContactFlowContentInput) (*UpdateContactFlowContentOutput, error) { @@ -8206,7 +8834,7 @@ func (c *Connect) UpdateContactFlowNameRequest(input *UpdateContactFlowNameInput // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactFlowName func (c *Connect) UpdateContactFlowName(input *UpdateContactFlowNameInput) (*UpdateContactFlowNameOutput, error) { @@ -8291,7 +8919,7 @@ func (c *Connect) UpdateInstanceAttributeRequest(input *UpdateInstanceAttributeI // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * InvalidRequestException // The request is not valid. @@ -8385,7 +9013,7 @@ func (c *Connect) UpdateInstanceStorageConfigRequest(input *UpdateInstanceStorag // The specified resource was not found. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // // * InvalidRequestException // The request is not valid. @@ -8418,61 +9046,61 @@ func (c *Connect) UpdateInstanceStorageConfigWithContext(ctx aws.Context, input return out, req.Send() } -const opUpdateQuickConnectConfig = "UpdateQuickConnectConfig" +const opUpdateQueueHoursOfOperation = "UpdateQueueHoursOfOperation" -// UpdateQuickConnectConfigRequest generates a "aws/request.Request" representing the -// client's request for the UpdateQuickConnectConfig operation. The "output" return +// UpdateQueueHoursOfOperationRequest generates a "aws/request.Request" representing the +// client's request for the UpdateQueueHoursOfOperation operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateQuickConnectConfig for more information on using the UpdateQuickConnectConfig +// See UpdateQueueHoursOfOperation for more information on using the UpdateQueueHoursOfOperation // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateQuickConnectConfigRequest method. -// req, resp := client.UpdateQuickConnectConfigRequest(params) +// // Example sending a request using the UpdateQueueHoursOfOperationRequest method. +// req, resp := client.UpdateQueueHoursOfOperationRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQuickConnectConfig -func (c *Connect) UpdateQuickConnectConfigRequest(input *UpdateQuickConnectConfigInput) (req *request.Request, output *UpdateQuickConnectConfigOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQueueHoursOfOperation +func (c *Connect) UpdateQueueHoursOfOperationRequest(input *UpdateQueueHoursOfOperationInput) (req *request.Request, output *UpdateQueueHoursOfOperationOutput) { op := &request.Operation{ - Name: opUpdateQuickConnectConfig, + Name: opUpdateQueueHoursOfOperation, HTTPMethod: "POST", - HTTPPath: "/quick-connects/{InstanceId}/{QuickConnectId}/config", + HTTPPath: "/queues/{InstanceId}/{QueueId}/hours-of-operation", } if input == nil { - input = &UpdateQuickConnectConfigInput{} + input = &UpdateQueueHoursOfOperationInput{} } - output = &UpdateQuickConnectConfigOutput{} + output = &UpdateQueueHoursOfOperationOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UpdateQuickConnectConfig API operation for Amazon Connect Service. +// UpdateQueueHoursOfOperation API operation for Amazon Connect Service. // // This API is in preview release for Amazon Connect and is subject to change. // -// Updates the configuration settings for the specified quick connect. +// Updates the hours of operation for the specified queue. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Connect Service's -// API operation UpdateQuickConnectConfig for usage and error information. +// API operation UpdateQueueHoursOfOperation for usage and error information. // // Returned Error Types: // * InvalidRequestException @@ -8488,86 +9116,86 @@ func (c *Connect) UpdateQuickConnectConfigRequest(input *UpdateQuickConnectConfi // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQuickConnectConfig -func (c *Connect) UpdateQuickConnectConfig(input *UpdateQuickConnectConfigInput) (*UpdateQuickConnectConfigOutput, error) { - req, out := c.UpdateQuickConnectConfigRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQueueHoursOfOperation +func (c *Connect) UpdateQueueHoursOfOperation(input *UpdateQueueHoursOfOperationInput) (*UpdateQueueHoursOfOperationOutput, error) { + req, out := c.UpdateQueueHoursOfOperationRequest(input) return out, req.Send() } -// UpdateQuickConnectConfigWithContext is the same as UpdateQuickConnectConfig with the addition of +// UpdateQueueHoursOfOperationWithContext is the same as UpdateQueueHoursOfOperation with the addition of // the ability to pass a context and additional request options. // -// See UpdateQuickConnectConfig for details on how to use this API operation. +// See UpdateQueueHoursOfOperation for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Connect) UpdateQuickConnectConfigWithContext(ctx aws.Context, input *UpdateQuickConnectConfigInput, opts ...request.Option) (*UpdateQuickConnectConfigOutput, error) { - req, out := c.UpdateQuickConnectConfigRequest(input) +func (c *Connect) UpdateQueueHoursOfOperationWithContext(ctx aws.Context, input *UpdateQueueHoursOfOperationInput, opts ...request.Option) (*UpdateQueueHoursOfOperationOutput, error) { + req, out := c.UpdateQueueHoursOfOperationRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateQuickConnectName = "UpdateQuickConnectName" +const opUpdateQueueMaxContacts = "UpdateQueueMaxContacts" -// UpdateQuickConnectNameRequest generates a "aws/request.Request" representing the -// client's request for the UpdateQuickConnectName operation. The "output" return +// UpdateQueueMaxContactsRequest generates a "aws/request.Request" representing the +// client's request for the UpdateQueueMaxContacts operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateQuickConnectName for more information on using the UpdateQuickConnectName +// See UpdateQueueMaxContacts for more information on using the UpdateQueueMaxContacts // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateQuickConnectNameRequest method. -// req, resp := client.UpdateQuickConnectNameRequest(params) +// // Example sending a request using the UpdateQueueMaxContactsRequest method. +// req, resp := client.UpdateQueueMaxContactsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQuickConnectName -func (c *Connect) UpdateQuickConnectNameRequest(input *UpdateQuickConnectNameInput) (req *request.Request, output *UpdateQuickConnectNameOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQueueMaxContacts +func (c *Connect) UpdateQueueMaxContactsRequest(input *UpdateQueueMaxContactsInput) (req *request.Request, output *UpdateQueueMaxContactsOutput) { op := &request.Operation{ - Name: opUpdateQuickConnectName, + Name: opUpdateQueueMaxContacts, HTTPMethod: "POST", - HTTPPath: "/quick-connects/{InstanceId}/{QuickConnectId}/name", + HTTPPath: "/queues/{InstanceId}/{QueueId}/max-contacts", } if input == nil { - input = &UpdateQuickConnectNameInput{} + input = &UpdateQueueMaxContactsInput{} } - output = &UpdateQuickConnectNameOutput{} + output = &UpdateQueueMaxContactsOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UpdateQuickConnectName API operation for Amazon Connect Service. +// UpdateQueueMaxContacts API operation for Amazon Connect Service. // // This API is in preview release for Amazon Connect and is subject to change. // -// Updates the name and description of a quick connect. The request accepts -// the following data in JSON format. At least Name or Description must be provided. +// Updates the maximum number of contacts allowed in a queue before it is considered +// full. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Connect Service's -// API operation UpdateQuickConnectName for usage and error information. +// API operation UpdateQueueMaxContacts for usage and error information. // // Returned Error Types: // * InvalidRequestException @@ -8583,86 +9211,91 @@ func (c *Connect) UpdateQuickConnectNameRequest(input *UpdateQuickConnectNameInp // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQuickConnectName -func (c *Connect) UpdateQuickConnectName(input *UpdateQuickConnectNameInput) (*UpdateQuickConnectNameOutput, error) { - req, out := c.UpdateQuickConnectNameRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQueueMaxContacts +func (c *Connect) UpdateQueueMaxContacts(input *UpdateQueueMaxContactsInput) (*UpdateQueueMaxContactsOutput, error) { + req, out := c.UpdateQueueMaxContactsRequest(input) return out, req.Send() } -// UpdateQuickConnectNameWithContext is the same as UpdateQuickConnectName with the addition of +// UpdateQueueMaxContactsWithContext is the same as UpdateQueueMaxContacts with the addition of // the ability to pass a context and additional request options. // -// See UpdateQuickConnectName for details on how to use this API operation. +// See UpdateQueueMaxContacts for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Connect) UpdateQuickConnectNameWithContext(ctx aws.Context, input *UpdateQuickConnectNameInput, opts ...request.Option) (*UpdateQuickConnectNameOutput, error) { - req, out := c.UpdateQuickConnectNameRequest(input) +func (c *Connect) UpdateQueueMaxContactsWithContext(ctx aws.Context, input *UpdateQueueMaxContactsInput, opts ...request.Option) (*UpdateQueueMaxContactsOutput, error) { + req, out := c.UpdateQueueMaxContactsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateRoutingProfileConcurrency = "UpdateRoutingProfileConcurrency" +const opUpdateQueueName = "UpdateQueueName" -// UpdateRoutingProfileConcurrencyRequest generates a "aws/request.Request" representing the -// client's request for the UpdateRoutingProfileConcurrency operation. The "output" return +// UpdateQueueNameRequest generates a "aws/request.Request" representing the +// client's request for the UpdateQueueName operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateRoutingProfileConcurrency for more information on using the UpdateRoutingProfileConcurrency +// See UpdateQueueName for more information on using the UpdateQueueName // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateRoutingProfileConcurrencyRequest method. -// req, resp := client.UpdateRoutingProfileConcurrencyRequest(params) +// // Example sending a request using the UpdateQueueNameRequest method. +// req, resp := client.UpdateQueueNameRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileConcurrency -func (c *Connect) UpdateRoutingProfileConcurrencyRequest(input *UpdateRoutingProfileConcurrencyInput) (req *request.Request, output *UpdateRoutingProfileConcurrencyOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQueueName +func (c *Connect) UpdateQueueNameRequest(input *UpdateQueueNameInput) (req *request.Request, output *UpdateQueueNameOutput) { op := &request.Operation{ - Name: opUpdateRoutingProfileConcurrency, + Name: opUpdateQueueName, HTTPMethod: "POST", - HTTPPath: "/routing-profiles/{InstanceId}/{RoutingProfileId}/concurrency", + HTTPPath: "/queues/{InstanceId}/{QueueId}/name", } if input == nil { - input = &UpdateRoutingProfileConcurrencyInput{} + input = &UpdateQueueNameInput{} } - output = &UpdateRoutingProfileConcurrencyOutput{} + output = &UpdateQueueNameOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UpdateRoutingProfileConcurrency API operation for Amazon Connect Service. +// UpdateQueueName API operation for Amazon Connect Service. // -// Updates the channels that agents can handle in the Contact Control Panel -// (CCP) for a routing profile. +// This API is in preview release for Amazon Connect and is subject to change. +// +// Updates the name and description of a queue. At least Name or Description +// must be provided. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Connect Service's -// API operation UpdateRoutingProfileConcurrency for usage and error information. +// API operation UpdateQueueName for usage and error information. // // Returned Error Types: +// * DuplicateResourceException +// A resource with the specified name already exists. +// // * InvalidRequestException // The request is not valid. // @@ -8676,83 +9309,86 @@ func (c *Connect) UpdateRoutingProfileConcurrencyRequest(input *UpdateRoutingPro // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileConcurrency -func (c *Connect) UpdateRoutingProfileConcurrency(input *UpdateRoutingProfileConcurrencyInput) (*UpdateRoutingProfileConcurrencyOutput, error) { - req, out := c.UpdateRoutingProfileConcurrencyRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQueueName +func (c *Connect) UpdateQueueName(input *UpdateQueueNameInput) (*UpdateQueueNameOutput, error) { + req, out := c.UpdateQueueNameRequest(input) return out, req.Send() } -// UpdateRoutingProfileConcurrencyWithContext is the same as UpdateRoutingProfileConcurrency with the addition of +// UpdateQueueNameWithContext is the same as UpdateQueueName with the addition of // the ability to pass a context and additional request options. // -// See UpdateRoutingProfileConcurrency for details on how to use this API operation. +// See UpdateQueueName for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Connect) UpdateRoutingProfileConcurrencyWithContext(ctx aws.Context, input *UpdateRoutingProfileConcurrencyInput, opts ...request.Option) (*UpdateRoutingProfileConcurrencyOutput, error) { - req, out := c.UpdateRoutingProfileConcurrencyRequest(input) +func (c *Connect) UpdateQueueNameWithContext(ctx aws.Context, input *UpdateQueueNameInput, opts ...request.Option) (*UpdateQueueNameOutput, error) { + req, out := c.UpdateQueueNameRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateRoutingProfileDefaultOutboundQueue = "UpdateRoutingProfileDefaultOutboundQueue" +const opUpdateQueueOutboundCallerConfig = "UpdateQueueOutboundCallerConfig" -// UpdateRoutingProfileDefaultOutboundQueueRequest generates a "aws/request.Request" representing the -// client's request for the UpdateRoutingProfileDefaultOutboundQueue operation. The "output" return +// UpdateQueueOutboundCallerConfigRequest generates a "aws/request.Request" representing the +// client's request for the UpdateQueueOutboundCallerConfig operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateRoutingProfileDefaultOutboundQueue for more information on using the UpdateRoutingProfileDefaultOutboundQueue +// See UpdateQueueOutboundCallerConfig for more information on using the UpdateQueueOutboundCallerConfig // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateRoutingProfileDefaultOutboundQueueRequest method. -// req, resp := client.UpdateRoutingProfileDefaultOutboundQueueRequest(params) +// // Example sending a request using the UpdateQueueOutboundCallerConfigRequest method. +// req, resp := client.UpdateQueueOutboundCallerConfigRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileDefaultOutboundQueue -func (c *Connect) UpdateRoutingProfileDefaultOutboundQueueRequest(input *UpdateRoutingProfileDefaultOutboundQueueInput) (req *request.Request, output *UpdateRoutingProfileDefaultOutboundQueueOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQueueOutboundCallerConfig +func (c *Connect) UpdateQueueOutboundCallerConfigRequest(input *UpdateQueueOutboundCallerConfigInput) (req *request.Request, output *UpdateQueueOutboundCallerConfigOutput) { op := &request.Operation{ - Name: opUpdateRoutingProfileDefaultOutboundQueue, + Name: opUpdateQueueOutboundCallerConfig, HTTPMethod: "POST", - HTTPPath: "/routing-profiles/{InstanceId}/{RoutingProfileId}/default-outbound-queue", + HTTPPath: "/queues/{InstanceId}/{QueueId}/outbound-caller-config", } if input == nil { - input = &UpdateRoutingProfileDefaultOutboundQueueInput{} + input = &UpdateQueueOutboundCallerConfigInput{} } - output = &UpdateRoutingProfileDefaultOutboundQueueOutput{} + output = &UpdateQueueOutboundCallerConfigOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UpdateRoutingProfileDefaultOutboundQueue API operation for Amazon Connect Service. +// UpdateQueueOutboundCallerConfig API operation for Amazon Connect Service. // -// Updates the default outbound queue of a routing profile. +// This API is in preview release for Amazon Connect and is subject to change. +// +// Updates the outbound caller ID name, number, and outbound whisper flow for +// a specified queue. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Connect Service's -// API operation UpdateRoutingProfileDefaultOutboundQueue for usage and error information. +// API operation UpdateQueueOutboundCallerConfig for usage and error information. // // Returned Error Types: // * InvalidRequestException @@ -8768,89 +9404,87 @@ func (c *Connect) UpdateRoutingProfileDefaultOutboundQueueRequest(input *UpdateR // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileDefaultOutboundQueue -func (c *Connect) UpdateRoutingProfileDefaultOutboundQueue(input *UpdateRoutingProfileDefaultOutboundQueueInput) (*UpdateRoutingProfileDefaultOutboundQueueOutput, error) { - req, out := c.UpdateRoutingProfileDefaultOutboundQueueRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQueueOutboundCallerConfig +func (c *Connect) UpdateQueueOutboundCallerConfig(input *UpdateQueueOutboundCallerConfigInput) (*UpdateQueueOutboundCallerConfigOutput, error) { + req, out := c.UpdateQueueOutboundCallerConfigRequest(input) return out, req.Send() } -// UpdateRoutingProfileDefaultOutboundQueueWithContext is the same as UpdateRoutingProfileDefaultOutboundQueue with the addition of +// UpdateQueueOutboundCallerConfigWithContext is the same as UpdateQueueOutboundCallerConfig with the addition of // the ability to pass a context and additional request options. // -// See UpdateRoutingProfileDefaultOutboundQueue for details on how to use this API operation. +// See UpdateQueueOutboundCallerConfig for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Connect) UpdateRoutingProfileDefaultOutboundQueueWithContext(ctx aws.Context, input *UpdateRoutingProfileDefaultOutboundQueueInput, opts ...request.Option) (*UpdateRoutingProfileDefaultOutboundQueueOutput, error) { - req, out := c.UpdateRoutingProfileDefaultOutboundQueueRequest(input) +func (c *Connect) UpdateQueueOutboundCallerConfigWithContext(ctx aws.Context, input *UpdateQueueOutboundCallerConfigInput, opts ...request.Option) (*UpdateQueueOutboundCallerConfigOutput, error) { + req, out := c.UpdateQueueOutboundCallerConfigRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateRoutingProfileName = "UpdateRoutingProfileName" +const opUpdateQueueStatus = "UpdateQueueStatus" -// UpdateRoutingProfileNameRequest generates a "aws/request.Request" representing the -// client's request for the UpdateRoutingProfileName operation. The "output" return +// UpdateQueueStatusRequest generates a "aws/request.Request" representing the +// client's request for the UpdateQueueStatus operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateRoutingProfileName for more information on using the UpdateRoutingProfileName +// See UpdateQueueStatus for more information on using the UpdateQueueStatus // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateRoutingProfileNameRequest method. -// req, resp := client.UpdateRoutingProfileNameRequest(params) +// // Example sending a request using the UpdateQueueStatusRequest method. +// req, resp := client.UpdateQueueStatusRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileName -func (c *Connect) UpdateRoutingProfileNameRequest(input *UpdateRoutingProfileNameInput) (req *request.Request, output *UpdateRoutingProfileNameOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQueueStatus +func (c *Connect) UpdateQueueStatusRequest(input *UpdateQueueStatusInput) (req *request.Request, output *UpdateQueueStatusOutput) { op := &request.Operation{ - Name: opUpdateRoutingProfileName, + Name: opUpdateQueueStatus, HTTPMethod: "POST", - HTTPPath: "/routing-profiles/{InstanceId}/{RoutingProfileId}/name", + HTTPPath: "/queues/{InstanceId}/{QueueId}/status", } if input == nil { - input = &UpdateRoutingProfileNameInput{} + input = &UpdateQueueStatusInput{} } - output = &UpdateRoutingProfileNameOutput{} + output = &UpdateQueueStatusOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UpdateRoutingProfileName API operation for Amazon Connect Service. +// UpdateQueueStatus API operation for Amazon Connect Service. // -// Updates the name and description of a routing profile. The request accepts -// the following data in JSON format. At least Name or Description must be provided. +// This API is in preview release for Amazon Connect and is subject to change. +// +// Updates the status of the queue. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Connect Service's -// API operation UpdateRoutingProfileName for usage and error information. +// API operation UpdateQueueStatus for usage and error information. // // Returned Error Types: -// * DuplicateResourceException -// A resource with the specified name already exists. -// // * InvalidRequestException // The request is not valid. // @@ -8864,83 +9498,85 @@ func (c *Connect) UpdateRoutingProfileNameRequest(input *UpdateRoutingProfileNam // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileName -func (c *Connect) UpdateRoutingProfileName(input *UpdateRoutingProfileNameInput) (*UpdateRoutingProfileNameOutput, error) { - req, out := c.UpdateRoutingProfileNameRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQueueStatus +func (c *Connect) UpdateQueueStatus(input *UpdateQueueStatusInput) (*UpdateQueueStatusOutput, error) { + req, out := c.UpdateQueueStatusRequest(input) return out, req.Send() } -// UpdateRoutingProfileNameWithContext is the same as UpdateRoutingProfileName with the addition of +// UpdateQueueStatusWithContext is the same as UpdateQueueStatus with the addition of // the ability to pass a context and additional request options. // -// See UpdateRoutingProfileName for details on how to use this API operation. +// See UpdateQueueStatus for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Connect) UpdateRoutingProfileNameWithContext(ctx aws.Context, input *UpdateRoutingProfileNameInput, opts ...request.Option) (*UpdateRoutingProfileNameOutput, error) { - req, out := c.UpdateRoutingProfileNameRequest(input) +func (c *Connect) UpdateQueueStatusWithContext(ctx aws.Context, input *UpdateQueueStatusInput, opts ...request.Option) (*UpdateQueueStatusOutput, error) { + req, out := c.UpdateQueueStatusRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateRoutingProfileQueues = "UpdateRoutingProfileQueues" +const opUpdateQuickConnectConfig = "UpdateQuickConnectConfig" -// UpdateRoutingProfileQueuesRequest generates a "aws/request.Request" representing the -// client's request for the UpdateRoutingProfileQueues operation. The "output" return +// UpdateQuickConnectConfigRequest generates a "aws/request.Request" representing the +// client's request for the UpdateQuickConnectConfig operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateRoutingProfileQueues for more information on using the UpdateRoutingProfileQueues +// See UpdateQuickConnectConfig for more information on using the UpdateQuickConnectConfig // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateRoutingProfileQueuesRequest method. -// req, resp := client.UpdateRoutingProfileQueuesRequest(params) +// // Example sending a request using the UpdateQuickConnectConfigRequest method. +// req, resp := client.UpdateQuickConnectConfigRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileQueues -func (c *Connect) UpdateRoutingProfileQueuesRequest(input *UpdateRoutingProfileQueuesInput) (req *request.Request, output *UpdateRoutingProfileQueuesOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQuickConnectConfig +func (c *Connect) UpdateQuickConnectConfigRequest(input *UpdateQuickConnectConfigInput) (req *request.Request, output *UpdateQuickConnectConfigOutput) { op := &request.Operation{ - Name: opUpdateRoutingProfileQueues, + Name: opUpdateQuickConnectConfig, HTTPMethod: "POST", - HTTPPath: "/routing-profiles/{InstanceId}/{RoutingProfileId}/queues", + HTTPPath: "/quick-connects/{InstanceId}/{QuickConnectId}/config", } if input == nil { - input = &UpdateRoutingProfileQueuesInput{} + input = &UpdateQuickConnectConfigInput{} } - output = &UpdateRoutingProfileQueuesOutput{} + output = &UpdateQuickConnectConfigOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UpdateRoutingProfileQueues API operation for Amazon Connect Service. +// UpdateQuickConnectConfig API operation for Amazon Connect Service. // -// Updates the properties associated with a set of queues for a routing profile. +// This API is in preview release for Amazon Connect and is subject to change. +// +// Updates the configuration settings for the specified quick connect. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Connect Service's -// API operation UpdateRoutingProfileQueues for usage and error information. +// API operation UpdateQuickConnectConfig for usage and error information. // // Returned Error Types: // * InvalidRequestException @@ -8956,83 +9592,86 @@ func (c *Connect) UpdateRoutingProfileQueuesRequest(input *UpdateRoutingProfileQ // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileQueues -func (c *Connect) UpdateRoutingProfileQueues(input *UpdateRoutingProfileQueuesInput) (*UpdateRoutingProfileQueuesOutput, error) { - req, out := c.UpdateRoutingProfileQueuesRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQuickConnectConfig +func (c *Connect) UpdateQuickConnectConfig(input *UpdateQuickConnectConfigInput) (*UpdateQuickConnectConfigOutput, error) { + req, out := c.UpdateQuickConnectConfigRequest(input) return out, req.Send() } -// UpdateRoutingProfileQueuesWithContext is the same as UpdateRoutingProfileQueues with the addition of +// UpdateQuickConnectConfigWithContext is the same as UpdateQuickConnectConfig with the addition of // the ability to pass a context and additional request options. // -// See UpdateRoutingProfileQueues for details on how to use this API operation. +// See UpdateQuickConnectConfig for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Connect) UpdateRoutingProfileQueuesWithContext(ctx aws.Context, input *UpdateRoutingProfileQueuesInput, opts ...request.Option) (*UpdateRoutingProfileQueuesOutput, error) { - req, out := c.UpdateRoutingProfileQueuesRequest(input) +func (c *Connect) UpdateQuickConnectConfigWithContext(ctx aws.Context, input *UpdateQuickConnectConfigInput, opts ...request.Option) (*UpdateQuickConnectConfigOutput, error) { + req, out := c.UpdateQuickConnectConfigRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateUserHierarchy = "UpdateUserHierarchy" +const opUpdateQuickConnectName = "UpdateQuickConnectName" -// UpdateUserHierarchyRequest generates a "aws/request.Request" representing the -// client's request for the UpdateUserHierarchy operation. The "output" return +// UpdateQuickConnectNameRequest generates a "aws/request.Request" representing the +// client's request for the UpdateQuickConnectName operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateUserHierarchy for more information on using the UpdateUserHierarchy +// See UpdateQuickConnectName for more information on using the UpdateQuickConnectName // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateUserHierarchyRequest method. -// req, resp := client.UpdateUserHierarchyRequest(params) +// // Example sending a request using the UpdateQuickConnectNameRequest method. +// req, resp := client.UpdateQuickConnectNameRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserHierarchy -func (c *Connect) UpdateUserHierarchyRequest(input *UpdateUserHierarchyInput) (req *request.Request, output *UpdateUserHierarchyOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQuickConnectName +func (c *Connect) UpdateQuickConnectNameRequest(input *UpdateQuickConnectNameInput) (req *request.Request, output *UpdateQuickConnectNameOutput) { op := &request.Operation{ - Name: opUpdateUserHierarchy, + Name: opUpdateQuickConnectName, HTTPMethod: "POST", - HTTPPath: "/users/{InstanceId}/{UserId}/hierarchy", + HTTPPath: "/quick-connects/{InstanceId}/{QuickConnectId}/name", } if input == nil { - input = &UpdateUserHierarchyInput{} + input = &UpdateQuickConnectNameInput{} } - output = &UpdateUserHierarchyOutput{} + output = &UpdateQuickConnectNameOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UpdateUserHierarchy API operation for Amazon Connect Service. +// UpdateQuickConnectName API operation for Amazon Connect Service. // -// Assigns the specified hierarchy group to the specified user. +// This API is in preview release for Amazon Connect and is subject to change. +// +// Updates the name and description of a quick connect. The request accepts +// the following data in JSON format. At least Name or Description must be provided. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Connect Service's -// API operation UpdateUserHierarchy for usage and error information. +// API operation UpdateQuickConnectName for usage and error information. // // Returned Error Types: // * InvalidRequestException @@ -9048,83 +9687,84 @@ func (c *Connect) UpdateUserHierarchyRequest(input *UpdateUserHierarchyInput) (r // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserHierarchy -func (c *Connect) UpdateUserHierarchy(input *UpdateUserHierarchyInput) (*UpdateUserHierarchyOutput, error) { - req, out := c.UpdateUserHierarchyRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQuickConnectName +func (c *Connect) UpdateQuickConnectName(input *UpdateQuickConnectNameInput) (*UpdateQuickConnectNameOutput, error) { + req, out := c.UpdateQuickConnectNameRequest(input) return out, req.Send() } -// UpdateUserHierarchyWithContext is the same as UpdateUserHierarchy with the addition of +// UpdateQuickConnectNameWithContext is the same as UpdateQuickConnectName with the addition of // the ability to pass a context and additional request options. // -// See UpdateUserHierarchy for details on how to use this API operation. +// See UpdateQuickConnectName for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Connect) UpdateUserHierarchyWithContext(ctx aws.Context, input *UpdateUserHierarchyInput, opts ...request.Option) (*UpdateUserHierarchyOutput, error) { - req, out := c.UpdateUserHierarchyRequest(input) +func (c *Connect) UpdateQuickConnectNameWithContext(ctx aws.Context, input *UpdateQuickConnectNameInput, opts ...request.Option) (*UpdateQuickConnectNameOutput, error) { + req, out := c.UpdateQuickConnectNameRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateUserHierarchyGroupName = "UpdateUserHierarchyGroupName" +const opUpdateRoutingProfileConcurrency = "UpdateRoutingProfileConcurrency" -// UpdateUserHierarchyGroupNameRequest generates a "aws/request.Request" representing the -// client's request for the UpdateUserHierarchyGroupName operation. The "output" return +// UpdateRoutingProfileConcurrencyRequest generates a "aws/request.Request" representing the +// client's request for the UpdateRoutingProfileConcurrency operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateUserHierarchyGroupName for more information on using the UpdateUserHierarchyGroupName +// See UpdateRoutingProfileConcurrency for more information on using the UpdateRoutingProfileConcurrency // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateUserHierarchyGroupNameRequest method. -// req, resp := client.UpdateUserHierarchyGroupNameRequest(params) +// // Example sending a request using the UpdateRoutingProfileConcurrencyRequest method. +// req, resp := client.UpdateRoutingProfileConcurrencyRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserHierarchyGroupName -func (c *Connect) UpdateUserHierarchyGroupNameRequest(input *UpdateUserHierarchyGroupNameInput) (req *request.Request, output *UpdateUserHierarchyGroupNameOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileConcurrency +func (c *Connect) UpdateRoutingProfileConcurrencyRequest(input *UpdateRoutingProfileConcurrencyInput) (req *request.Request, output *UpdateRoutingProfileConcurrencyOutput) { op := &request.Operation{ - Name: opUpdateUserHierarchyGroupName, + Name: opUpdateRoutingProfileConcurrency, HTTPMethod: "POST", - HTTPPath: "/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}/name", + HTTPPath: "/routing-profiles/{InstanceId}/{RoutingProfileId}/concurrency", } if input == nil { - input = &UpdateUserHierarchyGroupNameInput{} + input = &UpdateRoutingProfileConcurrencyInput{} } - output = &UpdateUserHierarchyGroupNameOutput{} + output = &UpdateRoutingProfileConcurrencyOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UpdateUserHierarchyGroupName API operation for Amazon Connect Service. +// UpdateRoutingProfileConcurrency API operation for Amazon Connect Service. // -// Updates the name of the user hierarchy group. +// Updates the channels that agents can handle in the Contact Control Panel +// (CCP) for a routing profile. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Connect Service's -// API operation UpdateUserHierarchyGroupName for usage and error information. +// API operation UpdateRoutingProfileConcurrency for usage and error information. // // Returned Error Types: // * InvalidRequestException @@ -9133,9 +9773,6 @@ func (c *Connect) UpdateUserHierarchyGroupNameRequest(input *UpdateUserHierarchy // * InvalidParameterException // One or more of the specified parameters are not valid. // -// * DuplicateResourceException -// A resource with the specified name already exists. -// // * ResourceNotFoundException // The specified resource was not found. // @@ -9143,84 +9780,83 @@ func (c *Connect) UpdateUserHierarchyGroupNameRequest(input *UpdateUserHierarchy // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserHierarchyGroupName -func (c *Connect) UpdateUserHierarchyGroupName(input *UpdateUserHierarchyGroupNameInput) (*UpdateUserHierarchyGroupNameOutput, error) { - req, out := c.UpdateUserHierarchyGroupNameRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileConcurrency +func (c *Connect) UpdateRoutingProfileConcurrency(input *UpdateRoutingProfileConcurrencyInput) (*UpdateRoutingProfileConcurrencyOutput, error) { + req, out := c.UpdateRoutingProfileConcurrencyRequest(input) return out, req.Send() } -// UpdateUserHierarchyGroupNameWithContext is the same as UpdateUserHierarchyGroupName with the addition of +// UpdateRoutingProfileConcurrencyWithContext is the same as UpdateRoutingProfileConcurrency with the addition of // the ability to pass a context and additional request options. // -// See UpdateUserHierarchyGroupName for details on how to use this API operation. +// See UpdateRoutingProfileConcurrency for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Connect) UpdateUserHierarchyGroupNameWithContext(ctx aws.Context, input *UpdateUserHierarchyGroupNameInput, opts ...request.Option) (*UpdateUserHierarchyGroupNameOutput, error) { - req, out := c.UpdateUserHierarchyGroupNameRequest(input) +func (c *Connect) UpdateRoutingProfileConcurrencyWithContext(ctx aws.Context, input *UpdateRoutingProfileConcurrencyInput, opts ...request.Option) (*UpdateRoutingProfileConcurrencyOutput, error) { + req, out := c.UpdateRoutingProfileConcurrencyRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateUserHierarchyStructure = "UpdateUserHierarchyStructure" +const opUpdateRoutingProfileDefaultOutboundQueue = "UpdateRoutingProfileDefaultOutboundQueue" -// UpdateUserHierarchyStructureRequest generates a "aws/request.Request" representing the -// client's request for the UpdateUserHierarchyStructure operation. The "output" return +// UpdateRoutingProfileDefaultOutboundQueueRequest generates a "aws/request.Request" representing the +// client's request for the UpdateRoutingProfileDefaultOutboundQueue operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateUserHierarchyStructure for more information on using the UpdateUserHierarchyStructure +// See UpdateRoutingProfileDefaultOutboundQueue for more information on using the UpdateRoutingProfileDefaultOutboundQueue // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateUserHierarchyStructureRequest method. -// req, resp := client.UpdateUserHierarchyStructureRequest(params) +// // Example sending a request using the UpdateRoutingProfileDefaultOutboundQueueRequest method. +// req, resp := client.UpdateRoutingProfileDefaultOutboundQueueRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserHierarchyStructure -func (c *Connect) UpdateUserHierarchyStructureRequest(input *UpdateUserHierarchyStructureInput) (req *request.Request, output *UpdateUserHierarchyStructureOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileDefaultOutboundQueue +func (c *Connect) UpdateRoutingProfileDefaultOutboundQueueRequest(input *UpdateRoutingProfileDefaultOutboundQueueInput) (req *request.Request, output *UpdateRoutingProfileDefaultOutboundQueueOutput) { op := &request.Operation{ - Name: opUpdateUserHierarchyStructure, + Name: opUpdateRoutingProfileDefaultOutboundQueue, HTTPMethod: "POST", - HTTPPath: "/user-hierarchy-structure/{InstanceId}", + HTTPPath: "/routing-profiles/{InstanceId}/{RoutingProfileId}/default-outbound-queue", } if input == nil { - input = &UpdateUserHierarchyStructureInput{} + input = &UpdateRoutingProfileDefaultOutboundQueueInput{} } - output = &UpdateUserHierarchyStructureOutput{} + output = &UpdateRoutingProfileDefaultOutboundQueueOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UpdateUserHierarchyStructure API operation for Amazon Connect Service. +// UpdateRoutingProfileDefaultOutboundQueue API operation for Amazon Connect Service. // -// Updates the user hierarchy structure: add, remove, and rename user hierarchy -// levels. +// Updates the default outbound queue of a routing profile. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Connect Service's -// API operation UpdateUserHierarchyStructure for usage and error information. +// API operation UpdateRoutingProfileDefaultOutboundQueue for usage and error information. // // Returned Error Types: // * InvalidRequestException @@ -9232,100 +9868,93 @@ func (c *Connect) UpdateUserHierarchyStructureRequest(input *UpdateUserHierarchy // * ResourceNotFoundException // The specified resource was not found. // -// * ResourceInUseException -// That resource is already in use. Please try another. -// // * ThrottlingException // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserHierarchyStructure -func (c *Connect) UpdateUserHierarchyStructure(input *UpdateUserHierarchyStructureInput) (*UpdateUserHierarchyStructureOutput, error) { - req, out := c.UpdateUserHierarchyStructureRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileDefaultOutboundQueue +func (c *Connect) UpdateRoutingProfileDefaultOutboundQueue(input *UpdateRoutingProfileDefaultOutboundQueueInput) (*UpdateRoutingProfileDefaultOutboundQueueOutput, error) { + req, out := c.UpdateRoutingProfileDefaultOutboundQueueRequest(input) return out, req.Send() } -// UpdateUserHierarchyStructureWithContext is the same as UpdateUserHierarchyStructure with the addition of +// UpdateRoutingProfileDefaultOutboundQueueWithContext is the same as UpdateRoutingProfileDefaultOutboundQueue with the addition of // the ability to pass a context and additional request options. // -// See UpdateUserHierarchyStructure for details on how to use this API operation. +// See UpdateRoutingProfileDefaultOutboundQueue for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Connect) UpdateUserHierarchyStructureWithContext(ctx aws.Context, input *UpdateUserHierarchyStructureInput, opts ...request.Option) (*UpdateUserHierarchyStructureOutput, error) { - req, out := c.UpdateUserHierarchyStructureRequest(input) +func (c *Connect) UpdateRoutingProfileDefaultOutboundQueueWithContext(ctx aws.Context, input *UpdateRoutingProfileDefaultOutboundQueueInput, opts ...request.Option) (*UpdateRoutingProfileDefaultOutboundQueueOutput, error) { + req, out := c.UpdateRoutingProfileDefaultOutboundQueueRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateUserIdentityInfo = "UpdateUserIdentityInfo" +const opUpdateRoutingProfileName = "UpdateRoutingProfileName" -// UpdateUserIdentityInfoRequest generates a "aws/request.Request" representing the -// client's request for the UpdateUserIdentityInfo operation. The "output" return +// UpdateRoutingProfileNameRequest generates a "aws/request.Request" representing the +// client's request for the UpdateRoutingProfileName operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateUserIdentityInfo for more information on using the UpdateUserIdentityInfo +// See UpdateRoutingProfileName for more information on using the UpdateRoutingProfileName // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateUserIdentityInfoRequest method. -// req, resp := client.UpdateUserIdentityInfoRequest(params) +// // Example sending a request using the UpdateRoutingProfileNameRequest method. +// req, resp := client.UpdateRoutingProfileNameRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserIdentityInfo -func (c *Connect) UpdateUserIdentityInfoRequest(input *UpdateUserIdentityInfoInput) (req *request.Request, output *UpdateUserIdentityInfoOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileName +func (c *Connect) UpdateRoutingProfileNameRequest(input *UpdateRoutingProfileNameInput) (req *request.Request, output *UpdateRoutingProfileNameOutput) { op := &request.Operation{ - Name: opUpdateUserIdentityInfo, + Name: opUpdateRoutingProfileName, HTTPMethod: "POST", - HTTPPath: "/users/{InstanceId}/{UserId}/identity-info", + HTTPPath: "/routing-profiles/{InstanceId}/{RoutingProfileId}/name", } if input == nil { - input = &UpdateUserIdentityInfoInput{} + input = &UpdateRoutingProfileNameInput{} } - output = &UpdateUserIdentityInfoOutput{} + output = &UpdateRoutingProfileNameOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UpdateUserIdentityInfo API operation for Amazon Connect Service. -// -// Updates the identity information for the specified user. +// UpdateRoutingProfileName API operation for Amazon Connect Service. // -// Someone with the ability to invoke UpdateUserIndentityInfo can change the -// login credentials of other users by changing their email address. This poses -// a security risk to your organization. They can change the email address of -// a user to the attacker's email address, and then reset the password through -// email. We strongly recommend limiting who has the ability to invoke UpdateUserIndentityInfo. -// For more information, see Best Practices for Security Profiles (https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-best-practices.html) -// in the Amazon Connect Administrator Guide. +// Updates the name and description of a routing profile. The request accepts +// the following data in JSON format. At least Name or Description must be provided. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Connect Service's -// API operation UpdateUserIdentityInfo for usage and error information. +// API operation UpdateRoutingProfileName for usage and error information. // // Returned Error Types: +// * DuplicateResourceException +// A resource with the specified name already exists. +// // * InvalidRequestException // The request is not valid. // @@ -9339,83 +9968,83 @@ func (c *Connect) UpdateUserIdentityInfoRequest(input *UpdateUserIdentityInfoInp // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserIdentityInfo -func (c *Connect) UpdateUserIdentityInfo(input *UpdateUserIdentityInfoInput) (*UpdateUserIdentityInfoOutput, error) { - req, out := c.UpdateUserIdentityInfoRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileName +func (c *Connect) UpdateRoutingProfileName(input *UpdateRoutingProfileNameInput) (*UpdateRoutingProfileNameOutput, error) { + req, out := c.UpdateRoutingProfileNameRequest(input) return out, req.Send() } -// UpdateUserIdentityInfoWithContext is the same as UpdateUserIdentityInfo with the addition of +// UpdateRoutingProfileNameWithContext is the same as UpdateRoutingProfileName with the addition of // the ability to pass a context and additional request options. // -// See UpdateUserIdentityInfo for details on how to use this API operation. +// See UpdateRoutingProfileName for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Connect) UpdateUserIdentityInfoWithContext(ctx aws.Context, input *UpdateUserIdentityInfoInput, opts ...request.Option) (*UpdateUserIdentityInfoOutput, error) { - req, out := c.UpdateUserIdentityInfoRequest(input) +func (c *Connect) UpdateRoutingProfileNameWithContext(ctx aws.Context, input *UpdateRoutingProfileNameInput, opts ...request.Option) (*UpdateRoutingProfileNameOutput, error) { + req, out := c.UpdateRoutingProfileNameRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateUserPhoneConfig = "UpdateUserPhoneConfig" +const opUpdateRoutingProfileQueues = "UpdateRoutingProfileQueues" -// UpdateUserPhoneConfigRequest generates a "aws/request.Request" representing the -// client's request for the UpdateUserPhoneConfig operation. The "output" return +// UpdateRoutingProfileQueuesRequest generates a "aws/request.Request" representing the +// client's request for the UpdateRoutingProfileQueues operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateUserPhoneConfig for more information on using the UpdateUserPhoneConfig +// See UpdateRoutingProfileQueues for more information on using the UpdateRoutingProfileQueues // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateUserPhoneConfigRequest method. -// req, resp := client.UpdateUserPhoneConfigRequest(params) +// // Example sending a request using the UpdateRoutingProfileQueuesRequest method. +// req, resp := client.UpdateRoutingProfileQueuesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserPhoneConfig -func (c *Connect) UpdateUserPhoneConfigRequest(input *UpdateUserPhoneConfigInput) (req *request.Request, output *UpdateUserPhoneConfigOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileQueues +func (c *Connect) UpdateRoutingProfileQueuesRequest(input *UpdateRoutingProfileQueuesInput) (req *request.Request, output *UpdateRoutingProfileQueuesOutput) { op := &request.Operation{ - Name: opUpdateUserPhoneConfig, + Name: opUpdateRoutingProfileQueues, HTTPMethod: "POST", - HTTPPath: "/users/{InstanceId}/{UserId}/phone-config", + HTTPPath: "/routing-profiles/{InstanceId}/{RoutingProfileId}/queues", } if input == nil { - input = &UpdateUserPhoneConfigInput{} + input = &UpdateRoutingProfileQueuesInput{} } - output = &UpdateUserPhoneConfigOutput{} + output = &UpdateRoutingProfileQueuesOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UpdateUserPhoneConfig API operation for Amazon Connect Service. +// UpdateRoutingProfileQueues API operation for Amazon Connect Service. // -// Updates the phone configuration settings for the specified user. +// Updates the properties associated with a set of queues for a routing profile. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Connect Service's -// API operation UpdateUserPhoneConfig for usage and error information. +// API operation UpdateRoutingProfileQueues for usage and error information. // // Returned Error Types: // * InvalidRequestException @@ -9431,83 +10060,83 @@ func (c *Connect) UpdateUserPhoneConfigRequest(input *UpdateUserPhoneConfigInput // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserPhoneConfig -func (c *Connect) UpdateUserPhoneConfig(input *UpdateUserPhoneConfigInput) (*UpdateUserPhoneConfigOutput, error) { - req, out := c.UpdateUserPhoneConfigRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileQueues +func (c *Connect) UpdateRoutingProfileQueues(input *UpdateRoutingProfileQueuesInput) (*UpdateRoutingProfileQueuesOutput, error) { + req, out := c.UpdateRoutingProfileQueuesRequest(input) return out, req.Send() } -// UpdateUserPhoneConfigWithContext is the same as UpdateUserPhoneConfig with the addition of +// UpdateRoutingProfileQueuesWithContext is the same as UpdateRoutingProfileQueues with the addition of // the ability to pass a context and additional request options. // -// See UpdateUserPhoneConfig for details on how to use this API operation. +// See UpdateRoutingProfileQueues for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Connect) UpdateUserPhoneConfigWithContext(ctx aws.Context, input *UpdateUserPhoneConfigInput, opts ...request.Option) (*UpdateUserPhoneConfigOutput, error) { - req, out := c.UpdateUserPhoneConfigRequest(input) +func (c *Connect) UpdateRoutingProfileQueuesWithContext(ctx aws.Context, input *UpdateRoutingProfileQueuesInput, opts ...request.Option) (*UpdateRoutingProfileQueuesOutput, error) { + req, out := c.UpdateRoutingProfileQueuesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateUserRoutingProfile = "UpdateUserRoutingProfile" +const opUpdateUserHierarchy = "UpdateUserHierarchy" -// UpdateUserRoutingProfileRequest generates a "aws/request.Request" representing the -// client's request for the UpdateUserRoutingProfile operation. The "output" return +// UpdateUserHierarchyRequest generates a "aws/request.Request" representing the +// client's request for the UpdateUserHierarchy operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateUserRoutingProfile for more information on using the UpdateUserRoutingProfile +// See UpdateUserHierarchy for more information on using the UpdateUserHierarchy // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateUserRoutingProfileRequest method. -// req, resp := client.UpdateUserRoutingProfileRequest(params) +// // Example sending a request using the UpdateUserHierarchyRequest method. +// req, resp := client.UpdateUserHierarchyRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserRoutingProfile -func (c *Connect) UpdateUserRoutingProfileRequest(input *UpdateUserRoutingProfileInput) (req *request.Request, output *UpdateUserRoutingProfileOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserHierarchy +func (c *Connect) UpdateUserHierarchyRequest(input *UpdateUserHierarchyInput) (req *request.Request, output *UpdateUserHierarchyOutput) { op := &request.Operation{ - Name: opUpdateUserRoutingProfile, + Name: opUpdateUserHierarchy, HTTPMethod: "POST", - HTTPPath: "/users/{InstanceId}/{UserId}/routing-profile", + HTTPPath: "/users/{InstanceId}/{UserId}/hierarchy", } if input == nil { - input = &UpdateUserRoutingProfileInput{} + input = &UpdateUserHierarchyInput{} } - output = &UpdateUserRoutingProfileOutput{} + output = &UpdateUserHierarchyOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UpdateUserRoutingProfile API operation for Amazon Connect Service. +// UpdateUserHierarchy API operation for Amazon Connect Service. // -// Assigns the specified routing profile to the specified user. +// Assigns the specified hierarchy group to the specified user. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Connect Service's -// API operation UpdateUserRoutingProfile for usage and error information. +// API operation UpdateUserHierarchy for usage and error information. // // Returned Error Types: // * InvalidRequestException @@ -9523,83 +10152,83 @@ func (c *Connect) UpdateUserRoutingProfileRequest(input *UpdateUserRoutingProfil // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserRoutingProfile -func (c *Connect) UpdateUserRoutingProfile(input *UpdateUserRoutingProfileInput) (*UpdateUserRoutingProfileOutput, error) { - req, out := c.UpdateUserRoutingProfileRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserHierarchy +func (c *Connect) UpdateUserHierarchy(input *UpdateUserHierarchyInput) (*UpdateUserHierarchyOutput, error) { + req, out := c.UpdateUserHierarchyRequest(input) return out, req.Send() } -// UpdateUserRoutingProfileWithContext is the same as UpdateUserRoutingProfile with the addition of +// UpdateUserHierarchyWithContext is the same as UpdateUserHierarchy with the addition of // the ability to pass a context and additional request options. // -// See UpdateUserRoutingProfile for details on how to use this API operation. +// See UpdateUserHierarchy for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Connect) UpdateUserRoutingProfileWithContext(ctx aws.Context, input *UpdateUserRoutingProfileInput, opts ...request.Option) (*UpdateUserRoutingProfileOutput, error) { - req, out := c.UpdateUserRoutingProfileRequest(input) +func (c *Connect) UpdateUserHierarchyWithContext(ctx aws.Context, input *UpdateUserHierarchyInput, opts ...request.Option) (*UpdateUserHierarchyOutput, error) { + req, out := c.UpdateUserHierarchyRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateUserSecurityProfiles = "UpdateUserSecurityProfiles" +const opUpdateUserHierarchyGroupName = "UpdateUserHierarchyGroupName" -// UpdateUserSecurityProfilesRequest generates a "aws/request.Request" representing the -// client's request for the UpdateUserSecurityProfiles operation. The "output" return +// UpdateUserHierarchyGroupNameRequest generates a "aws/request.Request" representing the +// client's request for the UpdateUserHierarchyGroupName operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateUserSecurityProfiles for more information on using the UpdateUserSecurityProfiles +// See UpdateUserHierarchyGroupName for more information on using the UpdateUserHierarchyGroupName // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateUserSecurityProfilesRequest method. -// req, resp := client.UpdateUserSecurityProfilesRequest(params) +// // Example sending a request using the UpdateUserHierarchyGroupNameRequest method. +// req, resp := client.UpdateUserHierarchyGroupNameRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserSecurityProfiles -func (c *Connect) UpdateUserSecurityProfilesRequest(input *UpdateUserSecurityProfilesInput) (req *request.Request, output *UpdateUserSecurityProfilesOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserHierarchyGroupName +func (c *Connect) UpdateUserHierarchyGroupNameRequest(input *UpdateUserHierarchyGroupNameInput) (req *request.Request, output *UpdateUserHierarchyGroupNameOutput) { op := &request.Operation{ - Name: opUpdateUserSecurityProfiles, + Name: opUpdateUserHierarchyGroupName, HTTPMethod: "POST", - HTTPPath: "/users/{InstanceId}/{UserId}/security-profiles", + HTTPPath: "/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}/name", } if input == nil { - input = &UpdateUserSecurityProfilesInput{} + input = &UpdateUserHierarchyGroupNameInput{} } - output = &UpdateUserSecurityProfilesOutput{} + output = &UpdateUserHierarchyGroupNameOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UpdateUserSecurityProfiles API operation for Amazon Connect Service. +// UpdateUserHierarchyGroupName API operation for Amazon Connect Service. // -// Assigns the specified security profiles to the specified user. +// Updates the name of the user hierarchy group. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Connect Service's -// API operation UpdateUserSecurityProfiles for usage and error information. +// API operation UpdateUserHierarchyGroupName for usage and error information. // // Returned Error Types: // * InvalidRequestException @@ -9608,6 +10237,9 @@ func (c *Connect) UpdateUserSecurityProfilesRequest(input *UpdateUserSecurityPro // * InvalidParameterException // One or more of the specified parameters are not valid. // +// * DuplicateResourceException +// A resource with the specified name already exists. +// // * ResourceNotFoundException // The specified resource was not found. // @@ -9615,87 +10247,559 @@ func (c *Connect) UpdateUserSecurityProfilesRequest(input *UpdateUserSecurityPro // The throttling limit has been exceeded. // // * InternalServiceException -// Request processing failed due to an error or failure with the service. +// Request processing failed because of an error or failure with the service. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserSecurityProfiles -func (c *Connect) UpdateUserSecurityProfiles(input *UpdateUserSecurityProfilesInput) (*UpdateUserSecurityProfilesOutput, error) { - req, out := c.UpdateUserSecurityProfilesRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserHierarchyGroupName +func (c *Connect) UpdateUserHierarchyGroupName(input *UpdateUserHierarchyGroupNameInput) (*UpdateUserHierarchyGroupNameOutput, error) { + req, out := c.UpdateUserHierarchyGroupNameRequest(input) return out, req.Send() } -// UpdateUserSecurityProfilesWithContext is the same as UpdateUserSecurityProfiles with the addition of +// UpdateUserHierarchyGroupNameWithContext is the same as UpdateUserHierarchyGroupName with the addition of // the ability to pass a context and additional request options. // -// See UpdateUserSecurityProfiles for details on how to use this API operation. +// See UpdateUserHierarchyGroupName for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Connect) UpdateUserSecurityProfilesWithContext(ctx aws.Context, input *UpdateUserSecurityProfilesInput, opts ...request.Option) (*UpdateUserSecurityProfilesOutput, error) { - req, out := c.UpdateUserSecurityProfilesRequest(input) +func (c *Connect) UpdateUserHierarchyGroupNameWithContext(ctx aws.Context, input *UpdateUserHierarchyGroupNameInput, opts ...request.Option) (*UpdateUserHierarchyGroupNameOutput, error) { + req, out := c.UpdateUserHierarchyGroupNameRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -type AssociateApprovedOriginInput struct { - _ struct{} `type:"structure"` - - // The identifier of the Amazon Connect instance. - // - // InstanceId is a required field - InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - - // The domain to add to your allow list. - // - // Origin is a required field - Origin *string `type:"string" required:"true"` -} - -// String returns the string representation -func (s AssociateApprovedOriginInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s AssociateApprovedOriginInput) GoString() string { - return s.String() -} +const opUpdateUserHierarchyStructure = "UpdateUserHierarchyStructure" -// Validate inspects the fields of the type to determine if they are valid. -func (s *AssociateApprovedOriginInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AssociateApprovedOriginInput"} - if s.InstanceId == nil { - invalidParams.Add(request.NewErrParamRequired("InstanceId")) - } - if s.InstanceId != nil && len(*s.InstanceId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) - } - if s.Origin == nil { - invalidParams.Add(request.NewErrParamRequired("Origin")) +// UpdateUserHierarchyStructureRequest generates a "aws/request.Request" representing the +// client's request for the UpdateUserHierarchyStructure operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateUserHierarchyStructure for more information on using the UpdateUserHierarchyStructure +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateUserHierarchyStructureRequest method. +// req, resp := client.UpdateUserHierarchyStructureRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserHierarchyStructure +func (c *Connect) UpdateUserHierarchyStructureRequest(input *UpdateUserHierarchyStructureInput) (req *request.Request, output *UpdateUserHierarchyStructureOutput) { + op := &request.Operation{ + Name: opUpdateUserHierarchyStructure, + HTTPMethod: "POST", + HTTPPath: "/user-hierarchy-structure/{InstanceId}", } - if invalidParams.Len() > 0 { - return invalidParams + if input == nil { + input = &UpdateUserHierarchyStructureInput{} } - return nil -} -// SetInstanceId sets the InstanceId field's value. -func (s *AssociateApprovedOriginInput) SetInstanceId(v string) *AssociateApprovedOriginInput { - s.InstanceId = &v - return s + output = &UpdateUserHierarchyStructureOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return } -// SetOrigin sets the Origin field's value. -func (s *AssociateApprovedOriginInput) SetOrigin(v string) *AssociateApprovedOriginInput { - s.Origin = &v - return s +// UpdateUserHierarchyStructure API operation for Amazon Connect Service. +// +// Updates the user hierarchy structure: add, remove, and rename user hierarchy +// levels. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Connect Service's +// API operation UpdateUserHierarchyStructure for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// The request is not valid. +// +// * InvalidParameterException +// One or more of the specified parameters are not valid. +// +// * ResourceNotFoundException +// The specified resource was not found. +// +// * ResourceInUseException +// That resource is already in use. Please try another. +// +// * ThrottlingException +// The throttling limit has been exceeded. +// +// * InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserHierarchyStructure +func (c *Connect) UpdateUserHierarchyStructure(input *UpdateUserHierarchyStructureInput) (*UpdateUserHierarchyStructureOutput, error) { + req, out := c.UpdateUserHierarchyStructureRequest(input) + return out, req.Send() } -type AssociateApprovedOriginOutput struct { - _ struct{} `type:"structure"` +// UpdateUserHierarchyStructureWithContext is the same as UpdateUserHierarchyStructure with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateUserHierarchyStructure for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Connect) UpdateUserHierarchyStructureWithContext(ctx aws.Context, input *UpdateUserHierarchyStructureInput, opts ...request.Option) (*UpdateUserHierarchyStructureOutput, error) { + req, out := c.UpdateUserHierarchyStructureRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateUserIdentityInfo = "UpdateUserIdentityInfo" + +// UpdateUserIdentityInfoRequest generates a "aws/request.Request" representing the +// client's request for the UpdateUserIdentityInfo operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateUserIdentityInfo for more information on using the UpdateUserIdentityInfo +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateUserIdentityInfoRequest method. +// req, resp := client.UpdateUserIdentityInfoRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserIdentityInfo +func (c *Connect) UpdateUserIdentityInfoRequest(input *UpdateUserIdentityInfoInput) (req *request.Request, output *UpdateUserIdentityInfoOutput) { + op := &request.Operation{ + Name: opUpdateUserIdentityInfo, + HTTPMethod: "POST", + HTTPPath: "/users/{InstanceId}/{UserId}/identity-info", + } + + if input == nil { + input = &UpdateUserIdentityInfoInput{} + } + + output = &UpdateUserIdentityInfoOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateUserIdentityInfo API operation for Amazon Connect Service. +// +// Updates the identity information for the specified user. +// +// We strongly recommend limiting who has the ability to invoke UpdateUserIdentityInfo. +// Someone with that ability can change the login credentials of other users +// by changing their email address. This poses a security risk to your organization. +// They can change the email address of a user to the attacker's email address, +// and then reset the password through email. For more information, see Best +// Practices for Security Profiles (https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-best-practices.html) +// in the Amazon Connect Administrator Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Connect Service's +// API operation UpdateUserIdentityInfo for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// The request is not valid. +// +// * InvalidParameterException +// One or more of the specified parameters are not valid. +// +// * ResourceNotFoundException +// The specified resource was not found. +// +// * ThrottlingException +// The throttling limit has been exceeded. +// +// * InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserIdentityInfo +func (c *Connect) UpdateUserIdentityInfo(input *UpdateUserIdentityInfoInput) (*UpdateUserIdentityInfoOutput, error) { + req, out := c.UpdateUserIdentityInfoRequest(input) + return out, req.Send() +} + +// UpdateUserIdentityInfoWithContext is the same as UpdateUserIdentityInfo with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateUserIdentityInfo for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Connect) UpdateUserIdentityInfoWithContext(ctx aws.Context, input *UpdateUserIdentityInfoInput, opts ...request.Option) (*UpdateUserIdentityInfoOutput, error) { + req, out := c.UpdateUserIdentityInfoRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateUserPhoneConfig = "UpdateUserPhoneConfig" + +// UpdateUserPhoneConfigRequest generates a "aws/request.Request" representing the +// client's request for the UpdateUserPhoneConfig operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateUserPhoneConfig for more information on using the UpdateUserPhoneConfig +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateUserPhoneConfigRequest method. +// req, resp := client.UpdateUserPhoneConfigRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserPhoneConfig +func (c *Connect) UpdateUserPhoneConfigRequest(input *UpdateUserPhoneConfigInput) (req *request.Request, output *UpdateUserPhoneConfigOutput) { + op := &request.Operation{ + Name: opUpdateUserPhoneConfig, + HTTPMethod: "POST", + HTTPPath: "/users/{InstanceId}/{UserId}/phone-config", + } + + if input == nil { + input = &UpdateUserPhoneConfigInput{} + } + + output = &UpdateUserPhoneConfigOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateUserPhoneConfig API operation for Amazon Connect Service. +// +// Updates the phone configuration settings for the specified user. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Connect Service's +// API operation UpdateUserPhoneConfig for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// The request is not valid. +// +// * InvalidParameterException +// One or more of the specified parameters are not valid. +// +// * ResourceNotFoundException +// The specified resource was not found. +// +// * ThrottlingException +// The throttling limit has been exceeded. +// +// * InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserPhoneConfig +func (c *Connect) UpdateUserPhoneConfig(input *UpdateUserPhoneConfigInput) (*UpdateUserPhoneConfigOutput, error) { + req, out := c.UpdateUserPhoneConfigRequest(input) + return out, req.Send() +} + +// UpdateUserPhoneConfigWithContext is the same as UpdateUserPhoneConfig with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateUserPhoneConfig for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Connect) UpdateUserPhoneConfigWithContext(ctx aws.Context, input *UpdateUserPhoneConfigInput, opts ...request.Option) (*UpdateUserPhoneConfigOutput, error) { + req, out := c.UpdateUserPhoneConfigRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateUserRoutingProfile = "UpdateUserRoutingProfile" + +// UpdateUserRoutingProfileRequest generates a "aws/request.Request" representing the +// client's request for the UpdateUserRoutingProfile operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateUserRoutingProfile for more information on using the UpdateUserRoutingProfile +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateUserRoutingProfileRequest method. +// req, resp := client.UpdateUserRoutingProfileRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserRoutingProfile +func (c *Connect) UpdateUserRoutingProfileRequest(input *UpdateUserRoutingProfileInput) (req *request.Request, output *UpdateUserRoutingProfileOutput) { + op := &request.Operation{ + Name: opUpdateUserRoutingProfile, + HTTPMethod: "POST", + HTTPPath: "/users/{InstanceId}/{UserId}/routing-profile", + } + + if input == nil { + input = &UpdateUserRoutingProfileInput{} + } + + output = &UpdateUserRoutingProfileOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateUserRoutingProfile API operation for Amazon Connect Service. +// +// Assigns the specified routing profile to the specified user. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Connect Service's +// API operation UpdateUserRoutingProfile for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// The request is not valid. +// +// * InvalidParameterException +// One or more of the specified parameters are not valid. +// +// * ResourceNotFoundException +// The specified resource was not found. +// +// * ThrottlingException +// The throttling limit has been exceeded. +// +// * InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserRoutingProfile +func (c *Connect) UpdateUserRoutingProfile(input *UpdateUserRoutingProfileInput) (*UpdateUserRoutingProfileOutput, error) { + req, out := c.UpdateUserRoutingProfileRequest(input) + return out, req.Send() +} + +// UpdateUserRoutingProfileWithContext is the same as UpdateUserRoutingProfile with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateUserRoutingProfile for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Connect) UpdateUserRoutingProfileWithContext(ctx aws.Context, input *UpdateUserRoutingProfileInput, opts ...request.Option) (*UpdateUserRoutingProfileOutput, error) { + req, out := c.UpdateUserRoutingProfileRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateUserSecurityProfiles = "UpdateUserSecurityProfiles" + +// UpdateUserSecurityProfilesRequest generates a "aws/request.Request" representing the +// client's request for the UpdateUserSecurityProfiles operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateUserSecurityProfiles for more information on using the UpdateUserSecurityProfiles +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateUserSecurityProfilesRequest method. +// req, resp := client.UpdateUserSecurityProfilesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserSecurityProfiles +func (c *Connect) UpdateUserSecurityProfilesRequest(input *UpdateUserSecurityProfilesInput) (req *request.Request, output *UpdateUserSecurityProfilesOutput) { + op := &request.Operation{ + Name: opUpdateUserSecurityProfiles, + HTTPMethod: "POST", + HTTPPath: "/users/{InstanceId}/{UserId}/security-profiles", + } + + if input == nil { + input = &UpdateUserSecurityProfilesInput{} + } + + output = &UpdateUserSecurityProfilesOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateUserSecurityProfiles API operation for Amazon Connect Service. +// +// Assigns the specified security profiles to the specified user. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Connect Service's +// API operation UpdateUserSecurityProfiles for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// The request is not valid. +// +// * InvalidParameterException +// One or more of the specified parameters are not valid. +// +// * ResourceNotFoundException +// The specified resource was not found. +// +// * ThrottlingException +// The throttling limit has been exceeded. +// +// * InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserSecurityProfiles +func (c *Connect) UpdateUserSecurityProfiles(input *UpdateUserSecurityProfilesInput) (*UpdateUserSecurityProfilesOutput, error) { + req, out := c.UpdateUserSecurityProfilesRequest(input) + return out, req.Send() +} + +// UpdateUserSecurityProfilesWithContext is the same as UpdateUserSecurityProfiles with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateUserSecurityProfiles for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Connect) UpdateUserSecurityProfilesWithContext(ctx aws.Context, input *UpdateUserSecurityProfilesInput, opts ...request.Option) (*UpdateUserSecurityProfilesOutput, error) { + req, out := c.UpdateUserSecurityProfilesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +type AssociateApprovedOriginInput struct { + _ struct{} `type:"structure"` + + // The identifier of the Amazon Connect instance. + // + // InstanceId is a required field + InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` + + // The domain to add to your allow list. + // + // Origin is a required field + Origin *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s AssociateApprovedOriginInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AssociateApprovedOriginInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AssociateApprovedOriginInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AssociateApprovedOriginInput"} + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + if s.Origin == nil { + invalidParams.Add(request.NewErrParamRequired("Origin")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInstanceId sets the InstanceId field's value. +func (s *AssociateApprovedOriginInput) SetInstanceId(v string) *AssociateApprovedOriginInput { + s.InstanceId = &v + return s +} + +// SetOrigin sets the Origin field's value. +func (s *AssociateApprovedOriginInput) SetOrigin(v string) *AssociateApprovedOriginInput { + s.Origin = &v + return s +} + +type AssociateApprovedOriginOutput struct { + _ struct{} `type:"structure"` } // String returns the string representation @@ -9948,6 +11052,95 @@ func (s AssociateLexBotOutput) GoString() string { return s.String() } +type AssociateQueueQuickConnectsInput struct { + _ struct{} `type:"structure"` + + // The identifier of the Amazon Connect instance. + // + // InstanceId is a required field + InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` + + // The identifier for the queue. + // + // QueueId is a required field + QueueId *string `location:"uri" locationName:"QueueId" type:"string" required:"true"` + + // The quick connects to associate with this queue. + // + // QuickConnectIds is a required field + QuickConnectIds []*string `min:"1" type:"list" required:"true"` +} + +// String returns the string representation +func (s AssociateQueueQuickConnectsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AssociateQueueQuickConnectsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AssociateQueueQuickConnectsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AssociateQueueQuickConnectsInput"} + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + if s.QueueId == nil { + invalidParams.Add(request.NewErrParamRequired("QueueId")) + } + if s.QueueId != nil && len(*s.QueueId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("QueueId", 1)) + } + if s.QuickConnectIds == nil { + invalidParams.Add(request.NewErrParamRequired("QuickConnectIds")) + } + if s.QuickConnectIds != nil && len(s.QuickConnectIds) < 1 { + invalidParams.Add(request.NewErrParamMinLen("QuickConnectIds", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInstanceId sets the InstanceId field's value. +func (s *AssociateQueueQuickConnectsInput) SetInstanceId(v string) *AssociateQueueQuickConnectsInput { + s.InstanceId = &v + return s +} + +// SetQueueId sets the QueueId field's value. +func (s *AssociateQueueQuickConnectsInput) SetQueueId(v string) *AssociateQueueQuickConnectsInput { + s.QueueId = &v + return s +} + +// SetQuickConnectIds sets the QuickConnectIds field's value. +func (s *AssociateQueueQuickConnectsInput) SetQuickConnectIds(v []*string) *AssociateQueueQuickConnectsInput { + s.QuickConnectIds = v + return s +} + +type AssociateQueueQuickConnectsOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s AssociateQueueQuickConnectsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AssociateQueueQuickConnectsOutput) GoString() string { + return s.String() +} + type AssociateRoutingProfileQueuesInput struct { _ struct{} `type:"structure"` @@ -10171,7 +11364,7 @@ type ChatMessage struct { // Content is a required field Content *string `min:"1" type:"string" required:"true"` - // The type of the content. Supported types are text/plain. + // The type of the content. Supported types are text and plain. // // ContentType is a required field ContentType *string `min:"1" type:"string" required:"true"` @@ -10623,7 +11816,7 @@ type CreateInstanceInput struct { // IdentityManagementType is a required field IdentityManagementType *string `type:"string" required:"true" enum:"DirectoryType"` - // Whether your contact center handles incoming contacts. + // Your contact center handles incoming contacts. // // InboundCallsEnabled is a required field InboundCallsEnabled *bool `type:"boolean" required:"true"` @@ -10631,7 +11824,7 @@ type CreateInstanceInput struct { // The name for your instance. InstanceAlias *string `min:"1" type:"string" sensitive:"true"` - // Whether your contact center allows outbound calls. + // Your contact center allows outbound calls. // // OutboundCallsEnabled is a required field OutboundCallsEnabled *bool `type:"boolean" required:"true"` @@ -10811,8 +12004,160 @@ func (s *CreateIntegrationAssociationInput) Validate() error { if s.SourceApplicationUrl != nil && len(*s.SourceApplicationUrl) < 1 { invalidParams.Add(request.NewErrParamMinLen("SourceApplicationUrl", 1)) } - if s.SourceType == nil { - invalidParams.Add(request.NewErrParamRequired("SourceType")) + if s.SourceType == nil { + invalidParams.Add(request.NewErrParamRequired("SourceType")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInstanceId sets the InstanceId field's value. +func (s *CreateIntegrationAssociationInput) SetInstanceId(v string) *CreateIntegrationAssociationInput { + s.InstanceId = &v + return s +} + +// SetIntegrationArn sets the IntegrationArn field's value. +func (s *CreateIntegrationAssociationInput) SetIntegrationArn(v string) *CreateIntegrationAssociationInput { + s.IntegrationArn = &v + return s +} + +// SetIntegrationType sets the IntegrationType field's value. +func (s *CreateIntegrationAssociationInput) SetIntegrationType(v string) *CreateIntegrationAssociationInput { + s.IntegrationType = &v + return s +} + +// SetSourceApplicationName sets the SourceApplicationName field's value. +func (s *CreateIntegrationAssociationInput) SetSourceApplicationName(v string) *CreateIntegrationAssociationInput { + s.SourceApplicationName = &v + return s +} + +// SetSourceApplicationUrl sets the SourceApplicationUrl field's value. +func (s *CreateIntegrationAssociationInput) SetSourceApplicationUrl(v string) *CreateIntegrationAssociationInput { + s.SourceApplicationUrl = &v + return s +} + +// SetSourceType sets the SourceType field's value. +func (s *CreateIntegrationAssociationInput) SetSourceType(v string) *CreateIntegrationAssociationInput { + s.SourceType = &v + return s +} + +type CreateIntegrationAssociationOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) for the association. + IntegrationAssociationArn *string `type:"string"` + + // The identifier for the association. + IntegrationAssociationId *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s CreateIntegrationAssociationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateIntegrationAssociationOutput) GoString() string { + return s.String() +} + +// SetIntegrationAssociationArn sets the IntegrationAssociationArn field's value. +func (s *CreateIntegrationAssociationOutput) SetIntegrationAssociationArn(v string) *CreateIntegrationAssociationOutput { + s.IntegrationAssociationArn = &v + return s +} + +// SetIntegrationAssociationId sets the IntegrationAssociationId field's value. +func (s *CreateIntegrationAssociationOutput) SetIntegrationAssociationId(v string) *CreateIntegrationAssociationOutput { + s.IntegrationAssociationId = &v + return s +} + +type CreateQueueInput struct { + _ struct{} `type:"structure"` + + // The description of the queue. + Description *string `min:"1" type:"string"` + + // The identifier for the hours of operation. + // + // HoursOfOperationId is a required field + HoursOfOperationId *string `type:"string" required:"true"` + + // The identifier of the Amazon Connect instance. + // + // InstanceId is a required field + InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` + + // The maximum number of contacts that can be in the queue before it is considered + // full. + MaxContacts *int64 `type:"integer"` + + // The name of the queue. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` + + // The outbound caller ID name, number, and outbound whisper flow. + OutboundCallerConfig *OutboundCallerConfig `type:"structure"` + + // The quick connects available to agents who are working the queue. + QuickConnectIds []*string `min:"1" type:"list"` + + // One or more tags. + Tags map[string]*string `min:"1" type:"map"` +} + +// String returns the string representation +func (s CreateQueueInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateQueueInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateQueueInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateQueueInput"} + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) + } + if s.HoursOfOperationId == nil { + invalidParams.Add(request.NewErrParamRequired("HoursOfOperationId")) + } + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.QuickConnectIds != nil && len(s.QuickConnectIds) < 1 { + invalidParams.Add(request.NewErrParamMinLen("QuickConnectIds", 1)) + } + if s.Tags != nil && len(s.Tags) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) + } + if s.OutboundCallerConfig != nil { + if err := s.OutboundCallerConfig.Validate(); err != nil { + invalidParams.AddNested("OutboundCallerConfig", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -10821,71 +12166,83 @@ func (s *CreateIntegrationAssociationInput) Validate() error { return nil } +// SetDescription sets the Description field's value. +func (s *CreateQueueInput) SetDescription(v string) *CreateQueueInput { + s.Description = &v + return s +} + +// SetHoursOfOperationId sets the HoursOfOperationId field's value. +func (s *CreateQueueInput) SetHoursOfOperationId(v string) *CreateQueueInput { + s.HoursOfOperationId = &v + return s +} + // SetInstanceId sets the InstanceId field's value. -func (s *CreateIntegrationAssociationInput) SetInstanceId(v string) *CreateIntegrationAssociationInput { +func (s *CreateQueueInput) SetInstanceId(v string) *CreateQueueInput { s.InstanceId = &v return s } -// SetIntegrationArn sets the IntegrationArn field's value. -func (s *CreateIntegrationAssociationInput) SetIntegrationArn(v string) *CreateIntegrationAssociationInput { - s.IntegrationArn = &v +// SetMaxContacts sets the MaxContacts field's value. +func (s *CreateQueueInput) SetMaxContacts(v int64) *CreateQueueInput { + s.MaxContacts = &v return s } -// SetIntegrationType sets the IntegrationType field's value. -func (s *CreateIntegrationAssociationInput) SetIntegrationType(v string) *CreateIntegrationAssociationInput { - s.IntegrationType = &v +// SetName sets the Name field's value. +func (s *CreateQueueInput) SetName(v string) *CreateQueueInput { + s.Name = &v return s } -// SetSourceApplicationName sets the SourceApplicationName field's value. -func (s *CreateIntegrationAssociationInput) SetSourceApplicationName(v string) *CreateIntegrationAssociationInput { - s.SourceApplicationName = &v +// SetOutboundCallerConfig sets the OutboundCallerConfig field's value. +func (s *CreateQueueInput) SetOutboundCallerConfig(v *OutboundCallerConfig) *CreateQueueInput { + s.OutboundCallerConfig = v return s } -// SetSourceApplicationUrl sets the SourceApplicationUrl field's value. -func (s *CreateIntegrationAssociationInput) SetSourceApplicationUrl(v string) *CreateIntegrationAssociationInput { - s.SourceApplicationUrl = &v +// SetQuickConnectIds sets the QuickConnectIds field's value. +func (s *CreateQueueInput) SetQuickConnectIds(v []*string) *CreateQueueInput { + s.QuickConnectIds = v return s } -// SetSourceType sets the SourceType field's value. -func (s *CreateIntegrationAssociationInput) SetSourceType(v string) *CreateIntegrationAssociationInput { - s.SourceType = &v +// SetTags sets the Tags field's value. +func (s *CreateQueueInput) SetTags(v map[string]*string) *CreateQueueInput { + s.Tags = v return s } -type CreateIntegrationAssociationOutput struct { +type CreateQueueOutput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) for the association. - IntegrationAssociationArn *string `type:"string"` + // The Amazon Resource Name (ARN) of the queue. + QueueArn *string `type:"string"` - // The identifier for the association. - IntegrationAssociationId *string `min:"1" type:"string"` + // The identifier for the queue. + QueueId *string `type:"string"` } // String returns the string representation -func (s CreateIntegrationAssociationOutput) String() string { +func (s CreateQueueOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateIntegrationAssociationOutput) GoString() string { +func (s CreateQueueOutput) GoString() string { return s.String() } -// SetIntegrationAssociationArn sets the IntegrationAssociationArn field's value. -func (s *CreateIntegrationAssociationOutput) SetIntegrationAssociationArn(v string) *CreateIntegrationAssociationOutput { - s.IntegrationAssociationArn = &v +// SetQueueArn sets the QueueArn field's value. +func (s *CreateQueueOutput) SetQueueArn(v string) *CreateQueueOutput { + s.QueueArn = &v return s } -// SetIntegrationAssociationId sets the IntegrationAssociationId field's value. -func (s *CreateIntegrationAssociationOutput) SetIntegrationAssociationId(v string) *CreateIntegrationAssociationOutput { - s.IntegrationAssociationId = &v +// SetQueueId sets the QueueId field's value. +func (s *CreateQueueOutput) SetQueueId(v string) *CreateQueueOutput { + s.QueueId = &v return s } @@ -11037,8 +12394,8 @@ type CreateRoutingProfileInput struct { // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // The channels agents can handle in the Contact Control Panel (CCP) for this - // routing profile. + // The channels that agents can handle in the Contact Control Panel (CCP) for + // this routing profile. // // MediaConcurrencies is a required field MediaConcurrencies []*MediaConcurrency `type:"list" required:"true"` @@ -11049,7 +12406,7 @@ type CreateRoutingProfileInput struct { Name *string `min:"1" type:"string" required:"true"` // The inbound queues associated with the routing profile. If no queue is added, - // the agent can only make outbound calls. + // the agent can make only outbound calls. QueueConfigs []*RoutingProfileQueueConfig `min:"1" type:"list"` // One or more tags. @@ -12275,6 +13632,87 @@ func (s *DescribeContactFlowOutput) SetContactFlow(v *ContactFlow) *DescribeCont return s } +type DescribeHoursOfOperationInput struct { + _ struct{} `type:"structure"` + + // The identifier for the hours of operation. + // + // HoursOfOperationId is a required field + HoursOfOperationId *string `location:"uri" locationName:"HoursOfOperationId" type:"string" required:"true"` + + // The identifier of the Amazon Connect instance. + // + // InstanceId is a required field + InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeHoursOfOperationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeHoursOfOperationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeHoursOfOperationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeHoursOfOperationInput"} + if s.HoursOfOperationId == nil { + invalidParams.Add(request.NewErrParamRequired("HoursOfOperationId")) + } + if s.HoursOfOperationId != nil && len(*s.HoursOfOperationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("HoursOfOperationId", 1)) + } + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetHoursOfOperationId sets the HoursOfOperationId field's value. +func (s *DescribeHoursOfOperationInput) SetHoursOfOperationId(v string) *DescribeHoursOfOperationInput { + s.HoursOfOperationId = &v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *DescribeHoursOfOperationInput) SetInstanceId(v string) *DescribeHoursOfOperationInput { + s.InstanceId = &v + return s +} + +type DescribeHoursOfOperationOutput struct { + _ struct{} `type:"structure"` + + // The hours of operation. + HoursOfOperation *HoursOfOperation `type:"structure"` +} + +// String returns the string representation +func (s DescribeHoursOfOperationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeHoursOfOperationOutput) GoString() string { + return s.String() +} + +// SetHoursOfOperation sets the HoursOfOperation field's value. +func (s *DescribeHoursOfOperationOutput) SetHoursOfOperation(v *HoursOfOperation) *DescribeHoursOfOperationOutput { + s.HoursOfOperation = v + return s +} + type DescribeInstanceAttributeInput struct { _ struct{} `type:"structure"` @@ -12516,6 +13954,87 @@ func (s *DescribeInstanceStorageConfigOutput) SetStorageConfig(v *InstanceStorag return s } +type DescribeQueueInput struct { + _ struct{} `type:"structure"` + + // The identifier of the Amazon Connect instance. + // + // InstanceId is a required field + InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` + + // The identifier for the queue. + // + // QueueId is a required field + QueueId *string `location:"uri" locationName:"QueueId" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeQueueInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeQueueInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeQueueInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeQueueInput"} + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + if s.QueueId == nil { + invalidParams.Add(request.NewErrParamRequired("QueueId")) + } + if s.QueueId != nil && len(*s.QueueId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("QueueId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInstanceId sets the InstanceId field's value. +func (s *DescribeQueueInput) SetInstanceId(v string) *DescribeQueueInput { + s.InstanceId = &v + return s +} + +// SetQueueId sets the QueueId field's value. +func (s *DescribeQueueInput) SetQueueId(v string) *DescribeQueueInput { + s.QueueId = &v + return s +} + +type DescribeQueueOutput struct { + _ struct{} `type:"structure"` + + // The name of the queue. + Queue *Queue `type:"structure"` +} + +// String returns the string representation +func (s DescribeQueueOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeQueueOutput) GoString() string { + return s.String() +} + +// SetQueue sets the Queue field's value. +func (s *DescribeQueueOutput) SetQueue(v *Queue) *DescribeQueueOutput { + s.Queue = v + return s +} + type DescribeQuickConnectInput struct { _ struct{} `type:"structure"` @@ -12909,7 +14428,7 @@ type DestinationNotAllowedException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // The message. + // The message about the outbound calls. Message_ *string `locationName:"Message" type:"string"` } @@ -13208,63 +14727,152 @@ func (s *DisassociateLambdaFunctionInput) SetInstanceId(v string) *DisassociateL return s } -type DisassociateLambdaFunctionOutput struct { +type DisassociateLambdaFunctionOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DisassociateLambdaFunctionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DisassociateLambdaFunctionOutput) GoString() string { + return s.String() +} + +type DisassociateLexBotInput struct { + _ struct{} `type:"structure"` + + // The name of the Amazon Lex bot. Maximum character limit of 50. + // + // BotName is a required field + BotName *string `location:"querystring" locationName:"botName" type:"string" required:"true"` + + // The identifier of the Amazon Connect instance. + // + // InstanceId is a required field + InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` + + // The Region in which the Amazon Lex bot has been created. + // + // LexRegion is a required field + LexRegion *string `location:"querystring" locationName:"lexRegion" type:"string" required:"true"` +} + +// String returns the string representation +func (s DisassociateLexBotInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DisassociateLexBotInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DisassociateLexBotInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DisassociateLexBotInput"} + if s.BotName == nil { + invalidParams.Add(request.NewErrParamRequired("BotName")) + } + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + if s.LexRegion == nil { + invalidParams.Add(request.NewErrParamRequired("LexRegion")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBotName sets the BotName field's value. +func (s *DisassociateLexBotInput) SetBotName(v string) *DisassociateLexBotInput { + s.BotName = &v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *DisassociateLexBotInput) SetInstanceId(v string) *DisassociateLexBotInput { + s.InstanceId = &v + return s +} + +// SetLexRegion sets the LexRegion field's value. +func (s *DisassociateLexBotInput) SetLexRegion(v string) *DisassociateLexBotInput { + s.LexRegion = &v + return s +} + +type DisassociateLexBotOutput struct { _ struct{} `type:"structure"` } // String returns the string representation -func (s DisassociateLambdaFunctionOutput) String() string { +func (s DisassociateLexBotOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DisassociateLambdaFunctionOutput) GoString() string { +func (s DisassociateLexBotOutput) GoString() string { return s.String() } -type DisassociateLexBotInput struct { +type DisassociateQueueQuickConnectsInput struct { _ struct{} `type:"structure"` - // The name of the Amazon Lex bot. Maximum character limit of 50. - // - // BotName is a required field - BotName *string `location:"querystring" locationName:"botName" type:"string" required:"true"` - // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // The Region in which the Amazon Lex bot has been created. + // The identifier for the queue. // - // LexRegion is a required field - LexRegion *string `location:"querystring" locationName:"lexRegion" type:"string" required:"true"` + // QueueId is a required field + QueueId *string `location:"uri" locationName:"QueueId" type:"string" required:"true"` + + // The quick connects to disassociate from the queue. + // + // QuickConnectIds is a required field + QuickConnectIds []*string `min:"1" type:"list" required:"true"` } // String returns the string representation -func (s DisassociateLexBotInput) String() string { +func (s DisassociateQueueQuickConnectsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DisassociateLexBotInput) GoString() string { +func (s DisassociateQueueQuickConnectsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DisassociateLexBotInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DisassociateLexBotInput"} - if s.BotName == nil { - invalidParams.Add(request.NewErrParamRequired("BotName")) - } +func (s *DisassociateQueueQuickConnectsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DisassociateQueueQuickConnectsInput"} if s.InstanceId == nil { invalidParams.Add(request.NewErrParamRequired("InstanceId")) } if s.InstanceId != nil && len(*s.InstanceId) < 1 { invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) } - if s.LexRegion == nil { - invalidParams.Add(request.NewErrParamRequired("LexRegion")) + if s.QueueId == nil { + invalidParams.Add(request.NewErrParamRequired("QueueId")) + } + if s.QueueId != nil && len(*s.QueueId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("QueueId", 1)) + } + if s.QuickConnectIds == nil { + invalidParams.Add(request.NewErrParamRequired("QuickConnectIds")) + } + if s.QuickConnectIds != nil && len(s.QuickConnectIds) < 1 { + invalidParams.Add(request.NewErrParamMinLen("QuickConnectIds", 1)) } if invalidParams.Len() > 0 { @@ -13273,35 +14881,35 @@ func (s *DisassociateLexBotInput) Validate() error { return nil } -// SetBotName sets the BotName field's value. -func (s *DisassociateLexBotInput) SetBotName(v string) *DisassociateLexBotInput { - s.BotName = &v +// SetInstanceId sets the InstanceId field's value. +func (s *DisassociateQueueQuickConnectsInput) SetInstanceId(v string) *DisassociateQueueQuickConnectsInput { + s.InstanceId = &v return s } -// SetInstanceId sets the InstanceId field's value. -func (s *DisassociateLexBotInput) SetInstanceId(v string) *DisassociateLexBotInput { - s.InstanceId = &v +// SetQueueId sets the QueueId field's value. +func (s *DisassociateQueueQuickConnectsInput) SetQueueId(v string) *DisassociateQueueQuickConnectsInput { + s.QueueId = &v return s } -// SetLexRegion sets the LexRegion field's value. -func (s *DisassociateLexBotInput) SetLexRegion(v string) *DisassociateLexBotInput { - s.LexRegion = &v +// SetQuickConnectIds sets the QuickConnectIds field's value. +func (s *DisassociateQueueQuickConnectsInput) SetQuickConnectIds(v []*string) *DisassociateQueueQuickConnectsInput { + s.QuickConnectIds = v return s } -type DisassociateLexBotOutput struct { +type DisassociateQueueQuickConnectsOutput struct { _ struct{} `type:"structure"` } // String returns the string representation -func (s DisassociateLexBotOutput) String() string { +func (s DisassociateQueueQuickConnectsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DisassociateLexBotOutput) GoString() string { +func (s DisassociateQueueQuickConnectsOutput) GoString() string { return s.String() } @@ -13832,7 +15440,7 @@ type GetCurrentMetricDataInput struct { // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // The maximimum number of results to return per page. + // The maximum number of results to return per page. MaxResults *int64 `min:"1" type:"integer"` // The token for the next set of results. Use the value returned in the previous @@ -14226,7 +15834,7 @@ type GetMetricDataInput struct { // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // The maximimum number of results to return per page. + // The maximum number of results to return per page. MaxResults *int64 `min:"1" type:"integer"` // The token for the next set of results. Use the value returned in the previous @@ -14893,6 +16501,126 @@ func (s *HistoricalMetricResult) SetDimensions(v *Dimensions) *HistoricalMetricR return s } +// Information about of the hours of operation. +type HoursOfOperation struct { + _ struct{} `type:"structure"` + + // Configuration information for the hours of operation. + Config []*HoursOfOperationConfig `type:"list"` + + // The description for the hours of operation. + Description *string `type:"string"` + + // The Amazon Resource Name (ARN) for the hours of operation. + HoursOfOperationArn *string `type:"string"` + + // The identifier for the hours of operation. + HoursOfOperationId *string `type:"string"` + + // The name for the hours of operation. + Name *string `min:"1" type:"string"` + + // One or more tags. + Tags map[string]*string `min:"1" type:"map"` + + // The time zone for the hours of operation. + TimeZone *string `type:"string"` +} + +// String returns the string representation +func (s HoursOfOperation) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s HoursOfOperation) GoString() string { + return s.String() +} + +// SetConfig sets the Config field's value. +func (s *HoursOfOperation) SetConfig(v []*HoursOfOperationConfig) *HoursOfOperation { + s.Config = v + return s +} + +// SetDescription sets the Description field's value. +func (s *HoursOfOperation) SetDescription(v string) *HoursOfOperation { + s.Description = &v + return s +} + +// SetHoursOfOperationArn sets the HoursOfOperationArn field's value. +func (s *HoursOfOperation) SetHoursOfOperationArn(v string) *HoursOfOperation { + s.HoursOfOperationArn = &v + return s +} + +// SetHoursOfOperationId sets the HoursOfOperationId field's value. +func (s *HoursOfOperation) SetHoursOfOperationId(v string) *HoursOfOperation { + s.HoursOfOperationId = &v + return s +} + +// SetName sets the Name field's value. +func (s *HoursOfOperation) SetName(v string) *HoursOfOperation { + s.Name = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *HoursOfOperation) SetTags(v map[string]*string) *HoursOfOperation { + s.Tags = v + return s +} + +// SetTimeZone sets the TimeZone field's value. +func (s *HoursOfOperation) SetTimeZone(v string) *HoursOfOperation { + s.TimeZone = &v + return s +} + +// Contains information about the hours of operation. +type HoursOfOperationConfig struct { + _ struct{} `type:"structure"` + + // The day that the hours of operation applies to. + Day *string `type:"string" enum:"HoursOfOperationDays"` + + // The end time that your contact center is closes. + EndTime *HoursOfOperationTimeSlice `type:"structure"` + + // The start time that your contact center is open. + StartTime *HoursOfOperationTimeSlice `type:"structure"` +} + +// String returns the string representation +func (s HoursOfOperationConfig) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s HoursOfOperationConfig) GoString() string { + return s.String() +} + +// SetDay sets the Day field's value. +func (s *HoursOfOperationConfig) SetDay(v string) *HoursOfOperationConfig { + s.Day = &v + return s +} + +// SetEndTime sets the EndTime field's value. +func (s *HoursOfOperationConfig) SetEndTime(v *HoursOfOperationTimeSlice) *HoursOfOperationConfig { + s.EndTime = v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *HoursOfOperationConfig) SetStartTime(v *HoursOfOperationTimeSlice) *HoursOfOperationConfig { + s.StartTime = v + return s +} + // Contains summary information about hours of operation for a contact center. type HoursOfOperationSummary struct { _ struct{} `type:"structure"` @@ -14935,6 +16663,39 @@ func (s *HoursOfOperationSummary) SetName(v string) *HoursOfOperationSummary { return s } +// The start time or end time for an hours of operation. +type HoursOfOperationTimeSlice struct { + _ struct{} `type:"structure"` + + // The hours. + Hours *int64 `type:"integer"` + + // The minutes. + Minutes *int64 `type:"integer"` +} + +// String returns the string representation +func (s HoursOfOperationTimeSlice) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s HoursOfOperationTimeSlice) GoString() string { + return s.String() +} + +// SetHours sets the Hours field's value. +func (s *HoursOfOperationTimeSlice) SetHours(v int64) *HoursOfOperationTimeSlice { + s.Hours = &v + return s +} + +// SetMinutes sets the Minutes field's value. +func (s *HoursOfOperationTimeSlice) SetMinutes(v int64) *HoursOfOperationTimeSlice { + s.Minutes = &v + return s +} + // The Amazon Connect instance. type Instance struct { _ struct{} `type:"structure"` @@ -15081,7 +16842,7 @@ type InstanceStorageConfig struct { // The configuration of the Kinesis video stream. KinesisVideoStreamConfig *KinesisVideoStreamConfig `type:"structure"` - // The S3 configuration. + // The S3 bucket configuration. S3Config *S3Config `type:"structure"` // A valid storage type. @@ -15349,44 +17110,160 @@ func (s *IntegrationAssociationSummary) SetSourceApplicationUrl(v string) *Integ return s } -// SetSourceType sets the SourceType field's value. -func (s *IntegrationAssociationSummary) SetSourceType(v string) *IntegrationAssociationSummary { - s.SourceType = &v - return s +// SetSourceType sets the SourceType field's value. +func (s *IntegrationAssociationSummary) SetSourceType(v string) *IntegrationAssociationSummary { + s.SourceType = &v + return s +} + +// Request processing failed because of an error or failure with the service. +type InternalServiceException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + // The message. + Message_ *string `locationName:"Message" type:"string"` +} + +// String returns the string representation +func (s InternalServiceException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InternalServiceException) GoString() string { + return s.String() +} + +func newErrorInternalServiceException(v protocol.ResponseMetadata) error { + return &InternalServiceException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InternalServiceException) Code() string { + return "InternalServiceException" +} + +// Message returns the exception's message. +func (s *InternalServiceException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InternalServiceException) OrigErr() error { + return nil +} + +func (s *InternalServiceException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *InternalServiceException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *InternalServiceException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The contact flow is not valid. +type InvalidContactFlowException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` + + // The problems with the contact flow. Please fix before trying again. + Problems []*ProblemDetail `locationName:"problems" min:"1" type:"list"` +} + +// String returns the string representation +func (s InvalidContactFlowException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s InvalidContactFlowException) GoString() string { + return s.String() +} + +func newErrorInvalidContactFlowException(v protocol.ResponseMetadata) error { + return &InvalidContactFlowException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InvalidContactFlowException) Code() string { + return "InvalidContactFlowException" +} + +// Message returns the exception's message. +func (s *InvalidContactFlowException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InvalidContactFlowException) OrigErr() error { + return nil +} + +func (s *InvalidContactFlowException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *InvalidContactFlowException) StatusCode() int { + return s.RespMetadata.StatusCode } -// Request processing failed due to an error or failure with the service. -type InternalServiceException struct { +// RequestID returns the service's response RequestID for request. +func (s *InvalidContactFlowException) RequestID() string { + return s.RespMetadata.RequestID +} + +// One or more of the specified parameters are not valid. +type InvalidParameterException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // The message. + // The message about the parameters. Message_ *string `locationName:"Message" type:"string"` } // String returns the string representation -func (s InternalServiceException) String() string { +func (s InvalidParameterException) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s InternalServiceException) GoString() string { +func (s InvalidParameterException) GoString() string { return s.String() } -func newErrorInternalServiceException(v protocol.ResponseMetadata) error { - return &InternalServiceException{ +func newErrorInvalidParameterException(v protocol.ResponseMetadata) error { + return &InvalidParameterException{ RespMetadata: v, } } // Code returns the exception type name. -func (s *InternalServiceException) Code() string { - return "InternalServiceException" +func (s *InvalidParameterException) Code() string { + return "InvalidParameterException" } // Message returns the exception's message. -func (s *InternalServiceException) Message() string { +func (s *InvalidParameterException) Message() string { if s.Message_ != nil { return *s.Message_ } @@ -15394,58 +17271,56 @@ func (s *InternalServiceException) Message() string { } // OrigErr always returns nil, satisfies awserr.Error interface. -func (s *InternalServiceException) OrigErr() error { +func (s *InvalidParameterException) OrigErr() error { return nil } -func (s *InternalServiceException) Error() string { +func (s *InvalidParameterException) Error() string { return fmt.Sprintf("%s: %s", s.Code(), s.Message()) } // Status code returns the HTTP status code for the request's response error. -func (s *InternalServiceException) StatusCode() int { +func (s *InvalidParameterException) StatusCode() int { return s.RespMetadata.StatusCode } // RequestID returns the service's response RequestID for request. -func (s *InternalServiceException) RequestID() string { +func (s *InvalidParameterException) RequestID() string { return s.RespMetadata.RequestID } -// The contact flow is not valid. -type InvalidContactFlowException struct { +// The request is not valid. +type InvalidRequestException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - Message_ *string `locationName:"message" type:"string"` - - // The problems with the contact flow. Please fix before trying again. - Problems []*ProblemDetail `locationName:"problems" min:"1" type:"list"` + // The message about the request. + Message_ *string `locationName:"Message" type:"string"` } // String returns the string representation -func (s InvalidContactFlowException) String() string { +func (s InvalidRequestException) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s InvalidContactFlowException) GoString() string { +func (s InvalidRequestException) GoString() string { return s.String() } -func newErrorInvalidContactFlowException(v protocol.ResponseMetadata) error { - return &InvalidContactFlowException{ +func newErrorInvalidRequestException(v protocol.ResponseMetadata) error { + return &InvalidRequestException{ RespMetadata: v, } } // Code returns the exception type name. -func (s *InvalidContactFlowException) Code() string { - return "InvalidContactFlowException" +func (s *InvalidRequestException) Code() string { + return "InvalidRequestException" } // Message returns the exception's message. -func (s *InvalidContactFlowException) Message() string { +func (s *InvalidRequestException) Message() string { if s.Message_ != nil { return *s.Message_ } @@ -15453,56 +17328,245 @@ func (s *InvalidContactFlowException) Message() string { } // OrigErr always returns nil, satisfies awserr.Error interface. -func (s *InvalidContactFlowException) OrigErr() error { +func (s *InvalidRequestException) OrigErr() error { return nil } -func (s *InvalidContactFlowException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +func (s *InvalidRequestException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) } // Status code returns the HTTP status code for the request's response error. -func (s *InvalidContactFlowException) StatusCode() int { +func (s *InvalidRequestException) StatusCode() int { return s.RespMetadata.StatusCode } // RequestID returns the service's response RequestID for request. -func (s *InvalidContactFlowException) RequestID() string { +func (s *InvalidRequestException) RequestID() string { return s.RespMetadata.RequestID } -// One or more of the specified parameters are not valid. -type InvalidParameterException struct { +// Configuration information of a Kinesis Data Firehose delivery stream. +type KinesisFirehoseConfig struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the delivery stream. + // + // FirehoseArn is a required field + FirehoseArn *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s KinesisFirehoseConfig) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s KinesisFirehoseConfig) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *KinesisFirehoseConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KinesisFirehoseConfig"} + if s.FirehoseArn == nil { + invalidParams.Add(request.NewErrParamRequired("FirehoseArn")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFirehoseArn sets the FirehoseArn field's value. +func (s *KinesisFirehoseConfig) SetFirehoseArn(v string) *KinesisFirehoseConfig { + s.FirehoseArn = &v + return s +} + +// Configuration information of a Kinesis data stream. +type KinesisStreamConfig struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the data stream. + // + // StreamArn is a required field + StreamArn *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s KinesisStreamConfig) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s KinesisStreamConfig) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *KinesisStreamConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KinesisStreamConfig"} + if s.StreamArn == nil { + invalidParams.Add(request.NewErrParamRequired("StreamArn")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetStreamArn sets the StreamArn field's value. +func (s *KinesisStreamConfig) SetStreamArn(v string) *KinesisStreamConfig { + s.StreamArn = &v + return s +} + +// Configuration information of a Kinesis video stream. +type KinesisVideoStreamConfig struct { + _ struct{} `type:"structure"` + + // The encryption configuration. + // + // EncryptionConfig is a required field + EncryptionConfig *EncryptionConfig `type:"structure" required:"true"` + + // The prefix of the video stream. + // + // Prefix is a required field + Prefix *string `min:"1" type:"string" required:"true"` + + // The number of hours data is retained in the stream. Kinesis Video Streams + // retains the data in a data store that is associated with the stream. + // + // The default value is 0, indicating that the stream does not persist data. + // + // RetentionPeriodHours is a required field + RetentionPeriodHours *int64 `type:"integer" required:"true"` +} + +// String returns the string representation +func (s KinesisVideoStreamConfig) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s KinesisVideoStreamConfig) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *KinesisVideoStreamConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "KinesisVideoStreamConfig"} + if s.EncryptionConfig == nil { + invalidParams.Add(request.NewErrParamRequired("EncryptionConfig")) + } + if s.Prefix == nil { + invalidParams.Add(request.NewErrParamRequired("Prefix")) + } + if s.Prefix != nil && len(*s.Prefix) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Prefix", 1)) + } + if s.RetentionPeriodHours == nil { + invalidParams.Add(request.NewErrParamRequired("RetentionPeriodHours")) + } + if s.EncryptionConfig != nil { + if err := s.EncryptionConfig.Validate(); err != nil { + invalidParams.AddNested("EncryptionConfig", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEncryptionConfig sets the EncryptionConfig field's value. +func (s *KinesisVideoStreamConfig) SetEncryptionConfig(v *EncryptionConfig) *KinesisVideoStreamConfig { + s.EncryptionConfig = v + return s +} + +// SetPrefix sets the Prefix field's value. +func (s *KinesisVideoStreamConfig) SetPrefix(v string) *KinesisVideoStreamConfig { + s.Prefix = &v + return s +} + +// SetRetentionPeriodHours sets the RetentionPeriodHours field's value. +func (s *KinesisVideoStreamConfig) SetRetentionPeriodHours(v int64) *KinesisVideoStreamConfig { + s.RetentionPeriodHours = &v + return s +} + +// Configuration information of an Amazon Lex bot. +type LexBot struct { + _ struct{} `type:"structure"` + + // The Region that the Amazon Lex bot was created in. + LexRegion *string `type:"string"` + + // The name of the Amazon Lex bot. + Name *string `type:"string"` +} + +// String returns the string representation +func (s LexBot) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s LexBot) GoString() string { + return s.String() +} + +// SetLexRegion sets the LexRegion field's value. +func (s *LexBot) SetLexRegion(v string) *LexBot { + s.LexRegion = &v + return s +} + +// SetName sets the Name field's value. +func (s *LexBot) SetName(v string) *LexBot { + s.Name = &v + return s +} + +// The allowed limit for the resource has been exceeded. +type LimitExceededException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // The message. + // The message about the limit. Message_ *string `locationName:"Message" type:"string"` } // String returns the string representation -func (s InvalidParameterException) String() string { +func (s LimitExceededException) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s InvalidParameterException) GoString() string { +func (s LimitExceededException) GoString() string { return s.String() } -func newErrorInvalidParameterException(v protocol.ResponseMetadata) error { - return &InvalidParameterException{ +func newErrorLimitExceededException(v protocol.ResponseMetadata) error { + return &LimitExceededException{ RespMetadata: v, } } // Code returns the exception type name. -func (s *InvalidParameterException) Code() string { - return "InvalidParameterException" +func (s *LimitExceededException) Code() string { + return "LimitExceededException" } // Message returns the exception's message. -func (s *InvalidParameterException) Message() string { +func (s *LimitExceededException) Message() string { if s.Message_ != nil { return *s.Message_ } @@ -15510,106 +17574,159 @@ func (s *InvalidParameterException) Message() string { } // OrigErr always returns nil, satisfies awserr.Error interface. -func (s *InvalidParameterException) OrigErr() error { +func (s *LimitExceededException) OrigErr() error { return nil } -func (s *InvalidParameterException) Error() string { +func (s *LimitExceededException) Error() string { return fmt.Sprintf("%s: %s", s.Code(), s.Message()) } // Status code returns the HTTP status code for the request's response error. -func (s *InvalidParameterException) StatusCode() int { +func (s *LimitExceededException) StatusCode() int { return s.RespMetadata.StatusCode } // RequestID returns the service's response RequestID for request. -func (s *InvalidParameterException) RequestID() string { +func (s *LimitExceededException) RequestID() string { return s.RespMetadata.RequestID } -// The request is not valid. -type InvalidRequestException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +type ListApprovedOriginsInput struct { + _ struct{} `type:"structure"` - // The message. - Message_ *string `locationName:"Message" type:"string"` + // The identifier of the Amazon Connect instance. + // + // InstanceId is a required field + InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` + + // The maximum number of results to return per page. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // 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. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } // String returns the string representation -func (s InvalidRequestException) String() string { +func (s ListApprovedOriginsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s InvalidRequestException) GoString() string { +func (s ListApprovedOriginsInput) GoString() string { return s.String() } -func newErrorInvalidRequestException(v protocol.ResponseMetadata) error { - return &InvalidRequestException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListApprovedOriginsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListApprovedOriginsInput"} + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// Code returns the exception type name. -func (s *InvalidRequestException) Code() string { - return "InvalidRequestException" +// SetInstanceId sets the InstanceId field's value. +func (s *ListApprovedOriginsInput) SetInstanceId(v string) *ListApprovedOriginsInput { + s.InstanceId = &v + return s } -// Message returns the exception's message. -func (s *InvalidRequestException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetMaxResults sets the MaxResults field's value. +func (s *ListApprovedOriginsInput) SetMaxResults(v int64) *ListApprovedOriginsInput { + s.MaxResults = &v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *InvalidRequestException) OrigErr() error { - return nil +// SetNextToken sets the NextToken field's value. +func (s *ListApprovedOriginsInput) SetNextToken(v string) *ListApprovedOriginsInput { + s.NextToken = &v + return s } -func (s *InvalidRequestException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +type ListApprovedOriginsOutput struct { + _ struct{} `type:"structure"` + + // If there are additional results, this is the token for the next set of results. + NextToken *string `type:"string"` + + // The approved origins. + Origins []*string `type:"list"` } -// Status code returns the HTTP status code for the request's response error. -func (s *InvalidRequestException) StatusCode() int { - return s.RespMetadata.StatusCode +// String returns the string representation +func (s ListApprovedOriginsOutput) String() string { + return awsutil.Prettify(s) } -// RequestID returns the service's response RequestID for request. -func (s *InvalidRequestException) RequestID() string { - return s.RespMetadata.RequestID +// GoString returns the string representation +func (s ListApprovedOriginsOutput) GoString() string { + return s.String() } -// Configuration information of a Kinesis Firehose delivery stream. -type KinesisFirehoseConfig struct { +// SetNextToken sets the NextToken field's value. +func (s *ListApprovedOriginsOutput) SetNextToken(v string) *ListApprovedOriginsOutput { + s.NextToken = &v + return s +} + +// SetOrigins sets the Origins field's value. +func (s *ListApprovedOriginsOutput) SetOrigins(v []*string) *ListApprovedOriginsOutput { + s.Origins = v + return s +} + +type ListContactFlowsInput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the delivery stream. + // The type of contact flow. + ContactFlowTypes []*string `location:"querystring" locationName:"contactFlowTypes" type:"list"` + + // The identifier of the Amazon Connect instance. // - // FirehoseArn is a required field - FirehoseArn *string `type:"string" required:"true"` + // InstanceId is a required field + InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` + + // The maximum number of results to return per page. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // 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. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } // String returns the string representation -func (s KinesisFirehoseConfig) String() string { +func (s ListContactFlowsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s KinesisFirehoseConfig) GoString() string { +func (s ListContactFlowsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *KinesisFirehoseConfig) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "KinesisFirehoseConfig"} - if s.FirehoseArn == nil { - invalidParams.Add(request.NewErrParamRequired("FirehoseArn")) +func (s *ListContactFlowsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListContactFlowsInput"} + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { @@ -15618,103 +17735,99 @@ func (s *KinesisFirehoseConfig) Validate() error { return nil } -// SetFirehoseArn sets the FirehoseArn field's value. -func (s *KinesisFirehoseConfig) SetFirehoseArn(v string) *KinesisFirehoseConfig { - s.FirehoseArn = &v +// SetContactFlowTypes sets the ContactFlowTypes field's value. +func (s *ListContactFlowsInput) SetContactFlowTypes(v []*string) *ListContactFlowsInput { + s.ContactFlowTypes = v return s } -// Configuration information of a Kinesis data stream. -type KinesisStreamConfig struct { +// SetInstanceId sets the InstanceId field's value. +func (s *ListContactFlowsInput) SetInstanceId(v string) *ListContactFlowsInput { + s.InstanceId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListContactFlowsInput) SetMaxResults(v int64) *ListContactFlowsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListContactFlowsInput) SetNextToken(v string) *ListContactFlowsInput { + s.NextToken = &v + return s +} + +type ListContactFlowsOutput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the data stream. - // - // StreamArn is a required field - StreamArn *string `type:"string" required:"true"` + // Information about the contact flows. + ContactFlowSummaryList []*ContactFlowSummary `type:"list"` + + // If there are additional results, this is the token for the next set of results. + NextToken *string `type:"string"` } // String returns the string representation -func (s KinesisStreamConfig) String() string { +func (s ListContactFlowsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s KinesisStreamConfig) GoString() string { +func (s ListContactFlowsOutput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *KinesisStreamConfig) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "KinesisStreamConfig"} - if s.StreamArn == nil { - invalidParams.Add(request.NewErrParamRequired("StreamArn")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetContactFlowSummaryList sets the ContactFlowSummaryList field's value. +func (s *ListContactFlowsOutput) SetContactFlowSummaryList(v []*ContactFlowSummary) *ListContactFlowsOutput { + s.ContactFlowSummaryList = v + return s } -// SetStreamArn sets the StreamArn field's value. -func (s *KinesisStreamConfig) SetStreamArn(v string) *KinesisStreamConfig { - s.StreamArn = &v +// SetNextToken sets the NextToken field's value. +func (s *ListContactFlowsOutput) SetNextToken(v string) *ListContactFlowsOutput { + s.NextToken = &v return s } -// Configuration information of a Kinesis video stream. -type KinesisVideoStreamConfig struct { +type ListHoursOfOperationsInput struct { _ struct{} `type:"structure"` - // The encryption configuration. + // The identifier of the Amazon Connect instance. // - // EncryptionConfig is a required field - EncryptionConfig *EncryptionConfig `type:"structure" required:"true"` + // InstanceId is a required field + InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // The prefix of the video stream. - // - // Prefix is a required field - Prefix *string `min:"1" type:"string" required:"true"` + // The maximum number of results to return per page. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // The number of hours data is retained in the stream. Kinesis Video Streams - // retains the data in a data store that is associated with the stream. - // - // The default value is 0, indicating that the stream does not persist data. - // - // RetentionPeriodHours is a required field - RetentionPeriodHours *int64 `type:"integer" required:"true"` + // 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. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } // String returns the string representation -func (s KinesisVideoStreamConfig) String() string { +func (s ListHoursOfOperationsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s KinesisVideoStreamConfig) GoString() string { +func (s ListHoursOfOperationsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *KinesisVideoStreamConfig) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "KinesisVideoStreamConfig"} - if s.EncryptionConfig == nil { - invalidParams.Add(request.NewErrParamRequired("EncryptionConfig")) - } - if s.Prefix == nil { - invalidParams.Add(request.NewErrParamRequired("Prefix")) - } - if s.Prefix != nil && len(*s.Prefix) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Prefix", 1)) +func (s *ListHoursOfOperationsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListHoursOfOperationsInput"} + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) } - if s.RetentionPeriodHours == nil { - invalidParams.Add(request.NewErrParamRequired("RetentionPeriodHours")) + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) } - if s.EncryptionConfig != nil { - if err := s.EncryptionConfig.Validate(); err != nil { - invalidParams.AddNested("EncryptionConfig", err.(request.ErrInvalidParams)) - } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if invalidParams.Len() > 0 { @@ -15723,115 +17836,152 @@ func (s *KinesisVideoStreamConfig) Validate() error { return nil } -// SetEncryptionConfig sets the EncryptionConfig field's value. -func (s *KinesisVideoStreamConfig) SetEncryptionConfig(v *EncryptionConfig) *KinesisVideoStreamConfig { - s.EncryptionConfig = v +// SetInstanceId sets the InstanceId field's value. +func (s *ListHoursOfOperationsInput) SetInstanceId(v string) *ListHoursOfOperationsInput { + s.InstanceId = &v return s } -// SetPrefix sets the Prefix field's value. -func (s *KinesisVideoStreamConfig) SetPrefix(v string) *KinesisVideoStreamConfig { - s.Prefix = &v +// SetMaxResults sets the MaxResults field's value. +func (s *ListHoursOfOperationsInput) SetMaxResults(v int64) *ListHoursOfOperationsInput { + s.MaxResults = &v return s } -// SetRetentionPeriodHours sets the RetentionPeriodHours field's value. -func (s *KinesisVideoStreamConfig) SetRetentionPeriodHours(v int64) *KinesisVideoStreamConfig { - s.RetentionPeriodHours = &v +// SetNextToken sets the NextToken field's value. +func (s *ListHoursOfOperationsInput) SetNextToken(v string) *ListHoursOfOperationsInput { + s.NextToken = &v return s } -// Configuration information of an Amazon Lex bot. -type LexBot struct { +type ListHoursOfOperationsOutput struct { _ struct{} `type:"structure"` - // The Region the Amazon Lex bot was created in. - LexRegion *string `type:"string"` + // Information about the hours of operation. + HoursOfOperationSummaryList []*HoursOfOperationSummary `type:"list"` - // The name of the Amazon Lex bot. - Name *string `type:"string"` + // If there are additional results, this is the token for the next set of results. + NextToken *string `type:"string"` } // String returns the string representation -func (s LexBot) String() string { +func (s ListHoursOfOperationsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s LexBot) GoString() string { +func (s ListHoursOfOperationsOutput) GoString() string { return s.String() } -// SetLexRegion sets the LexRegion field's value. -func (s *LexBot) SetLexRegion(v string) *LexBot { - s.LexRegion = &v +// SetHoursOfOperationSummaryList sets the HoursOfOperationSummaryList field's value. +func (s *ListHoursOfOperationsOutput) SetHoursOfOperationSummaryList(v []*HoursOfOperationSummary) *ListHoursOfOperationsOutput { + s.HoursOfOperationSummaryList = v return s } -// SetName sets the Name field's value. -func (s *LexBot) SetName(v string) *LexBot { - s.Name = &v +// SetNextToken sets the NextToken field's value. +func (s *ListHoursOfOperationsOutput) SetNextToken(v string) *ListHoursOfOperationsOutput { + s.NextToken = &v return s } -// The allowed limit for the resource has been exceeded. -type LimitExceededException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +type ListInstanceAttributesInput struct { + _ struct{} `type:"structure"` - // The message. - Message_ *string `locationName:"Message" type:"string"` + // The identifier of the Amazon Connect instance. + // + // InstanceId is a required field + InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` + + // The maximum number of results to return per page. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // 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. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } // String returns the string representation -func (s LimitExceededException) String() string { +func (s ListInstanceAttributesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s LimitExceededException) GoString() string { +func (s ListInstanceAttributesInput) GoString() string { return s.String() } -func newErrorLimitExceededException(v protocol.ResponseMetadata) error { - return &LimitExceededException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListInstanceAttributesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListInstanceAttributesInput"} + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams } + return nil } -// Code returns the exception type name. -func (s *LimitExceededException) Code() string { - return "LimitExceededException" +// SetInstanceId sets the InstanceId field's value. +func (s *ListInstanceAttributesInput) SetInstanceId(v string) *ListInstanceAttributesInput { + s.InstanceId = &v + return s } -// Message returns the exception's message. -func (s *LimitExceededException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetMaxResults sets the MaxResults field's value. +func (s *ListInstanceAttributesInput) SetMaxResults(v int64) *ListInstanceAttributesInput { + s.MaxResults = &v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *LimitExceededException) OrigErr() error { - return nil +// SetNextToken sets the NextToken field's value. +func (s *ListInstanceAttributesInput) SetNextToken(v string) *ListInstanceAttributesInput { + s.NextToken = &v + return s } -func (s *LimitExceededException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +type ListInstanceAttributesOutput struct { + _ struct{} `type:"structure"` + + // The attribute types. + Attributes []*Attribute `type:"list"` + + // If there are additional results, this is the token for the next set of results. + NextToken *string `type:"string"` } -// Status code returns the HTTP status code for the request's response error. -func (s *LimitExceededException) StatusCode() int { - return s.RespMetadata.StatusCode +// String returns the string representation +func (s ListInstanceAttributesOutput) String() string { + return awsutil.Prettify(s) } -// RequestID returns the service's response RequestID for request. -func (s *LimitExceededException) RequestID() string { - return s.RespMetadata.RequestID +// GoString returns the string representation +func (s ListInstanceAttributesOutput) GoString() string { + return s.String() } -type ListApprovedOriginsInput struct { +// SetAttributes sets the Attributes field's value. +func (s *ListInstanceAttributesOutput) SetAttributes(v []*Attribute) *ListInstanceAttributesOutput { + s.Attributes = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListInstanceAttributesOutput) SetNextToken(v string) *ListInstanceAttributesOutput { + s.NextToken = &v + return s +} + +type ListInstanceStorageConfigsInput struct { _ struct{} `type:"structure"` // The identifier of the Amazon Connect instance. @@ -15839,27 +17989,32 @@ type ListApprovedOriginsInput struct { // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // The maximimum number of results to return per page. + // The maximum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // 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. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // A valid resource type. + // + // ResourceType is a required field + ResourceType *string `location:"querystring" locationName:"resourceType" type:"string" required:"true" enum:"InstanceStorageResourceType"` } // String returns the string representation -func (s ListApprovedOriginsInput) String() string { +func (s ListInstanceStorageConfigsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListApprovedOriginsInput) GoString() string { +func (s ListInstanceStorageConfigsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListApprovedOriginsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListApprovedOriginsInput"} +func (s *ListInstanceStorageConfigsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListInstanceStorageConfigsInput"} if s.InstanceId == nil { invalidParams.Add(request.NewErrParamRequired("InstanceId")) } @@ -15869,6 +18024,9 @@ func (s *ListApprovedOriginsInput) Validate() error { if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } + if s.ResourceType == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceType")) + } if invalidParams.Len() > 0 { return invalidParams @@ -15877,67 +18035,65 @@ func (s *ListApprovedOriginsInput) Validate() error { } // SetInstanceId sets the InstanceId field's value. -func (s *ListApprovedOriginsInput) SetInstanceId(v string) *ListApprovedOriginsInput { +func (s *ListInstanceStorageConfigsInput) SetInstanceId(v string) *ListInstanceStorageConfigsInput { s.InstanceId = &v return s } // SetMaxResults sets the MaxResults field's value. -func (s *ListApprovedOriginsInput) SetMaxResults(v int64) *ListApprovedOriginsInput { +func (s *ListInstanceStorageConfigsInput) SetMaxResults(v int64) *ListInstanceStorageConfigsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListApprovedOriginsInput) SetNextToken(v string) *ListApprovedOriginsInput { +func (s *ListInstanceStorageConfigsInput) SetNextToken(v string) *ListInstanceStorageConfigsInput { s.NextToken = &v return s } -type ListApprovedOriginsOutput struct { +// SetResourceType sets the ResourceType field's value. +func (s *ListInstanceStorageConfigsInput) SetResourceType(v string) *ListInstanceStorageConfigsInput { + s.ResourceType = &v + return s +} + +type ListInstanceStorageConfigsOutput struct { _ struct{} `type:"structure"` // If there are additional results, this is the token for the next set of results. NextToken *string `type:"string"` - // The approved origins. - Origins []*string `type:"list"` + // A valid storage type. + StorageConfigs []*InstanceStorageConfig `type:"list"` } // String returns the string representation -func (s ListApprovedOriginsOutput) String() string { +func (s ListInstanceStorageConfigsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListApprovedOriginsOutput) GoString() string { +func (s ListInstanceStorageConfigsOutput) GoString() string { return s.String() } // SetNextToken sets the NextToken field's value. -func (s *ListApprovedOriginsOutput) SetNextToken(v string) *ListApprovedOriginsOutput { +func (s *ListInstanceStorageConfigsOutput) SetNextToken(v string) *ListInstanceStorageConfigsOutput { s.NextToken = &v return s } -// SetOrigins sets the Origins field's value. -func (s *ListApprovedOriginsOutput) SetOrigins(v []*string) *ListApprovedOriginsOutput { - s.Origins = v +// SetStorageConfigs sets the StorageConfigs field's value. +func (s *ListInstanceStorageConfigsOutput) SetStorageConfigs(v []*InstanceStorageConfig) *ListInstanceStorageConfigsOutput { + s.StorageConfigs = v return s } -type ListContactFlowsInput struct { +type ListInstancesInput struct { _ struct{} `type:"structure"` - // The type of contact flow. - ContactFlowTypes []*string `location:"querystring" locationName:"contactFlowTypes" type:"list"` - - // The identifier of the Amazon Connect instance. - // - // InstanceId is a required field - InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - - // The maximimum number of results to return per page. + // The maximum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. Use the value returned in the previous @@ -15946,91 +18102,73 @@ type ListContactFlowsInput struct { } // String returns the string representation -func (s ListContactFlowsInput) String() string { +func (s ListInstancesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListContactFlowsInput) GoString() string { +func (s ListInstancesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListContactFlowsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListContactFlowsInput"} - if s.InstanceId == nil { - invalidParams.Add(request.NewErrParamRequired("InstanceId")) - } - if s.InstanceId != nil && len(*s.InstanceId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) - } +func (s *ListInstancesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListInstancesInput"} if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetContactFlowTypes sets the ContactFlowTypes field's value. -func (s *ListContactFlowsInput) SetContactFlowTypes(v []*string) *ListContactFlowsInput { - s.ContactFlowTypes = v - return s -} + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } -// SetInstanceId sets the InstanceId field's value. -func (s *ListContactFlowsInput) SetInstanceId(v string) *ListContactFlowsInput { - s.InstanceId = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } // SetMaxResults sets the MaxResults field's value. -func (s *ListContactFlowsInput) SetMaxResults(v int64) *ListContactFlowsInput { +func (s *ListInstancesInput) SetMaxResults(v int64) *ListInstancesInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListContactFlowsInput) SetNextToken(v string) *ListContactFlowsInput { +func (s *ListInstancesInput) SetNextToken(v string) *ListInstancesInput { s.NextToken = &v return s } -type ListContactFlowsOutput struct { +type ListInstancesOutput struct { _ struct{} `type:"structure"` - // Information about the contact flows. - ContactFlowSummaryList []*ContactFlowSummary `type:"list"` + // Information about the instances. + InstanceSummaryList []*InstanceSummary `type:"list"` // If there are additional results, this is the token for the next set of results. NextToken *string `type:"string"` } // String returns the string representation -func (s ListContactFlowsOutput) String() string { +func (s ListInstancesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListContactFlowsOutput) GoString() string { +func (s ListInstancesOutput) GoString() string { return s.String() } -// SetContactFlowSummaryList sets the ContactFlowSummaryList field's value. -func (s *ListContactFlowsOutput) SetContactFlowSummaryList(v []*ContactFlowSummary) *ListContactFlowsOutput { - s.ContactFlowSummaryList = v +// SetInstanceSummaryList sets the InstanceSummaryList field's value. +func (s *ListInstancesOutput) SetInstanceSummaryList(v []*InstanceSummary) *ListInstancesOutput { + s.InstanceSummaryList = v return s } // SetNextToken sets the NextToken field's value. -func (s *ListContactFlowsOutput) SetNextToken(v string) *ListContactFlowsOutput { +func (s *ListInstancesOutput) SetNextToken(v string) *ListInstancesOutput { s.NextToken = &v return s } -type ListHoursOfOperationsInput struct { +type ListIntegrationAssociationsInput struct { _ struct{} `type:"structure"` // The identifier of the Amazon Connect instance. @@ -16038,7 +18176,7 @@ type ListHoursOfOperationsInput struct { // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // The maximimum number of results to return per page. + // The maximum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. Use the value returned in the previous @@ -16047,18 +18185,18 @@ type ListHoursOfOperationsInput struct { } // String returns the string representation -func (s ListHoursOfOperationsInput) String() string { +func (s ListIntegrationAssociationsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListHoursOfOperationsInput) GoString() string { +func (s ListIntegrationAssociationsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListHoursOfOperationsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListHoursOfOperationsInput"} +func (s *ListIntegrationAssociationsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListIntegrationAssociationsInput"} if s.InstanceId == nil { invalidParams.Add(request.NewErrParamRequired("InstanceId")) } @@ -16076,56 +18214,56 @@ func (s *ListHoursOfOperationsInput) Validate() error { } // SetInstanceId sets the InstanceId field's value. -func (s *ListHoursOfOperationsInput) SetInstanceId(v string) *ListHoursOfOperationsInput { +func (s *ListIntegrationAssociationsInput) SetInstanceId(v string) *ListIntegrationAssociationsInput { s.InstanceId = &v return s } // SetMaxResults sets the MaxResults field's value. -func (s *ListHoursOfOperationsInput) SetMaxResults(v int64) *ListHoursOfOperationsInput { +func (s *ListIntegrationAssociationsInput) SetMaxResults(v int64) *ListIntegrationAssociationsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListHoursOfOperationsInput) SetNextToken(v string) *ListHoursOfOperationsInput { +func (s *ListIntegrationAssociationsInput) SetNextToken(v string) *ListIntegrationAssociationsInput { s.NextToken = &v return s } -type ListHoursOfOperationsOutput struct { +type ListIntegrationAssociationsOutput struct { _ struct{} `type:"structure"` - // Information about the hours of operation. - HoursOfOperationSummaryList []*HoursOfOperationSummary `type:"list"` + // The AppIntegration associations. + IntegrationAssociationSummaryList []*IntegrationAssociationSummary `type:"list"` // If there are additional results, this is the token for the next set of results. NextToken *string `type:"string"` } // String returns the string representation -func (s ListHoursOfOperationsOutput) String() string { +func (s ListIntegrationAssociationsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListHoursOfOperationsOutput) GoString() string { +func (s ListIntegrationAssociationsOutput) GoString() string { return s.String() } -// SetHoursOfOperationSummaryList sets the HoursOfOperationSummaryList field's value. -func (s *ListHoursOfOperationsOutput) SetHoursOfOperationSummaryList(v []*HoursOfOperationSummary) *ListHoursOfOperationsOutput { - s.HoursOfOperationSummaryList = v +// SetIntegrationAssociationSummaryList sets the IntegrationAssociationSummaryList field's value. +func (s *ListIntegrationAssociationsOutput) SetIntegrationAssociationSummaryList(v []*IntegrationAssociationSummary) *ListIntegrationAssociationsOutput { + s.IntegrationAssociationSummaryList = v return s } // SetNextToken sets the NextToken field's value. -func (s *ListHoursOfOperationsOutput) SetNextToken(v string) *ListHoursOfOperationsOutput { +func (s *ListIntegrationAssociationsOutput) SetNextToken(v string) *ListIntegrationAssociationsOutput { s.NextToken = &v return s } -type ListInstanceAttributesInput struct { +type ListLambdaFunctionsInput struct { _ struct{} `type:"structure"` // The identifier of the Amazon Connect instance. @@ -16133,7 +18271,7 @@ type ListInstanceAttributesInput struct { // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // The maximimum number of results to return per page. + // The maximum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. Use the value returned in the previous @@ -16142,18 +18280,18 @@ type ListInstanceAttributesInput struct { } // String returns the string representation -func (s ListInstanceAttributesInput) String() string { +func (s ListLambdaFunctionsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListInstanceAttributesInput) GoString() string { +func (s ListLambdaFunctionsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListInstanceAttributesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListInstanceAttributesInput"} +func (s *ListLambdaFunctionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListLambdaFunctionsInput"} if s.InstanceId == nil { invalidParams.Add(request.NewErrParamRequired("InstanceId")) } @@ -16171,56 +18309,56 @@ func (s *ListInstanceAttributesInput) Validate() error { } // SetInstanceId sets the InstanceId field's value. -func (s *ListInstanceAttributesInput) SetInstanceId(v string) *ListInstanceAttributesInput { +func (s *ListLambdaFunctionsInput) SetInstanceId(v string) *ListLambdaFunctionsInput { s.InstanceId = &v return s } // SetMaxResults sets the MaxResults field's value. -func (s *ListInstanceAttributesInput) SetMaxResults(v int64) *ListInstanceAttributesInput { +func (s *ListLambdaFunctionsInput) SetMaxResults(v int64) *ListLambdaFunctionsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListInstanceAttributesInput) SetNextToken(v string) *ListInstanceAttributesInput { +func (s *ListLambdaFunctionsInput) SetNextToken(v string) *ListLambdaFunctionsInput { s.NextToken = &v return s } -type ListInstanceAttributesOutput struct { +type ListLambdaFunctionsOutput struct { _ struct{} `type:"structure"` - // The attribute types. - Attributes []*Attribute `type:"list"` + // The Lambdafunction ARNs associated with the specified instance. + LambdaFunctions []*string `type:"list"` // If there are additional results, this is the token for the next set of results. NextToken *string `type:"string"` } // String returns the string representation -func (s ListInstanceAttributesOutput) String() string { +func (s ListLambdaFunctionsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListInstanceAttributesOutput) GoString() string { +func (s ListLambdaFunctionsOutput) GoString() string { return s.String() } -// SetAttributes sets the Attributes field's value. -func (s *ListInstanceAttributesOutput) SetAttributes(v []*Attribute) *ListInstanceAttributesOutput { - s.Attributes = v +// SetLambdaFunctions sets the LambdaFunctions field's value. +func (s *ListLambdaFunctionsOutput) SetLambdaFunctions(v []*string) *ListLambdaFunctionsOutput { + s.LambdaFunctions = v return s } // SetNextToken sets the NextToken field's value. -func (s *ListInstanceAttributesOutput) SetNextToken(v string) *ListInstanceAttributesOutput { +func (s *ListLambdaFunctionsOutput) SetNextToken(v string) *ListLambdaFunctionsOutput { s.NextToken = &v return s } -type ListInstanceStorageConfigsInput struct { +type ListLexBotsInput struct { _ struct{} `type:"structure"` // The identifier of the Amazon Connect instance. @@ -16228,32 +18366,27 @@ type ListInstanceStorageConfigsInput struct { // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // The maximimum number of results to return per page. + // The maximum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // 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. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` - - // A valid resource type. - // - // ResourceType is a required field - ResourceType *string `location:"querystring" locationName:"resourceType" type:"string" required:"true" enum:"InstanceStorageResourceType"` } // String returns the string representation -func (s ListInstanceStorageConfigsInput) String() string { +func (s ListLexBotsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListInstanceStorageConfigsInput) GoString() string { +func (s ListLexBotsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListInstanceStorageConfigsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListInstanceStorageConfigsInput"} +func (s *ListLexBotsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListLexBotsInput"} if s.InstanceId == nil { invalidParams.Add(request.NewErrParamRequired("InstanceId")) } @@ -16263,9 +18396,6 @@ func (s *ListInstanceStorageConfigsInput) Validate() error { if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } - if s.ResourceType == nil { - invalidParams.Add(request.NewErrParamRequired("ResourceType")) - } if invalidParams.Len() > 0 { return invalidParams @@ -16274,85 +18404,97 @@ func (s *ListInstanceStorageConfigsInput) Validate() error { } // SetInstanceId sets the InstanceId field's value. -func (s *ListInstanceStorageConfigsInput) SetInstanceId(v string) *ListInstanceStorageConfigsInput { +func (s *ListLexBotsInput) SetInstanceId(v string) *ListLexBotsInput { s.InstanceId = &v return s } // SetMaxResults sets the MaxResults field's value. -func (s *ListInstanceStorageConfigsInput) SetMaxResults(v int64) *ListInstanceStorageConfigsInput { +func (s *ListLexBotsInput) SetMaxResults(v int64) *ListLexBotsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListInstanceStorageConfigsInput) SetNextToken(v string) *ListInstanceStorageConfigsInput { +func (s *ListLexBotsInput) SetNextToken(v string) *ListLexBotsInput { s.NextToken = &v return s } -// SetResourceType sets the ResourceType field's value. -func (s *ListInstanceStorageConfigsInput) SetResourceType(v string) *ListInstanceStorageConfigsInput { - s.ResourceType = &v - return s -} - -type ListInstanceStorageConfigsOutput struct { +type ListLexBotsOutput struct { _ struct{} `type:"structure"` + // The names and Regions of the Amazon Lex bots associated with the specified + // instance. + LexBots []*LexBot `type:"list"` + // If there are additional results, this is the token for the next set of results. NextToken *string `type:"string"` - - // A valid storage type. - StorageConfigs []*InstanceStorageConfig `type:"list"` } // String returns the string representation -func (s ListInstanceStorageConfigsOutput) String() string { +func (s ListLexBotsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListInstanceStorageConfigsOutput) GoString() string { +func (s ListLexBotsOutput) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListInstanceStorageConfigsOutput) SetNextToken(v string) *ListInstanceStorageConfigsOutput { - s.NextToken = &v +// SetLexBots sets the LexBots field's value. +func (s *ListLexBotsOutput) SetLexBots(v []*LexBot) *ListLexBotsOutput { + s.LexBots = v return s } -// SetStorageConfigs sets the StorageConfigs field's value. -func (s *ListInstanceStorageConfigsOutput) SetStorageConfigs(v []*InstanceStorageConfig) *ListInstanceStorageConfigsOutput { - s.StorageConfigs = v +// SetNextToken sets the NextToken field's value. +func (s *ListLexBotsOutput) SetNextToken(v string) *ListLexBotsOutput { + s.NextToken = &v return s } -type ListInstancesInput struct { +type ListPhoneNumbersInput struct { _ struct{} `type:"structure"` - // The maximimum number of results to return per page. + // The identifier of the Amazon Connect instance. + // + // InstanceId is a required field + InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` + + // The maximum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // 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. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // The ISO country code. + PhoneNumberCountryCodes []*string `location:"querystring" locationName:"phoneNumberCountryCodes" type:"list"` + + // The type of phone number. + PhoneNumberTypes []*string `location:"querystring" locationName:"phoneNumberTypes" type:"list"` } // String returns the string representation -func (s ListInstancesInput) String() string { +func (s ListPhoneNumbersInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListInstancesInput) GoString() string { +func (s ListPhoneNumbersInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListInstancesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListInstancesInput"} +func (s *ListPhoneNumbersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListPhoneNumbersInput"} + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } @@ -16363,51 +18505,69 @@ func (s *ListInstancesInput) Validate() error { return nil } +// SetInstanceId sets the InstanceId field's value. +func (s *ListPhoneNumbersInput) SetInstanceId(v string) *ListPhoneNumbersInput { + s.InstanceId = &v + return s +} + // SetMaxResults sets the MaxResults field's value. -func (s *ListInstancesInput) SetMaxResults(v int64) *ListInstancesInput { +func (s *ListPhoneNumbersInput) SetMaxResults(v int64) *ListPhoneNumbersInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListInstancesInput) SetNextToken(v string) *ListInstancesInput { +func (s *ListPhoneNumbersInput) SetNextToken(v string) *ListPhoneNumbersInput { s.NextToken = &v return s } -type ListInstancesOutput struct { - _ struct{} `type:"structure"` +// SetPhoneNumberCountryCodes sets the PhoneNumberCountryCodes field's value. +func (s *ListPhoneNumbersInput) SetPhoneNumberCountryCodes(v []*string) *ListPhoneNumbersInput { + s.PhoneNumberCountryCodes = v + return s +} - // Information about the instances. - InstanceSummaryList []*InstanceSummary `type:"list"` +// SetPhoneNumberTypes sets the PhoneNumberTypes field's value. +func (s *ListPhoneNumbersInput) SetPhoneNumberTypes(v []*string) *ListPhoneNumbersInput { + s.PhoneNumberTypes = v + return s +} + +type ListPhoneNumbersOutput struct { + _ struct{} `type:"structure"` // If there are additional results, this is the token for the next set of results. NextToken *string `type:"string"` + + // Information about the phone numbers. + PhoneNumberSummaryList []*PhoneNumberSummary `type:"list"` } // String returns the string representation -func (s ListInstancesOutput) String() string { +func (s ListPhoneNumbersOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListInstancesOutput) GoString() string { +func (s ListPhoneNumbersOutput) GoString() string { return s.String() } -// SetInstanceSummaryList sets the InstanceSummaryList field's value. -func (s *ListInstancesOutput) SetInstanceSummaryList(v []*InstanceSummary) *ListInstancesOutput { - s.InstanceSummaryList = v +// SetNextToken sets the NextToken field's value. +func (s *ListPhoneNumbersOutput) SetNextToken(v string) *ListPhoneNumbersOutput { + s.NextToken = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListInstancesOutput) SetNextToken(v string) *ListInstancesOutput { - s.NextToken = &v +// SetPhoneNumberSummaryList sets the PhoneNumberSummaryList field's value. +func (s *ListPhoneNumbersOutput) SetPhoneNumberSummaryList(v []*PhoneNumberSummary) *ListPhoneNumbersOutput { + s.PhoneNumberSummaryList = v return s } -type ListIntegrationAssociationsInput struct { +type ListPromptsInput struct { _ struct{} `type:"structure"` // The identifier of the Amazon Connect instance. @@ -16415,7 +18575,7 @@ type ListIntegrationAssociationsInput struct { // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // The maximimum number of results to return per page. + // The maximum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. Use the value returned in the previous @@ -16424,18 +18584,18 @@ type ListIntegrationAssociationsInput struct { } // String returns the string representation -func (s ListIntegrationAssociationsInput) String() string { +func (s ListPromptsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListIntegrationAssociationsInput) GoString() string { +func (s ListPromptsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListIntegrationAssociationsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListIntegrationAssociationsInput"} +func (s *ListPromptsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListPromptsInput"} if s.InstanceId == nil { invalidParams.Add(request.NewErrParamRequired("InstanceId")) } @@ -16453,56 +18613,56 @@ func (s *ListIntegrationAssociationsInput) Validate() error { } // SetInstanceId sets the InstanceId field's value. -func (s *ListIntegrationAssociationsInput) SetInstanceId(v string) *ListIntegrationAssociationsInput { +func (s *ListPromptsInput) SetInstanceId(v string) *ListPromptsInput { s.InstanceId = &v return s } // SetMaxResults sets the MaxResults field's value. -func (s *ListIntegrationAssociationsInput) SetMaxResults(v int64) *ListIntegrationAssociationsInput { +func (s *ListPromptsInput) SetMaxResults(v int64) *ListPromptsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListIntegrationAssociationsInput) SetNextToken(v string) *ListIntegrationAssociationsInput { +func (s *ListPromptsInput) SetNextToken(v string) *ListPromptsInput { s.NextToken = &v return s } -type ListIntegrationAssociationsOutput struct { +type ListPromptsOutput struct { _ struct{} `type:"structure"` - // The AppIntegration associations. - IntegrationAssociationSummaryList []*IntegrationAssociationSummary `type:"list"` - // If there are additional results, this is the token for the next set of results. NextToken *string `type:"string"` + + // Information about the prompts. + PromptSummaryList []*PromptSummary `type:"list"` } // String returns the string representation -func (s ListIntegrationAssociationsOutput) String() string { +func (s ListPromptsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListIntegrationAssociationsOutput) GoString() string { +func (s ListPromptsOutput) GoString() string { return s.String() } -// SetIntegrationAssociationSummaryList sets the IntegrationAssociationSummaryList field's value. -func (s *ListIntegrationAssociationsOutput) SetIntegrationAssociationSummaryList(v []*IntegrationAssociationSummary) *ListIntegrationAssociationsOutput { - s.IntegrationAssociationSummaryList = v +// SetNextToken sets the NextToken field's value. +func (s *ListPromptsOutput) SetNextToken(v string) *ListPromptsOutput { + s.NextToken = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListIntegrationAssociationsOutput) SetNextToken(v string) *ListIntegrationAssociationsOutput { - s.NextToken = &v +// SetPromptSummaryList sets the PromptSummaryList field's value. +func (s *ListPromptsOutput) SetPromptSummaryList(v []*PromptSummary) *ListPromptsOutput { + s.PromptSummaryList = v return s } -type ListLambdaFunctionsInput struct { +type ListQueueQuickConnectsInput struct { _ struct{} `type:"structure"` // The identifier of the Amazon Connect instance. @@ -16510,27 +18670,32 @@ type ListLambdaFunctionsInput struct { // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // The maximimum number of results to return per page. + // The maximum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // 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. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // The identifier for the queue. + // + // QueueId is a required field + QueueId *string `location:"uri" locationName:"QueueId" type:"string" required:"true"` } // String returns the string representation -func (s ListLambdaFunctionsInput) String() string { +func (s ListQueueQuickConnectsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListLambdaFunctionsInput) GoString() string { +func (s ListQueueQuickConnectsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListLambdaFunctionsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListLambdaFunctionsInput"} +func (s *ListQueueQuickConnectsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListQueueQuickConnectsInput"} if s.InstanceId == nil { invalidParams.Add(request.NewErrParamRequired("InstanceId")) } @@ -16540,6 +18705,12 @@ func (s *ListLambdaFunctionsInput) Validate() error { if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } + if s.QueueId == nil { + invalidParams.Add(request.NewErrParamRequired("QueueId")) + } + if s.QueueId != nil && len(*s.QueueId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("QueueId", 1)) + } if invalidParams.Len() > 0 { return invalidParams @@ -16548,56 +18719,62 @@ func (s *ListLambdaFunctionsInput) Validate() error { } // SetInstanceId sets the InstanceId field's value. -func (s *ListLambdaFunctionsInput) SetInstanceId(v string) *ListLambdaFunctionsInput { +func (s *ListQueueQuickConnectsInput) SetInstanceId(v string) *ListQueueQuickConnectsInput { s.InstanceId = &v return s } // SetMaxResults sets the MaxResults field's value. -func (s *ListLambdaFunctionsInput) SetMaxResults(v int64) *ListLambdaFunctionsInput { +func (s *ListQueueQuickConnectsInput) SetMaxResults(v int64) *ListQueueQuickConnectsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListLambdaFunctionsInput) SetNextToken(v string) *ListLambdaFunctionsInput { +func (s *ListQueueQuickConnectsInput) SetNextToken(v string) *ListQueueQuickConnectsInput { s.NextToken = &v return s } -type ListLambdaFunctionsOutput struct { - _ struct{} `type:"structure"` +// SetQueueId sets the QueueId field's value. +func (s *ListQueueQuickConnectsInput) SetQueueId(v string) *ListQueueQuickConnectsInput { + s.QueueId = &v + return s +} - // The Lambdafunction ARNs associated with the specified instance. - LambdaFunctions []*string `type:"list"` +type ListQueueQuickConnectsOutput struct { + _ struct{} `type:"structure"` // If there are additional results, this is the token for the next set of results. NextToken *string `type:"string"` + + // Information about the quick connects. + QuickConnectSummaryList []*QuickConnectSummary `type:"list"` } // String returns the string representation -func (s ListLambdaFunctionsOutput) String() string { +func (s ListQueueQuickConnectsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListLambdaFunctionsOutput) GoString() string { +func (s ListQueueQuickConnectsOutput) GoString() string { return s.String() } -// SetLambdaFunctions sets the LambdaFunctions field's value. -func (s *ListLambdaFunctionsOutput) SetLambdaFunctions(v []*string) *ListLambdaFunctionsOutput { - s.LambdaFunctions = v +// SetNextToken sets the NextToken field's value. +func (s *ListQueueQuickConnectsOutput) SetNextToken(v string) *ListQueueQuickConnectsOutput { + s.NextToken = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListLambdaFunctionsOutput) SetNextToken(v string) *ListLambdaFunctionsOutput { - s.NextToken = &v +// SetQuickConnectSummaryList sets the QuickConnectSummaryList field's value. +func (s *ListQueueQuickConnectsOutput) SetQuickConnectSummaryList(v []*QuickConnectSummary) *ListQueueQuickConnectsOutput { + s.QuickConnectSummaryList = v return s } -type ListLexBotsInput struct { +type ListQueuesInput struct { _ struct{} `type:"structure"` // The identifier of the Amazon Connect instance. @@ -16605,27 +18782,30 @@ type ListLexBotsInput struct { // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // The maximimum number of results to return per page. + // The maximum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // 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. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // The type of queue. + QueueTypes []*string `location:"querystring" locationName:"queueTypes" type:"list"` } // String returns the string representation -func (s ListLexBotsInput) String() string { +func (s ListQueuesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListLexBotsInput) GoString() string { +func (s ListQueuesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListLexBotsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListLexBotsInput"} +func (s *ListQueuesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListQueuesInput"} if s.InstanceId == nil { invalidParams.Add(request.NewErrParamRequired("InstanceId")) } @@ -16643,57 +18823,62 @@ func (s *ListLexBotsInput) Validate() error { } // SetInstanceId sets the InstanceId field's value. -func (s *ListLexBotsInput) SetInstanceId(v string) *ListLexBotsInput { +func (s *ListQueuesInput) SetInstanceId(v string) *ListQueuesInput { s.InstanceId = &v return s } // SetMaxResults sets the MaxResults field's value. -func (s *ListLexBotsInput) SetMaxResults(v int64) *ListLexBotsInput { +func (s *ListQueuesInput) SetMaxResults(v int64) *ListQueuesInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListLexBotsInput) SetNextToken(v string) *ListLexBotsInput { +func (s *ListQueuesInput) SetNextToken(v string) *ListQueuesInput { s.NextToken = &v return s } -type ListLexBotsOutput struct { - _ struct{} `type:"structure"` +// SetQueueTypes sets the QueueTypes field's value. +func (s *ListQueuesInput) SetQueueTypes(v []*string) *ListQueuesInput { + s.QueueTypes = v + return s +} - // The the names and regions of the Amazon Lex bots associated with the specified - // instance. - LexBots []*LexBot `type:"list"` +type ListQueuesOutput struct { + _ struct{} `type:"structure"` // If there are additional results, this is the token for the next set of results. NextToken *string `type:"string"` + + // Information about the queues. + QueueSummaryList []*QueueSummary `type:"list"` } // String returns the string representation -func (s ListLexBotsOutput) String() string { +func (s ListQueuesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListLexBotsOutput) GoString() string { +func (s ListQueuesOutput) GoString() string { return s.String() } -// SetLexBots sets the LexBots field's value. -func (s *ListLexBotsOutput) SetLexBots(v []*LexBot) *ListLexBotsOutput { - s.LexBots = v +// SetNextToken sets the NextToken field's value. +func (s *ListQueuesOutput) SetNextToken(v string) *ListQueuesOutput { + s.NextToken = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListLexBotsOutput) SetNextToken(v string) *ListLexBotsOutput { - s.NextToken = &v +// SetQueueSummaryList sets the QueueSummaryList field's value. +func (s *ListQueuesOutput) SetQueueSummaryList(v []*QueueSummary) *ListQueuesOutput { + s.QueueSummaryList = v return s } -type ListPhoneNumbersInput struct { +type ListQuickConnectsInput struct { _ struct{} `type:"structure"` // The identifier of the Amazon Connect instance. @@ -16701,33 +18886,32 @@ type ListPhoneNumbersInput struct { // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // The maximimum number of results to return per page. + // The maximum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // 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. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` - // The ISO country code. - PhoneNumberCountryCodes []*string `location:"querystring" locationName:"phoneNumberCountryCodes" type:"list"` - - // The type of phone number. - PhoneNumberTypes []*string `location:"querystring" locationName:"phoneNumberTypes" type:"list"` + // The type of quick connect. In the Amazon Connect console, when you create + // a quick connect, you are prompted to assign one of the following types: Agent + // (USER), External (PHONE_NUMBER), or Queue (QUEUE). + QuickConnectTypes []*string `location:"querystring" locationName:"QuickConnectTypes" type:"list"` } // String returns the string representation -func (s ListPhoneNumbersInput) String() string { +func (s ListQuickConnectsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListPhoneNumbersInput) GoString() string { +func (s ListQuickConnectsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListPhoneNumbersInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListPhoneNumbersInput"} +func (s *ListQuickConnectsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListQuickConnectsInput"} if s.InstanceId == nil { invalidParams.Add(request.NewErrParamRequired("InstanceId")) } @@ -16745,68 +18929,62 @@ func (s *ListPhoneNumbersInput) Validate() error { } // SetInstanceId sets the InstanceId field's value. -func (s *ListPhoneNumbersInput) SetInstanceId(v string) *ListPhoneNumbersInput { +func (s *ListQuickConnectsInput) SetInstanceId(v string) *ListQuickConnectsInput { s.InstanceId = &v return s } // SetMaxResults sets the MaxResults field's value. -func (s *ListPhoneNumbersInput) SetMaxResults(v int64) *ListPhoneNumbersInput { +func (s *ListQuickConnectsInput) SetMaxResults(v int64) *ListQuickConnectsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListPhoneNumbersInput) SetNextToken(v string) *ListPhoneNumbersInput { +func (s *ListQuickConnectsInput) SetNextToken(v string) *ListQuickConnectsInput { s.NextToken = &v return s } -// SetPhoneNumberCountryCodes sets the PhoneNumberCountryCodes field's value. -func (s *ListPhoneNumbersInput) SetPhoneNumberCountryCodes(v []*string) *ListPhoneNumbersInput { - s.PhoneNumberCountryCodes = v - return s -} - -// SetPhoneNumberTypes sets the PhoneNumberTypes field's value. -func (s *ListPhoneNumbersInput) SetPhoneNumberTypes(v []*string) *ListPhoneNumbersInput { - s.PhoneNumberTypes = v +// SetQuickConnectTypes sets the QuickConnectTypes field's value. +func (s *ListQuickConnectsInput) SetQuickConnectTypes(v []*string) *ListQuickConnectsInput { + s.QuickConnectTypes = v return s } -type ListPhoneNumbersOutput struct { +type ListQuickConnectsOutput struct { _ struct{} `type:"structure"` // If there are additional results, this is the token for the next set of results. NextToken *string `type:"string"` - // Information about the phone numbers. - PhoneNumberSummaryList []*PhoneNumberSummary `type:"list"` + // Information about the quick connects. + QuickConnectSummaryList []*QuickConnectSummary `type:"list"` } // String returns the string representation -func (s ListPhoneNumbersOutput) String() string { +func (s ListQuickConnectsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListPhoneNumbersOutput) GoString() string { +func (s ListQuickConnectsOutput) GoString() string { return s.String() } // SetNextToken sets the NextToken field's value. -func (s *ListPhoneNumbersOutput) SetNextToken(v string) *ListPhoneNumbersOutput { +func (s *ListQuickConnectsOutput) SetNextToken(v string) *ListQuickConnectsOutput { s.NextToken = &v return s } -// SetPhoneNumberSummaryList sets the PhoneNumberSummaryList field's value. -func (s *ListPhoneNumbersOutput) SetPhoneNumberSummaryList(v []*PhoneNumberSummary) *ListPhoneNumbersOutput { - s.PhoneNumberSummaryList = v +// SetQuickConnectSummaryList sets the QuickConnectSummaryList field's value. +func (s *ListQuickConnectsOutput) SetQuickConnectSummaryList(v []*QuickConnectSummary) *ListQuickConnectsOutput { + s.QuickConnectSummaryList = v return s } -type ListPromptsInput struct { +type ListRoutingProfileQueuesInput struct { _ struct{} `type:"structure"` // The identifier of the Amazon Connect instance. @@ -16820,21 +18998,26 @@ type ListPromptsInput struct { // 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. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // The identifier of the routing profile. + // + // RoutingProfileId is a required field + RoutingProfileId *string `location:"uri" locationName:"RoutingProfileId" type:"string" required:"true"` } // String returns the string representation -func (s ListPromptsInput) String() string { +func (s ListRoutingProfileQueuesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListPromptsInput) GoString() string { +func (s ListRoutingProfileQueuesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListPromptsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListPromptsInput"} +func (s *ListRoutingProfileQueuesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListRoutingProfileQueuesInput"} if s.InstanceId == nil { invalidParams.Add(request.NewErrParamRequired("InstanceId")) } @@ -16844,6 +19027,12 @@ func (s *ListPromptsInput) Validate() error { if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } + if s.RoutingProfileId == nil { + invalidParams.Add(request.NewErrParamRequired("RoutingProfileId")) + } + if s.RoutingProfileId != nil && len(*s.RoutingProfileId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RoutingProfileId", 1)) + } if invalidParams.Len() > 0 { return invalidParams @@ -16852,56 +19041,62 @@ func (s *ListPromptsInput) Validate() error { } // SetInstanceId sets the InstanceId field's value. -func (s *ListPromptsInput) SetInstanceId(v string) *ListPromptsInput { +func (s *ListRoutingProfileQueuesInput) SetInstanceId(v string) *ListRoutingProfileQueuesInput { s.InstanceId = &v return s } // SetMaxResults sets the MaxResults field's value. -func (s *ListPromptsInput) SetMaxResults(v int64) *ListPromptsInput { +func (s *ListRoutingProfileQueuesInput) SetMaxResults(v int64) *ListRoutingProfileQueuesInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListPromptsInput) SetNextToken(v string) *ListPromptsInput { +func (s *ListRoutingProfileQueuesInput) SetNextToken(v string) *ListRoutingProfileQueuesInput { s.NextToken = &v return s } -type ListPromptsOutput struct { +// SetRoutingProfileId sets the RoutingProfileId field's value. +func (s *ListRoutingProfileQueuesInput) SetRoutingProfileId(v string) *ListRoutingProfileQueuesInput { + s.RoutingProfileId = &v + return s +} + +type ListRoutingProfileQueuesOutput struct { _ struct{} `type:"structure"` // If there are additional results, this is the token for the next set of results. NextToken *string `type:"string"` - // Information about the prompts. - PromptSummaryList []*PromptSummary `type:"list"` + // Information about the routing profiles. + RoutingProfileQueueConfigSummaryList []*RoutingProfileQueueConfigSummary `type:"list"` } // String returns the string representation -func (s ListPromptsOutput) String() string { +func (s ListRoutingProfileQueuesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListPromptsOutput) GoString() string { +func (s ListRoutingProfileQueuesOutput) GoString() string { return s.String() } // SetNextToken sets the NextToken field's value. -func (s *ListPromptsOutput) SetNextToken(v string) *ListPromptsOutput { +func (s *ListRoutingProfileQueuesOutput) SetNextToken(v string) *ListRoutingProfileQueuesOutput { s.NextToken = &v return s } -// SetPromptSummaryList sets the PromptSummaryList field's value. -func (s *ListPromptsOutput) SetPromptSummaryList(v []*PromptSummary) *ListPromptsOutput { - s.PromptSummaryList = v +// SetRoutingProfileQueueConfigSummaryList sets the RoutingProfileQueueConfigSummaryList field's value. +func (s *ListRoutingProfileQueuesOutput) SetRoutingProfileQueueConfigSummaryList(v []*RoutingProfileQueueConfigSummary) *ListRoutingProfileQueuesOutput { + s.RoutingProfileQueueConfigSummaryList = v return s } -type ListQueuesInput struct { +type ListRoutingProfilesInput struct { _ struct{} `type:"structure"` // The identifier of the Amazon Connect instance. @@ -16909,30 +19104,27 @@ type ListQueuesInput struct { // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // The maximimum number of results to return per page. + // The maximum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // 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. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` - - // The type of queue. - QueueTypes []*string `location:"querystring" locationName:"queueTypes" type:"list"` } // String returns the string representation -func (s ListQueuesInput) String() string { +func (s ListRoutingProfilesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListQueuesInput) GoString() string { +func (s ListRoutingProfilesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListQueuesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListQueuesInput"} +func (s *ListRoutingProfilesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListRoutingProfilesInput"} if s.InstanceId == nil { invalidParams.Add(request.NewErrParamRequired("InstanceId")) } @@ -16950,62 +19142,56 @@ func (s *ListQueuesInput) Validate() error { } // SetInstanceId sets the InstanceId field's value. -func (s *ListQueuesInput) SetInstanceId(v string) *ListQueuesInput { +func (s *ListRoutingProfilesInput) SetInstanceId(v string) *ListRoutingProfilesInput { s.InstanceId = &v return s } // SetMaxResults sets the MaxResults field's value. -func (s *ListQueuesInput) SetMaxResults(v int64) *ListQueuesInput { +func (s *ListRoutingProfilesInput) SetMaxResults(v int64) *ListRoutingProfilesInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListQueuesInput) SetNextToken(v string) *ListQueuesInput { +func (s *ListRoutingProfilesInput) SetNextToken(v string) *ListRoutingProfilesInput { s.NextToken = &v return s } -// SetQueueTypes sets the QueueTypes field's value. -func (s *ListQueuesInput) SetQueueTypes(v []*string) *ListQueuesInput { - s.QueueTypes = v - return s -} - -type ListQueuesOutput struct { +type ListRoutingProfilesOutput struct { _ struct{} `type:"structure"` // If there are additional results, this is the token for the next set of results. NextToken *string `type:"string"` - // Information about the queues. - QueueSummaryList []*QueueSummary `type:"list"` + // Information about the routing profiles. + RoutingProfileSummaryList []*RoutingProfileSummary `type:"list"` } // String returns the string representation -func (s ListQueuesOutput) String() string { +func (s ListRoutingProfilesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListQueuesOutput) GoString() string { +func (s ListRoutingProfilesOutput) GoString() string { return s.String() } // SetNextToken sets the NextToken field's value. -func (s *ListQueuesOutput) SetNextToken(v string) *ListQueuesOutput { +func (s *ListRoutingProfilesOutput) SetNextToken(v string) *ListRoutingProfilesOutput { s.NextToken = &v return s -} - -// SetQueueSummaryList sets the QueueSummaryList field's value. -func (s *ListQueuesOutput) SetQueueSummaryList(v []*QueueSummary) *ListQueuesOutput { - s.QueueSummaryList = v +} + +// SetRoutingProfileSummaryList sets the RoutingProfileSummaryList field's value. +func (s *ListRoutingProfilesOutput) SetRoutingProfileSummaryList(v []*RoutingProfileSummary) *ListRoutingProfilesOutput { + s.RoutingProfileSummaryList = v return s } -type ListQuickConnectsInput struct { +type ListSecurityKeysInput struct { _ struct{} `type:"structure"` // The identifier of the Amazon Connect instance. @@ -17013,32 +19199,27 @@ type ListQuickConnectsInput struct { // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // The maximimum number of results to return per page. + // The maximum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // 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. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` - - // The type of quick connect. In the Amazon Connect console, when you create - // a quick connect, you are prompted to assign one of the following types: Agent - // (USER), External (PHONE_NUMBER), or Queue (QUEUE). - QuickConnectTypes []*string `location:"querystring" locationName:"QuickConnectTypes" type:"list"` } // String returns the string representation -func (s ListQuickConnectsInput) String() string { +func (s ListSecurityKeysInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListQuickConnectsInput) GoString() string { +func (s ListSecurityKeysInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListQuickConnectsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListQuickConnectsInput"} +func (s *ListSecurityKeysInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListSecurityKeysInput"} if s.InstanceId == nil { invalidParams.Add(request.NewErrParamRequired("InstanceId")) } @@ -17056,62 +19237,56 @@ func (s *ListQuickConnectsInput) Validate() error { } // SetInstanceId sets the InstanceId field's value. -func (s *ListQuickConnectsInput) SetInstanceId(v string) *ListQuickConnectsInput { +func (s *ListSecurityKeysInput) SetInstanceId(v string) *ListSecurityKeysInput { s.InstanceId = &v return s } // SetMaxResults sets the MaxResults field's value. -func (s *ListQuickConnectsInput) SetMaxResults(v int64) *ListQuickConnectsInput { +func (s *ListSecurityKeysInput) SetMaxResults(v int64) *ListSecurityKeysInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListQuickConnectsInput) SetNextToken(v string) *ListQuickConnectsInput { +func (s *ListSecurityKeysInput) SetNextToken(v string) *ListSecurityKeysInput { s.NextToken = &v return s } -// SetQuickConnectTypes sets the QuickConnectTypes field's value. -func (s *ListQuickConnectsInput) SetQuickConnectTypes(v []*string) *ListQuickConnectsInput { - s.QuickConnectTypes = v - return s -} - -type ListQuickConnectsOutput struct { +type ListSecurityKeysOutput struct { _ struct{} `type:"structure"` // If there are additional results, this is the token for the next set of results. NextToken *string `type:"string"` - // Information about the quick connects. - QuickConnectSummaryList []*QuickConnectSummary `type:"list"` + // The security keys. + SecurityKeys []*SecurityKey `type:"list"` } // String returns the string representation -func (s ListQuickConnectsOutput) String() string { +func (s ListSecurityKeysOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListQuickConnectsOutput) GoString() string { +func (s ListSecurityKeysOutput) GoString() string { return s.String() } // SetNextToken sets the NextToken field's value. -func (s *ListQuickConnectsOutput) SetNextToken(v string) *ListQuickConnectsOutput { +func (s *ListSecurityKeysOutput) SetNextToken(v string) *ListSecurityKeysOutput { s.NextToken = &v return s } -// SetQuickConnectSummaryList sets the QuickConnectSummaryList field's value. -func (s *ListQuickConnectsOutput) SetQuickConnectSummaryList(v []*QuickConnectSummary) *ListQuickConnectsOutput { - s.QuickConnectSummaryList = v +// SetSecurityKeys sets the SecurityKeys field's value. +func (s *ListSecurityKeysOutput) SetSecurityKeys(v []*SecurityKey) *ListSecurityKeysOutput { + s.SecurityKeys = v return s } -type ListRoutingProfileQueuesInput struct { +type ListSecurityProfilesInput struct { _ struct{} `type:"structure"` // The identifier of the Amazon Connect instance. @@ -17119,32 +19294,27 @@ type ListRoutingProfileQueuesInput struct { // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // The maximimum number of results to return per page. + // The maximum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // 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. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` - - // The identifier of the routing profile. - // - // RoutingProfileId is a required field - RoutingProfileId *string `location:"uri" locationName:"RoutingProfileId" type:"string" required:"true"` } // String returns the string representation -func (s ListRoutingProfileQueuesInput) String() string { +func (s ListSecurityProfilesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListRoutingProfileQueuesInput) GoString() string { +func (s ListSecurityProfilesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListRoutingProfileQueuesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListRoutingProfileQueuesInput"} +func (s *ListSecurityProfilesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListSecurityProfilesInput"} if s.InstanceId == nil { invalidParams.Add(request.NewErrParamRequired("InstanceId")) } @@ -17154,12 +19324,6 @@ func (s *ListRoutingProfileQueuesInput) Validate() error { if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } - if s.RoutingProfileId == nil { - invalidParams.Add(request.NewErrParamRequired("RoutingProfileId")) - } - if s.RoutingProfileId != nil && len(*s.RoutingProfileId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("RoutingProfileId", 1)) - } if invalidParams.Len() > 0 { return invalidParams @@ -17168,62 +19332,122 @@ func (s *ListRoutingProfileQueuesInput) Validate() error { } // SetInstanceId sets the InstanceId field's value. -func (s *ListRoutingProfileQueuesInput) SetInstanceId(v string) *ListRoutingProfileQueuesInput { +func (s *ListSecurityProfilesInput) SetInstanceId(v string) *ListSecurityProfilesInput { s.InstanceId = &v return s } // SetMaxResults sets the MaxResults field's value. -func (s *ListRoutingProfileQueuesInput) SetMaxResults(v int64) *ListRoutingProfileQueuesInput { +func (s *ListSecurityProfilesInput) SetMaxResults(v int64) *ListSecurityProfilesInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListRoutingProfileQueuesInput) SetNextToken(v string) *ListRoutingProfileQueuesInput { +func (s *ListSecurityProfilesInput) SetNextToken(v string) *ListSecurityProfilesInput { s.NextToken = &v return s } -// SetRoutingProfileId sets the RoutingProfileId field's value. -func (s *ListRoutingProfileQueuesInput) SetRoutingProfileId(v string) *ListRoutingProfileQueuesInput { - s.RoutingProfileId = &v - return s -} - -type ListRoutingProfileQueuesOutput struct { +type ListSecurityProfilesOutput struct { _ struct{} `type:"structure"` // If there are additional results, this is the token for the next set of results. NextToken *string `type:"string"` - // Information about the routing profiles. - RoutingProfileQueueConfigSummaryList []*RoutingProfileQueueConfigSummary `type:"list"` + // Information about the security profiles. + SecurityProfileSummaryList []*SecurityProfileSummary `type:"list"` } // String returns the string representation -func (s ListRoutingProfileQueuesOutput) String() string { +func (s ListSecurityProfilesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListRoutingProfileQueuesOutput) GoString() string { +func (s ListSecurityProfilesOutput) GoString() string { return s.String() } // SetNextToken sets the NextToken field's value. -func (s *ListRoutingProfileQueuesOutput) SetNextToken(v string) *ListRoutingProfileQueuesOutput { +func (s *ListSecurityProfilesOutput) SetNextToken(v string) *ListSecurityProfilesOutput { s.NextToken = &v return s } -// SetRoutingProfileQueueConfigSummaryList sets the RoutingProfileQueueConfigSummaryList field's value. -func (s *ListRoutingProfileQueuesOutput) SetRoutingProfileQueueConfigSummaryList(v []*RoutingProfileQueueConfigSummary) *ListRoutingProfileQueuesOutput { - s.RoutingProfileQueueConfigSummaryList = v +// SetSecurityProfileSummaryList sets the SecurityProfileSummaryList field's value. +func (s *ListSecurityProfilesOutput) SetSecurityProfileSummaryList(v []*SecurityProfileSummary) *ListSecurityProfilesOutput { + s.SecurityProfileSummaryList = v return s } -type ListRoutingProfilesInput struct { +type ListTagsForResourceInput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the resource. + // + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` +} + +// String returns the string representation +func (s ListTagsForResourceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListTagsForResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListTagsForResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput { + s.ResourceArn = &v + return s +} + +type ListTagsForResourceOutput struct { + _ struct{} `type:"structure"` + + // Information about the tags. + Tags map[string]*string `locationName:"tags" min:"1" type:"map"` +} + +// String returns the string representation +func (s ListTagsForResourceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListTagsForResourceOutput) GoString() string { + return s.String() +} + +// SetTags sets the Tags field's value. +func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput { + s.Tags = v + return s +} + +// Provides summary information about the use cases for the specified Amazon +// Connect AppIntegration association. +type ListUseCasesInput struct { _ struct{} `type:"structure"` // The identifier of the Amazon Connect instance. @@ -17231,7 +19455,12 @@ type ListRoutingProfilesInput struct { // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // The maximimum number of results to return per page. + // The identifier for the integration association. + // + // IntegrationAssociationId is a required field + IntegrationAssociationId *string `location:"uri" locationName:"IntegrationAssociationId" min:"1" type:"string" required:"true"` + + // The maximum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. Use the value returned in the previous @@ -17240,24 +19469,30 @@ type ListRoutingProfilesInput struct { } // String returns the string representation -func (s ListRoutingProfilesInput) String() string { +func (s ListUseCasesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListRoutingProfilesInput) GoString() string { +func (s ListUseCasesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListRoutingProfilesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListRoutingProfilesInput"} +func (s *ListUseCasesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListUseCasesInput"} if s.InstanceId == nil { invalidParams.Add(request.NewErrParamRequired("InstanceId")) } if s.InstanceId != nil && len(*s.InstanceId) < 1 { invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) } + if s.IntegrationAssociationId == nil { + invalidParams.Add(request.NewErrParamRequired("IntegrationAssociationId")) + } + if s.IntegrationAssociationId != nil && len(*s.IntegrationAssociationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("IntegrationAssociationId", 1)) + } if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } @@ -17269,56 +19504,62 @@ func (s *ListRoutingProfilesInput) Validate() error { } // SetInstanceId sets the InstanceId field's value. -func (s *ListRoutingProfilesInput) SetInstanceId(v string) *ListRoutingProfilesInput { +func (s *ListUseCasesInput) SetInstanceId(v string) *ListUseCasesInput { s.InstanceId = &v return s } +// SetIntegrationAssociationId sets the IntegrationAssociationId field's value. +func (s *ListUseCasesInput) SetIntegrationAssociationId(v string) *ListUseCasesInput { + s.IntegrationAssociationId = &v + return s +} + // SetMaxResults sets the MaxResults field's value. -func (s *ListRoutingProfilesInput) SetMaxResults(v int64) *ListRoutingProfilesInput { +func (s *ListUseCasesInput) SetMaxResults(v int64) *ListUseCasesInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListRoutingProfilesInput) SetNextToken(v string) *ListRoutingProfilesInput { +func (s *ListUseCasesInput) SetNextToken(v string) *ListUseCasesInput { s.NextToken = &v return s } -type ListRoutingProfilesOutput struct { +type ListUseCasesOutput struct { _ struct{} `type:"structure"` // If there are additional results, this is the token for the next set of results. NextToken *string `type:"string"` - // Information about the routing profiles. - RoutingProfileSummaryList []*RoutingProfileSummary `type:"list"` + // The use cases. + UseCaseSummaryList []*UseCase `type:"list"` } // String returns the string representation -func (s ListRoutingProfilesOutput) String() string { +func (s ListUseCasesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListRoutingProfilesOutput) GoString() string { +func (s ListUseCasesOutput) GoString() string { return s.String() } // SetNextToken sets the NextToken field's value. -func (s *ListRoutingProfilesOutput) SetNextToken(v string) *ListRoutingProfilesOutput { +func (s *ListUseCasesOutput) SetNextToken(v string) *ListUseCasesOutput { s.NextToken = &v return s } -// SetRoutingProfileSummaryList sets the RoutingProfileSummaryList field's value. -func (s *ListRoutingProfilesOutput) SetRoutingProfileSummaryList(v []*RoutingProfileSummary) *ListRoutingProfilesOutput { - s.RoutingProfileSummaryList = v +// SetUseCaseSummaryList sets the UseCaseSummaryList field's value. +func (s *ListUseCasesOutput) SetUseCaseSummaryList(v []*UseCase) *ListUseCasesOutput { + s.UseCaseSummaryList = v return s } -type ListSecurityKeysInput struct { +type ListUserHierarchyGroupsInput struct { _ struct{} `type:"structure"` // The identifier of the Amazon Connect instance. @@ -17326,7 +19567,7 @@ type ListSecurityKeysInput struct { // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // The maximimum number of results to return per page. + // The maximum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. Use the value returned in the previous @@ -17335,18 +19576,18 @@ type ListSecurityKeysInput struct { } // String returns the string representation -func (s ListSecurityKeysInput) String() string { +func (s ListUserHierarchyGroupsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListSecurityKeysInput) GoString() string { +func (s ListUserHierarchyGroupsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListSecurityKeysInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListSecurityKeysInput"} +func (s *ListUserHierarchyGroupsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListUserHierarchyGroupsInput"} if s.InstanceId == nil { invalidParams.Add(request.NewErrParamRequired("InstanceId")) } @@ -17364,56 +19605,56 @@ func (s *ListSecurityKeysInput) Validate() error { } // SetInstanceId sets the InstanceId field's value. -func (s *ListSecurityKeysInput) SetInstanceId(v string) *ListSecurityKeysInput { +func (s *ListUserHierarchyGroupsInput) SetInstanceId(v string) *ListUserHierarchyGroupsInput { s.InstanceId = &v return s } // SetMaxResults sets the MaxResults field's value. -func (s *ListSecurityKeysInput) SetMaxResults(v int64) *ListSecurityKeysInput { +func (s *ListUserHierarchyGroupsInput) SetMaxResults(v int64) *ListUserHierarchyGroupsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListSecurityKeysInput) SetNextToken(v string) *ListSecurityKeysInput { +func (s *ListUserHierarchyGroupsInput) SetNextToken(v string) *ListUserHierarchyGroupsInput { s.NextToken = &v return s } -type ListSecurityKeysOutput struct { +type ListUserHierarchyGroupsOutput struct { _ struct{} `type:"structure"` // If there are additional results, this is the token for the next set of results. NextToken *string `type:"string"` - // The security keys. - SecurityKeys []*SecurityKey `type:"list"` + // Information about the hierarchy groups. + UserHierarchyGroupSummaryList []*HierarchyGroupSummary `type:"list"` } // String returns the string representation -func (s ListSecurityKeysOutput) String() string { +func (s ListUserHierarchyGroupsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListSecurityKeysOutput) GoString() string { +func (s ListUserHierarchyGroupsOutput) GoString() string { return s.String() } // SetNextToken sets the NextToken field's value. -func (s *ListSecurityKeysOutput) SetNextToken(v string) *ListSecurityKeysOutput { +func (s *ListUserHierarchyGroupsOutput) SetNextToken(v string) *ListUserHierarchyGroupsOutput { s.NextToken = &v return s } -// SetSecurityKeys sets the SecurityKeys field's value. -func (s *ListSecurityKeysOutput) SetSecurityKeys(v []*SecurityKey) *ListSecurityKeysOutput { - s.SecurityKeys = v +// SetUserHierarchyGroupSummaryList sets the UserHierarchyGroupSummaryList field's value. +func (s *ListUserHierarchyGroupsOutput) SetUserHierarchyGroupSummaryList(v []*HierarchyGroupSummary) *ListUserHierarchyGroupsOutput { + s.UserHierarchyGroupSummaryList = v return s } -type ListSecurityProfilesInput struct { +type ListUsersInput struct { _ struct{} `type:"structure"` // The identifier of the Amazon Connect instance. @@ -17421,7 +19662,7 @@ type ListSecurityProfilesInput struct { // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // The maximimum number of results to return per page. + // The maximum number of results to return per page. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // The token for the next set of results. Use the value returned in the previous @@ -17430,18 +19671,18 @@ type ListSecurityProfilesInput struct { } // String returns the string representation -func (s ListSecurityProfilesInput) String() string { +func (s ListUsersInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListSecurityProfilesInput) GoString() string { +func (s ListUsersInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListSecurityProfilesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListSecurityProfilesInput"} +func (s *ListUsersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListUsersInput"} if s.InstanceId == nil { invalidParams.Add(request.NewErrParamRequired("InstanceId")) } @@ -17459,82 +19700,92 @@ func (s *ListSecurityProfilesInput) Validate() error { } // SetInstanceId sets the InstanceId field's value. -func (s *ListSecurityProfilesInput) SetInstanceId(v string) *ListSecurityProfilesInput { +func (s *ListUsersInput) SetInstanceId(v string) *ListUsersInput { s.InstanceId = &v return s } // SetMaxResults sets the MaxResults field's value. -func (s *ListSecurityProfilesInput) SetMaxResults(v int64) *ListSecurityProfilesInput { +func (s *ListUsersInput) SetMaxResults(v int64) *ListUsersInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListSecurityProfilesInput) SetNextToken(v string) *ListSecurityProfilesInput { +func (s *ListUsersInput) SetNextToken(v string) *ListUsersInput { s.NextToken = &v return s } -type ListSecurityProfilesOutput struct { +type ListUsersOutput struct { _ struct{} `type:"structure"` // If there are additional results, this is the token for the next set of results. NextToken *string `type:"string"` - // Information about the security profiles. - SecurityProfileSummaryList []*SecurityProfileSummary `type:"list"` + // Information about the users. + UserSummaryList []*UserSummary `type:"list"` } // String returns the string representation -func (s ListSecurityProfilesOutput) String() string { +func (s ListUsersOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListSecurityProfilesOutput) GoString() string { +func (s ListUsersOutput) GoString() string { return s.String() } // SetNextToken sets the NextToken field's value. -func (s *ListSecurityProfilesOutput) SetNextToken(v string) *ListSecurityProfilesOutput { +func (s *ListUsersOutput) SetNextToken(v string) *ListUsersOutput { s.NextToken = &v return s } -// SetSecurityProfileSummaryList sets the SecurityProfileSummaryList field's value. -func (s *ListSecurityProfilesOutput) SetSecurityProfileSummaryList(v []*SecurityProfileSummary) *ListSecurityProfilesOutput { - s.SecurityProfileSummaryList = v +// SetUserSummaryList sets the UserSummaryList field's value. +func (s *ListUsersOutput) SetUserSummaryList(v []*UserSummary) *ListUsersOutput { + s.UserSummaryList = v return s } -type ListTagsForResourceInput struct { +// Contains information about which channels are supported, and how many contacts +// an agent can have on a channel simultaneously. +type MediaConcurrency struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the resource. + // The channels that agents can handle in the Contact Control Panel (CCP). // - // ResourceArn is a required field - ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` + // Channel is a required field + Channel *string `type:"string" required:"true" enum:"Channel"` + + // The number of contacts an agent can have on a channel simultaneously. + // + // Concurrency is a required field + Concurrency *int64 `min:"1" type:"integer" required:"true"` } // String returns the string representation -func (s ListTagsForResourceInput) String() string { +func (s MediaConcurrency) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListTagsForResourceInput) GoString() string { +func (s MediaConcurrency) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListTagsForResourceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"} - if s.ResourceArn == nil { - invalidParams.Add(request.NewErrParamRequired("ResourceArn")) +func (s *MediaConcurrency) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MediaConcurrency"} + if s.Channel == nil { + invalidParams.Add(request.NewErrParamRequired("Channel")) } - if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + if s.Concurrency == nil { + invalidParams.Add(request.NewErrParamRequired("Concurrency")) + } + if s.Concurrency != nil && *s.Concurrency < 1 { + invalidParams.Add(request.NewErrParamMinValue("Concurrency", 1)) } if invalidParams.Len() > 0 { @@ -17543,85 +19794,47 @@ func (s *ListTagsForResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput { - s.ResourceArn = &v +// SetChannel sets the Channel field's value. +func (s *MediaConcurrency) SetChannel(v string) *MediaConcurrency { + s.Channel = &v return s } -type ListTagsForResourceOutput struct { - _ struct{} `type:"structure"` - - // Information about the tags. - Tags map[string]*string `locationName:"tags" min:"1" type:"map"` -} - -// String returns the string representation -func (s ListTagsForResourceOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ListTagsForResourceOutput) GoString() string { - return s.String() -} - -// SetTags sets the Tags field's value. -func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput { - s.Tags = v +// SetConcurrency sets the Concurrency field's value. +func (s *MediaConcurrency) SetConcurrency(v int64) *MediaConcurrency { + s.Concurrency = &v return s } -// Provides summary information about the use cases for the specified Amazon -// Connect AppIntegration association. -type ListUseCasesInput struct { +// The outbound caller ID name, number, and outbound whisper flow. +type OutboundCallerConfig struct { _ struct{} `type:"structure"` - // The identifier of the Amazon Connect instance. - // - // InstanceId is a required field - InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - - // The identifier for the integration association. - // - // IntegrationAssociationId is a required field - IntegrationAssociationId *string `location:"uri" locationName:"IntegrationAssociationId" min:"1" type:"string" required:"true"` + // The caller ID name. + OutboundCallerIdName *string `min:"1" type:"string"` - // The maximimum number of results to return per page. - MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + // The caller ID number. + OutboundCallerIdNumberId *string `type:"string"` - // 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. - NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + // The outbound whisper flow to be used during an outbound call. + OutboundFlowId *string `type:"string"` } // String returns the string representation -func (s ListUseCasesInput) String() string { +func (s OutboundCallerConfig) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListUseCasesInput) GoString() string { +func (s OutboundCallerConfig) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListUseCasesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListUseCasesInput"} - if s.InstanceId == nil { - invalidParams.Add(request.NewErrParamRequired("InstanceId")) - } - if s.InstanceId != nil && len(*s.InstanceId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) - } - if s.IntegrationAssociationId == nil { - invalidParams.Add(request.NewErrParamRequired("IntegrationAssociationId")) - } - if s.IntegrationAssociationId != nil && len(*s.IntegrationAssociationId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("IntegrationAssociationId", 1)) - } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) +func (s *OutboundCallerConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "OutboundCallerConfig"} + if s.OutboundCallerIdName != nil && len(*s.OutboundCallerIdName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("OutboundCallerIdName", 1)) } if invalidParams.Len() > 0 { @@ -17630,394 +19843,419 @@ func (s *ListUseCasesInput) Validate() error { return nil } -// SetInstanceId sets the InstanceId field's value. -func (s *ListUseCasesInput) SetInstanceId(v string) *ListUseCasesInput { - s.InstanceId = &v - return s -} - -// SetIntegrationAssociationId sets the IntegrationAssociationId field's value. -func (s *ListUseCasesInput) SetIntegrationAssociationId(v string) *ListUseCasesInput { - s.IntegrationAssociationId = &v +// SetOutboundCallerIdName sets the OutboundCallerIdName field's value. +func (s *OutboundCallerConfig) SetOutboundCallerIdName(v string) *OutboundCallerConfig { + s.OutboundCallerIdName = &v return s } -// SetMaxResults sets the MaxResults field's value. -func (s *ListUseCasesInput) SetMaxResults(v int64) *ListUseCasesInput { - s.MaxResults = &v +// SetOutboundCallerIdNumberId sets the OutboundCallerIdNumberId field's value. +func (s *OutboundCallerConfig) SetOutboundCallerIdNumberId(v string) *OutboundCallerConfig { + s.OutboundCallerIdNumberId = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListUseCasesInput) SetNextToken(v string) *ListUseCasesInput { - s.NextToken = &v +// SetOutboundFlowId sets the OutboundFlowId field's value. +func (s *OutboundCallerConfig) SetOutboundFlowId(v string) *OutboundCallerConfig { + s.OutboundFlowId = &v return s } -type ListUseCasesOutput struct { - _ struct{} `type:"structure"` - - // If there are additional results, this is the token for the next set of results. - NextToken *string `type:"string"` +// The contact is not permitted. +type OutboundContactNotPermittedException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // The use cases. - UseCaseSummaryList []*UseCase `type:"list"` + // The message about the contact. + Message_ *string `locationName:"Message" type:"string"` } // String returns the string representation -func (s ListUseCasesOutput) String() string { +func (s OutboundContactNotPermittedException) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListUseCasesOutput) GoString() string { +func (s OutboundContactNotPermittedException) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListUseCasesOutput) SetNextToken(v string) *ListUseCasesOutput { - s.NextToken = &v - return s +func newErrorOutboundContactNotPermittedException(v protocol.ResponseMetadata) error { + return &OutboundContactNotPermittedException{ + RespMetadata: v, + } } -// SetUseCaseSummaryList sets the UseCaseSummaryList field's value. -func (s *ListUseCasesOutput) SetUseCaseSummaryList(v []*UseCase) *ListUseCasesOutput { - s.UseCaseSummaryList = v - return s +// Code returns the exception type name. +func (s *OutboundContactNotPermittedException) Code() string { + return "OutboundContactNotPermittedException" } -type ListUserHierarchyGroupsInput struct { - _ struct{} `type:"structure"` +// Message returns the exception's message. +func (s *OutboundContactNotPermittedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} - // The identifier of the Amazon Connect instance. - // - // InstanceId is a required field - InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *OutboundContactNotPermittedException) OrigErr() error { + return nil +} - // The maximimum number of results to return per page. - MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` +func (s *OutboundContactNotPermittedException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} - // 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. - NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +// Status code returns the HTTP status code for the request's response error. +func (s *OutboundContactNotPermittedException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *OutboundContactNotPermittedException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The customer's details. +type ParticipantDetails struct { + _ struct{} `type:"structure"` + + // Display name of the participant. + // + // DisplayName is a required field + DisplayName *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s ListUserHierarchyGroupsInput) String() string { +func (s ParticipantDetails) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListUserHierarchyGroupsInput) GoString() string { +func (s ParticipantDetails) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListUserHierarchyGroupsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListUserHierarchyGroupsInput"} - if s.InstanceId == nil { - invalidParams.Add(request.NewErrParamRequired("InstanceId")) - } - if s.InstanceId != nil && len(*s.InstanceId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) +func (s *ParticipantDetails) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ParticipantDetails"} + if s.DisplayName == nil { + invalidParams.Add(request.NewErrParamRequired("DisplayName")) } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + if s.DisplayName != nil && len(*s.DisplayName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1)) } if invalidParams.Len() > 0 { return invalidParams } return nil -} - -// SetInstanceId sets the InstanceId field's value. -func (s *ListUserHierarchyGroupsInput) SetInstanceId(v string) *ListUserHierarchyGroupsInput { - s.InstanceId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListUserHierarchyGroupsInput) SetMaxResults(v int64) *ListUserHierarchyGroupsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListUserHierarchyGroupsInput) SetNextToken(v string) *ListUserHierarchyGroupsInput { - s.NextToken = &v +} + +// SetDisplayName sets the DisplayName field's value. +func (s *ParticipantDetails) SetDisplayName(v string) *ParticipantDetails { + s.DisplayName = &v return s } -type ListUserHierarchyGroupsOutput struct { +// Contains information about a phone number for a quick connect. +type PhoneNumberQuickConnectConfig struct { _ struct{} `type:"structure"` - // If there are additional results, this is the token for the next set of results. - NextToken *string `type:"string"` - - // Information about the hierarchy groups. - UserHierarchyGroupSummaryList []*HierarchyGroupSummary `type:"list"` + // The phone number in E.164 format. + // + // PhoneNumber is a required field + PhoneNumber *string `type:"string" required:"true"` } // String returns the string representation -func (s ListUserHierarchyGroupsOutput) String() string { +func (s PhoneNumberQuickConnectConfig) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListUserHierarchyGroupsOutput) GoString() string { +func (s PhoneNumberQuickConnectConfig) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListUserHierarchyGroupsOutput) SetNextToken(v string) *ListUserHierarchyGroupsOutput { - s.NextToken = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *PhoneNumberQuickConnectConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PhoneNumberQuickConnectConfig"} + if s.PhoneNumber == nil { + invalidParams.Add(request.NewErrParamRequired("PhoneNumber")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetUserHierarchyGroupSummaryList sets the UserHierarchyGroupSummaryList field's value. -func (s *ListUserHierarchyGroupsOutput) SetUserHierarchyGroupSummaryList(v []*HierarchyGroupSummary) *ListUserHierarchyGroupsOutput { - s.UserHierarchyGroupSummaryList = v +// SetPhoneNumber sets the PhoneNumber field's value. +func (s *PhoneNumberQuickConnectConfig) SetPhoneNumber(v string) *PhoneNumberQuickConnectConfig { + s.PhoneNumber = &v return s } -type ListUsersInput struct { +// Contains summary information about a phone number for a contact center. +type PhoneNumberSummary struct { _ struct{} `type:"structure"` - // The identifier of the Amazon Connect instance. - // - // InstanceId is a required field - InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` + // The Amazon Resource Name (ARN) of the phone number. + Arn *string `type:"string"` - // The maximimum number of results to return per page. - MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + // The identifier of the phone number. + Id *string `type:"string"` - // 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. - NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + // The phone number. + PhoneNumber *string `type:"string"` + + // The ISO country code. + PhoneNumberCountryCode *string `type:"string" enum:"PhoneNumberCountryCode"` + + // The type of phone number. + PhoneNumberType *string `type:"string" enum:"PhoneNumberType"` } // String returns the string representation -func (s ListUsersInput) String() string { +func (s PhoneNumberSummary) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListUsersInput) GoString() string { +func (s PhoneNumberSummary) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *ListUsersInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListUsersInput"} - if s.InstanceId == nil { - invalidParams.Add(request.NewErrParamRequired("InstanceId")) - } - if s.InstanceId != nil && len(*s.InstanceId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) - } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } +// SetArn sets the Arn field's value. +func (s *PhoneNumberSummary) SetArn(v string) *PhoneNumberSummary { + s.Arn = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetId sets the Id field's value. +func (s *PhoneNumberSummary) SetId(v string) *PhoneNumberSummary { + s.Id = &v + return s } -// SetInstanceId sets the InstanceId field's value. -func (s *ListUsersInput) SetInstanceId(v string) *ListUsersInput { - s.InstanceId = &v +// SetPhoneNumber sets the PhoneNumber field's value. +func (s *PhoneNumberSummary) SetPhoneNumber(v string) *PhoneNumberSummary { + s.PhoneNumber = &v return s } -// SetMaxResults sets the MaxResults field's value. -func (s *ListUsersInput) SetMaxResults(v int64) *ListUsersInput { - s.MaxResults = &v +// SetPhoneNumberCountryCode sets the PhoneNumberCountryCode field's value. +func (s *PhoneNumberSummary) SetPhoneNumberCountryCode(v string) *PhoneNumberSummary { + s.PhoneNumberCountryCode = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListUsersInput) SetNextToken(v string) *ListUsersInput { - s.NextToken = &v +// SetPhoneNumberType sets the PhoneNumberType field's value. +func (s *PhoneNumberSummary) SetPhoneNumberType(v string) *PhoneNumberSummary { + s.PhoneNumberType = &v return s } -type ListUsersOutput struct { +// Information about a problem detail. +type ProblemDetail struct { _ struct{} `type:"structure"` - // If there are additional results, this is the token for the next set of results. - NextToken *string `type:"string"` - - // Information about the users. - UserSummaryList []*UserSummary `type:"list"` + // The problem detail's message. + Message *string `locationName:"message" min:"1" type:"string"` } // String returns the string representation -func (s ListUsersOutput) String() string { +func (s ProblemDetail) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListUsersOutput) GoString() string { +func (s ProblemDetail) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListUsersOutput) SetNextToken(v string) *ListUsersOutput { - s.NextToken = &v - return s -} - -// SetUserSummaryList sets the UserSummaryList field's value. -func (s *ListUsersOutput) SetUserSummaryList(v []*UserSummary) *ListUsersOutput { - s.UserSummaryList = v +// SetMessage sets the Message field's value. +func (s *ProblemDetail) SetMessage(v string) *ProblemDetail { + s.Message = &v return s } -// Contains information about which channels are supported, and how many contacts -// an agent can have on a channel simultaneously. -type MediaConcurrency struct { +// Contains information about the prompt. +type PromptSummary struct { _ struct{} `type:"structure"` - // The channels that agents can handle in the Contact Control Panel (CCP). - // - // Channel is a required field - Channel *string `type:"string" required:"true" enum:"Channel"` + // The Amazon Resource Name (ARN) of the prompt. + Arn *string `type:"string"` - // The number of contacts an agent can have on a channel simultaneously. - // - // Concurrency is a required field - Concurrency *int64 `min:"1" type:"integer" required:"true"` + // The identifier of the prompt. + Id *string `min:"1" type:"string"` + + // The name of the prompt. + Name *string `min:"1" type:"string"` } // String returns the string representation -func (s MediaConcurrency) String() string { +func (s PromptSummary) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s MediaConcurrency) GoString() string { +func (s PromptSummary) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *MediaConcurrency) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "MediaConcurrency"} - if s.Channel == nil { - invalidParams.Add(request.NewErrParamRequired("Channel")) - } - if s.Concurrency == nil { - invalidParams.Add(request.NewErrParamRequired("Concurrency")) - } - if s.Concurrency != nil && *s.Concurrency < 1 { - invalidParams.Add(request.NewErrParamMinValue("Concurrency", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetArn sets the Arn field's value. +func (s *PromptSummary) SetArn(v string) *PromptSummary { + s.Arn = &v + return s } -// SetChannel sets the Channel field's value. -func (s *MediaConcurrency) SetChannel(v string) *MediaConcurrency { - s.Channel = &v +// SetId sets the Id field's value. +func (s *PromptSummary) SetId(v string) *PromptSummary { + s.Id = &v return s } -// SetConcurrency sets the Concurrency field's value. -func (s *MediaConcurrency) SetConcurrency(v int64) *MediaConcurrency { - s.Concurrency = &v +// SetName sets the Name field's value. +func (s *PromptSummary) SetName(v string) *PromptSummary { + s.Name = &v return s } -// The contact is not permitted. -type OutboundContactNotPermittedException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// Contains information about a queue. +type Queue struct { + _ struct{} `type:"structure"` - // The message. - Message_ *string `locationName:"Message" type:"string"` + // The description of the queue. + Description *string `min:"1" type:"string"` + + // The identifier for the hours of operation. + HoursOfOperationId *string `type:"string"` + + // The maximum number of contacts that can be in the queue before it is considered + // full. + MaxContacts *int64 `type:"integer"` + + // The name of the queue. + Name *string `min:"1" type:"string"` + + // The outbound caller ID name, number, and outbound whisper flow. + OutboundCallerConfig *OutboundCallerConfig `type:"structure"` + + // The Amazon Resource Name (ARN) for the queue. + QueueArn *string `type:"string"` + + // The identifier for the queue. + QueueId *string `type:"string"` + + // The status of the queue. + Status *string `type:"string" enum:"QueueStatus"` + + // One or more tags. + Tags map[string]*string `min:"1" type:"map"` } // String returns the string representation -func (s OutboundContactNotPermittedException) String() string { +func (s Queue) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s OutboundContactNotPermittedException) GoString() string { +func (s Queue) GoString() string { return s.String() } -func newErrorOutboundContactNotPermittedException(v protocol.ResponseMetadata) error { - return &OutboundContactNotPermittedException{ - RespMetadata: v, - } +// SetDescription sets the Description field's value. +func (s *Queue) SetDescription(v string) *Queue { + s.Description = &v + return s } -// Code returns the exception type name. -func (s *OutboundContactNotPermittedException) Code() string { - return "OutboundContactNotPermittedException" +// SetHoursOfOperationId sets the HoursOfOperationId field's value. +func (s *Queue) SetHoursOfOperationId(v string) *Queue { + s.HoursOfOperationId = &v + return s } -// Message returns the exception's message. -func (s *OutboundContactNotPermittedException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetMaxContacts sets the MaxContacts field's value. +func (s *Queue) SetMaxContacts(v int64) *Queue { + s.MaxContacts = &v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *OutboundContactNotPermittedException) OrigErr() error { - return nil +// SetName sets the Name field's value. +func (s *Queue) SetName(v string) *Queue { + s.Name = &v + return s } -func (s *OutboundContactNotPermittedException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +// SetOutboundCallerConfig sets the OutboundCallerConfig field's value. +func (s *Queue) SetOutboundCallerConfig(v *OutboundCallerConfig) *Queue { + s.OutboundCallerConfig = v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *OutboundContactNotPermittedException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetQueueArn sets the QueueArn field's value. +func (s *Queue) SetQueueArn(v string) *Queue { + s.QueueArn = &v + return s +} + +// SetQueueId sets the QueueId field's value. +func (s *Queue) SetQueueId(v string) *Queue { + s.QueueId = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *OutboundContactNotPermittedException) RequestID() string { - return s.RespMetadata.RequestID +// SetStatus sets the Status field's value. +func (s *Queue) SetStatus(v string) *Queue { + s.Status = &v + return s } -// The customer's details. -type ParticipantDetails struct { +// SetTags sets the Tags field's value. +func (s *Queue) SetTags(v map[string]*string) *Queue { + s.Tags = v + return s +} + +// Contains information about a queue for a quick connect. The contact flow +// must be of type Transfer to Queue. +type QueueQuickConnectConfig struct { _ struct{} `type:"structure"` - // Display name of the participant. + // The identifier of the contact flow. // - // DisplayName is a required field - DisplayName *string `min:"1" type:"string" required:"true"` + // ContactFlowId is a required field + ContactFlowId *string `type:"string" required:"true"` + + // The identifier for the queue. + // + // QueueId is a required field + QueueId *string `type:"string" required:"true"` } // String returns the string representation -func (s ParticipantDetails) String() string { +func (s QueueQuickConnectConfig) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ParticipantDetails) GoString() string { +func (s QueueQuickConnectConfig) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ParticipantDetails) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ParticipantDetails"} - if s.DisplayName == nil { - invalidParams.Add(request.NewErrParamRequired("DisplayName")) +func (s *QueueQuickConnectConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "QueueQuickConnectConfig"} + if s.ContactFlowId == nil { + invalidParams.Add(request.NewErrParamRequired("ContactFlowId")) } - if s.DisplayName != nil && len(*s.DisplayName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1)) + if s.QueueId == nil { + invalidParams.Add(request.NewErrParamRequired("QueueId")) } if invalidParams.Len() > 0 { @@ -18026,211 +20264,341 @@ func (s *ParticipantDetails) Validate() error { return nil } -// SetDisplayName sets the DisplayName field's value. -func (s *ParticipantDetails) SetDisplayName(v string) *ParticipantDetails { - s.DisplayName = &v +// SetContactFlowId sets the ContactFlowId field's value. +func (s *QueueQuickConnectConfig) SetContactFlowId(v string) *QueueQuickConnectConfig { + s.ContactFlowId = &v return s } -// Contains information about a phone number for a quick connect. -type PhoneNumberQuickConnectConfig struct { +// SetQueueId sets the QueueId field's value. +func (s *QueueQuickConnectConfig) SetQueueId(v string) *QueueQuickConnectConfig { + s.QueueId = &v + return s +} + +// Contains information about a queue resource for which metrics are returned. +type QueueReference struct { _ struct{} `type:"structure"` - // The phone number in E.164 format. - // - // PhoneNumber is a required field - PhoneNumber *string `type:"string" required:"true"` + // The Amazon Resource Name (ARN) of the queue. + Arn *string `type:"string"` + + // The identifier of the queue. + Id *string `type:"string"` } // String returns the string representation -func (s PhoneNumberQuickConnectConfig) String() string { +func (s QueueReference) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s PhoneNumberQuickConnectConfig) GoString() string { +func (s QueueReference) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *PhoneNumberQuickConnectConfig) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "PhoneNumberQuickConnectConfig"} - if s.PhoneNumber == nil { - invalidParams.Add(request.NewErrParamRequired("PhoneNumber")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetArn sets the Arn field's value. +func (s *QueueReference) SetArn(v string) *QueueReference { + s.Arn = &v + return s } -// SetPhoneNumber sets the PhoneNumber field's value. -func (s *PhoneNumberQuickConnectConfig) SetPhoneNumber(v string) *PhoneNumberQuickConnectConfig { - s.PhoneNumber = &v +// SetId sets the Id field's value. +func (s *QueueReference) SetId(v string) *QueueReference { + s.Id = &v return s } -// Contains summary information about a phone number for a contact center. -type PhoneNumberSummary struct { +// Contains summary information about a queue. +type QueueSummary struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the phone number. + // The Amazon Resource Name (ARN) of the queue. Arn *string `type:"string"` - // The identifier of the phone number. + // The identifier of the queue. Id *string `type:"string"` - // The phone number. - PhoneNumber *string `type:"string"` - - // The ISO country code. - PhoneNumberCountryCode *string `type:"string" enum:"PhoneNumberCountryCode"` + // The name of the queue. + Name *string `min:"1" type:"string"` - // The type of phone number. - PhoneNumberType *string `type:"string" enum:"PhoneNumberType"` + // The type of queue. + QueueType *string `type:"string" enum:"QueueType"` } // String returns the string representation -func (s PhoneNumberSummary) String() string { +func (s QueueSummary) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s PhoneNumberSummary) GoString() string { +func (s QueueSummary) GoString() string { return s.String() } // SetArn sets the Arn field's value. -func (s *PhoneNumberSummary) SetArn(v string) *PhoneNumberSummary { +func (s *QueueSummary) SetArn(v string) *QueueSummary { s.Arn = &v return s } // SetId sets the Id field's value. -func (s *PhoneNumberSummary) SetId(v string) *PhoneNumberSummary { +func (s *QueueSummary) SetId(v string) *QueueSummary { s.Id = &v return s } -// SetPhoneNumber sets the PhoneNumber field's value. -func (s *PhoneNumberSummary) SetPhoneNumber(v string) *PhoneNumberSummary { - s.PhoneNumber = &v +// SetName sets the Name field's value. +func (s *QueueSummary) SetName(v string) *QueueSummary { + s.Name = &v return s } -// SetPhoneNumberCountryCode sets the PhoneNumberCountryCode field's value. -func (s *PhoneNumberSummary) SetPhoneNumberCountryCode(v string) *PhoneNumberSummary { - s.PhoneNumberCountryCode = &v +// SetQueueType sets the QueueType field's value. +func (s *QueueSummary) SetQueueType(v string) *QueueSummary { + s.QueueType = &v return s } -// SetPhoneNumberType sets the PhoneNumberType field's value. -func (s *PhoneNumberSummary) SetPhoneNumberType(v string) *PhoneNumberSummary { - s.PhoneNumberType = &v +// Contains information about a quick connect. +type QuickConnect struct { + _ struct{} `type:"structure"` + + // The description. + Description *string `type:"string"` + + // The name of the quick connect. + Name *string `min:"1" type:"string"` + + // The Amazon Resource Name (ARN) of the quick connect. + QuickConnectARN *string `type:"string"` + + // Contains information about the quick connect. + QuickConnectConfig *QuickConnectConfig `type:"structure"` + + // The identifier for the quick connect. + QuickConnectId *string `type:"string"` + + // One or more tags. + Tags map[string]*string `min:"1" type:"map"` +} + +// String returns the string representation +func (s QuickConnect) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s QuickConnect) GoString() string { + return s.String() +} + +// SetDescription sets the Description field's value. +func (s *QuickConnect) SetDescription(v string) *QuickConnect { + s.Description = &v + return s +} + +// SetName sets the Name field's value. +func (s *QuickConnect) SetName(v string) *QuickConnect { + s.Name = &v + return s +} + +// SetQuickConnectARN sets the QuickConnectARN field's value. +func (s *QuickConnect) SetQuickConnectARN(v string) *QuickConnect { + s.QuickConnectARN = &v + return s +} + +// SetQuickConnectConfig sets the QuickConnectConfig field's value. +func (s *QuickConnect) SetQuickConnectConfig(v *QuickConnectConfig) *QuickConnect { + s.QuickConnectConfig = v + return s +} + +// SetQuickConnectId sets the QuickConnectId field's value. +func (s *QuickConnect) SetQuickConnectId(v string) *QuickConnect { + s.QuickConnectId = &v return s } -// Information about a problem detail. -type ProblemDetail struct { - _ struct{} `type:"structure"` - - // The problem detail's message. - Message *string `locationName:"message" min:"1" type:"string"` +// SetTags sets the Tags field's value. +func (s *QuickConnect) SetTags(v map[string]*string) *QuickConnect { + s.Tags = v + return s +} + +// Contains configuration settings for a quick connect. +type QuickConnectConfig struct { + _ struct{} `type:"structure"` + + // The phone configuration. This is required only if QuickConnectType is PHONE_NUMBER. + PhoneConfig *PhoneNumberQuickConnectConfig `type:"structure"` + + // The queue configuration. This is required only if QuickConnectType is QUEUE. + QueueConfig *QueueQuickConnectConfig `type:"structure"` + + // The type of quick connect. In the Amazon Connect console, when you create + // a quick connect, you are prompted to assign one of the following types: Agent + // (USER), External (PHONE_NUMBER), or Queue (QUEUE). + // + // QuickConnectType is a required field + QuickConnectType *string `type:"string" required:"true" enum:"QuickConnectType"` + + // The user configuration. This is required only if QuickConnectType is USER. + UserConfig *UserQuickConnectConfig `type:"structure"` +} + +// String returns the string representation +func (s QuickConnectConfig) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s QuickConnectConfig) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *QuickConnectConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "QuickConnectConfig"} + if s.QuickConnectType == nil { + invalidParams.Add(request.NewErrParamRequired("QuickConnectType")) + } + if s.PhoneConfig != nil { + if err := s.PhoneConfig.Validate(); err != nil { + invalidParams.AddNested("PhoneConfig", err.(request.ErrInvalidParams)) + } + } + if s.QueueConfig != nil { + if err := s.QueueConfig.Validate(); err != nil { + invalidParams.AddNested("QueueConfig", err.(request.ErrInvalidParams)) + } + } + if s.UserConfig != nil { + if err := s.UserConfig.Validate(); err != nil { + invalidParams.AddNested("UserConfig", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPhoneConfig sets the PhoneConfig field's value. +func (s *QuickConnectConfig) SetPhoneConfig(v *PhoneNumberQuickConnectConfig) *QuickConnectConfig { + s.PhoneConfig = v + return s } -// String returns the string representation -func (s ProblemDetail) String() string { - return awsutil.Prettify(s) +// SetQueueConfig sets the QueueConfig field's value. +func (s *QuickConnectConfig) SetQueueConfig(v *QueueQuickConnectConfig) *QuickConnectConfig { + s.QueueConfig = v + return s } -// GoString returns the string representation -func (s ProblemDetail) GoString() string { - return s.String() +// SetQuickConnectType sets the QuickConnectType field's value. +func (s *QuickConnectConfig) SetQuickConnectType(v string) *QuickConnectConfig { + s.QuickConnectType = &v + return s } -// SetMessage sets the Message field's value. -func (s *ProblemDetail) SetMessage(v string) *ProblemDetail { - s.Message = &v +// SetUserConfig sets the UserConfig field's value. +func (s *QuickConnectConfig) SetUserConfig(v *UserQuickConnectConfig) *QuickConnectConfig { + s.UserConfig = v return s } -// Contains information about the prompt. -type PromptSummary struct { +// Contains summary information about a quick connect. +type QuickConnectSummary struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the prompt. + // The Amazon Resource Name (ARN) of the quick connect. Arn *string `type:"string"` - // The identifier of the prompt. - Id *string `min:"1" type:"string"` + // The identifier for the quick connect. + Id *string `type:"string"` - // The name of the prompt. + // The name of the quick connect. Name *string `min:"1" type:"string"` + + // The type of quick connect. In the Amazon Connect console, when you create + // a quick connect, you are prompted to assign one of the following types: Agent + // (USER), External (PHONE_NUMBER), or Queue (QUEUE). + QuickConnectType *string `type:"string" enum:"QuickConnectType"` } // String returns the string representation -func (s PromptSummary) String() string { +func (s QuickConnectSummary) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s PromptSummary) GoString() string { +func (s QuickConnectSummary) GoString() string { return s.String() } // SetArn sets the Arn field's value. -func (s *PromptSummary) SetArn(v string) *PromptSummary { +func (s *QuickConnectSummary) SetArn(v string) *QuickConnectSummary { s.Arn = &v return s } // SetId sets the Id field's value. -func (s *PromptSummary) SetId(v string) *PromptSummary { +func (s *QuickConnectSummary) SetId(v string) *QuickConnectSummary { s.Id = &v return s } // SetName sets the Name field's value. -func (s *PromptSummary) SetName(v string) *PromptSummary { +func (s *QuickConnectSummary) SetName(v string) *QuickConnectSummary { s.Name = &v return s } -// Contains information about a queue for a quick connect. The contact flow -// must be of type Transfer to Queue. -type QueueQuickConnectConfig struct { +// SetQuickConnectType sets the QuickConnectType field's value. +func (s *QuickConnectSummary) SetQuickConnectType(v string) *QuickConnectSummary { + s.QuickConnectType = &v + return s +} + +// A link that an agent selects to complete a given task. You can have up to +// 4,096 UTF-8 bytes across all references for a contact. +type Reference struct { _ struct{} `type:"structure"` - // The identifier of the contact flow. + // A valid URL. // - // ContactFlowId is a required field - ContactFlowId *string `type:"string" required:"true"` + // Type is a required field + Type *string `type:"string" required:"true" enum:"ReferenceType"` - // The identifier of the queue. + // A formatted URL that displays to an agent in the Contact Control Panel (CCP) // - // QueueId is a required field - QueueId *string `type:"string" required:"true"` + // Value is a required field + Value *string `type:"string" required:"true"` } // String returns the string representation -func (s QueueQuickConnectConfig) String() string { +func (s Reference) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s QueueQuickConnectConfig) GoString() string { +func (s Reference) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *QueueQuickConnectConfig) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "QueueQuickConnectConfig"} - if s.ContactFlowId == nil { - invalidParams.Add(request.NewErrParamRequired("ContactFlowId")) +func (s *Reference) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Reference"} + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) } - if s.QueueId == nil { - invalidParams.Add(request.NewErrParamRequired("QueueId")) + if s.Value == nil { + invalidParams.Add(request.NewErrParamRequired("Value")) } if invalidParams.Len() > 0 { @@ -18239,222 +20607,243 @@ func (s *QueueQuickConnectConfig) Validate() error { return nil } -// SetContactFlowId sets the ContactFlowId field's value. -func (s *QueueQuickConnectConfig) SetContactFlowId(v string) *QueueQuickConnectConfig { - s.ContactFlowId = &v +// SetType sets the Type field's value. +func (s *Reference) SetType(v string) *Reference { + s.Type = &v return s } -// SetQueueId sets the QueueId field's value. -func (s *QueueQuickConnectConfig) SetQueueId(v string) *QueueQuickConnectConfig { - s.QueueId = &v +// SetValue sets the Value field's value. +func (s *Reference) SetValue(v string) *Reference { + s.Value = &v return s } -// Contains information about a queue resource for which metrics are returned. -type QueueReference struct { - _ struct{} `type:"structure"` - - // The Amazon Resource Name (ARN) of the queue. - Arn *string `type:"string"` +// A resource already has that name. +type ResourceConflictException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // The identifier of the queue. - Id *string `type:"string"` + Message_ *string `locationName:"Message" type:"string"` } // String returns the string representation -func (s QueueReference) String() string { +func (s ResourceConflictException) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s QueueReference) GoString() string { +func (s ResourceConflictException) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *QueueReference) SetArn(v string) *QueueReference { - s.Arn = &v - return s +func newErrorResourceConflictException(v protocol.ResponseMetadata) error { + return &ResourceConflictException{ + RespMetadata: v, + } } -// SetId sets the Id field's value. -func (s *QueueReference) SetId(v string) *QueueReference { - s.Id = &v - return s +// Code returns the exception type name. +func (s *ResourceConflictException) Code() string { + return "ResourceConflictException" } -// Contains summary information about a queue. -type QueueSummary struct { - _ struct{} `type:"structure"` +// Message returns the exception's message. +func (s *ResourceConflictException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} - // The Amazon Resource Name (ARN) of the queue. - Arn *string `type:"string"` +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ResourceConflictException) OrigErr() error { + return nil +} - // The identifier of the queue. - Id *string `type:"string"` +func (s *ResourceConflictException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} - // The name of the queue. - Name *string `min:"1" type:"string"` +// Status code returns the HTTP status code for the request's response error. +func (s *ResourceConflictException) StatusCode() int { + return s.RespMetadata.StatusCode +} - // The type of queue. - QueueType *string `type:"string" enum:"QueueType"` +// RequestID returns the service's response RequestID for request. +func (s *ResourceConflictException) RequestID() string { + return s.RespMetadata.RequestID +} + +// That resource is already in use. Please try another. +type ResourceInUseException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` + + // The identifier for the resource. + ResourceId *string `type:"string"` + + // The type of resource. + ResourceType *string `type:"string" enum:"ResourceType"` } // String returns the string representation -func (s QueueSummary) String() string { +func (s ResourceInUseException) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s QueueSummary) GoString() string { +func (s ResourceInUseException) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *QueueSummary) SetArn(v string) *QueueSummary { - s.Arn = &v - return s +func newErrorResourceInUseException(v protocol.ResponseMetadata) error { + return &ResourceInUseException{ + RespMetadata: v, + } } -// SetId sets the Id field's value. -func (s *QueueSummary) SetId(v string) *QueueSummary { - s.Id = &v - return s +// Code returns the exception type name. +func (s *ResourceInUseException) Code() string { + return "ResourceInUseException" } -// SetName sets the Name field's value. -func (s *QueueSummary) SetName(v string) *QueueSummary { - s.Name = &v - return s +// Message returns the exception's message. +func (s *ResourceInUseException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" } -// SetQueueType sets the QueueType field's value. -func (s *QueueSummary) SetQueueType(v string) *QueueSummary { - s.QueueType = &v - return s +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ResourceInUseException) OrigErr() error { + return nil } -// Contains information about a quick connect. -type QuickConnect struct { - _ struct{} `type:"structure"` - - // The description. - Description *string `type:"string"` - - // The name of the quick connect. - Name *string `min:"1" type:"string"` +func (s *ResourceInUseException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} - // The Amazon Resource Name (ARN) of the quick connect. - QuickConnectARN *string `type:"string"` +// Status code returns the HTTP status code for the request's response error. +func (s *ResourceInUseException) StatusCode() int { + return s.RespMetadata.StatusCode +} - // Contains information about the quick connect. - QuickConnectConfig *QuickConnectConfig `type:"structure"` +// RequestID returns the service's response RequestID for request. +func (s *ResourceInUseException) RequestID() string { + return s.RespMetadata.RequestID +} - // The identifier for the quick connect. - QuickConnectId *string `type:"string"` +// The specified resource was not found. +type ResourceNotFoundException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // One or more tags. - Tags map[string]*string `min:"1" type:"map"` + // The message about the resource. + Message_ *string `locationName:"Message" type:"string"` } // String returns the string representation -func (s QuickConnect) String() string { +func (s ResourceNotFoundException) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s QuickConnect) GoString() string { +func (s ResourceNotFoundException) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *QuickConnect) SetDescription(v string) *QuickConnect { - s.Description = &v - return s +func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error { + return &ResourceNotFoundException{ + RespMetadata: v, + } } -// SetName sets the Name field's value. -func (s *QuickConnect) SetName(v string) *QuickConnect { - s.Name = &v - return s +// Code returns the exception type name. +func (s *ResourceNotFoundException) Code() string { + return "ResourceNotFoundException" } -// SetQuickConnectARN sets the QuickConnectARN field's value. -func (s *QuickConnect) SetQuickConnectARN(v string) *QuickConnect { - s.QuickConnectARN = &v - return s +// Message returns the exception's message. +func (s *ResourceNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" } -// SetQuickConnectConfig sets the QuickConnectConfig field's value. -func (s *QuickConnect) SetQuickConnectConfig(v *QuickConnectConfig) *QuickConnect { - s.QuickConnectConfig = v - return s +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ResourceNotFoundException) OrigErr() error { + return nil } -// SetQuickConnectId sets the QuickConnectId field's value. -func (s *QuickConnect) SetQuickConnectId(v string) *QuickConnect { - s.QuickConnectId = &v - return s +func (s *ResourceNotFoundException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) } -// SetTags sets the Tags field's value. -func (s *QuickConnect) SetTags(v map[string]*string) *QuickConnect { - s.Tags = v - return s +// Status code returns the HTTP status code for the request's response error. +func (s *ResourceNotFoundException) StatusCode() int { + return s.RespMetadata.StatusCode } -// Contains configuration settings for a quick connect. -type QuickConnectConfig struct { - _ struct{} `type:"structure"` +// RequestID returns the service's response RequestID for request. +func (s *ResourceNotFoundException) RequestID() string { + return s.RespMetadata.RequestID +} - // The phone configuration. This is required only if QuickConnectType is PHONE_NUMBER. - PhoneConfig *PhoneNumberQuickConnectConfig `type:"structure"` +type ResumeContactRecordingInput struct { + _ struct{} `type:"structure"` - // The queue configuration. This is required only if QuickConnectType is QUEUE. - QueueConfig *QueueQuickConnectConfig `type:"structure"` + // The identifier of the contact. + // + // ContactId is a required field + ContactId *string `min:"1" type:"string" required:"true"` - // The type of quick connect. In the Amazon Connect console, when you create - // a quick connect, you are prompted to assign one of the following types: Agent - // (USER), External (PHONE_NUMBER), or Queue (QUEUE). + // The identifier of the contact. This is the identifier of the contact associated + // with the first interaction with the contact center. // - // QuickConnectType is a required field - QuickConnectType *string `type:"string" required:"true" enum:"QuickConnectType"` + // InitialContactId is a required field + InitialContactId *string `min:"1" type:"string" required:"true"` - // The user configuration. This is required only if QuickConnectType is USER. - UserConfig *UserQuickConnectConfig `type:"structure"` + // The identifier of the Amazon Connect instance. + // + // InstanceId is a required field + InstanceId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s QuickConnectConfig) String() string { +func (s ResumeContactRecordingInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s QuickConnectConfig) GoString() string { +func (s ResumeContactRecordingInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *QuickConnectConfig) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "QuickConnectConfig"} - if s.QuickConnectType == nil { - invalidParams.Add(request.NewErrParamRequired("QuickConnectType")) +func (s *ResumeContactRecordingInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ResumeContactRecordingInput"} + if s.ContactId == nil { + invalidParams.Add(request.NewErrParamRequired("ContactId")) } - if s.PhoneConfig != nil { - if err := s.PhoneConfig.Validate(); err != nil { - invalidParams.AddNested("PhoneConfig", err.(request.ErrInvalidParams)) - } + if s.ContactId != nil && len(*s.ContactId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContactId", 1)) } - if s.QueueConfig != nil { - if err := s.QueueConfig.Validate(); err != nil { - invalidParams.AddNested("QueueConfig", err.(request.ErrInvalidParams)) - } + if s.InitialContactId == nil { + invalidParams.Add(request.NewErrParamRequired("InitialContactId")) } - if s.UserConfig != nil { - if err := s.UserConfig.Validate(); err != nil { - invalidParams.AddNested("UserConfig", err.(request.ErrInvalidParams)) - } + if s.InitialContactId != nil && len(*s.InitialContactId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InitialContactId", 1)) + } + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) } if invalidParams.Len() > 0 { @@ -18463,118 +20852,180 @@ func (s *QuickConnectConfig) Validate() error { return nil } -// SetPhoneConfig sets the PhoneConfig field's value. -func (s *QuickConnectConfig) SetPhoneConfig(v *PhoneNumberQuickConnectConfig) *QuickConnectConfig { - s.PhoneConfig = v +// SetContactId sets the ContactId field's value. +func (s *ResumeContactRecordingInput) SetContactId(v string) *ResumeContactRecordingInput { + s.ContactId = &v return s } -// SetQueueConfig sets the QueueConfig field's value. -func (s *QuickConnectConfig) SetQueueConfig(v *QueueQuickConnectConfig) *QuickConnectConfig { - s.QueueConfig = v +// SetInitialContactId sets the InitialContactId field's value. +func (s *ResumeContactRecordingInput) SetInitialContactId(v string) *ResumeContactRecordingInput { + s.InitialContactId = &v return s } -// SetQuickConnectType sets the QuickConnectType field's value. -func (s *QuickConnectConfig) SetQuickConnectType(v string) *QuickConnectConfig { - s.QuickConnectType = &v +// SetInstanceId sets the InstanceId field's value. +func (s *ResumeContactRecordingInput) SetInstanceId(v string) *ResumeContactRecordingInput { + s.InstanceId = &v return s } -// SetUserConfig sets the UserConfig field's value. -func (s *QuickConnectConfig) SetUserConfig(v *UserQuickConnectConfig) *QuickConnectConfig { - s.UserConfig = v - return s +type ResumeContactRecordingOutput struct { + _ struct{} `type:"structure"` } -// Contains summary information about a quick connect. -type QuickConnectSummary struct { +// String returns the string representation +func (s ResumeContactRecordingOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ResumeContactRecordingOutput) GoString() string { + return s.String() +} + +// Contains information about a routing profile. +type RoutingProfile struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN). - Arn *string `type:"string"` + // The identifier of the default outbound queue for this routing profile. + DefaultOutboundQueueId *string `type:"string"` - // The identifier for the quick connect. - Id *string `type:"string"` + // The description of the routing profile. + Description *string `min:"1" type:"string"` + + // The identifier of the Amazon Connect instance. + InstanceId *string `min:"1" type:"string"` + + // The channels agents can handle in the Contact Control Panel (CCP) for this + // routing profile. + MediaConcurrencies []*MediaConcurrency `type:"list"` - // The name. + // The name of the routing profile. Name *string `min:"1" type:"string"` - // The type of quick connect. In the Amazon Connect console, when you create - // a quick connect, you are prompted to assign one of the following types: Agent - // (USER), External (PHONE_NUMBER), or Queue (QUEUE). - QuickConnectType *string `type:"string" enum:"QuickConnectType"` + // The Amazon Resource Name (ARN) of the routing profile. + RoutingProfileArn *string `type:"string"` + + // The identifier of the routing profile. + RoutingProfileId *string `type:"string"` + + // One or more tags. + Tags map[string]*string `min:"1" type:"map"` } // String returns the string representation -func (s QuickConnectSummary) String() string { +func (s RoutingProfile) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s QuickConnectSummary) GoString() string { +func (s RoutingProfile) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *QuickConnectSummary) SetArn(v string) *QuickConnectSummary { - s.Arn = &v +// SetDefaultOutboundQueueId sets the DefaultOutboundQueueId field's value. +func (s *RoutingProfile) SetDefaultOutboundQueueId(v string) *RoutingProfile { + s.DefaultOutboundQueueId = &v return s } -// SetId sets the Id field's value. -func (s *QuickConnectSummary) SetId(v string) *QuickConnectSummary { - s.Id = &v +// SetDescription sets the Description field's value. +func (s *RoutingProfile) SetDescription(v string) *RoutingProfile { + s.Description = &v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *RoutingProfile) SetInstanceId(v string) *RoutingProfile { + s.InstanceId = &v + return s +} + +// SetMediaConcurrencies sets the MediaConcurrencies field's value. +func (s *RoutingProfile) SetMediaConcurrencies(v []*MediaConcurrency) *RoutingProfile { + s.MediaConcurrencies = v return s } // SetName sets the Name field's value. -func (s *QuickConnectSummary) SetName(v string) *QuickConnectSummary { +func (s *RoutingProfile) SetName(v string) *RoutingProfile { s.Name = &v return s } -// SetQuickConnectType sets the QuickConnectType field's value. -func (s *QuickConnectSummary) SetQuickConnectType(v string) *QuickConnectSummary { - s.QuickConnectType = &v +// SetRoutingProfileArn sets the RoutingProfileArn field's value. +func (s *RoutingProfile) SetRoutingProfileArn(v string) *RoutingProfile { + s.RoutingProfileArn = &v return s } -// A link that an agent selects to complete a given task. You can have up to -// 4,096 UTF-8 bytes across all references for a contact. -type Reference struct { +// SetRoutingProfileId sets the RoutingProfileId field's value. +func (s *RoutingProfile) SetRoutingProfileId(v string) *RoutingProfile { + s.RoutingProfileId = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *RoutingProfile) SetTags(v map[string]*string) *RoutingProfile { + s.Tags = v + return s +} + +// Contains information about the queue and channel for which priority and delay +// can be set. +type RoutingProfileQueueConfig struct { _ struct{} `type:"structure"` - // A valid URL. + // The delay, in seconds, a contact should be in the queue before they are routed + // to an available agent. For more information, see Queues: priority and delay + // (https://docs.aws.amazon.com/connect/latest/adminguide/concepts-routing-profiles-priority.html) + // in the Amazon Connect Administrator Guide. // - // Type is a required field - Type *string `type:"string" required:"true" enum:"ReferenceType"` + // Delay is a required field + Delay *int64 `type:"integer" required:"true"` - // A formatted URL that will be shown to an agent in the Contact Control Panel - // (CCP) + // The order in which contacts are to be handled for the queue. For more information, + // see Queues: priority and delay (https://docs.aws.amazon.com/connect/latest/adminguide/concepts-routing-profiles-priority.html). // - // Value is a required field - Value *string `type:"string" required:"true"` + // Priority is a required field + Priority *int64 `min:"1" type:"integer" required:"true"` + + // Contains information about a queue resource. + // + // QueueReference is a required field + QueueReference *RoutingProfileQueueReference `type:"structure" required:"true"` } // String returns the string representation -func (s Reference) String() string { +func (s RoutingProfileQueueConfig) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s Reference) GoString() string { +func (s RoutingProfileQueueConfig) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *Reference) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "Reference"} - if s.Type == nil { - invalidParams.Add(request.NewErrParamRequired("Type")) +func (s *RoutingProfileQueueConfig) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RoutingProfileQueueConfig"} + if s.Delay == nil { + invalidParams.Add(request.NewErrParamRequired("Delay")) } - if s.Value == nil { - invalidParams.Add(request.NewErrParamRequired("Value")) + if s.Priority == nil { + invalidParams.Add(request.NewErrParamRequired("Priority")) + } + if s.Priority != nil && *s.Priority < 1 { + invalidParams.Add(request.NewErrParamMinValue("Priority", 1)) + } + if s.QueueReference == nil { + invalidParams.Add(request.NewErrParamRequired("QueueReference")) + } + if s.QueueReference != nil { + if err := s.QueueReference.Validate(); err != nil { + invalidParams.AddNested("QueueReference", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -18583,243 +21034,252 @@ func (s *Reference) Validate() error { return nil } -// SetType sets the Type field's value. -func (s *Reference) SetType(v string) *Reference { - s.Type = &v +// SetDelay sets the Delay field's value. +func (s *RoutingProfileQueueConfig) SetDelay(v int64) *RoutingProfileQueueConfig { + s.Delay = &v return s } -// SetValue sets the Value field's value. -func (s *Reference) SetValue(v string) *Reference { - s.Value = &v +// SetPriority sets the Priority field's value. +func (s *RoutingProfileQueueConfig) SetPriority(v int64) *RoutingProfileQueueConfig { + s.Priority = &v return s } -// A resource already has that name. -type ResourceConflictException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// SetQueueReference sets the QueueReference field's value. +func (s *RoutingProfileQueueConfig) SetQueueReference(v *RoutingProfileQueueReference) *RoutingProfileQueueConfig { + s.QueueReference = v + return s +} - Message_ *string `locationName:"Message" type:"string"` +// Contains summary information about a routing profile queue. +type RoutingProfileQueueConfigSummary struct { + _ struct{} `type:"structure"` + + // The channels this queue supports. + // + // Channel is a required field + Channel *string `type:"string" required:"true" enum:"Channel"` + + // The delay, in seconds, that a contact should be in the queue before they + // are routed to an available agent. For more information, see Queues: priority + // and delay (https://docs.aws.amazon.com/connect/latest/adminguide/concepts-routing-profiles-priority.html) + // in the Amazon Connect Administrator Guide. + // + // Delay is a required field + Delay *int64 `type:"integer" required:"true"` + + // The order in which contacts are to be handled for the queue. For more information, + // see Queues: priority and delay (https://docs.aws.amazon.com/connect/latest/adminguide/concepts-routing-profiles-priority.html). + // + // Priority is a required field + Priority *int64 `min:"1" type:"integer" required:"true"` + + // The Amazon Resource Name (ARN) of the queue. + // + // QueueArn is a required field + QueueArn *string `type:"string" required:"true"` + + // The identifier for the queue. + // + // QueueId is a required field + QueueId *string `type:"string" required:"true"` + + // The name of the queue. + // + // QueueName is a required field + QueueName *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s ResourceConflictException) String() string { +func (s RoutingProfileQueueConfigSummary) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ResourceConflictException) GoString() string { +func (s RoutingProfileQueueConfigSummary) GoString() string { return s.String() } -func newErrorResourceConflictException(v protocol.ResponseMetadata) error { - return &ResourceConflictException{ - RespMetadata: v, - } -} - -// Code returns the exception type name. -func (s *ResourceConflictException) Code() string { - return "ResourceConflictException" +// SetChannel sets the Channel field's value. +func (s *RoutingProfileQueueConfigSummary) SetChannel(v string) *RoutingProfileQueueConfigSummary { + s.Channel = &v + return s } -// Message returns the exception's message. -func (s *ResourceConflictException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetDelay sets the Delay field's value. +func (s *RoutingProfileQueueConfigSummary) SetDelay(v int64) *RoutingProfileQueueConfigSummary { + s.Delay = &v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ResourceConflictException) OrigErr() error { - return nil +// SetPriority sets the Priority field's value. +func (s *RoutingProfileQueueConfigSummary) SetPriority(v int64) *RoutingProfileQueueConfigSummary { + s.Priority = &v + return s } -func (s *ResourceConflictException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +// SetQueueArn sets the QueueArn field's value. +func (s *RoutingProfileQueueConfigSummary) SetQueueArn(v string) *RoutingProfileQueueConfigSummary { + s.QueueArn = &v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *ResourceConflictException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetQueueId sets the QueueId field's value. +func (s *RoutingProfileQueueConfigSummary) SetQueueId(v string) *RoutingProfileQueueConfigSummary { + s.QueueId = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *ResourceConflictException) RequestID() string { - return s.RespMetadata.RequestID +// SetQueueName sets the QueueName field's value. +func (s *RoutingProfileQueueConfigSummary) SetQueueName(v string) *RoutingProfileQueueConfigSummary { + s.QueueName = &v + return s } -// That resource is already in use. Please try another. -type ResourceInUseException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - - Message_ *string `locationName:"Message" type:"string"` +// Contains the channel and queue identifier for a routing profile. +type RoutingProfileQueueReference struct { + _ struct{} `type:"structure"` - // The identifier for the resource. - ResourceId *string `type:"string"` + // The channels agents can handle in the Contact Control Panel (CCP) for this + // routing profile. + // + // Channel is a required field + Channel *string `type:"string" required:"true" enum:"Channel"` - // The type of resource. - ResourceType *string `type:"string" enum:"ResourceType"` + // The identifier for the queue. + // + // QueueId is a required field + QueueId *string `type:"string" required:"true"` } // String returns the string representation -func (s ResourceInUseException) String() string { +func (s RoutingProfileQueueReference) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ResourceInUseException) GoString() string { +func (s RoutingProfileQueueReference) GoString() string { return s.String() } -func newErrorResourceInUseException(v protocol.ResponseMetadata) error { - return &ResourceInUseException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *RoutingProfileQueueReference) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RoutingProfileQueueReference"} + if s.Channel == nil { + invalidParams.Add(request.NewErrParamRequired("Channel")) } -} - -// Code returns the exception type name. -func (s *ResourceInUseException) Code() string { - return "ResourceInUseException" -} - -// Message returns the exception's message. -func (s *ResourceInUseException) Message() string { - if s.Message_ != nil { - return *s.Message_ + if s.QueueId == nil { + invalidParams.Add(request.NewErrParamRequired("QueueId")) } - return "" -} -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ResourceInUseException) OrigErr() error { + if invalidParams.Len() > 0 { + return invalidParams + } return nil } -func (s *ResourceInUseException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +// SetChannel sets the Channel field's value. +func (s *RoutingProfileQueueReference) SetChannel(v string) *RoutingProfileQueueReference { + s.Channel = &v + return s } -// Status code returns the HTTP status code for the request's response error. -func (s *ResourceInUseException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetQueueId sets the QueueId field's value. +func (s *RoutingProfileQueueReference) SetQueueId(v string) *RoutingProfileQueueReference { + s.QueueId = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *ResourceInUseException) RequestID() string { - return s.RespMetadata.RequestID -} +// Contains summary information about a routing profile. +type RoutingProfileSummary struct { + _ struct{} `type:"structure"` -// The specified resource was not found. -type ResourceNotFoundException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + // The Amazon Resource Name (ARN) of the routing profile. + Arn *string `type:"string"` - // The message. - Message_ *string `locationName:"Message" type:"string"` + // The identifier of the routing profile. + Id *string `type:"string"` + + // The name of the routing profile. + Name *string `min:"1" type:"string"` } // String returns the string representation -func (s ResourceNotFoundException) String() string { +func (s RoutingProfileSummary) String() string { return awsutil.Prettify(s) } -// GoString returns the string representation -func (s ResourceNotFoundException) GoString() string { - return s.String() -} - -func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error { - return &ResourceNotFoundException{ - RespMetadata: v, - } -} - -// Code returns the exception type name. -func (s *ResourceNotFoundException) Code() string { - return "ResourceNotFoundException" -} - -// Message returns the exception's message. -func (s *ResourceNotFoundException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" -} - -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ResourceNotFoundException) OrigErr() error { - return nil -} - -func (s *ResourceNotFoundException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +// GoString returns the string representation +func (s RoutingProfileSummary) GoString() string { + return s.String() } -// Status code returns the HTTP status code for the request's response error. -func (s *ResourceNotFoundException) StatusCode() int { - return s.RespMetadata.StatusCode +// SetArn sets the Arn field's value. +func (s *RoutingProfileSummary) SetArn(v string) *RoutingProfileSummary { + s.Arn = &v + return s } -// RequestID returns the service's response RequestID for request. -func (s *ResourceNotFoundException) RequestID() string { - return s.RespMetadata.RequestID +// SetId sets the Id field's value. +func (s *RoutingProfileSummary) SetId(v string) *RoutingProfileSummary { + s.Id = &v + return s } -type ResumeContactRecordingInput struct { +// SetName sets the Name field's value. +func (s *RoutingProfileSummary) SetName(v string) *RoutingProfileSummary { + s.Name = &v + return s +} + +// Information about the Amazon Simple Storage Service (Amazon S3) storage type. +type S3Config struct { _ struct{} `type:"structure"` - // The identifier of the contact. + // The S3 bucket name. // - // ContactId is a required field - ContactId *string `min:"1" type:"string" required:"true"` + // BucketName is a required field + BucketName *string `min:"1" type:"string" required:"true"` - // The identifier of the contact. This is the identifier of the contact associated - // with the first interaction with the contact center. + // The S3 bucket prefix. // - // InitialContactId is a required field - InitialContactId *string `min:"1" type:"string" required:"true"` + // BucketPrefix is a required field + BucketPrefix *string `min:"1" type:"string" required:"true"` - // The identifier of the Amazon Connect instance. - // - // InstanceId is a required field - InstanceId *string `min:"1" type:"string" required:"true"` + // The Amazon S3 encryption configuration. + EncryptionConfig *EncryptionConfig `type:"structure"` } // String returns the string representation -func (s ResumeContactRecordingInput) String() string { +func (s S3Config) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ResumeContactRecordingInput) GoString() string { +func (s S3Config) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ResumeContactRecordingInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ResumeContactRecordingInput"} - if s.ContactId == nil { - invalidParams.Add(request.NewErrParamRequired("ContactId")) - } - if s.ContactId != nil && len(*s.ContactId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ContactId", 1)) +func (s *S3Config) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "S3Config"} + if s.BucketName == nil { + invalidParams.Add(request.NewErrParamRequired("BucketName")) } - if s.InitialContactId == nil { - invalidParams.Add(request.NewErrParamRequired("InitialContactId")) + if s.BucketName != nil && len(*s.BucketName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("BucketName", 1)) } - if s.InitialContactId != nil && len(*s.InitialContactId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InitialContactId", 1)) + if s.BucketPrefix == nil { + invalidParams.Add(request.NewErrParamRequired("BucketPrefix")) } - if s.InstanceId == nil { - invalidParams.Add(request.NewErrParamRequired("InstanceId")) + if s.BucketPrefix != nil && len(*s.BucketPrefix) < 1 { + invalidParams.Add(request.NewErrParamMinLen("BucketPrefix", 1)) } - if s.InstanceId != nil && len(*s.InstanceId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + if s.EncryptionConfig != nil { + if err := s.EncryptionConfig.Validate(); err != nil { + invalidParams.AddNested("EncryptionConfig", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -18828,325 +21288,239 @@ func (s *ResumeContactRecordingInput) Validate() error { return nil } -// SetContactId sets the ContactId field's value. -func (s *ResumeContactRecordingInput) SetContactId(v string) *ResumeContactRecordingInput { - s.ContactId = &v +// SetBucketName sets the BucketName field's value. +func (s *S3Config) SetBucketName(v string) *S3Config { + s.BucketName = &v return s } -// SetInitialContactId sets the InitialContactId field's value. -func (s *ResumeContactRecordingInput) SetInitialContactId(v string) *ResumeContactRecordingInput { - s.InitialContactId = &v +// SetBucketPrefix sets the BucketPrefix field's value. +func (s *S3Config) SetBucketPrefix(v string) *S3Config { + s.BucketPrefix = &v return s } -// SetInstanceId sets the InstanceId field's value. -func (s *ResumeContactRecordingInput) SetInstanceId(v string) *ResumeContactRecordingInput { - s.InstanceId = &v +// SetEncryptionConfig sets the EncryptionConfig field's value. +func (s *S3Config) SetEncryptionConfig(v *EncryptionConfig) *S3Config { + s.EncryptionConfig = v return s } -type ResumeContactRecordingOutput struct { - _ struct{} `type:"structure"` -} - -// String returns the string representation -func (s ResumeContactRecordingOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ResumeContactRecordingOutput) GoString() string { - return s.String() -} - -// Contains information about a routing profile. -type RoutingProfile struct { +// Configuration information of the security key. +type SecurityKey struct { _ struct{} `type:"structure"` - // The identifier of the default outbound queue for this routing profile. - DefaultOutboundQueueId *string `type:"string"` - - // The description of the routing profile. - Description *string `min:"1" type:"string"` - - // The identifier of the Amazon Connect instance. - InstanceId *string `min:"1" type:"string"` - - // The channels agents can handle in the Contact Control Panel (CCP) for this - // routing profile. - MediaConcurrencies []*MediaConcurrency `type:"list"` - - // The name of the routing profile. - Name *string `min:"1" type:"string"` - - // The Amazon Resource Name (ARN) of the routing profile. - RoutingProfileArn *string `type:"string"` + // The existing association identifier that uniquely identifies the resource + // type and storage config for the given instance ID. + AssociationId *string `min:"1" type:"string"` - // The identifier of the routing profile. - RoutingProfileId *string `type:"string"` + // When the security key was created. + CreationTime *time.Time `type:"timestamp"` - // One or more tags. - Tags map[string]*string `min:"1" type:"map"` + // The key of the security key. + Key *string `min:"1" type:"string"` } // String returns the string representation -func (s RoutingProfile) String() string { +func (s SecurityKey) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s RoutingProfile) GoString() string { +func (s SecurityKey) GoString() string { return s.String() } -// SetDefaultOutboundQueueId sets the DefaultOutboundQueueId field's value. -func (s *RoutingProfile) SetDefaultOutboundQueueId(v string) *RoutingProfile { - s.DefaultOutboundQueueId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *RoutingProfile) SetDescription(v string) *RoutingProfile { - s.Description = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *RoutingProfile) SetInstanceId(v string) *RoutingProfile { - s.InstanceId = &v - return s -} - -// SetMediaConcurrencies sets the MediaConcurrencies field's value. -func (s *RoutingProfile) SetMediaConcurrencies(v []*MediaConcurrency) *RoutingProfile { - s.MediaConcurrencies = v - return s -} - -// SetName sets the Name field's value. -func (s *RoutingProfile) SetName(v string) *RoutingProfile { - s.Name = &v - return s -} - -// SetRoutingProfileArn sets the RoutingProfileArn field's value. -func (s *RoutingProfile) SetRoutingProfileArn(v string) *RoutingProfile { - s.RoutingProfileArn = &v +// SetAssociationId sets the AssociationId field's value. +func (s *SecurityKey) SetAssociationId(v string) *SecurityKey { + s.AssociationId = &v return s } -// SetRoutingProfileId sets the RoutingProfileId field's value. -func (s *RoutingProfile) SetRoutingProfileId(v string) *RoutingProfile { - s.RoutingProfileId = &v +// SetCreationTime sets the CreationTime field's value. +func (s *SecurityKey) SetCreationTime(v time.Time) *SecurityKey { + s.CreationTime = &v return s } -// SetTags sets the Tags field's value. -func (s *RoutingProfile) SetTags(v map[string]*string) *RoutingProfile { - s.Tags = v +// SetKey sets the Key field's value. +func (s *SecurityKey) SetKey(v string) *SecurityKey { + s.Key = &v return s } -// Contains information about the queue and channel for which priority and delay -// can be set. -type RoutingProfileQueueConfig struct { +// Contains information about a security profile. +type SecurityProfileSummary struct { _ struct{} `type:"structure"` - // The delay, in seconds, a contact should be in the queue before they are routed - // to an available agent. For more information, see Queues: priority and delay - // (https://docs.aws.amazon.com/connect/latest/adminguide/concepts-routing-profiles-priority.html) - // in the Amazon Connect Administrator Guide. - // - // Delay is a required field - Delay *int64 `type:"integer" required:"true"` + // The Amazon Resource Name (ARN) of the security profile. + Arn *string `type:"string"` - // The order in which contacts are to be handled for the queue. For more information, - // see Queues: priority and delay (https://docs.aws.amazon.com/connect/latest/adminguide/concepts-routing-profiles-priority.html). - // - // Priority is a required field - Priority *int64 `min:"1" type:"integer" required:"true"` + // The identifier of the security profile. + Id *string `type:"string"` - // Contains information about a queue resource. - // - // QueueReference is a required field - QueueReference *RoutingProfileQueueReference `type:"structure" required:"true"` + // The name of the security profile. + Name *string `type:"string"` } // String returns the string representation -func (s RoutingProfileQueueConfig) String() string { +func (s SecurityProfileSummary) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s RoutingProfileQueueConfig) GoString() string { +func (s SecurityProfileSummary) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *RoutingProfileQueueConfig) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RoutingProfileQueueConfig"} - if s.Delay == nil { - invalidParams.Add(request.NewErrParamRequired("Delay")) - } - if s.Priority == nil { - invalidParams.Add(request.NewErrParamRequired("Priority")) - } - if s.Priority != nil && *s.Priority < 1 { - invalidParams.Add(request.NewErrParamMinValue("Priority", 1)) - } - if s.QueueReference == nil { - invalidParams.Add(request.NewErrParamRequired("QueueReference")) - } - if s.QueueReference != nil { - if err := s.QueueReference.Validate(); err != nil { - invalidParams.AddNested("QueueReference", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetDelay sets the Delay field's value. -func (s *RoutingProfileQueueConfig) SetDelay(v int64) *RoutingProfileQueueConfig { - s.Delay = &v +// SetArn sets the Arn field's value. +func (s *SecurityProfileSummary) SetArn(v string) *SecurityProfileSummary { + s.Arn = &v return s } -// SetPriority sets the Priority field's value. -func (s *RoutingProfileQueueConfig) SetPriority(v int64) *RoutingProfileQueueConfig { - s.Priority = &v +// SetId sets the Id field's value. +func (s *SecurityProfileSummary) SetId(v string) *SecurityProfileSummary { + s.Id = &v return s } -// SetQueueReference sets the QueueReference field's value. -func (s *RoutingProfileQueueConfig) SetQueueReference(v *RoutingProfileQueueReference) *RoutingProfileQueueConfig { - s.QueueReference = v +// SetName sets the Name field's value. +func (s *SecurityProfileSummary) SetName(v string) *SecurityProfileSummary { + s.Name = &v return s } -// Contains summary information about a routing profile queue. -type RoutingProfileQueueConfigSummary struct { - _ struct{} `type:"structure"` - - // The channels this queue supports. - // - // Channel is a required field - Channel *string `type:"string" required:"true" enum:"Channel"` - - // The delay, in seconds, that a contact should be in the queue before they - // are routed to an available agent. For more information, see Queues: priority - // and delay (https://docs.aws.amazon.com/connect/latest/adminguide/concepts-routing-profiles-priority.html) - // in the Amazon Connect Administrator Guide. - // - // Delay is a required field - Delay *int64 `type:"integer" required:"true"` - - // The order in which contacts are to be handled for the queue. For more information, - // see Queues: priority and delay (https://docs.aws.amazon.com/connect/latest/adminguide/concepts-routing-profiles-priority.html). - // - // Priority is a required field - Priority *int64 `min:"1" type:"integer" required:"true"` - - // The Amazon Resource Name (ARN) of the queue. - // - // QueueArn is a required field - QueueArn *string `type:"string" required:"true"` - - // The identifier of the queue. - // - // QueueId is a required field - QueueId *string `type:"string" required:"true"` +// The service quota has been exceeded. +type ServiceQuotaExceededException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - // The name of the queue. - // - // QueueName is a required field - QueueName *string `min:"1" type:"string" required:"true"` + Message_ *string `locationName:"Message" type:"string"` } // String returns the string representation -func (s RoutingProfileQueueConfigSummary) String() string { +func (s ServiceQuotaExceededException) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s RoutingProfileQueueConfigSummary) GoString() string { +func (s ServiceQuotaExceededException) GoString() string { return s.String() } -// SetChannel sets the Channel field's value. -func (s *RoutingProfileQueueConfigSummary) SetChannel(v string) *RoutingProfileQueueConfigSummary { - s.Channel = &v - return s +func newErrorServiceQuotaExceededException(v protocol.ResponseMetadata) error { + return &ServiceQuotaExceededException{ + RespMetadata: v, + } } -// SetDelay sets the Delay field's value. -func (s *RoutingProfileQueueConfigSummary) SetDelay(v int64) *RoutingProfileQueueConfigSummary { - s.Delay = &v - return s +// Code returns the exception type name. +func (s *ServiceQuotaExceededException) Code() string { + return "ServiceQuotaExceededException" } -// SetPriority sets the Priority field's value. -func (s *RoutingProfileQueueConfigSummary) SetPriority(v int64) *RoutingProfileQueueConfigSummary { - s.Priority = &v - return s +// Message returns the exception's message. +func (s *ServiceQuotaExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" } -// SetQueueArn sets the QueueArn field's value. -func (s *RoutingProfileQueueConfigSummary) SetQueueArn(v string) *RoutingProfileQueueConfigSummary { - s.QueueArn = &v - return s +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ServiceQuotaExceededException) OrigErr() error { + return nil } -// SetQueueId sets the QueueId field's value. -func (s *RoutingProfileQueueConfigSummary) SetQueueId(v string) *RoutingProfileQueueConfigSummary { - s.QueueId = &v - return s +func (s *ServiceQuotaExceededException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) } -// SetQueueName sets the QueueName field's value. -func (s *RoutingProfileQueueConfigSummary) SetQueueName(v string) *RoutingProfileQueueConfigSummary { - s.QueueName = &v - return s +// Status code returns the HTTP status code for the request's response error. +func (s *ServiceQuotaExceededException) StatusCode() int { + return s.RespMetadata.StatusCode } -// Contains the channel and queue identifier for a routing profile. -type RoutingProfileQueueReference struct { +// RequestID returns the service's response RequestID for request. +func (s *ServiceQuotaExceededException) RequestID() string { + return s.RespMetadata.RequestID +} + +type StartChatContactInput struct { _ struct{} `type:"structure"` - // The channels agents can handle in the Contact Control Panel (CCP) for this - // routing profile. + // A custom key-value pair using an attribute map. The attributes are standard + // Amazon Connect attributes. They can be accessed in contact flows just like + // any other contact attributes. // - // Channel is a required field - Channel *string `type:"string" required:"true" enum:"Channel"` + // There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. + // Attribute keys can include only alphanumeric, dash, and underscore characters. + Attributes map[string]*string `type:"map"` - // The identifier of the queue. + // A unique, case-sensitive identifier that you provide to ensure the idempotency + // of the request. + ClientToken *string `type:"string" idempotencyToken:"true"` + + // The identifier of the contact flow for initiating the chat. To see the ContactFlowId + // in the Amazon Connect console user interface, on the navigation menu go to + // Routing, Contact Flows. Choose the contact flow. On the contact flow page, + // under the name of the contact flow, choose Show additional flow information. + // The ContactFlowId is the last part of the ARN, shown here in bold: // - // QueueId is a required field - QueueId *string `type:"string" required:"true"` + // arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx + // + // ContactFlowId is a required field + ContactFlowId *string `type:"string" required:"true"` + + // The initial message to be sent to the newly created chat. + InitialMessage *ChatMessage `type:"structure"` + + // The identifier of the Amazon Connect instance. + // + // InstanceId is a required field + InstanceId *string `min:"1" type:"string" required:"true"` + + // Information identifying the participant. + // + // ParticipantDetails is a required field + ParticipantDetails *ParticipantDetails `type:"structure" required:"true"` } // String returns the string representation -func (s RoutingProfileQueueReference) String() string { +func (s StartChatContactInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s RoutingProfileQueueReference) GoString() string { +func (s StartChatContactInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *RoutingProfileQueueReference) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "RoutingProfileQueueReference"} - if s.Channel == nil { - invalidParams.Add(request.NewErrParamRequired("Channel")) +func (s *StartChatContactInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartChatContactInput"} + if s.ContactFlowId == nil { + invalidParams.Add(request.NewErrParamRequired("ContactFlowId")) } - if s.QueueId == nil { - invalidParams.Add(request.NewErrParamRequired("QueueId")) + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + if s.ParticipantDetails == nil { + invalidParams.Add(request.NewErrParamRequired("ParticipantDetails")) + } + if s.InitialMessage != nil { + if err := s.InitialMessage.Validate(); err != nil { + invalidParams.AddNested("InitialMessage", err.(request.ErrInvalidParams)) + } + } + if s.ParticipantDetails != nil { + if err := s.ParticipantDetails.Validate(); err != nil { + invalidParams.AddNested("ParticipantDetails", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -19155,107 +21529,144 @@ func (s *RoutingProfileQueueReference) Validate() error { return nil } -// SetChannel sets the Channel field's value. -func (s *RoutingProfileQueueReference) SetChannel(v string) *RoutingProfileQueueReference { - s.Channel = &v +// SetAttributes sets the Attributes field's value. +func (s *StartChatContactInput) SetAttributes(v map[string]*string) *StartChatContactInput { + s.Attributes = v return s } -// SetQueueId sets the QueueId field's value. -func (s *RoutingProfileQueueReference) SetQueueId(v string) *RoutingProfileQueueReference { - s.QueueId = &v +// SetClientToken sets the ClientToken field's value. +func (s *StartChatContactInput) SetClientToken(v string) *StartChatContactInput { + s.ClientToken = &v return s } -// Contains summary information about a routing profile. -type RoutingProfileSummary struct { +// SetContactFlowId sets the ContactFlowId field's value. +func (s *StartChatContactInput) SetContactFlowId(v string) *StartChatContactInput { + s.ContactFlowId = &v + return s +} + +// SetInitialMessage sets the InitialMessage field's value. +func (s *StartChatContactInput) SetInitialMessage(v *ChatMessage) *StartChatContactInput { + s.InitialMessage = v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *StartChatContactInput) SetInstanceId(v string) *StartChatContactInput { + s.InstanceId = &v + return s +} + +// SetParticipantDetails sets the ParticipantDetails field's value. +func (s *StartChatContactInput) SetParticipantDetails(v *ParticipantDetails) *StartChatContactInput { + s.ParticipantDetails = v + return s +} + +type StartChatContactOutput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the routing profile. - Arn *string `type:"string"` + // The identifier of this contact within the Amazon Connect instance. + ContactId *string `min:"1" type:"string"` - // The identifier of the routing profile. - Id *string `type:"string"` + // The identifier for a chat participant. The participantId for a chat participant + // is the same throughout the chat lifecycle. + ParticipantId *string `min:"1" type:"string"` - // The name of the routing profile. - Name *string `min:"1" type:"string"` + // The token used by the chat participant to call CreateParticipantConnection + // (https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html). + // The participant token is valid for the lifetime of a chat participant. + ParticipantToken *string `min:"1" type:"string"` } // String returns the string representation -func (s RoutingProfileSummary) String() string { +func (s StartChatContactOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s RoutingProfileSummary) GoString() string { +func (s StartChatContactOutput) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *RoutingProfileSummary) SetArn(v string) *RoutingProfileSummary { - s.Arn = &v +// SetContactId sets the ContactId field's value. +func (s *StartChatContactOutput) SetContactId(v string) *StartChatContactOutput { + s.ContactId = &v return s } -// SetId sets the Id field's value. -func (s *RoutingProfileSummary) SetId(v string) *RoutingProfileSummary { - s.Id = &v +// SetParticipantId sets the ParticipantId field's value. +func (s *StartChatContactOutput) SetParticipantId(v string) *StartChatContactOutput { + s.ParticipantId = &v return s } -// SetName sets the Name field's value. -func (s *RoutingProfileSummary) SetName(v string) *RoutingProfileSummary { - s.Name = &v +// SetParticipantToken sets the ParticipantToken field's value. +func (s *StartChatContactOutput) SetParticipantToken(v string) *StartChatContactOutput { + s.ParticipantToken = &v return s } -// Information about the S3 storage type. -type S3Config struct { +type StartContactRecordingInput struct { _ struct{} `type:"structure"` - // The S3 bucket name. + // The identifier of the contact. // - // BucketName is a required field - BucketName *string `min:"1" type:"string" required:"true"` + // ContactId is a required field + ContactId *string `min:"1" type:"string" required:"true"` - // The S3 bucket prefix. + // The identifier of the contact. This is the identifier of the contact associated + // with the first interaction with the contact center. // - // BucketPrefix is a required field - BucketPrefix *string `min:"1" type:"string" required:"true"` + // InitialContactId is a required field + InitialContactId *string `min:"1" type:"string" required:"true"` - // The S3 encryption configuration. - EncryptionConfig *EncryptionConfig `type:"structure"` + // The identifier of the Amazon Connect instance. + // + // InstanceId is a required field + InstanceId *string `min:"1" type:"string" required:"true"` + + // The person being recorded. + // + // VoiceRecordingConfiguration is a required field + VoiceRecordingConfiguration *VoiceRecordingConfiguration `type:"structure" required:"true"` } // String returns the string representation -func (s S3Config) String() string { +func (s StartContactRecordingInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s S3Config) GoString() string { +func (s StartContactRecordingInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *S3Config) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "S3Config"} - if s.BucketName == nil { - invalidParams.Add(request.NewErrParamRequired("BucketName")) +func (s *StartContactRecordingInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartContactRecordingInput"} + if s.ContactId == nil { + invalidParams.Add(request.NewErrParamRequired("ContactId")) } - if s.BucketName != nil && len(*s.BucketName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("BucketName", 1)) + if s.ContactId != nil && len(*s.ContactId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContactId", 1)) } - if s.BucketPrefix == nil { - invalidParams.Add(request.NewErrParamRequired("BucketPrefix")) + if s.InitialContactId == nil { + invalidParams.Add(request.NewErrParamRequired("InitialContactId")) } - if s.BucketPrefix != nil && len(*s.BucketPrefix) < 1 { - invalidParams.Add(request.NewErrParamMinLen("BucketPrefix", 1)) + if s.InitialContactId != nil && len(*s.InitialContactId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InitialContactId", 1)) } - if s.EncryptionConfig != nil { - if err := s.EncryptionConfig.Validate(); err != nil { - invalidParams.AddNested("EncryptionConfig", err.(request.ErrInvalidParams)) - } + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + if s.VoiceRecordingConfiguration == nil { + invalidParams.Add(request.NewErrParamRequired("VoiceRecordingConfiguration")) } if invalidParams.Len() > 0 { @@ -19264,166 +21675,191 @@ func (s *S3Config) Validate() error { return nil } -// SetBucketName sets the BucketName field's value. -func (s *S3Config) SetBucketName(v string) *S3Config { - s.BucketName = &v +// SetContactId sets the ContactId field's value. +func (s *StartContactRecordingInput) SetContactId(v string) *StartContactRecordingInput { + s.ContactId = &v return s } -// SetBucketPrefix sets the BucketPrefix field's value. -func (s *S3Config) SetBucketPrefix(v string) *S3Config { - s.BucketPrefix = &v +// SetInitialContactId sets the InitialContactId field's value. +func (s *StartContactRecordingInput) SetInitialContactId(v string) *StartContactRecordingInput { + s.InitialContactId = &v return s } -// SetEncryptionConfig sets the EncryptionConfig field's value. -func (s *S3Config) SetEncryptionConfig(v *EncryptionConfig) *S3Config { - s.EncryptionConfig = v +// SetInstanceId sets the InstanceId field's value. +func (s *StartContactRecordingInput) SetInstanceId(v string) *StartContactRecordingInput { + s.InstanceId = &v return s } -// Configuration information of the security key. -type SecurityKey struct { - _ struct{} `type:"structure"` - - // The existing association identifier that uniquely identifies the resource - // type and storage config for the given instance ID. - AssociationId *string `min:"1" type:"string"` - - // When the security key was created. - CreationTime *time.Time `type:"timestamp"` +// SetVoiceRecordingConfiguration sets the VoiceRecordingConfiguration field's value. +func (s *StartContactRecordingInput) SetVoiceRecordingConfiguration(v *VoiceRecordingConfiguration) *StartContactRecordingInput { + s.VoiceRecordingConfiguration = v + return s +} - // The key of the security key. - Key *string `min:"1" type:"string"` +type StartContactRecordingOutput struct { + _ struct{} `type:"structure"` } // String returns the string representation -func (s SecurityKey) String() string { +func (s StartContactRecordingOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s SecurityKey) GoString() string { +func (s StartContactRecordingOutput) GoString() string { return s.String() } -// SetAssociationId sets the AssociationId field's value. -func (s *SecurityKey) SetAssociationId(v string) *SecurityKey { - s.AssociationId = &v - return s -} +type StartOutboundVoiceContactInput struct { + _ struct{} `type:"structure"` -// SetCreationTime sets the CreationTime field's value. -func (s *SecurityKey) SetCreationTime(v time.Time) *SecurityKey { - s.CreationTime = &v - return s -} + // A custom key-value pair using an attribute map. The attributes are standard + // Amazon Connect attributes, and can be accessed in contact flows just like + // any other contact attributes. + // + // There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. + // Attribute keys can include only alphanumeric, dash, and underscore characters. + Attributes map[string]*string `type:"map"` -// SetKey sets the Key field's value. -func (s *SecurityKey) SetKey(v string) *SecurityKey { - s.Key = &v - return s -} + // A unique, case-sensitive identifier that you provide to ensure the idempotency + // of the request. The token is valid for 7 days after creation. If a contact + // is already started, the contact ID is returned. If the contact is disconnected, + // a new contact is started. + ClientToken *string `type:"string" idempotencyToken:"true"` -// Contains information about a security profile. -type SecurityProfileSummary struct { - _ struct{} `type:"structure"` + // The identifier of the contact flow for the outbound call. To see the ContactFlowId + // in the Amazon Connect console user interface, on the navigation menu go to + // Routing, Contact Flows. Choose the contact flow. On the contact flow page, + // under the name of the contact flow, choose Show additional flow information. + // The ContactFlowId is the last part of the ARN, shown here in bold: + // + // arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx + // + // ContactFlowId is a required field + ContactFlowId *string `type:"string" required:"true"` - // The Amazon Resource Name (ARN) of the security profile. - Arn *string `type:"string"` + // The phone number of the customer, in E.164 format. + // + // DestinationPhoneNumber is a required field + DestinationPhoneNumber *string `type:"string" required:"true"` - // The identifier of the security profile. - Id *string `type:"string"` + // The identifier of the Amazon Connect instance. + // + // InstanceId is a required field + InstanceId *string `min:"1" type:"string" required:"true"` - // The name of the security profile. - Name *string `type:"string"` + // The queue for the call. If you specify a queue, the phone displayed for caller + // ID is the phone number specified in the queue. If you do not specify a queue, + // the queue defined in the contact flow is used. If you do not specify a queue, + // you must specify a source phone number. + QueueId *string `type:"string"` + + // The phone number associated with the Amazon Connect instance, in E.164 format. + // If you do not specify a source phone number, you must specify a queue. + SourcePhoneNumber *string `type:"string"` } // String returns the string representation -func (s SecurityProfileSummary) String() string { +func (s StartOutboundVoiceContactInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s SecurityProfileSummary) GoString() string { +func (s StartOutboundVoiceContactInput) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *SecurityProfileSummary) SetArn(v string) *SecurityProfileSummary { - s.Arn = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartOutboundVoiceContactInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartOutboundVoiceContactInput"} + if s.ContactFlowId == nil { + invalidParams.Add(request.NewErrParamRequired("ContactFlowId")) + } + if s.DestinationPhoneNumber == nil { + invalidParams.Add(request.NewErrParamRequired("DestinationPhoneNumber")) + } + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } -// SetId sets the Id field's value. -func (s *SecurityProfileSummary) SetId(v string) *SecurityProfileSummary { - s.Id = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetName sets the Name field's value. -func (s *SecurityProfileSummary) SetName(v string) *SecurityProfileSummary { - s.Name = &v +// SetAttributes sets the Attributes field's value. +func (s *StartOutboundVoiceContactInput) SetAttributes(v map[string]*string) *StartOutboundVoiceContactInput { + s.Attributes = v return s } -// The service quota has been exceeded. -type ServiceQuotaExceededException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - - Message_ *string `locationName:"Message" type:"string"` +// SetClientToken sets the ClientToken field's value. +func (s *StartOutboundVoiceContactInput) SetClientToken(v string) *StartOutboundVoiceContactInput { + s.ClientToken = &v + return s } -// String returns the string representation -func (s ServiceQuotaExceededException) String() string { - return awsutil.Prettify(s) +// SetContactFlowId sets the ContactFlowId field's value. +func (s *StartOutboundVoiceContactInput) SetContactFlowId(v string) *StartOutboundVoiceContactInput { + s.ContactFlowId = &v + return s } -// GoString returns the string representation -func (s ServiceQuotaExceededException) GoString() string { - return s.String() +// SetDestinationPhoneNumber sets the DestinationPhoneNumber field's value. +func (s *StartOutboundVoiceContactInput) SetDestinationPhoneNumber(v string) *StartOutboundVoiceContactInput { + s.DestinationPhoneNumber = &v + return s } -func newErrorServiceQuotaExceededException(v protocol.ResponseMetadata) error { - return &ServiceQuotaExceededException{ - RespMetadata: v, - } +// SetInstanceId sets the InstanceId field's value. +func (s *StartOutboundVoiceContactInput) SetInstanceId(v string) *StartOutboundVoiceContactInput { + s.InstanceId = &v + return s } -// Code returns the exception type name. -func (s *ServiceQuotaExceededException) Code() string { - return "ServiceQuotaExceededException" +// SetQueueId sets the QueueId field's value. +func (s *StartOutboundVoiceContactInput) SetQueueId(v string) *StartOutboundVoiceContactInput { + s.QueueId = &v + return s } -// Message returns the exception's message. -func (s *ServiceQuotaExceededException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetSourcePhoneNumber sets the SourcePhoneNumber field's value. +func (s *StartOutboundVoiceContactInput) SetSourcePhoneNumber(v string) *StartOutboundVoiceContactInput { + s.SourcePhoneNumber = &v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ServiceQuotaExceededException) OrigErr() error { - return nil +type StartOutboundVoiceContactOutput struct { + _ struct{} `type:"structure"` + + // The identifier of this contact within the Amazon Connect instance. + ContactId *string `min:"1" type:"string"` } -func (s *ServiceQuotaExceededException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +// String returns the string representation +func (s StartOutboundVoiceContactOutput) String() string { + return awsutil.Prettify(s) } -// Status code returns the HTTP status code for the request's response error. -func (s *ServiceQuotaExceededException) StatusCode() int { - return s.RespMetadata.StatusCode +// GoString returns the string representation +func (s StartOutboundVoiceContactOutput) GoString() string { + return s.String() } -// RequestID returns the service's response RequestID for request. -func (s *ServiceQuotaExceededException) RequestID() string { - return s.RespMetadata.RequestID +// SetContactId sets the ContactId field's value. +func (s *StartOutboundVoiceContactOutput) SetContactId(v string) *StartOutboundVoiceContactOutput { + s.ContactId = &v + return s } -type StartChatContactInput struct { +type StartTaskContactInput struct { _ struct{} `type:"structure"` // A custom key-value pair using an attribute map. The attributes are standard @@ -19438,7 +21874,7 @@ type StartChatContactInput struct { // of the request. ClientToken *string `type:"string" idempotencyToken:"true"` - // The identifier of the contact flow for initiating the chat. To see the ContactFlowId + // The identifier of the contact flow for initiating the tasks. To see the ContactFlowId // in the Amazon Connect console user interface, on the navigation menu go to // Routing, Contact Flows. Choose the contact flow. On the contact flow page, // under the name of the contact flow, choose Show additional flow information. @@ -19449,33 +21885,41 @@ type StartChatContactInput struct { // ContactFlowId is a required field ContactFlowId *string `type:"string" required:"true"` - // The initial message to be sent to the newly created chat. - InitialMessage *ChatMessage `type:"structure"` + // A description of the task that is shown to an agent in the Contact Control + // Panel (CCP). + Description *string `type:"string"` // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `min:"1" type:"string" required:"true"` - // Information identifying the participant. + // The name of a task that is shown to an agent in the Contact Control Panel + // (CCP). // - // ParticipantDetails is a required field - ParticipantDetails *ParticipantDetails `type:"structure" required:"true"` + // Name is a required field + Name *string `type:"string" required:"true"` + + // The identifier of the previous chat, voice, or task contact. + PreviousContactId *string `min:"1" type:"string"` + + // A formatted URL that is shown to an agent in the Contact Control Panel (CCP). + References map[string]*Reference `type:"map"` } // String returns the string representation -func (s StartChatContactInput) String() string { +func (s StartTaskContactInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s StartChatContactInput) GoString() string { +func (s StartTaskContactInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *StartChatContactInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "StartChatContactInput"} +func (s *StartTaskContactInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartTaskContactInput"} if s.ContactFlowId == nil { invalidParams.Add(request.NewErrParamRequired("ContactFlowId")) } @@ -19485,17 +21929,20 @@ func (s *StartChatContactInput) Validate() error { if s.InstanceId != nil && len(*s.InstanceId) < 1 { invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) } - if s.ParticipantDetails == nil { - invalidParams.Add(request.NewErrParamRequired("ParticipantDetails")) + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) } - if s.InitialMessage != nil { - if err := s.InitialMessage.Validate(); err != nil { - invalidParams.AddNested("InitialMessage", err.(request.ErrInvalidParams)) - } + if s.PreviousContactId != nil && len(*s.PreviousContactId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PreviousContactId", 1)) } - if s.ParticipantDetails != nil { - if err := s.ParticipantDetails.Validate(); err != nil { - invalidParams.AddNested("ParticipantDetails", err.(request.ErrInvalidParams)) + if s.References != nil { + for i, v := range s.References { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "References", i), err.(request.ErrInvalidParams)) + } } } @@ -19506,86 +21953,149 @@ func (s *StartChatContactInput) Validate() error { } // SetAttributes sets the Attributes field's value. -func (s *StartChatContactInput) SetAttributes(v map[string]*string) *StartChatContactInput { +func (s *StartTaskContactInput) SetAttributes(v map[string]*string) *StartTaskContactInput { s.Attributes = v return s } // SetClientToken sets the ClientToken field's value. -func (s *StartChatContactInput) SetClientToken(v string) *StartChatContactInput { +func (s *StartTaskContactInput) SetClientToken(v string) *StartTaskContactInput { s.ClientToken = &v return s } // SetContactFlowId sets the ContactFlowId field's value. -func (s *StartChatContactInput) SetContactFlowId(v string) *StartChatContactInput { +func (s *StartTaskContactInput) SetContactFlowId(v string) *StartTaskContactInput { s.ContactFlowId = &v return s } -// SetInitialMessage sets the InitialMessage field's value. -func (s *StartChatContactInput) SetInitialMessage(v *ChatMessage) *StartChatContactInput { - s.InitialMessage = v +// SetDescription sets the Description field's value. +func (s *StartTaskContactInput) SetDescription(v string) *StartTaskContactInput { + s.Description = &v return s } // SetInstanceId sets the InstanceId field's value. -func (s *StartChatContactInput) SetInstanceId(v string) *StartChatContactInput { +func (s *StartTaskContactInput) SetInstanceId(v string) *StartTaskContactInput { s.InstanceId = &v return s } -// SetParticipantDetails sets the ParticipantDetails field's value. -func (s *StartChatContactInput) SetParticipantDetails(v *ParticipantDetails) *StartChatContactInput { - s.ParticipantDetails = v +// SetName sets the Name field's value. +func (s *StartTaskContactInput) SetName(v string) *StartTaskContactInput { + s.Name = &v return s } -type StartChatContactOutput struct { +// SetPreviousContactId sets the PreviousContactId field's value. +func (s *StartTaskContactInput) SetPreviousContactId(v string) *StartTaskContactInput { + s.PreviousContactId = &v + return s +} + +// SetReferences sets the References field's value. +func (s *StartTaskContactInput) SetReferences(v map[string]*Reference) *StartTaskContactInput { + s.References = v + return s +} + +type StartTaskContactOutput struct { _ struct{} `type:"structure"` // The identifier of this contact within the Amazon Connect instance. ContactId *string `min:"1" type:"string"` +} - // The identifier for a chat participant. The participantId for a chat participant - // is the same throughout the chat lifecycle. - ParticipantId *string `min:"1" type:"string"` +// String returns the string representation +func (s StartTaskContactOutput) String() string { + return awsutil.Prettify(s) +} - // The token used by the chat participant to call CreateParticipantConnection - // (https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html). - // The participant token is valid for the lifetime of a chat participant. - ParticipantToken *string `min:"1" type:"string"` +// GoString returns the string representation +func (s StartTaskContactOutput) GoString() string { + return s.String() +} + +// SetContactId sets the ContactId field's value. +func (s *StartTaskContactOutput) SetContactId(v string) *StartTaskContactOutput { + s.ContactId = &v + return s +} + +type StopContactInput struct { + _ struct{} `type:"structure"` + + // The ID of the contact. + // + // ContactId is a required field + ContactId *string `min:"1" type:"string" required:"true"` + + // The identifier of the Amazon Connect instance. + // + // InstanceId is a required field + InstanceId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s StartChatContactOutput) String() string { +func (s StopContactInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s StartChatContactOutput) GoString() string { +func (s StopContactInput) GoString() string { return s.String() } +// Validate inspects the fields of the type to determine if they are valid. +func (s *StopContactInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StopContactInput"} + if s.ContactId == nil { + invalidParams.Add(request.NewErrParamRequired("ContactId")) + } + if s.ContactId != nil && len(*s.ContactId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContactId", 1)) + } + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + // SetContactId sets the ContactId field's value. -func (s *StartChatContactOutput) SetContactId(v string) *StartChatContactOutput { +func (s *StopContactInput) SetContactId(v string) *StopContactInput { s.ContactId = &v return s } -// SetParticipantId sets the ParticipantId field's value. -func (s *StartChatContactOutput) SetParticipantId(v string) *StartChatContactOutput { - s.ParticipantId = &v +// SetInstanceId sets the InstanceId field's value. +func (s *StopContactInput) SetInstanceId(v string) *StopContactInput { + s.InstanceId = &v return s } -// SetParticipantToken sets the ParticipantToken field's value. -func (s *StartChatContactOutput) SetParticipantToken(v string) *StartChatContactOutput { - s.ParticipantToken = &v - return s +type StopContactOutput struct { + _ struct{} `type:"structure"` } -type StartContactRecordingInput struct { +// String returns the string representation +func (s StopContactOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StopContactOutput) GoString() string { + return s.String() +} + +type StopContactRecordingInput struct { _ struct{} `type:"structure"` // The identifier of the contact. @@ -19603,26 +22113,21 @@ type StartContactRecordingInput struct { // // InstanceId is a required field InstanceId *string `min:"1" type:"string" required:"true"` - - // Who is being recorded. - // - // VoiceRecordingConfiguration is a required field - VoiceRecordingConfiguration *VoiceRecordingConfiguration `type:"structure" required:"true"` } // String returns the string representation -func (s StartContactRecordingInput) String() string { +func (s StopContactRecordingInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s StartContactRecordingInput) GoString() string { +func (s StopContactRecordingInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *StartContactRecordingInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "StartContactRecordingInput"} +func (s *StopContactRecordingInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StopContactRecordingInput"} if s.ContactId == nil { invalidParams.Add(request.NewErrParamRequired("ContactId")) } @@ -19641,9 +22146,6 @@ func (s *StartContactRecordingInput) Validate() error { if s.InstanceId != nil && len(*s.InstanceId) < 1 { invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) } - if s.VoiceRecordingConfiguration == nil { - invalidParams.Add(request.NewErrParamRequired("VoiceRecordingConfiguration")) - } if invalidParams.Len() > 0 { return invalidParams @@ -19652,110 +22154,81 @@ func (s *StartContactRecordingInput) Validate() error { } // SetContactId sets the ContactId field's value. -func (s *StartContactRecordingInput) SetContactId(v string) *StartContactRecordingInput { +func (s *StopContactRecordingInput) SetContactId(v string) *StopContactRecordingInput { s.ContactId = &v return s } // SetInitialContactId sets the InitialContactId field's value. -func (s *StartContactRecordingInput) SetInitialContactId(v string) *StartContactRecordingInput { +func (s *StopContactRecordingInput) SetInitialContactId(v string) *StopContactRecordingInput { s.InitialContactId = &v return s } // SetInstanceId sets the InstanceId field's value. -func (s *StartContactRecordingInput) SetInstanceId(v string) *StartContactRecordingInput { +func (s *StopContactRecordingInput) SetInstanceId(v string) *StopContactRecordingInput { s.InstanceId = &v return s } -// SetVoiceRecordingConfiguration sets the VoiceRecordingConfiguration field's value. -func (s *StartContactRecordingInput) SetVoiceRecordingConfiguration(v *VoiceRecordingConfiguration) *StartContactRecordingInput { - s.VoiceRecordingConfiguration = v - return s -} - -type StartContactRecordingOutput struct { +type StopContactRecordingOutput struct { _ struct{} `type:"structure"` } // String returns the string representation -func (s StartContactRecordingOutput) String() string { +func (s StopContactRecordingOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s StartContactRecordingOutput) GoString() string { +func (s StopContactRecordingOutput) GoString() string { return s.String() } -type StartOutboundVoiceContactInput struct { - _ struct{} `type:"structure"` - - // A custom key-value pair using an attribute map. The attributes are standard - // Amazon Connect attributes, and can be accessed in contact flows just like - // any other contact attributes. - // - // There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. - // Attribute keys can include only alphanumeric, dash, and underscore characters. - Attributes map[string]*string `type:"map"` - - // A unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. The token is valid for 7 days after creation. If a contact - // is already started, the contact ID is returned. If the contact is disconnected, - // a new contact is started. - ClientToken *string `type:"string" idempotencyToken:"true"` - - // The identifier of the contact flow for the outbound call. To see the ContactFlowId - // in the Amazon Connect console user interface, on the navigation menu go to - // Routing, Contact Flows. Choose the contact flow. On the contact flow page, - // under the name of the contact flow, choose Show additional flow information. - // The ContactFlowId is the last part of the ARN, shown here in bold: - // - // arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx +type SuspendContactRecordingInput struct { + _ struct{} `type:"structure"` + + // The identifier of the contact. // - // ContactFlowId is a required field - ContactFlowId *string `type:"string" required:"true"` + // ContactId is a required field + ContactId *string `min:"1" type:"string" required:"true"` - // The phone number of the customer, in E.164 format. + // The identifier of the contact. This is the identifier of the contact associated + // with the first interaction with the contact center. // - // DestinationPhoneNumber is a required field - DestinationPhoneNumber *string `type:"string" required:"true"` + // InitialContactId is a required field + InitialContactId *string `min:"1" type:"string" required:"true"` // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `min:"1" type:"string" required:"true"` - - // The queue for the call. If you specify a queue, the phone displayed for caller - // ID is the phone number specified in the queue. If you do not specify a queue, - // the queue defined in the contact flow is used. If you do not specify a queue, - // you must specify a source phone number. - QueueId *string `type:"string"` - - // The phone number associated with the Amazon Connect instance, in E.164 format. - // If you do not specify a source phone number, you must specify a queue. - SourcePhoneNumber *string `type:"string"` } // String returns the string representation -func (s StartOutboundVoiceContactInput) String() string { +func (s SuspendContactRecordingInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s StartOutboundVoiceContactInput) GoString() string { +func (s SuspendContactRecordingInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *StartOutboundVoiceContactInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "StartOutboundVoiceContactInput"} - if s.ContactFlowId == nil { - invalidParams.Add(request.NewErrParamRequired("ContactFlowId")) +func (s *SuspendContactRecordingInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SuspendContactRecordingInput"} + if s.ContactId == nil { + invalidParams.Add(request.NewErrParamRequired("ContactId")) } - if s.DestinationPhoneNumber == nil { - invalidParams.Add(request.NewErrParamRequired("DestinationPhoneNumber")) + if s.ContactId != nil && len(*s.ContactId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContactId", 1)) + } + if s.InitialContactId == nil { + invalidParams.Add(request.NewErrParamRequired("InitialContactId")) + } + if s.InitialContactId != nil && len(*s.InitialContactId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InitialContactId", 1)) } if s.InstanceId == nil { invalidParams.Add(request.NewErrParamRequired("InstanceId")) @@ -19770,156 +22243,77 @@ func (s *StartOutboundVoiceContactInput) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *StartOutboundVoiceContactInput) SetAttributes(v map[string]*string) *StartOutboundVoiceContactInput { - s.Attributes = v - return s -} - -// SetClientToken sets the ClientToken field's value. -func (s *StartOutboundVoiceContactInput) SetClientToken(v string) *StartOutboundVoiceContactInput { - s.ClientToken = &v - return s -} - -// SetContactFlowId sets the ContactFlowId field's value. -func (s *StartOutboundVoiceContactInput) SetContactFlowId(v string) *StartOutboundVoiceContactInput { - s.ContactFlowId = &v +// SetContactId sets the ContactId field's value. +func (s *SuspendContactRecordingInput) SetContactId(v string) *SuspendContactRecordingInput { + s.ContactId = &v return s } -// SetDestinationPhoneNumber sets the DestinationPhoneNumber field's value. -func (s *StartOutboundVoiceContactInput) SetDestinationPhoneNumber(v string) *StartOutboundVoiceContactInput { - s.DestinationPhoneNumber = &v +// SetInitialContactId sets the InitialContactId field's value. +func (s *SuspendContactRecordingInput) SetInitialContactId(v string) *SuspendContactRecordingInput { + s.InitialContactId = &v return s } // SetInstanceId sets the InstanceId field's value. -func (s *StartOutboundVoiceContactInput) SetInstanceId(v string) *StartOutboundVoiceContactInput { +func (s *SuspendContactRecordingInput) SetInstanceId(v string) *SuspendContactRecordingInput { s.InstanceId = &v return s } -// SetQueueId sets the QueueId field's value. -func (s *StartOutboundVoiceContactInput) SetQueueId(v string) *StartOutboundVoiceContactInput { - s.QueueId = &v - return s -} - -// SetSourcePhoneNumber sets the SourcePhoneNumber field's value. -func (s *StartOutboundVoiceContactInput) SetSourcePhoneNumber(v string) *StartOutboundVoiceContactInput { - s.SourcePhoneNumber = &v - return s -} - -type StartOutboundVoiceContactOutput struct { +type SuspendContactRecordingOutput struct { _ struct{} `type:"structure"` - - // The identifier of this contact within the Amazon Connect instance. - ContactId *string `min:"1" type:"string"` } // String returns the string representation -func (s StartOutboundVoiceContactOutput) String() string { +func (s SuspendContactRecordingOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s StartOutboundVoiceContactOutput) GoString() string { +func (s SuspendContactRecordingOutput) GoString() string { return s.String() } -// SetContactId sets the ContactId field's value. -func (s *StartOutboundVoiceContactOutput) SetContactId(v string) *StartOutboundVoiceContactOutput { - s.ContactId = &v - return s -} - -type StartTaskContactInput struct { +type TagResourceInput struct { _ struct{} `type:"structure"` - // A custom key-value pair using an attribute map. The attributes are standard - // Amazon Connect attributes, and can be accessed in contact flows just like - // any other contact attributes. - // - // There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. - // Attribute keys can include only alphanumeric, dash, and underscore characters. - Attributes map[string]*string `type:"map"` - - // A unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. - ClientToken *string `type:"string" idempotencyToken:"true"` - - // The identifier of the contact flow for initiating the tasks. To see the ContactFlowId - // in the Amazon Connect console user interface, on the navigation menu go to - // Routing, Contact Flows. Choose the contact flow. On the contact flow page, - // under the name of the contact flow, choose Show additional flow information. - // The ContactFlowId is the last part of the ARN, shown here in bold: - // - // arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx - // - // ContactFlowId is a required field - ContactFlowId *string `type:"string" required:"true"` - - // A description of the task that is shown to an agent in the Contact Control - // Panel (CCP). - Description *string `type:"string"` - - // The identifier of the Amazon Connect instance. + // The Amazon Resource Name (ARN) of the resource. // - // InstanceId is a required field - InstanceId *string `min:"1" type:"string" required:"true"` + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` - // The name of a task that is shown to an agent in the Contact Control Panel - // (CCP). + // One or more tags. For example, { "tags": {"key1":"value1", "key2":"value2"} + // }. // - // Name is a required field - Name *string `type:"string" required:"true"` - - // The identifier of the previous chat, voice, or task contact. - PreviousContactId *string `min:"1" type:"string"` - - // A formatted URL that is shown to an agent in the Contact Control Panel (CCP). - References map[string]*Reference `type:"map"` + // Tags is a required field + Tags map[string]*string `locationName:"tags" min:"1" type:"map" required:"true"` } // String returns the string representation -func (s StartTaskContactInput) String() string { +func (s TagResourceInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s StartTaskContactInput) GoString() string { +func (s TagResourceInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *StartTaskContactInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "StartTaskContactInput"} - if s.ContactFlowId == nil { - invalidParams.Add(request.NewErrParamRequired("ContactFlowId")) - } - if s.InstanceId == nil { - invalidParams.Add(request.NewErrParamRequired("InstanceId")) - } - if s.InstanceId != nil && len(*s.InstanceId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) +func (s *TagResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) } - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) } - if s.PreviousContactId != nil && len(*s.PreviousContactId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("PreviousContactId", 1)) + if s.Tags == nil { + invalidParams.Add(request.NewErrParamRequired("Tags")) } - if s.References != nil { - for i, v := range s.References { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "References", i), err.(request.ErrInvalidParams)) - } - } + if s.Tags != nil && len(s.Tags) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) } if invalidParams.Len() > 0 { @@ -19928,115 +22322,159 @@ func (s *StartTaskContactInput) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *StartTaskContactInput) SetAttributes(v map[string]*string) *StartTaskContactInput { - s.Attributes = v +// SetResourceArn sets the ResourceArn field's value. +func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput { + s.ResourceArn = &v return s } -// SetClientToken sets the ClientToken field's value. -func (s *StartTaskContactInput) SetClientToken(v string) *StartTaskContactInput { - s.ClientToken = &v +// SetTags sets the Tags field's value. +func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput { + s.Tags = v return s } -// SetContactFlowId sets the ContactFlowId field's value. -func (s *StartTaskContactInput) SetContactFlowId(v string) *StartTaskContactInput { - s.ContactFlowId = &v - return s +type TagResourceOutput struct { + _ struct{} `type:"structure"` } -// SetDescription sets the Description field's value. -func (s *StartTaskContactInput) SetDescription(v string) *StartTaskContactInput { - s.Description = &v +// String returns the string representation +func (s TagResourceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TagResourceOutput) GoString() string { + return s.String() +} + +// Contains information about the threshold for service level metrics. +type Threshold struct { + _ struct{} `type:"structure"` + + // The type of comparison. Only "less than" (LT) comparisons are supported. + Comparison *string `type:"string" enum:"Comparison"` + + // The threshold value to compare. + ThresholdValue *float64 `type:"double"` +} + +// String returns the string representation +func (s Threshold) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Threshold) GoString() string { + return s.String() +} + +// SetComparison sets the Comparison field's value. +func (s *Threshold) SetComparison(v string) *Threshold { + s.Comparison = &v return s } -// SetInstanceId sets the InstanceId field's value. -func (s *StartTaskContactInput) SetInstanceId(v string) *StartTaskContactInput { - s.InstanceId = &v +// SetThresholdValue sets the ThresholdValue field's value. +func (s *Threshold) SetThresholdValue(v float64) *Threshold { + s.ThresholdValue = &v return s } -// SetName sets the Name field's value. -func (s *StartTaskContactInput) SetName(v string) *StartTaskContactInput { - s.Name = &v - return s +// The throttling limit has been exceeded. +type ThrottlingException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` +} + +// String returns the string representation +func (s ThrottlingException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ThrottlingException) GoString() string { + return s.String() } -// SetPreviousContactId sets the PreviousContactId field's value. -func (s *StartTaskContactInput) SetPreviousContactId(v string) *StartTaskContactInput { - s.PreviousContactId = &v - return s +func newErrorThrottlingException(v protocol.ResponseMetadata) error { + return &ThrottlingException{ + RespMetadata: v, + } } -// SetReferences sets the References field's value. -func (s *StartTaskContactInput) SetReferences(v map[string]*Reference) *StartTaskContactInput { - s.References = v - return s +// Code returns the exception type name. +func (s *ThrottlingException) Code() string { + return "ThrottlingException" } -type StartTaskContactOutput struct { - _ struct{} `type:"structure"` +// Message returns the exception's message. +func (s *ThrottlingException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} - // The identifier of this contact within the Amazon Connect instance. - ContactId *string `min:"1" type:"string"` +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ThrottlingException) OrigErr() error { + return nil } -// String returns the string representation -func (s StartTaskContactOutput) String() string { - return awsutil.Prettify(s) +func (s *ThrottlingException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) } -// GoString returns the string representation -func (s StartTaskContactOutput) GoString() string { - return s.String() +// Status code returns the HTTP status code for the request's response error. +func (s *ThrottlingException) StatusCode() int { + return s.RespMetadata.StatusCode } -// SetContactId sets the ContactId field's value. -func (s *StartTaskContactOutput) SetContactId(v string) *StartTaskContactOutput { - s.ContactId = &v - return s +// RequestID returns the service's response RequestID for request. +func (s *ThrottlingException) RequestID() string { + return s.RespMetadata.RequestID } -type StopContactInput struct { +type UntagResourceInput struct { _ struct{} `type:"structure"` - // The ID of the contact. + // The Amazon Resource Name (ARN) of the resource. // - // ContactId is a required field - ContactId *string `min:"1" type:"string" required:"true"` + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` - // The identifier of the Amazon Connect instance. + // The tag keys. // - // InstanceId is a required field - InstanceId *string `min:"1" type:"string" required:"true"` + // TagKeys is a required field + TagKeys []*string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true"` } // String returns the string representation -func (s StopContactInput) String() string { +func (s UntagResourceInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s StopContactInput) GoString() string { +func (s UntagResourceInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *StopContactInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "StopContactInput"} - if s.ContactId == nil { - invalidParams.Add(request.NewErrParamRequired("ContactId")) +func (s *UntagResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) } - if s.ContactId != nil && len(*s.ContactId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ContactId", 1)) + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) } - if s.InstanceId == nil { - invalidParams.Add(request.NewErrParamRequired("InstanceId")) + if s.TagKeys == nil { + invalidParams.Add(request.NewErrParamRequired("TagKeys")) } - if s.InstanceId != nil && len(*s.InstanceId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + if s.TagKeys != nil && len(s.TagKeys) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1)) } if invalidParams.Len() > 0 { @@ -20045,39 +22483,43 @@ func (s *StopContactInput) Validate() error { return nil } -// SetContactId sets the ContactId field's value. -func (s *StopContactInput) SetContactId(v string) *StopContactInput { - s.ContactId = &v +// SetResourceArn sets the ResourceArn field's value. +func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput { + s.ResourceArn = &v return s } -// SetInstanceId sets the InstanceId field's value. -func (s *StopContactInput) SetInstanceId(v string) *StopContactInput { - s.InstanceId = &v +// SetTagKeys sets the TagKeys field's value. +func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput { + s.TagKeys = v return s } -type StopContactOutput struct { +type UntagResourceOutput struct { _ struct{} `type:"structure"` } // String returns the string representation -func (s StopContactOutput) String() string { +func (s UntagResourceOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s StopContactOutput) GoString() string { +func (s UntagResourceOutput) GoString() string { return s.String() } -type StopContactRecordingInput struct { +type UpdateContactAttributesInput struct { _ struct{} `type:"structure"` - // The identifier of the contact. + // The Amazon Connect attributes. These attributes can be accessed in contact + // flows just like any other contact attributes. // - // ContactId is a required field - ContactId *string `min:"1" type:"string" required:"true"` + // You can have up to 32,768 UTF-8 bytes across all attributes for a contact. + // Attribute keys can include only alphanumeric, dash, and underscore characters. + // + // Attributes is a required field + Attributes map[string]*string `type:"map" required:"true"` // The identifier of the contact. This is the identifier of the contact associated // with the first interaction with the contact center. @@ -20092,23 +22534,20 @@ type StopContactRecordingInput struct { } // String returns the string representation -func (s StopContactRecordingInput) String() string { +func (s UpdateContactAttributesInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s StopContactRecordingInput) GoString() string { +func (s UpdateContactAttributesInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *StopContactRecordingInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "StopContactRecordingInput"} - if s.ContactId == nil { - invalidParams.Add(request.NewErrParamRequired("ContactId")) - } - if s.ContactId != nil && len(*s.ContactId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ContactId", 1)) +func (s *UpdateContactAttributesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateContactAttributesInput"} + if s.Attributes == nil { + invalidParams.Add(request.NewErrParamRequired("Attributes")) } if s.InitialContactId == nil { invalidParams.Add(request.NewErrParamRequired("InitialContactId")) @@ -20129,82 +22568,80 @@ func (s *StopContactRecordingInput) Validate() error { return nil } -// SetContactId sets the ContactId field's value. -func (s *StopContactRecordingInput) SetContactId(v string) *StopContactRecordingInput { - s.ContactId = &v +// SetAttributes sets the Attributes field's value. +func (s *UpdateContactAttributesInput) SetAttributes(v map[string]*string) *UpdateContactAttributesInput { + s.Attributes = v return s } // SetInitialContactId sets the InitialContactId field's value. -func (s *StopContactRecordingInput) SetInitialContactId(v string) *StopContactRecordingInput { +func (s *UpdateContactAttributesInput) SetInitialContactId(v string) *UpdateContactAttributesInput { s.InitialContactId = &v return s } // SetInstanceId sets the InstanceId field's value. -func (s *StopContactRecordingInput) SetInstanceId(v string) *StopContactRecordingInput { +func (s *UpdateContactAttributesInput) SetInstanceId(v string) *UpdateContactAttributesInput { s.InstanceId = &v return s } -type StopContactRecordingOutput struct { +type UpdateContactAttributesOutput struct { _ struct{} `type:"structure"` } // String returns the string representation -func (s StopContactRecordingOutput) String() string { +func (s UpdateContactAttributesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s StopContactRecordingOutput) GoString() string { +func (s UpdateContactAttributesOutput) GoString() string { return s.String() } -type SuspendContactRecordingInput struct { +type UpdateContactFlowContentInput struct { _ struct{} `type:"structure"` - // The identifier of the contact. + // The identifier of the contact flow. // - // ContactId is a required field - ContactId *string `min:"1" type:"string" required:"true"` + // ContactFlowId is a required field + ContactFlowId *string `location:"uri" locationName:"ContactFlowId" type:"string" required:"true"` - // The identifier of the contact. This is the identifier of the contact associated - // with the first interaction with the contact center. + // The JSON string that represents contact flow’s content. For an example, + // see Example contact flow in Amazon Connect Flow language (https://docs.aws.amazon.com/connect/latest/adminguide/flow-language-example.html) + // in the Amazon Connect Administrator Guide. // - // InitialContactId is a required field - InitialContactId *string `min:"1" type:"string" required:"true"` + // Content is a required field + Content *string `type:"string" required:"true"` // The identifier of the Amazon Connect instance. // // InstanceId is a required field - InstanceId *string `min:"1" type:"string" required:"true"` + InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` } // String returns the string representation -func (s SuspendContactRecordingInput) String() string { +func (s UpdateContactFlowContentInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s SuspendContactRecordingInput) GoString() string { +func (s UpdateContactFlowContentInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *SuspendContactRecordingInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "SuspendContactRecordingInput"} - if s.ContactId == nil { - invalidParams.Add(request.NewErrParamRequired("ContactId")) - } - if s.ContactId != nil && len(*s.ContactId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ContactId", 1)) +func (s *UpdateContactFlowContentInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateContactFlowContentInput"} + if s.ContactFlowId == nil { + invalidParams.Add(request.NewErrParamRequired("ContactFlowId")) } - if s.InitialContactId == nil { - invalidParams.Add(request.NewErrParamRequired("InitialContactId")) + if s.ContactFlowId != nil && len(*s.ContactFlowId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContactFlowId", 1)) } - if s.InitialContactId != nil && len(*s.InitialContactId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InitialContactId", 1)) + if s.Content == nil { + invalidParams.Add(request.NewErrParamRequired("Content")) } if s.InstanceId == nil { invalidParams.Add(request.NewErrParamRequired("InstanceId")) @@ -20219,77 +22656,85 @@ func (s *SuspendContactRecordingInput) Validate() error { return nil } -// SetContactId sets the ContactId field's value. -func (s *SuspendContactRecordingInput) SetContactId(v string) *SuspendContactRecordingInput { - s.ContactId = &v +// SetContactFlowId sets the ContactFlowId field's value. +func (s *UpdateContactFlowContentInput) SetContactFlowId(v string) *UpdateContactFlowContentInput { + s.ContactFlowId = &v return s } -// SetInitialContactId sets the InitialContactId field's value. -func (s *SuspendContactRecordingInput) SetInitialContactId(v string) *SuspendContactRecordingInput { - s.InitialContactId = &v +// SetContent sets the Content field's value. +func (s *UpdateContactFlowContentInput) SetContent(v string) *UpdateContactFlowContentInput { + s.Content = &v return s } // SetInstanceId sets the InstanceId field's value. -func (s *SuspendContactRecordingInput) SetInstanceId(v string) *SuspendContactRecordingInput { +func (s *UpdateContactFlowContentInput) SetInstanceId(v string) *UpdateContactFlowContentInput { s.InstanceId = &v return s } -type SuspendContactRecordingOutput struct { +type UpdateContactFlowContentOutput struct { _ struct{} `type:"structure"` } // String returns the string representation -func (s SuspendContactRecordingOutput) String() string { +func (s UpdateContactFlowContentOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s SuspendContactRecordingOutput) GoString() string { +func (s UpdateContactFlowContentOutput) GoString() string { return s.String() } -type TagResourceInput struct { +type UpdateContactFlowNameInput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the resource. + // The identifier of the contact flow. // - // ResourceArn is a required field - ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` + // ContactFlowId is a required field + ContactFlowId *string `location:"uri" locationName:"ContactFlowId" type:"string" required:"true"` - // One or more tags. For example, { "tags": {"key1":"value1", "key2":"value2"} - // }. + // The description of the contact flow. + Description *string `type:"string"` + + // The identifier of the Amazon Connect instance. // - // Tags is a required field - Tags map[string]*string `locationName:"tags" min:"1" type:"map" required:"true"` + // InstanceId is a required field + InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` + + // The name of the contact flow. + Name *string `min:"1" type:"string"` } // String returns the string representation -func (s TagResourceInput) String() string { +func (s UpdateContactFlowNameInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s TagResourceInput) GoString() string { +func (s UpdateContactFlowNameInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *TagResourceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"} - if s.ResourceArn == nil { - invalidParams.Add(request.NewErrParamRequired("ResourceArn")) +func (s *UpdateContactFlowNameInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateContactFlowNameInput"} + if s.ContactFlowId == nil { + invalidParams.Add(request.NewErrParamRequired("ContactFlowId")) } - if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + if s.ContactFlowId != nil && len(*s.ContactFlowId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContactFlowId", 1)) + } + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) } - if s.Tags == nil { - invalidParams.Add(request.NewErrParamRequired("Tags")) + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) } - if s.Tags != nil && len(s.Tags) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) } if invalidParams.Len() > 0 { @@ -20298,159 +22743,193 @@ func (s *TagResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput { - s.ResourceArn = &v +// SetContactFlowId sets the ContactFlowId field's value. +func (s *UpdateContactFlowNameInput) SetContactFlowId(v string) *UpdateContactFlowNameInput { + s.ContactFlowId = &v return s } -// SetTags sets the Tags field's value. -func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput { - s.Tags = v +// SetDescription sets the Description field's value. +func (s *UpdateContactFlowNameInput) SetDescription(v string) *UpdateContactFlowNameInput { + s.Description = &v return s } -type TagResourceOutput struct { - _ struct{} `type:"structure"` -} - -// String returns the string representation -func (s TagResourceOutput) String() string { - return awsutil.Prettify(s) +// SetInstanceId sets the InstanceId field's value. +func (s *UpdateContactFlowNameInput) SetInstanceId(v string) *UpdateContactFlowNameInput { + s.InstanceId = &v + return s } -// GoString returns the string representation -func (s TagResourceOutput) GoString() string { - return s.String() +// SetName sets the Name field's value. +func (s *UpdateContactFlowNameInput) SetName(v string) *UpdateContactFlowNameInput { + s.Name = &v + return s } -// Contains information about the threshold for service level metrics. -type Threshold struct { +type UpdateContactFlowNameOutput struct { _ struct{} `type:"structure"` - - // The type of comparison. Only "less than" (LT) comparisons are supported. - Comparison *string `type:"string" enum:"Comparison"` - - // The threshold value to compare. - ThresholdValue *float64 `type:"double"` } // String returns the string representation -func (s Threshold) String() string { +func (s UpdateContactFlowNameOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s Threshold) GoString() string { +func (s UpdateContactFlowNameOutput) GoString() string { return s.String() } -// SetComparison sets the Comparison field's value. -func (s *Threshold) SetComparison(v string) *Threshold { - s.Comparison = &v - return s -} +type UpdateInstanceAttributeInput struct { + _ struct{} `type:"structure"` -// SetThresholdValue sets the ThresholdValue field's value. -func (s *Threshold) SetThresholdValue(v float64) *Threshold { - s.ThresholdValue = &v - return s -} + // The type of attribute. + // + // AttributeType is a required field + AttributeType *string `location:"uri" locationName:"AttributeType" type:"string" required:"true" enum:"InstanceAttributeType"` -// The throttling limit has been exceeded. -type ThrottlingException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + // The identifier of the Amazon Connect instance. + // + // InstanceId is a required field + InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - Message_ *string `locationName:"Message" type:"string"` + // The value for the attribute. Maximum character limit is 100. + // + // Value is a required field + Value *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s ThrottlingException) String() string { +func (s UpdateInstanceAttributeInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ThrottlingException) GoString() string { +func (s UpdateInstanceAttributeInput) GoString() string { return s.String() } -func newErrorThrottlingException(v protocol.ResponseMetadata) error { - return &ThrottlingException{ - RespMetadata: v, +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateInstanceAttributeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateInstanceAttributeInput"} + if s.AttributeType == nil { + invalidParams.Add(request.NewErrParamRequired("AttributeType")) + } + if s.AttributeType != nil && len(*s.AttributeType) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AttributeType", 1)) + } + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + if s.Value == nil { + invalidParams.Add(request.NewErrParamRequired("Value")) + } + if s.Value != nil && len(*s.Value) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Value", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams } + return nil } -// Code returns the exception type name. -func (s *ThrottlingException) Code() string { - return "ThrottlingException" +// SetAttributeType sets the AttributeType field's value. +func (s *UpdateInstanceAttributeInput) SetAttributeType(v string) *UpdateInstanceAttributeInput { + s.AttributeType = &v + return s } -// Message returns the exception's message. -func (s *ThrottlingException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetInstanceId sets the InstanceId field's value. +func (s *UpdateInstanceAttributeInput) SetInstanceId(v string) *UpdateInstanceAttributeInput { + s.InstanceId = &v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ThrottlingException) OrigErr() error { - return nil +// SetValue sets the Value field's value. +func (s *UpdateInstanceAttributeInput) SetValue(v string) *UpdateInstanceAttributeInput { + s.Value = &v + return s } -func (s *ThrottlingException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +type UpdateInstanceAttributeOutput struct { + _ struct{} `type:"structure"` } -// Status code returns the HTTP status code for the request's response error. -func (s *ThrottlingException) StatusCode() int { - return s.RespMetadata.StatusCode +// String returns the string representation +func (s UpdateInstanceAttributeOutput) String() string { + return awsutil.Prettify(s) } -// RequestID returns the service's response RequestID for request. -func (s *ThrottlingException) RequestID() string { - return s.RespMetadata.RequestID +// GoString returns the string representation +func (s UpdateInstanceAttributeOutput) GoString() string { + return s.String() } -type UntagResourceInput struct { +type UpdateInstanceStorageConfigInput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the resource. + // The existing association identifier that uniquely identifies the resource + // type and storage config for the given instance ID. // - // ResourceArn is a required field - ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` + // AssociationId is a required field + AssociationId *string `location:"uri" locationName:"AssociationId" min:"1" type:"string" required:"true"` - // The tag keys. + // The identifier of the Amazon Connect instance. // - // TagKeys is a required field - TagKeys []*string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true"` + // InstanceId is a required field + InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` + + // A valid resource type. + // + // ResourceType is a required field + ResourceType *string `location:"querystring" locationName:"resourceType" type:"string" required:"true" enum:"InstanceStorageResourceType"` + + // The storage configuration for the instance. + // + // StorageConfig is a required field + StorageConfig *InstanceStorageConfig `type:"structure" required:"true"` } // String returns the string representation -func (s UntagResourceInput) String() string { +func (s UpdateInstanceStorageConfigInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s UntagResourceInput) GoString() string { +func (s UpdateInstanceStorageConfigInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UntagResourceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"} - if s.ResourceArn == nil { - invalidParams.Add(request.NewErrParamRequired("ResourceArn")) +func (s *UpdateInstanceStorageConfigInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateInstanceStorageConfigInput"} + if s.AssociationId == nil { + invalidParams.Add(request.NewErrParamRequired("AssociationId")) } - if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + if s.AssociationId != nil && len(*s.AssociationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AssociationId", 1)) } - if s.TagKeys == nil { - invalidParams.Add(request.NewErrParamRequired("TagKeys")) + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) } - if s.TagKeys != nil && len(s.TagKeys) < 1 { - invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1)) + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + if s.ResourceType == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceType")) + } + if s.StorageConfig == nil { + invalidParams.Add(request.NewErrParamRequired("StorageConfig")) + } + if s.StorageConfig != nil { + if err := s.StorageConfig.Validate(); err != nil { + invalidParams.AddNested("StorageConfig", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -20459,77 +22938,78 @@ func (s *UntagResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput { - s.ResourceArn = &v +// SetAssociationId sets the AssociationId field's value. +func (s *UpdateInstanceStorageConfigInput) SetAssociationId(v string) *UpdateInstanceStorageConfigInput { + s.AssociationId = &v return s } -// SetTagKeys sets the TagKeys field's value. -func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput { - s.TagKeys = v +// SetInstanceId sets the InstanceId field's value. +func (s *UpdateInstanceStorageConfigInput) SetInstanceId(v string) *UpdateInstanceStorageConfigInput { + s.InstanceId = &v return s } -type UntagResourceOutput struct { +// SetResourceType sets the ResourceType field's value. +func (s *UpdateInstanceStorageConfigInput) SetResourceType(v string) *UpdateInstanceStorageConfigInput { + s.ResourceType = &v + return s +} + +// SetStorageConfig sets the StorageConfig field's value. +func (s *UpdateInstanceStorageConfigInput) SetStorageConfig(v *InstanceStorageConfig) *UpdateInstanceStorageConfigInput { + s.StorageConfig = v + return s +} + +type UpdateInstanceStorageConfigOutput struct { _ struct{} `type:"structure"` } // String returns the string representation -func (s UntagResourceOutput) String() string { +func (s UpdateInstanceStorageConfigOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s UntagResourceOutput) GoString() string { +func (s UpdateInstanceStorageConfigOutput) GoString() string { return s.String() } -type UpdateContactAttributesInput struct { +type UpdateQueueHoursOfOperationInput struct { _ struct{} `type:"structure"` - // The Amazon Connect attributes. These attributes can be accessed in contact - // flows just like any other contact attributes. - // - // You can have up to 32,768 UTF-8 bytes across all attributes for a contact. - // Attribute keys can include only alphanumeric, dash, and underscore characters. - // - // Attributes is a required field - Attributes map[string]*string `type:"map" required:"true"` - - // The identifier of the contact. This is the identifier of the contact associated - // with the first interaction with the contact center. + // The identifier for the hours of operation. // - // InitialContactId is a required field - InitialContactId *string `min:"1" type:"string" required:"true"` + // HoursOfOperationId is a required field + HoursOfOperationId *string `type:"string" required:"true"` // The identifier of the Amazon Connect instance. // // InstanceId is a required field - InstanceId *string `min:"1" type:"string" required:"true"` + InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` + + // The identifier for the queue. + // + // QueueId is a required field + QueueId *string `location:"uri" locationName:"QueueId" type:"string" required:"true"` } // String returns the string representation -func (s UpdateContactAttributesInput) String() string { +func (s UpdateQueueHoursOfOperationInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s UpdateContactAttributesInput) GoString() string { +func (s UpdateQueueHoursOfOperationInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateContactAttributesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateContactAttributesInput"} - if s.Attributes == nil { - invalidParams.Add(request.NewErrParamRequired("Attributes")) - } - if s.InitialContactId == nil { - invalidParams.Add(request.NewErrParamRequired("InitialContactId")) - } - if s.InitialContactId != nil && len(*s.InitialContactId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InitialContactId", 1)) +func (s *UpdateQueueHoursOfOperationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateQueueHoursOfOperationInput"} + if s.HoursOfOperationId == nil { + invalidParams.Add(request.NewErrParamRequired("HoursOfOperationId")) } if s.InstanceId == nil { invalidParams.Add(request.NewErrParamRequired("InstanceId")) @@ -20537,6 +23017,12 @@ func (s *UpdateContactAttributesInput) Validate() error { if s.InstanceId != nil && len(*s.InstanceId) < 1 { invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) } + if s.QueueId == nil { + invalidParams.Add(request.NewErrParamRequired("QueueId")) + } + if s.QueueId != nil && len(*s.QueueId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("QueueId", 1)) + } if invalidParams.Len() > 0 { return invalidParams @@ -20544,87 +23030,86 @@ func (s *UpdateContactAttributesInput) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *UpdateContactAttributesInput) SetAttributes(v map[string]*string) *UpdateContactAttributesInput { - s.Attributes = v +// SetHoursOfOperationId sets the HoursOfOperationId field's value. +func (s *UpdateQueueHoursOfOperationInput) SetHoursOfOperationId(v string) *UpdateQueueHoursOfOperationInput { + s.HoursOfOperationId = &v return s } -// SetInitialContactId sets the InitialContactId field's value. -func (s *UpdateContactAttributesInput) SetInitialContactId(v string) *UpdateContactAttributesInput { - s.InitialContactId = &v +// SetInstanceId sets the InstanceId field's value. +func (s *UpdateQueueHoursOfOperationInput) SetInstanceId(v string) *UpdateQueueHoursOfOperationInput { + s.InstanceId = &v return s } -// SetInstanceId sets the InstanceId field's value. -func (s *UpdateContactAttributesInput) SetInstanceId(v string) *UpdateContactAttributesInput { - s.InstanceId = &v +// SetQueueId sets the QueueId field's value. +func (s *UpdateQueueHoursOfOperationInput) SetQueueId(v string) *UpdateQueueHoursOfOperationInput { + s.QueueId = &v return s } -type UpdateContactAttributesOutput struct { +type UpdateQueueHoursOfOperationOutput struct { _ struct{} `type:"structure"` } // String returns the string representation -func (s UpdateContactAttributesOutput) String() string { +func (s UpdateQueueHoursOfOperationOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s UpdateContactAttributesOutput) GoString() string { +func (s UpdateQueueHoursOfOperationOutput) GoString() string { return s.String() } -type UpdateContactFlowContentInput struct { +type UpdateQueueMaxContactsInput struct { _ struct{} `type:"structure"` - // The identifier of the contact flow. + // The identifier of the Amazon Connect instance. // - // ContactFlowId is a required field - ContactFlowId *string `location:"uri" locationName:"ContactFlowId" type:"string" required:"true"` + // InstanceId is a required field + InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // The JSON string that represents contact flow’s content. For an example, - // see Example contact flow in Amazon Connect Flow language (https://docs.aws.amazon.com/connect/latest/adminguide/flow-language-example.html) - // in the Amazon Connect Administrator Guide. + // The maximum number of contacts that can be in the queue before it is considered + // full. // - // Content is a required field - Content *string `type:"string" required:"true"` + // MaxContacts is a required field + MaxContacts *int64 `type:"integer" required:"true"` - // The identifier of the Amazon Connect instance. + // The identifier for the queue. // - // InstanceId is a required field - InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` + // QueueId is a required field + QueueId *string `location:"uri" locationName:"QueueId" type:"string" required:"true"` } // String returns the string representation -func (s UpdateContactFlowContentInput) String() string { +func (s UpdateQueueMaxContactsInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s UpdateContactFlowContentInput) GoString() string { +func (s UpdateQueueMaxContactsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateContactFlowContentInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateContactFlowContentInput"} - if s.ContactFlowId == nil { - invalidParams.Add(request.NewErrParamRequired("ContactFlowId")) - } - if s.ContactFlowId != nil && len(*s.ContactFlowId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ContactFlowId", 1)) - } - if s.Content == nil { - invalidParams.Add(request.NewErrParamRequired("Content")) - } +func (s *UpdateQueueMaxContactsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateQueueMaxContactsInput"} if s.InstanceId == nil { invalidParams.Add(request.NewErrParamRequired("InstanceId")) } if s.InstanceId != nil && len(*s.InstanceId) < 1 { invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) } + if s.MaxContacts == nil { + invalidParams.Add(request.NewErrParamRequired("MaxContacts")) + } + if s.QueueId == nil { + invalidParams.Add(request.NewErrParamRequired("QueueId")) + } + if s.QueueId != nil && len(*s.QueueId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("QueueId", 1)) + } if invalidParams.Len() > 0 { return invalidParams @@ -20632,76 +23117,73 @@ func (s *UpdateContactFlowContentInput) Validate() error { return nil } -// SetContactFlowId sets the ContactFlowId field's value. -func (s *UpdateContactFlowContentInput) SetContactFlowId(v string) *UpdateContactFlowContentInput { - s.ContactFlowId = &v +// SetInstanceId sets the InstanceId field's value. +func (s *UpdateQueueMaxContactsInput) SetInstanceId(v string) *UpdateQueueMaxContactsInput { + s.InstanceId = &v return s } -// SetContent sets the Content field's value. -func (s *UpdateContactFlowContentInput) SetContent(v string) *UpdateContactFlowContentInput { - s.Content = &v +// SetMaxContacts sets the MaxContacts field's value. +func (s *UpdateQueueMaxContactsInput) SetMaxContacts(v int64) *UpdateQueueMaxContactsInput { + s.MaxContacts = &v return s } -// SetInstanceId sets the InstanceId field's value. -func (s *UpdateContactFlowContentInput) SetInstanceId(v string) *UpdateContactFlowContentInput { - s.InstanceId = &v +// SetQueueId sets the QueueId field's value. +func (s *UpdateQueueMaxContactsInput) SetQueueId(v string) *UpdateQueueMaxContactsInput { + s.QueueId = &v return s } -type UpdateContactFlowContentOutput struct { +type UpdateQueueMaxContactsOutput struct { _ struct{} `type:"structure"` } // String returns the string representation -func (s UpdateContactFlowContentOutput) String() string { +func (s UpdateQueueMaxContactsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s UpdateContactFlowContentOutput) GoString() string { +func (s UpdateQueueMaxContactsOutput) GoString() string { return s.String() } -type UpdateContactFlowNameInput struct { +type UpdateQueueNameInput struct { _ struct{} `type:"structure"` - // The identifier of the contact flow. - // - // ContactFlowId is a required field - ContactFlowId *string `location:"uri" locationName:"ContactFlowId" type:"string" required:"true"` - - // The description of the contact flow. - Description *string `type:"string"` + // The description of the queue. + Description *string `min:"1" type:"string"` // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // The name of the contact flow. + // The name of the queue. Name *string `min:"1" type:"string"` + + // The identifier for the queue. + // + // QueueId is a required field + QueueId *string `location:"uri" locationName:"QueueId" type:"string" required:"true"` } // String returns the string representation -func (s UpdateContactFlowNameInput) String() string { +func (s UpdateQueueNameInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s UpdateContactFlowNameInput) GoString() string { +func (s UpdateQueueNameInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateContactFlowNameInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateContactFlowNameInput"} - if s.ContactFlowId == nil { - invalidParams.Add(request.NewErrParamRequired("ContactFlowId")) - } - if s.ContactFlowId != nil && len(*s.ContactFlowId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ContactFlowId", 1)) +func (s *UpdateQueueNameInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateQueueNameInput"} + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) } if s.InstanceId == nil { invalidParams.Add(request.NewErrParamRequired("InstanceId")) @@ -20712,6 +23194,12 @@ func (s *UpdateContactFlowNameInput) Validate() error { if s.Name != nil && len(*s.Name) < 1 { invalidParams.Add(request.NewErrParamMinLen("Name", 1)) } + if s.QueueId == nil { + invalidParams.Add(request.NewErrParamRequired("QueueId")) + } + if s.QueueId != nil && len(*s.QueueId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("QueueId", 1)) + } if invalidParams.Len() > 0 { return invalidParams @@ -20719,93 +23207,95 @@ func (s *UpdateContactFlowNameInput) Validate() error { return nil } -// SetContactFlowId sets the ContactFlowId field's value. -func (s *UpdateContactFlowNameInput) SetContactFlowId(v string) *UpdateContactFlowNameInput { - s.ContactFlowId = &v - return s -} - // SetDescription sets the Description field's value. -func (s *UpdateContactFlowNameInput) SetDescription(v string) *UpdateContactFlowNameInput { +func (s *UpdateQueueNameInput) SetDescription(v string) *UpdateQueueNameInput { s.Description = &v return s } // SetInstanceId sets the InstanceId field's value. -func (s *UpdateContactFlowNameInput) SetInstanceId(v string) *UpdateContactFlowNameInput { +func (s *UpdateQueueNameInput) SetInstanceId(v string) *UpdateQueueNameInput { s.InstanceId = &v return s } // SetName sets the Name field's value. -func (s *UpdateContactFlowNameInput) SetName(v string) *UpdateContactFlowNameInput { +func (s *UpdateQueueNameInput) SetName(v string) *UpdateQueueNameInput { s.Name = &v return s } -type UpdateContactFlowNameOutput struct { +// SetQueueId sets the QueueId field's value. +func (s *UpdateQueueNameInput) SetQueueId(v string) *UpdateQueueNameInput { + s.QueueId = &v + return s +} + +type UpdateQueueNameOutput struct { _ struct{} `type:"structure"` } // String returns the string representation -func (s UpdateContactFlowNameOutput) String() string { +func (s UpdateQueueNameOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s UpdateContactFlowNameOutput) GoString() string { +func (s UpdateQueueNameOutput) GoString() string { return s.String() } -type UpdateInstanceAttributeInput struct { +type UpdateQueueOutboundCallerConfigInput struct { _ struct{} `type:"structure"` - // The type of attribute. - // - // AttributeType is a required field - AttributeType *string `location:"uri" locationName:"AttributeType" type:"string" required:"true" enum:"InstanceAttributeType"` - // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // The value for the attribute. Maximum character limit is 100. + // The outbound caller ID name, number, and outbound whisper flow. // - // Value is a required field - Value *string `min:"1" type:"string" required:"true"` + // OutboundCallerConfig is a required field + OutboundCallerConfig *OutboundCallerConfig `type:"structure" required:"true"` + + // The identifier for the queue. + // + // QueueId is a required field + QueueId *string `location:"uri" locationName:"QueueId" type:"string" required:"true"` } // String returns the string representation -func (s UpdateInstanceAttributeInput) String() string { +func (s UpdateQueueOutboundCallerConfigInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s UpdateInstanceAttributeInput) GoString() string { +func (s UpdateQueueOutboundCallerConfigInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateInstanceAttributeInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateInstanceAttributeInput"} - if s.AttributeType == nil { - invalidParams.Add(request.NewErrParamRequired("AttributeType")) - } - if s.AttributeType != nil && len(*s.AttributeType) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AttributeType", 1)) - } +func (s *UpdateQueueOutboundCallerConfigInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateQueueOutboundCallerConfigInput"} if s.InstanceId == nil { invalidParams.Add(request.NewErrParamRequired("InstanceId")) } if s.InstanceId != nil && len(*s.InstanceId) < 1 { invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) } - if s.Value == nil { - invalidParams.Add(request.NewErrParamRequired("Value")) + if s.OutboundCallerConfig == nil { + invalidParams.Add(request.NewErrParamRequired("OutboundCallerConfig")) } - if s.Value != nil && len(*s.Value) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Value", 1)) + if s.QueueId == nil { + invalidParams.Add(request.NewErrParamRequired("QueueId")) + } + if s.QueueId != nil && len(*s.QueueId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("QueueId", 1)) + } + if s.OutboundCallerConfig != nil { + if err := s.OutboundCallerConfig.Validate(); err != nil { + invalidParams.AddNested("OutboundCallerConfig", err.(request.ErrInvalidParams)) + } } if invalidParams.Len() > 0 { @@ -20814,98 +23304,84 @@ func (s *UpdateInstanceAttributeInput) Validate() error { return nil } -// SetAttributeType sets the AttributeType field's value. -func (s *UpdateInstanceAttributeInput) SetAttributeType(v string) *UpdateInstanceAttributeInput { - s.AttributeType = &v +// SetInstanceId sets the InstanceId field's value. +func (s *UpdateQueueOutboundCallerConfigInput) SetInstanceId(v string) *UpdateQueueOutboundCallerConfigInput { + s.InstanceId = &v return s } -// SetInstanceId sets the InstanceId field's value. -func (s *UpdateInstanceAttributeInput) SetInstanceId(v string) *UpdateInstanceAttributeInput { - s.InstanceId = &v +// SetOutboundCallerConfig sets the OutboundCallerConfig field's value. +func (s *UpdateQueueOutboundCallerConfigInput) SetOutboundCallerConfig(v *OutboundCallerConfig) *UpdateQueueOutboundCallerConfigInput { + s.OutboundCallerConfig = v return s } -// SetValue sets the Value field's value. -func (s *UpdateInstanceAttributeInput) SetValue(v string) *UpdateInstanceAttributeInput { - s.Value = &v +// SetQueueId sets the QueueId field's value. +func (s *UpdateQueueOutboundCallerConfigInput) SetQueueId(v string) *UpdateQueueOutboundCallerConfigInput { + s.QueueId = &v return s } -type UpdateInstanceAttributeOutput struct { +type UpdateQueueOutboundCallerConfigOutput struct { _ struct{} `type:"structure"` } // String returns the string representation -func (s UpdateInstanceAttributeOutput) String() string { +func (s UpdateQueueOutboundCallerConfigOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s UpdateInstanceAttributeOutput) GoString() string { +func (s UpdateQueueOutboundCallerConfigOutput) GoString() string { return s.String() } -type UpdateInstanceStorageConfigInput struct { +type UpdateQueueStatusInput struct { _ struct{} `type:"structure"` - // The existing association identifier that uniquely identifies the resource - // type and storage config for the given instance ID. - // - // AssociationId is a required field - AssociationId *string `location:"uri" locationName:"AssociationId" min:"1" type:"string" required:"true"` - // The identifier of the Amazon Connect instance. // // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // A valid resource type. + // The identifier for the queue. // - // ResourceType is a required field - ResourceType *string `location:"querystring" locationName:"resourceType" type:"string" required:"true" enum:"InstanceStorageResourceType"` + // QueueId is a required field + QueueId *string `location:"uri" locationName:"QueueId" type:"string" required:"true"` - // The storage configuration for the instance. + // The status of the queue. // - // StorageConfig is a required field - StorageConfig *InstanceStorageConfig `type:"structure" required:"true"` + // Status is a required field + Status *string `type:"string" required:"true" enum:"QueueStatus"` } // String returns the string representation -func (s UpdateInstanceStorageConfigInput) String() string { +func (s UpdateQueueStatusInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s UpdateInstanceStorageConfigInput) GoString() string { +func (s UpdateQueueStatusInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateInstanceStorageConfigInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateInstanceStorageConfigInput"} - if s.AssociationId == nil { - invalidParams.Add(request.NewErrParamRequired("AssociationId")) - } - if s.AssociationId != nil && len(*s.AssociationId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AssociationId", 1)) - } +func (s *UpdateQueueStatusInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateQueueStatusInput"} if s.InstanceId == nil { invalidParams.Add(request.NewErrParamRequired("InstanceId")) } if s.InstanceId != nil && len(*s.InstanceId) < 1 { invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) } - if s.ResourceType == nil { - invalidParams.Add(request.NewErrParamRequired("ResourceType")) + if s.QueueId == nil { + invalidParams.Add(request.NewErrParamRequired("QueueId")) } - if s.StorageConfig == nil { - invalidParams.Add(request.NewErrParamRequired("StorageConfig")) + if s.QueueId != nil && len(*s.QueueId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("QueueId", 1)) } - if s.StorageConfig != nil { - if err := s.StorageConfig.Validate(); err != nil { - invalidParams.AddNested("StorageConfig", err.(request.ErrInvalidParams)) - } + if s.Status == nil { + invalidParams.Add(request.NewErrParamRequired("Status")) } if invalidParams.Len() > 0 { @@ -20914,41 +23390,35 @@ func (s *UpdateInstanceStorageConfigInput) Validate() error { return nil } -// SetAssociationId sets the AssociationId field's value. -func (s *UpdateInstanceStorageConfigInput) SetAssociationId(v string) *UpdateInstanceStorageConfigInput { - s.AssociationId = &v - return s -} - // SetInstanceId sets the InstanceId field's value. -func (s *UpdateInstanceStorageConfigInput) SetInstanceId(v string) *UpdateInstanceStorageConfigInput { +func (s *UpdateQueueStatusInput) SetInstanceId(v string) *UpdateQueueStatusInput { s.InstanceId = &v return s } -// SetResourceType sets the ResourceType field's value. -func (s *UpdateInstanceStorageConfigInput) SetResourceType(v string) *UpdateInstanceStorageConfigInput { - s.ResourceType = &v +// SetQueueId sets the QueueId field's value. +func (s *UpdateQueueStatusInput) SetQueueId(v string) *UpdateQueueStatusInput { + s.QueueId = &v return s } -// SetStorageConfig sets the StorageConfig field's value. -func (s *UpdateInstanceStorageConfigInput) SetStorageConfig(v *InstanceStorageConfig) *UpdateInstanceStorageConfigInput { - s.StorageConfig = v +// SetStatus sets the Status field's value. +func (s *UpdateQueueStatusInput) SetStatus(v string) *UpdateQueueStatusInput { + s.Status = &v return s } -type UpdateInstanceStorageConfigOutput struct { +type UpdateQueueStatusOutput struct { _ struct{} `type:"structure"` } // String returns the string representation -func (s UpdateInstanceStorageConfigOutput) String() string { +func (s UpdateQueueStatusOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s UpdateInstanceStorageConfigOutput) GoString() string { +func (s UpdateQueueStatusOutput) GoString() string { return s.String() } @@ -21144,7 +23614,7 @@ type UpdateRoutingProfileConcurrencyInput struct { // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // The channels agents can handle in the Contact Control Panel (CCP). + // The channels that agents can handle in the Contact Control Panel (CCP). // // MediaConcurrencies is a required field MediaConcurrencies []*MediaConcurrency `type:"list" required:"true"` @@ -22857,6 +25327,42 @@ func HistoricalMetricName_Values() []string { } } +const ( + // HoursOfOperationDaysSunday is a HoursOfOperationDays enum value + HoursOfOperationDaysSunday = "SUNDAY" + + // HoursOfOperationDaysMonday is a HoursOfOperationDays enum value + HoursOfOperationDaysMonday = "MONDAY" + + // HoursOfOperationDaysTuesday is a HoursOfOperationDays enum value + HoursOfOperationDaysTuesday = "TUESDAY" + + // HoursOfOperationDaysWednesday is a HoursOfOperationDays enum value + HoursOfOperationDaysWednesday = "WEDNESDAY" + + // HoursOfOperationDaysThursday is a HoursOfOperationDays enum value + HoursOfOperationDaysThursday = "THURSDAY" + + // HoursOfOperationDaysFriday is a HoursOfOperationDays enum value + HoursOfOperationDaysFriday = "FRIDAY" + + // HoursOfOperationDaysSaturday is a HoursOfOperationDays enum value + HoursOfOperationDaysSaturday = "SATURDAY" +) + +// HoursOfOperationDays_Values returns all elements of the HoursOfOperationDays enum +func HoursOfOperationDays_Values() []string { + return []string{ + HoursOfOperationDaysSunday, + HoursOfOperationDaysMonday, + HoursOfOperationDaysTuesday, + HoursOfOperationDaysWednesday, + HoursOfOperationDaysThursday, + HoursOfOperationDaysFriday, + HoursOfOperationDaysSaturday, + } +} + const ( // InstanceAttributeTypeInboundCalls is a InstanceAttributeType enum value InstanceAttributeTypeInboundCalls = "INBOUND_CALLS" @@ -23945,6 +26451,22 @@ func PhoneType_Values() []string { } } +const ( + // QueueStatusEnabled is a QueueStatus enum value + QueueStatusEnabled = "ENABLED" + + // QueueStatusDisabled is a QueueStatus enum value + QueueStatusDisabled = "DISABLED" +) + +// QueueStatus_Values returns all elements of the QueueStatus enum +func QueueStatus_Values() []string { + return []string{ + QueueStatusEnabled, + QueueStatusDisabled, + } +} + const ( // QueueTypeStandard is a QueueType enum value QueueTypeStandard = "STANDARD" diff --git a/service/connect/connectiface/interface.go b/service/connect/connectiface/interface.go index 32c5cb812fa..0429153cc61 100644 --- a/service/connect/connectiface/interface.go +++ b/service/connect/connectiface/interface.go @@ -76,6 +76,10 @@ type ConnectAPI interface { AssociateLexBotWithContext(aws.Context, *connect.AssociateLexBotInput, ...request.Option) (*connect.AssociateLexBotOutput, error) AssociateLexBotRequest(*connect.AssociateLexBotInput) (*request.Request, *connect.AssociateLexBotOutput) + AssociateQueueQuickConnects(*connect.AssociateQueueQuickConnectsInput) (*connect.AssociateQueueQuickConnectsOutput, error) + AssociateQueueQuickConnectsWithContext(aws.Context, *connect.AssociateQueueQuickConnectsInput, ...request.Option) (*connect.AssociateQueueQuickConnectsOutput, error) + AssociateQueueQuickConnectsRequest(*connect.AssociateQueueQuickConnectsInput) (*request.Request, *connect.AssociateQueueQuickConnectsOutput) + AssociateRoutingProfileQueues(*connect.AssociateRoutingProfileQueuesInput) (*connect.AssociateRoutingProfileQueuesOutput, error) AssociateRoutingProfileQueuesWithContext(aws.Context, *connect.AssociateRoutingProfileQueuesInput, ...request.Option) (*connect.AssociateRoutingProfileQueuesOutput, error) AssociateRoutingProfileQueuesRequest(*connect.AssociateRoutingProfileQueuesInput) (*request.Request, *connect.AssociateRoutingProfileQueuesOutput) @@ -96,6 +100,10 @@ type ConnectAPI interface { CreateIntegrationAssociationWithContext(aws.Context, *connect.CreateIntegrationAssociationInput, ...request.Option) (*connect.CreateIntegrationAssociationOutput, error) CreateIntegrationAssociationRequest(*connect.CreateIntegrationAssociationInput) (*request.Request, *connect.CreateIntegrationAssociationOutput) + CreateQueue(*connect.CreateQueueInput) (*connect.CreateQueueOutput, error) + CreateQueueWithContext(aws.Context, *connect.CreateQueueInput, ...request.Option) (*connect.CreateQueueOutput, error) + CreateQueueRequest(*connect.CreateQueueInput) (*request.Request, *connect.CreateQueueOutput) + CreateQuickConnect(*connect.CreateQuickConnectInput) (*connect.CreateQuickConnectOutput, error) CreateQuickConnectWithContext(aws.Context, *connect.CreateQuickConnectInput, ...request.Option) (*connect.CreateQuickConnectOutput, error) CreateQuickConnectRequest(*connect.CreateQuickConnectInput) (*request.Request, *connect.CreateQuickConnectOutput) @@ -144,6 +152,10 @@ type ConnectAPI interface { DescribeContactFlowWithContext(aws.Context, *connect.DescribeContactFlowInput, ...request.Option) (*connect.DescribeContactFlowOutput, error) DescribeContactFlowRequest(*connect.DescribeContactFlowInput) (*request.Request, *connect.DescribeContactFlowOutput) + DescribeHoursOfOperation(*connect.DescribeHoursOfOperationInput) (*connect.DescribeHoursOfOperationOutput, error) + DescribeHoursOfOperationWithContext(aws.Context, *connect.DescribeHoursOfOperationInput, ...request.Option) (*connect.DescribeHoursOfOperationOutput, error) + DescribeHoursOfOperationRequest(*connect.DescribeHoursOfOperationInput) (*request.Request, *connect.DescribeHoursOfOperationOutput) + DescribeInstance(*connect.DescribeInstanceInput) (*connect.DescribeInstanceOutput, error) DescribeInstanceWithContext(aws.Context, *connect.DescribeInstanceInput, ...request.Option) (*connect.DescribeInstanceOutput, error) DescribeInstanceRequest(*connect.DescribeInstanceInput) (*request.Request, *connect.DescribeInstanceOutput) @@ -156,6 +168,10 @@ type ConnectAPI interface { DescribeInstanceStorageConfigWithContext(aws.Context, *connect.DescribeInstanceStorageConfigInput, ...request.Option) (*connect.DescribeInstanceStorageConfigOutput, error) DescribeInstanceStorageConfigRequest(*connect.DescribeInstanceStorageConfigInput) (*request.Request, *connect.DescribeInstanceStorageConfigOutput) + DescribeQueue(*connect.DescribeQueueInput) (*connect.DescribeQueueOutput, error) + DescribeQueueWithContext(aws.Context, *connect.DescribeQueueInput, ...request.Option) (*connect.DescribeQueueOutput, error) + DescribeQueueRequest(*connect.DescribeQueueInput) (*request.Request, *connect.DescribeQueueOutput) + DescribeQuickConnect(*connect.DescribeQuickConnectInput) (*connect.DescribeQuickConnectOutput, error) DescribeQuickConnectWithContext(aws.Context, *connect.DescribeQuickConnectInput, ...request.Option) (*connect.DescribeQuickConnectOutput, error) DescribeQuickConnectRequest(*connect.DescribeQuickConnectInput) (*request.Request, *connect.DescribeQuickConnectOutput) @@ -192,6 +208,10 @@ type ConnectAPI interface { DisassociateLexBotWithContext(aws.Context, *connect.DisassociateLexBotInput, ...request.Option) (*connect.DisassociateLexBotOutput, error) DisassociateLexBotRequest(*connect.DisassociateLexBotInput) (*request.Request, *connect.DisassociateLexBotOutput) + DisassociateQueueQuickConnects(*connect.DisassociateQueueQuickConnectsInput) (*connect.DisassociateQueueQuickConnectsOutput, error) + DisassociateQueueQuickConnectsWithContext(aws.Context, *connect.DisassociateQueueQuickConnectsInput, ...request.Option) (*connect.DisassociateQueueQuickConnectsOutput, error) + DisassociateQueueQuickConnectsRequest(*connect.DisassociateQueueQuickConnectsInput) (*request.Request, *connect.DisassociateQueueQuickConnectsOutput) + DisassociateRoutingProfileQueues(*connect.DisassociateRoutingProfileQueuesInput) (*connect.DisassociateRoutingProfileQueuesOutput, error) DisassociateRoutingProfileQueuesWithContext(aws.Context, *connect.DisassociateRoutingProfileQueuesInput, ...request.Option) (*connect.DisassociateRoutingProfileQueuesOutput, error) DisassociateRoutingProfileQueuesRequest(*connect.DisassociateRoutingProfileQueuesInput) (*request.Request, *connect.DisassociateRoutingProfileQueuesOutput) @@ -299,6 +319,13 @@ type ConnectAPI interface { ListPromptsPages(*connect.ListPromptsInput, func(*connect.ListPromptsOutput, bool) bool) error ListPromptsPagesWithContext(aws.Context, *connect.ListPromptsInput, func(*connect.ListPromptsOutput, bool) bool, ...request.Option) error + ListQueueQuickConnects(*connect.ListQueueQuickConnectsInput) (*connect.ListQueueQuickConnectsOutput, error) + ListQueueQuickConnectsWithContext(aws.Context, *connect.ListQueueQuickConnectsInput, ...request.Option) (*connect.ListQueueQuickConnectsOutput, error) + ListQueueQuickConnectsRequest(*connect.ListQueueQuickConnectsInput) (*request.Request, *connect.ListQueueQuickConnectsOutput) + + ListQueueQuickConnectsPages(*connect.ListQueueQuickConnectsInput, func(*connect.ListQueueQuickConnectsOutput, bool) bool) error + ListQueueQuickConnectsPagesWithContext(aws.Context, *connect.ListQueueQuickConnectsInput, func(*connect.ListQueueQuickConnectsOutput, bool) bool, ...request.Option) error + ListQueues(*connect.ListQueuesInput) (*connect.ListQueuesOutput, error) ListQueuesWithContext(aws.Context, *connect.ListQueuesInput, ...request.Option) (*connect.ListQueuesOutput, error) ListQueuesRequest(*connect.ListQueuesInput) (*request.Request, *connect.ListQueuesOutput) @@ -426,6 +453,26 @@ type ConnectAPI interface { UpdateInstanceStorageConfigWithContext(aws.Context, *connect.UpdateInstanceStorageConfigInput, ...request.Option) (*connect.UpdateInstanceStorageConfigOutput, error) UpdateInstanceStorageConfigRequest(*connect.UpdateInstanceStorageConfigInput) (*request.Request, *connect.UpdateInstanceStorageConfigOutput) + UpdateQueueHoursOfOperation(*connect.UpdateQueueHoursOfOperationInput) (*connect.UpdateQueueHoursOfOperationOutput, error) + UpdateQueueHoursOfOperationWithContext(aws.Context, *connect.UpdateQueueHoursOfOperationInput, ...request.Option) (*connect.UpdateQueueHoursOfOperationOutput, error) + UpdateQueueHoursOfOperationRequest(*connect.UpdateQueueHoursOfOperationInput) (*request.Request, *connect.UpdateQueueHoursOfOperationOutput) + + UpdateQueueMaxContacts(*connect.UpdateQueueMaxContactsInput) (*connect.UpdateQueueMaxContactsOutput, error) + UpdateQueueMaxContactsWithContext(aws.Context, *connect.UpdateQueueMaxContactsInput, ...request.Option) (*connect.UpdateQueueMaxContactsOutput, error) + UpdateQueueMaxContactsRequest(*connect.UpdateQueueMaxContactsInput) (*request.Request, *connect.UpdateQueueMaxContactsOutput) + + UpdateQueueName(*connect.UpdateQueueNameInput) (*connect.UpdateQueueNameOutput, error) + UpdateQueueNameWithContext(aws.Context, *connect.UpdateQueueNameInput, ...request.Option) (*connect.UpdateQueueNameOutput, error) + UpdateQueueNameRequest(*connect.UpdateQueueNameInput) (*request.Request, *connect.UpdateQueueNameOutput) + + UpdateQueueOutboundCallerConfig(*connect.UpdateQueueOutboundCallerConfigInput) (*connect.UpdateQueueOutboundCallerConfigOutput, error) + UpdateQueueOutboundCallerConfigWithContext(aws.Context, *connect.UpdateQueueOutboundCallerConfigInput, ...request.Option) (*connect.UpdateQueueOutboundCallerConfigOutput, error) + UpdateQueueOutboundCallerConfigRequest(*connect.UpdateQueueOutboundCallerConfigInput) (*request.Request, *connect.UpdateQueueOutboundCallerConfigOutput) + + UpdateQueueStatus(*connect.UpdateQueueStatusInput) (*connect.UpdateQueueStatusOutput, error) + UpdateQueueStatusWithContext(aws.Context, *connect.UpdateQueueStatusInput, ...request.Option) (*connect.UpdateQueueStatusOutput, error) + UpdateQueueStatusRequest(*connect.UpdateQueueStatusInput) (*request.Request, *connect.UpdateQueueStatusOutput) + UpdateQuickConnectConfig(*connect.UpdateQuickConnectConfigInput) (*connect.UpdateQuickConnectConfigOutput, error) UpdateQuickConnectConfigWithContext(aws.Context, *connect.UpdateQuickConnectConfigInput, ...request.Option) (*connect.UpdateQuickConnectConfigOutput, error) UpdateQuickConnectConfigRequest(*connect.UpdateQuickConnectConfigInput) (*request.Request, *connect.UpdateQuickConnectConfigOutput) diff --git a/service/connect/doc.go b/service/connect/doc.go index 3182c820b10..d50379048e7 100644 --- a/service/connect/doc.go +++ b/service/connect/doc.go @@ -3,21 +3,21 @@ // Package connect provides the client and types for making API // requests to Amazon Connect Service. // -// Amazon Connect is a cloud-based contact center solution that makes it easy -// to set up and manage a customer contact center and provide reliable customer -// engagement at any scale. +// Amazon Connect is a cloud-based contact center solution that you use to set +// up and manage a customer contact center and provide reliable customer engagement +// at any scale. // -// Amazon Connect provides rich metrics and real-time reporting that allow you -// to optimize contact routing. You can also resolve customer issues more efficiently -// by putting customers in touch with the right agents. +// Amazon Connect provides metrics and real-time reporting that enable you to +// optimize contact routing. You can also resolve customer issues more efficiently +// by getting customers in touch with the appropriate agents. // -// There are limits to the number of Amazon Connect resources that you can create -// and limits to the number of requests that you can make per second. For more -// information, see Amazon Connect Service Quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html) +// There are limits to the number of Amazon Connect resources that you can create. +// There are also limits to the number of requests that you can make per second. +// For more information, see Amazon Connect Service Quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html) // in the Amazon Connect Administrator Guide. // -// To connect programmatically to an AWS service, you use an endpoint. For a -// list of Amazon Connect endpoints, see Amazon Connect Endpoints (https://docs.aws.amazon.com/general/latest/gr/connect_region.html). +// You can connect programmatically to an AWS service by using an endpoint. +// For a list of Amazon Connect endpoints, see Amazon Connect Endpoints (https://docs.aws.amazon.com/general/latest/gr/connect_region.html). // // Working with contact flows? Check out the Amazon Connect Flow language (https://docs.aws.amazon.com/connect/latest/adminguide/flow-language.html). // diff --git a/service/connect/errors.go b/service/connect/errors.go index 0a8456dfe83..8cb5311c4f8 100644 --- a/service/connect/errors.go +++ b/service/connect/errors.go @@ -35,7 +35,7 @@ const ( // ErrCodeInternalServiceException for service response error code // "InternalServiceException". // - // Request processing failed due to an error or failure with the service. + // Request processing failed because of an error or failure with the service. ErrCodeInternalServiceException = "InternalServiceException" // ErrCodeInvalidContactFlowException for service response error code diff --git a/service/macie2/api.go b/service/macie2/api.go index d212da4f8b0..915ed9095ca 100644 --- a/service/macie2/api.go +++ b/service/macie2/api.go @@ -5996,9 +5996,9 @@ type AccountLevelPermissions struct { // Provides information about the block public access settings for an S3 bucket. // These settings can apply to a bucket at the account level or bucket level. - // For detailed information about each setting, see Using Amazon S3 block public - // access (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html) - // in the Amazon Simple Storage Service Developer Guide. + // For detailed information about each setting, see Blocking public access to + // your Amazon S3 storage (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html) + // in the Amazon Simple Storage Service User Guide. BlockPublicAccess *BlockPublicAccess `locationName:"blockPublicAccess" type:"structure"` } @@ -6336,9 +6336,9 @@ func (s *BatchGetCustomDataIdentifiersOutput) SetNotFoundIdentifierIds(v []*stri // Provides information about the block public access settings for an S3 bucket. // These settings can apply to a bucket at the account level or bucket level. -// For detailed information about each setting, see Using Amazon S3 block public -// access (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html) -// in the Amazon Simple Storage Service Developer Guide. +// For detailed information about each setting, see Blocking public access to +// your Amazon S3 storage (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html) +// in the Amazon Simple Storage Service User Guide. type BlockPublicAccess struct { _ struct{} `type:"structure"` @@ -6604,9 +6604,9 @@ type BucketLevelPermissions struct { // Provides information about the block public access settings for an S3 bucket. // These settings can apply to a bucket at the account level or bucket level. - // For detailed information about each setting, see Using Amazon S3 block public - // access (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html) - // in the Amazon Simple Storage Service Developer Guide. + // For detailed information about each setting, see Blocking public access to + // your Amazon S3 storage (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html) + // in the Amazon Simple Storage Service User Guide. BlockPublicAccess *BlockPublicAccess `locationName:"blockPublicAccess" type:"structure"` // Provides information about the permissions settings of a bucket policy for @@ -7330,6 +7330,11 @@ func (s *CreateClassificationJobInput) Validate() error { if s.S3JobDefinition == nil { invalidParams.Add(request.NewErrParamRequired("S3JobDefinition")) } + if s.S3JobDefinition != nil { + if err := s.S3JobDefinition.Validate(); err != nil { + invalidParams.AddNested("S3JobDefinition", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -12645,9 +12650,11 @@ func (s *S3Bucket) SetTags(v []*KeyValuePair) *S3Bucket { type S3BucketDefinitionForJob struct { _ struct{} `type:"structure"` - AccountId *string `locationName:"accountId" type:"string"` + // AccountId is a required field + AccountId *string `locationName:"accountId" type:"string" required:"true"` - Buckets []*string `locationName:"buckets" type:"list"` + // Buckets is a required field + Buckets []*string `locationName:"buckets" type:"list" required:"true"` } // String returns the string representation @@ -12660,6 +12667,22 @@ func (s S3BucketDefinitionForJob) GoString() string { return s.String() } +// Validate inspects the fields of the type to determine if they are valid. +func (s *S3BucketDefinitionForJob) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "S3BucketDefinitionForJob"} + if s.AccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AccountId")) + } + if s.Buckets == nil { + invalidParams.Add(request.NewErrParamRequired("Buckets")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + // SetAccountId sets the AccountId field's value. func (s *S3BucketDefinitionForJob) SetAccountId(v string) *S3BucketDefinitionForJob { s.AccountId = &v @@ -12785,6 +12808,26 @@ func (s S3JobDefinition) GoString() string { return s.String() } +// Validate inspects the fields of the type to determine if they are valid. +func (s *S3JobDefinition) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "S3JobDefinition"} + if s.BucketDefinitions != nil { + for i, v := range s.BucketDefinitions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "BucketDefinitions", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + // SetBucketDefinitions sets the BucketDefinitions field's value. func (s *S3JobDefinition) SetBucketDefinitions(v []*S3BucketDefinitionForJob) *S3JobDefinition { s.BucketDefinitions = v @@ -14992,6 +15035,9 @@ const ( // JobComparatorContains is a JobComparator enum value JobComparatorContains = "CONTAINS" + + // JobComparatorStartsWith is a JobComparator enum value + JobComparatorStartsWith = "STARTS_WITH" ) // JobComparator_Values returns all elements of the JobComparator enum @@ -15004,6 +15050,7 @@ func JobComparator_Values() []string { JobComparatorLte, JobComparatorNe, JobComparatorContains, + JobComparatorStartsWith, } } @@ -15226,6 +15273,9 @@ const ( // ScopeFilterKeyTag is a ScopeFilterKey enum value ScopeFilterKeyTag = "TAG" + + // ScopeFilterKeyObjectKey is a ScopeFilterKey enum value + ScopeFilterKeyObjectKey = "OBJECT_KEY" ) // ScopeFilterKey_Values returns all elements of the ScopeFilterKey enum @@ -15236,6 +15286,7 @@ func ScopeFilterKey_Values() []string { ScopeFilterKeyObjectLastModifiedDate, ScopeFilterKeyObjectSize, ScopeFilterKeyTag, + ScopeFilterKeyObjectKey, } } diff --git a/service/medialive/api.go b/service/medialive/api.go index 95e0f94e16c..6e2ab19eb09 100644 --- a/service/medialive/api.go +++ b/service/medialive/api.go @@ -8689,6 +8689,9 @@ type Channel struct { // A collection of key-value pairs. Tags map[string]*string `locationName:"tags" type:"map"` + + // Settings for VPC output + Vpc *VpcOutputSettings `locationName:"vpc" type:"structure"` } // String returns the string representation @@ -8797,6 +8800,12 @@ func (s *Channel) SetTags(v map[string]*string) *Channel { return s } +// SetVpc sets the Vpc field's value. +func (s *Channel) SetVpc(v *VpcOutputSettings) *Channel { + s.Vpc = v + return s +} + type ChannelEgressEndpoint struct { _ struct{} `type:"structure"` @@ -8866,6 +8875,9 @@ type ChannelSummary struct { // A collection of key-value pairs. Tags map[string]*string `locationName:"tags" type:"map"` + + // Settings for VPC output + Vpc *VpcOutputSettings `locationName:"vpc" type:"structure"` } // String returns the string representation @@ -8962,6 +8974,12 @@ func (s *ChannelSummary) SetTags(v map[string]*string) *ChannelSummary { return s } +// SetVpc sets the Vpc field's value. +func (s *ChannelSummary) SetVpc(v *VpcOutputSettings) *ChannelSummary { + s.Vpc = v + return s +} + // Passthrough applies no color space conversion to the output type ColorSpacePassthroughSettings struct { _ struct{} `type:"structure"` @@ -9062,6 +9080,10 @@ type CreateChannelInput struct { RoleArn *string `locationName:"roleArn" type:"string"` Tags map[string]*string `locationName:"tags" type:"map"` + + // The properties for a private VPC OutputWhen this property is specified, the + // output egress addresses will be created in a user specified VPC + Vpc *VpcOutputSettings `locationName:"vpc" type:"structure"` } // String returns the string representation @@ -9102,6 +9124,11 @@ func (s *CreateChannelInput) Validate() error { } } } + if s.Vpc != nil { + if err := s.Vpc.Validate(); err != nil { + invalidParams.AddNested("Vpc", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -9181,6 +9208,12 @@ func (s *CreateChannelInput) SetTags(v map[string]*string) *CreateChannelInput { return s } +// SetVpc sets the Vpc field's value. +func (s *CreateChannelInput) SetVpc(v *VpcOutputSettings) *CreateChannelInput { + s.Vpc = v + return s +} + type CreateChannelOutput struct { _ struct{} `type:"structure"` @@ -9744,6 +9777,10 @@ type DeleteChannelOutput struct { State *string `locationName:"state" type:"string" enum:"ChannelState"` Tags map[string]*string `locationName:"tags" type:"map"` + + // The properties for a private VPC OutputWhen this property is specified, the + // output egress addresses will be created in a user specified VPC + Vpc *VpcOutputSettings `locationName:"vpc" type:"structure"` } // String returns the string representation @@ -9852,6 +9889,12 @@ func (s *DeleteChannelOutput) SetTags(v map[string]*string) *DeleteChannelOutput return s } +// SetVpc sets the Vpc field's value. +func (s *DeleteChannelOutput) SetVpc(v *VpcOutputSettings) *DeleteChannelOutput { + s.Vpc = v + return s +} + type DeleteInputInput struct { _ struct{} `type:"structure"` @@ -10599,6 +10642,10 @@ type DescribeChannelOutput struct { State *string `locationName:"state" type:"string" enum:"ChannelState"` Tags map[string]*string `locationName:"tags" type:"map"` + + // The properties for a private VPC OutputWhen this property is specified, the + // output egress addresses will be created in a user specified VPC + Vpc *VpcOutputSettings `locationName:"vpc" type:"structure"` } // String returns the string representation @@ -10707,6 +10754,12 @@ func (s *DescribeChannelOutput) SetTags(v map[string]*string) *DescribeChannelOu return s } +// SetVpc sets the Vpc field's value. +func (s *DescribeChannelOutput) SetVpc(v *VpcOutputSettings) *DescribeChannelOutput { + s.Vpc = v + return s +} + type DescribeInputDeviceInput struct { _ struct{} `type:"structure"` @@ -23704,6 +23757,10 @@ type StartChannelOutput struct { State *string `locationName:"state" type:"string" enum:"ChannelState"` Tags map[string]*string `locationName:"tags" type:"map"` + + // The properties for a private VPC OutputWhen this property is specified, the + // output egress addresses will be created in a user specified VPC + Vpc *VpcOutputSettings `locationName:"vpc" type:"structure"` } // String returns the string representation @@ -23812,6 +23869,12 @@ func (s *StartChannelOutput) SetTags(v map[string]*string) *StartChannelOutput { return s } +// SetVpc sets the Vpc field's value. +func (s *StartChannelOutput) SetVpc(v *VpcOutputSettings) *StartChannelOutput { + s.Vpc = v + return s +} + type StartMultiplexInput struct { _ struct{} `type:"structure"` @@ -24291,6 +24354,10 @@ type StopChannelOutput struct { State *string `locationName:"state" type:"string" enum:"ChannelState"` Tags map[string]*string `locationName:"tags" type:"map"` + + // The properties for a private VPC OutputWhen this property is specified, the + // output egress addresses will be created in a user specified VPC + Vpc *VpcOutputSettings `locationName:"vpc" type:"structure"` } // String returns the string representation @@ -24399,6 +24466,12 @@ func (s *StopChannelOutput) SetTags(v map[string]*string) *StopChannelOutput { return s } +// SetVpc sets the Vpc field's value. +func (s *StopChannelOutput) SetVpc(v *VpcOutputSettings) *StopChannelOutput { + s.Vpc = v + return s +} + type StopMultiplexInput struct { _ struct{} `type:"structure"` @@ -26435,6 +26508,69 @@ func (s *VideoSelectorSettings) SetVideoSelectorProgramId(v *VideoSelectorProgra return s } +// The properties for a private VPC OutputWhen this property is specified, the +// output egress addresses will be created in a user specified VPC +type VpcOutputSettings struct { + _ struct{} `type:"structure"` + + // List of public address allocation ids to associate with ENIs that will be + // created in Output VPC.Must specify one for SINGLE_PIPELINE, two for STANDARD + // channels + PublicAddressAllocationIds []*string `locationName:"publicAddressAllocationIds" type:"list"` + + // A list of up to 5 EC2 VPC security group IDs to attach to the Output VPC + // network interfaces.If none are specified then the VPC default security group + // will be used + SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"` + + // A list of VPC subnet IDs from the same VPC.If STANDARD channel, subnet IDs + // must be mapped to two unique availability zones (AZ). + // + // SubnetIds is a required field + SubnetIds []*string `locationName:"subnetIds" type:"list" required:"true"` +} + +// String returns the string representation +func (s VpcOutputSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s VpcOutputSettings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *VpcOutputSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "VpcOutputSettings"} + if s.SubnetIds == nil { + invalidParams.Add(request.NewErrParamRequired("SubnetIds")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPublicAddressAllocationIds sets the PublicAddressAllocationIds field's value. +func (s *VpcOutputSettings) SetPublicAddressAllocationIds(v []*string) *VpcOutputSettings { + s.PublicAddressAllocationIds = v + return s +} + +// SetSecurityGroupIds sets the SecurityGroupIds field's value. +func (s *VpcOutputSettings) SetSecurityGroupIds(v []*string) *VpcOutputSettings { + s.SecurityGroupIds = v + return s +} + +// SetSubnetIds sets the SubnetIds field's value. +func (s *VpcOutputSettings) SetSubnetIds(v []*string) *VpcOutputSettings { + s.SubnetIds = v + return s +} + // Wav Settings type WavSettings struct { _ struct{} `type:"structure"` diff --git a/service/transcribestreamingservice/api.go b/service/transcribestreamingservice/api.go index f439fb83d5a..31e8a5f558b 100644 --- a/service/transcribestreamingservice/api.go +++ b/service/transcribestreamingservice/api.go @@ -794,6 +794,7 @@ type AudioEvent struct { _ struct{} `type:"structure" payload:"AudioChunk"` // An audio blob that contains the next part of the audio that you want to transcribe. + // The maximum audio chunk size is 32 KB. // // AudioChunk is automatically base64 encoded/decoded by the SDK. AudioChunk []byte `type:"blob"` @@ -1331,6 +1332,10 @@ func (s *LimitExceededException) RequestID() string { type MedicalAlternative struct { _ struct{} `type:"structure"` + // Contains the medical entities identified as personal health information in + // the transcription output. + Entities []*MedicalEntity `type:"list"` + // A list of objects that contains words and punctuation marks that represents // one or more interpretations of the input audio. Items []*MedicalItem `type:"list"` @@ -1349,6 +1354,12 @@ func (s MedicalAlternative) GoString() string { return s.String() } +// SetEntities sets the Entities field's value. +func (s *MedicalAlternative) SetEntities(v []*MedicalEntity) *MedicalAlternative { + s.Entities = v + return s +} + // SetItems sets the Items field's value. func (s *MedicalAlternative) SetItems(v []*MedicalItem) *MedicalAlternative { s.Items = v @@ -1361,6 +1372,70 @@ func (s *MedicalAlternative) SetTranscript(v string) *MedicalAlternative { return s } +// The medical entity identified as personal health information. +type MedicalEntity struct { + _ struct{} `type:"structure"` + + // The type of personal health information of the medical entity. + Category *string `type:"string"` + + // A value between zero and one that Amazon Transcribe Medical assigned to the + // personal health information that it identified in the source audio. Larger + // values indicate that Amazon Transcribe Medical has higher confidence in the + // personal health information that it identified. + Confidence *float64 `type:"double"` + + // The word or words in the transcription output that have been identified as + // a medical entity. + Content *string `type:"string"` + + // The end time of the speech that was identified as a medical entity. + EndTime *float64 `type:"double"` + + // The start time of the speech that was identified as a medical entity. + StartTime *float64 `type:"double"` +} + +// String returns the string representation +func (s MedicalEntity) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s MedicalEntity) GoString() string { + return s.String() +} + +// SetCategory sets the Category field's value. +func (s *MedicalEntity) SetCategory(v string) *MedicalEntity { + s.Category = &v + return s +} + +// SetConfidence sets the Confidence field's value. +func (s *MedicalEntity) SetConfidence(v float64) *MedicalEntity { + s.Confidence = &v + return s +} + +// SetContent sets the Content field's value. +func (s *MedicalEntity) SetContent(v string) *MedicalEntity { + s.Content = &v + return s +} + +// SetEndTime sets the EndTime field's value. +func (s *MedicalEntity) SetEndTime(v float64) *MedicalEntity { + s.EndTime = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *MedicalEntity) SetStartTime(v float64) *MedicalEntity { + s.StartTime = &v + return s +} + // A word or punctuation that is transcribed from the input audio. type MedicalItem struct { _ struct{} `type:"structure"` @@ -1937,6 +2012,10 @@ func (s *ServiceUnavailableException) RequestID() string { type StartMedicalStreamTranscriptionInput struct { _ struct{} `type:"structure" payload:"AudioStream"` + // Set this field to PHI to identify personal health information in the transcription + // output. + ContentIdentificationType *string `location:"header" locationName:"x-amzn-transcribe-content-identification-type" type:"string" enum:"MedicalContentIdentificationType"` + // When true, instructs Amazon Transcribe Medical to process each audio channel // separately and then merge the transcription output of each channel into a // single transcription. @@ -2040,6 +2119,12 @@ func (s *StartMedicalStreamTranscriptionInput) Validate() error { return nil } +// SetContentIdentificationType sets the ContentIdentificationType field's value. +func (s *StartMedicalStreamTranscriptionInput) SetContentIdentificationType(v string) *StartMedicalStreamTranscriptionInput { + s.ContentIdentificationType = &v + return s +} + // SetEnableChannelIdentification sets the EnableChannelIdentification field's value. func (s *StartMedicalStreamTranscriptionInput) SetEnableChannelIdentification(v bool) *StartMedicalStreamTranscriptionInput { s.EnableChannelIdentification = &v @@ -2105,6 +2190,10 @@ type StartMedicalStreamTranscriptionOutput struct { eventStream *StartMedicalStreamTranscriptionEventStream + // If the value is PHI, indicates that you've configured your stream to identify + // personal health information. + ContentIdentificationType *string `location:"header" locationName:"x-amzn-transcribe-content-identification-type" type:"string" enum:"MedicalContentIdentificationType"` + // Shows whether channel identification has been enabled in the stream. EnableChannelIdentification *bool `location:"header" locationName:"x-amzn-transcribe-enable-channel-identification" type:"boolean"` @@ -2152,6 +2241,12 @@ func (s StartMedicalStreamTranscriptionOutput) GoString() string { return s.String() } +// SetContentIdentificationType sets the ContentIdentificationType field's value. +func (s *StartMedicalStreamTranscriptionOutput) SetContentIdentificationType(v string) *StartMedicalStreamTranscriptionOutput { + s.ContentIdentificationType = &v + return s +} + // SetEnableChannelIdentification sets the EnableChannelIdentification field's value. func (s *StartMedicalStreamTranscriptionOutput) SetEnableChannelIdentification(v bool) *StartMedicalStreamTranscriptionOutput { s.EnableChannelIdentification = &v @@ -2833,6 +2928,18 @@ func MediaEncoding_Values() []string { } } +const ( + // MedicalContentIdentificationTypePhi is a MedicalContentIdentificationType enum value + MedicalContentIdentificationTypePhi = "PHI" +) + +// MedicalContentIdentificationType_Values returns all elements of the MedicalContentIdentificationType enum +func MedicalContentIdentificationType_Values() []string { + return []string{ + MedicalContentIdentificationTypePhi, + } +} + const ( // SpecialtyPrimarycare is a Specialty enum value SpecialtyPrimarycare = "PRIMARYCARE" diff --git a/service/transcribestreamingservice/eventstream_test.go b/service/transcribestreamingservice/eventstream_test.go index a768efe3144..dc2495c4ed9 100644 --- a/service/transcribestreamingservice/eventstream_test.go +++ b/service/transcribestreamingservice/eventstream_test.go @@ -228,6 +228,29 @@ func mockStartMedicalStreamTranscriptionReadEvents() ( { Alternatives: []*MedicalAlternative{ { + Entities: []*MedicalEntity{ + { + Category: aws.String("string value goes here"), + Confidence: aws.Float64(123.45), + Content: aws.String("string value goes here"), + EndTime: aws.Float64(123.45), + StartTime: aws.Float64(123.45), + }, + { + Category: aws.String("string value goes here"), + Confidence: aws.Float64(123.45), + Content: aws.String("string value goes here"), + EndTime: aws.Float64(123.45), + StartTime: aws.Float64(123.45), + }, + { + Category: aws.String("string value goes here"), + Confidence: aws.Float64(123.45), + Content: aws.String("string value goes here"), + EndTime: aws.Float64(123.45), + StartTime: aws.Float64(123.45), + }, + }, Items: []*MedicalItem{ { Confidence: aws.Float64(123.45), @@ -257,6 +280,29 @@ func mockStartMedicalStreamTranscriptionReadEvents() ( Transcript: aws.String("string value goes here"), }, { + Entities: []*MedicalEntity{ + { + Category: aws.String("string value goes here"), + Confidence: aws.Float64(123.45), + Content: aws.String("string value goes here"), + EndTime: aws.Float64(123.45), + StartTime: aws.Float64(123.45), + }, + { + Category: aws.String("string value goes here"), + Confidence: aws.Float64(123.45), + Content: aws.String("string value goes here"), + EndTime: aws.Float64(123.45), + StartTime: aws.Float64(123.45), + }, + { + Category: aws.String("string value goes here"), + Confidence: aws.Float64(123.45), + Content: aws.String("string value goes here"), + EndTime: aws.Float64(123.45), + StartTime: aws.Float64(123.45), + }, + }, Items: []*MedicalItem{ { Confidence: aws.Float64(123.45), @@ -286,6 +332,29 @@ func mockStartMedicalStreamTranscriptionReadEvents() ( Transcript: aws.String("string value goes here"), }, { + Entities: []*MedicalEntity{ + { + Category: aws.String("string value goes here"), + Confidence: aws.Float64(123.45), + Content: aws.String("string value goes here"), + EndTime: aws.Float64(123.45), + StartTime: aws.Float64(123.45), + }, + { + Category: aws.String("string value goes here"), + Confidence: aws.Float64(123.45), + Content: aws.String("string value goes here"), + EndTime: aws.Float64(123.45), + StartTime: aws.Float64(123.45), + }, + { + Category: aws.String("string value goes here"), + Confidence: aws.Float64(123.45), + Content: aws.String("string value goes here"), + EndTime: aws.Float64(123.45), + StartTime: aws.Float64(123.45), + }, + }, Items: []*MedicalItem{ { Confidence: aws.Float64(123.45), @@ -324,6 +393,29 @@ func mockStartMedicalStreamTranscriptionReadEvents() ( { Alternatives: []*MedicalAlternative{ { + Entities: []*MedicalEntity{ + { + Category: aws.String("string value goes here"), + Confidence: aws.Float64(123.45), + Content: aws.String("string value goes here"), + EndTime: aws.Float64(123.45), + StartTime: aws.Float64(123.45), + }, + { + Category: aws.String("string value goes here"), + Confidence: aws.Float64(123.45), + Content: aws.String("string value goes here"), + EndTime: aws.Float64(123.45), + StartTime: aws.Float64(123.45), + }, + { + Category: aws.String("string value goes here"), + Confidence: aws.Float64(123.45), + Content: aws.String("string value goes here"), + EndTime: aws.Float64(123.45), + StartTime: aws.Float64(123.45), + }, + }, Items: []*MedicalItem{ { Confidence: aws.Float64(123.45), @@ -353,6 +445,29 @@ func mockStartMedicalStreamTranscriptionReadEvents() ( Transcript: aws.String("string value goes here"), }, { + Entities: []*MedicalEntity{ + { + Category: aws.String("string value goes here"), + Confidence: aws.Float64(123.45), + Content: aws.String("string value goes here"), + EndTime: aws.Float64(123.45), + StartTime: aws.Float64(123.45), + }, + { + Category: aws.String("string value goes here"), + Confidence: aws.Float64(123.45), + Content: aws.String("string value goes here"), + EndTime: aws.Float64(123.45), + StartTime: aws.Float64(123.45), + }, + { + Category: aws.String("string value goes here"), + Confidence: aws.Float64(123.45), + Content: aws.String("string value goes here"), + EndTime: aws.Float64(123.45), + StartTime: aws.Float64(123.45), + }, + }, Items: []*MedicalItem{ { Confidence: aws.Float64(123.45), @@ -382,6 +497,29 @@ func mockStartMedicalStreamTranscriptionReadEvents() ( Transcript: aws.String("string value goes here"), }, { + Entities: []*MedicalEntity{ + { + Category: aws.String("string value goes here"), + Confidence: aws.Float64(123.45), + Content: aws.String("string value goes here"), + EndTime: aws.Float64(123.45), + StartTime: aws.Float64(123.45), + }, + { + Category: aws.String("string value goes here"), + Confidence: aws.Float64(123.45), + Content: aws.String("string value goes here"), + EndTime: aws.Float64(123.45), + StartTime: aws.Float64(123.45), + }, + { + Category: aws.String("string value goes here"), + Confidence: aws.Float64(123.45), + Content: aws.String("string value goes here"), + EndTime: aws.Float64(123.45), + StartTime: aws.Float64(123.45), + }, + }, Items: []*MedicalItem{ { Confidence: aws.Float64(123.45), @@ -420,6 +558,29 @@ func mockStartMedicalStreamTranscriptionReadEvents() ( { Alternatives: []*MedicalAlternative{ { + Entities: []*MedicalEntity{ + { + Category: aws.String("string value goes here"), + Confidence: aws.Float64(123.45), + Content: aws.String("string value goes here"), + EndTime: aws.Float64(123.45), + StartTime: aws.Float64(123.45), + }, + { + Category: aws.String("string value goes here"), + Confidence: aws.Float64(123.45), + Content: aws.String("string value goes here"), + EndTime: aws.Float64(123.45), + StartTime: aws.Float64(123.45), + }, + { + Category: aws.String("string value goes here"), + Confidence: aws.Float64(123.45), + Content: aws.String("string value goes here"), + EndTime: aws.Float64(123.45), + StartTime: aws.Float64(123.45), + }, + }, Items: []*MedicalItem{ { Confidence: aws.Float64(123.45), @@ -449,6 +610,29 @@ func mockStartMedicalStreamTranscriptionReadEvents() ( Transcript: aws.String("string value goes here"), }, { + Entities: []*MedicalEntity{ + { + Category: aws.String("string value goes here"), + Confidence: aws.Float64(123.45), + Content: aws.String("string value goes here"), + EndTime: aws.Float64(123.45), + StartTime: aws.Float64(123.45), + }, + { + Category: aws.String("string value goes here"), + Confidence: aws.Float64(123.45), + Content: aws.String("string value goes here"), + EndTime: aws.Float64(123.45), + StartTime: aws.Float64(123.45), + }, + { + Category: aws.String("string value goes here"), + Confidence: aws.Float64(123.45), + Content: aws.String("string value goes here"), + EndTime: aws.Float64(123.45), + StartTime: aws.Float64(123.45), + }, + }, Items: []*MedicalItem{ { Confidence: aws.Float64(123.45), @@ -478,6 +662,29 @@ func mockStartMedicalStreamTranscriptionReadEvents() ( Transcript: aws.String("string value goes here"), }, { + Entities: []*MedicalEntity{ + { + Category: aws.String("string value goes here"), + Confidence: aws.Float64(123.45), + Content: aws.String("string value goes here"), + EndTime: aws.Float64(123.45), + StartTime: aws.Float64(123.45), + }, + { + Category: aws.String("string value goes here"), + Confidence: aws.Float64(123.45), + Content: aws.String("string value goes here"), + EndTime: aws.Float64(123.45), + StartTime: aws.Float64(123.45), + }, + { + Category: aws.String("string value goes here"), + Confidence: aws.Float64(123.45), + Content: aws.String("string value goes here"), + EndTime: aws.Float64(123.45), + StartTime: aws.Float64(123.45), + }, + }, Items: []*MedicalItem{ { Confidence: aws.Float64(123.45),