aws-sdk-connectcampaignservice 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-connectcampaignservice/client.rb +1094 -0
- data/lib/aws-sdk-connectcampaignservice/client_api.rb +690 -0
- data/lib/aws-sdk-connectcampaignservice/customizations.rb +0 -0
- data/lib/aws-sdk-connectcampaignservice/errors.rb +240 -0
- data/lib/aws-sdk-connectcampaignservice/resource.rb +26 -0
- data/lib/aws-sdk-connectcampaignservice/types.rb +1441 -0
- data/lib/aws-sdk-connectcampaignservice.rb +53 -0
- metadata +90 -0
@@ -0,0 +1,690 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::ConnectCampaignService
|
11
|
+
# @api private
|
12
|
+
module ClientApi
|
13
|
+
|
14
|
+
include Seahorse::Model
|
15
|
+
|
16
|
+
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
|
+
AnswerMachineDetectionConfig = Shapes::StructureShape.new(name: 'AnswerMachineDetectionConfig')
|
18
|
+
Arn = Shapes::StringShape.new(name: 'Arn')
|
19
|
+
AttributeName = Shapes::StringShape.new(name: 'AttributeName')
|
20
|
+
AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
|
21
|
+
Attributes = Shapes::MapShape.new(name: 'Attributes')
|
22
|
+
BandwidthAllocation = Shapes::FloatShape.new(name: 'BandwidthAllocation')
|
23
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
24
|
+
Campaign = Shapes::StructureShape.new(name: 'Campaign')
|
25
|
+
CampaignArn = Shapes::StringShape.new(name: 'CampaignArn')
|
26
|
+
CampaignFilters = Shapes::StructureShape.new(name: 'CampaignFilters')
|
27
|
+
CampaignId = Shapes::StringShape.new(name: 'CampaignId')
|
28
|
+
CampaignName = Shapes::StringShape.new(name: 'CampaignName')
|
29
|
+
CampaignState = Shapes::StringShape.new(name: 'CampaignState')
|
30
|
+
CampaignSummary = Shapes::StructureShape.new(name: 'CampaignSummary')
|
31
|
+
CampaignSummaryList = Shapes::ListShape.new(name: 'CampaignSummaryList')
|
32
|
+
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
33
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
34
|
+
ContactFlowId = Shapes::StringShape.new(name: 'ContactFlowId')
|
35
|
+
CreateCampaignRequest = Shapes::StructureShape.new(name: 'CreateCampaignRequest')
|
36
|
+
CreateCampaignResponse = Shapes::StructureShape.new(name: 'CreateCampaignResponse')
|
37
|
+
DeleteCampaignRequest = Shapes::StructureShape.new(name: 'DeleteCampaignRequest')
|
38
|
+
DeleteConnectInstanceConfigRequest = Shapes::StructureShape.new(name: 'DeleteConnectInstanceConfigRequest')
|
39
|
+
DeleteInstanceOnboardingJobRequest = Shapes::StructureShape.new(name: 'DeleteInstanceOnboardingJobRequest')
|
40
|
+
DescribeCampaignRequest = Shapes::StructureShape.new(name: 'DescribeCampaignRequest')
|
41
|
+
DescribeCampaignResponse = Shapes::StructureShape.new(name: 'DescribeCampaignResponse')
|
42
|
+
DestinationPhoneNumber = Shapes::StringShape.new(name: 'DestinationPhoneNumber')
|
43
|
+
DialRequest = Shapes::StructureShape.new(name: 'DialRequest')
|
44
|
+
DialRequestId = Shapes::StringShape.new(name: 'DialRequestId')
|
45
|
+
DialRequestList = Shapes::ListShape.new(name: 'DialRequestList')
|
46
|
+
DialerConfig = Shapes::UnionShape.new(name: 'DialerConfig')
|
47
|
+
Enabled = Shapes::BooleanShape.new(name: 'Enabled')
|
48
|
+
EncryptionConfig = Shapes::StructureShape.new(name: 'EncryptionConfig')
|
49
|
+
EncryptionKey = Shapes::StringShape.new(name: 'EncryptionKey')
|
50
|
+
EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
|
51
|
+
FailedCampaignStateResponse = Shapes::StructureShape.new(name: 'FailedCampaignStateResponse')
|
52
|
+
FailedCampaignStateResponseList = Shapes::ListShape.new(name: 'FailedCampaignStateResponseList')
|
53
|
+
FailedRequest = Shapes::StructureShape.new(name: 'FailedRequest')
|
54
|
+
FailedRequestList = Shapes::ListShape.new(name: 'FailedRequestList')
|
55
|
+
FailureCode = Shapes::StringShape.new(name: 'FailureCode')
|
56
|
+
GetCampaignStateBatchFailureCode = Shapes::StringShape.new(name: 'GetCampaignStateBatchFailureCode')
|
57
|
+
GetCampaignStateBatchRequest = Shapes::StructureShape.new(name: 'GetCampaignStateBatchRequest')
|
58
|
+
GetCampaignStateBatchRequestCampaignIdsList = Shapes::ListShape.new(name: 'GetCampaignStateBatchRequestCampaignIdsList')
|
59
|
+
GetCampaignStateBatchResponse = Shapes::StructureShape.new(name: 'GetCampaignStateBatchResponse')
|
60
|
+
GetCampaignStateRequest = Shapes::StructureShape.new(name: 'GetCampaignStateRequest')
|
61
|
+
GetCampaignStateResponse = Shapes::StructureShape.new(name: 'GetCampaignStateResponse')
|
62
|
+
GetConnectInstanceConfigRequest = Shapes::StructureShape.new(name: 'GetConnectInstanceConfigRequest')
|
63
|
+
GetConnectInstanceConfigResponse = Shapes::StructureShape.new(name: 'GetConnectInstanceConfigResponse')
|
64
|
+
GetInstanceOnboardingJobStatusRequest = Shapes::StructureShape.new(name: 'GetInstanceOnboardingJobStatusRequest')
|
65
|
+
GetInstanceOnboardingJobStatusResponse = Shapes::StructureShape.new(name: 'GetInstanceOnboardingJobStatusResponse')
|
66
|
+
InstanceConfig = Shapes::StructureShape.new(name: 'InstanceConfig')
|
67
|
+
InstanceId = Shapes::StringShape.new(name: 'InstanceId')
|
68
|
+
InstanceIdFilter = Shapes::StructureShape.new(name: 'InstanceIdFilter')
|
69
|
+
InstanceIdFilterOperator = Shapes::StringShape.new(name: 'InstanceIdFilterOperator')
|
70
|
+
InstanceOnboardingJobFailureCode = Shapes::StringShape.new(name: 'InstanceOnboardingJobFailureCode')
|
71
|
+
InstanceOnboardingJobStatus = Shapes::StructureShape.new(name: 'InstanceOnboardingJobStatus')
|
72
|
+
InstanceOnboardingJobStatusCode = Shapes::StringShape.new(name: 'InstanceOnboardingJobStatusCode')
|
73
|
+
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
74
|
+
InvalidCampaignStateException = Shapes::StructureShape.new(name: 'InvalidCampaignStateException')
|
75
|
+
InvalidStateException = Shapes::StructureShape.new(name: 'InvalidStateException')
|
76
|
+
ListCampaignsRequest = Shapes::StructureShape.new(name: 'ListCampaignsRequest')
|
77
|
+
ListCampaignsResponse = Shapes::StructureShape.new(name: 'ListCampaignsResponse')
|
78
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
79
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
80
|
+
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
81
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
82
|
+
OutboundCallConfig = Shapes::StructureShape.new(name: 'OutboundCallConfig')
|
83
|
+
PauseCampaignRequest = Shapes::StructureShape.new(name: 'PauseCampaignRequest')
|
84
|
+
PredictiveDialerConfig = Shapes::StructureShape.new(name: 'PredictiveDialerConfig')
|
85
|
+
ProgressiveDialerConfig = Shapes::StructureShape.new(name: 'ProgressiveDialerConfig')
|
86
|
+
PutDialRequestBatchRequest = Shapes::StructureShape.new(name: 'PutDialRequestBatchRequest')
|
87
|
+
PutDialRequestBatchResponse = Shapes::StructureShape.new(name: 'PutDialRequestBatchResponse')
|
88
|
+
QueueId = Shapes::StringShape.new(name: 'QueueId')
|
89
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
90
|
+
ResumeCampaignRequest = Shapes::StructureShape.new(name: 'ResumeCampaignRequest')
|
91
|
+
ServiceLinkedRoleArn = Shapes::StringShape.new(name: 'ServiceLinkedRoleArn')
|
92
|
+
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
93
|
+
SourcePhoneNumber = Shapes::StringShape.new(name: 'SourcePhoneNumber')
|
94
|
+
StartCampaignRequest = Shapes::StructureShape.new(name: 'StartCampaignRequest')
|
95
|
+
StartInstanceOnboardingJobRequest = Shapes::StructureShape.new(name: 'StartInstanceOnboardingJobRequest')
|
96
|
+
StartInstanceOnboardingJobResponse = Shapes::StructureShape.new(name: 'StartInstanceOnboardingJobResponse')
|
97
|
+
StopCampaignRequest = Shapes::StructureShape.new(name: 'StopCampaignRequest')
|
98
|
+
String = Shapes::StringShape.new(name: 'String')
|
99
|
+
SuccessfulCampaignStateResponse = Shapes::StructureShape.new(name: 'SuccessfulCampaignStateResponse')
|
100
|
+
SuccessfulCampaignStateResponseList = Shapes::ListShape.new(name: 'SuccessfulCampaignStateResponseList')
|
101
|
+
SuccessfulRequest = Shapes::StructureShape.new(name: 'SuccessfulRequest')
|
102
|
+
SuccessfulRequestList = Shapes::ListShape.new(name: 'SuccessfulRequestList')
|
103
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
104
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
105
|
+
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
106
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
107
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
108
|
+
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
109
|
+
TimeStamp = Shapes::TimestampShape.new(name: 'TimeStamp', timestampFormat: "iso8601")
|
110
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
111
|
+
UpdateCampaignDialerConfigRequest = Shapes::StructureShape.new(name: 'UpdateCampaignDialerConfigRequest')
|
112
|
+
UpdateCampaignNameRequest = Shapes::StructureShape.new(name: 'UpdateCampaignNameRequest')
|
113
|
+
UpdateCampaignOutboundCallConfigRequest = Shapes::StructureShape.new(name: 'UpdateCampaignOutboundCallConfigRequest')
|
114
|
+
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
115
|
+
XAmazonErrorType = Shapes::StringShape.new(name: 'XAmazonErrorType')
|
116
|
+
|
117
|
+
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
118
|
+
AccessDeniedException.add_member(:x_amz_error_type, Shapes::ShapeRef.new(shape: XAmazonErrorType, location: "header", location_name: "x-amzn-ErrorType"))
|
119
|
+
AccessDeniedException.struct_class = Types::AccessDeniedException
|
120
|
+
|
121
|
+
AnswerMachineDetectionConfig.add_member(:enable_answer_machine_detection, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enableAnswerMachineDetection"))
|
122
|
+
AnswerMachineDetectionConfig.struct_class = Types::AnswerMachineDetectionConfig
|
123
|
+
|
124
|
+
Attributes.key = Shapes::ShapeRef.new(shape: AttributeName)
|
125
|
+
Attributes.value = Shapes::ShapeRef.new(shape: AttributeValue)
|
126
|
+
|
127
|
+
Campaign.add_member(:arn, Shapes::ShapeRef.new(shape: CampaignArn, required: true, location_name: "arn"))
|
128
|
+
Campaign.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "connectInstanceId"))
|
129
|
+
Campaign.add_member(:dialer_config, Shapes::ShapeRef.new(shape: DialerConfig, required: true, location_name: "dialerConfig"))
|
130
|
+
Campaign.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location_name: "id"))
|
131
|
+
Campaign.add_member(:name, Shapes::ShapeRef.new(shape: CampaignName, required: true, location_name: "name"))
|
132
|
+
Campaign.add_member(:outbound_call_config, Shapes::ShapeRef.new(shape: OutboundCallConfig, required: true, location_name: "outboundCallConfig"))
|
133
|
+
Campaign.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
134
|
+
Campaign.struct_class = Types::Campaign
|
135
|
+
|
136
|
+
CampaignFilters.add_member(:instance_id_filter, Shapes::ShapeRef.new(shape: InstanceIdFilter, location_name: "instanceIdFilter"))
|
137
|
+
CampaignFilters.struct_class = Types::CampaignFilters
|
138
|
+
|
139
|
+
CampaignSummary.add_member(:arn, Shapes::ShapeRef.new(shape: CampaignArn, required: true, location_name: "arn"))
|
140
|
+
CampaignSummary.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "connectInstanceId"))
|
141
|
+
CampaignSummary.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location_name: "id"))
|
142
|
+
CampaignSummary.add_member(:name, Shapes::ShapeRef.new(shape: CampaignName, required: true, location_name: "name"))
|
143
|
+
CampaignSummary.struct_class = Types::CampaignSummary
|
144
|
+
|
145
|
+
CampaignSummaryList.member = Shapes::ShapeRef.new(shape: CampaignSummary)
|
146
|
+
|
147
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
148
|
+
ConflictException.add_member(:x_amz_error_type, Shapes::ShapeRef.new(shape: XAmazonErrorType, location: "header", location_name: "x-amzn-ErrorType"))
|
149
|
+
ConflictException.struct_class = Types::ConflictException
|
150
|
+
|
151
|
+
CreateCampaignRequest.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "connectInstanceId"))
|
152
|
+
CreateCampaignRequest.add_member(:dialer_config, Shapes::ShapeRef.new(shape: DialerConfig, required: true, location_name: "dialerConfig"))
|
153
|
+
CreateCampaignRequest.add_member(:name, Shapes::ShapeRef.new(shape: CampaignName, required: true, location_name: "name"))
|
154
|
+
CreateCampaignRequest.add_member(:outbound_call_config, Shapes::ShapeRef.new(shape: OutboundCallConfig, required: true, location_name: "outboundCallConfig"))
|
155
|
+
CreateCampaignRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
156
|
+
CreateCampaignRequest.struct_class = Types::CreateCampaignRequest
|
157
|
+
|
158
|
+
CreateCampaignResponse.add_member(:arn, Shapes::ShapeRef.new(shape: CampaignArn, location_name: "arn"))
|
159
|
+
CreateCampaignResponse.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, location_name: "id"))
|
160
|
+
CreateCampaignResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
161
|
+
CreateCampaignResponse.struct_class = Types::CreateCampaignResponse
|
162
|
+
|
163
|
+
DeleteCampaignRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
|
164
|
+
DeleteCampaignRequest.struct_class = Types::DeleteCampaignRequest
|
165
|
+
|
166
|
+
DeleteConnectInstanceConfigRequest.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "connectInstanceId"))
|
167
|
+
DeleteConnectInstanceConfigRequest.struct_class = Types::DeleteConnectInstanceConfigRequest
|
168
|
+
|
169
|
+
DeleteInstanceOnboardingJobRequest.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "connectInstanceId"))
|
170
|
+
DeleteInstanceOnboardingJobRequest.struct_class = Types::DeleteInstanceOnboardingJobRequest
|
171
|
+
|
172
|
+
DescribeCampaignRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
|
173
|
+
DescribeCampaignRequest.struct_class = Types::DescribeCampaignRequest
|
174
|
+
|
175
|
+
DescribeCampaignResponse.add_member(:campaign, Shapes::ShapeRef.new(shape: Campaign, location_name: "campaign"))
|
176
|
+
DescribeCampaignResponse.struct_class = Types::DescribeCampaignResponse
|
177
|
+
|
178
|
+
DialRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, required: true, location_name: "attributes"))
|
179
|
+
DialRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken"))
|
180
|
+
DialRequest.add_member(:expiration_time, Shapes::ShapeRef.new(shape: TimeStamp, required: true, location_name: "expirationTime"))
|
181
|
+
DialRequest.add_member(:phone_number, Shapes::ShapeRef.new(shape: DestinationPhoneNumber, required: true, location_name: "phoneNumber"))
|
182
|
+
DialRequest.struct_class = Types::DialRequest
|
183
|
+
|
184
|
+
DialRequestList.member = Shapes::ShapeRef.new(shape: DialRequest)
|
185
|
+
|
186
|
+
DialerConfig.add_member(:predictive_dialer_config, Shapes::ShapeRef.new(shape: PredictiveDialerConfig, location_name: "predictiveDialerConfig"))
|
187
|
+
DialerConfig.add_member(:progressive_dialer_config, Shapes::ShapeRef.new(shape: ProgressiveDialerConfig, location_name: "progressiveDialerConfig"))
|
188
|
+
DialerConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
189
|
+
DialerConfig.add_member_subclass(:predictive_dialer_config, Types::DialerConfig::PredictiveDialerConfig)
|
190
|
+
DialerConfig.add_member_subclass(:progressive_dialer_config, Types::DialerConfig::ProgressiveDialerConfig)
|
191
|
+
DialerConfig.add_member_subclass(:unknown, Types::DialerConfig::Unknown)
|
192
|
+
DialerConfig.struct_class = Types::DialerConfig
|
193
|
+
|
194
|
+
EncryptionConfig.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, required: true, location_name: "enabled"))
|
195
|
+
EncryptionConfig.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, location_name: "encryptionType"))
|
196
|
+
EncryptionConfig.add_member(:key_arn, Shapes::ShapeRef.new(shape: EncryptionKey, location_name: "keyArn"))
|
197
|
+
EncryptionConfig.struct_class = Types::EncryptionConfig
|
198
|
+
|
199
|
+
FailedCampaignStateResponse.add_member(:campaign_id, Shapes::ShapeRef.new(shape: CampaignId, location_name: "campaignId"))
|
200
|
+
FailedCampaignStateResponse.add_member(:failure_code, Shapes::ShapeRef.new(shape: GetCampaignStateBatchFailureCode, location_name: "failureCode"))
|
201
|
+
FailedCampaignStateResponse.struct_class = Types::FailedCampaignStateResponse
|
202
|
+
|
203
|
+
FailedCampaignStateResponseList.member = Shapes::ShapeRef.new(shape: FailedCampaignStateResponse)
|
204
|
+
|
205
|
+
FailedRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
|
206
|
+
FailedRequest.add_member(:failure_code, Shapes::ShapeRef.new(shape: FailureCode, location_name: "failureCode"))
|
207
|
+
FailedRequest.add_member(:id, Shapes::ShapeRef.new(shape: DialRequestId, location_name: "id"))
|
208
|
+
FailedRequest.struct_class = Types::FailedRequest
|
209
|
+
|
210
|
+
FailedRequestList.member = Shapes::ShapeRef.new(shape: FailedRequest)
|
211
|
+
|
212
|
+
GetCampaignStateBatchRequest.add_member(:campaign_ids, Shapes::ShapeRef.new(shape: GetCampaignStateBatchRequestCampaignIdsList, required: true, location_name: "campaignIds"))
|
213
|
+
GetCampaignStateBatchRequest.struct_class = Types::GetCampaignStateBatchRequest
|
214
|
+
|
215
|
+
GetCampaignStateBatchRequestCampaignIdsList.member = Shapes::ShapeRef.new(shape: CampaignId)
|
216
|
+
|
217
|
+
GetCampaignStateBatchResponse.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedCampaignStateResponseList, location_name: "failedRequests"))
|
218
|
+
GetCampaignStateBatchResponse.add_member(:successful_requests, Shapes::ShapeRef.new(shape: SuccessfulCampaignStateResponseList, location_name: "successfulRequests"))
|
219
|
+
GetCampaignStateBatchResponse.struct_class = Types::GetCampaignStateBatchResponse
|
220
|
+
|
221
|
+
GetCampaignStateRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
|
222
|
+
GetCampaignStateRequest.struct_class = Types::GetCampaignStateRequest
|
223
|
+
|
224
|
+
GetCampaignStateResponse.add_member(:state, Shapes::ShapeRef.new(shape: CampaignState, location_name: "state"))
|
225
|
+
GetCampaignStateResponse.struct_class = Types::GetCampaignStateResponse
|
226
|
+
|
227
|
+
GetConnectInstanceConfigRequest.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "connectInstanceId"))
|
228
|
+
GetConnectInstanceConfigRequest.struct_class = Types::GetConnectInstanceConfigRequest
|
229
|
+
|
230
|
+
GetConnectInstanceConfigResponse.add_member(:connect_instance_config, Shapes::ShapeRef.new(shape: InstanceConfig, location_name: "connectInstanceConfig"))
|
231
|
+
GetConnectInstanceConfigResponse.struct_class = Types::GetConnectInstanceConfigResponse
|
232
|
+
|
233
|
+
GetInstanceOnboardingJobStatusRequest.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "connectInstanceId"))
|
234
|
+
GetInstanceOnboardingJobStatusRequest.struct_class = Types::GetInstanceOnboardingJobStatusRequest
|
235
|
+
|
236
|
+
GetInstanceOnboardingJobStatusResponse.add_member(:connect_instance_onboarding_job_status, Shapes::ShapeRef.new(shape: InstanceOnboardingJobStatus, location_name: "connectInstanceOnboardingJobStatus"))
|
237
|
+
GetInstanceOnboardingJobStatusResponse.struct_class = Types::GetInstanceOnboardingJobStatusResponse
|
238
|
+
|
239
|
+
InstanceConfig.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "connectInstanceId"))
|
240
|
+
InstanceConfig.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, required: true, location_name: "encryptionConfig"))
|
241
|
+
InstanceConfig.add_member(:service_linked_role_arn, Shapes::ShapeRef.new(shape: ServiceLinkedRoleArn, required: true, location_name: "serviceLinkedRoleArn"))
|
242
|
+
InstanceConfig.struct_class = Types::InstanceConfig
|
243
|
+
|
244
|
+
InstanceIdFilter.add_member(:operator, Shapes::ShapeRef.new(shape: InstanceIdFilterOperator, required: true, location_name: "operator"))
|
245
|
+
InstanceIdFilter.add_member(:value, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "value"))
|
246
|
+
InstanceIdFilter.struct_class = Types::InstanceIdFilter
|
247
|
+
|
248
|
+
InstanceOnboardingJobStatus.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "connectInstanceId"))
|
249
|
+
InstanceOnboardingJobStatus.add_member(:failure_code, Shapes::ShapeRef.new(shape: InstanceOnboardingJobFailureCode, location_name: "failureCode"))
|
250
|
+
InstanceOnboardingJobStatus.add_member(:status, Shapes::ShapeRef.new(shape: InstanceOnboardingJobStatusCode, required: true, location_name: "status"))
|
251
|
+
InstanceOnboardingJobStatus.struct_class = Types::InstanceOnboardingJobStatus
|
252
|
+
|
253
|
+
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
254
|
+
InternalServerException.add_member(:x_amz_error_type, Shapes::ShapeRef.new(shape: XAmazonErrorType, location: "header", location_name: "x-amzn-ErrorType"))
|
255
|
+
InternalServerException.struct_class = Types::InternalServerException
|
256
|
+
|
257
|
+
InvalidCampaignStateException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
258
|
+
InvalidCampaignStateException.add_member(:state, Shapes::ShapeRef.new(shape: CampaignState, required: true, location_name: "state"))
|
259
|
+
InvalidCampaignStateException.add_member(:x_amz_error_type, Shapes::ShapeRef.new(shape: XAmazonErrorType, location: "header", location_name: "x-amzn-ErrorType"))
|
260
|
+
InvalidCampaignStateException.struct_class = Types::InvalidCampaignStateException
|
261
|
+
|
262
|
+
InvalidStateException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
263
|
+
InvalidStateException.add_member(:x_amz_error_type, Shapes::ShapeRef.new(shape: XAmazonErrorType, location: "header", location_name: "x-amzn-ErrorType"))
|
264
|
+
InvalidStateException.struct_class = Types::InvalidStateException
|
265
|
+
|
266
|
+
ListCampaignsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: CampaignFilters, location_name: "filters"))
|
267
|
+
ListCampaignsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
268
|
+
ListCampaignsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
269
|
+
ListCampaignsRequest.struct_class = Types::ListCampaignsRequest
|
270
|
+
|
271
|
+
ListCampaignsResponse.add_member(:campaign_summary_list, Shapes::ShapeRef.new(shape: CampaignSummaryList, location_name: "campaignSummaryList"))
|
272
|
+
ListCampaignsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
273
|
+
ListCampaignsResponse.struct_class = Types::ListCampaignsResponse
|
274
|
+
|
275
|
+
ListTagsForResourceRequest.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "arn"))
|
276
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
277
|
+
|
278
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
279
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
280
|
+
|
281
|
+
OutboundCallConfig.add_member(:answer_machine_detection_config, Shapes::ShapeRef.new(shape: AnswerMachineDetectionConfig, location_name: "answerMachineDetectionConfig"))
|
282
|
+
OutboundCallConfig.add_member(:connect_contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "connectContactFlowId"))
|
283
|
+
OutboundCallConfig.add_member(:connect_queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location_name: "connectQueueId"))
|
284
|
+
OutboundCallConfig.add_member(:connect_source_phone_number, Shapes::ShapeRef.new(shape: SourcePhoneNumber, location_name: "connectSourcePhoneNumber"))
|
285
|
+
OutboundCallConfig.struct_class = Types::OutboundCallConfig
|
286
|
+
|
287
|
+
PauseCampaignRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
|
288
|
+
PauseCampaignRequest.struct_class = Types::PauseCampaignRequest
|
289
|
+
|
290
|
+
PredictiveDialerConfig.add_member(:bandwidth_allocation, Shapes::ShapeRef.new(shape: BandwidthAllocation, required: true, location_name: "bandwidthAllocation"))
|
291
|
+
PredictiveDialerConfig.struct_class = Types::PredictiveDialerConfig
|
292
|
+
|
293
|
+
ProgressiveDialerConfig.add_member(:bandwidth_allocation, Shapes::ShapeRef.new(shape: BandwidthAllocation, required: true, location_name: "bandwidthAllocation"))
|
294
|
+
ProgressiveDialerConfig.struct_class = Types::ProgressiveDialerConfig
|
295
|
+
|
296
|
+
PutDialRequestBatchRequest.add_member(:dial_requests, Shapes::ShapeRef.new(shape: DialRequestList, required: true, location_name: "dialRequests"))
|
297
|
+
PutDialRequestBatchRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
|
298
|
+
PutDialRequestBatchRequest.struct_class = Types::PutDialRequestBatchRequest
|
299
|
+
|
300
|
+
PutDialRequestBatchResponse.add_member(:failed_requests, Shapes::ShapeRef.new(shape: FailedRequestList, location_name: "failedRequests"))
|
301
|
+
PutDialRequestBatchResponse.add_member(:successful_requests, Shapes::ShapeRef.new(shape: SuccessfulRequestList, location_name: "successfulRequests"))
|
302
|
+
PutDialRequestBatchResponse.struct_class = Types::PutDialRequestBatchResponse
|
303
|
+
|
304
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
305
|
+
ResourceNotFoundException.add_member(:x_amz_error_type, Shapes::ShapeRef.new(shape: XAmazonErrorType, location: "header", location_name: "x-amzn-ErrorType"))
|
306
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
307
|
+
|
308
|
+
ResumeCampaignRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
|
309
|
+
ResumeCampaignRequest.struct_class = Types::ResumeCampaignRequest
|
310
|
+
|
311
|
+
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
312
|
+
ServiceQuotaExceededException.add_member(:x_amz_error_type, Shapes::ShapeRef.new(shape: XAmazonErrorType, location: "header", location_name: "x-amzn-ErrorType"))
|
313
|
+
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
314
|
+
|
315
|
+
StartCampaignRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
|
316
|
+
StartCampaignRequest.struct_class = Types::StartCampaignRequest
|
317
|
+
|
318
|
+
StartInstanceOnboardingJobRequest.add_member(:connect_instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "connectInstanceId"))
|
319
|
+
StartInstanceOnboardingJobRequest.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, required: true, location_name: "encryptionConfig"))
|
320
|
+
StartInstanceOnboardingJobRequest.struct_class = Types::StartInstanceOnboardingJobRequest
|
321
|
+
|
322
|
+
StartInstanceOnboardingJobResponse.add_member(:connect_instance_onboarding_job_status, Shapes::ShapeRef.new(shape: InstanceOnboardingJobStatus, location_name: "connectInstanceOnboardingJobStatus"))
|
323
|
+
StartInstanceOnboardingJobResponse.struct_class = Types::StartInstanceOnboardingJobResponse
|
324
|
+
|
325
|
+
StopCampaignRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
|
326
|
+
StopCampaignRequest.struct_class = Types::StopCampaignRequest
|
327
|
+
|
328
|
+
SuccessfulCampaignStateResponse.add_member(:campaign_id, Shapes::ShapeRef.new(shape: CampaignId, location_name: "campaignId"))
|
329
|
+
SuccessfulCampaignStateResponse.add_member(:state, Shapes::ShapeRef.new(shape: CampaignState, location_name: "state"))
|
330
|
+
SuccessfulCampaignStateResponse.struct_class = Types::SuccessfulCampaignStateResponse
|
331
|
+
|
332
|
+
SuccessfulCampaignStateResponseList.member = Shapes::ShapeRef.new(shape: SuccessfulCampaignStateResponse)
|
333
|
+
|
334
|
+
SuccessfulRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
|
335
|
+
SuccessfulRequest.add_member(:id, Shapes::ShapeRef.new(shape: DialRequestId, location_name: "id"))
|
336
|
+
SuccessfulRequest.struct_class = Types::SuccessfulRequest
|
337
|
+
|
338
|
+
SuccessfulRequestList.member = Shapes::ShapeRef.new(shape: SuccessfulRequest)
|
339
|
+
|
340
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
341
|
+
|
342
|
+
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
343
|
+
TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
344
|
+
|
345
|
+
TagResourceRequest.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "arn"))
|
346
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
|
347
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
348
|
+
|
349
|
+
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
350
|
+
ThrottlingException.add_member(:x_amz_error_type, Shapes::ShapeRef.new(shape: XAmazonErrorType, location: "header", location_name: "x-amzn-ErrorType"))
|
351
|
+
ThrottlingException.struct_class = Types::ThrottlingException
|
352
|
+
|
353
|
+
UntagResourceRequest.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "arn"))
|
354
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
|
355
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
356
|
+
|
357
|
+
UpdateCampaignDialerConfigRequest.add_member(:dialer_config, Shapes::ShapeRef.new(shape: DialerConfig, required: true, location_name: "dialerConfig"))
|
358
|
+
UpdateCampaignDialerConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
|
359
|
+
UpdateCampaignDialerConfigRequest.struct_class = Types::UpdateCampaignDialerConfigRequest
|
360
|
+
|
361
|
+
UpdateCampaignNameRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
|
362
|
+
UpdateCampaignNameRequest.add_member(:name, Shapes::ShapeRef.new(shape: CampaignName, required: true, location_name: "name"))
|
363
|
+
UpdateCampaignNameRequest.struct_class = Types::UpdateCampaignNameRequest
|
364
|
+
|
365
|
+
UpdateCampaignOutboundCallConfigRequest.add_member(:answer_machine_detection_config, Shapes::ShapeRef.new(shape: AnswerMachineDetectionConfig, location_name: "answerMachineDetectionConfig"))
|
366
|
+
UpdateCampaignOutboundCallConfigRequest.add_member(:connect_contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, location_name: "connectContactFlowId"))
|
367
|
+
UpdateCampaignOutboundCallConfigRequest.add_member(:connect_source_phone_number, Shapes::ShapeRef.new(shape: SourcePhoneNumber, location_name: "connectSourcePhoneNumber"))
|
368
|
+
UpdateCampaignOutboundCallConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: CampaignId, required: true, location: "uri", location_name: "id"))
|
369
|
+
UpdateCampaignOutboundCallConfigRequest.struct_class = Types::UpdateCampaignOutboundCallConfigRequest
|
370
|
+
|
371
|
+
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
372
|
+
ValidationException.add_member(:x_amz_error_type, Shapes::ShapeRef.new(shape: XAmazonErrorType, location: "header", location_name: "x-amzn-ErrorType"))
|
373
|
+
ValidationException.struct_class = Types::ValidationException
|
374
|
+
|
375
|
+
|
376
|
+
# @api private
|
377
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
378
|
+
|
379
|
+
api.version = "2021-01-30"
|
380
|
+
|
381
|
+
api.metadata = {
|
382
|
+
"apiVersion" => "2021-01-30",
|
383
|
+
"endpointPrefix" => "connect-campaigns",
|
384
|
+
"jsonVersion" => "1.1",
|
385
|
+
"protocol" => "rest-json",
|
386
|
+
"serviceFullName" => "AmazonConnectCampaignService",
|
387
|
+
"serviceId" => "ConnectCampaigns",
|
388
|
+
"signatureVersion" => "v4",
|
389
|
+
"signingName" => "connect-campaigns",
|
390
|
+
"uid" => "connectcampaigns-2021-01-30",
|
391
|
+
}
|
392
|
+
|
393
|
+
api.add_operation(:create_campaign, Seahorse::Model::Operation.new.tap do |o|
|
394
|
+
o.name = "CreateCampaign"
|
395
|
+
o.http_method = "PUT"
|
396
|
+
o.http_request_uri = "/campaigns"
|
397
|
+
o.input = Shapes::ShapeRef.new(shape: CreateCampaignRequest)
|
398
|
+
o.output = Shapes::ShapeRef.new(shape: CreateCampaignResponse)
|
399
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
400
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
401
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
402
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
403
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
404
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
405
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
406
|
+
end)
|
407
|
+
|
408
|
+
api.add_operation(:delete_campaign, Seahorse::Model::Operation.new.tap do |o|
|
409
|
+
o.name = "DeleteCampaign"
|
410
|
+
o.http_method = "DELETE"
|
411
|
+
o.http_request_uri = "/campaigns/{id}"
|
412
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteCampaignRequest)
|
413
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
414
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
415
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
416
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
417
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
418
|
+
end)
|
419
|
+
|
420
|
+
api.add_operation(:delete_connect_instance_config, Seahorse::Model::Operation.new.tap do |o|
|
421
|
+
o.name = "DeleteConnectInstanceConfig"
|
422
|
+
o.http_method = "DELETE"
|
423
|
+
o.http_request_uri = "/connect-instance/{connectInstanceId}/config"
|
424
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteConnectInstanceConfigRequest)
|
425
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
426
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
427
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
428
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
429
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
430
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
431
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
432
|
+
end)
|
433
|
+
|
434
|
+
api.add_operation(:delete_instance_onboarding_job, Seahorse::Model::Operation.new.tap do |o|
|
435
|
+
o.name = "DeleteInstanceOnboardingJob"
|
436
|
+
o.http_method = "DELETE"
|
437
|
+
o.http_request_uri = "/connect-instance/{connectInstanceId}/onboarding"
|
438
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteInstanceOnboardingJobRequest)
|
439
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
440
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
441
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
442
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
443
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
444
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
445
|
+
end)
|
446
|
+
|
447
|
+
api.add_operation(:describe_campaign, Seahorse::Model::Operation.new.tap do |o|
|
448
|
+
o.name = "DescribeCampaign"
|
449
|
+
o.http_method = "GET"
|
450
|
+
o.http_request_uri = "/campaigns/{id}"
|
451
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeCampaignRequest)
|
452
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeCampaignResponse)
|
453
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
454
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
455
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
456
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
457
|
+
end)
|
458
|
+
|
459
|
+
api.add_operation(:get_campaign_state, Seahorse::Model::Operation.new.tap do |o|
|
460
|
+
o.name = "GetCampaignState"
|
461
|
+
o.http_method = "GET"
|
462
|
+
o.http_request_uri = "/campaigns/{id}/state"
|
463
|
+
o.input = Shapes::ShapeRef.new(shape: GetCampaignStateRequest)
|
464
|
+
o.output = Shapes::ShapeRef.new(shape: GetCampaignStateResponse)
|
465
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
466
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
467
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
468
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
469
|
+
end)
|
470
|
+
|
471
|
+
api.add_operation(:get_campaign_state_batch, Seahorse::Model::Operation.new.tap do |o|
|
472
|
+
o.name = "GetCampaignStateBatch"
|
473
|
+
o.http_method = "POST"
|
474
|
+
o.http_request_uri = "/campaigns-state"
|
475
|
+
o.input = Shapes::ShapeRef.new(shape: GetCampaignStateBatchRequest)
|
476
|
+
o.output = Shapes::ShapeRef.new(shape: GetCampaignStateBatchResponse)
|
477
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
478
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
479
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
480
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
481
|
+
end)
|
482
|
+
|
483
|
+
api.add_operation(:get_connect_instance_config, Seahorse::Model::Operation.new.tap do |o|
|
484
|
+
o.name = "GetConnectInstanceConfig"
|
485
|
+
o.http_method = "GET"
|
486
|
+
o.http_request_uri = "/connect-instance/{connectInstanceId}/config"
|
487
|
+
o.input = Shapes::ShapeRef.new(shape: GetConnectInstanceConfigRequest)
|
488
|
+
o.output = Shapes::ShapeRef.new(shape: GetConnectInstanceConfigResponse)
|
489
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
490
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
491
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
492
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
493
|
+
end)
|
494
|
+
|
495
|
+
api.add_operation(:get_instance_onboarding_job_status, Seahorse::Model::Operation.new.tap do |o|
|
496
|
+
o.name = "GetInstanceOnboardingJobStatus"
|
497
|
+
o.http_method = "GET"
|
498
|
+
o.http_request_uri = "/connect-instance/{connectInstanceId}/onboarding"
|
499
|
+
o.input = Shapes::ShapeRef.new(shape: GetInstanceOnboardingJobStatusRequest)
|
500
|
+
o.output = Shapes::ShapeRef.new(shape: GetInstanceOnboardingJobStatusResponse)
|
501
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
502
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
503
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
504
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
505
|
+
end)
|
506
|
+
|
507
|
+
api.add_operation(:list_campaigns, Seahorse::Model::Operation.new.tap do |o|
|
508
|
+
o.name = "ListCampaigns"
|
509
|
+
o.http_method = "POST"
|
510
|
+
o.http_request_uri = "/campaigns-summary"
|
511
|
+
o.input = Shapes::ShapeRef.new(shape: ListCampaignsRequest)
|
512
|
+
o.output = Shapes::ShapeRef.new(shape: ListCampaignsResponse)
|
513
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
514
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
515
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
516
|
+
o[:pager] = Aws::Pager.new(
|
517
|
+
limit_key: "max_results",
|
518
|
+
tokens: {
|
519
|
+
"next_token" => "next_token"
|
520
|
+
}
|
521
|
+
)
|
522
|
+
end)
|
523
|
+
|
524
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
525
|
+
o.name = "ListTagsForResource"
|
526
|
+
o.http_method = "GET"
|
527
|
+
o.http_request_uri = "/tags/{arn}"
|
528
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
529
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
530
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
531
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
532
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
533
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
534
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
535
|
+
end)
|
536
|
+
|
537
|
+
api.add_operation(:pause_campaign, Seahorse::Model::Operation.new.tap do |o|
|
538
|
+
o.name = "PauseCampaign"
|
539
|
+
o.http_method = "POST"
|
540
|
+
o.http_request_uri = "/campaigns/{id}/pause"
|
541
|
+
o.input = Shapes::ShapeRef.new(shape: PauseCampaignRequest)
|
542
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
543
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
544
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
545
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
546
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCampaignStateException)
|
547
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
548
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
549
|
+
end)
|
550
|
+
|
551
|
+
api.add_operation(:put_dial_request_batch, Seahorse::Model::Operation.new.tap do |o|
|
552
|
+
o.name = "PutDialRequestBatch"
|
553
|
+
o.http_method = "PUT"
|
554
|
+
o.http_request_uri = "/campaigns/{id}/dial-requests"
|
555
|
+
o.input = Shapes::ShapeRef.new(shape: PutDialRequestBatchRequest)
|
556
|
+
o.output = Shapes::ShapeRef.new(shape: PutDialRequestBatchResponse)
|
557
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
558
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
559
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
560
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
561
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCampaignStateException)
|
562
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
563
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
564
|
+
end)
|
565
|
+
|
566
|
+
api.add_operation(:resume_campaign, Seahorse::Model::Operation.new.tap do |o|
|
567
|
+
o.name = "ResumeCampaign"
|
568
|
+
o.http_method = "POST"
|
569
|
+
o.http_request_uri = "/campaigns/{id}/resume"
|
570
|
+
o.input = Shapes::ShapeRef.new(shape: ResumeCampaignRequest)
|
571
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
572
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
573
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
574
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
575
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCampaignStateException)
|
576
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
577
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
578
|
+
end)
|
579
|
+
|
580
|
+
api.add_operation(:start_campaign, Seahorse::Model::Operation.new.tap do |o|
|
581
|
+
o.name = "StartCampaign"
|
582
|
+
o.http_method = "POST"
|
583
|
+
o.http_request_uri = "/campaigns/{id}/start"
|
584
|
+
o.input = Shapes::ShapeRef.new(shape: StartCampaignRequest)
|
585
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
586
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
587
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
588
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
589
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCampaignStateException)
|
590
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
591
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
592
|
+
end)
|
593
|
+
|
594
|
+
api.add_operation(:start_instance_onboarding_job, Seahorse::Model::Operation.new.tap do |o|
|
595
|
+
o.name = "StartInstanceOnboardingJob"
|
596
|
+
o.http_method = "PUT"
|
597
|
+
o.http_request_uri = "/connect-instance/{connectInstanceId}/onboarding"
|
598
|
+
o.input = Shapes::ShapeRef.new(shape: StartInstanceOnboardingJobRequest)
|
599
|
+
o.output = Shapes::ShapeRef.new(shape: StartInstanceOnboardingJobResponse)
|
600
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
601
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
602
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
603
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
604
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
605
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
606
|
+
end)
|
607
|
+
|
608
|
+
api.add_operation(:stop_campaign, Seahorse::Model::Operation.new.tap do |o|
|
609
|
+
o.name = "StopCampaign"
|
610
|
+
o.http_method = "POST"
|
611
|
+
o.http_request_uri = "/campaigns/{id}/stop"
|
612
|
+
o.input = Shapes::ShapeRef.new(shape: StopCampaignRequest)
|
613
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
614
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
615
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
616
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
617
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidCampaignStateException)
|
618
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
619
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
620
|
+
end)
|
621
|
+
|
622
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
623
|
+
o.name = "TagResource"
|
624
|
+
o.http_method = "POST"
|
625
|
+
o.http_request_uri = "/tags/{arn}"
|
626
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
627
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
628
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
629
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
630
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
631
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
632
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
633
|
+
end)
|
634
|
+
|
635
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
636
|
+
o.name = "UntagResource"
|
637
|
+
o.http_method = "DELETE"
|
638
|
+
o.http_request_uri = "/tags/{arn}"
|
639
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
640
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
641
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
642
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
643
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
644
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
645
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
646
|
+
end)
|
647
|
+
|
648
|
+
api.add_operation(:update_campaign_dialer_config, Seahorse::Model::Operation.new.tap do |o|
|
649
|
+
o.name = "UpdateCampaignDialerConfig"
|
650
|
+
o.http_method = "POST"
|
651
|
+
o.http_request_uri = "/campaigns/{id}/dialer-config"
|
652
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateCampaignDialerConfigRequest)
|
653
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
654
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
655
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
656
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
657
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
658
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
659
|
+
end)
|
660
|
+
|
661
|
+
api.add_operation(:update_campaign_name, Seahorse::Model::Operation.new.tap do |o|
|
662
|
+
o.name = "UpdateCampaignName"
|
663
|
+
o.http_method = "POST"
|
664
|
+
o.http_request_uri = "/campaigns/{id}/name"
|
665
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateCampaignNameRequest)
|
666
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
667
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
668
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
669
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
670
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
671
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
672
|
+
end)
|
673
|
+
|
674
|
+
api.add_operation(:update_campaign_outbound_call_config, Seahorse::Model::Operation.new.tap do |o|
|
675
|
+
o.name = "UpdateCampaignOutboundCallConfig"
|
676
|
+
o.http_method = "POST"
|
677
|
+
o.http_request_uri = "/campaigns/{id}/outbound-call-config"
|
678
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateCampaignOutboundCallConfigRequest)
|
679
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
680
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
681
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
682
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
683
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
684
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
685
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
686
|
+
end)
|
687
|
+
end
|
688
|
+
|
689
|
+
end
|
690
|
+
end
|