cdk-comprehend-s3olap 2.0.10 → 2.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +4 -4
- package/lib/cdk-comprehend-s3olap.js +2 -2
- package/lib/comprehend-lambdas.js +2 -2
- package/lib/iam-roles.js +4 -4
- package/node_modules/aws-sdk/CHANGELOG.md +9 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/connectcampaigns-2021-01-30.examples.json +5 -0
- package/node_modules/aws-sdk/apis/connectcampaigns-2021-01-30.min.json +767 -0
- package/node_modules/aws-sdk/apis/connectcampaigns-2021-01-30.paginators.json +10 -0
- package/node_modules/aws-sdk/apis/ds-2015-04-16.min.json +78 -0
- package/node_modules/aws-sdk/apis/metadata.json +3 -0
- package/node_modules/aws-sdk/apis/outposts-2019-12-03.min.json +8 -0
- package/node_modules/aws-sdk/clients/all.d.ts +1 -0
- package/node_modules/aws-sdk/clients/all.js +2 -1
- package/node_modules/aws-sdk/clients/connect.d.ts +1 -1
- package/node_modules/aws-sdk/clients/connectcampaigns.d.ts +446 -0
- package/node_modules/aws-sdk/clients/connectcampaigns.js +18 -0
- package/node_modules/aws-sdk/clients/directoryservice.d.ts +124 -1
- package/node_modules/aws-sdk/clients/dynamodb.d.ts +18 -18
- package/node_modules/aws-sdk/clients/dynamodbstreams.d.ts +1 -1
- package/node_modules/aws-sdk/clients/kafka.d.ts +1 -1
- package/node_modules/aws-sdk/clients/outposts.d.ts +11 -0
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +43 -6
- package/node_modules/aws-sdk/dist/aws-sdk.js +6 -3
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +21 -21
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +2 -0
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts +11 -11
- package/node_modules/aws-sdk/package.json +1 -1
- package/node_modules/esbuild/install.js +5 -22
- package/node_modules/esbuild/lib/main.d.ts +2 -0
- package/node_modules/esbuild/lib/main.js +21 -28
- package/node_modules/esbuild/package.json +21 -21
- package/node_modules/esbuild-linux-64/bin/esbuild +0 -0
- package/node_modules/esbuild-linux-64/package.json +1 -1
- package/package.json +5 -5
@@ -868,6 +868,52 @@
|
|
868
868
|
}
|
869
869
|
}
|
870
870
|
},
|
871
|
+
"DescribeSettings": {
|
872
|
+
"input": {
|
873
|
+
"type": "structure",
|
874
|
+
"required": [
|
875
|
+
"DirectoryId"
|
876
|
+
],
|
877
|
+
"members": {
|
878
|
+
"DirectoryId": {},
|
879
|
+
"Status": {},
|
880
|
+
"NextToken": {}
|
881
|
+
}
|
882
|
+
},
|
883
|
+
"output": {
|
884
|
+
"type": "structure",
|
885
|
+
"members": {
|
886
|
+
"DirectoryId": {},
|
887
|
+
"SettingEntries": {
|
888
|
+
"type": "list",
|
889
|
+
"member": {
|
890
|
+
"type": "structure",
|
891
|
+
"members": {
|
892
|
+
"Type": {},
|
893
|
+
"Name": {},
|
894
|
+
"AllowedValues": {},
|
895
|
+
"AppliedValue": {},
|
896
|
+
"RequestedValue": {},
|
897
|
+
"RequestStatus": {},
|
898
|
+
"RequestDetailedStatus": {
|
899
|
+
"type": "map",
|
900
|
+
"key": {},
|
901
|
+
"value": {}
|
902
|
+
},
|
903
|
+
"RequestStatusMessage": {},
|
904
|
+
"LastUpdatedDateTime": {
|
905
|
+
"type": "timestamp"
|
906
|
+
},
|
907
|
+
"LastRequestedDateTime": {
|
908
|
+
"type": "timestamp"
|
909
|
+
}
|
910
|
+
}
|
911
|
+
}
|
912
|
+
},
|
913
|
+
"NextToken": {}
|
914
|
+
}
|
915
|
+
}
|
916
|
+
},
|
871
917
|
"DescribeSharedDirectories": {
|
872
918
|
"input": {
|
873
919
|
"type": "structure",
|
@@ -1660,6 +1706,38 @@
|
|
1660
1706
|
"members": {}
|
1661
1707
|
}
|
1662
1708
|
},
|
1709
|
+
"UpdateSettings": {
|
1710
|
+
"input": {
|
1711
|
+
"type": "structure",
|
1712
|
+
"required": [
|
1713
|
+
"DirectoryId",
|
1714
|
+
"Settings"
|
1715
|
+
],
|
1716
|
+
"members": {
|
1717
|
+
"DirectoryId": {},
|
1718
|
+
"Settings": {
|
1719
|
+
"type": "list",
|
1720
|
+
"member": {
|
1721
|
+
"type": "structure",
|
1722
|
+
"required": [
|
1723
|
+
"Name",
|
1724
|
+
"Value"
|
1725
|
+
],
|
1726
|
+
"members": {
|
1727
|
+
"Name": {},
|
1728
|
+
"Value": {}
|
1729
|
+
}
|
1730
|
+
}
|
1731
|
+
}
|
1732
|
+
}
|
1733
|
+
},
|
1734
|
+
"output": {
|
1735
|
+
"type": "structure",
|
1736
|
+
"members": {
|
1737
|
+
"DirectoryId": {}
|
1738
|
+
}
|
1739
|
+
}
|
1740
|
+
},
|
1663
1741
|
"UpdateTrust": {
|
1664
1742
|
"input": {
|
1665
1743
|
"type": "structure",
|
@@ -307,3 +307,4 @@ export import ChimeSDKMediaPipelines = require('./chimesdkmediapipelines');
|
|
307
307
|
export import EMRServerless = require('./emrserverless');
|
308
308
|
export import M2 = require('./m2');
|
309
309
|
export import RedshiftServerless = require('./redshiftserverless');
|
310
|
+
export import ConnectCampaigns = require('./connectcampaigns');
|
@@ -308,5 +308,6 @@ module.exports = {
|
|
308
308
|
ChimeSDKMediaPipelines: require('./chimesdkmediapipelines'),
|
309
309
|
EMRServerless: require('./emrserverless'),
|
310
310
|
M2: require('./m2'),
|
311
|
-
RedshiftServerless: require('./redshiftserverless')
|
311
|
+
RedshiftServerless: require('./redshiftserverless'),
|
312
|
+
ConnectCampaigns: require('./connectcampaigns')
|
312
313
|
};
|
@@ -3584,7 +3584,7 @@ declare namespace Connect {
|
|
3584
3584
|
*/
|
3585
3585
|
OutboundCallsEnabled?: OutboundCallsEnabled;
|
3586
3586
|
}
|
3587
|
-
export type InstanceAttributeType = "INBOUND_CALLS"|"OUTBOUND_CALLS"|"CONTACTFLOW_LOGS"|"CONTACT_LENS"|"AUTO_RESOLVE_BEST_VOICES"|"USE_CUSTOM_TTS_VOICES"|"EARLY_MEDIA"|"MULTI_PARTY_CONFERENCE"|string;
|
3587
|
+
export type InstanceAttributeType = "INBOUND_CALLS"|"OUTBOUND_CALLS"|"CONTACTFLOW_LOGS"|"CONTACT_LENS"|"AUTO_RESOLVE_BEST_VOICES"|"USE_CUSTOM_TTS_VOICES"|"EARLY_MEDIA"|"MULTI_PARTY_CONFERENCE"|"HIGH_VOLUME_OUTBOUND"|string;
|
3588
3588
|
export type InstanceAttributeValue = string;
|
3589
3589
|
export type InstanceId = string;
|
3590
3590
|
export type InstanceStatus = "CREATION_IN_PROGRESS"|"ACTIVE"|"CREATION_FAILED"|string;
|
@@ -0,0 +1,446 @@
|
|
1
|
+
import {Request} from '../lib/request';
|
2
|
+
import {Response} from '../lib/response';
|
3
|
+
import {AWSError} from '../lib/error';
|
4
|
+
import {Service} from '../lib/service';
|
5
|
+
import {ServiceConfigurationOptions} from '../lib/service';
|
6
|
+
import {ConfigBase as Config} from '../lib/config-base';
|
7
|
+
interface Blob {}
|
8
|
+
declare class ConnectCampaigns extends Service {
|
9
|
+
/**
|
10
|
+
* Constructs a service object. This object has one method for each API operation.
|
11
|
+
*/
|
12
|
+
constructor(options?: ConnectCampaigns.Types.ClientConfiguration)
|
13
|
+
config: Config & ConnectCampaigns.Types.ClientConfiguration;
|
14
|
+
/**
|
15
|
+
* Creates a campaign for the specified Amazon Connect account. This API is idempotent.
|
16
|
+
*/
|
17
|
+
createCampaign(params: ConnectCampaigns.Types.CreateCampaignRequest, callback?: (err: AWSError, data: ConnectCampaigns.Types.CreateCampaignResponse) => void): Request<ConnectCampaigns.Types.CreateCampaignResponse, AWSError>;
|
18
|
+
/**
|
19
|
+
* Creates a campaign for the specified Amazon Connect account. This API is idempotent.
|
20
|
+
*/
|
21
|
+
createCampaign(callback?: (err: AWSError, data: ConnectCampaigns.Types.CreateCampaignResponse) => void): Request<ConnectCampaigns.Types.CreateCampaignResponse, AWSError>;
|
22
|
+
/**
|
23
|
+
* Deletes a campaign from the specified Amazon Connect account.
|
24
|
+
*/
|
25
|
+
deleteCampaign(params: ConnectCampaigns.Types.DeleteCampaignRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
26
|
+
/**
|
27
|
+
* Deletes a campaign from the specified Amazon Connect account.
|
28
|
+
*/
|
29
|
+
deleteCampaign(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
30
|
+
/**
|
31
|
+
* Deletes a connect instance config from the specified AWS account.
|
32
|
+
*/
|
33
|
+
deleteConnectInstanceConfig(params: ConnectCampaigns.Types.DeleteConnectInstanceConfigRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
34
|
+
/**
|
35
|
+
* Deletes a connect instance config from the specified AWS account.
|
36
|
+
*/
|
37
|
+
deleteConnectInstanceConfig(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
38
|
+
/**
|
39
|
+
* Delete the Connect Campaigns onboarding job for the specified Amazon Connect instance.
|
40
|
+
*/
|
41
|
+
deleteInstanceOnboardingJob(params: ConnectCampaigns.Types.DeleteInstanceOnboardingJobRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
42
|
+
/**
|
43
|
+
* Delete the Connect Campaigns onboarding job for the specified Amazon Connect instance.
|
44
|
+
*/
|
45
|
+
deleteInstanceOnboardingJob(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
46
|
+
/**
|
47
|
+
* Describes the specific campaign.
|
48
|
+
*/
|
49
|
+
describeCampaign(params: ConnectCampaigns.Types.DescribeCampaignRequest, callback?: (err: AWSError, data: ConnectCampaigns.Types.DescribeCampaignResponse) => void): Request<ConnectCampaigns.Types.DescribeCampaignResponse, AWSError>;
|
50
|
+
/**
|
51
|
+
* Describes the specific campaign.
|
52
|
+
*/
|
53
|
+
describeCampaign(callback?: (err: AWSError, data: ConnectCampaigns.Types.DescribeCampaignResponse) => void): Request<ConnectCampaigns.Types.DescribeCampaignResponse, AWSError>;
|
54
|
+
/**
|
55
|
+
* Get state of a campaign for the specified Amazon Connect account.
|
56
|
+
*/
|
57
|
+
getCampaignState(params: ConnectCampaigns.Types.GetCampaignStateRequest, callback?: (err: AWSError, data: ConnectCampaigns.Types.GetCampaignStateResponse) => void): Request<ConnectCampaigns.Types.GetCampaignStateResponse, AWSError>;
|
58
|
+
/**
|
59
|
+
* Get state of a campaign for the specified Amazon Connect account.
|
60
|
+
*/
|
61
|
+
getCampaignState(callback?: (err: AWSError, data: ConnectCampaigns.Types.GetCampaignStateResponse) => void): Request<ConnectCampaigns.Types.GetCampaignStateResponse, AWSError>;
|
62
|
+
/**
|
63
|
+
* Get state of campaigns for the specified Amazon Connect account.
|
64
|
+
*/
|
65
|
+
getCampaignStateBatch(params: ConnectCampaigns.Types.GetCampaignStateBatchRequest, callback?: (err: AWSError, data: ConnectCampaigns.Types.GetCampaignStateBatchResponse) => void): Request<ConnectCampaigns.Types.GetCampaignStateBatchResponse, AWSError>;
|
66
|
+
/**
|
67
|
+
* Get state of campaigns for the specified Amazon Connect account.
|
68
|
+
*/
|
69
|
+
getCampaignStateBatch(callback?: (err: AWSError, data: ConnectCampaigns.Types.GetCampaignStateBatchResponse) => void): Request<ConnectCampaigns.Types.GetCampaignStateBatchResponse, AWSError>;
|
70
|
+
/**
|
71
|
+
* Get the specific Connect instance config.
|
72
|
+
*/
|
73
|
+
getConnectInstanceConfig(params: ConnectCampaigns.Types.GetConnectInstanceConfigRequest, callback?: (err: AWSError, data: ConnectCampaigns.Types.GetConnectInstanceConfigResponse) => void): Request<ConnectCampaigns.Types.GetConnectInstanceConfigResponse, AWSError>;
|
74
|
+
/**
|
75
|
+
* Get the specific Connect instance config.
|
76
|
+
*/
|
77
|
+
getConnectInstanceConfig(callback?: (err: AWSError, data: ConnectCampaigns.Types.GetConnectInstanceConfigResponse) => void): Request<ConnectCampaigns.Types.GetConnectInstanceConfigResponse, AWSError>;
|
78
|
+
/**
|
79
|
+
* Get the specific instance onboarding job status.
|
80
|
+
*/
|
81
|
+
getInstanceOnboardingJobStatus(params: ConnectCampaigns.Types.GetInstanceOnboardingJobStatusRequest, callback?: (err: AWSError, data: ConnectCampaigns.Types.GetInstanceOnboardingJobStatusResponse) => void): Request<ConnectCampaigns.Types.GetInstanceOnboardingJobStatusResponse, AWSError>;
|
82
|
+
/**
|
83
|
+
* Get the specific instance onboarding job status.
|
84
|
+
*/
|
85
|
+
getInstanceOnboardingJobStatus(callback?: (err: AWSError, data: ConnectCampaigns.Types.GetInstanceOnboardingJobStatusResponse) => void): Request<ConnectCampaigns.Types.GetInstanceOnboardingJobStatusResponse, AWSError>;
|
86
|
+
/**
|
87
|
+
* Provides summary information about the campaigns under the specified Amazon Connect account.
|
88
|
+
*/
|
89
|
+
listCampaigns(params: ConnectCampaigns.Types.ListCampaignsRequest, callback?: (err: AWSError, data: ConnectCampaigns.Types.ListCampaignsResponse) => void): Request<ConnectCampaigns.Types.ListCampaignsResponse, AWSError>;
|
90
|
+
/**
|
91
|
+
* Provides summary information about the campaigns under the specified Amazon Connect account.
|
92
|
+
*/
|
93
|
+
listCampaigns(callback?: (err: AWSError, data: ConnectCampaigns.Types.ListCampaignsResponse) => void): Request<ConnectCampaigns.Types.ListCampaignsResponse, AWSError>;
|
94
|
+
/**
|
95
|
+
* List tags for a resource.
|
96
|
+
*/
|
97
|
+
listTagsForResource(params: ConnectCampaigns.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: ConnectCampaigns.Types.ListTagsForResourceResponse) => void): Request<ConnectCampaigns.Types.ListTagsForResourceResponse, AWSError>;
|
98
|
+
/**
|
99
|
+
* List tags for a resource.
|
100
|
+
*/
|
101
|
+
listTagsForResource(callback?: (err: AWSError, data: ConnectCampaigns.Types.ListTagsForResourceResponse) => void): Request<ConnectCampaigns.Types.ListTagsForResourceResponse, AWSError>;
|
102
|
+
/**
|
103
|
+
* Pauses a campaign for the specified Amazon Connect account.
|
104
|
+
*/
|
105
|
+
pauseCampaign(params: ConnectCampaigns.Types.PauseCampaignRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
106
|
+
/**
|
107
|
+
* Pauses a campaign for the specified Amazon Connect account.
|
108
|
+
*/
|
109
|
+
pauseCampaign(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
110
|
+
/**
|
111
|
+
* Creates dials requests for the specified campaign Amazon Connect account. This API is idempotent.
|
112
|
+
*/
|
113
|
+
putDialRequestBatch(params: ConnectCampaigns.Types.PutDialRequestBatchRequest, callback?: (err: AWSError, data: ConnectCampaigns.Types.PutDialRequestBatchResponse) => void): Request<ConnectCampaigns.Types.PutDialRequestBatchResponse, AWSError>;
|
114
|
+
/**
|
115
|
+
* Creates dials requests for the specified campaign Amazon Connect account. This API is idempotent.
|
116
|
+
*/
|
117
|
+
putDialRequestBatch(callback?: (err: AWSError, data: ConnectCampaigns.Types.PutDialRequestBatchResponse) => void): Request<ConnectCampaigns.Types.PutDialRequestBatchResponse, AWSError>;
|
118
|
+
/**
|
119
|
+
* Stops a campaign for the specified Amazon Connect account.
|
120
|
+
*/
|
121
|
+
resumeCampaign(params: ConnectCampaigns.Types.ResumeCampaignRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
122
|
+
/**
|
123
|
+
* Stops a campaign for the specified Amazon Connect account.
|
124
|
+
*/
|
125
|
+
resumeCampaign(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
126
|
+
/**
|
127
|
+
* Starts a campaign for the specified Amazon Connect account.
|
128
|
+
*/
|
129
|
+
startCampaign(params: ConnectCampaigns.Types.StartCampaignRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
130
|
+
/**
|
131
|
+
* Starts a campaign for the specified Amazon Connect account.
|
132
|
+
*/
|
133
|
+
startCampaign(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
134
|
+
/**
|
135
|
+
* Onboard the specific Amazon Connect instance to Connect Campaigns.
|
136
|
+
*/
|
137
|
+
startInstanceOnboardingJob(params: ConnectCampaigns.Types.StartInstanceOnboardingJobRequest, callback?: (err: AWSError, data: ConnectCampaigns.Types.StartInstanceOnboardingJobResponse) => void): Request<ConnectCampaigns.Types.StartInstanceOnboardingJobResponse, AWSError>;
|
138
|
+
/**
|
139
|
+
* Onboard the specific Amazon Connect instance to Connect Campaigns.
|
140
|
+
*/
|
141
|
+
startInstanceOnboardingJob(callback?: (err: AWSError, data: ConnectCampaigns.Types.StartInstanceOnboardingJobResponse) => void): Request<ConnectCampaigns.Types.StartInstanceOnboardingJobResponse, AWSError>;
|
142
|
+
/**
|
143
|
+
* Stops a campaign for the specified Amazon Connect account.
|
144
|
+
*/
|
145
|
+
stopCampaign(params: ConnectCampaigns.Types.StopCampaignRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
146
|
+
/**
|
147
|
+
* Stops a campaign for the specified Amazon Connect account.
|
148
|
+
*/
|
149
|
+
stopCampaign(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
150
|
+
/**
|
151
|
+
* Tag a resource.
|
152
|
+
*/
|
153
|
+
tagResource(params: ConnectCampaigns.Types.TagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
154
|
+
/**
|
155
|
+
* Tag a resource.
|
156
|
+
*/
|
157
|
+
tagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
158
|
+
/**
|
159
|
+
* Untag a resource.
|
160
|
+
*/
|
161
|
+
untagResource(params: ConnectCampaigns.Types.UntagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
162
|
+
/**
|
163
|
+
* Untag a resource.
|
164
|
+
*/
|
165
|
+
untagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
166
|
+
/**
|
167
|
+
* Updates the dialer config of a campaign. This API is idempotent.
|
168
|
+
*/
|
169
|
+
updateCampaignDialerConfig(params: ConnectCampaigns.Types.UpdateCampaignDialerConfigRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
170
|
+
/**
|
171
|
+
* Updates the dialer config of a campaign. This API is idempotent.
|
172
|
+
*/
|
173
|
+
updateCampaignDialerConfig(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
174
|
+
/**
|
175
|
+
* Updates the name of a campaign. This API is idempotent.
|
176
|
+
*/
|
177
|
+
updateCampaignName(params: ConnectCampaigns.Types.UpdateCampaignNameRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
178
|
+
/**
|
179
|
+
* Updates the name of a campaign. This API is idempotent.
|
180
|
+
*/
|
181
|
+
updateCampaignName(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
182
|
+
/**
|
183
|
+
* Updates the outbound call config of a campaign. This API is idempotent.
|
184
|
+
*/
|
185
|
+
updateCampaignOutboundCallConfig(params: ConnectCampaigns.Types.UpdateCampaignOutboundCallConfigRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
186
|
+
/**
|
187
|
+
* Updates the outbound call config of a campaign. This API is idempotent.
|
188
|
+
*/
|
189
|
+
updateCampaignOutboundCallConfig(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
190
|
+
}
|
191
|
+
declare namespace ConnectCampaigns {
|
192
|
+
export interface AnswerMachineDetectionConfig {
|
193
|
+
/**
|
194
|
+
* Enable or disable answering machine detection
|
195
|
+
*/
|
196
|
+
enableAnswerMachineDetection: Boolean;
|
197
|
+
}
|
198
|
+
export type Arn = string;
|
199
|
+
export type AttributeName = string;
|
200
|
+
export type AttributeValue = string;
|
201
|
+
export type Attributes = {[key: string]: AttributeValue};
|
202
|
+
export type BandwidthAllocation = number;
|
203
|
+
export type Boolean = boolean;
|
204
|
+
export interface Campaign {
|
205
|
+
arn: CampaignArn;
|
206
|
+
connectInstanceId: InstanceId;
|
207
|
+
dialerConfig: DialerConfig;
|
208
|
+
id: CampaignId;
|
209
|
+
name: CampaignName;
|
210
|
+
outboundCallConfig: OutboundCallConfig;
|
211
|
+
tags?: TagMap;
|
212
|
+
}
|
213
|
+
export type CampaignArn = string;
|
214
|
+
export interface CampaignFilters {
|
215
|
+
instanceIdFilter?: InstanceIdFilter;
|
216
|
+
}
|
217
|
+
export type CampaignId = string;
|
218
|
+
export type CampaignName = string;
|
219
|
+
export type CampaignState = "Initialized"|"Running"|"Paused"|"Stopped"|"Failed"|string;
|
220
|
+
export interface CampaignSummary {
|
221
|
+
arn: CampaignArn;
|
222
|
+
connectInstanceId: InstanceId;
|
223
|
+
id: CampaignId;
|
224
|
+
name: CampaignName;
|
225
|
+
}
|
226
|
+
export type CampaignSummaryList = CampaignSummary[];
|
227
|
+
export type ClientToken = string;
|
228
|
+
export type ContactFlowId = string;
|
229
|
+
export interface CreateCampaignRequest {
|
230
|
+
connectInstanceId: InstanceId;
|
231
|
+
dialerConfig: DialerConfig;
|
232
|
+
name: CampaignName;
|
233
|
+
outboundCallConfig: OutboundCallConfig;
|
234
|
+
tags?: TagMap;
|
235
|
+
}
|
236
|
+
export interface CreateCampaignResponse {
|
237
|
+
arn?: CampaignArn;
|
238
|
+
id?: CampaignId;
|
239
|
+
tags?: TagMap;
|
240
|
+
}
|
241
|
+
export interface DeleteCampaignRequest {
|
242
|
+
id: CampaignId;
|
243
|
+
}
|
244
|
+
export interface DeleteConnectInstanceConfigRequest {
|
245
|
+
connectInstanceId: InstanceId;
|
246
|
+
}
|
247
|
+
export interface DeleteInstanceOnboardingJobRequest {
|
248
|
+
connectInstanceId: InstanceId;
|
249
|
+
}
|
250
|
+
export interface DescribeCampaignRequest {
|
251
|
+
id: CampaignId;
|
252
|
+
}
|
253
|
+
export interface DescribeCampaignResponse {
|
254
|
+
campaign?: Campaign;
|
255
|
+
}
|
256
|
+
export type DestinationPhoneNumber = string;
|
257
|
+
export interface DialRequest {
|
258
|
+
attributes: Attributes;
|
259
|
+
clientToken: ClientToken;
|
260
|
+
expirationTime: TimeStamp;
|
261
|
+
phoneNumber: DestinationPhoneNumber;
|
262
|
+
}
|
263
|
+
export type DialRequestId = string;
|
264
|
+
export type DialRequestList = DialRequest[];
|
265
|
+
export interface DialerConfig {
|
266
|
+
predictiveDialerConfig?: PredictiveDialerConfig;
|
267
|
+
progressiveDialerConfig?: ProgressiveDialerConfig;
|
268
|
+
}
|
269
|
+
export type Enabled = boolean;
|
270
|
+
export interface EncryptionConfig {
|
271
|
+
enabled: Enabled;
|
272
|
+
encryptionType?: EncryptionType;
|
273
|
+
keyArn?: EncryptionKey;
|
274
|
+
}
|
275
|
+
export type EncryptionKey = string;
|
276
|
+
export type EncryptionType = "KMS"|string;
|
277
|
+
export interface FailedCampaignStateResponse {
|
278
|
+
campaignId?: CampaignId;
|
279
|
+
failureCode?: GetCampaignStateBatchFailureCode;
|
280
|
+
}
|
281
|
+
export type FailedCampaignStateResponseList = FailedCampaignStateResponse[];
|
282
|
+
export interface FailedRequest {
|
283
|
+
clientToken?: ClientToken;
|
284
|
+
failureCode?: FailureCode;
|
285
|
+
id?: DialRequestId;
|
286
|
+
}
|
287
|
+
export type FailedRequestList = FailedRequest[];
|
288
|
+
export type FailureCode = "InvalidInput"|"RequestThrottled"|"UnknownError"|string;
|
289
|
+
export type GetCampaignStateBatchFailureCode = "ResourceNotFound"|"UnknownError"|string;
|
290
|
+
export interface GetCampaignStateBatchRequest {
|
291
|
+
campaignIds: GetCampaignStateBatchRequestCampaignIdsList;
|
292
|
+
}
|
293
|
+
export type GetCampaignStateBatchRequestCampaignIdsList = CampaignId[];
|
294
|
+
export interface GetCampaignStateBatchResponse {
|
295
|
+
failedRequests?: FailedCampaignStateResponseList;
|
296
|
+
successfulRequests?: SuccessfulCampaignStateResponseList;
|
297
|
+
}
|
298
|
+
export interface GetCampaignStateRequest {
|
299
|
+
id: CampaignId;
|
300
|
+
}
|
301
|
+
export interface GetCampaignStateResponse {
|
302
|
+
state?: CampaignState;
|
303
|
+
}
|
304
|
+
export interface GetConnectInstanceConfigRequest {
|
305
|
+
connectInstanceId: InstanceId;
|
306
|
+
}
|
307
|
+
export interface GetConnectInstanceConfigResponse {
|
308
|
+
connectInstanceConfig?: InstanceConfig;
|
309
|
+
}
|
310
|
+
export interface GetInstanceOnboardingJobStatusRequest {
|
311
|
+
connectInstanceId: InstanceId;
|
312
|
+
}
|
313
|
+
export interface GetInstanceOnboardingJobStatusResponse {
|
314
|
+
connectInstanceOnboardingJobStatus?: InstanceOnboardingJobStatus;
|
315
|
+
}
|
316
|
+
export interface InstanceConfig {
|
317
|
+
connectInstanceId: InstanceId;
|
318
|
+
encryptionConfig: EncryptionConfig;
|
319
|
+
serviceLinkedRoleArn: ServiceLinkedRoleArn;
|
320
|
+
}
|
321
|
+
export type InstanceId = string;
|
322
|
+
export interface InstanceIdFilter {
|
323
|
+
operator: InstanceIdFilterOperator;
|
324
|
+
value: InstanceId;
|
325
|
+
}
|
326
|
+
export type InstanceIdFilterOperator = "Eq"|string;
|
327
|
+
export type InstanceOnboardingJobFailureCode = "EVENT_BRIDGE_ACCESS_DENIED"|"EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED"|"IAM_ACCESS_DENIED"|"KMS_ACCESS_DENIED"|"KMS_KEY_NOT_FOUND"|"INTERNAL_FAILURE"|string;
|
328
|
+
export interface InstanceOnboardingJobStatus {
|
329
|
+
connectInstanceId: InstanceId;
|
330
|
+
failureCode?: InstanceOnboardingJobFailureCode;
|
331
|
+
status: InstanceOnboardingJobStatusCode;
|
332
|
+
}
|
333
|
+
export type InstanceOnboardingJobStatusCode = "IN_PROGRESS"|"SUCCEEDED"|"FAILED"|string;
|
334
|
+
export interface ListCampaignsRequest {
|
335
|
+
filters?: CampaignFilters;
|
336
|
+
maxResults?: MaxResults;
|
337
|
+
nextToken?: NextToken;
|
338
|
+
}
|
339
|
+
export interface ListCampaignsResponse {
|
340
|
+
campaignSummaryList?: CampaignSummaryList;
|
341
|
+
nextToken?: NextToken;
|
342
|
+
}
|
343
|
+
export interface ListTagsForResourceRequest {
|
344
|
+
arn: Arn;
|
345
|
+
}
|
346
|
+
export interface ListTagsForResourceResponse {
|
347
|
+
tags?: TagMap;
|
348
|
+
}
|
349
|
+
export type MaxResults = number;
|
350
|
+
export type NextToken = string;
|
351
|
+
export interface OutboundCallConfig {
|
352
|
+
answerMachineDetectionConfig?: AnswerMachineDetectionConfig;
|
353
|
+
connectContactFlowId: ContactFlowId;
|
354
|
+
connectQueueId: QueueId;
|
355
|
+
connectSourcePhoneNumber?: SourcePhoneNumber;
|
356
|
+
}
|
357
|
+
export interface PauseCampaignRequest {
|
358
|
+
id: CampaignId;
|
359
|
+
}
|
360
|
+
export interface PredictiveDialerConfig {
|
361
|
+
bandwidthAllocation: BandwidthAllocation;
|
362
|
+
}
|
363
|
+
export interface ProgressiveDialerConfig {
|
364
|
+
bandwidthAllocation: BandwidthAllocation;
|
365
|
+
}
|
366
|
+
export interface PutDialRequestBatchRequest {
|
367
|
+
dialRequests: DialRequestList;
|
368
|
+
id: CampaignId;
|
369
|
+
}
|
370
|
+
export interface PutDialRequestBatchResponse {
|
371
|
+
failedRequests?: FailedRequestList;
|
372
|
+
successfulRequests?: SuccessfulRequestList;
|
373
|
+
}
|
374
|
+
export type QueueId = string;
|
375
|
+
export interface ResumeCampaignRequest {
|
376
|
+
id: CampaignId;
|
377
|
+
}
|
378
|
+
export type ServiceLinkedRoleArn = string;
|
379
|
+
export type SourcePhoneNumber = string;
|
380
|
+
export interface StartCampaignRequest {
|
381
|
+
id: CampaignId;
|
382
|
+
}
|
383
|
+
export interface StartInstanceOnboardingJobRequest {
|
384
|
+
connectInstanceId: InstanceId;
|
385
|
+
encryptionConfig: EncryptionConfig;
|
386
|
+
}
|
387
|
+
export interface StartInstanceOnboardingJobResponse {
|
388
|
+
connectInstanceOnboardingJobStatus?: InstanceOnboardingJobStatus;
|
389
|
+
}
|
390
|
+
export interface StopCampaignRequest {
|
391
|
+
id: CampaignId;
|
392
|
+
}
|
393
|
+
export interface SuccessfulCampaignStateResponse {
|
394
|
+
campaignId?: CampaignId;
|
395
|
+
state?: CampaignState;
|
396
|
+
}
|
397
|
+
export type SuccessfulCampaignStateResponseList = SuccessfulCampaignStateResponse[];
|
398
|
+
export interface SuccessfulRequest {
|
399
|
+
clientToken?: ClientToken;
|
400
|
+
id?: DialRequestId;
|
401
|
+
}
|
402
|
+
export type SuccessfulRequestList = SuccessfulRequest[];
|
403
|
+
export type TagKey = string;
|
404
|
+
export type TagKeyList = TagKey[];
|
405
|
+
export type TagMap = {[key: string]: TagValue};
|
406
|
+
export interface TagResourceRequest {
|
407
|
+
arn: Arn;
|
408
|
+
tags: TagMap;
|
409
|
+
}
|
410
|
+
export type TagValue = string;
|
411
|
+
export type TimeStamp = Date;
|
412
|
+
export interface UntagResourceRequest {
|
413
|
+
arn: Arn;
|
414
|
+
tagKeys: TagKeyList;
|
415
|
+
}
|
416
|
+
export interface UpdateCampaignDialerConfigRequest {
|
417
|
+
dialerConfig: DialerConfig;
|
418
|
+
id: CampaignId;
|
419
|
+
}
|
420
|
+
export interface UpdateCampaignNameRequest {
|
421
|
+
id: CampaignId;
|
422
|
+
name: CampaignName;
|
423
|
+
}
|
424
|
+
export interface UpdateCampaignOutboundCallConfigRequest {
|
425
|
+
answerMachineDetectionConfig?: AnswerMachineDetectionConfig;
|
426
|
+
connectContactFlowId?: ContactFlowId;
|
427
|
+
connectSourcePhoneNumber?: SourcePhoneNumber;
|
428
|
+
id: CampaignId;
|
429
|
+
}
|
430
|
+
/**
|
431
|
+
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
432
|
+
*/
|
433
|
+
export type apiVersion = "2021-01-30"|"latest"|string;
|
434
|
+
export interface ClientApiVersions {
|
435
|
+
/**
|
436
|
+
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
437
|
+
*/
|
438
|
+
apiVersion?: apiVersion;
|
439
|
+
}
|
440
|
+
export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
441
|
+
/**
|
442
|
+
* Contains interfaces for use with the ConnectCampaigns client.
|
443
|
+
*/
|
444
|
+
export import Types = ConnectCampaigns;
|
445
|
+
}
|
446
|
+
export = ConnectCampaigns;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require('../lib/node_loader');
|
2
|
+
var AWS = require('../lib/core');
|
3
|
+
var Service = AWS.Service;
|
4
|
+
var apiLoader = AWS.apiLoader;
|
5
|
+
|
6
|
+
apiLoader.services['connectcampaigns'] = {};
|
7
|
+
AWS.ConnectCampaigns = Service.defineService('connectcampaigns', ['2021-01-30']);
|
8
|
+
Object.defineProperty(apiLoader.services['connectcampaigns'], '2021-01-30', {
|
9
|
+
get: function get() {
|
10
|
+
var model = require('../apis/connectcampaigns-2021-01-30.min.json');
|
11
|
+
model.paginators = require('../apis/connectcampaigns-2021-01-30.paginators.json').pagination;
|
12
|
+
return model;
|
13
|
+
},
|
14
|
+
enumerable: true,
|
15
|
+
configurable: true
|
16
|
+
});
|
17
|
+
|
18
|
+
module.exports = AWS.ConnectCampaigns;
|