diff --git a/CHANGELOG.md b/CHANGELOG.md
index bb27e7ee8d..645b1e2920 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,13 @@
+Release v1.44.37 (2022-06-17)
+===
+
+### Service Client Updates
+* `service/connect`: Updates service API
+* `service/connectcampaigns`: Adds new service
+* `service/dynamodb`: Updates service API, documentation, waiters, paginators, and examples
+ * Doc only update for DynamoDB service
+* `service/streams.dynamodb`: Updates service documentation
+
Release v1.44.36 (2022-06-16)
===
diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go
index 5c830ecbd5..4a1a0f9ef8 100644
--- a/aws/endpoints/defaults.go
+++ b/aws/endpoints/defaults.go
@@ -5396,6 +5396,22 @@ var awsPartition = partition{
}: endpoint{},
},
},
+ "connect-campaigns": service{
+ Endpoints: serviceEndpoints{
+ endpointKey{
+ Region: "ap-southeast-2",
+ }: endpoint{},
+ endpointKey{
+ Region: "eu-west-2",
+ }: endpoint{},
+ endpointKey{
+ Region: "us-east-1",
+ }: endpoint{},
+ endpointKey{
+ Region: "us-west-2",
+ }: endpoint{},
+ },
+ },
"contact-lens": service{
Endpoints: serviceEndpoints{
endpointKey{
diff --git a/aws/version.go b/aws/version.go
index 7dfccb3d86..3bf33f8de1 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.44.36"
+const SDKVersion = "1.44.37"
diff --git a/models/apis/connect/2017-08-08/api-2.json b/models/apis/connect/2017-08-08/api-2.json
index 341dcc835f..28a0ebe314 100644
--- a/models/apis/connect/2017-08-08/api-2.json
+++ b/models/apis/connect/2017-08-08/api-2.json
@@ -5098,7 +5098,8 @@
"AUTO_RESOLVE_BEST_VOICES",
"USE_CUSTOM_TTS_VOICES",
"EARLY_MEDIA",
- "MULTI_PARTY_CONFERENCE"
+ "MULTI_PARTY_CONFERENCE",
+ "HIGH_VOLUME_OUTBOUND"
]
},
"InstanceAttributeValue":{
diff --git a/models/apis/connectcampaigns/2021-01-30/api-2.json b/models/apis/connectcampaigns/2021-01-30/api-2.json
new file mode 100644
index 0000000000..e454f38539
--- /dev/null
+++ b/models/apis/connectcampaigns/2021-01-30/api-2.json
@@ -0,0 +1,1282 @@
+{
+ "version":"2.0",
+ "metadata":{
+ "apiVersion":"2021-01-30",
+ "endpointPrefix":"connect-campaigns",
+ "jsonVersion":"1.1",
+ "protocol":"rest-json",
+ "serviceFullName":"AmazonConnectCampaignService",
+ "serviceId":"ConnectCampaigns",
+ "signatureVersion":"v4",
+ "signingName":"connect-campaigns",
+ "uid":"connectcampaigns-2021-01-30"
+ },
+ "operations":{
+ "CreateCampaign":{
+ "name":"CreateCampaign",
+ "http":{
+ "method":"PUT",
+ "requestUri":"/campaigns",
+ "responseCode":200
+ },
+ "input":{"shape":"CreateCampaignRequest"},
+ "output":{"shape":"CreateCampaignResponse"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ThrottlingException"}
+ ],
+ "idempotent":true
+ },
+ "DeleteCampaign":{
+ "name":"DeleteCampaign",
+ "http":{
+ "method":"DELETE",
+ "requestUri":"/campaigns/{id}",
+ "responseCode":200
+ },
+ "input":{"shape":"DeleteCampaignRequest"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"}
+ ],
+ "idempotent":true
+ },
+ "DeleteConnectInstanceConfig":{
+ "name":"DeleteConnectInstanceConfig",
+ "http":{
+ "method":"DELETE",
+ "requestUri":"/connect-instance/{connectInstanceId}/config",
+ "responseCode":200
+ },
+ "input":{"shape":"DeleteConnectInstanceConfigRequest"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"InvalidStateException"},
+ {"shape":"ThrottlingException"}
+ ],
+ "idempotent":true
+ },
+ "DeleteInstanceOnboardingJob":{
+ "name":"DeleteInstanceOnboardingJob",
+ "http":{
+ "method":"DELETE",
+ "requestUri":"/connect-instance/{connectInstanceId}/onboarding",
+ "responseCode":200
+ },
+ "input":{"shape":"DeleteInstanceOnboardingJobRequest"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"InvalidStateException"}
+ ],
+ "idempotent":true
+ },
+ "DescribeCampaign":{
+ "name":"DescribeCampaign",
+ "http":{
+ "method":"GET",
+ "requestUri":"/campaigns/{id}",
+ "responseCode":200
+ },
+ "input":{"shape":"DescribeCampaignRequest"},
+ "output":{"shape":"DescribeCampaignResponse"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"}
+ ]
+ },
+ "GetCampaignState":{
+ "name":"GetCampaignState",
+ "http":{
+ "method":"GET",
+ "requestUri":"/campaigns/{id}/state",
+ "responseCode":200
+ },
+ "input":{"shape":"GetCampaignStateRequest"},
+ "output":{"shape":"GetCampaignStateResponse"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ThrottlingException"}
+ ]
+ },
+ "GetCampaignStateBatch":{
+ "name":"GetCampaignStateBatch",
+ "http":{
+ "method":"POST",
+ "requestUri":"/campaigns-state",
+ "responseCode":200
+ },
+ "input":{"shape":"GetCampaignStateBatchRequest"},
+ "output":{"shape":"GetCampaignStateBatchResponse"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ThrottlingException"}
+ ]
+ },
+ "GetConnectInstanceConfig":{
+ "name":"GetConnectInstanceConfig",
+ "http":{
+ "method":"GET",
+ "requestUri":"/connect-instance/{connectInstanceId}/config",
+ "responseCode":200
+ },
+ "input":{"shape":"GetConnectInstanceConfigRequest"},
+ "output":{"shape":"GetConnectInstanceConfigResponse"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"}
+ ]
+ },
+ "GetInstanceOnboardingJobStatus":{
+ "name":"GetInstanceOnboardingJobStatus",
+ "http":{
+ "method":"GET",
+ "requestUri":"/connect-instance/{connectInstanceId}/onboarding",
+ "responseCode":200
+ },
+ "input":{"shape":"GetInstanceOnboardingJobStatusRequest"},
+ "output":{"shape":"GetInstanceOnboardingJobStatusResponse"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"}
+ ]
+ },
+ "ListCampaigns":{
+ "name":"ListCampaigns",
+ "http":{
+ "method":"POST",
+ "requestUri":"/campaigns-summary",
+ "responseCode":200
+ },
+ "input":{"shape":"ListCampaignsRequest"},
+ "output":{"shape":"ListCampaignsResponse"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"}
+ ]
+ },
+ "ListTagsForResource":{
+ "name":"ListTagsForResource",
+ "http":{
+ "method":"GET",
+ "requestUri":"/tags/{arn}",
+ "responseCode":200
+ },
+ "input":{"shape":"ListTagsForResourceRequest"},
+ "output":{"shape":"ListTagsForResourceResponse"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ThrottlingException"}
+ ],
+ "idempotent":true
+ },
+ "PauseCampaign":{
+ "name":"PauseCampaign",
+ "http":{
+ "method":"POST",
+ "requestUri":"/campaigns/{id}/pause",
+ "responseCode":200
+ },
+ "input":{"shape":"PauseCampaignRequest"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ConflictException"},
+ {"shape":"InvalidCampaignStateException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ThrottlingException"}
+ ]
+ },
+ "PutDialRequestBatch":{
+ "name":"PutDialRequestBatch",
+ "http":{
+ "method":"PUT",
+ "requestUri":"/campaigns/{id}/dial-requests",
+ "responseCode":200
+ },
+ "input":{"shape":"PutDialRequestBatchRequest"},
+ "output":{"shape":"PutDialRequestBatchResponse"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"InvalidCampaignStateException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ThrottlingException"}
+ ],
+ "idempotent":true
+ },
+ "ResumeCampaign":{
+ "name":"ResumeCampaign",
+ "http":{
+ "method":"POST",
+ "requestUri":"/campaigns/{id}/resume",
+ "responseCode":200
+ },
+ "input":{"shape":"ResumeCampaignRequest"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ConflictException"},
+ {"shape":"InvalidCampaignStateException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ThrottlingException"}
+ ]
+ },
+ "StartCampaign":{
+ "name":"StartCampaign",
+ "http":{
+ "method":"POST",
+ "requestUri":"/campaigns/{id}/start",
+ "responseCode":200
+ },
+ "input":{"shape":"StartCampaignRequest"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ConflictException"},
+ {"shape":"InvalidCampaignStateException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ThrottlingException"}
+ ]
+ },
+ "StartInstanceOnboardingJob":{
+ "name":"StartInstanceOnboardingJob",
+ "http":{
+ "method":"PUT",
+ "requestUri":"/connect-instance/{connectInstanceId}/onboarding",
+ "responseCode":200
+ },
+ "input":{"shape":"StartInstanceOnboardingJobRequest"},
+ "output":{"shape":"StartInstanceOnboardingJobResponse"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ThrottlingException"}
+ ],
+ "idempotent":true
+ },
+ "StopCampaign":{
+ "name":"StopCampaign",
+ "http":{
+ "method":"POST",
+ "requestUri":"/campaigns/{id}/stop",
+ "responseCode":200
+ },
+ "input":{"shape":"StopCampaignRequest"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ConflictException"},
+ {"shape":"InvalidCampaignStateException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ThrottlingException"}
+ ]
+ },
+ "TagResource":{
+ "name":"TagResource",
+ "http":{
+ "method":"POST",
+ "requestUri":"/tags/{arn}",
+ "responseCode":200
+ },
+ "input":{"shape":"TagResourceRequest"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ThrottlingException"}
+ ],
+ "idempotent":true
+ },
+ "UntagResource":{
+ "name":"UntagResource",
+ "http":{
+ "method":"DELETE",
+ "requestUri":"/tags/{arn}",
+ "responseCode":200
+ },
+ "input":{"shape":"UntagResourceRequest"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ThrottlingException"}
+ ],
+ "idempotent":true
+ },
+ "UpdateCampaignDialerConfig":{
+ "name":"UpdateCampaignDialerConfig",
+ "http":{
+ "method":"POST",
+ "requestUri":"/campaigns/{id}/dialer-config",
+ "responseCode":200
+ },
+ "input":{"shape":"UpdateCampaignDialerConfigRequest"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"AccessDeniedException"}
+ ],
+ "idempotent":true
+ },
+ "UpdateCampaignName":{
+ "name":"UpdateCampaignName",
+ "http":{
+ "method":"POST",
+ "requestUri":"/campaigns/{id}/name",
+ "responseCode":200
+ },
+ "input":{"shape":"UpdateCampaignNameRequest"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"AccessDeniedException"}
+ ],
+ "idempotent":true
+ },
+ "UpdateCampaignOutboundCallConfig":{
+ "name":"UpdateCampaignOutboundCallConfig",
+ "http":{
+ "method":"POST",
+ "requestUri":"/campaigns/{id}/outbound-call-config",
+ "responseCode":200
+ },
+ "input":{"shape":"UpdateCampaignOutboundCallConfigRequest"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ValidationException"},
+ {"shape":"ConflictException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ThrottlingException"}
+ ],
+ "idempotent":true
+ }
+ },
+ "shapes":{
+ "AccessDeniedException":{
+ "type":"structure",
+ "required":["message"],
+ "members":{
+ "message":{"shape":"String"},
+ "xAmzErrorType":{
+ "shape":"XAmazonErrorType",
+ "location":"header",
+ "locationName":"x-amzn-ErrorType"
+ }
+ },
+ "error":{
+ "httpStatusCode":403,
+ "senderFault":true
+ },
+ "exception":true
+ },
+ "AnswerMachineDetectionConfig":{
+ "type":"structure",
+ "required":["enableAnswerMachineDetection"],
+ "members":{
+ "enableAnswerMachineDetection":{"shape":"Boolean"}
+ }
+ },
+ "Arn":{
+ "type":"string",
+ "max":500,
+ "min":20,
+ "pattern":"^arn:.*"
+ },
+ "AttributeName":{
+ "type":"string",
+ "max":32767,
+ "min":0,
+ "pattern":"^[a-zA-Z0-9\\-_]+$"
+ },
+ "AttributeValue":{
+ "type":"string",
+ "max":32767,
+ "min":0
+ },
+ "Attributes":{
+ "type":"map",
+ "key":{"shape":"AttributeName"},
+ "value":{"shape":"AttributeValue"},
+ "sensitive":true
+ },
+ "BandwidthAllocation":{
+ "type":"double",
+ "box":true,
+ "max":1,
+ "min":0
+ },
+ "Boolean":{
+ "type":"boolean",
+ "box":true
+ },
+ "Campaign":{
+ "type":"structure",
+ "required":[
+ "arn",
+ "connectInstanceId",
+ "dialerConfig",
+ "id",
+ "name",
+ "outboundCallConfig"
+ ],
+ "members":{
+ "arn":{"shape":"CampaignArn"},
+ "connectInstanceId":{"shape":"InstanceId"},
+ "dialerConfig":{"shape":"DialerConfig"},
+ "id":{"shape":"CampaignId"},
+ "name":{"shape":"CampaignName"},
+ "outboundCallConfig":{"shape":"OutboundCallConfig"},
+ "tags":{"shape":"TagMap"}
+ }
+ },
+ "CampaignArn":{
+ "type":"string",
+ "max":500,
+ "min":20
+ },
+ "CampaignFilters":{
+ "type":"structure",
+ "members":{
+ "instanceIdFilter":{"shape":"InstanceIdFilter"}
+ }
+ },
+ "CampaignId":{
+ "type":"string",
+ "max":256,
+ "min":0
+ },
+ "CampaignName":{
+ "type":"string",
+ "max":127,
+ "min":1
+ },
+ "CampaignState":{
+ "type":"string",
+ "enum":[
+ "Initialized",
+ "Running",
+ "Paused",
+ "Stopped",
+ "Failed"
+ ]
+ },
+ "CampaignSummary":{
+ "type":"structure",
+ "required":[
+ "arn",
+ "connectInstanceId",
+ "id",
+ "name"
+ ],
+ "members":{
+ "arn":{"shape":"CampaignArn"},
+ "connectInstanceId":{"shape":"InstanceId"},
+ "id":{"shape":"CampaignId"},
+ "name":{"shape":"CampaignName"}
+ }
+ },
+ "CampaignSummaryList":{
+ "type":"list",
+ "member":{"shape":"CampaignSummary"}
+ },
+ "ClientToken":{
+ "type":"string",
+ "max":64,
+ "min":0
+ },
+ "ConflictException":{
+ "type":"structure",
+ "required":["message"],
+ "members":{
+ "message":{"shape":"String"},
+ "xAmzErrorType":{
+ "shape":"XAmazonErrorType",
+ "location":"header",
+ "locationName":"x-amzn-ErrorType"
+ }
+ },
+ "error":{
+ "httpStatusCode":409,
+ "senderFault":true
+ },
+ "exception":true
+ },
+ "ContactFlowId":{
+ "type":"string",
+ "max":500,
+ "min":0
+ },
+ "CreateCampaignRequest":{
+ "type":"structure",
+ "required":[
+ "connectInstanceId",
+ "dialerConfig",
+ "name",
+ "outboundCallConfig"
+ ],
+ "members":{
+ "connectInstanceId":{"shape":"InstanceId"},
+ "dialerConfig":{"shape":"DialerConfig"},
+ "name":{"shape":"CampaignName"},
+ "outboundCallConfig":{"shape":"OutboundCallConfig"},
+ "tags":{"shape":"TagMap"}
+ }
+ },
+ "CreateCampaignResponse":{
+ "type":"structure",
+ "members":{
+ "arn":{"shape":"CampaignArn"},
+ "id":{"shape":"CampaignId"},
+ "tags":{"shape":"TagMap"}
+ }
+ },
+ "DeleteCampaignRequest":{
+ "type":"structure",
+ "required":["id"],
+ "members":{
+ "id":{
+ "shape":"CampaignId",
+ "location":"uri",
+ "locationName":"id"
+ }
+ }
+ },
+ "DeleteConnectInstanceConfigRequest":{
+ "type":"structure",
+ "required":["connectInstanceId"],
+ "members":{
+ "connectInstanceId":{
+ "shape":"InstanceId",
+ "location":"uri",
+ "locationName":"connectInstanceId"
+ }
+ }
+ },
+ "DeleteInstanceOnboardingJobRequest":{
+ "type":"structure",
+ "required":["connectInstanceId"],
+ "members":{
+ "connectInstanceId":{
+ "shape":"InstanceId",
+ "location":"uri",
+ "locationName":"connectInstanceId"
+ }
+ }
+ },
+ "DescribeCampaignRequest":{
+ "type":"structure",
+ "required":["id"],
+ "members":{
+ "id":{
+ "shape":"CampaignId",
+ "location":"uri",
+ "locationName":"id"
+ }
+ }
+ },
+ "DescribeCampaignResponse":{
+ "type":"structure",
+ "members":{
+ "campaign":{"shape":"Campaign"}
+ }
+ },
+ "DestinationPhoneNumber":{
+ "type":"string",
+ "max":20,
+ "min":0,
+ "sensitive":true
+ },
+ "DialRequest":{
+ "type":"structure",
+ "required":[
+ "attributes",
+ "clientToken",
+ "expirationTime",
+ "phoneNumber"
+ ],
+ "members":{
+ "attributes":{"shape":"Attributes"},
+ "clientToken":{"shape":"ClientToken"},
+ "expirationTime":{"shape":"TimeStamp"},
+ "phoneNumber":{"shape":"DestinationPhoneNumber"}
+ }
+ },
+ "DialRequestId":{"type":"string"},
+ "DialRequestList":{
+ "type":"list",
+ "member":{"shape":"DialRequest"},
+ "max":25,
+ "min":1
+ },
+ "DialerConfig":{
+ "type":"structure",
+ "members":{
+ "predictiveDialerConfig":{"shape":"PredictiveDialerConfig"},
+ "progressiveDialerConfig":{"shape":"ProgressiveDialerConfig"}
+ },
+ "union":true
+ },
+ "Enabled":{"type":"boolean"},
+ "EncryptionConfig":{
+ "type":"structure",
+ "required":["enabled"],
+ "members":{
+ "enabled":{"shape":"Enabled"},
+ "encryptionType":{"shape":"EncryptionType"},
+ "keyArn":{"shape":"EncryptionKey"}
+ }
+ },
+ "EncryptionKey":{
+ "type":"string",
+ "max":500,
+ "min":0
+ },
+ "EncryptionType":{
+ "type":"string",
+ "enum":["KMS"]
+ },
+ "FailedCampaignStateResponse":{
+ "type":"structure",
+ "members":{
+ "campaignId":{"shape":"CampaignId"},
+ "failureCode":{"shape":"GetCampaignStateBatchFailureCode"}
+ }
+ },
+ "FailedCampaignStateResponseList":{
+ "type":"list",
+ "member":{"shape":"FailedCampaignStateResponse"},
+ "max":25,
+ "min":0
+ },
+ "FailedRequest":{
+ "type":"structure",
+ "members":{
+ "clientToken":{"shape":"ClientToken"},
+ "failureCode":{"shape":"FailureCode"},
+ "id":{"shape":"DialRequestId"}
+ }
+ },
+ "FailedRequestList":{
+ "type":"list",
+ "member":{"shape":"FailedRequest"},
+ "max":25,
+ "min":0
+ },
+ "FailureCode":{
+ "type":"string",
+ "enum":[
+ "InvalidInput",
+ "RequestThrottled",
+ "UnknownError"
+ ]
+ },
+ "GetCampaignStateBatchFailureCode":{
+ "type":"string",
+ "enum":[
+ "ResourceNotFound",
+ "UnknownError"
+ ]
+ },
+ "GetCampaignStateBatchRequest":{
+ "type":"structure",
+ "required":["campaignIds"],
+ "members":{
+ "campaignIds":{"shape":"GetCampaignStateBatchRequestCampaignIdsList"}
+ }
+ },
+ "GetCampaignStateBatchRequestCampaignIdsList":{
+ "type":"list",
+ "member":{"shape":"CampaignId"},
+ "max":25,
+ "min":1
+ },
+ "GetCampaignStateBatchResponse":{
+ "type":"structure",
+ "members":{
+ "failedRequests":{"shape":"FailedCampaignStateResponseList"},
+ "successfulRequests":{"shape":"SuccessfulCampaignStateResponseList"}
+ }
+ },
+ "GetCampaignStateRequest":{
+ "type":"structure",
+ "required":["id"],
+ "members":{
+ "id":{
+ "shape":"CampaignId",
+ "location":"uri",
+ "locationName":"id"
+ }
+ }
+ },
+ "GetCampaignStateResponse":{
+ "type":"structure",
+ "members":{
+ "state":{"shape":"CampaignState"}
+ }
+ },
+ "GetConnectInstanceConfigRequest":{
+ "type":"structure",
+ "required":["connectInstanceId"],
+ "members":{
+ "connectInstanceId":{
+ "shape":"InstanceId",
+ "location":"uri",
+ "locationName":"connectInstanceId"
+ }
+ }
+ },
+ "GetConnectInstanceConfigResponse":{
+ "type":"structure",
+ "members":{
+ "connectInstanceConfig":{"shape":"InstanceConfig"}
+ }
+ },
+ "GetInstanceOnboardingJobStatusRequest":{
+ "type":"structure",
+ "required":["connectInstanceId"],
+ "members":{
+ "connectInstanceId":{
+ "shape":"InstanceId",
+ "location":"uri",
+ "locationName":"connectInstanceId"
+ }
+ }
+ },
+ "GetInstanceOnboardingJobStatusResponse":{
+ "type":"structure",
+ "members":{
+ "connectInstanceOnboardingJobStatus":{"shape":"InstanceOnboardingJobStatus"}
+ }
+ },
+ "InstanceConfig":{
+ "type":"structure",
+ "required":[
+ "connectInstanceId",
+ "encryptionConfig",
+ "serviceLinkedRoleArn"
+ ],
+ "members":{
+ "connectInstanceId":{"shape":"InstanceId"},
+ "encryptionConfig":{"shape":"EncryptionConfig"},
+ "serviceLinkedRoleArn":{"shape":"ServiceLinkedRoleArn"}
+ }
+ },
+ "InstanceId":{
+ "type":"string",
+ "max":256,
+ "min":0
+ },
+ "InstanceIdFilter":{
+ "type":"structure",
+ "required":[
+ "operator",
+ "value"
+ ],
+ "members":{
+ "operator":{"shape":"InstanceIdFilterOperator"},
+ "value":{"shape":"InstanceId"}
+ }
+ },
+ "InstanceIdFilterOperator":{
+ "type":"string",
+ "enum":["Eq"]
+ },
+ "InstanceOnboardingJobFailureCode":{
+ "type":"string",
+ "enum":[
+ "EVENT_BRIDGE_ACCESS_DENIED",
+ "EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED",
+ "IAM_ACCESS_DENIED",
+ "KMS_ACCESS_DENIED",
+ "KMS_KEY_NOT_FOUND",
+ "INTERNAL_FAILURE"
+ ]
+ },
+ "InstanceOnboardingJobStatus":{
+ "type":"structure",
+ "required":[
+ "connectInstanceId",
+ "status"
+ ],
+ "members":{
+ "connectInstanceId":{"shape":"InstanceId"},
+ "failureCode":{"shape":"InstanceOnboardingJobFailureCode"},
+ "status":{"shape":"InstanceOnboardingJobStatusCode"}
+ }
+ },
+ "InstanceOnboardingJobStatusCode":{
+ "type":"string",
+ "enum":[
+ "IN_PROGRESS",
+ "SUCCEEDED",
+ "FAILED"
+ ]
+ },
+ "InternalServerException":{
+ "type":"structure",
+ "required":["message"],
+ "members":{
+ "message":{"shape":"String"},
+ "xAmzErrorType":{
+ "shape":"XAmazonErrorType",
+ "location":"header",
+ "locationName":"x-amzn-ErrorType"
+ }
+ },
+ "error":{"httpStatusCode":500},
+ "exception":true,
+ "fault":true,
+ "retryable":{"throttling":false}
+ },
+ "InvalidCampaignStateException":{
+ "type":"structure",
+ "required":[
+ "message",
+ "state"
+ ],
+ "members":{
+ "message":{"shape":"String"},
+ "state":{"shape":"CampaignState"},
+ "xAmzErrorType":{
+ "shape":"XAmazonErrorType",
+ "location":"header",
+ "locationName":"x-amzn-ErrorType"
+ }
+ },
+ "error":{
+ "httpStatusCode":409,
+ "senderFault":true
+ },
+ "exception":true
+ },
+ "InvalidStateException":{
+ "type":"structure",
+ "required":["message"],
+ "members":{
+ "message":{"shape":"String"},
+ "xAmzErrorType":{
+ "shape":"XAmazonErrorType",
+ "location":"header",
+ "locationName":"x-amzn-ErrorType"
+ }
+ },
+ "error":{
+ "httpStatusCode":409,
+ "senderFault":true
+ },
+ "exception":true
+ },
+ "ListCampaignsRequest":{
+ "type":"structure",
+ "members":{
+ "filters":{"shape":"CampaignFilters"},
+ "maxResults":{"shape":"MaxResults"},
+ "nextToken":{"shape":"NextToken"}
+ }
+ },
+ "ListCampaignsResponse":{
+ "type":"structure",
+ "members":{
+ "campaignSummaryList":{"shape":"CampaignSummaryList"},
+ "nextToken":{"shape":"NextToken"}
+ }
+ },
+ "ListTagsForResourceRequest":{
+ "type":"structure",
+ "required":["arn"],
+ "members":{
+ "arn":{
+ "shape":"Arn",
+ "location":"uri",
+ "locationName":"arn"
+ }
+ }
+ },
+ "ListTagsForResourceResponse":{
+ "type":"structure",
+ "members":{
+ "tags":{"shape":"TagMap"}
+ }
+ },
+ "MaxResults":{
+ "type":"integer",
+ "box":true,
+ "max":50,
+ "min":1
+ },
+ "NextToken":{
+ "type":"string",
+ "max":1000,
+ "min":0
+ },
+ "OutboundCallConfig":{
+ "type":"structure",
+ "required":[
+ "connectContactFlowId",
+ "connectQueueId"
+ ],
+ "members":{
+ "answerMachineDetectionConfig":{"shape":"AnswerMachineDetectionConfig"},
+ "connectContactFlowId":{"shape":"ContactFlowId"},
+ "connectQueueId":{"shape":"QueueId"},
+ "connectSourcePhoneNumber":{"shape":"SourcePhoneNumber"}
+ }
+ },
+ "PauseCampaignRequest":{
+ "type":"structure",
+ "required":["id"],
+ "members":{
+ "id":{
+ "shape":"CampaignId",
+ "location":"uri",
+ "locationName":"id"
+ }
+ }
+ },
+ "PredictiveDialerConfig":{
+ "type":"structure",
+ "required":["bandwidthAllocation"],
+ "members":{
+ "bandwidthAllocation":{"shape":"BandwidthAllocation"}
+ }
+ },
+ "ProgressiveDialerConfig":{
+ "type":"structure",
+ "required":["bandwidthAllocation"],
+ "members":{
+ "bandwidthAllocation":{"shape":"BandwidthAllocation"}
+ }
+ },
+ "PutDialRequestBatchRequest":{
+ "type":"structure",
+ "required":[
+ "dialRequests",
+ "id"
+ ],
+ "members":{
+ "dialRequests":{"shape":"DialRequestList"},
+ "id":{
+ "shape":"CampaignId",
+ "location":"uri",
+ "locationName":"id"
+ }
+ }
+ },
+ "PutDialRequestBatchResponse":{
+ "type":"structure",
+ "members":{
+ "failedRequests":{"shape":"FailedRequestList"},
+ "successfulRequests":{"shape":"SuccessfulRequestList"}
+ }
+ },
+ "QueueId":{
+ "type":"string",
+ "max":500,
+ "min":0
+ },
+ "ResourceNotFoundException":{
+ "type":"structure",
+ "required":["message"],
+ "members":{
+ "message":{"shape":"String"},
+ "xAmzErrorType":{
+ "shape":"XAmazonErrorType",
+ "location":"header",
+ "locationName":"x-amzn-ErrorType"
+ }
+ },
+ "error":{
+ "httpStatusCode":404,
+ "senderFault":true
+ },
+ "exception":true
+ },
+ "ResumeCampaignRequest":{
+ "type":"structure",
+ "required":["id"],
+ "members":{
+ "id":{
+ "shape":"CampaignId",
+ "location":"uri",
+ "locationName":"id"
+ }
+ }
+ },
+ "ServiceLinkedRoleArn":{
+ "type":"string",
+ "max":256,
+ "min":0
+ },
+ "ServiceQuotaExceededException":{
+ "type":"structure",
+ "required":["message"],
+ "members":{
+ "message":{"shape":"String"},
+ "xAmzErrorType":{
+ "shape":"XAmazonErrorType",
+ "location":"header",
+ "locationName":"x-amzn-ErrorType"
+ }
+ },
+ "error":{
+ "httpStatusCode":402,
+ "senderFault":true
+ },
+ "exception":true
+ },
+ "SourcePhoneNumber":{
+ "type":"string",
+ "max":100,
+ "min":0
+ },
+ "StartCampaignRequest":{
+ "type":"structure",
+ "required":["id"],
+ "members":{
+ "id":{
+ "shape":"CampaignId",
+ "location":"uri",
+ "locationName":"id"
+ }
+ }
+ },
+ "StartInstanceOnboardingJobRequest":{
+ "type":"structure",
+ "required":[
+ "connectInstanceId",
+ "encryptionConfig"
+ ],
+ "members":{
+ "connectInstanceId":{
+ "shape":"InstanceId",
+ "location":"uri",
+ "locationName":"connectInstanceId"
+ },
+ "encryptionConfig":{"shape":"EncryptionConfig"}
+ }
+ },
+ "StartInstanceOnboardingJobResponse":{
+ "type":"structure",
+ "members":{
+ "connectInstanceOnboardingJobStatus":{"shape":"InstanceOnboardingJobStatus"}
+ }
+ },
+ "StopCampaignRequest":{
+ "type":"structure",
+ "required":["id"],
+ "members":{
+ "id":{
+ "shape":"CampaignId",
+ "location":"uri",
+ "locationName":"id"
+ }
+ }
+ },
+ "String":{"type":"string"},
+ "SuccessfulCampaignStateResponse":{
+ "type":"structure",
+ "members":{
+ "campaignId":{"shape":"CampaignId"},
+ "state":{"shape":"CampaignState"}
+ }
+ },
+ "SuccessfulCampaignStateResponseList":{
+ "type":"list",
+ "member":{"shape":"SuccessfulCampaignStateResponse"},
+ "max":25,
+ "min":0
+ },
+ "SuccessfulRequest":{
+ "type":"structure",
+ "members":{
+ "clientToken":{"shape":"ClientToken"},
+ "id":{"shape":"DialRequestId"}
+ }
+ },
+ "SuccessfulRequestList":{
+ "type":"list",
+ "member":{"shape":"SuccessfulRequest"},
+ "max":25,
+ "min":0
+ },
+ "TagKey":{
+ "type":"string",
+ "max":128,
+ "min":1,
+ "pattern":"^(?!aws:)[a-zA-Z+-=._:/]+$"
+ },
+ "TagKeyList":{
+ "type":"list",
+ "member":{"shape":"TagKey"},
+ "max":50,
+ "min":0
+ },
+ "TagMap":{
+ "type":"map",
+ "key":{"shape":"TagKey"},
+ "value":{"shape":"TagValue"}
+ },
+ "TagResourceRequest":{
+ "type":"structure",
+ "required":[
+ "arn",
+ "tags"
+ ],
+ "members":{
+ "arn":{
+ "shape":"Arn",
+ "location":"uri",
+ "locationName":"arn"
+ },
+ "tags":{"shape":"TagMap"}
+ }
+ },
+ "TagValue":{
+ "type":"string",
+ "max":256,
+ "min":0
+ },
+ "ThrottlingException":{
+ "type":"structure",
+ "required":["message"],
+ "members":{
+ "message":{"shape":"String"},
+ "xAmzErrorType":{
+ "shape":"XAmazonErrorType",
+ "location":"header",
+ "locationName":"x-amzn-ErrorType"
+ }
+ },
+ "error":{
+ "httpStatusCode":429,
+ "senderFault":true
+ },
+ "exception":true,
+ "retryable":{"throttling":false}
+ },
+ "TimeStamp":{
+ "type":"timestamp",
+ "timestampFormat":"iso8601"
+ },
+ "UntagResourceRequest":{
+ "type":"structure",
+ "required":[
+ "arn",
+ "tagKeys"
+ ],
+ "members":{
+ "arn":{
+ "shape":"Arn",
+ "location":"uri",
+ "locationName":"arn"
+ },
+ "tagKeys":{
+ "shape":"TagKeyList",
+ "location":"querystring",
+ "locationName":"tagKeys"
+ }
+ }
+ },
+ "UpdateCampaignDialerConfigRequest":{
+ "type":"structure",
+ "required":[
+ "dialerConfig",
+ "id"
+ ],
+ "members":{
+ "dialerConfig":{"shape":"DialerConfig"},
+ "id":{
+ "shape":"CampaignId",
+ "location":"uri",
+ "locationName":"id"
+ }
+ }
+ },
+ "UpdateCampaignNameRequest":{
+ "type":"structure",
+ "required":[
+ "id",
+ "name"
+ ],
+ "members":{
+ "id":{
+ "shape":"CampaignId",
+ "location":"uri",
+ "locationName":"id"
+ },
+ "name":{"shape":"CampaignName"}
+ }
+ },
+ "UpdateCampaignOutboundCallConfigRequest":{
+ "type":"structure",
+ "required":["id"],
+ "members":{
+ "answerMachineDetectionConfig":{"shape":"AnswerMachineDetectionConfig"},
+ "connectContactFlowId":{"shape":"ContactFlowId"},
+ "connectSourcePhoneNumber":{"shape":"SourcePhoneNumber"},
+ "id":{
+ "shape":"CampaignId",
+ "location":"uri",
+ "locationName":"id"
+ }
+ }
+ },
+ "ValidationException":{
+ "type":"structure",
+ "required":["message"],
+ "members":{
+ "message":{"shape":"String"},
+ "xAmzErrorType":{
+ "shape":"XAmazonErrorType",
+ "location":"header",
+ "locationName":"x-amzn-ErrorType"
+ }
+ },
+ "error":{
+ "httpStatusCode":400,
+ "senderFault":true
+ },
+ "exception":true
+ },
+ "XAmazonErrorType":{"type":"string"}
+ }
+}
diff --git a/models/apis/connectcampaigns/2021-01-30/docs-2.json b/models/apis/connectcampaigns/2021-01-30/docs-2.json
new file mode 100644
index 0000000000..0a631c46ca
--- /dev/null
+++ b/models/apis/connectcampaigns/2021-01-30/docs-2.json
@@ -0,0 +1,658 @@
+{
+ "version": "2.0",
+ "service": "
Provide APIs to create and manage Amazon Connect Campaigns.
",
+ "operations": {
+ "CreateCampaign": "Creates a campaign for the specified Amazon Connect account. This API is idempotent.
",
+ "DeleteCampaign": "Deletes a campaign from the specified Amazon Connect account.
",
+ "DeleteConnectInstanceConfig": "Deletes a connect instance config from the specified AWS account.
",
+ "DeleteInstanceOnboardingJob": "Delete the Connect Campaigns onboarding job for the specified Amazon Connect instance.
",
+ "DescribeCampaign": "Describes the specific campaign.
",
+ "GetCampaignState": "Get state of a campaign for the specified Amazon Connect account.
",
+ "GetCampaignStateBatch": "Get state of campaigns for the specified Amazon Connect account.
",
+ "GetConnectInstanceConfig": "Get the specific Connect instance config.
",
+ "GetInstanceOnboardingJobStatus": "Get the specific instance onboarding job status.
",
+ "ListCampaigns": "Provides summary information about the campaigns under the specified Amazon Connect account.
",
+ "ListTagsForResource": "List tags for a resource.
",
+ "PauseCampaign": "Pauses a campaign for the specified Amazon Connect account.
",
+ "PutDialRequestBatch": "Creates dials requests for the specified campaign Amazon Connect account. This API is idempotent.
",
+ "ResumeCampaign": "Stops a campaign for the specified Amazon Connect account.
",
+ "StartCampaign": "Starts a campaign for the specified Amazon Connect account.
",
+ "StartInstanceOnboardingJob": "Onboard the specific Amazon Connect instance to Connect Campaigns.
",
+ "StopCampaign": "Stops a campaign for the specified Amazon Connect account.
",
+ "TagResource": "Tag a resource.
",
+ "UntagResource": "Untag a resource.
",
+ "UpdateCampaignDialerConfig": "Updates the dialer config of a campaign. This API is idempotent.
",
+ "UpdateCampaignName": "Updates the name of a campaign. This API is idempotent.
",
+ "UpdateCampaignOutboundCallConfig": "Updates the outbound call config of a campaign. This API is idempotent.
"
+ },
+ "shapes": {
+ "AccessDeniedException": {
+ "base": "You do not have sufficient access to perform this action.
",
+ "refs": {
+ }
+ },
+ "AnswerMachineDetectionConfig": {
+ "base": "Answering Machine Detection config
",
+ "refs": {
+ "OutboundCallConfig$answerMachineDetectionConfig": null,
+ "UpdateCampaignOutboundCallConfigRequest$answerMachineDetectionConfig": null
+ }
+ },
+ "Arn": {
+ "base": "Arn
",
+ "refs": {
+ "ListTagsForResourceRequest$arn": null,
+ "TagResourceRequest$arn": null,
+ "UntagResourceRequest$arn": null
+ }
+ },
+ "AttributeName": {
+ "base": "The key of the attribute. Attribute keys can include only alphanumeric, dash, and underscore characters.
",
+ "refs": {
+ "Attributes$key": null
+ }
+ },
+ "AttributeValue": {
+ "base": "The value of the attribute.
",
+ "refs": {
+ "Attributes$value": null
+ }
+ },
+ "Attributes": {
+ "base": "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.
",
+ "refs": {
+ "DialRequest$attributes": null
+ }
+ },
+ "BandwidthAllocation": {
+ "base": "The bandwidth allocation of a queue resource.
",
+ "refs": {
+ "PredictiveDialerConfig$bandwidthAllocation": null,
+ "ProgressiveDialerConfig$bandwidthAllocation": null
+ }
+ },
+ "Boolean": {
+ "base": null,
+ "refs": {
+ "AnswerMachineDetectionConfig$enableAnswerMachineDetection": "Enable or disable answering machine detection
"
+ }
+ },
+ "Campaign": {
+ "base": "An Amazon Connect campaign.
",
+ "refs": {
+ "DescribeCampaignResponse$campaign": null
+ }
+ },
+ "CampaignArn": {
+ "base": "The resource name of an Amazon Connect campaign.
",
+ "refs": {
+ "Campaign$arn": null,
+ "CampaignSummary$arn": null,
+ "CreateCampaignResponse$arn": null
+ }
+ },
+ "CampaignFilters": {
+ "base": "Filter model by type
",
+ "refs": {
+ "ListCampaignsRequest$filters": null
+ }
+ },
+ "CampaignId": {
+ "base": "Identifier representing a Campaign
",
+ "refs": {
+ "Campaign$id": null,
+ "CampaignSummary$id": null,
+ "CreateCampaignResponse$id": null,
+ "DeleteCampaignRequest$id": null,
+ "DescribeCampaignRequest$id": null,
+ "FailedCampaignStateResponse$campaignId": null,
+ "GetCampaignStateBatchRequestCampaignIdsList$member": null,
+ "GetCampaignStateRequest$id": null,
+ "PauseCampaignRequest$id": null,
+ "PutDialRequestBatchRequest$id": null,
+ "ResumeCampaignRequest$id": null,
+ "StartCampaignRequest$id": null,
+ "StopCampaignRequest$id": null,
+ "SuccessfulCampaignStateResponse$campaignId": null,
+ "UpdateCampaignDialerConfigRequest$id": null,
+ "UpdateCampaignNameRequest$id": null,
+ "UpdateCampaignOutboundCallConfigRequest$id": null
+ }
+ },
+ "CampaignName": {
+ "base": "The name of an Amazon Connect Campaign name.
",
+ "refs": {
+ "Campaign$name": null,
+ "CampaignSummary$name": null,
+ "CreateCampaignRequest$name": null,
+ "UpdateCampaignNameRequest$name": null
+ }
+ },
+ "CampaignState": {
+ "base": "State of a campaign
",
+ "refs": {
+ "GetCampaignStateResponse$state": null,
+ "InvalidCampaignStateException$state": null,
+ "SuccessfulCampaignStateResponse$state": null
+ }
+ },
+ "CampaignSummary": {
+ "base": "An Amazon Connect campaign summary.
",
+ "refs": {
+ "CampaignSummaryList$member": null
+ }
+ },
+ "CampaignSummaryList": {
+ "base": "A list of Amazon Connect campaigns.
",
+ "refs": {
+ "ListCampaignsResponse$campaignSummaryList": null
+ }
+ },
+ "ClientToken": {
+ "base": "Client provided parameter used for idempotency. Its value must be unique for each request.
",
+ "refs": {
+ "DialRequest$clientToken": null,
+ "FailedRequest$clientToken": null,
+ "SuccessfulRequest$clientToken": null
+ }
+ },
+ "ConflictException": {
+ "base": "The request could not be processed because of conflict in the current state of the resource.
",
+ "refs": {
+ }
+ },
+ "ContactFlowId": {
+ "base": "The identifier of the contact flow for the outbound call.
",
+ "refs": {
+ "OutboundCallConfig$connectContactFlowId": null,
+ "UpdateCampaignOutboundCallConfigRequest$connectContactFlowId": null
+ }
+ },
+ "CreateCampaignRequest": {
+ "base": "The request for Create Campaign API.
",
+ "refs": {
+ }
+ },
+ "CreateCampaignResponse": {
+ "base": "The response for Create Campaign API
",
+ "refs": {
+ }
+ },
+ "DeleteCampaignRequest": {
+ "base": "DeleteCampaignRequest
",
+ "refs": {
+ }
+ },
+ "DeleteConnectInstanceConfigRequest": {
+ "base": "DeleteCampaignRequest
",
+ "refs": {
+ }
+ },
+ "DeleteInstanceOnboardingJobRequest": {
+ "base": "The request for DeleteInstanceOnboardingJob API.
",
+ "refs": {
+ }
+ },
+ "DescribeCampaignRequest": {
+ "base": "DescribeCampaignRequests
",
+ "refs": {
+ }
+ },
+ "DescribeCampaignResponse": {
+ "base": "DescribeCampaignResponse
",
+ "refs": {
+ }
+ },
+ "DestinationPhoneNumber": {
+ "base": "The phone number of the customer, in E.164 format.
",
+ "refs": {
+ "DialRequest$phoneNumber": null
+ }
+ },
+ "DialRequest": {
+ "base": "A dial request for a campaign.
",
+ "refs": {
+ "DialRequestList$member": null
+ }
+ },
+ "DialRequestId": {
+ "base": "Identifier representing a Dial request
",
+ "refs": {
+ "FailedRequest$id": null,
+ "SuccessfulRequest$id": null
+ }
+ },
+ "DialRequestList": {
+ "base": "A list of dial requests.
",
+ "refs": {
+ "PutDialRequestBatchRequest$dialRequests": null
+ }
+ },
+ "DialerConfig": {
+ "base": "The possible types of dialer config parameters
",
+ "refs": {
+ "Campaign$dialerConfig": null,
+ "CreateCampaignRequest$dialerConfig": null,
+ "UpdateCampaignDialerConfigRequest$dialerConfig": null
+ }
+ },
+ "Enabled": {
+ "base": "Boolean to indicate if custom encryption has been enabled.
",
+ "refs": {
+ "EncryptionConfig$enabled": null
+ }
+ },
+ "EncryptionConfig": {
+ "base": "Encryption config for Connect Instance. Note that sensitive data will always be encrypted. If disabled, service will perform encryption with its own key. If enabled, a KMS key id needs to be provided and KMS charges will apply. KMS is only type supported
",
+ "refs": {
+ "InstanceConfig$encryptionConfig": null,
+ "StartInstanceOnboardingJobRequest$encryptionConfig": null
+ }
+ },
+ "EncryptionKey": {
+ "base": "KMS key id/arn for encryption config.
",
+ "refs": {
+ "EncryptionConfig$keyArn": null
+ }
+ },
+ "EncryptionType": {
+ "base": "Server-side encryption type.
",
+ "refs": {
+ "EncryptionConfig$encryptionType": null
+ }
+ },
+ "FailedCampaignStateResponse": {
+ "base": "Failed response of campaign state
",
+ "refs": {
+ "FailedCampaignStateResponseList$member": null
+ }
+ },
+ "FailedCampaignStateResponseList": {
+ "base": "List of failed requests of campaign state
",
+ "refs": {
+ "GetCampaignStateBatchResponse$failedRequests": null
+ }
+ },
+ "FailedRequest": {
+ "base": "A failed request identified by the unique client token.
",
+ "refs": {
+ "FailedRequestList$member": null
+ }
+ },
+ "FailedRequestList": {
+ "base": "A list of failed requests.
",
+ "refs": {
+ "PutDialRequestBatchResponse$failedRequests": null
+ }
+ },
+ "FailureCode": {
+ "base": "A predefined code indicating the error that caused the failure.
",
+ "refs": {
+ "FailedRequest$failureCode": null
+ }
+ },
+ "GetCampaignStateBatchFailureCode": {
+ "base": "A predefined code indicating the error that caused the failure in getting state of campaigns
",
+ "refs": {
+ "FailedCampaignStateResponse$failureCode": null
+ }
+ },
+ "GetCampaignStateBatchRequest": {
+ "base": "GetCampaignStateBatchRequest
",
+ "refs": {
+ }
+ },
+ "GetCampaignStateBatchRequestCampaignIdsList": {
+ "base": "List of CampaignId
",
+ "refs": {
+ "GetCampaignStateBatchRequest$campaignIds": null
+ }
+ },
+ "GetCampaignStateBatchResponse": {
+ "base": "GetCampaignStateBatchResponse
",
+ "refs": {
+ }
+ },
+ "GetCampaignStateRequest": {
+ "base": "GetCampaignStateRequest
",
+ "refs": {
+ }
+ },
+ "GetCampaignStateResponse": {
+ "base": "GetCampaignStateResponse
",
+ "refs": {
+ }
+ },
+ "GetConnectInstanceConfigRequest": {
+ "base": "GetConnectInstanceConfigRequest
",
+ "refs": {
+ }
+ },
+ "GetConnectInstanceConfigResponse": {
+ "base": "GetConnectInstanceConfigResponse
",
+ "refs": {
+ }
+ },
+ "GetInstanceOnboardingJobStatusRequest": {
+ "base": "GetInstanceOnboardingJobStatusRequest
",
+ "refs": {
+ }
+ },
+ "GetInstanceOnboardingJobStatusResponse": {
+ "base": "GetInstanceOnboardingJobStatusResponse
",
+ "refs": {
+ }
+ },
+ "InstanceConfig": {
+ "base": "Instance config object
",
+ "refs": {
+ "GetConnectInstanceConfigResponse$connectInstanceConfig": null
+ }
+ },
+ "InstanceId": {
+ "base": "Amazon Connect Instance Id
",
+ "refs": {
+ "Campaign$connectInstanceId": null,
+ "CampaignSummary$connectInstanceId": null,
+ "CreateCampaignRequest$connectInstanceId": null,
+ "DeleteConnectInstanceConfigRequest$connectInstanceId": null,
+ "DeleteInstanceOnboardingJobRequest$connectInstanceId": null,
+ "GetConnectInstanceConfigRequest$connectInstanceId": null,
+ "GetInstanceOnboardingJobStatusRequest$connectInstanceId": null,
+ "InstanceConfig$connectInstanceId": null,
+ "InstanceIdFilter$value": null,
+ "InstanceOnboardingJobStatus$connectInstanceId": null,
+ "StartInstanceOnboardingJobRequest$connectInstanceId": null
+ }
+ },
+ "InstanceIdFilter": {
+ "base": "Connect instance identifier filter
",
+ "refs": {
+ "CampaignFilters$instanceIdFilter": null
+ }
+ },
+ "InstanceIdFilterOperator": {
+ "base": "Operators for Connect instance identifier filter
",
+ "refs": {
+ "InstanceIdFilter$operator": null
+ }
+ },
+ "InstanceOnboardingJobFailureCode": {
+ "base": "Enumeration of the possible failure codes for instance onboarding job
",
+ "refs": {
+ "InstanceOnboardingJobStatus$failureCode": null
+ }
+ },
+ "InstanceOnboardingJobStatus": {
+ "base": "Instance onboarding job status object
",
+ "refs": {
+ "GetInstanceOnboardingJobStatusResponse$connectInstanceOnboardingJobStatus": null,
+ "StartInstanceOnboardingJobResponse$connectInstanceOnboardingJobStatus": null
+ }
+ },
+ "InstanceOnboardingJobStatusCode": {
+ "base": "Enumeration of the possible states for instance onboarding job
",
+ "refs": {
+ "InstanceOnboardingJobStatus$status": null
+ }
+ },
+ "InternalServerException": {
+ "base": "Request processing failed because of an error or failure with the service.
",
+ "refs": {
+ }
+ },
+ "InvalidCampaignStateException": {
+ "base": "The request could not be processed because of conflict in the current state of the campaign.
",
+ "refs": {
+ }
+ },
+ "InvalidStateException": {
+ "base": "The request could not be processed because of conflict in the current state.
",
+ "refs": {
+ }
+ },
+ "ListCampaignsRequest": {
+ "base": "ListCampaignsRequest
",
+ "refs": {
+ }
+ },
+ "ListCampaignsResponse": {
+ "base": "ListCampaignsResponse
",
+ "refs": {
+ }
+ },
+ "ListTagsForResourceRequest": {
+ "base": "ListTagsForResource
",
+ "refs": {
+ }
+ },
+ "ListTagsForResourceResponse": {
+ "base": "ListTagsForResponse
",
+ "refs": {
+ }
+ },
+ "MaxResults": {
+ "base": "The maximum number of results to return per page.
",
+ "refs": {
+ "ListCampaignsRequest$maxResults": null
+ }
+ },
+ "NextToken": {
+ "base": "The token for the next set of results.
",
+ "refs": {
+ "ListCampaignsRequest$nextToken": null,
+ "ListCampaignsResponse$nextToken": null
+ }
+ },
+ "OutboundCallConfig": {
+ "base": "The configuration used for outbound calls.
",
+ "refs": {
+ "Campaign$outboundCallConfig": null,
+ "CreateCampaignRequest$outboundCallConfig": null
+ }
+ },
+ "PauseCampaignRequest": {
+ "base": "PauseCampaignRequest
",
+ "refs": {
+ }
+ },
+ "PredictiveDialerConfig": {
+ "base": "Predictive Dialer config
",
+ "refs": {
+ "DialerConfig$predictiveDialerConfig": null
+ }
+ },
+ "ProgressiveDialerConfig": {
+ "base": "Progressive Dialer config
",
+ "refs": {
+ "DialerConfig$progressiveDialerConfig": null
+ }
+ },
+ "PutDialRequestBatchRequest": {
+ "base": "PutDialRequestBatchRequest
",
+ "refs": {
+ }
+ },
+ "PutDialRequestBatchResponse": {
+ "base": "PutDialRequestBatchResponse
",
+ "refs": {
+ }
+ },
+ "QueueId": {
+ "base": "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.
",
+ "refs": {
+ "OutboundCallConfig$connectQueueId": null
+ }
+ },
+ "ResourceNotFoundException": {
+ "base": "The specified resource was not found.
",
+ "refs": {
+ }
+ },
+ "ResumeCampaignRequest": {
+ "base": "ResumeCampaignRequest
",
+ "refs": {
+ }
+ },
+ "ServiceLinkedRoleArn": {
+ "base": "Service linked role arn
",
+ "refs": {
+ "InstanceConfig$serviceLinkedRoleArn": null
+ }
+ },
+ "ServiceQuotaExceededException": {
+ "base": "Request would cause a service quota to be exceeded.
",
+ "refs": {
+ }
+ },
+ "SourcePhoneNumber": {
+ "base": "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.
",
+ "refs": {
+ "OutboundCallConfig$connectSourcePhoneNumber": null,
+ "UpdateCampaignOutboundCallConfigRequest$connectSourcePhoneNumber": null
+ }
+ },
+ "StartCampaignRequest": {
+ "base": "StartCampaignRequest
",
+ "refs": {
+ }
+ },
+ "StartInstanceOnboardingJobRequest": {
+ "base": "The request for StartInstanceOnboardingJob API.
",
+ "refs": {
+ }
+ },
+ "StartInstanceOnboardingJobResponse": {
+ "base": "The response for StartInstanceOnboardingJob API.
",
+ "refs": {
+ }
+ },
+ "StopCampaignRequest": {
+ "base": "StopCampaignRequest
",
+ "refs": {
+ }
+ },
+ "String": {
+ "base": null,
+ "refs": {
+ "AccessDeniedException$message": null,
+ "ConflictException$message": null,
+ "InternalServerException$message": null,
+ "InvalidCampaignStateException$message": null,
+ "InvalidStateException$message": null,
+ "ResourceNotFoundException$message": null,
+ "ServiceQuotaExceededException$message": null,
+ "ThrottlingException$message": null,
+ "ValidationException$message": null
+ }
+ },
+ "SuccessfulCampaignStateResponse": {
+ "base": "Successful response of campaign state
",
+ "refs": {
+ "SuccessfulCampaignStateResponseList$member": null
+ }
+ },
+ "SuccessfulCampaignStateResponseList": {
+ "base": "List of successful response of campaign state
",
+ "refs": {
+ "GetCampaignStateBatchResponse$successfulRequests": null
+ }
+ },
+ "SuccessfulRequest": {
+ "base": "A successful request identified by the unique client token.
",
+ "refs": {
+ "SuccessfulRequestList$member": null
+ }
+ },
+ "SuccessfulRequestList": {
+ "base": "A list of successful requests identified by the unique client token.
",
+ "refs": {
+ "PutDialRequestBatchResponse$successfulRequests": null
+ }
+ },
+ "TagKey": {
+ "base": "Tag key.
",
+ "refs": {
+ "TagKeyList$member": null,
+ "TagMap$key": null
+ }
+ },
+ "TagKeyList": {
+ "base": "List of tag keys.
",
+ "refs": {
+ "UntagResourceRequest$tagKeys": null
+ }
+ },
+ "TagMap": {
+ "base": "Tag map with key and value.
",
+ "refs": {
+ "Campaign$tags": null,
+ "CreateCampaignRequest$tags": null,
+ "CreateCampaignResponse$tags": null,
+ "ListTagsForResourceResponse$tags": null,
+ "TagResourceRequest$tags": null
+ }
+ },
+ "TagResourceRequest": {
+ "base": "TagResourceRequest
",
+ "refs": {
+ }
+ },
+ "TagValue": {
+ "base": "Tag value.
",
+ "refs": {
+ "TagMap$value": null
+ }
+ },
+ "ThrottlingException": {
+ "base": "The request was denied due to request throttling.
",
+ "refs": {
+ }
+ },
+ "TimeStamp": {
+ "base": "Timestamp with no UTC offset or timezone
",
+ "refs": {
+ "DialRequest$expirationTime": null
+ }
+ },
+ "UntagResourceRequest": {
+ "base": "UntagResourceRequest
",
+ "refs": {
+ }
+ },
+ "UpdateCampaignDialerConfigRequest": {
+ "base": "UpdateCampaignDialerConfigRequest
",
+ "refs": {
+ }
+ },
+ "UpdateCampaignNameRequest": {
+ "base": "UpdateCampaignNameRequest
",
+ "refs": {
+ }
+ },
+ "UpdateCampaignOutboundCallConfigRequest": {
+ "base": "UpdateCampaignOutboundCallConfigRequest
",
+ "refs": {
+ }
+ },
+ "ValidationException": {
+ "base": "The input fails to satisfy the constraints specified by an AWS service.
",
+ "refs": {
+ }
+ },
+ "XAmazonErrorType": {
+ "base": "A header that defines the error encountered while processing the request.
",
+ "refs": {
+ "AccessDeniedException$xAmzErrorType": null,
+ "ConflictException$xAmzErrorType": null,
+ "InternalServerException$xAmzErrorType": null,
+ "InvalidCampaignStateException$xAmzErrorType": null,
+ "InvalidStateException$xAmzErrorType": null,
+ "ResourceNotFoundException$xAmzErrorType": null,
+ "ServiceQuotaExceededException$xAmzErrorType": null,
+ "ThrottlingException$xAmzErrorType": null,
+ "ValidationException$xAmzErrorType": null
+ }
+ }
+ }
+}
diff --git a/models/apis/connectcampaigns/2021-01-30/examples-1.json b/models/apis/connectcampaigns/2021-01-30/examples-1.json
new file mode 100644
index 0000000000..0ea7e3b0bb
--- /dev/null
+++ b/models/apis/connectcampaigns/2021-01-30/examples-1.json
@@ -0,0 +1,5 @@
+{
+ "version": "1.0",
+ "examples": {
+ }
+}
diff --git a/models/apis/connectcampaigns/2021-01-30/paginators-1.json b/models/apis/connectcampaigns/2021-01-30/paginators-1.json
new file mode 100644
index 0000000000..6ab0451259
--- /dev/null
+++ b/models/apis/connectcampaigns/2021-01-30/paginators-1.json
@@ -0,0 +1,10 @@
+{
+ "pagination": {
+ "ListCampaigns": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults",
+ "result_key": "campaignSummaryList"
+ }
+ }
+}
diff --git a/models/apis/dynamodb/2012-08-10/docs-2.json b/models/apis/dynamodb/2012-08-10/docs-2.json
index 32ec7ccf45..32c1c89909 100644
--- a/models/apis/dynamodb/2012-08-10/docs-2.json
+++ b/models/apis/dynamodb/2012-08-10/docs-2.json
@@ -2,7 +2,7 @@
"version": "2.0",
"service": "Amazon DynamoDB Amazon DynamoDB is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability. DynamoDB lets you offload the administrative burdens of operating and scaling a distributed database, so that you don't have to worry about hardware provisioning, setup and configuration, replication, software patching, or cluster scaling.
With DynamoDB, you can create database tables that can store and retrieve any amount of data, and serve any level of request traffic. You can scale up or scale down your tables' throughput capacity without downtime or performance degradation, and use the Amazon Web Services Management Console to monitor resource utilization and performance metrics.
DynamoDB automatically spreads the data and traffic for your tables over a sufficient number of servers to handle your throughput and storage requirements, while maintaining consistent and fast performance. All of your data is stored on solid state disks (SSDs) and automatically replicated across multiple Availability Zones in an Amazon Web Services Region, providing built-in high availability and data durability.
",
"operations": {
- "BatchExecuteStatement": "This operation allows you to perform batch reads or writes on data stored in DynamoDB, using PartiQL.
The entire batch must consist of either read statements or write statements, you cannot mix both in one batch.
",
+ "BatchExecuteStatement": "This operation allows you to perform batch reads or writes on data stored in DynamoDB, using PartiQL. Each read statement in a BatchExecuteStatement
must specify an equality condition on all key attributes. This enforces that each SELECT
statement in a batch returns at most a single item.
The entire batch must consist of either read statements or write statements, you cannot mix both in one batch.
A HTTP 200 response does not mean that all statements in the BatchExecuteStatement succeeded. Error details for individual statements can be found under the Error field of the BatchStatementResponse
for each statement.
",
"BatchGetItem": "The BatchGetItem
operation returns the attributes of one or more items from one or more tables. You identify requested items by primary key.
A single operation can retrieve up to 16 MB of data, which can contain as many as 100 items. BatchGetItem
returns a partial result if the response size limit is exceeded, the table's provisioned throughput is exceeded, or an internal processing failure occurs. If a partial result is returned, the operation returns a value for UnprocessedKeys
. You can use this value to retry the operation starting with the next item to get.
If you request more than 100 items, BatchGetItem
returns a ValidationException
with the message \"Too many items requested for the BatchGetItem call.\"
For example, if you ask to retrieve 100 items, but each individual item is 300 KB in size, the system returns 52 items (so as not to exceed the 16 MB limit). It also returns an appropriate UnprocessedKeys
value so you can get the next page of results. If desired, your application can include its own logic to assemble the pages of results into one dataset.
If none of the items can be processed due to insufficient provisioned throughput on all of the tables in the request, then BatchGetItem
returns a ProvisionedThroughputExceededException
. If at least one of the items is successfully processed, then BatchGetItem
completes successfully, while returning the keys of the unread items in UnprocessedKeys
.
If DynamoDB returns any unprocessed items, you should retry the batch operation on those items. However, we strongly recommend that you use an exponential backoff algorithm. If you retry the batch operation immediately, the underlying read or write requests can still fail due to throttling on the individual tables. If you delay the batch operation using exponential backoff, the individual requests in the batch are much more likely to succeed.
For more information, see Batch Operations and Error Handling in the Amazon DynamoDB Developer Guide.
By default, BatchGetItem
performs eventually consistent reads on every table in the request. If you want strongly consistent reads instead, you can set ConsistentRead
to true
for any or all tables.
In order to minimize response latency, BatchGetItem
retrieves items in parallel.
When designing your application, keep in mind that DynamoDB does not return items in any particular order. To help parse the response by item, include the primary key values for the items in your request in the ProjectionExpression
parameter.
If a requested item does not exist, it is not returned in the result. Requests for nonexistent items consume the minimum read capacity units according to the type of read. For more information, see Working with Tables in the Amazon DynamoDB Developer Guide.
",
"BatchWriteItem": "The BatchWriteItem
operation puts or deletes multiple items in one or more tables. A single call to BatchWriteItem
can transmit up to 16MB of data over the network, consisting of up to 25 item put or delete operations. While individual items can be up to 400 KB once stored, it's important to note that an item's representation might be greater than 400KB while being sent in DynamoDB's JSON format for the API call. For more details on this distinction, see Naming Rules and Data Types.
BatchWriteItem
cannot update items. To update items, use the UpdateItem
action.
The individual PutItem
and DeleteItem
operations specified in BatchWriteItem
are atomic; however BatchWriteItem
as a whole is not. If any requested operations fail because the table's provisioned throughput is exceeded or an internal processing failure occurs, the failed operations are returned in the UnprocessedItems
response parameter. You can investigate and optionally resend the requests. Typically, you would call BatchWriteItem
in a loop. Each iteration would check for unprocessed items and submit a new BatchWriteItem
request with those unprocessed items until all items have been processed.
If none of the items can be processed due to insufficient provisioned throughput on all of the tables in the request, then BatchWriteItem
returns a ProvisionedThroughputExceededException
.
If DynamoDB returns any unprocessed items, you should retry the batch operation on those items. However, we strongly recommend that you use an exponential backoff algorithm. If you retry the batch operation immediately, the underlying read or write requests can still fail due to throttling on the individual tables. If you delay the batch operation using exponential backoff, the individual requests in the batch are much more likely to succeed.
For more information, see Batch Operations and Error Handling in the Amazon DynamoDB Developer Guide.
With BatchWriteItem
, you can efficiently write or delete large amounts of data, such as from Amazon EMR, or copy data from another database into DynamoDB. In order to improve performance with these large-scale operations, BatchWriteItem
does not behave in the same way as individual PutItem
and DeleteItem
calls would. For example, you cannot specify conditions on individual put and delete requests, and BatchWriteItem
does not return deleted items in the response.
If you use a programming language that supports concurrency, you can use threads to write items in parallel. Your application must include the necessary logic to manage the threads. With languages that don't support threading, you must update or delete the specified items one at a time. In both situations, BatchWriteItem
performs the specified put and delete operations in parallel, giving you the power of the thread pool approach without having to introduce complexity into your application.
Parallel processing reduces latency, but each specified put and delete request consumes the same number of write capacity units whether it is processed in parallel or not. Delete operations on nonexistent items consume one write capacity unit.
If one or more of the following is true, DynamoDB rejects the entire batch write operation:
-
One or more tables specified in the BatchWriteItem
request does not exist.
-
Primary key attributes specified on an item in the request do not match those in the corresponding table's primary key schema.
-
You try to perform multiple operations on the same item in the same BatchWriteItem
request. For example, you cannot put and delete the same item in the same BatchWriteItem
request.
-
Your request contains at least two items with identical hash and range keys (which essentially is two put operations).
-
There are more than 25 requests in the batch.
-
Any individual item in a batch exceeds 400 KB.
-
The total request size exceeds 16 MB.
",
"CreateBackup": "Creates a backup for an existing table.
Each time you create an on-demand backup, the entire table data is backed up. There is no limit to the number of on-demand backups that can be taken.
When you create an on-demand backup, a time marker of the request is cataloged, and the backup is created asynchronously, by applying all changes until the time of the request to the last full table snapshot. Backup requests are processed instantaneously and become available for restore within minutes.
You can call CreateBackup
at a maximum rate of 50 times per second.
All backups in DynamoDB work without consuming any provisioned throughput on the table.
If you submit a backup request on 2018-12-14 at 14:25:00, the backup is guaranteed to contain all data committed to the table up to 14:24:00, and data committed after 14:26:00 will not be. The backup might contain data modifications made between 14:24:00 and 14:26:00. On-demand backup does not support causal consistency.
Along with data, the following are also included on the backups:
-
Global secondary indexes (GSIs)
-
Local secondary indexes (LSIs)
-
Streams
-
Provisioned read and write capacity
",
@@ -35,7 +35,7 @@
"ListGlobalTables": "Lists all global tables that have a replica in the specified Region.
This operation only applies to Version 2017.11.29 of global tables.
",
"ListTables": "Returns an array of table names associated with the current account and endpoint. The output from ListTables
is paginated, with each page returning a maximum of 100 table names.
",
"ListTagsOfResource": "List all tags on an Amazon DynamoDB resource. You can call ListTagsOfResource up to 10 times per second, per account.
For an overview on tagging DynamoDB resources, see Tagging for DynamoDB in the Amazon DynamoDB Developer Guide.
",
- "PutItem": "Creates a new item, or replaces an old item with a new item. If an item that has the same primary key as the new item already exists in the specified table, the new item completely replaces the existing item. You can perform a conditional put operation (add a new item if one with the specified primary key doesn't exist), or replace an existing item if it has certain attribute values. You can return the item's attribute values in the same operation, using the ReturnValues
parameter.
This topic provides general information about the PutItem
API.
For information on how to call the PutItem
API using the Amazon Web Services SDK in specific languages, see the following:
When you add an item, the primary key attributes are the only required attributes. Attribute values cannot be null.
Empty String and Binary attribute values are allowed. Attribute values of type String and Binary must have a length greater than zero if the attribute is used as a key attribute for a table or index. Set type attributes cannot be empty.
Invalid Requests with empty values will be rejected with a ValidationException
exception.
To prevent a new item from replacing an existing item, use a conditional expression that contains the attribute_not_exists
function with the name of the attribute being used as the partition key for the table. Since every record must contain that attribute, the attribute_not_exists
function will only succeed if no matching item exists.
For more information about PutItem
, see Working with Items in the Amazon DynamoDB Developer Guide.
",
+ "PutItem": "Creates a new item, or replaces an old item with a new item. If an item that has the same primary key as the new item already exists in the specified table, the new item completely replaces the existing item. You can perform a conditional put operation (add a new item if one with the specified primary key doesn't exist), or replace an existing item if it has certain attribute values. You can return the item's attribute values in the same operation, using the ReturnValues
parameter.
When you add an item, the primary key attributes are the only required attributes. Attribute values cannot be null.
Empty String and Binary attribute values are allowed. Attribute values of type String and Binary must have a length greater than zero if the attribute is used as a key attribute for a table or index. Set type attributes cannot be empty.
Invalid Requests with empty values will be rejected with a ValidationException
exception.
To prevent a new item from replacing an existing item, use a conditional expression that contains the attribute_not_exists
function with the name of the attribute being used as the partition key for the table. Since every record must contain that attribute, the attribute_not_exists
function will only succeed if no matching item exists.
For more information about PutItem
, see Working with Items in the Amazon DynamoDB Developer Guide.
",
"Query": "You must provide the name of the partition key attribute and a single value for that attribute. Query
returns all items with that partition key value. Optionally, you can provide a sort key attribute and use a comparison operator to refine the search results.
Use the KeyConditionExpression
parameter to provide a specific value for the partition key. The Query
operation will return all of the items from the table or index with that partition key value. You can optionally narrow the scope of the Query
operation by specifying a sort key value and a comparison operator in KeyConditionExpression
. To further refine the Query
results, you can optionally provide a FilterExpression
. A FilterExpression
determines which items within the results should be returned to you. All of the other results are discarded.
A Query
operation always returns a result set. If no matching items are found, the result set will be empty. Queries that do not return results consume the minimum number of read capacity units for that type of read operation.
DynamoDB calculates the number of read capacity units consumed based on item size, not on the amount of data that is returned to an application. The number of capacity units consumed will be the same whether you request all of the attributes (the default behavior) or just some of them (using a projection expression). The number will also be the same whether or not you use a FilterExpression
.
Query
results are always sorted by the sort key value. If the data type of the sort key is Number, the results are returned in numeric order; otherwise, the results are returned in order of UTF-8 bytes. By default, the sort order is ascending. To reverse the order, set the ScanIndexForward
parameter to false.
A single Query
operation will read up to the maximum number of items set (if using the Limit
parameter) or a maximum of 1 MB of data and then apply any filtering to the results using FilterExpression
. If LastEvaluatedKey
is present in the response, you will need to paginate the result set. For more information, see Paginating the Results in the Amazon DynamoDB Developer Guide.
FilterExpression
is applied after a Query
finishes, but before the results are returned. A FilterExpression
cannot contain partition key or sort key attributes. You need to specify those attributes in the KeyConditionExpression
.
A Query
operation can return an empty result set and a LastEvaluatedKey
if all the items read for the page of results are filtered out.
You can query a table, a local secondary index, or a global secondary index. For a query on a table or on a local secondary index, you can set the ConsistentRead
parameter to true
and obtain a strongly consistent result. Global secondary indexes support eventually consistent reads only, so do not specify ConsistentRead
when querying a global secondary index.
",
"RestoreTableFromBackup": "Creates a new table from an existing backup. Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.
You can call RestoreTableFromBackup
at a maximum rate of 10 times per second.
You must manually set up the following on the restored table:
",
"RestoreTableToPointInTime": "Restores the specified table to the specified point in time within EarliestRestorableDateTime
and LatestRestorableDateTime
. You can restore your table to any point in time during the last 35 days. Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.
When you restore using point in time recovery, DynamoDB restores your table data to the state based on the selected date and time (day:hour:minute:second) to a new table.
Along with data, the following are also included on the new restored table using point in time recovery:
-
Global secondary indexes (GSIs)
-
Local secondary indexes (LSIs)
-
Provisioned read and write capacity
-
Encryption settings
All these settings come from the current settings of the source table at the time of restore.
You must manually set up the following on the restored table:
-
Auto scaling policies
-
IAM policies
-
Amazon CloudWatch metrics and alarms
-
Tags
-
Stream settings
-
Time to Live (TTL) settings
-
Point in time recovery settings
",
@@ -49,7 +49,7 @@
"UpdateGlobalTable": "Adds or removes replicas in the specified global table. The global table must already exist to be able to use this operation. Any replica to be added must be empty, have the same name as the global table, have the same key schema, have DynamoDB Streams enabled, and have the same provisioned and maximum write capacity units.
Although you can use UpdateGlobalTable
to add replicas and remove replicas in a single request, for simplicity we recommend that you issue separate requests for adding or removing replicas.
If global secondary indexes are specified, then the following conditions must also be met:
-
The global secondary indexes must have the same name.
-
The global secondary indexes must have the same hash key and sort key (if present).
-
The global secondary indexes must have the same provisioned and maximum write capacity units.
",
"UpdateGlobalTableSettings": "Updates settings for a global table.
",
"UpdateItem": "Edits an existing item's attributes, or adds a new item to the table if it does not already exist. You can put, delete, or add attribute values. You can also perform a conditional update on an existing item (insert a new attribute name-value pair if it doesn't exist, or replace an existing name-value pair if it has certain expected attribute values).
You can also return the item's attribute values in the same UpdateItem
operation using the ReturnValues
parameter.
",
- "UpdateTable": "Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given table.
You can only perform one of the following operations at once:
-
Modify the provisioned throughput settings of the table.
-
Enable or disable DynamoDB Streams on the table.
-
Remove a global secondary index from the table.
-
Create a new global secondary index on the table. After the index begins backfilling, you can use UpdateTable
to perform other operations.
UpdateTable
is an asynchronous operation; while it is executing, the table status changes from ACTIVE
to UPDATING
. While it is UPDATING
, you cannot issue another UpdateTable
request. When the table returns to the ACTIVE
state, the UpdateTable
operation is complete.
",
+ "UpdateTable": "Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given table.
You can only perform one of the following operations at once:
-
Modify the provisioned throughput settings of the table.
-
Remove a global secondary index from the table.
-
Create a new global secondary index on the table. After the index begins backfilling, you can use UpdateTable
to perform other operations.
UpdateTable
is an asynchronous operation; while it is executing, the table status changes from ACTIVE
to UPDATING
. While it is UPDATING
, you cannot issue another UpdateTable
request. When the table returns to the ACTIVE
state, the UpdateTable
operation is complete.
",
"UpdateTableReplicaAutoScaling": "Updates auto scaling settings on your global tables at once.
This operation only applies to Version 2019.11.21 of global tables.
",
"UpdateTimeToLive": "The UpdateTimeToLive
method enables or disables Time to Live (TTL) for the specified table. A successful UpdateTimeToLive
call returns the current TimeToLiveSpecification
. It can take up to one hour for the change to fully process. Any additional UpdateTimeToLive
calls for the same table during this one hour duration result in a ValidationException
.
TTL compares the current time in epoch time format to the time stored in the TTL attribute of an item. If the epoch time value stored in the attribute is less than the current time, the item is marked as expired and subsequently deleted.
The epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.
DynamoDB deletes expired items on a best-effort basis to ensure availability of throughput for other data operations.
DynamoDB typically deletes expired items within two days of expiration. The exact duration within which an item gets deleted after expiration is specific to the nature of the workload. Items that have expired and not been deleted will still show up in reads, queries, and scans.
As items are deleted, they are removed from any local secondary index and global secondary index immediately in the same eventually consistent way as a standard delete operation.
For more information, see Time To Live in the Amazon DynamoDB Developer Guide.
"
},
@@ -69,7 +69,7 @@
"AttributeAction": {
"base": null,
"refs": {
- "AttributeValueUpdate$Action": "Specifies how to perform the update. Valid values are PUT
(default), DELETE
, and ADD
. The behavior depends on whether the specified primary key already exists in the table.
If an item with the specified Key is found in the table:
-
PUT
- Adds the specified attribute to the item. If the attribute already exists, it is replaced by the new value.
-
DELETE
- If no value is specified, the attribute and its value are removed from the item. The data type of the specified value must match the existing value's data type.
If a set of values is specified, then those values are subtracted from the old set. For example, if the attribute value was the set [a,b,c]
and the DELETE
action specified [a,c]
, then the final attribute value would be [b]
. Specifying an empty set is an error.
-
ADD
- If the attribute does not already exist, then the attribute and its values are added to the item. If the attribute does exist, then the behavior of ADD
depends on the data type of the attribute:
-
If the existing attribute is a number, and if Value
is also a number, then the Value
is mathematically added to the existing attribute. If Value
is a negative number, then it is subtracted from the existing attribute.
If you use ADD
to increment or decrement a number value for an item that doesn't exist before the update, DynamoDB uses 0 as the initial value.
In addition, if you use ADD
to update an existing item, and intend to increment or decrement an attribute value which does not yet exist, DynamoDB uses 0
as the initial value. For example, suppose that the item you want to update does not yet have an attribute named itemcount, but you decide to ADD
the number 3
to this attribute anyway, even though it currently does not exist. DynamoDB will create the itemcount attribute, set its initial value to 0
, and finally add 3
to it. The result will be a new itemcount attribute in the item, with a value of 3
.
-
If the existing data type is a set, and if the Value
is also a set, then the Value
is added to the existing set. (This is a set operation, not mathematical addition.) For example, if the attribute value was the set [1,2]
, and the ADD
action specified [3]
, then the final attribute value would be [1,2,3]
. An error occurs if an Add action is specified for a set attribute and the attribute type specified does not match the existing set type.
Both sets must have the same primitive data type. For example, if the existing data type is a set of strings, the Value
must also be a set of strings. The same holds true for number sets and binary sets.
This action is only valid for an existing attribute whose data type is number or is a set. Do not use ADD
for any other data types.
If no item with the specified Key is found:
-
PUT
- DynamoDB creates a new item with the specified primary key, and then adds the attribute.
-
DELETE
- Nothing happens; there is no attribute to delete.
-
ADD
- DynamoDB creates an item with the supplied primary key and number (or set of numbers) for the attribute value. The only data types allowed are number and number set; no other data types can be specified.
"
+ "AttributeValueUpdate$Action": "Specifies how to perform the update. Valid values are PUT
(default), DELETE
, and ADD
. The behavior depends on whether the specified primary key already exists in the table.
If an item with the specified Key is found in the table:
-
PUT
- Adds the specified attribute to the item. If the attribute already exists, it is replaced by the new value.
-
DELETE
- If no value is specified, the attribute and its value are removed from the item. The data type of the specified value must match the existing value's data type.
If a set of values is specified, then those values are subtracted from the old set. For example, if the attribute value was the set [a,b,c]
and the DELETE
action specified [a,c]
, then the final attribute value would be [b]
. Specifying an empty set is an error.
-
ADD
- If the attribute does not already exist, then the attribute and its values are added to the item. If the attribute does exist, then the behavior of ADD
depends on the data type of the attribute:
-
If the existing attribute is a number, and if Value
is also a number, then the Value
is mathematically added to the existing attribute. If Value
is a negative number, then it is subtracted from the existing attribute.
If you use ADD
to increment or decrement a number value for an item that doesn't exist before the update, DynamoDB uses 0 as the initial value.
In addition, if you use ADD
to update an existing item, and intend to increment or decrement an attribute value which does not yet exist, DynamoDB uses 0
as the initial value. For example, suppose that the item you want to update does not yet have an attribute named itemcount, but you decide to ADD
the number 3
to this attribute anyway, even though it currently does not exist. DynamoDB will create the itemcount attribute, set its initial value to 0
, and finally add 3
to it. The result will be a new itemcount attribute in the item, with a value of 3
.
-
If the existing data type is a set, and if the Value
is also a set, then the Value
is added to the existing set. (This is a set operation, not mathematical addition.) For example, if the attribute value was the set [1,2]
, and the ADD
action specified [3]
, then the final attribute value would be [1,2,3]
. An error occurs if an Add action is specified for a set attribute and the attribute type specified does not match the existing set type.
Both sets must have the same primitive data type. For example, if the existing data type is a set of strings, the Value
must also be a set of strings. The same holds true for number sets and binary sets.
This action is only valid for an existing attribute whose data type is number or is a set. Do not use ADD
for any other data types.
If no item with the specified Key is found:
-
PUT
- DynamoDB creates a new item with the specified primary key, and then adds the attribute.
-
DELETE
- Nothing happens; there is no attribute to delete.
-
ADD
- DynamoDB creates a new item with the supplied primary key and number (or set) for the attribute value. The only data types allowed are number, number set, string set or binary set.
"
}
},
"AttributeDefinition": {
@@ -290,7 +290,7 @@
"BackupSizeBytes": {
"base": null,
"refs": {
- "BackupDetails$BackupSizeBytes": "Size of the backup in bytes.
",
+ "BackupDetails$BackupSizeBytes": "Size of the backup in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.
",
"BackupSummary$BackupSizeBytes": "Size of the backup in bytes.
"
}
},
@@ -323,7 +323,7 @@
"BackupTypeFilter": {
"base": null,
"refs": {
- "ListBackupsInput$BackupType": "The backups from the table specified by BackupType
are listed.
Where BackupType
can be:
-
USER
- On-demand backup created by you.
-
SYSTEM
- On-demand backup automatically created by DynamoDB.
-
ALL
- All types of on-demand backups (USER and SYSTEM).
"
+ "ListBackupsInput$BackupType": "The backups from the table specified by BackupType
are listed.
Where BackupType
can be:
-
USER
- On-demand backup created by you. (The default setting if no other backup types are specified.)
-
SYSTEM
- On-demand backup automatically created by DynamoDB.
-
ALL
- All types of on-demand backups (USER and SYSTEM).
"
}
},
"BackupsInputLimit": {
@@ -530,8 +530,8 @@
"DeleteItemInput$ConditionExpression": "A condition that must be satisfied in order for a conditional DeleteItem
to succeed.
An expression can contain any of the following:
-
Functions: attribute_exists | attribute_not_exists | attribute_type | contains | begins_with | size
These function names are case-sensitive.
-
Comparison operators: = | <> | < | > | <= | >= | BETWEEN | IN
-
Logical operators: AND | OR | NOT
For more information about condition expressions, see Condition Expressions in the Amazon DynamoDB Developer Guide.
",
"Put$ConditionExpression": "A condition that must be satisfied in order for a conditional update to succeed.
",
"PutItemInput$ConditionExpression": "A condition that must be satisfied in order for a conditional PutItem
operation to succeed.
An expression can contain any of the following:
-
Functions: attribute_exists | attribute_not_exists | attribute_type | contains | begins_with | size
These function names are case-sensitive.
-
Comparison operators: = | <> | < | > | <= | >= | BETWEEN | IN
-
Logical operators: AND | OR | NOT
For more information on condition expressions, see Condition Expressions in the Amazon DynamoDB Developer Guide.
",
- "QueryInput$FilterExpression": "A string that contains conditions that DynamoDB applies after the Query
operation, but before the data is returned to you. Items that do not satisfy the FilterExpression
criteria are not returned.
A FilterExpression
does not allow key attributes. You cannot define a filter expression based on a partition key or a sort key.
A FilterExpression
is applied after the items have already been read; the process of filtering does not consume any additional read capacity units.
For more information, see Filter Expressions in the Amazon DynamoDB Developer Guide.
",
- "ScanInput$FilterExpression": "A string that contains conditions that DynamoDB applies after the Scan
operation, but before the data is returned to you. Items that do not satisfy the FilterExpression
criteria are not returned.
A FilterExpression
is applied after the items have already been read; the process of filtering does not consume any additional read capacity units.
For more information, see Filter Expressions in the Amazon DynamoDB Developer Guide.
",
+ "QueryInput$FilterExpression": "A string that contains conditions that DynamoDB applies after the Query
operation, but before the data is returned to you. Items that do not satisfy the FilterExpression
criteria are not returned.
A FilterExpression
does not allow key attributes. You cannot define a filter expression based on a partition key or a sort key.
A FilterExpression
is applied after the items have already been read; the process of filtering does not consume any additional read capacity units.
For more information, see Filter Expressions in the Amazon DynamoDB Developer Guide.
",
+ "ScanInput$FilterExpression": "A string that contains conditions that DynamoDB applies after the Scan
operation, but before the data is returned to you. Items that do not satisfy the FilterExpression
criteria are not returned.
A FilterExpression
is applied after the items have already been read; the process of filtering does not consume any additional read capacity units.
For more information, see Filter Expressions in the Amazon DynamoDB Developer Guide.
",
"Update$ConditionExpression": "A condition that must be satisfied in order for a conditional update to succeed.
",
"UpdateItemInput$ConditionExpression": "A condition that must be satisfied in order for a conditional update to succeed.
An expression can contain any of the following:
-
Functions: attribute_exists | attribute_not_exists | attribute_type | contains | begins_with | size
These function names are case-sensitive.
-
Comparison operators: = | <> | < | > | <= | >= | BETWEEN | IN
-
Logical operators: AND | OR | NOT
For more information about condition expressions, see Specifying Conditions in the Amazon DynamoDB Developer Guide.
"
}
@@ -1103,7 +1103,7 @@
"base": null,
"refs": {
"ExportDescription$ExportTime": "Point in time from which table data was exported.
",
- "ExportTableToPointInTimeInput$ExportTime": "Time in the past from which to export table data. The table export will be a snapshot of the table's state at this point in time.
"
+ "ExportTableToPointInTimeInput$ExportTime": "Time in the past from which to export table data, counted in seconds from the start of the Unix epoch. The table export will be a snapshot of the table's state at this point in time.
"
}
},
"ExpressionAttributeNameMap": {
@@ -1217,7 +1217,7 @@
"GlobalSecondaryIndexDescriptionList": {
"base": null,
"refs": {
- "TableDescription$GlobalSecondaryIndexes": "The global secondary indexes, if any, on the table. Each index is scoped to a given partition key value. Each element is composed of:
-
Backfilling
- If true, then the index is currently in the backfilling phase. Backfilling occurs only when a new global secondary index is added to the table. It is the process by which DynamoDB populates the new index with data from the table. (This attribute does not appear for indexes that were created during a CreateTable
operation.)
You can delete an index that is being created during the Backfilling
phase when IndexStatus
is set to CREATING and Backfilling
is true. You can't delete the index that is being created when IndexStatus
is set to CREATING and Backfilling
is false. (This attribute does not appear for indexes that were created during a CreateTable
operation.)
-
IndexName
- The name of the global secondary index.
-
IndexSizeBytes
- The total size of the global secondary index, in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.
-
IndexStatus
- The current status of the global secondary index:
-
CREATING
- The index is being created.
-
UPDATING
- The index is being updated.
-
DELETING
- The index is being deleted.
-
ACTIVE
- The index is ready for use.
-
ItemCount
- The number of items in the global secondary index. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.
-
KeySchema
- Specifies the complete index key schema. The attribute names in the key schema must be between 1 and 255 characters (inclusive). The key schema must begin with the same partition key as the table.
-
Projection
- Specifies attributes that are copied (projected) from the table into the index. These are in addition to the primary key attributes and index key attributes, which are automatically projected. Each attribute specification is composed of:
-
ProjectionType
- One of the following:
-
KEYS_ONLY
- Only the index and primary keys are projected into the index.
-
INCLUDE
- In addition to the attributes described in KEYS_ONLY
, the secondary index will include other non-key attributes that you specify.
-
ALL
- All of the table attributes are projected into the index.
-
NonKeyAttributes
- A list of one or more non-key attribute names that are projected into the secondary index. The total count of attributes provided in NonKeyAttributes
, summed across all of the secondary indexes, must not exceed 20. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.
-
ProvisionedThroughput
- The provisioned throughput settings for the global secondary index, consisting of read and write capacity units, along with data about increases and decreases.
If the table is in the DELETING
state, no information about indexes will be returned.
"
+ "TableDescription$GlobalSecondaryIndexes": "The global secondary indexes, if any, on the table. Each index is scoped to a given partition key value. Each element is composed of:
-
Backfilling
- If true, then the index is currently in the backfilling phase. Backfilling occurs only when a new global secondary index is added to the table. It is the process by which DynamoDB populates the new index with data from the table. (This attribute does not appear for indexes that were created during a CreateTable
operation.)
You can delete an index that is being created during the Backfilling
phase when IndexStatus
is set to CREATING and Backfilling
is true. You can't delete the index that is being created when IndexStatus
is set to CREATING and Backfilling
is false. (This attribute does not appear for indexes that were created during a CreateTable
operation.)
-
IndexName
- The name of the global secondary index.
-
IndexSizeBytes
- The total size of the global secondary index, in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.
-
IndexStatus
- The current status of the global secondary index:
-
CREATING
- The index is being created.
-
UPDATING
- The index is being updated.
-
DELETING
- The index is being deleted.
-
ACTIVE
- The index is ready for use.
-
ItemCount
- The number of items in the global secondary index. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.
-
KeySchema
- Specifies the complete index key schema. The attribute names in the key schema must be between 1 and 255 characters (inclusive). The key schema must begin with the same partition key as the table.
-
Projection
- Specifies attributes that are copied (projected) from the table into the index. These are in addition to the primary key attributes and index key attributes, which are automatically projected. Each attribute specification is composed of:
-
ProjectionType
- One of the following:
-
KEYS_ONLY
- Only the index and primary keys are projected into the index.
-
INCLUDE
- In addition to the attributes described in KEYS_ONLY
, the secondary index will include other non-key attributes that you specify.
-
ALL
- All of the table attributes are projected into the index.
-
NonKeyAttributes
- A list of one or more non-key attribute names that are projected into the secondary index. The total count of attributes provided in NonKeyAttributes
, summed across all of the secondary indexes, must not exceed 100. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.
-
ProvisionedThroughput
- The provisioned throughput settings for the global secondary index, consisting of read and write capacity units, along with data about increases and decreases.
If the table is in the DELETING
state, no information about indexes will be returned.
"
}
},
"GlobalSecondaryIndexInfo": {
@@ -1582,14 +1582,14 @@
}
},
"LimitExceededException": {
- "base": "There is no limit to the number of daily on-demand backups that can be taken.
Up to 50 simultaneous table operations are allowed per account. These operations include CreateTable
, UpdateTable
, DeleteTable
,UpdateTimeToLive
, RestoreTableFromBackup
, and RestoreTableToPointInTime
.
The only exception is when you are creating a table with one or more secondary indexes. You can have up to 25 such requests running at a time; however, if the table or index specifications are complex, DynamoDB might temporarily reduce the number of concurrent operations.
There is a soft account quota of 256 tables.
",
+ "base": "There is no limit to the number of daily on-demand backups that can be taken.
Up to 500 simultaneous table operations are allowed per account. These operations include CreateTable
, UpdateTable
, DeleteTable
,UpdateTimeToLive
, RestoreTableFromBackup
, and RestoreTableToPointInTime
.
The only exception is when you are creating a table with one or more secondary indexes. You can have up to 250 such requests running at a time; however, if the table or index specifications are complex, DynamoDB might temporarily reduce the number of concurrent operations.
There is a soft account quota of 2,500 tables.
",
"refs": {
}
},
"ListAttributeValue": {
"base": null,
"refs": {
- "AttributeValue$L": "An attribute of type List. For example:
\"L\": [ {\"S\": \"Cookies\"} , {\"S\": \"Coffee\"}, {\"N\", \"3.14159\"}]
"
+ "AttributeValue$L": "An attribute of type List. For example:
\"L\": [ {\"S\": \"Cookies\"} , {\"S\": \"Coffee\"}, {\"N\": \"3.14159\"}]
"
}
},
"ListBackupsInput": {
@@ -1685,7 +1685,7 @@
"LocalSecondaryIndexDescriptionList": {
"base": null,
"refs": {
- "TableDescription$LocalSecondaryIndexes": "Represents one or more local secondary indexes on the table. Each index is scoped to a given partition key value. Tables with one or more local secondary indexes are subject to an item collection size limit, where the amount of data within a given item collection cannot exceed 10 GB. Each element is composed of:
-
IndexName
- The name of the local secondary index.
-
KeySchema
- Specifies the complete index key schema. The attribute names in the key schema must be between 1 and 255 characters (inclusive). The key schema must begin with the same partition key as the table.
-
Projection
- Specifies attributes that are copied (projected) from the table into the index. These are in addition to the primary key attributes and index key attributes, which are automatically projected. Each attribute specification is composed of:
-
ProjectionType
- One of the following:
-
KEYS_ONLY
- Only the index and primary keys are projected into the index.
-
INCLUDE
- Only the specified table attributes are projected into the index. The list of projected attributes is in NonKeyAttributes
.
-
ALL
- All of the table attributes are projected into the index.
-
NonKeyAttributes
- A list of one or more non-key attribute names that are projected into the secondary index. The total count of attributes provided in NonKeyAttributes
, summed across all of the secondary indexes, must not exceed 20. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.
-
IndexSizeBytes
- Represents the total size of the index, in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.
-
ItemCount
- Represents the number of items in the index. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.
If the table is in the DELETING
state, no information about indexes will be returned.
"
+ "TableDescription$LocalSecondaryIndexes": "Represents one or more local secondary indexes on the table. Each index is scoped to a given partition key value. Tables with one or more local secondary indexes are subject to an item collection size limit, where the amount of data within a given item collection cannot exceed 10 GB. Each element is composed of:
-
IndexName
- The name of the local secondary index.
-
KeySchema
- Specifies the complete index key schema. The attribute names in the key schema must be between 1 and 255 characters (inclusive). The key schema must begin with the same partition key as the table.
-
Projection
- Specifies attributes that are copied (projected) from the table into the index. These are in addition to the primary key attributes and index key attributes, which are automatically projected. Each attribute specification is composed of:
-
ProjectionType
- One of the following:
-
KEYS_ONLY
- Only the index and primary keys are projected into the index.
-
INCLUDE
- Only the specified table attributes are projected into the index. The list of projected attributes is in NonKeyAttributes
.
-
ALL
- All of the table attributes are projected into the index.
-
NonKeyAttributes
- A list of one or more non-key attribute names that are projected into the secondary index. The total count of attributes provided in NonKeyAttributes
, summed across all of the secondary indexes, must not exceed 100. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.
-
IndexSizeBytes
- Represents the total size of the index, in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.
-
ItemCount
- Represents the number of items in the index. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.
If the table is in the DELETING
state, no information about indexes will be returned.
"
}
},
"LocalSecondaryIndexInfo": {
@@ -1745,7 +1745,7 @@
"NonKeyAttributeNameList": {
"base": null,
"refs": {
- "Projection$NonKeyAttributes": "Represents the non-key attribute names which will be projected into the index.
For local secondary indexes, the total count of NonKeyAttributes
summed across all of the local secondary indexes, must not exceed 20. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.
"
+ "Projection$NonKeyAttributes": "Represents the non-key attribute names which will be projected into the index.
For local secondary indexes, the total count of NonKeyAttributes
summed across all of the local secondary indexes, must not exceed 100. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.
"
}
},
"NonNegativeLongObject": {
@@ -2190,7 +2190,7 @@
}
},
"ReplicationGroupUpdate": {
- "base": "Represents one of the following:
-
A new replica to be added to an existing regional table or global table. This request invokes the CreateTableReplica
action in the destination Region.
-
New parameters for an existing replica. This request invokes the UpdateTable
action in the destination Region.
-
An existing replica to be deleted. The request invokes the DeleteTableReplica
action in the destination Region, deleting the replica and all if its items in the destination Region.
",
+ "base": "Represents one of the following:
-
A new replica to be added to an existing regional table or global table. This request invokes the CreateTableReplica
action in the destination Region.
-
New parameters for an existing replica. This request invokes the UpdateTable
action in the destination Region.
-
An existing replica to be deleted. The request invokes the DeleteTableReplica
action in the destination Region, deleting the replica and all if its items in the destination Region.
When you manually remove a table or global table replica, you do not automatically remove any associated scalable targets, scaling policies, or CloudWatch alarms.
",
"refs": {
"ReplicationGroupUpdateList$member": null
}
@@ -2287,8 +2287,8 @@
"ReturnValue": {
"base": null,
"refs": {
- "DeleteItemInput$ReturnValues": "Use ReturnValues
if you want to get the item attributes as they appeared before they were deleted. For DeleteItem
, the valid values are:
-
NONE
- If ReturnValues
is not specified, or if its value is NONE
, then nothing is returned. (This setting is the default for ReturnValues
.)
-
ALL_OLD
- The content of the old item is returned.
The ReturnValues
parameter is used by several DynamoDB operations; however, DeleteItem
does not recognize any values other than NONE
or ALL_OLD
.
",
- "PutItemInput$ReturnValues": "Use ReturnValues
if you want to get the item attributes as they appeared before they were updated with the PutItem
request. For PutItem
, the valid values are:
-
NONE
- If ReturnValues
is not specified, or if its value is NONE
, then nothing is returned. (This setting is the default for ReturnValues
.)
-
ALL_OLD
- If PutItem
overwrote an attribute name-value pair, then the content of the old item is returned.
The values returned are strongly consistent.
The ReturnValues
parameter is used by several DynamoDB operations; however, PutItem
does not recognize any values other than NONE
or ALL_OLD
.
",
+ "DeleteItemInput$ReturnValues": "Use ReturnValues
if you want to get the item attributes as they appeared before they were deleted. For DeleteItem
, the valid values are:
-
NONE
- If ReturnValues
is not specified, or if its value is NONE
, then nothing is returned. (This setting is the default for ReturnValues
.)
-
ALL_OLD
- The content of the old item is returned.
There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.
The ReturnValues
parameter is used by several DynamoDB operations; however, DeleteItem
does not recognize any values other than NONE
or ALL_OLD
.
",
+ "PutItemInput$ReturnValues": "Use ReturnValues
if you want to get the item attributes as they appeared before they were updated with the PutItem
request. For PutItem
, the valid values are:
-
NONE
- If ReturnValues
is not specified, or if its value is NONE
, then nothing is returned. (This setting is the default for ReturnValues
.)
-
ALL_OLD
- If PutItem
overwrote an attribute name-value pair, then the content of the old item is returned.
The values returned are strongly consistent.
There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.
The ReturnValues
parameter is used by several DynamoDB operations; however, PutItem
does not recognize any values other than NONE
or ALL_OLD
.
",
"UpdateItemInput$ReturnValues": "Use ReturnValues
if you want to get the item attributes as they appear before or after they are updated. For UpdateItem
, the valid values are:
-
NONE
- If ReturnValues
is not specified, or if its value is NONE
, then nothing is returned. (This setting is the default for ReturnValues
.)
-
ALL_OLD
- Returns all of the attributes of the item, as they appeared before the UpdateItem operation.
-
UPDATED_OLD
- Returns only the updated attributes, as they appeared before the UpdateItem operation.
-
ALL_NEW
- Returns all of the attributes of the item, as they appear after the UpdateItem operation.
-
UPDATED_NEW
- Returns only the updated attributes, as they appear after the UpdateItem operation.
There is no additional cost associated with requesting a return value aside from the small network and processing overhead of receiving a larger response. No read capacity units are consumed.
The values returned are strongly consistent.
"
}
},
@@ -2409,8 +2409,8 @@
"Select": {
"base": null,
"refs": {
- "QueryInput$Select": "The attributes to be returned in the result. You can retrieve all item attributes, specific item attributes, the count of matching items, or in the case of an index, some or all of the attributes projected into the index.
-
ALL_ATTRIBUTES
- Returns all of the item attributes from the specified table or index. If you query a local secondary index, then for each matching item in the index, DynamoDB fetches the entire item from the parent table. If the index is configured to project all item attributes, then all of the data can be obtained from the local secondary index, and no fetching is required.
-
ALL_PROJECTED_ATTRIBUTES
- Allowed only when querying an index. Retrieves all attributes that have been projected into the index. If the index is configured to project all attributes, this return value is equivalent to specifying ALL_ATTRIBUTES
.
-
COUNT
- Returns the number of matching items, rather than the matching items themselves.
-
SPECIFIC_ATTRIBUTES
- Returns only the attributes listed in AttributesToGet
. This return value is equivalent to specifying AttributesToGet
without specifying any value for Select
.
If you query or scan a local secondary index and request only attributes that are projected into that index, the operation will read only the index and not the table. If any of the requested attributes are not projected into the local secondary index, DynamoDB fetches each of these attributes from the parent table. This extra fetching incurs additional throughput cost and latency.
If you query or scan a global secondary index, you can only request attributes that are projected into the index. Global secondary index queries cannot fetch attributes from the parent table.
If neither Select
nor AttributesToGet
are specified, DynamoDB defaults to ALL_ATTRIBUTES
when accessing a table, and ALL_PROJECTED_ATTRIBUTES
when accessing an index. You cannot use both Select
and AttributesToGet
together in a single request, unless the value for Select
is SPECIFIC_ATTRIBUTES
. (This usage is equivalent to specifying AttributesToGet
without any value for Select
.)
If you use the ProjectionExpression
parameter, then the value for Select
can only be SPECIFIC_ATTRIBUTES
. Any other value for Select
will return an error.
",
- "ScanInput$Select": "The attributes to be returned in the result. You can retrieve all item attributes, specific item attributes, the count of matching items, or in the case of an index, some or all of the attributes projected into the index.
-
ALL_ATTRIBUTES
- Returns all of the item attributes from the specified table or index. If you query a local secondary index, then for each matching item in the index, DynamoDB fetches the entire item from the parent table. If the index is configured to project all item attributes, then all of the data can be obtained from the local secondary index, and no fetching is required.
-
ALL_PROJECTED_ATTRIBUTES
- Allowed only when querying an index. Retrieves all attributes that have been projected into the index. If the index is configured to project all attributes, this return value is equivalent to specifying ALL_ATTRIBUTES
.
-
COUNT
- Returns the number of matching items, rather than the matching items themselves.
-
SPECIFIC_ATTRIBUTES
- Returns only the attributes listed in AttributesToGet
. This return value is equivalent to specifying AttributesToGet
without specifying any value for Select
.
If you query or scan a local secondary index and request only attributes that are projected into that index, the operation reads only the index and not the table. If any of the requested attributes are not projected into the local secondary index, DynamoDB fetches each of these attributes from the parent table. This extra fetching incurs additional throughput cost and latency.
If you query or scan a global secondary index, you can only request attributes that are projected into the index. Global secondary index queries cannot fetch attributes from the parent table.
If neither Select
nor AttributesToGet
are specified, DynamoDB defaults to ALL_ATTRIBUTES
when accessing a table, and ALL_PROJECTED_ATTRIBUTES
when accessing an index. You cannot use both Select
and AttributesToGet
together in a single request, unless the value for Select
is SPECIFIC_ATTRIBUTES
. (This usage is equivalent to specifying AttributesToGet
without any value for Select
.)
If you use the ProjectionExpression
parameter, then the value for Select
can only be SPECIFIC_ATTRIBUTES
. Any other value for Select
will return an error.
"
+ "QueryInput$Select": "The attributes to be returned in the result. You can retrieve all item attributes, specific item attributes, the count of matching items, or in the case of an index, some or all of the attributes projected into the index.
-
ALL_ATTRIBUTES
- Returns all of the item attributes from the specified table or index. If you query a local secondary index, then for each matching item in the index, DynamoDB fetches the entire item from the parent table. If the index is configured to project all item attributes, then all of the data can be obtained from the local secondary index, and no fetching is required.
-
ALL_PROJECTED_ATTRIBUTES
- Allowed only when querying an index. Retrieves all attributes that have been projected into the index. If the index is configured to project all attributes, this return value is equivalent to specifying ALL_ATTRIBUTES
.
-
COUNT
- Returns the number of matching items, rather than the matching items themselves.
-
SPECIFIC_ATTRIBUTES
- Returns only the attributes listed in ProjectionExpression
. This return value is equivalent to specifying ProjectionExpression
without specifying any value for Select
.
If you query or scan a local secondary index and request only attributes that are projected into that index, the operation will read only the index and not the table. If any of the requested attributes are not projected into the local secondary index, DynamoDB fetches each of these attributes from the parent table. This extra fetching incurs additional throughput cost and latency.
If you query or scan a global secondary index, you can only request attributes that are projected into the index. Global secondary index queries cannot fetch attributes from the parent table.
If neither Select
nor ProjectionExpression
are specified, DynamoDB defaults to ALL_ATTRIBUTES
when accessing a table, and ALL_PROJECTED_ATTRIBUTES
when accessing an index. You cannot use both Select
and ProjectionExpression
together in a single request, unless the value for Select
is SPECIFIC_ATTRIBUTES
. (This usage is equivalent to specifying ProjectionExpression
without any value for Select
.)
If you use the ProjectionExpression
parameter, then the value for Select
can only be SPECIFIC_ATTRIBUTES
. Any other value for Select
will return an error.
",
+ "ScanInput$Select": "The attributes to be returned in the result. You can retrieve all item attributes, specific item attributes, the count of matching items, or in the case of an index, some or all of the attributes projected into the index.
-
ALL_ATTRIBUTES
- Returns all of the item attributes from the specified table or index. If you query a local secondary index, then for each matching item in the index, DynamoDB fetches the entire item from the parent table. If the index is configured to project all item attributes, then all of the data can be obtained from the local secondary index, and no fetching is required.
-
ALL_PROJECTED_ATTRIBUTES
- Allowed only when querying an index. Retrieves all attributes that have been projected into the index. If the index is configured to project all attributes, this return value is equivalent to specifying ALL_ATTRIBUTES
.
-
COUNT
- Returns the number of matching items, rather than the matching items themselves.
-
SPECIFIC_ATTRIBUTES
- Returns only the attributes listed in ProjectionExpression
. This return value is equivalent to specifying ProjectionExpression
without specifying any value for Select
.
If you query or scan a local secondary index and request only attributes that are projected into that index, the operation reads only the index and not the table. If any of the requested attributes are not projected into the local secondary index, DynamoDB fetches each of these attributes from the parent table. This extra fetching incurs additional throughput cost and latency.
If you query or scan a global secondary index, you can only request attributes that are projected into the index. Global secondary index queries cannot fetch attributes from the parent table.
If neither Select
nor ProjectionExpression
are specified, DynamoDB defaults to ALL_ATTRIBUTES
when accessing a table, and ALL_PROJECTED_ATTRIBUTES
when accessing an index. You cannot use both Select
and ProjectionExpression
together in a single request, unless the value for Select
is SPECIFIC_ATTRIBUTES
. (This usage is equivalent to specifying ProjectionExpression
without any value for Select
.)
If you use the ProjectionExpression
parameter, then the value for Select
can only be SPECIFIC_ATTRIBUTES
. Any other value for Select
will return an error.
"
}
},
"SourceTableDetails": {
@@ -2628,7 +2628,7 @@
}
},
"TableNotFoundException": {
- "base": "A source table with the name TableName
does not currently exist within the subscriber's account.
",
+ "base": "A source table with the name TableName
does not currently exist within the subscriber's account or the subscriber is operating in the wrong Amazon Web Services Region.
",
"refs": {
}
},
@@ -2767,7 +2767,7 @@
}
},
"TransactionCanceledException": {
- "base": "The entire transaction request was canceled.
DynamoDB cancels a TransactWriteItems
request under the following circumstances:
-
A condition in one of the condition expressions is not met.
-
A table in the TransactWriteItems
request is in a different account or region.
-
More than one action in the TransactWriteItems
operation targets the same item.
-
There is insufficient provisioned capacity for the transaction to be completed.
-
An item size becomes too large (larger than 400 KB), or a local secondary index (LSI) becomes too large, or a similar validation error occurs because of changes made by the transaction.
-
There is a user error, such as an invalid data format.
DynamoDB cancels a TransactGetItems
request under the following circumstances:
-
There is an ongoing TransactGetItems
operation that conflicts with a concurrent PutItem
, UpdateItem
, DeleteItem
or TransactWriteItems
request. In this case the TransactGetItems
operation fails with a TransactionCanceledException
.
-
A table in the TransactGetItems
request is in a different account or region.
-
There is insufficient provisioned capacity for the transaction to be completed.
-
There is a user error, such as an invalid data format.
If using Java, DynamoDB lists the cancellation reasons on the CancellationReasons
property. This property is not set for other languages. Transaction cancellation reasons are ordered in the order of requested items, if an item has no error it will have NONE
code and Null
message.
Cancellation reason codes and possible error messages:
-
No Errors:
-
Conditional Check Failed:
-
Item Collection Size Limit Exceeded:
-
Transaction Conflict:
-
Provisioned Throughput Exceeded:
-
Throttling Error:
-
Code: ThrottlingError
-
Messages:
-
Throughput exceeds the current capacity of your table or index. DynamoDB is automatically scaling your table or index so please try again shortly. If exceptions persist, check if you have a hot key: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html.
This message is returned when writes get throttled on an On-Demand table as DynamoDB is automatically scaling the table.
-
Throughput exceeds the current capacity for one or more global secondary indexes. DynamoDB is automatically scaling your index so please try again shortly.
This message is returned when when writes get throttled on an On-Demand GSI as DynamoDB is automatically scaling the GSI.
-
Validation Error:
-
Code: ValidationError
-
Messages:
-
One or more parameter values were invalid.
-
The update expression attempted to update the secondary index key beyond allowed size limits.
-
The update expression attempted to update the secondary index key to unsupported type.
-
An operand in the update expression has an incorrect data type.
-
Item size to update has exceeded the maximum allowed size.
-
Number overflow. Attempting to store a number with magnitude larger than supported range.
-
Type mismatch for attribute to update.
-
Nesting Levels have exceeded supported limits.
-
The document path provided in the update expression is invalid for update.
-
The provided expression refers to an attribute that does not exist in the item.
",
+ "base": "The entire transaction request was canceled.
DynamoDB cancels a TransactWriteItems
request under the following circumstances:
-
A condition in one of the condition expressions is not met.
-
A table in the TransactWriteItems
request is in a different account or region.
-
More than one action in the TransactWriteItems
operation targets the same item.
-
There is insufficient provisioned capacity for the transaction to be completed.
-
An item size becomes too large (larger than 400 KB), or a local secondary index (LSI) becomes too large, or a similar validation error occurs because of changes made by the transaction.
-
There is a user error, such as an invalid data format.
DynamoDB cancels a TransactGetItems
request under the following circumstances:
-
There is an ongoing TransactGetItems
operation that conflicts with a concurrent PutItem
, UpdateItem
, DeleteItem
or TransactWriteItems
request. In this case the TransactGetItems
operation fails with a TransactionCanceledException
.
-
A table in the TransactGetItems
request is in a different account or region.
-
There is insufficient provisioned capacity for the transaction to be completed.
-
There is a user error, such as an invalid data format.
If using Java, DynamoDB lists the cancellation reasons on the CancellationReasons
property. This property is not set for other languages. Transaction cancellation reasons are ordered in the order of requested items, if an item has no error it will have None
code and Null
message.
Cancellation reason codes and possible error messages:
-
No Errors:
-
Conditional Check Failed:
-
Item Collection Size Limit Exceeded:
-
Transaction Conflict:
-
Provisioned Throughput Exceeded:
-
Throttling Error:
-
Code: ThrottlingError
-
Messages:
-
Throughput exceeds the current capacity of your table or index. DynamoDB is automatically scaling your table or index so please try again shortly. If exceptions persist, check if you have a hot key: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html.
This message is returned when writes get throttled on an On-Demand table as DynamoDB is automatically scaling the table.
-
Throughput exceeds the current capacity for one or more global secondary indexes. DynamoDB is automatically scaling your index so please try again shortly.
This message is returned when when writes get throttled on an On-Demand GSI as DynamoDB is automatically scaling the GSI.
-
Validation Error:
-
Code: ValidationError
-
Messages:
-
One or more parameter values were invalid.
-
The update expression attempted to update the secondary index key beyond allowed size limits.
-
The update expression attempted to update the secondary index key to unsupported type.
-
An operand in the update expression has an incorrect data type.
-
Item size to update has exceeded the maximum allowed size.
-
Number overflow. Attempting to store a number with magnitude larger than supported range.
-
Type mismatch for attribute to update.
-
Nesting Levels have exceeded supported limits.
-
The document path provided in the update expression is invalid for update.
-
The provided expression refers to an attribute that does not exist in the item.
",
"refs": {
}
},
diff --git a/models/apis/streams.dynamodb/2012-08-10/docs-2.json b/models/apis/streams.dynamodb/2012-08-10/docs-2.json
index 283ecdd99c..1d7ba8077a 100644
--- a/models/apis/streams.dynamodb/2012-08-10/docs-2.json
+++ b/models/apis/streams.dynamodb/2012-08-10/docs-2.json
@@ -138,14 +138,14 @@
}
},
"LimitExceededException": {
- "base": "There is no limit to the number of daily on-demand backups that can be taken.
Up to 50 simultaneous table operations are allowed per account. These operations include CreateTable
, UpdateTable
, DeleteTable
,UpdateTimeToLive
, RestoreTableFromBackup
, and RestoreTableToPointInTime
.
The only exception is when you are creating a table with one or more secondary indexes. You can have up to 25 such requests running at a time; however, if the table or index specifications are complex, DynamoDB might temporarily reduce the number of concurrent operations.
There is a soft account quota of 256 tables.
",
+ "base": "There is no limit to the number of daily on-demand backups that can be taken.
Up to 500 simultaneous table operations are allowed per account. These operations include CreateTable
, UpdateTable
, DeleteTable
,UpdateTimeToLive
, RestoreTableFromBackup
, and RestoreTableToPointInTime
.
The only exception is when you are creating a table with one or more secondary indexes. You can have up to 250 such requests running at a time; however, if the table or index specifications are complex, DynamoDB might temporarily reduce the number of concurrent operations.
There is a soft account quota of 2,500 tables.
",
"refs": {
}
},
"ListAttributeValue": {
"base": null,
"refs": {
- "AttributeValue$L": "An attribute of type List. For example:
\"L\": [ {\"S\": \"Cookies\"} , {\"S\": \"Coffee\"}, {\"N\", \"3.14159\"}]
"
+ "AttributeValue$L": "An attribute of type List. For example:
\"L\": [ {\"S\": \"Cookies\"} , {\"S\": \"Coffee\"}, {\"N\": \"3.14159\"}]
"
}
},
"ListStreamsInput": {
diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json
index 27c23e5b61..5c173af813 100644
--- a/models/endpoints/endpoints.json
+++ b/models/endpoints/endpoints.json
@@ -2984,6 +2984,14 @@
"us-west-2" : { }
}
},
+ "connect-campaigns" : {
+ "endpoints" : {
+ "ap-southeast-2" : { },
+ "eu-west-2" : { },
+ "us-east-1" : { },
+ "us-west-2" : { }
+ }
+ },
"contact-lens" : {
"endpoints" : {
"ap-northeast-1" : { },
diff --git a/service/connect/api.go b/service/connect/api.go
index 0037e3b926..42e3831edc 100644
--- a/service/connect/api.go
+++ b/service/connect/api.go
@@ -43870,6 +43870,9 @@ const (
// InstanceAttributeTypeMultiPartyConference is a InstanceAttributeType enum value
InstanceAttributeTypeMultiPartyConference = "MULTI_PARTY_CONFERENCE"
+
+ // InstanceAttributeTypeHighVolumeOutbound is a InstanceAttributeType enum value
+ InstanceAttributeTypeHighVolumeOutbound = "HIGH_VOLUME_OUTBOUND"
)
// InstanceAttributeType_Values returns all elements of the InstanceAttributeType enum
@@ -43883,6 +43886,7 @@ func InstanceAttributeType_Values() []string {
InstanceAttributeTypeUseCustomTtsVoices,
InstanceAttributeTypeEarlyMedia,
InstanceAttributeTypeMultiPartyConference,
+ InstanceAttributeTypeHighVolumeOutbound,
}
}
diff --git a/service/connectcampaigns/api.go b/service/connectcampaigns/api.go
new file mode 100644
index 0000000000..921d6661f5
--- /dev/null
+++ b/service/connectcampaigns/api.go
@@ -0,0 +1,5846 @@
+// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
+
+package connectcampaigns
+
+import (
+ "fmt"
+ "time"
+
+ "github.com/aws/aws-sdk-go/aws"
+ "github.com/aws/aws-sdk-go/aws/awsutil"
+ "github.com/aws/aws-sdk-go/aws/request"
+ "github.com/aws/aws-sdk-go/private/protocol"
+ "github.com/aws/aws-sdk-go/private/protocol/restjson"
+)
+
+const opCreateCampaign = "CreateCampaign"
+
+// CreateCampaignRequest generates a "aws/request.Request" representing the
+// client's request for the CreateCampaign 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 CreateCampaign for more information on using the CreateCampaign
+// 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 CreateCampaignRequest method.
+// req, resp := client.CreateCampaignRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/CreateCampaign
+func (c *ConnectCampaigns) CreateCampaignRequest(input *CreateCampaignInput) (req *request.Request, output *CreateCampaignOutput) {
+ op := &request.Operation{
+ Name: opCreateCampaign,
+ HTTPMethod: "PUT",
+ HTTPPath: "/campaigns",
+ }
+
+ if input == nil {
+ input = &CreateCampaignInput{}
+ }
+
+ output = &CreateCampaignOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// CreateCampaign API operation for AmazonConnectCampaignService.
+//
+// Creates a campaign for the specified Amazon Connect account. This API is
+// idempotent.
+//
+// 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 AmazonConnectCampaignService's
+// API operation CreateCampaign for usage and error information.
+//
+// Returned Error Types:
+// * InternalServerException
+// Request processing failed because of an error or failure with the service.
+//
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * ValidationException
+// The input fails to satisfy the constraints specified by an AWS service.
+//
+// * ConflictException
+// The request could not be processed because of conflict in the current state
+// of the resource.
+//
+// * AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// * ServiceQuotaExceededException
+// Request would cause a service quota to be exceeded.
+//
+// * ThrottlingException
+// The request was denied due to request throttling.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/CreateCampaign
+func (c *ConnectCampaigns) CreateCampaign(input *CreateCampaignInput) (*CreateCampaignOutput, error) {
+ req, out := c.CreateCampaignRequest(input)
+ return out, req.Send()
+}
+
+// CreateCampaignWithContext is the same as CreateCampaign with the addition of
+// the ability to pass a context and additional request options.
+//
+// See CreateCampaign 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 *ConnectCampaigns) CreateCampaignWithContext(ctx aws.Context, input *CreateCampaignInput, opts ...request.Option) (*CreateCampaignOutput, error) {
+ req, out := c.CreateCampaignRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opDeleteCampaign = "DeleteCampaign"
+
+// DeleteCampaignRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteCampaign 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 DeleteCampaign for more information on using the DeleteCampaign
+// 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 DeleteCampaignRequest method.
+// req, resp := client.DeleteCampaignRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/DeleteCampaign
+func (c *ConnectCampaigns) DeleteCampaignRequest(input *DeleteCampaignInput) (req *request.Request, output *DeleteCampaignOutput) {
+ op := &request.Operation{
+ Name: opDeleteCampaign,
+ HTTPMethod: "DELETE",
+ HTTPPath: "/campaigns/{id}",
+ }
+
+ if input == nil {
+ input = &DeleteCampaignInput{}
+ }
+
+ output = &DeleteCampaignOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// DeleteCampaign API operation for AmazonConnectCampaignService.
+//
+// Deletes a campaign from the specified Amazon Connect account.
+//
+// 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 AmazonConnectCampaignService's
+// API operation DeleteCampaign for usage and error information.
+//
+// Returned Error Types:
+// * InternalServerException
+// Request processing failed because of an error or failure with the service.
+//
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * ValidationException
+// The input fails to satisfy the constraints specified by an AWS service.
+//
+// * AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/DeleteCampaign
+func (c *ConnectCampaigns) DeleteCampaign(input *DeleteCampaignInput) (*DeleteCampaignOutput, error) {
+ req, out := c.DeleteCampaignRequest(input)
+ return out, req.Send()
+}
+
+// DeleteCampaignWithContext is the same as DeleteCampaign with the addition of
+// the ability to pass a context and additional request options.
+//
+// See DeleteCampaign 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 *ConnectCampaigns) DeleteCampaignWithContext(ctx aws.Context, input *DeleteCampaignInput, opts ...request.Option) (*DeleteCampaignOutput, error) {
+ req, out := c.DeleteCampaignRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opDeleteConnectInstanceConfig = "DeleteConnectInstanceConfig"
+
+// DeleteConnectInstanceConfigRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteConnectInstanceConfig 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 DeleteConnectInstanceConfig for more information on using the DeleteConnectInstanceConfig
+// 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 DeleteConnectInstanceConfigRequest method.
+// req, resp := client.DeleteConnectInstanceConfigRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/DeleteConnectInstanceConfig
+func (c *ConnectCampaigns) DeleteConnectInstanceConfigRequest(input *DeleteConnectInstanceConfigInput) (req *request.Request, output *DeleteConnectInstanceConfigOutput) {
+ op := &request.Operation{
+ Name: opDeleteConnectInstanceConfig,
+ HTTPMethod: "DELETE",
+ HTTPPath: "/connect-instance/{connectInstanceId}/config",
+ }
+
+ if input == nil {
+ input = &DeleteConnectInstanceConfigInput{}
+ }
+
+ output = &DeleteConnectInstanceConfigOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// DeleteConnectInstanceConfig API operation for AmazonConnectCampaignService.
+//
+// Deletes a connect instance config from the specified AWS account.
+//
+// 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 AmazonConnectCampaignService's
+// API operation DeleteConnectInstanceConfig for usage and error information.
+//
+// Returned Error Types:
+// * InternalServerException
+// Request processing failed because of an error or failure with the service.
+//
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * ValidationException
+// The input fails to satisfy the constraints specified by an AWS service.
+//
+// * AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// * InvalidStateException
+// The request could not be processed because of conflict in the current state.
+//
+// * ThrottlingException
+// The request was denied due to request throttling.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/DeleteConnectInstanceConfig
+func (c *ConnectCampaigns) DeleteConnectInstanceConfig(input *DeleteConnectInstanceConfigInput) (*DeleteConnectInstanceConfigOutput, error) {
+ req, out := c.DeleteConnectInstanceConfigRequest(input)
+ return out, req.Send()
+}
+
+// DeleteConnectInstanceConfigWithContext is the same as DeleteConnectInstanceConfig with the addition of
+// the ability to pass a context and additional request options.
+//
+// See DeleteConnectInstanceConfig 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 *ConnectCampaigns) DeleteConnectInstanceConfigWithContext(ctx aws.Context, input *DeleteConnectInstanceConfigInput, opts ...request.Option) (*DeleteConnectInstanceConfigOutput, error) {
+ req, out := c.DeleteConnectInstanceConfigRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opDeleteInstanceOnboardingJob = "DeleteInstanceOnboardingJob"
+
+// DeleteInstanceOnboardingJobRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteInstanceOnboardingJob 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 DeleteInstanceOnboardingJob for more information on using the DeleteInstanceOnboardingJob
+// 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 DeleteInstanceOnboardingJobRequest method.
+// req, resp := client.DeleteInstanceOnboardingJobRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/DeleteInstanceOnboardingJob
+func (c *ConnectCampaigns) DeleteInstanceOnboardingJobRequest(input *DeleteInstanceOnboardingJobInput) (req *request.Request, output *DeleteInstanceOnboardingJobOutput) {
+ op := &request.Operation{
+ Name: opDeleteInstanceOnboardingJob,
+ HTTPMethod: "DELETE",
+ HTTPPath: "/connect-instance/{connectInstanceId}/onboarding",
+ }
+
+ if input == nil {
+ input = &DeleteInstanceOnboardingJobInput{}
+ }
+
+ output = &DeleteInstanceOnboardingJobOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// DeleteInstanceOnboardingJob API operation for AmazonConnectCampaignService.
+//
+// Delete the Connect Campaigns onboarding job 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 AmazonConnectCampaignService's
+// API operation DeleteInstanceOnboardingJob for usage and error information.
+//
+// Returned Error Types:
+// * InternalServerException
+// Request processing failed because of an error or failure with the service.
+//
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * ValidationException
+// The input fails to satisfy the constraints specified by an AWS service.
+//
+// * AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// * InvalidStateException
+// The request could not be processed because of conflict in the current state.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/DeleteInstanceOnboardingJob
+func (c *ConnectCampaigns) DeleteInstanceOnboardingJob(input *DeleteInstanceOnboardingJobInput) (*DeleteInstanceOnboardingJobOutput, error) {
+ req, out := c.DeleteInstanceOnboardingJobRequest(input)
+ return out, req.Send()
+}
+
+// DeleteInstanceOnboardingJobWithContext is the same as DeleteInstanceOnboardingJob with the addition of
+// the ability to pass a context and additional request options.
+//
+// See DeleteInstanceOnboardingJob 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 *ConnectCampaigns) DeleteInstanceOnboardingJobWithContext(ctx aws.Context, input *DeleteInstanceOnboardingJobInput, opts ...request.Option) (*DeleteInstanceOnboardingJobOutput, error) {
+ req, out := c.DeleteInstanceOnboardingJobRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opDescribeCampaign = "DescribeCampaign"
+
+// DescribeCampaignRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeCampaign 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 DescribeCampaign for more information on using the DescribeCampaign
+// 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 DescribeCampaignRequest method.
+// req, resp := client.DescribeCampaignRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/DescribeCampaign
+func (c *ConnectCampaigns) DescribeCampaignRequest(input *DescribeCampaignInput) (req *request.Request, output *DescribeCampaignOutput) {
+ op := &request.Operation{
+ Name: opDescribeCampaign,
+ HTTPMethod: "GET",
+ HTTPPath: "/campaigns/{id}",
+ }
+
+ if input == nil {
+ input = &DescribeCampaignInput{}
+ }
+
+ output = &DescribeCampaignOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// DescribeCampaign API operation for AmazonConnectCampaignService.
+//
+// Describes the specific campaign.
+//
+// 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 AmazonConnectCampaignService's
+// API operation DescribeCampaign for usage and error information.
+//
+// Returned Error Types:
+// * InternalServerException
+// Request processing failed because of an error or failure with the service.
+//
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * ValidationException
+// The input fails to satisfy the constraints specified by an AWS service.
+//
+// * AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/DescribeCampaign
+func (c *ConnectCampaigns) DescribeCampaign(input *DescribeCampaignInput) (*DescribeCampaignOutput, error) {
+ req, out := c.DescribeCampaignRequest(input)
+ return out, req.Send()
+}
+
+// DescribeCampaignWithContext is the same as DescribeCampaign with the addition of
+// the ability to pass a context and additional request options.
+//
+// See DescribeCampaign 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 *ConnectCampaigns) DescribeCampaignWithContext(ctx aws.Context, input *DescribeCampaignInput, opts ...request.Option) (*DescribeCampaignOutput, error) {
+ req, out := c.DescribeCampaignRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opGetCampaignState = "GetCampaignState"
+
+// GetCampaignStateRequest generates a "aws/request.Request" representing the
+// client's request for the GetCampaignState 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 GetCampaignState for more information on using the GetCampaignState
+// 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 GetCampaignStateRequest method.
+// req, resp := client.GetCampaignStateRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/GetCampaignState
+func (c *ConnectCampaigns) GetCampaignStateRequest(input *GetCampaignStateInput) (req *request.Request, output *GetCampaignStateOutput) {
+ op := &request.Operation{
+ Name: opGetCampaignState,
+ HTTPMethod: "GET",
+ HTTPPath: "/campaigns/{id}/state",
+ }
+
+ if input == nil {
+ input = &GetCampaignStateInput{}
+ }
+
+ output = &GetCampaignStateOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// GetCampaignState API operation for AmazonConnectCampaignService.
+//
+// Get state of a campaign for the specified Amazon Connect account.
+//
+// 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 AmazonConnectCampaignService's
+// API operation GetCampaignState for usage and error information.
+//
+// Returned Error Types:
+// * InternalServerException
+// Request processing failed because of an error or failure with the service.
+//
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// * ThrottlingException
+// The request was denied due to request throttling.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/GetCampaignState
+func (c *ConnectCampaigns) GetCampaignState(input *GetCampaignStateInput) (*GetCampaignStateOutput, error) {
+ req, out := c.GetCampaignStateRequest(input)
+ return out, req.Send()
+}
+
+// GetCampaignStateWithContext is the same as GetCampaignState with the addition of
+// the ability to pass a context and additional request options.
+//
+// See GetCampaignState 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 *ConnectCampaigns) GetCampaignStateWithContext(ctx aws.Context, input *GetCampaignStateInput, opts ...request.Option) (*GetCampaignStateOutput, error) {
+ req, out := c.GetCampaignStateRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opGetCampaignStateBatch = "GetCampaignStateBatch"
+
+// GetCampaignStateBatchRequest generates a "aws/request.Request" representing the
+// client's request for the GetCampaignStateBatch 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 GetCampaignStateBatch for more information on using the GetCampaignStateBatch
+// 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 GetCampaignStateBatchRequest method.
+// req, resp := client.GetCampaignStateBatchRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/GetCampaignStateBatch
+func (c *ConnectCampaigns) GetCampaignStateBatchRequest(input *GetCampaignStateBatchInput) (req *request.Request, output *GetCampaignStateBatchOutput) {
+ op := &request.Operation{
+ Name: opGetCampaignStateBatch,
+ HTTPMethod: "POST",
+ HTTPPath: "/campaigns-state",
+ }
+
+ if input == nil {
+ input = &GetCampaignStateBatchInput{}
+ }
+
+ output = &GetCampaignStateBatchOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// GetCampaignStateBatch API operation for AmazonConnectCampaignService.
+//
+// Get state of campaigns for the specified Amazon Connect account.
+//
+// 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 AmazonConnectCampaignService's
+// API operation GetCampaignStateBatch for usage and error information.
+//
+// Returned Error Types:
+// * InternalServerException
+// Request processing failed because of an error or failure with the service.
+//
+// * ValidationException
+// The input fails to satisfy the constraints specified by an AWS service.
+//
+// * AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// * ThrottlingException
+// The request was denied due to request throttling.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/GetCampaignStateBatch
+func (c *ConnectCampaigns) GetCampaignStateBatch(input *GetCampaignStateBatchInput) (*GetCampaignStateBatchOutput, error) {
+ req, out := c.GetCampaignStateBatchRequest(input)
+ return out, req.Send()
+}
+
+// GetCampaignStateBatchWithContext is the same as GetCampaignStateBatch with the addition of
+// the ability to pass a context and additional request options.
+//
+// See GetCampaignStateBatch 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 *ConnectCampaigns) GetCampaignStateBatchWithContext(ctx aws.Context, input *GetCampaignStateBatchInput, opts ...request.Option) (*GetCampaignStateBatchOutput, error) {
+ req, out := c.GetCampaignStateBatchRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opGetConnectInstanceConfig = "GetConnectInstanceConfig"
+
+// GetConnectInstanceConfigRequest generates a "aws/request.Request" representing the
+// client's request for the GetConnectInstanceConfig 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 GetConnectInstanceConfig for more information on using the GetConnectInstanceConfig
+// 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 GetConnectInstanceConfigRequest method.
+// req, resp := client.GetConnectInstanceConfigRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/GetConnectInstanceConfig
+func (c *ConnectCampaigns) GetConnectInstanceConfigRequest(input *GetConnectInstanceConfigInput) (req *request.Request, output *GetConnectInstanceConfigOutput) {
+ op := &request.Operation{
+ Name: opGetConnectInstanceConfig,
+ HTTPMethod: "GET",
+ HTTPPath: "/connect-instance/{connectInstanceId}/config",
+ }
+
+ if input == nil {
+ input = &GetConnectInstanceConfigInput{}
+ }
+
+ output = &GetConnectInstanceConfigOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// GetConnectInstanceConfig API operation for AmazonConnectCampaignService.
+//
+// Get the specific Connect instance config.
+//
+// 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 AmazonConnectCampaignService's
+// API operation GetConnectInstanceConfig for usage and error information.
+//
+// Returned Error Types:
+// * InternalServerException
+// Request processing failed because of an error or failure with the service.
+//
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * ValidationException
+// The input fails to satisfy the constraints specified by an AWS service.
+//
+// * AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/GetConnectInstanceConfig
+func (c *ConnectCampaigns) GetConnectInstanceConfig(input *GetConnectInstanceConfigInput) (*GetConnectInstanceConfigOutput, error) {
+ req, out := c.GetConnectInstanceConfigRequest(input)
+ return out, req.Send()
+}
+
+// GetConnectInstanceConfigWithContext is the same as GetConnectInstanceConfig with the addition of
+// the ability to pass a context and additional request options.
+//
+// See GetConnectInstanceConfig 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 *ConnectCampaigns) GetConnectInstanceConfigWithContext(ctx aws.Context, input *GetConnectInstanceConfigInput, opts ...request.Option) (*GetConnectInstanceConfigOutput, error) {
+ req, out := c.GetConnectInstanceConfigRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opGetInstanceOnboardingJobStatus = "GetInstanceOnboardingJobStatus"
+
+// GetInstanceOnboardingJobStatusRequest generates a "aws/request.Request" representing the
+// client's request for the GetInstanceOnboardingJobStatus 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 GetInstanceOnboardingJobStatus for more information on using the GetInstanceOnboardingJobStatus
+// 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 GetInstanceOnboardingJobStatusRequest method.
+// req, resp := client.GetInstanceOnboardingJobStatusRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/GetInstanceOnboardingJobStatus
+func (c *ConnectCampaigns) GetInstanceOnboardingJobStatusRequest(input *GetInstanceOnboardingJobStatusInput) (req *request.Request, output *GetInstanceOnboardingJobStatusOutput) {
+ op := &request.Operation{
+ Name: opGetInstanceOnboardingJobStatus,
+ HTTPMethod: "GET",
+ HTTPPath: "/connect-instance/{connectInstanceId}/onboarding",
+ }
+
+ if input == nil {
+ input = &GetInstanceOnboardingJobStatusInput{}
+ }
+
+ output = &GetInstanceOnboardingJobStatusOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// GetInstanceOnboardingJobStatus API operation for AmazonConnectCampaignService.
+//
+// Get the specific instance onboarding job status.
+//
+// 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 AmazonConnectCampaignService's
+// API operation GetInstanceOnboardingJobStatus for usage and error information.
+//
+// Returned Error Types:
+// * InternalServerException
+// Request processing failed because of an error or failure with the service.
+//
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * ValidationException
+// The input fails to satisfy the constraints specified by an AWS service.
+//
+// * AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/GetInstanceOnboardingJobStatus
+func (c *ConnectCampaigns) GetInstanceOnboardingJobStatus(input *GetInstanceOnboardingJobStatusInput) (*GetInstanceOnboardingJobStatusOutput, error) {
+ req, out := c.GetInstanceOnboardingJobStatusRequest(input)
+ return out, req.Send()
+}
+
+// GetInstanceOnboardingJobStatusWithContext is the same as GetInstanceOnboardingJobStatus with the addition of
+// the ability to pass a context and additional request options.
+//
+// See GetInstanceOnboardingJobStatus 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 *ConnectCampaigns) GetInstanceOnboardingJobStatusWithContext(ctx aws.Context, input *GetInstanceOnboardingJobStatusInput, opts ...request.Option) (*GetInstanceOnboardingJobStatusOutput, error) {
+ req, out := c.GetInstanceOnboardingJobStatusRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opListCampaigns = "ListCampaigns"
+
+// ListCampaignsRequest generates a "aws/request.Request" representing the
+// client's request for the ListCampaigns 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 ListCampaigns for more information on using the ListCampaigns
+// 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 ListCampaignsRequest method.
+// req, resp := client.ListCampaignsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/ListCampaigns
+func (c *ConnectCampaigns) ListCampaignsRequest(input *ListCampaignsInput) (req *request.Request, output *ListCampaignsOutput) {
+ op := &request.Operation{
+ Name: opListCampaigns,
+ HTTPMethod: "POST",
+ HTTPPath: "/campaigns-summary",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListCampaignsInput{}
+ }
+
+ output = &ListCampaignsOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListCampaigns API operation for AmazonConnectCampaignService.
+//
+// Provides summary information about the campaigns under the specified Amazon
+// Connect account.
+//
+// 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 AmazonConnectCampaignService's
+// API operation ListCampaigns for usage and error information.
+//
+// Returned Error Types:
+// * InternalServerException
+// Request processing failed because of an error or failure with the service.
+//
+// * ValidationException
+// The input fails to satisfy the constraints specified by an AWS service.
+//
+// * AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/ListCampaigns
+func (c *ConnectCampaigns) ListCampaigns(input *ListCampaignsInput) (*ListCampaignsOutput, error) {
+ req, out := c.ListCampaignsRequest(input)
+ return out, req.Send()
+}
+
+// ListCampaignsWithContext is the same as ListCampaigns with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListCampaigns 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 *ConnectCampaigns) ListCampaignsWithContext(ctx aws.Context, input *ListCampaignsInput, opts ...request.Option) (*ListCampaignsOutput, error) {
+ req, out := c.ListCampaignsRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListCampaignsPages iterates over the pages of a ListCampaigns operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListCampaigns 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 ListCampaigns operation.
+// pageNum := 0
+// err := client.ListCampaignsPages(params,
+// func(page *connectcampaigns.ListCampaignsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+//
+func (c *ConnectCampaigns) ListCampaignsPages(input *ListCampaignsInput, fn func(*ListCampaignsOutput, bool) bool) error {
+ return c.ListCampaignsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListCampaignsPagesWithContext same as ListCampaignsPages 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 *ConnectCampaigns) ListCampaignsPagesWithContext(ctx aws.Context, input *ListCampaignsInput, fn func(*ListCampaignsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListCampaignsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListCampaignsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListCampaignsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListTagsForResource = "ListTagsForResource"
+
+// ListTagsForResourceRequest generates a "aws/request.Request" representing the
+// client's request for the ListTagsForResource 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 ListTagsForResource for more information on using the ListTagsForResource
+// 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 ListTagsForResourceRequest method.
+// req, resp := client.ListTagsForResourceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/ListTagsForResource
+func (c *ConnectCampaigns) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
+ op := &request.Operation{
+ Name: opListTagsForResource,
+ HTTPMethod: "GET",
+ HTTPPath: "/tags/{arn}",
+ }
+
+ if input == nil {
+ input = &ListTagsForResourceInput{}
+ }
+
+ output = &ListTagsForResourceOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListTagsForResource API operation for AmazonConnectCampaignService.
+//
+// List tags for a resource.
+//
+// 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 AmazonConnectCampaignService's
+// API operation ListTagsForResource for usage and error information.
+//
+// Returned Error Types:
+// * InternalServerException
+// Request processing failed because of an error or failure with the service.
+//
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * ValidationException
+// The input fails to satisfy the constraints specified by an AWS service.
+//
+// * AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// * ThrottlingException
+// The request was denied due to request throttling.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/ListTagsForResource
+func (c *ConnectCampaigns) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
+ req, out := c.ListTagsForResourceRequest(input)
+ return out, req.Send()
+}
+
+// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListTagsForResource 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 *ConnectCampaigns) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) {
+ req, out := c.ListTagsForResourceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opPauseCampaign = "PauseCampaign"
+
+// PauseCampaignRequest generates a "aws/request.Request" representing the
+// client's request for the PauseCampaign 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 PauseCampaign for more information on using the PauseCampaign
+// 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 PauseCampaignRequest method.
+// req, resp := client.PauseCampaignRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/PauseCampaign
+func (c *ConnectCampaigns) PauseCampaignRequest(input *PauseCampaignInput) (req *request.Request, output *PauseCampaignOutput) {
+ op := &request.Operation{
+ Name: opPauseCampaign,
+ HTTPMethod: "POST",
+ HTTPPath: "/campaigns/{id}/pause",
+ }
+
+ if input == nil {
+ input = &PauseCampaignInput{}
+ }
+
+ output = &PauseCampaignOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// PauseCampaign API operation for AmazonConnectCampaignService.
+//
+// Pauses a campaign for the specified Amazon Connect account.
+//
+// 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 AmazonConnectCampaignService's
+// API operation PauseCampaign for usage and error information.
+//
+// Returned Error Types:
+// * InternalServerException
+// Request processing failed because of an error or failure with the service.
+//
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * ConflictException
+// The request could not be processed because of conflict in the current state
+// of the resource.
+//
+// * InvalidCampaignStateException
+// The request could not be processed because of conflict in the current state
+// of the campaign.
+//
+// * AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// * ThrottlingException
+// The request was denied due to request throttling.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/PauseCampaign
+func (c *ConnectCampaigns) PauseCampaign(input *PauseCampaignInput) (*PauseCampaignOutput, error) {
+ req, out := c.PauseCampaignRequest(input)
+ return out, req.Send()
+}
+
+// PauseCampaignWithContext is the same as PauseCampaign with the addition of
+// the ability to pass a context and additional request options.
+//
+// See PauseCampaign 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 *ConnectCampaigns) PauseCampaignWithContext(ctx aws.Context, input *PauseCampaignInput, opts ...request.Option) (*PauseCampaignOutput, error) {
+ req, out := c.PauseCampaignRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opPutDialRequestBatch = "PutDialRequestBatch"
+
+// PutDialRequestBatchRequest generates a "aws/request.Request" representing the
+// client's request for the PutDialRequestBatch 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 PutDialRequestBatch for more information on using the PutDialRequestBatch
+// 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 PutDialRequestBatchRequest method.
+// req, resp := client.PutDialRequestBatchRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/PutDialRequestBatch
+func (c *ConnectCampaigns) PutDialRequestBatchRequest(input *PutDialRequestBatchInput) (req *request.Request, output *PutDialRequestBatchOutput) {
+ op := &request.Operation{
+ Name: opPutDialRequestBatch,
+ HTTPMethod: "PUT",
+ HTTPPath: "/campaigns/{id}/dial-requests",
+ }
+
+ if input == nil {
+ input = &PutDialRequestBatchInput{}
+ }
+
+ output = &PutDialRequestBatchOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// PutDialRequestBatch API operation for AmazonConnectCampaignService.
+//
+// Creates dials requests for the specified campaign Amazon Connect account.
+// This API is idempotent.
+//
+// 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 AmazonConnectCampaignService's
+// API operation PutDialRequestBatch for usage and error information.
+//
+// Returned Error Types:
+// * InternalServerException
+// Request processing failed because of an error or failure with the service.
+//
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * ValidationException
+// The input fails to satisfy the constraints specified by an AWS service.
+//
+// * ConflictException
+// The request could not be processed because of conflict in the current state
+// of the resource.
+//
+// * InvalidCampaignStateException
+// The request could not be processed because of conflict in the current state
+// of the campaign.
+//
+// * AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// * ThrottlingException
+// The request was denied due to request throttling.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/PutDialRequestBatch
+func (c *ConnectCampaigns) PutDialRequestBatch(input *PutDialRequestBatchInput) (*PutDialRequestBatchOutput, error) {
+ req, out := c.PutDialRequestBatchRequest(input)
+ return out, req.Send()
+}
+
+// PutDialRequestBatchWithContext is the same as PutDialRequestBatch with the addition of
+// the ability to pass a context and additional request options.
+//
+// See PutDialRequestBatch 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 *ConnectCampaigns) PutDialRequestBatchWithContext(ctx aws.Context, input *PutDialRequestBatchInput, opts ...request.Option) (*PutDialRequestBatchOutput, error) {
+ req, out := c.PutDialRequestBatchRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opResumeCampaign = "ResumeCampaign"
+
+// ResumeCampaignRequest generates a "aws/request.Request" representing the
+// client's request for the ResumeCampaign 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 ResumeCampaign for more information on using the ResumeCampaign
+// 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 ResumeCampaignRequest method.
+// req, resp := client.ResumeCampaignRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/ResumeCampaign
+func (c *ConnectCampaigns) ResumeCampaignRequest(input *ResumeCampaignInput) (req *request.Request, output *ResumeCampaignOutput) {
+ op := &request.Operation{
+ Name: opResumeCampaign,
+ HTTPMethod: "POST",
+ HTTPPath: "/campaigns/{id}/resume",
+ }
+
+ if input == nil {
+ input = &ResumeCampaignInput{}
+ }
+
+ output = &ResumeCampaignOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// ResumeCampaign API operation for AmazonConnectCampaignService.
+//
+// Stops a campaign for the specified Amazon Connect account.
+//
+// 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 AmazonConnectCampaignService's
+// API operation ResumeCampaign for usage and error information.
+//
+// Returned Error Types:
+// * InternalServerException
+// Request processing failed because of an error or failure with the service.
+//
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * ConflictException
+// The request could not be processed because of conflict in the current state
+// of the resource.
+//
+// * InvalidCampaignStateException
+// The request could not be processed because of conflict in the current state
+// of the campaign.
+//
+// * AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// * ThrottlingException
+// The request was denied due to request throttling.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/ResumeCampaign
+func (c *ConnectCampaigns) ResumeCampaign(input *ResumeCampaignInput) (*ResumeCampaignOutput, error) {
+ req, out := c.ResumeCampaignRequest(input)
+ return out, req.Send()
+}
+
+// ResumeCampaignWithContext is the same as ResumeCampaign with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ResumeCampaign 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 *ConnectCampaigns) ResumeCampaignWithContext(ctx aws.Context, input *ResumeCampaignInput, opts ...request.Option) (*ResumeCampaignOutput, error) {
+ req, out := c.ResumeCampaignRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opStartCampaign = "StartCampaign"
+
+// StartCampaignRequest generates a "aws/request.Request" representing the
+// client's request for the StartCampaign 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 StartCampaign for more information on using the StartCampaign
+// 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 StartCampaignRequest method.
+// req, resp := client.StartCampaignRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/StartCampaign
+func (c *ConnectCampaigns) StartCampaignRequest(input *StartCampaignInput) (req *request.Request, output *StartCampaignOutput) {
+ op := &request.Operation{
+ Name: opStartCampaign,
+ HTTPMethod: "POST",
+ HTTPPath: "/campaigns/{id}/start",
+ }
+
+ if input == nil {
+ input = &StartCampaignInput{}
+ }
+
+ output = &StartCampaignOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// StartCampaign API operation for AmazonConnectCampaignService.
+//
+// Starts a campaign for the specified Amazon Connect account.
+//
+// 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 AmazonConnectCampaignService's
+// API operation StartCampaign for usage and error information.
+//
+// Returned Error Types:
+// * InternalServerException
+// Request processing failed because of an error or failure with the service.
+//
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * ConflictException
+// The request could not be processed because of conflict in the current state
+// of the resource.
+//
+// * InvalidCampaignStateException
+// The request could not be processed because of conflict in the current state
+// of the campaign.
+//
+// * AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// * ThrottlingException
+// The request was denied due to request throttling.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/StartCampaign
+func (c *ConnectCampaigns) StartCampaign(input *StartCampaignInput) (*StartCampaignOutput, error) {
+ req, out := c.StartCampaignRequest(input)
+ return out, req.Send()
+}
+
+// StartCampaignWithContext is the same as StartCampaign with the addition of
+// the ability to pass a context and additional request options.
+//
+// See StartCampaign 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 *ConnectCampaigns) StartCampaignWithContext(ctx aws.Context, input *StartCampaignInput, opts ...request.Option) (*StartCampaignOutput, error) {
+ req, out := c.StartCampaignRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opStartInstanceOnboardingJob = "StartInstanceOnboardingJob"
+
+// StartInstanceOnboardingJobRequest generates a "aws/request.Request" representing the
+// client's request for the StartInstanceOnboardingJob 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 StartInstanceOnboardingJob for more information on using the StartInstanceOnboardingJob
+// 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 StartInstanceOnboardingJobRequest method.
+// req, resp := client.StartInstanceOnboardingJobRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/StartInstanceOnboardingJob
+func (c *ConnectCampaigns) StartInstanceOnboardingJobRequest(input *StartInstanceOnboardingJobInput) (req *request.Request, output *StartInstanceOnboardingJobOutput) {
+ op := &request.Operation{
+ Name: opStartInstanceOnboardingJob,
+ HTTPMethod: "PUT",
+ HTTPPath: "/connect-instance/{connectInstanceId}/onboarding",
+ }
+
+ if input == nil {
+ input = &StartInstanceOnboardingJobInput{}
+ }
+
+ output = &StartInstanceOnboardingJobOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// StartInstanceOnboardingJob API operation for AmazonConnectCampaignService.
+//
+// Onboard the specific Amazon Connect instance to Connect Campaigns.
+//
+// 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 AmazonConnectCampaignService's
+// API operation StartInstanceOnboardingJob for usage and error information.
+//
+// Returned Error Types:
+// * InternalServerException
+// Request processing failed because of an error or failure with the service.
+//
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * ValidationException
+// The input fails to satisfy the constraints specified by an AWS service.
+//
+// * ConflictException
+// The request could not be processed because of conflict in the current state
+// of the resource.
+//
+// * AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// * ThrottlingException
+// The request was denied due to request throttling.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/StartInstanceOnboardingJob
+func (c *ConnectCampaigns) StartInstanceOnboardingJob(input *StartInstanceOnboardingJobInput) (*StartInstanceOnboardingJobOutput, error) {
+ req, out := c.StartInstanceOnboardingJobRequest(input)
+ return out, req.Send()
+}
+
+// StartInstanceOnboardingJobWithContext is the same as StartInstanceOnboardingJob with the addition of
+// the ability to pass a context and additional request options.
+//
+// See StartInstanceOnboardingJob 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 *ConnectCampaigns) StartInstanceOnboardingJobWithContext(ctx aws.Context, input *StartInstanceOnboardingJobInput, opts ...request.Option) (*StartInstanceOnboardingJobOutput, error) {
+ req, out := c.StartInstanceOnboardingJobRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opStopCampaign = "StopCampaign"
+
+// StopCampaignRequest generates a "aws/request.Request" representing the
+// client's request for the StopCampaign 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 StopCampaign for more information on using the StopCampaign
+// 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 StopCampaignRequest method.
+// req, resp := client.StopCampaignRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/StopCampaign
+func (c *ConnectCampaigns) StopCampaignRequest(input *StopCampaignInput) (req *request.Request, output *StopCampaignOutput) {
+ op := &request.Operation{
+ Name: opStopCampaign,
+ HTTPMethod: "POST",
+ HTTPPath: "/campaigns/{id}/stop",
+ }
+
+ if input == nil {
+ input = &StopCampaignInput{}
+ }
+
+ output = &StopCampaignOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// StopCampaign API operation for AmazonConnectCampaignService.
+//
+// Stops a campaign for the specified Amazon Connect account.
+//
+// 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 AmazonConnectCampaignService's
+// API operation StopCampaign for usage and error information.
+//
+// Returned Error Types:
+// * InternalServerException
+// Request processing failed because of an error or failure with the service.
+//
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * ConflictException
+// The request could not be processed because of conflict in the current state
+// of the resource.
+//
+// * InvalidCampaignStateException
+// The request could not be processed because of conflict in the current state
+// of the campaign.
+//
+// * AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// * ThrottlingException
+// The request was denied due to request throttling.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/StopCampaign
+func (c *ConnectCampaigns) StopCampaign(input *StopCampaignInput) (*StopCampaignOutput, error) {
+ req, out := c.StopCampaignRequest(input)
+ return out, req.Send()
+}
+
+// StopCampaignWithContext is the same as StopCampaign with the addition of
+// the ability to pass a context and additional request options.
+//
+// See StopCampaign 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 *ConnectCampaigns) StopCampaignWithContext(ctx aws.Context, input *StopCampaignInput, opts ...request.Option) (*StopCampaignOutput, error) {
+ req, out := c.StopCampaignRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opTagResource = "TagResource"
+
+// TagResourceRequest generates a "aws/request.Request" representing the
+// client's request for the TagResource 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 TagResource for more information on using the TagResource
+// 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 TagResourceRequest method.
+// req, resp := client.TagResourceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/TagResource
+func (c *ConnectCampaigns) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
+ op := &request.Operation{
+ Name: opTagResource,
+ HTTPMethod: "POST",
+ HTTPPath: "/tags/{arn}",
+ }
+
+ if input == nil {
+ input = &TagResourceInput{}
+ }
+
+ output = &TagResourceOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// TagResource API operation for AmazonConnectCampaignService.
+//
+// Tag a resource.
+//
+// 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 AmazonConnectCampaignService's
+// API operation TagResource for usage and error information.
+//
+// Returned Error Types:
+// * InternalServerException
+// Request processing failed because of an error or failure with the service.
+//
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * ValidationException
+// The input fails to satisfy the constraints specified by an AWS service.
+//
+// * AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// * ThrottlingException
+// The request was denied due to request throttling.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/TagResource
+func (c *ConnectCampaigns) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
+ req, out := c.TagResourceRequest(input)
+ return out, req.Send()
+}
+
+// TagResourceWithContext is the same as TagResource with the addition of
+// the ability to pass a context and additional request options.
+//
+// See TagResource 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 *ConnectCampaigns) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
+ req, out := c.TagResourceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUntagResource = "UntagResource"
+
+// UntagResourceRequest generates a "aws/request.Request" representing the
+// client's request for the UntagResource 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 UntagResource for more information on using the UntagResource
+// 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 UntagResourceRequest method.
+// req, resp := client.UntagResourceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/UntagResource
+func (c *ConnectCampaigns) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
+ op := &request.Operation{
+ Name: opUntagResource,
+ HTTPMethod: "DELETE",
+ HTTPPath: "/tags/{arn}",
+ }
+
+ if input == nil {
+ input = &UntagResourceInput{}
+ }
+
+ output = &UntagResourceOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// UntagResource API operation for AmazonConnectCampaignService.
+//
+// Untag a resource.
+//
+// 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 AmazonConnectCampaignService's
+// API operation UntagResource for usage and error information.
+//
+// Returned Error Types:
+// * InternalServerException
+// Request processing failed because of an error or failure with the service.
+//
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * ValidationException
+// The input fails to satisfy the constraints specified by an AWS service.
+//
+// * AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// * ThrottlingException
+// The request was denied due to request throttling.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/UntagResource
+func (c *ConnectCampaigns) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
+ req, out := c.UntagResourceRequest(input)
+ return out, req.Send()
+}
+
+// UntagResourceWithContext is the same as UntagResource with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UntagResource 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 *ConnectCampaigns) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
+ req, out := c.UntagResourceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUpdateCampaignDialerConfig = "UpdateCampaignDialerConfig"
+
+// UpdateCampaignDialerConfigRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateCampaignDialerConfig 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 UpdateCampaignDialerConfig for more information on using the UpdateCampaignDialerConfig
+// 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 UpdateCampaignDialerConfigRequest method.
+// req, resp := client.UpdateCampaignDialerConfigRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/UpdateCampaignDialerConfig
+func (c *ConnectCampaigns) UpdateCampaignDialerConfigRequest(input *UpdateCampaignDialerConfigInput) (req *request.Request, output *UpdateCampaignDialerConfigOutput) {
+ op := &request.Operation{
+ Name: opUpdateCampaignDialerConfig,
+ HTTPMethod: "POST",
+ HTTPPath: "/campaigns/{id}/dialer-config",
+ }
+
+ if input == nil {
+ input = &UpdateCampaignDialerConfigInput{}
+ }
+
+ output = &UpdateCampaignDialerConfigOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// UpdateCampaignDialerConfig API operation for AmazonConnectCampaignService.
+//
+// Updates the dialer config of a campaign. This API is idempotent.
+//
+// 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 AmazonConnectCampaignService's
+// API operation UpdateCampaignDialerConfig for usage and error information.
+//
+// Returned Error Types:
+// * InternalServerException
+// Request processing failed because of an error or failure with the service.
+//
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * ValidationException
+// The input fails to satisfy the constraints specified by an AWS service.
+//
+// * ConflictException
+// The request could not be processed because of conflict in the current state
+// of the resource.
+//
+// * AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/UpdateCampaignDialerConfig
+func (c *ConnectCampaigns) UpdateCampaignDialerConfig(input *UpdateCampaignDialerConfigInput) (*UpdateCampaignDialerConfigOutput, error) {
+ req, out := c.UpdateCampaignDialerConfigRequest(input)
+ return out, req.Send()
+}
+
+// UpdateCampaignDialerConfigWithContext is the same as UpdateCampaignDialerConfig with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UpdateCampaignDialerConfig 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 *ConnectCampaigns) UpdateCampaignDialerConfigWithContext(ctx aws.Context, input *UpdateCampaignDialerConfigInput, opts ...request.Option) (*UpdateCampaignDialerConfigOutput, error) {
+ req, out := c.UpdateCampaignDialerConfigRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUpdateCampaignName = "UpdateCampaignName"
+
+// UpdateCampaignNameRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateCampaignName 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 UpdateCampaignName for more information on using the UpdateCampaignName
+// 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 UpdateCampaignNameRequest method.
+// req, resp := client.UpdateCampaignNameRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/UpdateCampaignName
+func (c *ConnectCampaigns) UpdateCampaignNameRequest(input *UpdateCampaignNameInput) (req *request.Request, output *UpdateCampaignNameOutput) {
+ op := &request.Operation{
+ Name: opUpdateCampaignName,
+ HTTPMethod: "POST",
+ HTTPPath: "/campaigns/{id}/name",
+ }
+
+ if input == nil {
+ input = &UpdateCampaignNameInput{}
+ }
+
+ output = &UpdateCampaignNameOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// UpdateCampaignName API operation for AmazonConnectCampaignService.
+//
+// Updates the name of a campaign. This API is idempotent.
+//
+// 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 AmazonConnectCampaignService's
+// API operation UpdateCampaignName for usage and error information.
+//
+// Returned Error Types:
+// * InternalServerException
+// Request processing failed because of an error or failure with the service.
+//
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * ValidationException
+// The input fails to satisfy the constraints specified by an AWS service.
+//
+// * ConflictException
+// The request could not be processed because of conflict in the current state
+// of the resource.
+//
+// * AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/UpdateCampaignName
+func (c *ConnectCampaigns) UpdateCampaignName(input *UpdateCampaignNameInput) (*UpdateCampaignNameOutput, error) {
+ req, out := c.UpdateCampaignNameRequest(input)
+ return out, req.Send()
+}
+
+// UpdateCampaignNameWithContext is the same as UpdateCampaignName with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UpdateCampaignName 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 *ConnectCampaigns) UpdateCampaignNameWithContext(ctx aws.Context, input *UpdateCampaignNameInput, opts ...request.Option) (*UpdateCampaignNameOutput, error) {
+ req, out := c.UpdateCampaignNameRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUpdateCampaignOutboundCallConfig = "UpdateCampaignOutboundCallConfig"
+
+// UpdateCampaignOutboundCallConfigRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateCampaignOutboundCallConfig 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 UpdateCampaignOutboundCallConfig for more information on using the UpdateCampaignOutboundCallConfig
+// 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 UpdateCampaignOutboundCallConfigRequest method.
+// req, resp := client.UpdateCampaignOutboundCallConfigRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/UpdateCampaignOutboundCallConfig
+func (c *ConnectCampaigns) UpdateCampaignOutboundCallConfigRequest(input *UpdateCampaignOutboundCallConfigInput) (req *request.Request, output *UpdateCampaignOutboundCallConfigOutput) {
+ op := &request.Operation{
+ Name: opUpdateCampaignOutboundCallConfig,
+ HTTPMethod: "POST",
+ HTTPPath: "/campaigns/{id}/outbound-call-config",
+ }
+
+ if input == nil {
+ input = &UpdateCampaignOutboundCallConfigInput{}
+ }
+
+ output = &UpdateCampaignOutboundCallConfigOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// UpdateCampaignOutboundCallConfig API operation for AmazonConnectCampaignService.
+//
+// Updates the outbound call config of a campaign. This API is idempotent.
+//
+// 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 AmazonConnectCampaignService's
+// API operation UpdateCampaignOutboundCallConfig for usage and error information.
+//
+// Returned Error Types:
+// * InternalServerException
+// Request processing failed because of an error or failure with the service.
+//
+// * ResourceNotFoundException
+// The specified resource was not found.
+//
+// * ValidationException
+// The input fails to satisfy the constraints specified by an AWS service.
+//
+// * ConflictException
+// The request could not be processed because of conflict in the current state
+// of the resource.
+//
+// * AccessDeniedException
+// You do not have sufficient access to perform this action.
+//
+// * ThrottlingException
+// The request was denied due to request throttling.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/UpdateCampaignOutboundCallConfig
+func (c *ConnectCampaigns) UpdateCampaignOutboundCallConfig(input *UpdateCampaignOutboundCallConfigInput) (*UpdateCampaignOutboundCallConfigOutput, error) {
+ req, out := c.UpdateCampaignOutboundCallConfigRequest(input)
+ return out, req.Send()
+}
+
+// UpdateCampaignOutboundCallConfigWithContext is the same as UpdateCampaignOutboundCallConfig with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UpdateCampaignOutboundCallConfig 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 *ConnectCampaigns) UpdateCampaignOutboundCallConfigWithContext(ctx aws.Context, input *UpdateCampaignOutboundCallConfigInput, opts ...request.Option) (*UpdateCampaignOutboundCallConfigOutput, error) {
+ req, out := c.UpdateCampaignOutboundCallConfigRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// You do not have sufficient access to perform this action.
+type AccessDeniedException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ Message_ *string `locationName:"message" type:"string"`
+
+ // A header that defines the error encountered while processing the request.
+ XAmzErrorType *string `location:"header" locationName:"x-amzn-ErrorType" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccessDeniedException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccessDeniedException) GoString() string {
+ return s.String()
+}
+
+func newErrorAccessDeniedException(v protocol.ResponseMetadata) error {
+ return &AccessDeniedException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *AccessDeniedException) Code() string {
+ return "AccessDeniedException"
+}
+
+// Message returns the exception's message.
+func (s *AccessDeniedException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *AccessDeniedException) OrigErr() error {
+ return nil
+}
+
+func (s *AccessDeniedException) 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 *AccessDeniedException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *AccessDeniedException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// Answering Machine Detection config
+type AnswerMachineDetectionConfig struct {
+ _ struct{} `type:"structure"`
+
+ // Enable or disable answering machine detection
+ //
+ // EnableAnswerMachineDetection is a required field
+ EnableAnswerMachineDetection *bool `locationName:"enableAnswerMachineDetection" type:"boolean" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AnswerMachineDetectionConfig) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AnswerMachineDetectionConfig) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AnswerMachineDetectionConfig) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AnswerMachineDetectionConfig"}
+ if s.EnableAnswerMachineDetection == nil {
+ invalidParams.Add(request.NewErrParamRequired("EnableAnswerMachineDetection"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetEnableAnswerMachineDetection sets the EnableAnswerMachineDetection field's value.
+func (s *AnswerMachineDetectionConfig) SetEnableAnswerMachineDetection(v bool) *AnswerMachineDetectionConfig {
+ s.EnableAnswerMachineDetection = &v
+ return s
+}
+
+// An Amazon Connect campaign.
+type Campaign struct {
+ _ struct{} `type:"structure"`
+
+ // The resource name of an Amazon Connect campaign.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" min:"20" type:"string" required:"true"`
+
+ // Amazon Connect Instance Id
+ //
+ // ConnectInstanceId is a required field
+ ConnectInstanceId *string `locationName:"connectInstanceId" type:"string" required:"true"`
+
+ // The possible types of dialer config parameters
+ //
+ // DialerConfig is a required field
+ DialerConfig *DialerConfig `locationName:"dialerConfig" type:"structure" required:"true"`
+
+ // Identifier representing a Campaign
+ //
+ // Id is a required field
+ Id *string `locationName:"id" type:"string" required:"true"`
+
+ // The name of an Amazon Connect Campaign name.
+ //
+ // Name is a required field
+ Name *string `locationName:"name" min:"1" type:"string" required:"true"`
+
+ // The configuration used for outbound calls.
+ //
+ // OutboundCallConfig is a required field
+ OutboundCallConfig *OutboundCallConfig `locationName:"outboundCallConfig" type:"structure" required:"true"`
+
+ // Tag map with key and value.
+ Tags map[string]*string `locationName:"tags" type:"map"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Campaign) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Campaign) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *Campaign) SetArn(v string) *Campaign {
+ s.Arn = &v
+ return s
+}
+
+// SetConnectInstanceId sets the ConnectInstanceId field's value.
+func (s *Campaign) SetConnectInstanceId(v string) *Campaign {
+ s.ConnectInstanceId = &v
+ return s
+}
+
+// SetDialerConfig sets the DialerConfig field's value.
+func (s *Campaign) SetDialerConfig(v *DialerConfig) *Campaign {
+ s.DialerConfig = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *Campaign) SetId(v string) *Campaign {
+ s.Id = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *Campaign) SetName(v string) *Campaign {
+ s.Name = &v
+ return s
+}
+
+// SetOutboundCallConfig sets the OutboundCallConfig field's value.
+func (s *Campaign) SetOutboundCallConfig(v *OutboundCallConfig) *Campaign {
+ s.OutboundCallConfig = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *Campaign) SetTags(v map[string]*string) *Campaign {
+ s.Tags = v
+ return s
+}
+
+// Filter model by type
+type CampaignFilters struct {
+ _ struct{} `type:"structure"`
+
+ // Connect instance identifier filter
+ InstanceIdFilter *InstanceIdFilter `locationName:"instanceIdFilter" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CampaignFilters) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CampaignFilters) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CampaignFilters) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CampaignFilters"}
+ if s.InstanceIdFilter != nil {
+ if err := s.InstanceIdFilter.Validate(); err != nil {
+ invalidParams.AddNested("InstanceIdFilter", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetInstanceIdFilter sets the InstanceIdFilter field's value.
+func (s *CampaignFilters) SetInstanceIdFilter(v *InstanceIdFilter) *CampaignFilters {
+ s.InstanceIdFilter = v
+ return s
+}
+
+// An Amazon Connect campaign summary.
+type CampaignSummary struct {
+ _ struct{} `type:"structure"`
+
+ // The resource name of an Amazon Connect campaign.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" min:"20" type:"string" required:"true"`
+
+ // Amazon Connect Instance Id
+ //
+ // ConnectInstanceId is a required field
+ ConnectInstanceId *string `locationName:"connectInstanceId" type:"string" required:"true"`
+
+ // Identifier representing a Campaign
+ //
+ // Id is a required field
+ Id *string `locationName:"id" type:"string" required:"true"`
+
+ // The name of an Amazon Connect Campaign name.
+ //
+ // Name is a required field
+ Name *string `locationName:"name" min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CampaignSummary) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CampaignSummary) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *CampaignSummary) SetArn(v string) *CampaignSummary {
+ s.Arn = &v
+ return s
+}
+
+// SetConnectInstanceId sets the ConnectInstanceId field's value.
+func (s *CampaignSummary) SetConnectInstanceId(v string) *CampaignSummary {
+ s.ConnectInstanceId = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *CampaignSummary) SetId(v string) *CampaignSummary {
+ s.Id = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CampaignSummary) SetName(v string) *CampaignSummary {
+ s.Name = &v
+ return s
+}
+
+// The request could not be processed because of conflict in the current state
+// of the resource.
+type ConflictException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ Message_ *string `locationName:"message" type:"string"`
+
+ // A header that defines the error encountered while processing the request.
+ XAmzErrorType *string `location:"header" locationName:"x-amzn-ErrorType" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ConflictException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ConflictException) GoString() string {
+ return s.String()
+}
+
+func newErrorConflictException(v protocol.ResponseMetadata) error {
+ return &ConflictException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *ConflictException) Code() string {
+ return "ConflictException"
+}
+
+// Message returns the exception's message.
+func (s *ConflictException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ConflictException) OrigErr() error {
+ return nil
+}
+
+func (s *ConflictException) 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 *ConflictException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *ConflictException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// The request for Create Campaign API.
+type CreateCampaignInput struct {
+ _ struct{} `type:"structure"`
+
+ // Amazon Connect Instance Id
+ //
+ // ConnectInstanceId is a required field
+ ConnectInstanceId *string `locationName:"connectInstanceId" type:"string" required:"true"`
+
+ // The possible types of dialer config parameters
+ //
+ // DialerConfig is a required field
+ DialerConfig *DialerConfig `locationName:"dialerConfig" type:"structure" required:"true"`
+
+ // The name of an Amazon Connect Campaign name.
+ //
+ // Name is a required field
+ Name *string `locationName:"name" min:"1" type:"string" required:"true"`
+
+ // The configuration used for outbound calls.
+ //
+ // OutboundCallConfig is a required field
+ OutboundCallConfig *OutboundCallConfig `locationName:"outboundCallConfig" type:"structure" required:"true"`
+
+ // Tag map with key and value.
+ Tags map[string]*string `locationName:"tags" type:"map"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateCampaignInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateCampaignInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateCampaignInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateCampaignInput"}
+ if s.ConnectInstanceId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ConnectInstanceId"))
+ }
+ if s.DialerConfig == nil {
+ invalidParams.Add(request.NewErrParamRequired("DialerConfig"))
+ }
+ 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.OutboundCallConfig == nil {
+ invalidParams.Add(request.NewErrParamRequired("OutboundCallConfig"))
+ }
+ if s.DialerConfig != nil {
+ if err := s.DialerConfig.Validate(); err != nil {
+ invalidParams.AddNested("DialerConfig", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.OutboundCallConfig != nil {
+ if err := s.OutboundCallConfig.Validate(); err != nil {
+ invalidParams.AddNested("OutboundCallConfig", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetConnectInstanceId sets the ConnectInstanceId field's value.
+func (s *CreateCampaignInput) SetConnectInstanceId(v string) *CreateCampaignInput {
+ s.ConnectInstanceId = &v
+ return s
+}
+
+// SetDialerConfig sets the DialerConfig field's value.
+func (s *CreateCampaignInput) SetDialerConfig(v *DialerConfig) *CreateCampaignInput {
+ s.DialerConfig = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateCampaignInput) SetName(v string) *CreateCampaignInput {
+ s.Name = &v
+ return s
+}
+
+// SetOutboundCallConfig sets the OutboundCallConfig field's value.
+func (s *CreateCampaignInput) SetOutboundCallConfig(v *OutboundCallConfig) *CreateCampaignInput {
+ s.OutboundCallConfig = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateCampaignInput) SetTags(v map[string]*string) *CreateCampaignInput {
+ s.Tags = v
+ return s
+}
+
+// The response for Create Campaign API
+type CreateCampaignOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The resource name of an Amazon Connect campaign.
+ Arn *string `locationName:"arn" min:"20" type:"string"`
+
+ // Identifier representing a Campaign
+ Id *string `locationName:"id" type:"string"`
+
+ // Tag map with key and value.
+ Tags map[string]*string `locationName:"tags" type:"map"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateCampaignOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateCampaignOutput) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *CreateCampaignOutput) SetArn(v string) *CreateCampaignOutput {
+ s.Arn = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *CreateCampaignOutput) SetId(v string) *CreateCampaignOutput {
+ s.Id = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateCampaignOutput) SetTags(v map[string]*string) *CreateCampaignOutput {
+ s.Tags = v
+ return s
+}
+
+// DeleteCampaignRequest
+type DeleteCampaignInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // Identifier representing a Campaign
+ //
+ // Id is a required field
+ Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteCampaignInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteCampaignInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteCampaignInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteCampaignInput"}
+ if s.Id == nil {
+ invalidParams.Add(request.NewErrParamRequired("Id"))
+ }
+ if s.Id != nil && len(*s.Id) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Id", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetId sets the Id field's value.
+func (s *DeleteCampaignInput) SetId(v string) *DeleteCampaignInput {
+ s.Id = &v
+ return s
+}
+
+type DeleteCampaignOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteCampaignOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteCampaignOutput) GoString() string {
+ return s.String()
+}
+
+// DeleteCampaignRequest
+type DeleteConnectInstanceConfigInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // Amazon Connect Instance Id
+ //
+ // ConnectInstanceId is a required field
+ ConnectInstanceId *string `location:"uri" locationName:"connectInstanceId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteConnectInstanceConfigInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteConnectInstanceConfigInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteConnectInstanceConfigInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteConnectInstanceConfigInput"}
+ if s.ConnectInstanceId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ConnectInstanceId"))
+ }
+ if s.ConnectInstanceId != nil && len(*s.ConnectInstanceId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ConnectInstanceId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetConnectInstanceId sets the ConnectInstanceId field's value.
+func (s *DeleteConnectInstanceConfigInput) SetConnectInstanceId(v string) *DeleteConnectInstanceConfigInput {
+ s.ConnectInstanceId = &v
+ return s
+}
+
+type DeleteConnectInstanceConfigOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteConnectInstanceConfigOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteConnectInstanceConfigOutput) GoString() string {
+ return s.String()
+}
+
+// The request for DeleteInstanceOnboardingJob API.
+type DeleteInstanceOnboardingJobInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // Amazon Connect Instance Id
+ //
+ // ConnectInstanceId is a required field
+ ConnectInstanceId *string `location:"uri" locationName:"connectInstanceId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteInstanceOnboardingJobInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteInstanceOnboardingJobInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteInstanceOnboardingJobInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteInstanceOnboardingJobInput"}
+ if s.ConnectInstanceId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ConnectInstanceId"))
+ }
+ if s.ConnectInstanceId != nil && len(*s.ConnectInstanceId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ConnectInstanceId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetConnectInstanceId sets the ConnectInstanceId field's value.
+func (s *DeleteInstanceOnboardingJobInput) SetConnectInstanceId(v string) *DeleteInstanceOnboardingJobInput {
+ s.ConnectInstanceId = &v
+ return s
+}
+
+type DeleteInstanceOnboardingJobOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteInstanceOnboardingJobOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteInstanceOnboardingJobOutput) GoString() string {
+ return s.String()
+}
+
+// DescribeCampaignRequests
+type DescribeCampaignInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // Identifier representing a Campaign
+ //
+ // Id is a required field
+ Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeCampaignInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeCampaignInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeCampaignInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeCampaignInput"}
+ if s.Id == nil {
+ invalidParams.Add(request.NewErrParamRequired("Id"))
+ }
+ if s.Id != nil && len(*s.Id) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Id", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetId sets the Id field's value.
+func (s *DescribeCampaignInput) SetId(v string) *DescribeCampaignInput {
+ s.Id = &v
+ return s
+}
+
+// DescribeCampaignResponse
+type DescribeCampaignOutput struct {
+ _ struct{} `type:"structure"`
+
+ // An Amazon Connect campaign.
+ Campaign *Campaign `locationName:"campaign" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeCampaignOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DescribeCampaignOutput) GoString() string {
+ return s.String()
+}
+
+// SetCampaign sets the Campaign field's value.
+func (s *DescribeCampaignOutput) SetCampaign(v *Campaign) *DescribeCampaignOutput {
+ s.Campaign = v
+ return s
+}
+
+// A dial request for a campaign.
+type DialRequest 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.
+ //
+ // Attributes is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by DialRequest's
+ // String and GoString methods.
+ //
+ // Attributes is a required field
+ Attributes map[string]*string `locationName:"attributes" type:"map" required:"true" sensitive:"true"`
+
+ // Client provided parameter used for idempotency. Its value must be unique
+ // for each request.
+ //
+ // ClientToken is a required field
+ ClientToken *string `locationName:"clientToken" type:"string" required:"true"`
+
+ // Timestamp with no UTC offset or timezone
+ //
+ // ExpirationTime is a required field
+ ExpirationTime *time.Time `locationName:"expirationTime" type:"timestamp" timestampFormat:"iso8601" required:"true"`
+
+ // The phone number of the customer, in E.164 format.
+ //
+ // PhoneNumber is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by DialRequest's
+ // String and GoString methods.
+ //
+ // PhoneNumber is a required field
+ PhoneNumber *string `locationName:"phoneNumber" type:"string" required:"true" sensitive:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DialRequest) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DialRequest) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DialRequest) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DialRequest"}
+ if s.Attributes == nil {
+ invalidParams.Add(request.NewErrParamRequired("Attributes"))
+ }
+ if s.ClientToken == nil {
+ invalidParams.Add(request.NewErrParamRequired("ClientToken"))
+ }
+ if s.ExpirationTime == nil {
+ invalidParams.Add(request.NewErrParamRequired("ExpirationTime"))
+ }
+ if s.PhoneNumber == nil {
+ invalidParams.Add(request.NewErrParamRequired("PhoneNumber"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAttributes sets the Attributes field's value.
+func (s *DialRequest) SetAttributes(v map[string]*string) *DialRequest {
+ s.Attributes = v
+ return s
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *DialRequest) SetClientToken(v string) *DialRequest {
+ s.ClientToken = &v
+ return s
+}
+
+// SetExpirationTime sets the ExpirationTime field's value.
+func (s *DialRequest) SetExpirationTime(v time.Time) *DialRequest {
+ s.ExpirationTime = &v
+ return s
+}
+
+// SetPhoneNumber sets the PhoneNumber field's value.
+func (s *DialRequest) SetPhoneNumber(v string) *DialRequest {
+ s.PhoneNumber = &v
+ return s
+}
+
+// The possible types of dialer config parameters
+type DialerConfig struct {
+ _ struct{} `type:"structure"`
+
+ // Predictive Dialer config
+ PredictiveDialerConfig *PredictiveDialerConfig `locationName:"predictiveDialerConfig" type:"structure"`
+
+ // Progressive Dialer config
+ ProgressiveDialerConfig *ProgressiveDialerConfig `locationName:"progressiveDialerConfig" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DialerConfig) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DialerConfig) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DialerConfig) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DialerConfig"}
+ if s.PredictiveDialerConfig != nil {
+ if err := s.PredictiveDialerConfig.Validate(); err != nil {
+ invalidParams.AddNested("PredictiveDialerConfig", err.(request.ErrInvalidParams))
+ }
+ }
+ if s.ProgressiveDialerConfig != nil {
+ if err := s.ProgressiveDialerConfig.Validate(); err != nil {
+ invalidParams.AddNested("ProgressiveDialerConfig", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetPredictiveDialerConfig sets the PredictiveDialerConfig field's value.
+func (s *DialerConfig) SetPredictiveDialerConfig(v *PredictiveDialerConfig) *DialerConfig {
+ s.PredictiveDialerConfig = v
+ return s
+}
+
+// SetProgressiveDialerConfig sets the ProgressiveDialerConfig field's value.
+func (s *DialerConfig) SetProgressiveDialerConfig(v *ProgressiveDialerConfig) *DialerConfig {
+ s.ProgressiveDialerConfig = v
+ return s
+}
+
+// Encryption config for Connect Instance. Note that sensitive data will always
+// be encrypted. If disabled, service will perform encryption with its own key.
+// If enabled, a KMS key id needs to be provided and KMS charges will apply.
+// KMS is only type supported
+type EncryptionConfig struct {
+ _ struct{} `type:"structure"`
+
+ // Boolean to indicate if custom encryption has been enabled.
+ //
+ // Enabled is a required field
+ Enabled *bool `locationName:"enabled" type:"boolean" required:"true"`
+
+ // Server-side encryption type.
+ EncryptionType *string `locationName:"encryptionType" type:"string" enum:"EncryptionType"`
+
+ // KMS key id/arn for encryption config.
+ KeyArn *string `locationName:"keyArn" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s EncryptionConfig) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s EncryptionConfig) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *EncryptionConfig) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "EncryptionConfig"}
+ if s.Enabled == nil {
+ invalidParams.Add(request.NewErrParamRequired("Enabled"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetEnabled sets the Enabled field's value.
+func (s *EncryptionConfig) SetEnabled(v bool) *EncryptionConfig {
+ s.Enabled = &v
+ return s
+}
+
+// SetEncryptionType sets the EncryptionType field's value.
+func (s *EncryptionConfig) SetEncryptionType(v string) *EncryptionConfig {
+ s.EncryptionType = &v
+ return s
+}
+
+// SetKeyArn sets the KeyArn field's value.
+func (s *EncryptionConfig) SetKeyArn(v string) *EncryptionConfig {
+ s.KeyArn = &v
+ return s
+}
+
+// Failed response of campaign state
+type FailedCampaignStateResponse struct {
+ _ struct{} `type:"structure"`
+
+ // Identifier representing a Campaign
+ CampaignId *string `locationName:"campaignId" type:"string"`
+
+ // A predefined code indicating the error that caused the failure in getting
+ // state of campaigns
+ FailureCode *string `locationName:"failureCode" type:"string" enum:"GetCampaignStateBatchFailureCode"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s FailedCampaignStateResponse) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s FailedCampaignStateResponse) GoString() string {
+ return s.String()
+}
+
+// SetCampaignId sets the CampaignId field's value.
+func (s *FailedCampaignStateResponse) SetCampaignId(v string) *FailedCampaignStateResponse {
+ s.CampaignId = &v
+ return s
+}
+
+// SetFailureCode sets the FailureCode field's value.
+func (s *FailedCampaignStateResponse) SetFailureCode(v string) *FailedCampaignStateResponse {
+ s.FailureCode = &v
+ return s
+}
+
+// A failed request identified by the unique client token.
+type FailedRequest struct {
+ _ struct{} `type:"structure"`
+
+ // Client provided parameter used for idempotency. Its value must be unique
+ // for each request.
+ ClientToken *string `locationName:"clientToken" type:"string"`
+
+ // A predefined code indicating the error that caused the failure.
+ FailureCode *string `locationName:"failureCode" type:"string" enum:"FailureCode"`
+
+ // Identifier representing a Dial request
+ Id *string `locationName:"id" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s FailedRequest) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s FailedRequest) GoString() string {
+ return s.String()
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *FailedRequest) SetClientToken(v string) *FailedRequest {
+ s.ClientToken = &v
+ return s
+}
+
+// SetFailureCode sets the FailureCode field's value.
+func (s *FailedRequest) SetFailureCode(v string) *FailedRequest {
+ s.FailureCode = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *FailedRequest) SetId(v string) *FailedRequest {
+ s.Id = &v
+ return s
+}
+
+// GetCampaignStateBatchRequest
+type GetCampaignStateBatchInput struct {
+ _ struct{} `type:"structure"`
+
+ // List of CampaignId
+ //
+ // CampaignIds is a required field
+ CampaignIds []*string `locationName:"campaignIds" min:"1" type:"list" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetCampaignStateBatchInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetCampaignStateBatchInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetCampaignStateBatchInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetCampaignStateBatchInput"}
+ if s.CampaignIds == nil {
+ invalidParams.Add(request.NewErrParamRequired("CampaignIds"))
+ }
+ if s.CampaignIds != nil && len(s.CampaignIds) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("CampaignIds", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetCampaignIds sets the CampaignIds field's value.
+func (s *GetCampaignStateBatchInput) SetCampaignIds(v []*string) *GetCampaignStateBatchInput {
+ s.CampaignIds = v
+ return s
+}
+
+// GetCampaignStateBatchResponse
+type GetCampaignStateBatchOutput struct {
+ _ struct{} `type:"structure"`
+
+ // List of failed requests of campaign state
+ FailedRequests []*FailedCampaignStateResponse `locationName:"failedRequests" type:"list"`
+
+ // List of successful response of campaign state
+ SuccessfulRequests []*SuccessfulCampaignStateResponse `locationName:"successfulRequests" type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetCampaignStateBatchOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetCampaignStateBatchOutput) GoString() string {
+ return s.String()
+}
+
+// SetFailedRequests sets the FailedRequests field's value.
+func (s *GetCampaignStateBatchOutput) SetFailedRequests(v []*FailedCampaignStateResponse) *GetCampaignStateBatchOutput {
+ s.FailedRequests = v
+ return s
+}
+
+// SetSuccessfulRequests sets the SuccessfulRequests field's value.
+func (s *GetCampaignStateBatchOutput) SetSuccessfulRequests(v []*SuccessfulCampaignStateResponse) *GetCampaignStateBatchOutput {
+ s.SuccessfulRequests = v
+ return s
+}
+
+// GetCampaignStateRequest
+type GetCampaignStateInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // Identifier representing a Campaign
+ //
+ // Id is a required field
+ Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetCampaignStateInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetCampaignStateInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetCampaignStateInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetCampaignStateInput"}
+ if s.Id == nil {
+ invalidParams.Add(request.NewErrParamRequired("Id"))
+ }
+ if s.Id != nil && len(*s.Id) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Id", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetId sets the Id field's value.
+func (s *GetCampaignStateInput) SetId(v string) *GetCampaignStateInput {
+ s.Id = &v
+ return s
+}
+
+// GetCampaignStateResponse
+type GetCampaignStateOutput struct {
+ _ struct{} `type:"structure"`
+
+ // State of a campaign
+ State *string `locationName:"state" type:"string" enum:"CampaignState"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetCampaignStateOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetCampaignStateOutput) GoString() string {
+ return s.String()
+}
+
+// SetState sets the State field's value.
+func (s *GetCampaignStateOutput) SetState(v string) *GetCampaignStateOutput {
+ s.State = &v
+ return s
+}
+
+// GetConnectInstanceConfigRequest
+type GetConnectInstanceConfigInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // Amazon Connect Instance Id
+ //
+ // ConnectInstanceId is a required field
+ ConnectInstanceId *string `location:"uri" locationName:"connectInstanceId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetConnectInstanceConfigInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetConnectInstanceConfigInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetConnectInstanceConfigInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetConnectInstanceConfigInput"}
+ if s.ConnectInstanceId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ConnectInstanceId"))
+ }
+ if s.ConnectInstanceId != nil && len(*s.ConnectInstanceId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ConnectInstanceId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetConnectInstanceId sets the ConnectInstanceId field's value.
+func (s *GetConnectInstanceConfigInput) SetConnectInstanceId(v string) *GetConnectInstanceConfigInput {
+ s.ConnectInstanceId = &v
+ return s
+}
+
+// GetConnectInstanceConfigResponse
+type GetConnectInstanceConfigOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Instance config object
+ ConnectInstanceConfig *InstanceConfig `locationName:"connectInstanceConfig" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetConnectInstanceConfigOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetConnectInstanceConfigOutput) GoString() string {
+ return s.String()
+}
+
+// SetConnectInstanceConfig sets the ConnectInstanceConfig field's value.
+func (s *GetConnectInstanceConfigOutput) SetConnectInstanceConfig(v *InstanceConfig) *GetConnectInstanceConfigOutput {
+ s.ConnectInstanceConfig = v
+ return s
+}
+
+// GetInstanceOnboardingJobStatusRequest
+type GetInstanceOnboardingJobStatusInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // Amazon Connect Instance Id
+ //
+ // ConnectInstanceId is a required field
+ ConnectInstanceId *string `location:"uri" locationName:"connectInstanceId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetInstanceOnboardingJobStatusInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetInstanceOnboardingJobStatusInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetInstanceOnboardingJobStatusInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetInstanceOnboardingJobStatusInput"}
+ if s.ConnectInstanceId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ConnectInstanceId"))
+ }
+ if s.ConnectInstanceId != nil && len(*s.ConnectInstanceId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ConnectInstanceId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetConnectInstanceId sets the ConnectInstanceId field's value.
+func (s *GetInstanceOnboardingJobStatusInput) SetConnectInstanceId(v string) *GetInstanceOnboardingJobStatusInput {
+ s.ConnectInstanceId = &v
+ return s
+}
+
+// GetInstanceOnboardingJobStatusResponse
+type GetInstanceOnboardingJobStatusOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Instance onboarding job status object
+ ConnectInstanceOnboardingJobStatus *InstanceOnboardingJobStatus `locationName:"connectInstanceOnboardingJobStatus" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetInstanceOnboardingJobStatusOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetInstanceOnboardingJobStatusOutput) GoString() string {
+ return s.String()
+}
+
+// SetConnectInstanceOnboardingJobStatus sets the ConnectInstanceOnboardingJobStatus field's value.
+func (s *GetInstanceOnboardingJobStatusOutput) SetConnectInstanceOnboardingJobStatus(v *InstanceOnboardingJobStatus) *GetInstanceOnboardingJobStatusOutput {
+ s.ConnectInstanceOnboardingJobStatus = v
+ return s
+}
+
+// Instance config object
+type InstanceConfig struct {
+ _ struct{} `type:"structure"`
+
+ // Amazon Connect Instance Id
+ //
+ // ConnectInstanceId is a required field
+ ConnectInstanceId *string `locationName:"connectInstanceId" type:"string" required:"true"`
+
+ // Encryption config for Connect Instance. Note that sensitive data will always
+ // be encrypted. If disabled, service will perform encryption with its own key.
+ // If enabled, a KMS key id needs to be provided and KMS charges will apply.
+ // KMS is only type supported
+ //
+ // EncryptionConfig is a required field
+ EncryptionConfig *EncryptionConfig `locationName:"encryptionConfig" type:"structure" required:"true"`
+
+ // Service linked role arn
+ //
+ // ServiceLinkedRoleArn is a required field
+ ServiceLinkedRoleArn *string `locationName:"serviceLinkedRoleArn" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InstanceConfig) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InstanceConfig) GoString() string {
+ return s.String()
+}
+
+// SetConnectInstanceId sets the ConnectInstanceId field's value.
+func (s *InstanceConfig) SetConnectInstanceId(v string) *InstanceConfig {
+ s.ConnectInstanceId = &v
+ return s
+}
+
+// SetEncryptionConfig sets the EncryptionConfig field's value.
+func (s *InstanceConfig) SetEncryptionConfig(v *EncryptionConfig) *InstanceConfig {
+ s.EncryptionConfig = v
+ return s
+}
+
+// SetServiceLinkedRoleArn sets the ServiceLinkedRoleArn field's value.
+func (s *InstanceConfig) SetServiceLinkedRoleArn(v string) *InstanceConfig {
+ s.ServiceLinkedRoleArn = &v
+ return s
+}
+
+// Connect instance identifier filter
+type InstanceIdFilter struct {
+ _ struct{} `type:"structure"`
+
+ // Operators for Connect instance identifier filter
+ //
+ // Operator is a required field
+ Operator *string `locationName:"operator" type:"string" required:"true" enum:"InstanceIdFilterOperator"`
+
+ // Amazon Connect Instance Id
+ //
+ // Value is a required field
+ Value *string `locationName:"value" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InstanceIdFilter) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InstanceIdFilter) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *InstanceIdFilter) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "InstanceIdFilter"}
+ if s.Operator == nil {
+ invalidParams.Add(request.NewErrParamRequired("Operator"))
+ }
+ if s.Value == nil {
+ invalidParams.Add(request.NewErrParamRequired("Value"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetOperator sets the Operator field's value.
+func (s *InstanceIdFilter) SetOperator(v string) *InstanceIdFilter {
+ s.Operator = &v
+ return s
+}
+
+// SetValue sets the Value field's value.
+func (s *InstanceIdFilter) SetValue(v string) *InstanceIdFilter {
+ s.Value = &v
+ return s
+}
+
+// Instance onboarding job status object
+type InstanceOnboardingJobStatus struct {
+ _ struct{} `type:"structure"`
+
+ // Amazon Connect Instance Id
+ //
+ // ConnectInstanceId is a required field
+ ConnectInstanceId *string `locationName:"connectInstanceId" type:"string" required:"true"`
+
+ // Enumeration of the possible failure codes for instance onboarding job
+ FailureCode *string `locationName:"failureCode" type:"string" enum:"InstanceOnboardingJobFailureCode"`
+
+ // Enumeration of the possible states for instance onboarding job
+ //
+ // Status is a required field
+ Status *string `locationName:"status" type:"string" required:"true" enum:"InstanceOnboardingJobStatusCode"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InstanceOnboardingJobStatus) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InstanceOnboardingJobStatus) GoString() string {
+ return s.String()
+}
+
+// SetConnectInstanceId sets the ConnectInstanceId field's value.
+func (s *InstanceOnboardingJobStatus) SetConnectInstanceId(v string) *InstanceOnboardingJobStatus {
+ s.ConnectInstanceId = &v
+ return s
+}
+
+// SetFailureCode sets the FailureCode field's value.
+func (s *InstanceOnboardingJobStatus) SetFailureCode(v string) *InstanceOnboardingJobStatus {
+ s.FailureCode = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *InstanceOnboardingJobStatus) SetStatus(v string) *InstanceOnboardingJobStatus {
+ s.Status = &v
+ return s
+}
+
+// Request processing failed because of an error or failure with the service.
+type InternalServerException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ Message_ *string `locationName:"message" type:"string"`
+
+ // A header that defines the error encountered while processing the request.
+ XAmzErrorType *string `location:"header" locationName:"x-amzn-ErrorType" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InternalServerException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InternalServerException) GoString() string {
+ return s.String()
+}
+
+func newErrorInternalServerException(v protocol.ResponseMetadata) error {
+ return &InternalServerException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *InternalServerException) Code() string {
+ return "InternalServerException"
+}
+
+// Message returns the exception's message.
+func (s *InternalServerException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *InternalServerException) OrigErr() error {
+ return nil
+}
+
+func (s *InternalServerException) 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 *InternalServerException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *InternalServerException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// The request could not be processed because of conflict in the current state
+// of the campaign.
+type InvalidCampaignStateException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ Message_ *string `locationName:"message" type:"string"`
+
+ // State of a campaign
+ //
+ // State is a required field
+ State *string `locationName:"state" type:"string" required:"true" enum:"CampaignState"`
+
+ // A header that defines the error encountered while processing the request.
+ XAmzErrorType *string `location:"header" locationName:"x-amzn-ErrorType" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InvalidCampaignStateException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InvalidCampaignStateException) GoString() string {
+ return s.String()
+}
+
+func newErrorInvalidCampaignStateException(v protocol.ResponseMetadata) error {
+ return &InvalidCampaignStateException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *InvalidCampaignStateException) Code() string {
+ return "InvalidCampaignStateException"
+}
+
+// Message returns the exception's message.
+func (s *InvalidCampaignStateException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *InvalidCampaignStateException) OrigErr() error {
+ return nil
+}
+
+func (s *InvalidCampaignStateException) 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 *InvalidCampaignStateException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *InvalidCampaignStateException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// The request could not be processed because of conflict in the current state.
+type InvalidStateException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ Message_ *string `locationName:"message" type:"string"`
+
+ // A header that defines the error encountered while processing the request.
+ XAmzErrorType *string `location:"header" locationName:"x-amzn-ErrorType" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InvalidStateException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InvalidStateException) GoString() string {
+ return s.String()
+}
+
+func newErrorInvalidStateException(v protocol.ResponseMetadata) error {
+ return &InvalidStateException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *InvalidStateException) Code() string {
+ return "InvalidStateException"
+}
+
+// Message returns the exception's message.
+func (s *InvalidStateException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *InvalidStateException) OrigErr() error {
+ return nil
+}
+
+func (s *InvalidStateException) 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 *InvalidStateException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *InvalidStateException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// ListCampaignsRequest
+type ListCampaignsInput struct {
+ _ struct{} `type:"structure"`
+
+ // Filter model by type
+ Filters *CampaignFilters `locationName:"filters" type:"structure"`
+
+ // The maximum number of results to return per page.
+ MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
+
+ // The token for the next set of results.
+ NextToken *string `locationName:"nextToken" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListCampaignsInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListCampaignsInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListCampaignsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListCampaignsInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+ if s.Filters != nil {
+ if err := s.Filters.Validate(); err != nil {
+ invalidParams.AddNested("Filters", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetFilters sets the Filters field's value.
+func (s *ListCampaignsInput) SetFilters(v *CampaignFilters) *ListCampaignsInput {
+ s.Filters = v
+ return s
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListCampaignsInput) SetMaxResults(v int64) *ListCampaignsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListCampaignsInput) SetNextToken(v string) *ListCampaignsInput {
+ s.NextToken = &v
+ return s
+}
+
+// ListCampaignsResponse
+type ListCampaignsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // A list of Amazon Connect campaigns.
+ CampaignSummaryList []*CampaignSummary `locationName:"campaignSummaryList" type:"list"`
+
+ // The token for the next set of results.
+ NextToken *string `locationName:"nextToken" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListCampaignsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListCampaignsOutput) GoString() string {
+ return s.String()
+}
+
+// SetCampaignSummaryList sets the CampaignSummaryList field's value.
+func (s *ListCampaignsOutput) SetCampaignSummaryList(v []*CampaignSummary) *ListCampaignsOutput {
+ s.CampaignSummaryList = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListCampaignsOutput) SetNextToken(v string) *ListCampaignsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// ListTagsForResource
+type ListTagsForResourceInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // Arn
+ //
+ // Arn is a required field
+ Arn *string `location:"uri" locationName:"arn" min:"20" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListTagsForResourceInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+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.Arn == nil {
+ invalidParams.Add(request.NewErrParamRequired("Arn"))
+ }
+ if s.Arn != nil && len(*s.Arn) < 20 {
+ invalidParams.Add(request.NewErrParamMinLen("Arn", 20))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetArn sets the Arn field's value.
+func (s *ListTagsForResourceInput) SetArn(v string) *ListTagsForResourceInput {
+ s.Arn = &v
+ return s
+}
+
+// ListTagsForResponse
+type ListTagsForResourceOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Tag map with key and value.
+ Tags map[string]*string `locationName:"tags" type:"map"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListTagsForResourceOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+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
+}
+
+// The configuration used for outbound calls.
+type OutboundCallConfig struct {
+ _ struct{} `type:"structure"`
+
+ // Answering Machine Detection config
+ AnswerMachineDetectionConfig *AnswerMachineDetectionConfig `locationName:"answerMachineDetectionConfig" type:"structure"`
+
+ // The identifier of the contact flow for the outbound call.
+ //
+ // ConnectContactFlowId is a required field
+ ConnectContactFlowId *string `locationName:"connectContactFlowId" 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.
+ //
+ // ConnectQueueId is a required field
+ ConnectQueueId *string `locationName:"connectQueueId" type:"string" required:"true"`
+
+ // 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.
+ ConnectSourcePhoneNumber *string `locationName:"connectSourcePhoneNumber" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s OutboundCallConfig) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s OutboundCallConfig) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *OutboundCallConfig) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "OutboundCallConfig"}
+ if s.ConnectContactFlowId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ConnectContactFlowId"))
+ }
+ if s.ConnectQueueId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ConnectQueueId"))
+ }
+ if s.AnswerMachineDetectionConfig != nil {
+ if err := s.AnswerMachineDetectionConfig.Validate(); err != nil {
+ invalidParams.AddNested("AnswerMachineDetectionConfig", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAnswerMachineDetectionConfig sets the AnswerMachineDetectionConfig field's value.
+func (s *OutboundCallConfig) SetAnswerMachineDetectionConfig(v *AnswerMachineDetectionConfig) *OutboundCallConfig {
+ s.AnswerMachineDetectionConfig = v
+ return s
+}
+
+// SetConnectContactFlowId sets the ConnectContactFlowId field's value.
+func (s *OutboundCallConfig) SetConnectContactFlowId(v string) *OutboundCallConfig {
+ s.ConnectContactFlowId = &v
+ return s
+}
+
+// SetConnectQueueId sets the ConnectQueueId field's value.
+func (s *OutboundCallConfig) SetConnectQueueId(v string) *OutboundCallConfig {
+ s.ConnectQueueId = &v
+ return s
+}
+
+// SetConnectSourcePhoneNumber sets the ConnectSourcePhoneNumber field's value.
+func (s *OutboundCallConfig) SetConnectSourcePhoneNumber(v string) *OutboundCallConfig {
+ s.ConnectSourcePhoneNumber = &v
+ return s
+}
+
+// PauseCampaignRequest
+type PauseCampaignInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // Identifier representing a Campaign
+ //
+ // Id is a required field
+ Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PauseCampaignInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PauseCampaignInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *PauseCampaignInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "PauseCampaignInput"}
+ if s.Id == nil {
+ invalidParams.Add(request.NewErrParamRequired("Id"))
+ }
+ if s.Id != nil && len(*s.Id) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Id", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetId sets the Id field's value.
+func (s *PauseCampaignInput) SetId(v string) *PauseCampaignInput {
+ s.Id = &v
+ return s
+}
+
+type PauseCampaignOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PauseCampaignOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PauseCampaignOutput) GoString() string {
+ return s.String()
+}
+
+// Predictive Dialer config
+type PredictiveDialerConfig struct {
+ _ struct{} `type:"structure"`
+
+ // The bandwidth allocation of a queue resource.
+ //
+ // BandwidthAllocation is a required field
+ BandwidthAllocation *float64 `locationName:"bandwidthAllocation" type:"double" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PredictiveDialerConfig) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PredictiveDialerConfig) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *PredictiveDialerConfig) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "PredictiveDialerConfig"}
+ if s.BandwidthAllocation == nil {
+ invalidParams.Add(request.NewErrParamRequired("BandwidthAllocation"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetBandwidthAllocation sets the BandwidthAllocation field's value.
+func (s *PredictiveDialerConfig) SetBandwidthAllocation(v float64) *PredictiveDialerConfig {
+ s.BandwidthAllocation = &v
+ return s
+}
+
+// Progressive Dialer config
+type ProgressiveDialerConfig struct {
+ _ struct{} `type:"structure"`
+
+ // The bandwidth allocation of a queue resource.
+ //
+ // BandwidthAllocation is a required field
+ BandwidthAllocation *float64 `locationName:"bandwidthAllocation" type:"double" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ProgressiveDialerConfig) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ProgressiveDialerConfig) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ProgressiveDialerConfig) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ProgressiveDialerConfig"}
+ if s.BandwidthAllocation == nil {
+ invalidParams.Add(request.NewErrParamRequired("BandwidthAllocation"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetBandwidthAllocation sets the BandwidthAllocation field's value.
+func (s *ProgressiveDialerConfig) SetBandwidthAllocation(v float64) *ProgressiveDialerConfig {
+ s.BandwidthAllocation = &v
+ return s
+}
+
+// PutDialRequestBatchRequest
+type PutDialRequestBatchInput struct {
+ _ struct{} `type:"structure"`
+
+ // A list of dial requests.
+ //
+ // DialRequests is a required field
+ DialRequests []*DialRequest `locationName:"dialRequests" min:"1" type:"list" required:"true"`
+
+ // Identifier representing a Campaign
+ //
+ // Id is a required field
+ Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PutDialRequestBatchInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PutDialRequestBatchInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *PutDialRequestBatchInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "PutDialRequestBatchInput"}
+ if s.DialRequests == nil {
+ invalidParams.Add(request.NewErrParamRequired("DialRequests"))
+ }
+ if s.DialRequests != nil && len(s.DialRequests) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("DialRequests", 1))
+ }
+ if s.Id == nil {
+ invalidParams.Add(request.NewErrParamRequired("Id"))
+ }
+ if s.Id != nil && len(*s.Id) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Id", 1))
+ }
+ if s.DialRequests != nil {
+ for i, v := range s.DialRequests {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DialRequests", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDialRequests sets the DialRequests field's value.
+func (s *PutDialRequestBatchInput) SetDialRequests(v []*DialRequest) *PutDialRequestBatchInput {
+ s.DialRequests = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *PutDialRequestBatchInput) SetId(v string) *PutDialRequestBatchInput {
+ s.Id = &v
+ return s
+}
+
+// PutDialRequestBatchResponse
+type PutDialRequestBatchOutput struct {
+ _ struct{} `type:"structure"`
+
+ // A list of failed requests.
+ FailedRequests []*FailedRequest `locationName:"failedRequests" type:"list"`
+
+ // A list of successful requests identified by the unique client token.
+ SuccessfulRequests []*SuccessfulRequest `locationName:"successfulRequests" type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PutDialRequestBatchOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PutDialRequestBatchOutput) GoString() string {
+ return s.String()
+}
+
+// SetFailedRequests sets the FailedRequests field's value.
+func (s *PutDialRequestBatchOutput) SetFailedRequests(v []*FailedRequest) *PutDialRequestBatchOutput {
+ s.FailedRequests = v
+ return s
+}
+
+// SetSuccessfulRequests sets the SuccessfulRequests field's value.
+func (s *PutDialRequestBatchOutput) SetSuccessfulRequests(v []*SuccessfulRequest) *PutDialRequestBatchOutput {
+ s.SuccessfulRequests = v
+ return s
+}
+
+// The specified resource was not found.
+type ResourceNotFoundException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ Message_ *string `locationName:"message" type:"string"`
+
+ // A header that defines the error encountered while processing the request.
+ XAmzErrorType *string `location:"header" locationName:"x-amzn-ErrorType" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ResourceNotFoundException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+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\n%s", s.Code(), s.Message(), s.String())
+}
+
+// Status code returns the HTTP status code for the request's response error.
+func (s *ResourceNotFoundException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *ResourceNotFoundException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// ResumeCampaignRequest
+type ResumeCampaignInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // Identifier representing a Campaign
+ //
+ // Id is a required field
+ Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ResumeCampaignInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ResumeCampaignInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ResumeCampaignInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ResumeCampaignInput"}
+ if s.Id == nil {
+ invalidParams.Add(request.NewErrParamRequired("Id"))
+ }
+ if s.Id != nil && len(*s.Id) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Id", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetId sets the Id field's value.
+func (s *ResumeCampaignInput) SetId(v string) *ResumeCampaignInput {
+ s.Id = &v
+ return s
+}
+
+type ResumeCampaignOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ResumeCampaignOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ResumeCampaignOutput) GoString() string {
+ return s.String()
+}
+
+// Request would cause a service quota to be exceeded.
+type ServiceQuotaExceededException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ Message_ *string `locationName:"message" type:"string"`
+
+ // A header that defines the error encountered while processing the request.
+ XAmzErrorType *string `location:"header" locationName:"x-amzn-ErrorType" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ServiceQuotaExceededException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ServiceQuotaExceededException) GoString() string {
+ return s.String()
+}
+
+func newErrorServiceQuotaExceededException(v protocol.ResponseMetadata) error {
+ return &ServiceQuotaExceededException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *ServiceQuotaExceededException) Code() string {
+ return "ServiceQuotaExceededException"
+}
+
+// Message returns the exception's message.
+func (s *ServiceQuotaExceededException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ServiceQuotaExceededException) OrigErr() error {
+ return nil
+}
+
+func (s *ServiceQuotaExceededException) 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 *ServiceQuotaExceededException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *ServiceQuotaExceededException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// StartCampaignRequest
+type StartCampaignInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // Identifier representing a Campaign
+ //
+ // Id is a required field
+ Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StartCampaignInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StartCampaignInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *StartCampaignInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "StartCampaignInput"}
+ if s.Id == nil {
+ invalidParams.Add(request.NewErrParamRequired("Id"))
+ }
+ if s.Id != nil && len(*s.Id) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Id", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetId sets the Id field's value.
+func (s *StartCampaignInput) SetId(v string) *StartCampaignInput {
+ s.Id = &v
+ return s
+}
+
+type StartCampaignOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StartCampaignOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StartCampaignOutput) GoString() string {
+ return s.String()
+}
+
+// The request for StartInstanceOnboardingJob API.
+type StartInstanceOnboardingJobInput struct {
+ _ struct{} `type:"structure"`
+
+ // Amazon Connect Instance Id
+ //
+ // ConnectInstanceId is a required field
+ ConnectInstanceId *string `location:"uri" locationName:"connectInstanceId" type:"string" required:"true"`
+
+ // Encryption config for Connect Instance. Note that sensitive data will always
+ // be encrypted. If disabled, service will perform encryption with its own key.
+ // If enabled, a KMS key id needs to be provided and KMS charges will apply.
+ // KMS is only type supported
+ //
+ // EncryptionConfig is a required field
+ EncryptionConfig *EncryptionConfig `locationName:"encryptionConfig" type:"structure" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StartInstanceOnboardingJobInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StartInstanceOnboardingJobInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *StartInstanceOnboardingJobInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "StartInstanceOnboardingJobInput"}
+ if s.ConnectInstanceId == nil {
+ invalidParams.Add(request.NewErrParamRequired("ConnectInstanceId"))
+ }
+ if s.ConnectInstanceId != nil && len(*s.ConnectInstanceId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ConnectInstanceId", 1))
+ }
+ if s.EncryptionConfig == nil {
+ invalidParams.Add(request.NewErrParamRequired("EncryptionConfig"))
+ }
+ 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
+}
+
+// SetConnectInstanceId sets the ConnectInstanceId field's value.
+func (s *StartInstanceOnboardingJobInput) SetConnectInstanceId(v string) *StartInstanceOnboardingJobInput {
+ s.ConnectInstanceId = &v
+ return s
+}
+
+// SetEncryptionConfig sets the EncryptionConfig field's value.
+func (s *StartInstanceOnboardingJobInput) SetEncryptionConfig(v *EncryptionConfig) *StartInstanceOnboardingJobInput {
+ s.EncryptionConfig = v
+ return s
+}
+
+// The response for StartInstanceOnboardingJob API.
+type StartInstanceOnboardingJobOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Instance onboarding job status object
+ ConnectInstanceOnboardingJobStatus *InstanceOnboardingJobStatus `locationName:"connectInstanceOnboardingJobStatus" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StartInstanceOnboardingJobOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StartInstanceOnboardingJobOutput) GoString() string {
+ return s.String()
+}
+
+// SetConnectInstanceOnboardingJobStatus sets the ConnectInstanceOnboardingJobStatus field's value.
+func (s *StartInstanceOnboardingJobOutput) SetConnectInstanceOnboardingJobStatus(v *InstanceOnboardingJobStatus) *StartInstanceOnboardingJobOutput {
+ s.ConnectInstanceOnboardingJobStatus = v
+ return s
+}
+
+// StopCampaignRequest
+type StopCampaignInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // Identifier representing a Campaign
+ //
+ // Id is a required field
+ Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StopCampaignInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StopCampaignInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *StopCampaignInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "StopCampaignInput"}
+ if s.Id == nil {
+ invalidParams.Add(request.NewErrParamRequired("Id"))
+ }
+ if s.Id != nil && len(*s.Id) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Id", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetId sets the Id field's value.
+func (s *StopCampaignInput) SetId(v string) *StopCampaignInput {
+ s.Id = &v
+ return s
+}
+
+type StopCampaignOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StopCampaignOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s StopCampaignOutput) GoString() string {
+ return s.String()
+}
+
+// Successful response of campaign state
+type SuccessfulCampaignStateResponse struct {
+ _ struct{} `type:"structure"`
+
+ // Identifier representing a Campaign
+ CampaignId *string `locationName:"campaignId" type:"string"`
+
+ // State of a campaign
+ State *string `locationName:"state" type:"string" enum:"CampaignState"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SuccessfulCampaignStateResponse) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SuccessfulCampaignStateResponse) GoString() string {
+ return s.String()
+}
+
+// SetCampaignId sets the CampaignId field's value.
+func (s *SuccessfulCampaignStateResponse) SetCampaignId(v string) *SuccessfulCampaignStateResponse {
+ s.CampaignId = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *SuccessfulCampaignStateResponse) SetState(v string) *SuccessfulCampaignStateResponse {
+ s.State = &v
+ return s
+}
+
+// A successful request identified by the unique client token.
+type SuccessfulRequest struct {
+ _ struct{} `type:"structure"`
+
+ // Client provided parameter used for idempotency. Its value must be unique
+ // for each request.
+ ClientToken *string `locationName:"clientToken" type:"string"`
+
+ // Identifier representing a Dial request
+ Id *string `locationName:"id" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SuccessfulRequest) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s SuccessfulRequest) GoString() string {
+ return s.String()
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *SuccessfulRequest) SetClientToken(v string) *SuccessfulRequest {
+ s.ClientToken = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *SuccessfulRequest) SetId(v string) *SuccessfulRequest {
+ s.Id = &v
+ return s
+}
+
+// TagResourceRequest
+type TagResourceInput struct {
+ _ struct{} `type:"structure"`
+
+ // Arn
+ //
+ // Arn is a required field
+ Arn *string `location:"uri" locationName:"arn" min:"20" type:"string" required:"true"`
+
+ // Tag map with key and value.
+ //
+ // Tags is a required field
+ Tags map[string]*string `locationName:"tags" type:"map" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TagResourceInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TagResourceInput) 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.Arn == nil {
+ invalidParams.Add(request.NewErrParamRequired("Arn"))
+ }
+ if s.Arn != nil && len(*s.Arn) < 20 {
+ invalidParams.Add(request.NewErrParamMinLen("Arn", 20))
+ }
+ if s.Tags == nil {
+ invalidParams.Add(request.NewErrParamRequired("Tags"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetArn sets the Arn field's value.
+func (s *TagResourceInput) SetArn(v string) *TagResourceInput {
+ s.Arn = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput {
+ s.Tags = v
+ return s
+}
+
+type TagResourceOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TagResourceOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TagResourceOutput) GoString() string {
+ return s.String()
+}
+
+// The request was denied due to request throttling.
+type ThrottlingException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ Message_ *string `locationName:"message" type:"string"`
+
+ // A header that defines the error encountered while processing the request.
+ XAmzErrorType *string `location:"header" locationName:"x-amzn-ErrorType" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ThrottlingException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ThrottlingException) GoString() string {
+ return s.String()
+}
+
+func newErrorThrottlingException(v protocol.ResponseMetadata) error {
+ return &ThrottlingException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *ThrottlingException) Code() string {
+ return "ThrottlingException"
+}
+
+// Message returns the exception's message.
+func (s *ThrottlingException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ThrottlingException) OrigErr() error {
+ return nil
+}
+
+func (s *ThrottlingException) 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 *ThrottlingException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *ThrottlingException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// UntagResourceRequest
+type UntagResourceInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // Arn
+ //
+ // Arn is a required field
+ Arn *string `location:"uri" locationName:"arn" min:"20" type:"string" required:"true"`
+
+ // List of tag keys.
+ //
+ // TagKeys is a required field
+ TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UntagResourceInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UntagResourceInput) 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.Arn == nil {
+ invalidParams.Add(request.NewErrParamRequired("Arn"))
+ }
+ if s.Arn != nil && len(*s.Arn) < 20 {
+ invalidParams.Add(request.NewErrParamMinLen("Arn", 20))
+ }
+ if s.TagKeys == nil {
+ invalidParams.Add(request.NewErrParamRequired("TagKeys"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetArn sets the Arn field's value.
+func (s *UntagResourceInput) SetArn(v string) *UntagResourceInput {
+ s.Arn = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput {
+ s.TagKeys = v
+ return s
+}
+
+type UntagResourceOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UntagResourceOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UntagResourceOutput) GoString() string {
+ return s.String()
+}
+
+// UpdateCampaignDialerConfigRequest
+type UpdateCampaignDialerConfigInput struct {
+ _ struct{} `type:"structure"`
+
+ // The possible types of dialer config parameters
+ //
+ // DialerConfig is a required field
+ DialerConfig *DialerConfig `locationName:"dialerConfig" type:"structure" required:"true"`
+
+ // Identifier representing a Campaign
+ //
+ // Id is a required field
+ Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateCampaignDialerConfigInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateCampaignDialerConfigInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *UpdateCampaignDialerConfigInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UpdateCampaignDialerConfigInput"}
+ if s.DialerConfig == nil {
+ invalidParams.Add(request.NewErrParamRequired("DialerConfig"))
+ }
+ if s.Id == nil {
+ invalidParams.Add(request.NewErrParamRequired("Id"))
+ }
+ if s.Id != nil && len(*s.Id) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Id", 1))
+ }
+ if s.DialerConfig != nil {
+ if err := s.DialerConfig.Validate(); err != nil {
+ invalidParams.AddNested("DialerConfig", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDialerConfig sets the DialerConfig field's value.
+func (s *UpdateCampaignDialerConfigInput) SetDialerConfig(v *DialerConfig) *UpdateCampaignDialerConfigInput {
+ s.DialerConfig = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *UpdateCampaignDialerConfigInput) SetId(v string) *UpdateCampaignDialerConfigInput {
+ s.Id = &v
+ return s
+}
+
+type UpdateCampaignDialerConfigOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateCampaignDialerConfigOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateCampaignDialerConfigOutput) GoString() string {
+ return s.String()
+}
+
+// UpdateCampaignNameRequest
+type UpdateCampaignNameInput struct {
+ _ struct{} `type:"structure"`
+
+ // Identifier representing a Campaign
+ //
+ // Id is a required field
+ Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
+
+ // The name of an Amazon Connect Campaign name.
+ //
+ // Name is a required field
+ Name *string `locationName:"name" min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateCampaignNameInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateCampaignNameInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *UpdateCampaignNameInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UpdateCampaignNameInput"}
+ if s.Id == nil {
+ invalidParams.Add(request.NewErrParamRequired("Id"))
+ }
+ if s.Id != nil && len(*s.Id) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Id", 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 invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetId sets the Id field's value.
+func (s *UpdateCampaignNameInput) SetId(v string) *UpdateCampaignNameInput {
+ s.Id = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *UpdateCampaignNameInput) SetName(v string) *UpdateCampaignNameInput {
+ s.Name = &v
+ return s
+}
+
+type UpdateCampaignNameOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateCampaignNameOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateCampaignNameOutput) GoString() string {
+ return s.String()
+}
+
+// UpdateCampaignOutboundCallConfigRequest
+type UpdateCampaignOutboundCallConfigInput struct {
+ _ struct{} `type:"structure"`
+
+ // Answering Machine Detection config
+ AnswerMachineDetectionConfig *AnswerMachineDetectionConfig `locationName:"answerMachineDetectionConfig" type:"structure"`
+
+ // The identifier of the contact flow for the outbound call.
+ ConnectContactFlowId *string `locationName:"connectContactFlowId" 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.
+ ConnectSourcePhoneNumber *string `locationName:"connectSourcePhoneNumber" type:"string"`
+
+ // Identifier representing a Campaign
+ //
+ // Id is a required field
+ Id *string `location:"uri" locationName:"id" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateCampaignOutboundCallConfigInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateCampaignOutboundCallConfigInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *UpdateCampaignOutboundCallConfigInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UpdateCampaignOutboundCallConfigInput"}
+ if s.Id == nil {
+ invalidParams.Add(request.NewErrParamRequired("Id"))
+ }
+ if s.Id != nil && len(*s.Id) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Id", 1))
+ }
+ if s.AnswerMachineDetectionConfig != nil {
+ if err := s.AnswerMachineDetectionConfig.Validate(); err != nil {
+ invalidParams.AddNested("AnswerMachineDetectionConfig", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAnswerMachineDetectionConfig sets the AnswerMachineDetectionConfig field's value.
+func (s *UpdateCampaignOutboundCallConfigInput) SetAnswerMachineDetectionConfig(v *AnswerMachineDetectionConfig) *UpdateCampaignOutboundCallConfigInput {
+ s.AnswerMachineDetectionConfig = v
+ return s
+}
+
+// SetConnectContactFlowId sets the ConnectContactFlowId field's value.
+func (s *UpdateCampaignOutboundCallConfigInput) SetConnectContactFlowId(v string) *UpdateCampaignOutboundCallConfigInput {
+ s.ConnectContactFlowId = &v
+ return s
+}
+
+// SetConnectSourcePhoneNumber sets the ConnectSourcePhoneNumber field's value.
+func (s *UpdateCampaignOutboundCallConfigInput) SetConnectSourcePhoneNumber(v string) *UpdateCampaignOutboundCallConfigInput {
+ s.ConnectSourcePhoneNumber = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *UpdateCampaignOutboundCallConfigInput) SetId(v string) *UpdateCampaignOutboundCallConfigInput {
+ s.Id = &v
+ return s
+}
+
+type UpdateCampaignOutboundCallConfigOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateCampaignOutboundCallConfigOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateCampaignOutboundCallConfigOutput) GoString() string {
+ return s.String()
+}
+
+// The input fails to satisfy the constraints specified by an AWS service.
+type ValidationException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ Message_ *string `locationName:"message" type:"string"`
+
+ // A header that defines the error encountered while processing the request.
+ XAmzErrorType *string `location:"header" locationName:"x-amzn-ErrorType" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ValidationException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ValidationException) GoString() string {
+ return s.String()
+}
+
+func newErrorValidationException(v protocol.ResponseMetadata) error {
+ return &ValidationException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *ValidationException) Code() string {
+ return "ValidationException"
+}
+
+// Message returns the exception's message.
+func (s *ValidationException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ValidationException) OrigErr() error {
+ return nil
+}
+
+func (s *ValidationException) 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 *ValidationException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *ValidationException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// State of a campaign
+const (
+ // CampaignStateInitialized is a CampaignState enum value
+ CampaignStateInitialized = "Initialized"
+
+ // CampaignStateRunning is a CampaignState enum value
+ CampaignStateRunning = "Running"
+
+ // CampaignStatePaused is a CampaignState enum value
+ CampaignStatePaused = "Paused"
+
+ // CampaignStateStopped is a CampaignState enum value
+ CampaignStateStopped = "Stopped"
+
+ // CampaignStateFailed is a CampaignState enum value
+ CampaignStateFailed = "Failed"
+)
+
+// CampaignState_Values returns all elements of the CampaignState enum
+func CampaignState_Values() []string {
+ return []string{
+ CampaignStateInitialized,
+ CampaignStateRunning,
+ CampaignStatePaused,
+ CampaignStateStopped,
+ CampaignStateFailed,
+ }
+}
+
+// Server-side encryption type.
+const (
+ // EncryptionTypeKms is a EncryptionType enum value
+ EncryptionTypeKms = "KMS"
+)
+
+// EncryptionType_Values returns all elements of the EncryptionType enum
+func EncryptionType_Values() []string {
+ return []string{
+ EncryptionTypeKms,
+ }
+}
+
+// A predefined code indicating the error that caused the failure.
+const (
+ // FailureCodeInvalidInput is a FailureCode enum value
+ FailureCodeInvalidInput = "InvalidInput"
+
+ // FailureCodeRequestThrottled is a FailureCode enum value
+ FailureCodeRequestThrottled = "RequestThrottled"
+
+ // FailureCodeUnknownError is a FailureCode enum value
+ FailureCodeUnknownError = "UnknownError"
+)
+
+// FailureCode_Values returns all elements of the FailureCode enum
+func FailureCode_Values() []string {
+ return []string{
+ FailureCodeInvalidInput,
+ FailureCodeRequestThrottled,
+ FailureCodeUnknownError,
+ }
+}
+
+// A predefined code indicating the error that caused the failure in getting
+// state of campaigns
+const (
+ // GetCampaignStateBatchFailureCodeResourceNotFound is a GetCampaignStateBatchFailureCode enum value
+ GetCampaignStateBatchFailureCodeResourceNotFound = "ResourceNotFound"
+
+ // GetCampaignStateBatchFailureCodeUnknownError is a GetCampaignStateBatchFailureCode enum value
+ GetCampaignStateBatchFailureCodeUnknownError = "UnknownError"
+)
+
+// GetCampaignStateBatchFailureCode_Values returns all elements of the GetCampaignStateBatchFailureCode enum
+func GetCampaignStateBatchFailureCode_Values() []string {
+ return []string{
+ GetCampaignStateBatchFailureCodeResourceNotFound,
+ GetCampaignStateBatchFailureCodeUnknownError,
+ }
+}
+
+// Operators for Connect instance identifier filter
+const (
+ // InstanceIdFilterOperatorEq is a InstanceIdFilterOperator enum value
+ InstanceIdFilterOperatorEq = "Eq"
+)
+
+// InstanceIdFilterOperator_Values returns all elements of the InstanceIdFilterOperator enum
+func InstanceIdFilterOperator_Values() []string {
+ return []string{
+ InstanceIdFilterOperatorEq,
+ }
+}
+
+// Enumeration of the possible failure codes for instance onboarding job
+const (
+ // InstanceOnboardingJobFailureCodeEventBridgeAccessDenied is a InstanceOnboardingJobFailureCode enum value
+ InstanceOnboardingJobFailureCodeEventBridgeAccessDenied = "EVENT_BRIDGE_ACCESS_DENIED"
+
+ // InstanceOnboardingJobFailureCodeEventBridgeManagedRuleLimitExceeded is a InstanceOnboardingJobFailureCode enum value
+ InstanceOnboardingJobFailureCodeEventBridgeManagedRuleLimitExceeded = "EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED"
+
+ // InstanceOnboardingJobFailureCodeIamAccessDenied is a InstanceOnboardingJobFailureCode enum value
+ InstanceOnboardingJobFailureCodeIamAccessDenied = "IAM_ACCESS_DENIED"
+
+ // InstanceOnboardingJobFailureCodeKmsAccessDenied is a InstanceOnboardingJobFailureCode enum value
+ InstanceOnboardingJobFailureCodeKmsAccessDenied = "KMS_ACCESS_DENIED"
+
+ // InstanceOnboardingJobFailureCodeKmsKeyNotFound is a InstanceOnboardingJobFailureCode enum value
+ InstanceOnboardingJobFailureCodeKmsKeyNotFound = "KMS_KEY_NOT_FOUND"
+
+ // InstanceOnboardingJobFailureCodeInternalFailure is a InstanceOnboardingJobFailureCode enum value
+ InstanceOnboardingJobFailureCodeInternalFailure = "INTERNAL_FAILURE"
+)
+
+// InstanceOnboardingJobFailureCode_Values returns all elements of the InstanceOnboardingJobFailureCode enum
+func InstanceOnboardingJobFailureCode_Values() []string {
+ return []string{
+ InstanceOnboardingJobFailureCodeEventBridgeAccessDenied,
+ InstanceOnboardingJobFailureCodeEventBridgeManagedRuleLimitExceeded,
+ InstanceOnboardingJobFailureCodeIamAccessDenied,
+ InstanceOnboardingJobFailureCodeKmsAccessDenied,
+ InstanceOnboardingJobFailureCodeKmsKeyNotFound,
+ InstanceOnboardingJobFailureCodeInternalFailure,
+ }
+}
+
+// Enumeration of the possible states for instance onboarding job
+const (
+ // InstanceOnboardingJobStatusCodeInProgress is a InstanceOnboardingJobStatusCode enum value
+ InstanceOnboardingJobStatusCodeInProgress = "IN_PROGRESS"
+
+ // InstanceOnboardingJobStatusCodeSucceeded is a InstanceOnboardingJobStatusCode enum value
+ InstanceOnboardingJobStatusCodeSucceeded = "SUCCEEDED"
+
+ // InstanceOnboardingJobStatusCodeFailed is a InstanceOnboardingJobStatusCode enum value
+ InstanceOnboardingJobStatusCodeFailed = "FAILED"
+)
+
+// InstanceOnboardingJobStatusCode_Values returns all elements of the InstanceOnboardingJobStatusCode enum
+func InstanceOnboardingJobStatusCode_Values() []string {
+ return []string{
+ InstanceOnboardingJobStatusCodeInProgress,
+ InstanceOnboardingJobStatusCodeSucceeded,
+ InstanceOnboardingJobStatusCodeFailed,
+ }
+}
diff --git a/service/connectcampaigns/connectcampaignsiface/interface.go b/service/connectcampaigns/connectcampaignsiface/interface.go
new file mode 100644
index 0000000000..2ea090b275
--- /dev/null
+++ b/service/connectcampaigns/connectcampaignsiface/interface.go
@@ -0,0 +1,155 @@
+// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
+
+// Package connectcampaignsiface provides an interface to enable mocking the AmazonConnectCampaignService service client
+// for testing your code.
+//
+// It is important to note that this interface will have breaking changes
+// when the service model is updated and adds new API operations, paginators,
+// and waiters.
+package connectcampaignsiface
+
+import (
+ "github.com/aws/aws-sdk-go/aws"
+ "github.com/aws/aws-sdk-go/aws/request"
+ "github.com/aws/aws-sdk-go/service/connectcampaigns"
+)
+
+// ConnectCampaignsAPI provides an interface to enable mocking the
+// connectcampaigns.ConnectCampaigns service client's API operation,
+// paginators, and waiters. This make unit testing your code that calls out
+// to the SDK's service client's calls easier.
+//
+// The best way to use this interface is so the SDK's service client's calls
+// can be stubbed out for unit testing your code with the SDK without needing
+// to inject custom request handlers into the SDK's request pipeline.
+//
+// // myFunc uses an SDK service client to make a request to
+// // AmazonConnectCampaignService.
+// func myFunc(svc connectcampaignsiface.ConnectCampaignsAPI) bool {
+// // Make svc.CreateCampaign request
+// }
+//
+// func main() {
+// sess := session.New()
+// svc := connectcampaigns.New(sess)
+//
+// myFunc(svc)
+// }
+//
+// In your _test.go file:
+//
+// // Define a mock struct to be used in your unit tests of myFunc.
+// type mockConnectCampaignsClient struct {
+// connectcampaignsiface.ConnectCampaignsAPI
+// }
+// func (m *mockConnectCampaignsClient) CreateCampaign(input *connectcampaigns.CreateCampaignInput) (*connectcampaigns.CreateCampaignOutput, error) {
+// // mock response/functionality
+// }
+//
+// func TestMyFunc(t *testing.T) {
+// // Setup Test
+// mockSvc := &mockConnectCampaignsClient{}
+//
+// myfunc(mockSvc)
+//
+// // Verify myFunc's functionality
+// }
+//
+// It is important to note that this interface will have breaking changes
+// when the service model is updated and adds new API operations, paginators,
+// and waiters. Its suggested to use the pattern above for testing, or using
+// tooling to generate mocks to satisfy the interfaces.
+type ConnectCampaignsAPI interface {
+ CreateCampaign(*connectcampaigns.CreateCampaignInput) (*connectcampaigns.CreateCampaignOutput, error)
+ CreateCampaignWithContext(aws.Context, *connectcampaigns.CreateCampaignInput, ...request.Option) (*connectcampaigns.CreateCampaignOutput, error)
+ CreateCampaignRequest(*connectcampaigns.CreateCampaignInput) (*request.Request, *connectcampaigns.CreateCampaignOutput)
+
+ DeleteCampaign(*connectcampaigns.DeleteCampaignInput) (*connectcampaigns.DeleteCampaignOutput, error)
+ DeleteCampaignWithContext(aws.Context, *connectcampaigns.DeleteCampaignInput, ...request.Option) (*connectcampaigns.DeleteCampaignOutput, error)
+ DeleteCampaignRequest(*connectcampaigns.DeleteCampaignInput) (*request.Request, *connectcampaigns.DeleteCampaignOutput)
+
+ DeleteConnectInstanceConfig(*connectcampaigns.DeleteConnectInstanceConfigInput) (*connectcampaigns.DeleteConnectInstanceConfigOutput, error)
+ DeleteConnectInstanceConfigWithContext(aws.Context, *connectcampaigns.DeleteConnectInstanceConfigInput, ...request.Option) (*connectcampaigns.DeleteConnectInstanceConfigOutput, error)
+ DeleteConnectInstanceConfigRequest(*connectcampaigns.DeleteConnectInstanceConfigInput) (*request.Request, *connectcampaigns.DeleteConnectInstanceConfigOutput)
+
+ DeleteInstanceOnboardingJob(*connectcampaigns.DeleteInstanceOnboardingJobInput) (*connectcampaigns.DeleteInstanceOnboardingJobOutput, error)
+ DeleteInstanceOnboardingJobWithContext(aws.Context, *connectcampaigns.DeleteInstanceOnboardingJobInput, ...request.Option) (*connectcampaigns.DeleteInstanceOnboardingJobOutput, error)
+ DeleteInstanceOnboardingJobRequest(*connectcampaigns.DeleteInstanceOnboardingJobInput) (*request.Request, *connectcampaigns.DeleteInstanceOnboardingJobOutput)
+
+ DescribeCampaign(*connectcampaigns.DescribeCampaignInput) (*connectcampaigns.DescribeCampaignOutput, error)
+ DescribeCampaignWithContext(aws.Context, *connectcampaigns.DescribeCampaignInput, ...request.Option) (*connectcampaigns.DescribeCampaignOutput, error)
+ DescribeCampaignRequest(*connectcampaigns.DescribeCampaignInput) (*request.Request, *connectcampaigns.DescribeCampaignOutput)
+
+ GetCampaignState(*connectcampaigns.GetCampaignStateInput) (*connectcampaigns.GetCampaignStateOutput, error)
+ GetCampaignStateWithContext(aws.Context, *connectcampaigns.GetCampaignStateInput, ...request.Option) (*connectcampaigns.GetCampaignStateOutput, error)
+ GetCampaignStateRequest(*connectcampaigns.GetCampaignStateInput) (*request.Request, *connectcampaigns.GetCampaignStateOutput)
+
+ GetCampaignStateBatch(*connectcampaigns.GetCampaignStateBatchInput) (*connectcampaigns.GetCampaignStateBatchOutput, error)
+ GetCampaignStateBatchWithContext(aws.Context, *connectcampaigns.GetCampaignStateBatchInput, ...request.Option) (*connectcampaigns.GetCampaignStateBatchOutput, error)
+ GetCampaignStateBatchRequest(*connectcampaigns.GetCampaignStateBatchInput) (*request.Request, *connectcampaigns.GetCampaignStateBatchOutput)
+
+ GetConnectInstanceConfig(*connectcampaigns.GetConnectInstanceConfigInput) (*connectcampaigns.GetConnectInstanceConfigOutput, error)
+ GetConnectInstanceConfigWithContext(aws.Context, *connectcampaigns.GetConnectInstanceConfigInput, ...request.Option) (*connectcampaigns.GetConnectInstanceConfigOutput, error)
+ GetConnectInstanceConfigRequest(*connectcampaigns.GetConnectInstanceConfigInput) (*request.Request, *connectcampaigns.GetConnectInstanceConfigOutput)
+
+ GetInstanceOnboardingJobStatus(*connectcampaigns.GetInstanceOnboardingJobStatusInput) (*connectcampaigns.GetInstanceOnboardingJobStatusOutput, error)
+ GetInstanceOnboardingJobStatusWithContext(aws.Context, *connectcampaigns.GetInstanceOnboardingJobStatusInput, ...request.Option) (*connectcampaigns.GetInstanceOnboardingJobStatusOutput, error)
+ GetInstanceOnboardingJobStatusRequest(*connectcampaigns.GetInstanceOnboardingJobStatusInput) (*request.Request, *connectcampaigns.GetInstanceOnboardingJobStatusOutput)
+
+ ListCampaigns(*connectcampaigns.ListCampaignsInput) (*connectcampaigns.ListCampaignsOutput, error)
+ ListCampaignsWithContext(aws.Context, *connectcampaigns.ListCampaignsInput, ...request.Option) (*connectcampaigns.ListCampaignsOutput, error)
+ ListCampaignsRequest(*connectcampaigns.ListCampaignsInput) (*request.Request, *connectcampaigns.ListCampaignsOutput)
+
+ ListCampaignsPages(*connectcampaigns.ListCampaignsInput, func(*connectcampaigns.ListCampaignsOutput, bool) bool) error
+ ListCampaignsPagesWithContext(aws.Context, *connectcampaigns.ListCampaignsInput, func(*connectcampaigns.ListCampaignsOutput, bool) bool, ...request.Option) error
+
+ ListTagsForResource(*connectcampaigns.ListTagsForResourceInput) (*connectcampaigns.ListTagsForResourceOutput, error)
+ ListTagsForResourceWithContext(aws.Context, *connectcampaigns.ListTagsForResourceInput, ...request.Option) (*connectcampaigns.ListTagsForResourceOutput, error)
+ ListTagsForResourceRequest(*connectcampaigns.ListTagsForResourceInput) (*request.Request, *connectcampaigns.ListTagsForResourceOutput)
+
+ PauseCampaign(*connectcampaigns.PauseCampaignInput) (*connectcampaigns.PauseCampaignOutput, error)
+ PauseCampaignWithContext(aws.Context, *connectcampaigns.PauseCampaignInput, ...request.Option) (*connectcampaigns.PauseCampaignOutput, error)
+ PauseCampaignRequest(*connectcampaigns.PauseCampaignInput) (*request.Request, *connectcampaigns.PauseCampaignOutput)
+
+ PutDialRequestBatch(*connectcampaigns.PutDialRequestBatchInput) (*connectcampaigns.PutDialRequestBatchOutput, error)
+ PutDialRequestBatchWithContext(aws.Context, *connectcampaigns.PutDialRequestBatchInput, ...request.Option) (*connectcampaigns.PutDialRequestBatchOutput, error)
+ PutDialRequestBatchRequest(*connectcampaigns.PutDialRequestBatchInput) (*request.Request, *connectcampaigns.PutDialRequestBatchOutput)
+
+ ResumeCampaign(*connectcampaigns.ResumeCampaignInput) (*connectcampaigns.ResumeCampaignOutput, error)
+ ResumeCampaignWithContext(aws.Context, *connectcampaigns.ResumeCampaignInput, ...request.Option) (*connectcampaigns.ResumeCampaignOutput, error)
+ ResumeCampaignRequest(*connectcampaigns.ResumeCampaignInput) (*request.Request, *connectcampaigns.ResumeCampaignOutput)
+
+ StartCampaign(*connectcampaigns.StartCampaignInput) (*connectcampaigns.StartCampaignOutput, error)
+ StartCampaignWithContext(aws.Context, *connectcampaigns.StartCampaignInput, ...request.Option) (*connectcampaigns.StartCampaignOutput, error)
+ StartCampaignRequest(*connectcampaigns.StartCampaignInput) (*request.Request, *connectcampaigns.StartCampaignOutput)
+
+ StartInstanceOnboardingJob(*connectcampaigns.StartInstanceOnboardingJobInput) (*connectcampaigns.StartInstanceOnboardingJobOutput, error)
+ StartInstanceOnboardingJobWithContext(aws.Context, *connectcampaigns.StartInstanceOnboardingJobInput, ...request.Option) (*connectcampaigns.StartInstanceOnboardingJobOutput, error)
+ StartInstanceOnboardingJobRequest(*connectcampaigns.StartInstanceOnboardingJobInput) (*request.Request, *connectcampaigns.StartInstanceOnboardingJobOutput)
+
+ StopCampaign(*connectcampaigns.StopCampaignInput) (*connectcampaigns.StopCampaignOutput, error)
+ StopCampaignWithContext(aws.Context, *connectcampaigns.StopCampaignInput, ...request.Option) (*connectcampaigns.StopCampaignOutput, error)
+ StopCampaignRequest(*connectcampaigns.StopCampaignInput) (*request.Request, *connectcampaigns.StopCampaignOutput)
+
+ TagResource(*connectcampaigns.TagResourceInput) (*connectcampaigns.TagResourceOutput, error)
+ TagResourceWithContext(aws.Context, *connectcampaigns.TagResourceInput, ...request.Option) (*connectcampaigns.TagResourceOutput, error)
+ TagResourceRequest(*connectcampaigns.TagResourceInput) (*request.Request, *connectcampaigns.TagResourceOutput)
+
+ UntagResource(*connectcampaigns.UntagResourceInput) (*connectcampaigns.UntagResourceOutput, error)
+ UntagResourceWithContext(aws.Context, *connectcampaigns.UntagResourceInput, ...request.Option) (*connectcampaigns.UntagResourceOutput, error)
+ UntagResourceRequest(*connectcampaigns.UntagResourceInput) (*request.Request, *connectcampaigns.UntagResourceOutput)
+
+ UpdateCampaignDialerConfig(*connectcampaigns.UpdateCampaignDialerConfigInput) (*connectcampaigns.UpdateCampaignDialerConfigOutput, error)
+ UpdateCampaignDialerConfigWithContext(aws.Context, *connectcampaigns.UpdateCampaignDialerConfigInput, ...request.Option) (*connectcampaigns.UpdateCampaignDialerConfigOutput, error)
+ UpdateCampaignDialerConfigRequest(*connectcampaigns.UpdateCampaignDialerConfigInput) (*request.Request, *connectcampaigns.UpdateCampaignDialerConfigOutput)
+
+ UpdateCampaignName(*connectcampaigns.UpdateCampaignNameInput) (*connectcampaigns.UpdateCampaignNameOutput, error)
+ UpdateCampaignNameWithContext(aws.Context, *connectcampaigns.UpdateCampaignNameInput, ...request.Option) (*connectcampaigns.UpdateCampaignNameOutput, error)
+ UpdateCampaignNameRequest(*connectcampaigns.UpdateCampaignNameInput) (*request.Request, *connectcampaigns.UpdateCampaignNameOutput)
+
+ UpdateCampaignOutboundCallConfig(*connectcampaigns.UpdateCampaignOutboundCallConfigInput) (*connectcampaigns.UpdateCampaignOutboundCallConfigOutput, error)
+ UpdateCampaignOutboundCallConfigWithContext(aws.Context, *connectcampaigns.UpdateCampaignOutboundCallConfigInput, ...request.Option) (*connectcampaigns.UpdateCampaignOutboundCallConfigOutput, error)
+ UpdateCampaignOutboundCallConfigRequest(*connectcampaigns.UpdateCampaignOutboundCallConfigInput) (*request.Request, *connectcampaigns.UpdateCampaignOutboundCallConfigOutput)
+}
+
+var _ ConnectCampaignsAPI = (*connectcampaigns.ConnectCampaigns)(nil)
diff --git a/service/connectcampaigns/doc.go b/service/connectcampaigns/doc.go
new file mode 100644
index 0000000000..9dcdb9ef6d
--- /dev/null
+++ b/service/connectcampaigns/doc.go
@@ -0,0 +1,28 @@
+// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
+
+// Package connectcampaigns provides the client and types for making API
+// requests to AmazonConnectCampaignService.
+//
+// Provide APIs to create and manage Amazon Connect Campaigns.
+//
+// See https://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30 for more information on this service.
+//
+// See connectcampaigns package documentation for more information.
+// https://docs.aws.amazon.com/sdk-for-go/api/service/connectcampaigns/
+//
+// Using the Client
+//
+// To contact AmazonConnectCampaignService with the SDK use the New function to create
+// a new service client. With that client you can make API requests to the service.
+// These clients are safe to use concurrently.
+//
+// See the SDK's documentation for more information on how to use the SDK.
+// https://docs.aws.amazon.com/sdk-for-go/api/
+//
+// See aws.Config documentation for more information on configuring SDK clients.
+// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
+//
+// See the AmazonConnectCampaignService client ConnectCampaigns for more
+// information on creating client for this service.
+// https://docs.aws.amazon.com/sdk-for-go/api/service/connectcampaigns/#New
+package connectcampaigns
diff --git a/service/connectcampaigns/errors.go b/service/connectcampaigns/errors.go
new file mode 100644
index 0000000000..b73edf7136
--- /dev/null
+++ b/service/connectcampaigns/errors.go
@@ -0,0 +1,78 @@
+// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
+
+package connectcampaigns
+
+import (
+ "github.com/aws/aws-sdk-go/private/protocol"
+)
+
+const (
+
+ // ErrCodeAccessDeniedException for service response error code
+ // "AccessDeniedException".
+ //
+ // You do not have sufficient access to perform this action.
+ ErrCodeAccessDeniedException = "AccessDeniedException"
+
+ // ErrCodeConflictException for service response error code
+ // "ConflictException".
+ //
+ // The request could not be processed because of conflict in the current state
+ // of the resource.
+ ErrCodeConflictException = "ConflictException"
+
+ // ErrCodeInternalServerException for service response error code
+ // "InternalServerException".
+ //
+ // Request processing failed because of an error or failure with the service.
+ ErrCodeInternalServerException = "InternalServerException"
+
+ // ErrCodeInvalidCampaignStateException for service response error code
+ // "InvalidCampaignStateException".
+ //
+ // The request could not be processed because of conflict in the current state
+ // of the campaign.
+ ErrCodeInvalidCampaignStateException = "InvalidCampaignStateException"
+
+ // ErrCodeInvalidStateException for service response error code
+ // "InvalidStateException".
+ //
+ // The request could not be processed because of conflict in the current state.
+ ErrCodeInvalidStateException = "InvalidStateException"
+
+ // ErrCodeResourceNotFoundException for service response error code
+ // "ResourceNotFoundException".
+ //
+ // The specified resource was not found.
+ ErrCodeResourceNotFoundException = "ResourceNotFoundException"
+
+ // ErrCodeServiceQuotaExceededException for service response error code
+ // "ServiceQuotaExceededException".
+ //
+ // Request would cause a service quota to be exceeded.
+ ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"
+
+ // ErrCodeThrottlingException for service response error code
+ // "ThrottlingException".
+ //
+ // The request was denied due to request throttling.
+ ErrCodeThrottlingException = "ThrottlingException"
+
+ // ErrCodeValidationException for service response error code
+ // "ValidationException".
+ //
+ // The input fails to satisfy the constraints specified by an AWS service.
+ ErrCodeValidationException = "ValidationException"
+)
+
+var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
+ "AccessDeniedException": newErrorAccessDeniedException,
+ "ConflictException": newErrorConflictException,
+ "InternalServerException": newErrorInternalServerException,
+ "InvalidCampaignStateException": newErrorInvalidCampaignStateException,
+ "InvalidStateException": newErrorInvalidStateException,
+ "ResourceNotFoundException": newErrorResourceNotFoundException,
+ "ServiceQuotaExceededException": newErrorServiceQuotaExceededException,
+ "ThrottlingException": newErrorThrottlingException,
+ "ValidationException": newErrorValidationException,
+}
diff --git a/service/connectcampaigns/service.go b/service/connectcampaigns/service.go
new file mode 100644
index 0000000000..b17cbe7607
--- /dev/null
+++ b/service/connectcampaigns/service.go
@@ -0,0 +1,105 @@
+// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
+
+package connectcampaigns
+
+import (
+ "github.com/aws/aws-sdk-go/aws"
+ "github.com/aws/aws-sdk-go/aws/client"
+ "github.com/aws/aws-sdk-go/aws/client/metadata"
+ "github.com/aws/aws-sdk-go/aws/request"
+ "github.com/aws/aws-sdk-go/aws/signer/v4"
+ "github.com/aws/aws-sdk-go/private/protocol"
+ "github.com/aws/aws-sdk-go/private/protocol/restjson"
+)
+
+// ConnectCampaigns provides the API operation methods for making requests to
+// AmazonConnectCampaignService. See this package's package overview docs
+// for details on the service.
+//
+// ConnectCampaigns methods are safe to use concurrently. It is not safe to
+// modify mutate any of the struct's properties though.
+type ConnectCampaigns struct {
+ *client.Client
+}
+
+// Used for custom client initialization logic
+var initClient func(*client.Client)
+
+// Used for custom request initialization logic
+var initRequest func(*request.Request)
+
+// Service information constants
+const (
+ ServiceName = "ConnectCampaigns" // Name of service.
+ EndpointsID = "connect-campaigns" // ID to lookup a service endpoint with.
+ ServiceID = "ConnectCampaigns" // ServiceID is a unique identifier of a specific service.
+)
+
+// New creates a new instance of the ConnectCampaigns client with a session.
+// If additional configuration is needed for the client instance use the optional
+// aws.Config parameter to add your extra config.
+//
+// Example:
+// mySession := session.Must(session.NewSession())
+//
+// // Create a ConnectCampaigns client from just a session.
+// svc := connectcampaigns.New(mySession)
+//
+// // Create a ConnectCampaigns client with additional configuration
+// svc := connectcampaigns.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
+func New(p client.ConfigProvider, cfgs ...*aws.Config) *ConnectCampaigns {
+ c := p.ClientConfig(EndpointsID, cfgs...)
+ if c.SigningNameDerived || len(c.SigningName) == 0 {
+ c.SigningName = "connect-campaigns"
+ }
+ return newClient(*c.Config, c.Handlers, c.PartitionID, c.Endpoint, c.SigningRegion, c.SigningName, c.ResolvedRegion)
+}
+
+// newClient creates, initializes and returns a new service client instance.
+func newClient(cfg aws.Config, handlers request.Handlers, partitionID, endpoint, signingRegion, signingName, resolvedRegion string) *ConnectCampaigns {
+ svc := &ConnectCampaigns{
+ Client: client.New(
+ cfg,
+ metadata.ClientInfo{
+ ServiceName: ServiceName,
+ ServiceID: ServiceID,
+ SigningName: signingName,
+ SigningRegion: signingRegion,
+ PartitionID: partitionID,
+ Endpoint: endpoint,
+ APIVersion: "2021-01-30",
+ ResolvedRegion: resolvedRegion,
+ },
+ handlers,
+ ),
+ }
+
+ // Handlers
+ svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler)
+ svc.Handlers.Build.PushBackNamed(restjson.BuildHandler)
+ svc.Handlers.Unmarshal.PushBackNamed(restjson.UnmarshalHandler)
+ svc.Handlers.UnmarshalMeta.PushBackNamed(restjson.UnmarshalMetaHandler)
+ svc.Handlers.UnmarshalError.PushBackNamed(
+ protocol.NewUnmarshalErrorHandler(restjson.NewUnmarshalTypedError(exceptionFromCode)).NamedHandler(),
+ )
+
+ // Run custom client initialization if present
+ if initClient != nil {
+ initClient(svc.Client)
+ }
+
+ return svc
+}
+
+// newRequest creates a new request for a ConnectCampaigns operation and runs any
+// custom request initialization.
+func (c *ConnectCampaigns) newRequest(op *request.Operation, params, data interface{}) *request.Request {
+ req := c.NewRequest(op, params, data)
+
+ // Run custom request initialization if present
+ if initRequest != nil {
+ initRequest(req)
+ }
+
+ return req
+}
diff --git a/service/dynamodb/api.go b/service/dynamodb/api.go
index 41051ed43f..ee5358cd6e 100644
--- a/service/dynamodb/api.go
+++ b/service/dynamodb/api.go
@@ -61,11 +61,18 @@ func (c *DynamoDB) BatchExecuteStatementRequest(input *BatchExecuteStatementInpu
// BatchExecuteStatement API operation for Amazon DynamoDB.
//
// This operation allows you to perform batch reads or writes on data stored
-// in DynamoDB, using PartiQL.
+// in DynamoDB, using PartiQL. Each read statement in a BatchExecuteStatement
+// must specify an equality condition on all key attributes. This enforces that
+// each SELECT statement in a batch returns at most a single item.
//
// The entire batch must consist of either read statements or write statements,
// you cannot mix both in one batch.
//
+// A HTTP 200 response does not mean that all statements in the BatchExecuteStatement
+// succeeded. Error details for individual statements can be found under the
+// Error (https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BatchStatementResponse.html#DDB-Type-BatchStatementResponse-Error)
+// field of the BatchStatementResponse for each statement.
+//
// 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.
@@ -637,7 +644,8 @@ func (c *DynamoDB) CreateBackupRequest(input *CreateBackupInput) (req *request.R
// Returned Error Types:
// * TableNotFoundException
// A source table with the name TableName does not currently exist within the
-// subscriber's account.
+// subscriber's account or the subscriber is operating in the wrong Amazon Web
+// Services Region.
//
// * TableInUseException
// A target table with the specified name is either being created or deleted.
@@ -652,16 +660,16 @@ func (c *DynamoDB) CreateBackupRequest(input *CreateBackupInput) (req *request.R
// * LimitExceededException
// There is no limit to the number of daily on-demand backups that can be taken.
//
-// Up to 50 simultaneous table operations are allowed per account. These operations
+// Up to 500 simultaneous table operations are allowed per account. These operations
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
// and RestoreTableToPointInTime.
//
// The only exception is when you are creating a table with one or more secondary
-// indexes. You can have up to 25 such requests running at a time; however,
+// indexes. You can have up to 250 such requests running at a time; however,
// if the table or index specifications are complex, DynamoDB might temporarily
// reduce the number of concurrent operations.
//
-// There is a soft account quota of 256 tables.
+// There is a soft account quota of 2,500 tables.
//
// * InternalServerError
// An error occurred on the server side.
@@ -813,16 +821,16 @@ func (c *DynamoDB) CreateGlobalTableRequest(input *CreateGlobalTableInput) (req
// * LimitExceededException
// There is no limit to the number of daily on-demand backups that can be taken.
//
-// Up to 50 simultaneous table operations are allowed per account. These operations
+// Up to 500 simultaneous table operations are allowed per account. These operations
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
// and RestoreTableToPointInTime.
//
// The only exception is when you are creating a table with one or more secondary
-// indexes. You can have up to 25 such requests running at a time; however,
+// indexes. You can have up to 250 such requests running at a time; however,
// if the table or index specifications are complex, DynamoDB might temporarily
// reduce the number of concurrent operations.
//
-// There is a soft account quota of 256 tables.
+// There is a soft account quota of 2,500 tables.
//
// * InternalServerError
// An error occurred on the server side.
@@ -832,7 +840,8 @@ func (c *DynamoDB) CreateGlobalTableRequest(input *CreateGlobalTableInput) (req
//
// * TableNotFoundException
// A source table with the name TableName does not currently exist within the
-// subscriber's account.
+// subscriber's account or the subscriber is operating in the wrong Amazon Web
+// Services Region.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateGlobalTable
func (c *DynamoDB) CreateGlobalTable(input *CreateGlobalTableInput) (*CreateGlobalTableOutput, error) {
@@ -958,16 +967,16 @@ func (c *DynamoDB) CreateTableRequest(input *CreateTableInput) (req *request.Req
// * LimitExceededException
// There is no limit to the number of daily on-demand backups that can be taken.
//
-// Up to 50 simultaneous table operations are allowed per account. These operations
+// Up to 500 simultaneous table operations are allowed per account. These operations
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
// and RestoreTableToPointInTime.
//
// The only exception is when you are creating a table with one or more secondary
-// indexes. You can have up to 25 such requests running at a time; however,
+// indexes. You can have up to 250 such requests running at a time; however,
// if the table or index specifications are complex, DynamoDB might temporarily
// reduce the number of concurrent operations.
//
-// There is a soft account quota of 256 tables.
+// There is a soft account quota of 2,500 tables.
//
// * InternalServerError
// An error occurred on the server side.
@@ -1085,16 +1094,16 @@ func (c *DynamoDB) DeleteBackupRequest(input *DeleteBackupInput) (req *request.R
// * LimitExceededException
// There is no limit to the number of daily on-demand backups that can be taken.
//
-// Up to 50 simultaneous table operations are allowed per account. These operations
+// Up to 500 simultaneous table operations are allowed per account. These operations
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
// and RestoreTableToPointInTime.
//
// The only exception is when you are creating a table with one or more secondary
-// indexes. You can have up to 25 such requests running at a time; however,
+// indexes. You can have up to 250 such requests running at a time; however,
// if the table or index specifications are complex, DynamoDB might temporarily
// reduce the number of concurrent operations.
//
-// There is a soft account quota of 256 tables.
+// There is a soft account quota of 2,500 tables.
//
// * InternalServerError
// An error occurred on the server side.
@@ -1373,16 +1382,16 @@ func (c *DynamoDB) DeleteTableRequest(input *DeleteTableInput) (req *request.Req
// * LimitExceededException
// There is no limit to the number of daily on-demand backups that can be taken.
//
-// Up to 50 simultaneous table operations are allowed per account. These operations
+// Up to 500 simultaneous table operations are allowed per account. These operations
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
// and RestoreTableToPointInTime.
//
// The only exception is when you are creating a table with one or more secondary
-// indexes. You can have up to 25 such requests running at a time; however,
+// indexes. You can have up to 250 such requests running at a time; however,
// if the table or index specifications are complex, DynamoDB might temporarily
// reduce the number of concurrent operations.
//
-// There is a soft account quota of 256 tables.
+// There is a soft account quota of 2,500 tables.
//
// * InternalServerError
// An error occurred on the server side.
@@ -1611,7 +1620,8 @@ func (c *DynamoDB) DescribeContinuousBackupsRequest(input *DescribeContinuousBac
// Returned Error Types:
// * TableNotFoundException
// A source table with the name TableName does not currently exist within the
-// subscriber's account.
+// subscriber's account or the subscriber is operating in the wrong Amazon Web
+// Services Region.
//
// * InternalServerError
// An error occurred on the server side.
@@ -1928,16 +1938,16 @@ func (c *DynamoDB) DescribeExportRequest(input *DescribeExportInput) (req *reque
// * LimitExceededException
// There is no limit to the number of daily on-demand backups that can be taken.
//
-// Up to 50 simultaneous table operations are allowed per account. These operations
+// Up to 500 simultaneous table operations are allowed per account. These operations
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
// and RestoreTableToPointInTime.
//
// The only exception is when you are creating a table with one or more secondary
-// indexes. You can have up to 25 such requests running at a time; however,
+// indexes. You can have up to 250 such requests running at a time; however,
// if the table or index specifications are complex, DynamoDB might temporarily
// reduce the number of concurrent operations.
//
-// There is a soft account quota of 256 tables.
+// There is a soft account quota of 2,500 tables.
//
// * InternalServerError
// An error occurred on the server side.
@@ -2853,16 +2863,16 @@ func (c *DynamoDB) DisableKinesisStreamingDestinationRequest(input *DisableKines
// * LimitExceededException
// There is no limit to the number of daily on-demand backups that can be taken.
//
-// Up to 50 simultaneous table operations are allowed per account. These operations
+// Up to 500 simultaneous table operations are allowed per account. These operations
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
// and RestoreTableToPointInTime.
//
// The only exception is when you are creating a table with one or more secondary
-// indexes. You can have up to 25 such requests running at a time; however,
+// indexes. You can have up to 250 such requests running at a time; however,
// if the table or index specifications are complex, DynamoDB might temporarily
// reduce the number of concurrent operations.
//
-// There is a soft account quota of 256 tables.
+// There is a soft account quota of 2,500 tables.
//
// * ResourceInUseException
// The operation conflicts with the resource's availability. For example, you
@@ -2983,16 +2993,16 @@ func (c *DynamoDB) EnableKinesisStreamingDestinationRequest(input *EnableKinesis
// * LimitExceededException
// There is no limit to the number of daily on-demand backups that can be taken.
//
-// Up to 50 simultaneous table operations are allowed per account. These operations
+// Up to 500 simultaneous table operations are allowed per account. These operations
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
// and RestoreTableToPointInTime.
//
// The only exception is when you are creating a table with one or more secondary
-// indexes. You can have up to 25 such requests running at a time; however,
+// indexes. You can have up to 250 such requests running at a time; however,
// if the table or index specifications are complex, DynamoDB might temporarily
// reduce the number of concurrent operations.
//
-// There is a soft account quota of 256 tables.
+// There is a soft account quota of 2,500 tables.
//
// * ResourceInUseException
// The operation conflicts with the resource's availability. For example, you
@@ -3251,11 +3261,11 @@ func (c *DynamoDB) ExecuteTransactionRequest(input *ExecuteTransactionInput) (re
// If using Java, DynamoDB lists the cancellation reasons on the CancellationReasons
// property. This property is not set for other languages. Transaction cancellation
// reasons are ordered in the order of requested items, if an item has no error
-// it will have NONE code and Null message.
+// it will have None code and Null message.
//
// Cancellation reason codes and possible error messages:
//
-// * No Errors: Code: NONE Message: null
+// * No Errors: Code: None Message: null
//
// * Conditional Check Failed: Code: ConditionalCheckFailed Message: The
// conditional request failed.
@@ -3402,7 +3412,8 @@ func (c *DynamoDB) ExportTableToPointInTimeRequest(input *ExportTableToPointInTi
// Returned Error Types:
// * TableNotFoundException
// A source table with the name TableName does not currently exist within the
-// subscriber's account.
+// subscriber's account or the subscriber is operating in the wrong Amazon Web
+// Services Region.
//
// * PointInTimeRecoveryUnavailableException
// Point in time recovery has not yet been enabled for this source table.
@@ -3410,16 +3421,16 @@ func (c *DynamoDB) ExportTableToPointInTimeRequest(input *ExportTableToPointInTi
// * LimitExceededException
// There is no limit to the number of daily on-demand backups that can be taken.
//
-// Up to 50 simultaneous table operations are allowed per account. These operations
+// Up to 500 simultaneous table operations are allowed per account. These operations
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
// and RestoreTableToPointInTime.
//
// The only exception is when you are creating a table with one or more secondary
-// indexes. You can have up to 25 such requests running at a time; however,
+// indexes. You can have up to 250 such requests running at a time; however,
// if the table or index specifications are complex, DynamoDB might temporarily
// reduce the number of concurrent operations.
//
-// There is a soft account quota of 256 tables.
+// There is a soft account quota of 2,500 tables.
//
// * InvalidExportTimeException
// The specified ExportTime is outside of the point in time recovery window.
@@ -3897,16 +3908,16 @@ func (c *DynamoDB) ListExportsRequest(input *ListExportsInput) (req *request.Req
// * LimitExceededException
// There is no limit to the number of daily on-demand backups that can be taken.
//
-// Up to 50 simultaneous table operations are allowed per account. These operations
+// Up to 500 simultaneous table operations are allowed per account. These operations
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
// and RestoreTableToPointInTime.
//
// The only exception is when you are creating a table with one or more secondary
-// indexes. You can have up to 25 such requests running at a time; however,
+// indexes. You can have up to 250 such requests running at a time; however,
// if the table or index specifications are complex, DynamoDB might temporarily
// reduce the number of concurrent operations.
//
-// There is a soft account quota of 256 tables.
+// There is a soft account quota of 2,500 tables.
//
// * InternalServerError
// An error occurred on the server side.
@@ -4445,29 +4456,6 @@ func (c *DynamoDB) PutItemRequest(input *PutItemInput) (req *request.Request, ou
// values. You can return the item's attribute values in the same operation,
// using the ReturnValues parameter.
//
-// This topic provides general information about the PutItem API.
-//
-// For information on how to call the PutItem API using the Amazon Web Services
-// SDK in specific languages, see the following:
-//
-// * PutItem in the Command Line Interface (http://docs.aws.amazon.com/goto/aws-cli/dynamodb-2012-08-10/PutItem)
-//
-// * PutItem in the SDK for .NET (http://docs.aws.amazon.com/goto/DotNetSDKV3/dynamodb-2012-08-10/PutItem)
-//
-// * PutItem in the SDK for C++ (http://docs.aws.amazon.com/goto/SdkForCpp/dynamodb-2012-08-10/PutItem)
-//
-// * PutItem in the SDK for Go (http://docs.aws.amazon.com/goto/SdkForGoV1/dynamodb-2012-08-10/PutItem)
-//
-// * PutItem in the SDK for Java (http://docs.aws.amazon.com/goto/SdkForJava/dynamodb-2012-08-10/PutItem)
-//
-// * PutItem in the SDK for JavaScript (http://docs.aws.amazon.com/goto/AWSJavaScriptSDK/dynamodb-2012-08-10/PutItem)
-//
-// * PutItem in the SDK for PHP V3 (http://docs.aws.amazon.com/goto/SdkForPHPV3/dynamodb-2012-08-10/PutItem)
-//
-// * PutItem in the SDK for Python (Boto) (http://docs.aws.amazon.com/goto/boto3/dynamodb-2012-08-10/PutItem)
-//
-// * PutItem in the SDK for Ruby V2 (http://docs.aws.amazon.com/goto/SdkForRubyV2/dynamodb-2012-08-10/PutItem)
-//
// When you add an item, the primary key attributes are the only required attributes.
// Attribute values cannot be null.
//
@@ -4887,16 +4875,16 @@ func (c *DynamoDB) RestoreTableFromBackupRequest(input *RestoreTableFromBackupIn
// * LimitExceededException
// There is no limit to the number of daily on-demand backups that can be taken.
//
-// Up to 50 simultaneous table operations are allowed per account. These operations
+// Up to 500 simultaneous table operations are allowed per account. These operations
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
// and RestoreTableToPointInTime.
//
// The only exception is when you are creating a table with one or more secondary
-// indexes. You can have up to 25 such requests running at a time; however,
+// indexes. You can have up to 250 such requests running at a time; however,
// if the table or index specifications are complex, DynamoDB might temporarily
// reduce the number of concurrent operations.
//
-// There is a soft account quota of 256 tables.
+// There is a soft account quota of 2,500 tables.
//
// * InternalServerError
// An error occurred on the server side.
@@ -5042,7 +5030,8 @@ func (c *DynamoDB) RestoreTableToPointInTimeRequest(input *RestoreTableToPointIn
//
// * TableNotFoundException
// A source table with the name TableName does not currently exist within the
-// subscriber's account.
+// subscriber's account or the subscriber is operating in the wrong Amazon Web
+// Services Region.
//
// * TableInUseException
// A target table with the specified name is either being created or deleted.
@@ -5050,16 +5039,16 @@ func (c *DynamoDB) RestoreTableToPointInTimeRequest(input *RestoreTableToPointIn
// * LimitExceededException
// There is no limit to the number of daily on-demand backups that can be taken.
//
-// Up to 50 simultaneous table operations are allowed per account. These operations
+// Up to 500 simultaneous table operations are allowed per account. These operations
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
// and RestoreTableToPointInTime.
//
// The only exception is when you are creating a table with one or more secondary
-// indexes. You can have up to 25 such requests running at a time; however,
+// indexes. You can have up to 250 such requests running at a time; however,
// if the table or index specifications are complex, DynamoDB might temporarily
// reduce the number of concurrent operations.
//
-// There is a soft account quota of 256 tables.
+// There is a soft account quota of 2,500 tables.
//
// * InvalidRestoreTimeException
// An invalid restore time was specified. RestoreDateTime must be between EarliestRestorableDateTime
@@ -5388,16 +5377,16 @@ func (c *DynamoDB) TagResourceRequest(input *TagResourceInput) (req *request.Req
// * LimitExceededException
// There is no limit to the number of daily on-demand backups that can be taken.
//
-// Up to 50 simultaneous table operations are allowed per account. These operations
+// Up to 500 simultaneous table operations are allowed per account. These operations
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
// and RestoreTableToPointInTime.
//
// The only exception is when you are creating a table with one or more secondary
-// indexes. You can have up to 25 such requests running at a time; however,
+// indexes. You can have up to 250 such requests running at a time; however,
// if the table or index specifications are complex, DynamoDB might temporarily
// reduce the number of concurrent operations.
//
-// There is a soft account quota of 256 tables.
+// There is a soft account quota of 2,500 tables.
//
// * ResourceNotFoundException
// The operation tried to access a nonexistent table or index. The resource
@@ -5575,11 +5564,11 @@ func (c *DynamoDB) TransactGetItemsRequest(input *TransactGetItemsInput) (req *r
// If using Java, DynamoDB lists the cancellation reasons on the CancellationReasons
// property. This property is not set for other languages. Transaction cancellation
// reasons are ordered in the order of requested items, if an item has no error
-// it will have NONE code and Null message.
+// it will have None code and Null message.
//
// Cancellation reason codes and possible error messages:
//
-// * No Errors: Code: NONE Message: null
+// * No Errors: Code: None Message: null
//
// * Conditional Check Failed: Code: ConditionalCheckFailed Message: The
// conditional request failed.
@@ -5836,11 +5825,11 @@ func (c *DynamoDB) TransactWriteItemsRequest(input *TransactWriteItemsInput) (re
// If using Java, DynamoDB lists the cancellation reasons on the CancellationReasons
// property. This property is not set for other languages. Transaction cancellation
// reasons are ordered in the order of requested items, if an item has no error
-// it will have NONE code and Null message.
+// it will have None code and Null message.
//
// Cancellation reason codes and possible error messages:
//
-// * No Errors: Code: NONE Message: null
+// * No Errors: Code: None Message: null
//
// * Conditional Check Failed: Code: ConditionalCheckFailed Message: The
// conditional request failed.
@@ -6016,16 +6005,16 @@ func (c *DynamoDB) UntagResourceRequest(input *UntagResourceInput) (req *request
// * LimitExceededException
// There is no limit to the number of daily on-demand backups that can be taken.
//
-// Up to 50 simultaneous table operations are allowed per account. These operations
+// Up to 500 simultaneous table operations are allowed per account. These operations
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
// and RestoreTableToPointInTime.
//
// The only exception is when you are creating a table with one or more secondary
-// indexes. You can have up to 25 such requests running at a time; however,
+// indexes. You can have up to 250 such requests running at a time; however,
// if the table or index specifications are complex, DynamoDB might temporarily
// reduce the number of concurrent operations.
//
-// There is a soft account quota of 256 tables.
+// There is a soft account quota of 2,500 tables.
//
// * ResourceNotFoundException
// The operation tried to access a nonexistent table or index. The resource
@@ -6152,7 +6141,8 @@ func (c *DynamoDB) UpdateContinuousBackupsRequest(input *UpdateContinuousBackups
// Returned Error Types:
// * TableNotFoundException
// A source table with the name TableName does not currently exist within the
-// subscriber's account.
+// subscriber's account or the subscriber is operating in the wrong Amazon Web
+// Services Region.
//
// * ContinuousBackupsUnavailableException
// Backups have not yet been enabled for this table.
@@ -6384,7 +6374,8 @@ func (c *DynamoDB) UpdateGlobalTableRequest(input *UpdateGlobalTableInput) (req
//
// * TableNotFoundException
// A source table with the name TableName does not currently exist within the
-// subscriber's account.
+// subscriber's account or the subscriber is operating in the wrong Amazon Web
+// Services Region.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateGlobalTable
func (c *DynamoDB) UpdateGlobalTable(input *UpdateGlobalTableInput) (*UpdateGlobalTableOutput, error) {
@@ -6499,16 +6490,16 @@ func (c *DynamoDB) UpdateGlobalTableSettingsRequest(input *UpdateGlobalTableSett
// * LimitExceededException
// There is no limit to the number of daily on-demand backups that can be taken.
//
-// Up to 50 simultaneous table operations are allowed per account. These operations
+// Up to 500 simultaneous table operations are allowed per account. These operations
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
// and RestoreTableToPointInTime.
//
// The only exception is when you are creating a table with one or more secondary
-// indexes. You can have up to 25 such requests running at a time; however,
+// indexes. You can have up to 250 such requests running at a time; however,
// if the table or index specifications are complex, DynamoDB might temporarily
// reduce the number of concurrent operations.
//
-// There is a soft account quota of 256 tables.
+// There is a soft account quota of 2,500 tables.
//
// * ResourceInUseException
// The operation conflicts with the resource's availability. For example, you
@@ -6754,8 +6745,6 @@ func (c *DynamoDB) UpdateTableRequest(input *UpdateTableInput) (req *request.Req
//
// * Modify the provisioned throughput settings of the table.
//
-// * Enable or disable DynamoDB Streams on the table.
-//
// * Remove a global secondary index from the table.
//
// * Create a new global secondary index on the table. After the index begins
@@ -6786,16 +6775,16 @@ func (c *DynamoDB) UpdateTableRequest(input *UpdateTableInput) (req *request.Req
// * LimitExceededException
// There is no limit to the number of daily on-demand backups that can be taken.
//
-// Up to 50 simultaneous table operations are allowed per account. These operations
+// Up to 500 simultaneous table operations are allowed per account. These operations
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
// and RestoreTableToPointInTime.
//
// The only exception is when you are creating a table with one or more secondary
-// indexes. You can have up to 25 such requests running at a time; however,
+// indexes. You can have up to 250 such requests running at a time; however,
// if the table or index specifications are complex, DynamoDB might temporarily
// reduce the number of concurrent operations.
//
-// There is a soft account quota of 256 tables.
+// There is a soft account quota of 2,500 tables.
//
// * InternalServerError
// An error occurred on the server side.
@@ -6891,16 +6880,16 @@ func (c *DynamoDB) UpdateTableReplicaAutoScalingRequest(input *UpdateTableReplic
// * LimitExceededException
// There is no limit to the number of daily on-demand backups that can be taken.
//
-// Up to 50 simultaneous table operations are allowed per account. These operations
+// Up to 500 simultaneous table operations are allowed per account. These operations
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
// and RestoreTableToPointInTime.
//
// The only exception is when you are creating a table with one or more secondary
-// indexes. You can have up to 25 such requests running at a time; however,
+// indexes. You can have up to 250 such requests running at a time; however,
// if the table or index specifications are complex, DynamoDB might temporarily
// reduce the number of concurrent operations.
//
-// There is a soft account quota of 256 tables.
+// There is a soft account quota of 2,500 tables.
//
// * InternalServerError
// An error occurred on the server side.
@@ -7045,16 +7034,16 @@ func (c *DynamoDB) UpdateTimeToLiveRequest(input *UpdateTimeToLiveInput) (req *r
// * LimitExceededException
// There is no limit to the number of daily on-demand backups that can be taken.
//
-// Up to 50 simultaneous table operations are allowed per account. These operations
+// Up to 500 simultaneous table operations are allowed per account. These operations
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
// and RestoreTableToPointInTime.
//
// The only exception is when you are creating a table with one or more secondary
-// indexes. You can have up to 25 such requests running at a time; however,
+// indexes. You can have up to 250 such requests running at a time; however,
// if the table or index specifications are complex, DynamoDB might temporarily
// reduce the number of concurrent operations.
//
-// There is a soft account quota of 256 tables.
+// There is a soft account quota of 2,500 tables.
//
// * InternalServerError
// An error occurred on the server side.
@@ -7237,7 +7226,7 @@ type AttributeValue struct {
// An attribute of type List. For example:
//
- // "L": [ {"S": "Cookies"} , {"S": "Coffee"}, {"N", "3.14159"}]
+ // "L": [ {"S": "Cookies"} , {"S": "Coffee"}, {"N": "3.14159"}]
L []*AttributeValue `type:"list"`
// An attribute of type Map. For example:
@@ -7421,9 +7410,9 @@ type AttributeValueUpdate struct {
//
// * DELETE - Nothing happens; there is no attribute to delete.
//
- // * ADD - DynamoDB creates an item with the supplied primary key and number
- // (or set of numbers) for the attribute value. The only data types allowed
- // are number and number set; no other data types can be specified.
+ // * ADD - DynamoDB creates a new item with the supplied primary key and
+ // number (or set) for the attribute value. The only data types allowed are
+ // number, number set, string set or binary set.
Action *string `type:"string" enum:"AttributeAction"`
// Represents the data for an attribute.
@@ -7976,7 +7965,8 @@ type BackupDetails struct {
// BackupName is a required field
BackupName *string `min:"3" type:"string" required:"true"`
- // Size of the backup in bytes.
+ // Size of the backup in bytes. DynamoDB updates this value approximately every
+ // six hours. Recent changes might not be reflected in this value.
BackupSizeBytes *int64 `type:"long"`
// Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
@@ -10938,6 +10928,10 @@ type DeleteItemInput struct {
//
// * ALL_OLD - The content of the old item is returned.
//
+ // There is no additional cost associated with requesting a return value aside
+ // from the small network and processing overhead of receiving a larger response.
+ // No read capacity units are consumed.
+ //
// The ReturnValues parameter is used by several DynamoDB operations; however,
// DeleteItem does not recognize any values other than NONE or ALL_OLD.
ReturnValues *string `type:"string" enum:"ReturnValue"`
@@ -13655,8 +13649,9 @@ type ExportTableToPointInTimeInput struct {
// or ION.
ExportFormat *string `type:"string" enum:"ExportFormat"`
- // Time in the past from which to export table data. The table export will be
- // a snapshot of the table's state at this point in time.
+ // Time in the past from which to export table data, counted in seconds from
+ // the start of the Unix epoch. The table export will be a snapshot of the table's
+ // state at this point in time.
ExportTime *time.Time `type:"timestamp"`
// The name of the Amazon S3 bucket to export the snapshot to.
@@ -15759,16 +15754,16 @@ func (s *KinesisDataStreamDestination) SetStreamArn(v string) *KinesisDataStream
// There is no limit to the number of daily on-demand backups that can be taken.
//
-// Up to 50 simultaneous table operations are allowed per account. These operations
+// Up to 500 simultaneous table operations are allowed per account. These operations
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
// and RestoreTableToPointInTime.
//
// The only exception is when you are creating a table with one or more secondary
-// indexes. You can have up to 25 such requests running at a time; however,
+// indexes. You can have up to 250 such requests running at a time; however,
// if the table or index specifications are complex, DynamoDB might temporarily
// reduce the number of concurrent operations.
//
-// There is a soft account quota of 256 tables.
+// There is a soft account quota of 2,500 tables.
type LimitExceededException struct {
_ struct{} `type:"structure"`
RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
@@ -15840,7 +15835,8 @@ type ListBackupsInput struct {
//
// Where BackupType can be:
//
- // * USER - On-demand backup created by you.
+ // * USER - On-demand backup created by you. (The default setting if no other
+ // backup types are specified.)
//
// * SYSTEM - On-demand backup automatically created by DynamoDB.
//
@@ -17036,7 +17032,7 @@ type Projection struct {
// Represents the non-key attribute names which will be projected into the index.
//
// For local secondary indexes, the total count of NonKeyAttributes summed across
- // all of the local secondary indexes, must not exceed 20. If you project the
+ // all of the local secondary indexes, must not exceed 100. If you project the
// same attribute into two different indexes, this counts as two distinct attributes
// when determining the total.
NonKeyAttributes []*string `min:"1" type:"list"`
@@ -17624,6 +17620,10 @@ type PutItemInput struct {
//
// The values returned are strongly consistent.
//
+ // There is no additional cost associated with requesting a return value aside
+ // from the small network and processing overhead of receiving a larger response.
+ // No read capacity units are consumed.
+ //
// The ReturnValues parameter is used by several DynamoDB operations; however,
// PutItem does not recognize any values other than NONE or ALL_OLD.
ReturnValues *string `type:"string" enum:"ReturnValue"`
@@ -17942,7 +17942,7 @@ type QueryInput struct {
// A FilterExpression is applied after the items have already been read; the
// process of filtering does not consume any additional read capacity units.
//
- // For more information, see Filter Expressions (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#FilteringResults)
+ // For more information, see Filter Expressions (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Query.FilterExpression)
// in the Amazon DynamoDB Developer Guide.
FilterExpression *string `type:"string"`
@@ -18104,8 +18104,8 @@ type QueryInput struct {
// * COUNT - Returns the number of matching items, rather than the matching
// items themselves.
//
- // * SPECIFIC_ATTRIBUTES - Returns only the attributes listed in AttributesToGet.
- // This return value is equivalent to specifying AttributesToGet without
+ // * SPECIFIC_ATTRIBUTES - Returns only the attributes listed in ProjectionExpression.
+ // This return value is equivalent to specifying ProjectionExpression without
// specifying any value for Select. If you query or scan a local secondary
// index and request only attributes that are projected into that index,
// the operation will read only the index and not the table. If any of the
@@ -18116,12 +18116,12 @@ type QueryInput struct {
// are projected into the index. Global secondary index queries cannot fetch
// attributes from the parent table.
//
- // If neither Select nor AttributesToGet are specified, DynamoDB defaults to
- // ALL_ATTRIBUTES when accessing a table, and ALL_PROJECTED_ATTRIBUTES when
- // accessing an index. You cannot use both Select and AttributesToGet together
+ // If neither Select nor ProjectionExpression are specified, DynamoDB defaults
+ // to ALL_ATTRIBUTES when accessing a table, and ALL_PROJECTED_ATTRIBUTES when
+ // accessing an index. You cannot use both Select and ProjectionExpression together
// in a single request, unless the value for Select is SPECIFIC_ATTRIBUTES.
- // (This usage is equivalent to specifying AttributesToGet without any value
- // for Select.)
+ // (This usage is equivalent to specifying ProjectionExpression without any
+ // value for Select.)
//
// If you use the ProjectionExpression parameter, then the value for Select
// can only be SPECIFIC_ATTRIBUTES. Any other value for Select will return an
@@ -19560,6 +19560,9 @@ func (s *ReplicaUpdate) SetDelete(v *DeleteReplicaAction) *ReplicaUpdate {
// * An existing replica to be deleted. The request invokes the DeleteTableReplica
// action in the destination Region, deleting the replica and all if its
// items in the destination Region.
+//
+// When you manually remove a table or global table replica, you do not automatically
+// remove any associated scalable targets, scaling policies, or CloudWatch alarms.
type ReplicationGroupUpdate struct {
_ struct{} `type:"structure"`
@@ -20500,7 +20503,7 @@ type ScanInput struct {
// A FilterExpression is applied after the items have already been read; the
// process of filtering does not consume any additional read capacity units.
//
- // For more information, see Filter Expressions (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#FilteringResults)
+ // For more information, see Filter Expressions (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Query.FilterExpression)
// in the Amazon DynamoDB Developer Guide.
FilterExpression *string `type:"string"`
@@ -20590,8 +20593,8 @@ type ScanInput struct {
// * COUNT - Returns the number of matching items, rather than the matching
// items themselves.
//
- // * SPECIFIC_ATTRIBUTES - Returns only the attributes listed in AttributesToGet.
- // This return value is equivalent to specifying AttributesToGet without
+ // * SPECIFIC_ATTRIBUTES - Returns only the attributes listed in ProjectionExpression.
+ // This return value is equivalent to specifying ProjectionExpression without
// specifying any value for Select. If you query or scan a local secondary
// index and request only attributes that are projected into that index,
// the operation reads only the index and not the table. If any of the requested
@@ -20602,12 +20605,12 @@ type ScanInput struct {
// into the index. Global secondary index queries cannot fetch attributes
// from the parent table.
//
- // If neither Select nor AttributesToGet are specified, DynamoDB defaults to
- // ALL_ATTRIBUTES when accessing a table, and ALL_PROJECTED_ATTRIBUTES when
- // accessing an index. You cannot use both Select and AttributesToGet together
+ // If neither Select nor ProjectionExpression are specified, DynamoDB defaults
+ // to ALL_ATTRIBUTES when accessing a table, and ALL_PROJECTED_ATTRIBUTES when
+ // accessing an index. You cannot use both Select and ProjectionExpression together
// in a single request, unless the value for Select is SPECIFIC_ATTRIBUTES.
- // (This usage is equivalent to specifying AttributesToGet without any value
- // for Select.)
+ // (This usage is equivalent to specifying ProjectionExpression without any
+ // value for Select.)
//
// If you use the ProjectionExpression parameter, then the value for Select
// can only be SPECIFIC_ATTRIBUTES. Any other value for Select will return an
@@ -21376,7 +21379,7 @@ type TableDescription struct {
// of the table attributes are projected into the index. NonKeyAttributes
// - A list of one or more non-key attribute names that are projected into
// the secondary index. The total count of attributes provided in NonKeyAttributes,
- // summed across all of the secondary indexes, must not exceed 20. If you
+ // summed across all of the secondary indexes, must not exceed 100. If you
// project the same attribute into two different indexes, this counts as
// two distinct attributes when determining the total.
//
@@ -21453,7 +21456,7 @@ type TableDescription struct {
// table attributes are projected into the index. NonKeyAttributes - A list
// of one or more non-key attribute names that are projected into the secondary
// index. The total count of attributes provided in NonKeyAttributes, summed
- // across all of the secondary indexes, must not exceed 20. If you project
+ // across all of the secondary indexes, must not exceed 100. If you project
// the same attribute into two different indexes, this counts as two distinct
// attributes when determining the total.
//
@@ -21740,7 +21743,8 @@ func (s *TableInUseException) RequestID() string {
}
// A source table with the name TableName does not currently exist within the
-// subscriber's account.
+// subscriber's account or the subscriber is operating in the wrong Amazon Web
+// Services Region.
type TableNotFoundException struct {
_ struct{} `type:"structure"`
RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
@@ -22558,11 +22562,11 @@ func (s *TransactWriteItemsOutput) SetItemCollectionMetrics(v map[string][]*Item
// If using Java, DynamoDB lists the cancellation reasons on the CancellationReasons
// property. This property is not set for other languages. Transaction cancellation
// reasons are ordered in the order of requested items, if an item has no error
-// it will have NONE code and Null message.
+// it will have None code and Null message.
//
// Cancellation reason codes and possible error messages:
//
-// * No Errors: Code: NONE Message: null
+// * No Errors: Code: None Message: null
//
// * Conditional Check Failed: Code: ConditionalCheckFailed Message: The
// conditional request failed.
diff --git a/service/dynamodb/errors.go b/service/dynamodb/errors.go
index 9ffd8f2d0d..ecf033fe8a 100644
--- a/service/dynamodb/errors.go
+++ b/service/dynamodb/errors.go
@@ -108,16 +108,16 @@ const (
//
// There is no limit to the number of daily on-demand backups that can be taken.
//
- // Up to 50 simultaneous table operations are allowed per account. These operations
+ // Up to 500 simultaneous table operations are allowed per account. These operations
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
// and RestoreTableToPointInTime.
//
// The only exception is when you are creating a table with one or more secondary
- // indexes. You can have up to 25 such requests running at a time; however,
+ // indexes. You can have up to 250 such requests running at a time; however,
// if the table or index specifications are complex, DynamoDB might temporarily
// reduce the number of concurrent operations.
//
- // There is a soft account quota of 256 tables.
+ // There is a soft account quota of 2,500 tables.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodePointInTimeRecoveryUnavailableException for service response error code
@@ -188,7 +188,8 @@ const (
// "TableNotFoundException".
//
// A source table with the name TableName does not currently exist within the
- // subscriber's account.
+ // subscriber's account or the subscriber is operating in the wrong Amazon Web
+ // Services Region.
ErrCodeTableNotFoundException = "TableNotFoundException"
// ErrCodeTransactionCanceledException for service response error code
@@ -232,11 +233,11 @@ const (
// If using Java, DynamoDB lists the cancellation reasons on the CancellationReasons
// property. This property is not set for other languages. Transaction cancellation
// reasons are ordered in the order of requested items, if an item has no error
- // it will have NONE code and Null message.
+ // it will have None code and Null message.
//
// Cancellation reason codes and possible error messages:
//
- // * No Errors: Code: NONE Message: null
+ // * No Errors: Code: None Message: null
//
// * Conditional Check Failed: Code: ConditionalCheckFailed Message: The
// conditional request failed.
diff --git a/service/dynamodbstreams/api.go b/service/dynamodbstreams/api.go
index 2b718f58a0..9c37759807 100644
--- a/service/dynamodbstreams/api.go
+++ b/service/dynamodbstreams/api.go
@@ -177,16 +177,16 @@ func (c *DynamoDBStreams) GetRecordsRequest(input *GetRecordsInput) (req *reques
// * LimitExceededException
// There is no limit to the number of daily on-demand backups that can be taken.
//
-// Up to 50 simultaneous table operations are allowed per account. These operations
+// Up to 500 simultaneous table operations are allowed per account. These operations
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
// and RestoreTableToPointInTime.
//
// The only exception is when you are creating a table with one or more secondary
-// indexes. You can have up to 25 such requests running at a time; however,
+// indexes. You can have up to 250 such requests running at a time; however,
// if the table or index specifications are complex, DynamoDB might temporarily
// reduce the number of concurrent operations.
//
-// There is a soft account quota of 256 tables.
+// There is a soft account quota of 2,500 tables.
//
// * InternalServerError
// An error occurred on the server side.
@@ -956,16 +956,16 @@ func (s *InternalServerError) RequestID() string {
// There is no limit to the number of daily on-demand backups that can be taken.
//
-// Up to 50 simultaneous table operations are allowed per account. These operations
+// Up to 500 simultaneous table operations are allowed per account. These operations
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
// and RestoreTableToPointInTime.
//
// The only exception is when you are creating a table with one or more secondary
-// indexes. You can have up to 25 such requests running at a time; however,
+// indexes. You can have up to 250 such requests running at a time; however,
// if the table or index specifications are complex, DynamoDB might temporarily
// reduce the number of concurrent operations.
//
-// There is a soft account quota of 256 tables.
+// There is a soft account quota of 2,500 tables.
type LimitExceededException struct {
_ struct{} `type:"structure"`
RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
diff --git a/service/dynamodbstreams/errors.go b/service/dynamodbstreams/errors.go
index c03a1d3fa9..ddd4880655 100644
--- a/service/dynamodbstreams/errors.go
+++ b/service/dynamodbstreams/errors.go
@@ -27,16 +27,16 @@ const (
//
// There is no limit to the number of daily on-demand backups that can be taken.
//
- // Up to 50 simultaneous table operations are allowed per account. These operations
+ // Up to 500 simultaneous table operations are allowed per account. These operations
// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup,
// and RestoreTableToPointInTime.
//
// The only exception is when you are creating a table with one or more secondary
- // indexes. You can have up to 25 such requests running at a time; however,
+ // indexes. You can have up to 250 such requests running at a time; however,
// if the table or index specifications are complex, DynamoDB might temporarily
// reduce the number of concurrent operations.
//
- // There is a soft account quota of 256 tables.
+ // There is a soft account quota of 2,500 tables.
ErrCodeLimitExceededException = "LimitExceededException"
// ErrCodeResourceNotFoundException for service response error code