@aws-sdk/client-connectparticipant 3.987.0 → 3.988.0
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/dist-cjs/index.js +30 -613
- package/dist-cjs/models/ConnectParticipantServiceException.js +12 -0
- package/dist-cjs/models/errors.js +113 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +441 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +55 -49
- package/dist-types/schemas/schemas_0.d.ts +14 -7
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -7
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ConnectParticipantServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class ConnectParticipantServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, ConnectParticipantServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.ConnectParticipantServiceException = ConnectParticipantServiceException;
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResourceNotFoundException = exports.ServiceQuotaExceededException = exports.ConflictException = exports.ValidationException = exports.ThrottlingException = exports.InternalServerException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const ConnectParticipantServiceException_1 = require("./ConnectParticipantServiceException");
|
|
5
|
+
class AccessDeniedException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
|
|
6
|
+
name = "AccessDeniedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
Message;
|
|
9
|
+
constructor(opts) {
|
|
10
|
+
super({
|
|
11
|
+
name: "AccessDeniedException",
|
|
12
|
+
$fault: "client",
|
|
13
|
+
...opts,
|
|
14
|
+
});
|
|
15
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
|
+
this.Message = opts.Message;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
20
|
+
class InternalServerException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
|
|
21
|
+
name = "InternalServerException";
|
|
22
|
+
$fault = "server";
|
|
23
|
+
Message;
|
|
24
|
+
constructor(opts) {
|
|
25
|
+
super({
|
|
26
|
+
name: "InternalServerException",
|
|
27
|
+
$fault: "server",
|
|
28
|
+
...opts,
|
|
29
|
+
});
|
|
30
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
31
|
+
this.Message = opts.Message;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.InternalServerException = InternalServerException;
|
|
35
|
+
class ThrottlingException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
|
|
36
|
+
name = "ThrottlingException";
|
|
37
|
+
$fault = "client";
|
|
38
|
+
Message;
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "ThrottlingException",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
46
|
+
this.Message = opts.Message;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.ThrottlingException = ThrottlingException;
|
|
50
|
+
class ValidationException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
|
|
51
|
+
name = "ValidationException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
Message;
|
|
54
|
+
constructor(opts) {
|
|
55
|
+
super({
|
|
56
|
+
name: "ValidationException",
|
|
57
|
+
$fault: "client",
|
|
58
|
+
...opts,
|
|
59
|
+
});
|
|
60
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
61
|
+
this.Message = opts.Message;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.ValidationException = ValidationException;
|
|
65
|
+
class ConflictException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
|
|
66
|
+
name = "ConflictException";
|
|
67
|
+
$fault = "client";
|
|
68
|
+
Message;
|
|
69
|
+
constructor(opts) {
|
|
70
|
+
super({
|
|
71
|
+
name: "ConflictException",
|
|
72
|
+
$fault: "client",
|
|
73
|
+
...opts,
|
|
74
|
+
});
|
|
75
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
76
|
+
this.Message = opts.Message;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.ConflictException = ConflictException;
|
|
80
|
+
class ServiceQuotaExceededException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
|
|
81
|
+
name = "ServiceQuotaExceededException";
|
|
82
|
+
$fault = "client";
|
|
83
|
+
Message;
|
|
84
|
+
constructor(opts) {
|
|
85
|
+
super({
|
|
86
|
+
name: "ServiceQuotaExceededException",
|
|
87
|
+
$fault: "client",
|
|
88
|
+
...opts,
|
|
89
|
+
});
|
|
90
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
91
|
+
this.Message = opts.Message;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
95
|
+
class ResourceNotFoundException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
|
|
96
|
+
name = "ResourceNotFoundException";
|
|
97
|
+
$fault = "client";
|
|
98
|
+
Message;
|
|
99
|
+
ResourceId;
|
|
100
|
+
ResourceType;
|
|
101
|
+
constructor(opts) {
|
|
102
|
+
super({
|
|
103
|
+
name: "ResourceNotFoundException",
|
|
104
|
+
$fault: "client",
|
|
105
|
+
...opts,
|
|
106
|
+
});
|
|
107
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
108
|
+
this.Message = opts.Message;
|
|
109
|
+
this.ResourceId = opts.ResourceId;
|
|
110
|
+
this.ResourceType = opts.ResourceType;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2018-09-07",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.connectparticipant",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2018-09-07",
|
|
33
35
|
serviceTarget: "AmazonConnectParticipantServiceLambda",
|
|
34
36
|
},
|
|
@@ -0,0 +1,441 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CompleteAttachmentUpload$ = exports.CancelParticipantAuthentication$ = exports.Websocket$ = exports.WebRTCMeeting$ = exports.WebRTCMediaPlacement$ = exports.WebRTCConnection$ = exports.ViewContent$ = exports.View$ = exports.UploadMetadata$ = exports.StartPosition$ = exports.StartAttachmentUploadResponse$ = exports.StartAttachmentUploadRequest$ = exports.SendMessageResponse$ = exports.SendMessageRequest$ = exports.SendEventResponse$ = exports.SendEventRequest$ = exports.Receipt$ = exports.MessageProcessingMetadata$ = exports.MessageMetadata$ = exports.MeetingFeaturesConfiguration$ = exports.Item$ = exports.GetTranscriptResponse$ = exports.GetTranscriptRequest$ = exports.GetAuthenticationUrlResponse$ = exports.GetAuthenticationUrlRequest$ = exports.GetAttachmentResponse$ = exports.GetAttachmentRequest$ = exports.DisconnectParticipantResponse$ = exports.DisconnectParticipantRequest$ = exports.DescribeViewResponse$ = exports.DescribeViewRequest$ = exports.CreateParticipantConnectionResponse$ = exports.CreateParticipantConnectionRequest$ = exports.ConnectionCredentials$ = exports.CompleteAttachmentUploadResponse$ = exports.CompleteAttachmentUploadRequest$ = exports.CancelParticipantAuthenticationResponse$ = exports.CancelParticipantAuthenticationRequest$ = exports.AudioFeatures$ = exports.Attendee$ = exports.AttachmentItem$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.ConnectParticipantServiceException$ = void 0;
|
|
4
|
+
exports.StartAttachmentUpload$ = exports.SendMessage$ = exports.SendEvent$ = exports.GetTranscript$ = exports.GetAuthenticationUrl$ = exports.GetAttachment$ = exports.DisconnectParticipant$ = exports.DescribeView$ = exports.CreateParticipantConnection$ = void 0;
|
|
5
|
+
const _A = "Attendee";
|
|
6
|
+
const _ADE = "AccessDeniedException";
|
|
7
|
+
const _AF = "AudioFeatures";
|
|
8
|
+
const _AFU = "AudioFallbackUrl";
|
|
9
|
+
const _AHU = "AudioHostUrl";
|
|
10
|
+
const _AI = "AttachmentItem";
|
|
11
|
+
const _AIt = "AttachmentId";
|
|
12
|
+
const _AItt = "AttendeeId";
|
|
13
|
+
const _AItta = "AttachmentIds";
|
|
14
|
+
const _AN = "AttachmentName";
|
|
15
|
+
const _ASIB = "AttachmentSizeInBytes";
|
|
16
|
+
const _AT = "AbsoluteTime";
|
|
17
|
+
const _AU = "AuthenticationUrl";
|
|
18
|
+
const _Ac = "Actions";
|
|
19
|
+
const _Ar = "Arn";
|
|
20
|
+
const _At = "Attachments";
|
|
21
|
+
const _Au = "Audio";
|
|
22
|
+
const _C = "Content";
|
|
23
|
+
const _CAU = "CompleteAttachmentUpload";
|
|
24
|
+
const _CAUR = "CompleteAttachmentUploadRequest";
|
|
25
|
+
const _CAURo = "CompleteAttachmentUploadResponse";
|
|
26
|
+
const _CC = "ConnectionCredentials";
|
|
27
|
+
const _CE = "ConflictException";
|
|
28
|
+
const _CEo = "ConnectionExpiry";
|
|
29
|
+
const _CI = "ContactId";
|
|
30
|
+
const _CP = "ConnectParticipant";
|
|
31
|
+
const _CPA = "CancelParticipantAuthentication";
|
|
32
|
+
const _CPAR = "CancelParticipantAuthenticationRequest";
|
|
33
|
+
const _CPARa = "CancelParticipantAuthenticationResponse";
|
|
34
|
+
const _CPC = "CreateParticipantConnection";
|
|
35
|
+
const _CPCR = "CreateParticipantConnectionRequest";
|
|
36
|
+
const _CPCRr = "CreateParticipantConnectionResponse";
|
|
37
|
+
const _CT = "ContentType";
|
|
38
|
+
const _CTl = "ClientToken";
|
|
39
|
+
const _CTo = "ConnectionToken";
|
|
40
|
+
const _DN = "DisplayName";
|
|
41
|
+
const _DP = "DisconnectParticipant";
|
|
42
|
+
const _DPR = "DisconnectParticipantRequest";
|
|
43
|
+
const _DPRi = "DisconnectParticipantResponse";
|
|
44
|
+
const _DT = "DeliveredTimestamp";
|
|
45
|
+
const _DV = "DescribeView";
|
|
46
|
+
const _DVR = "DescribeViewRequest";
|
|
47
|
+
const _DVRe = "DescribeViewResponse";
|
|
48
|
+
const _E = "Expiry";
|
|
49
|
+
const _EIU = "EventIngestionUrl";
|
|
50
|
+
const _ER = "EchoReduction";
|
|
51
|
+
const _GA = "GetAttachment";
|
|
52
|
+
const _GAR = "GetAttachmentRequest";
|
|
53
|
+
const _GARe = "GetAttachmentResponse";
|
|
54
|
+
const _GAU = "GetAuthenticationUrl";
|
|
55
|
+
const _GAUR = "GetAuthenticationUrlRequest";
|
|
56
|
+
const _GAURe = "GetAuthenticationUrlResponse";
|
|
57
|
+
const _GT = "GetTranscript";
|
|
58
|
+
const _GTR = "GetTranscriptRequest";
|
|
59
|
+
const _GTRe = "GetTranscriptResponse";
|
|
60
|
+
const _HTI = "HeadersToInclude";
|
|
61
|
+
const _I = "Item";
|
|
62
|
+
const _ICI = "InitialContactId";
|
|
63
|
+
const _IS = "InputSchema";
|
|
64
|
+
const _ISE = "InternalServerException";
|
|
65
|
+
const _Id = "Id";
|
|
66
|
+
const _JT = "JoinToken";
|
|
67
|
+
const _M = "Message";
|
|
68
|
+
const _MF = "MeetingFeatures";
|
|
69
|
+
const _MFC = "MeetingFeaturesConfiguration";
|
|
70
|
+
const _MI = "MessageId";
|
|
71
|
+
const _MIe = "MeetingId";
|
|
72
|
+
const _MM = "MessageMetadata";
|
|
73
|
+
const _MP = "MediaPlacement";
|
|
74
|
+
const _MPM = "MessageProcessingMetadata";
|
|
75
|
+
const _MPS = "MessageProcessingStatus";
|
|
76
|
+
const _MR = "MaxResults";
|
|
77
|
+
const _MRo = "MostRecent";
|
|
78
|
+
const _Me = "Meeting";
|
|
79
|
+
const _N = "Name";
|
|
80
|
+
const _NT = "NextToken";
|
|
81
|
+
const _PI = "ParticipantId";
|
|
82
|
+
const _PR = "ParticipantRole";
|
|
83
|
+
const _PT = "ParticipantToken";
|
|
84
|
+
const _R = "Receipts";
|
|
85
|
+
const _RCI = "RelatedContactId";
|
|
86
|
+
const _RI = "ResourceId";
|
|
87
|
+
const _RNFE = "ResourceNotFoundException";
|
|
88
|
+
const _RPI = "RecipientParticipantId";
|
|
89
|
+
const _RT = "ResourceType";
|
|
90
|
+
const _RTe = "ReadTimestamp";
|
|
91
|
+
const _RU = "RedirectUri";
|
|
92
|
+
const _Re = "Receipt";
|
|
93
|
+
const _S = "Status";
|
|
94
|
+
const _SAU = "StartAttachmentUpload";
|
|
95
|
+
const _SAUR = "StartAttachmentUploadRequest";
|
|
96
|
+
const _SAURt = "StartAttachmentUploadResponse";
|
|
97
|
+
const _SD = "ScanDirection";
|
|
98
|
+
const _SE = "SendEvent";
|
|
99
|
+
const _SER = "SendEventRequest";
|
|
100
|
+
const _SERe = "SendEventResponse";
|
|
101
|
+
const _SI = "SessionId";
|
|
102
|
+
const _SM = "SendMessage";
|
|
103
|
+
const _SMR = "SendMessageRequest";
|
|
104
|
+
const _SMRe = "SendMessageResponse";
|
|
105
|
+
const _SO = "SortOrder";
|
|
106
|
+
const _SP = "StartPosition";
|
|
107
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
108
|
+
const _SU = "SignalingUrl";
|
|
109
|
+
const _T = "Type";
|
|
110
|
+
const _TE = "ThrottlingException";
|
|
111
|
+
const _Te = "Template";
|
|
112
|
+
const _Tr = "Transcript";
|
|
113
|
+
const _U = "Url";
|
|
114
|
+
const _UE = "UrlExpiry";
|
|
115
|
+
const _UEIS = "UrlExpiryInSeconds";
|
|
116
|
+
const _UM = "UploadMetadata";
|
|
117
|
+
const _V = "View";
|
|
118
|
+
const _VA = "ViewAction";
|
|
119
|
+
const _VAi = "ViewActions";
|
|
120
|
+
const _VC = "ViewContent";
|
|
121
|
+
const _VE = "ValidationException";
|
|
122
|
+
const _VIS = "ViewInputSchema";
|
|
123
|
+
const _VN = "ViewName";
|
|
124
|
+
const _VT = "ViewTemplate";
|
|
125
|
+
const _VTi = "ViewToken";
|
|
126
|
+
const _Ve = "Version";
|
|
127
|
+
const _W = "Websocket";
|
|
128
|
+
const _WRTCC = "WebRTCConnection";
|
|
129
|
+
const _WRTCM = "WebRTCMeeting";
|
|
130
|
+
const _WRTCMP = "WebRTCMediaPlacement";
|
|
131
|
+
const _XAB = "X-Amz-Bearer";
|
|
132
|
+
const _c = "client";
|
|
133
|
+
const _e = "error";
|
|
134
|
+
const _h = "http";
|
|
135
|
+
const _hE = "httpError";
|
|
136
|
+
const _hH = "httpHeader";
|
|
137
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.connectparticipant";
|
|
138
|
+
const _se = "server";
|
|
139
|
+
const n0 = "com.amazonaws.connectparticipant";
|
|
140
|
+
const schema_1 = require("@smithy/core/schema");
|
|
141
|
+
const ConnectParticipantServiceException_1 = require("../models/ConnectParticipantServiceException");
|
|
142
|
+
const errors_1 = require("../models/errors");
|
|
143
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
144
|
+
exports.ConnectParticipantServiceException$ = [-3, _s, "ConnectParticipantServiceException", 0, [], []];
|
|
145
|
+
_s_registry.registerError(exports.ConnectParticipantServiceException$, ConnectParticipantServiceException_1.ConnectParticipantServiceException);
|
|
146
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
147
|
+
exports.AccessDeniedException$ = [-3, n0, _ADE,
|
|
148
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
149
|
+
[_M],
|
|
150
|
+
[0], 1
|
|
151
|
+
];
|
|
152
|
+
n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
|
|
153
|
+
exports.ConflictException$ = [-3, n0, _CE,
|
|
154
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
155
|
+
[_M],
|
|
156
|
+
[0], 1
|
|
157
|
+
];
|
|
158
|
+
n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
|
|
159
|
+
exports.InternalServerException$ = [-3, n0, _ISE,
|
|
160
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
161
|
+
[_M],
|
|
162
|
+
[0], 1
|
|
163
|
+
];
|
|
164
|
+
n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
|
|
165
|
+
exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
166
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
167
|
+
[_M, _RI, _RT],
|
|
168
|
+
[0, 0, 0]
|
|
169
|
+
];
|
|
170
|
+
n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
|
|
171
|
+
exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
172
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
173
|
+
[_M],
|
|
174
|
+
[0], 1
|
|
175
|
+
];
|
|
176
|
+
n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
|
|
177
|
+
exports.ThrottlingException$ = [-3, n0, _TE,
|
|
178
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
179
|
+
[_M],
|
|
180
|
+
[0], 1
|
|
181
|
+
];
|
|
182
|
+
n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
|
|
183
|
+
exports.ValidationException$ = [-3, n0, _VE,
|
|
184
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
185
|
+
[_M],
|
|
186
|
+
[0], 1
|
|
187
|
+
];
|
|
188
|
+
n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
|
|
189
|
+
exports.errorTypeRegistries = [
|
|
190
|
+
_s_registry,
|
|
191
|
+
n0_registry,
|
|
192
|
+
];
|
|
193
|
+
var JoinToken = [0, n0, _JT, 8, 0];
|
|
194
|
+
var ViewAction = [0, n0, _VA, 8, 0];
|
|
195
|
+
var ViewInputSchema = [0, n0, _VIS, 8, 0];
|
|
196
|
+
var ViewName = [0, n0, _VN, 8, 0];
|
|
197
|
+
var ViewTemplate = [0, n0, _VT, 8, 0];
|
|
198
|
+
exports.AttachmentItem$ = [3, n0, _AI,
|
|
199
|
+
0,
|
|
200
|
+
[_CT, _AIt, _AN, _S],
|
|
201
|
+
[0, 0, 0, 0]
|
|
202
|
+
];
|
|
203
|
+
exports.Attendee$ = [3, n0, _A,
|
|
204
|
+
0,
|
|
205
|
+
[_AItt, _JT],
|
|
206
|
+
[0, [() => JoinToken, 0]]
|
|
207
|
+
];
|
|
208
|
+
exports.AudioFeatures$ = [3, n0, _AF,
|
|
209
|
+
0,
|
|
210
|
+
[_ER],
|
|
211
|
+
[0]
|
|
212
|
+
];
|
|
213
|
+
exports.CancelParticipantAuthenticationRequest$ = [3, n0, _CPAR,
|
|
214
|
+
0,
|
|
215
|
+
[_SI, _CTo],
|
|
216
|
+
[0, [0, { [_hH]: _XAB }]], 2
|
|
217
|
+
];
|
|
218
|
+
exports.CancelParticipantAuthenticationResponse$ = [3, n0, _CPARa,
|
|
219
|
+
0,
|
|
220
|
+
[],
|
|
221
|
+
[]
|
|
222
|
+
];
|
|
223
|
+
exports.CompleteAttachmentUploadRequest$ = [3, n0, _CAUR,
|
|
224
|
+
0,
|
|
225
|
+
[_AItta, _CTo, _CTl],
|
|
226
|
+
[64 | 0, [0, { [_hH]: _XAB }], [0, 4]], 2
|
|
227
|
+
];
|
|
228
|
+
exports.CompleteAttachmentUploadResponse$ = [3, n0, _CAURo,
|
|
229
|
+
0,
|
|
230
|
+
[],
|
|
231
|
+
[]
|
|
232
|
+
];
|
|
233
|
+
exports.ConnectionCredentials$ = [3, n0, _CC,
|
|
234
|
+
0,
|
|
235
|
+
[_CTo, _E],
|
|
236
|
+
[0, 0]
|
|
237
|
+
];
|
|
238
|
+
exports.CreateParticipantConnectionRequest$ = [3, n0, _CPCR,
|
|
239
|
+
0,
|
|
240
|
+
[_PT, _T, _CP],
|
|
241
|
+
[[0, { [_hH]: _XAB }], 64 | 0, 2], 1
|
|
242
|
+
];
|
|
243
|
+
exports.CreateParticipantConnectionResponse$ = [3, n0, _CPCRr,
|
|
244
|
+
0,
|
|
245
|
+
[_W, _CC, _WRTCC],
|
|
246
|
+
[() => exports.Websocket$, () => exports.ConnectionCredentials$, [() => exports.WebRTCConnection$, 0]]
|
|
247
|
+
];
|
|
248
|
+
exports.DescribeViewRequest$ = [3, n0, _DVR,
|
|
249
|
+
0,
|
|
250
|
+
[_VTi, _CTo],
|
|
251
|
+
[[0, 1], [0, { [_hH]: _XAB }]], 2
|
|
252
|
+
];
|
|
253
|
+
exports.DescribeViewResponse$ = [3, n0, _DVRe,
|
|
254
|
+
0,
|
|
255
|
+
[_V],
|
|
256
|
+
[[() => exports.View$, 0]]
|
|
257
|
+
];
|
|
258
|
+
exports.DisconnectParticipantRequest$ = [3, n0, _DPR,
|
|
259
|
+
0,
|
|
260
|
+
[_CTo, _CTl],
|
|
261
|
+
[[0, { [_hH]: _XAB }], [0, 4]], 1
|
|
262
|
+
];
|
|
263
|
+
exports.DisconnectParticipantResponse$ = [3, n0, _DPRi,
|
|
264
|
+
0,
|
|
265
|
+
[],
|
|
266
|
+
[]
|
|
267
|
+
];
|
|
268
|
+
exports.GetAttachmentRequest$ = [3, n0, _GAR,
|
|
269
|
+
0,
|
|
270
|
+
[_AIt, _CTo, _UEIS],
|
|
271
|
+
[0, [0, { [_hH]: _XAB }], 1], 2
|
|
272
|
+
];
|
|
273
|
+
exports.GetAttachmentResponse$ = [3, n0, _GARe,
|
|
274
|
+
0,
|
|
275
|
+
[_ASIB, _U, _UE],
|
|
276
|
+
[1, 0, 0], 1
|
|
277
|
+
];
|
|
278
|
+
exports.GetAuthenticationUrlRequest$ = [3, n0, _GAUR,
|
|
279
|
+
0,
|
|
280
|
+
[_SI, _RU, _CTo],
|
|
281
|
+
[0, 0, [0, { [_hH]: _XAB }]], 3
|
|
282
|
+
];
|
|
283
|
+
exports.GetAuthenticationUrlResponse$ = [3, n0, _GAURe,
|
|
284
|
+
0,
|
|
285
|
+
[_AU],
|
|
286
|
+
[0]
|
|
287
|
+
];
|
|
288
|
+
exports.GetTranscriptRequest$ = [3, n0, _GTR,
|
|
289
|
+
0,
|
|
290
|
+
[_CTo, _CI, _MR, _NT, _SD, _SO, _SP],
|
|
291
|
+
[[0, { [_hH]: _XAB }], 0, 1, 0, 0, 0, () => exports.StartPosition$], 1
|
|
292
|
+
];
|
|
293
|
+
exports.GetTranscriptResponse$ = [3, n0, _GTRe,
|
|
294
|
+
0,
|
|
295
|
+
[_ICI, _Tr, _NT],
|
|
296
|
+
[0, () => Transcript, 0]
|
|
297
|
+
];
|
|
298
|
+
exports.Item$ = [3, n0, _I,
|
|
299
|
+
0,
|
|
300
|
+
[_AT, _C, _CT, _Id, _T, _PI, _DN, _PR, _At, _MM, _RCI, _CI],
|
|
301
|
+
[0, 0, 0, 0, 0, 0, 0, 0, () => Attachments, () => exports.MessageMetadata$, 0, 0]
|
|
302
|
+
];
|
|
303
|
+
exports.MeetingFeaturesConfiguration$ = [3, n0, _MFC,
|
|
304
|
+
0,
|
|
305
|
+
[_Au],
|
|
306
|
+
[() => exports.AudioFeatures$]
|
|
307
|
+
];
|
|
308
|
+
exports.MessageMetadata$ = [3, n0, _MM,
|
|
309
|
+
0,
|
|
310
|
+
[_MI, _R, _MPS],
|
|
311
|
+
[0, () => Receipts, 0]
|
|
312
|
+
];
|
|
313
|
+
exports.MessageProcessingMetadata$ = [3, n0, _MPM,
|
|
314
|
+
0,
|
|
315
|
+
[_MPS],
|
|
316
|
+
[0]
|
|
317
|
+
];
|
|
318
|
+
exports.Receipt$ = [3, n0, _Re,
|
|
319
|
+
0,
|
|
320
|
+
[_DT, _RTe, _RPI],
|
|
321
|
+
[0, 0, 0]
|
|
322
|
+
];
|
|
323
|
+
exports.SendEventRequest$ = [3, n0, _SER,
|
|
324
|
+
0,
|
|
325
|
+
[_CT, _CTo, _C, _CTl],
|
|
326
|
+
[0, [0, { [_hH]: _XAB }], 0, [0, 4]], 2
|
|
327
|
+
];
|
|
328
|
+
exports.SendEventResponse$ = [3, n0, _SERe,
|
|
329
|
+
0,
|
|
330
|
+
[_Id, _AT],
|
|
331
|
+
[0, 0]
|
|
332
|
+
];
|
|
333
|
+
exports.SendMessageRequest$ = [3, n0, _SMR,
|
|
334
|
+
0,
|
|
335
|
+
[_CT, _C, _CTo, _CTl],
|
|
336
|
+
[0, 0, [0, { [_hH]: _XAB }], [0, 4]], 3
|
|
337
|
+
];
|
|
338
|
+
exports.SendMessageResponse$ = [3, n0, _SMRe,
|
|
339
|
+
0,
|
|
340
|
+
[_Id, _AT, _MM],
|
|
341
|
+
[0, 0, () => exports.MessageProcessingMetadata$]
|
|
342
|
+
];
|
|
343
|
+
exports.StartAttachmentUploadRequest$ = [3, n0, _SAUR,
|
|
344
|
+
0,
|
|
345
|
+
[_CT, _ASIB, _AN, _CTo, _CTl],
|
|
346
|
+
[0, 1, 0, [0, { [_hH]: _XAB }], [0, 4]], 4
|
|
347
|
+
];
|
|
348
|
+
exports.StartAttachmentUploadResponse$ = [3, n0, _SAURt,
|
|
349
|
+
0,
|
|
350
|
+
[_AIt, _UM],
|
|
351
|
+
[0, () => exports.UploadMetadata$]
|
|
352
|
+
];
|
|
353
|
+
exports.StartPosition$ = [3, n0, _SP,
|
|
354
|
+
0,
|
|
355
|
+
[_Id, _AT, _MRo],
|
|
356
|
+
[0, 0, 1]
|
|
357
|
+
];
|
|
358
|
+
exports.UploadMetadata$ = [3, n0, _UM,
|
|
359
|
+
0,
|
|
360
|
+
[_U, _UE, _HTI],
|
|
361
|
+
[0, 0, 128 | 0]
|
|
362
|
+
];
|
|
363
|
+
exports.View$ = [3, n0, _V,
|
|
364
|
+
0,
|
|
365
|
+
[_Id, _Ar, _N, _Ve, _C],
|
|
366
|
+
[0, 0, [() => ViewName, 0], 1, [() => exports.ViewContent$, 0]]
|
|
367
|
+
];
|
|
368
|
+
exports.ViewContent$ = [3, n0, _VC,
|
|
369
|
+
0,
|
|
370
|
+
[_IS, _Te, _Ac],
|
|
371
|
+
[[() => ViewInputSchema, 0], [() => ViewTemplate, 0], [() => ViewActions, 0]]
|
|
372
|
+
];
|
|
373
|
+
exports.WebRTCConnection$ = [3, n0, _WRTCC,
|
|
374
|
+
0,
|
|
375
|
+
[_A, _Me],
|
|
376
|
+
[[() => exports.Attendee$, 0], () => exports.WebRTCMeeting$]
|
|
377
|
+
];
|
|
378
|
+
exports.WebRTCMediaPlacement$ = [3, n0, _WRTCMP,
|
|
379
|
+
0,
|
|
380
|
+
[_AHU, _AFU, _SU, _EIU],
|
|
381
|
+
[0, 0, 0, 0]
|
|
382
|
+
];
|
|
383
|
+
exports.WebRTCMeeting$ = [3, n0, _WRTCM,
|
|
384
|
+
0,
|
|
385
|
+
[_MP, _MF, _MIe],
|
|
386
|
+
[() => exports.WebRTCMediaPlacement$, () => exports.MeetingFeaturesConfiguration$, 0]
|
|
387
|
+
];
|
|
388
|
+
exports.Websocket$ = [3, n0, _W,
|
|
389
|
+
0,
|
|
390
|
+
[_U, _CEo],
|
|
391
|
+
[0, 0]
|
|
392
|
+
];
|
|
393
|
+
var AttachmentIdList = 64 | 0;
|
|
394
|
+
var Attachments = [1, n0, _At,
|
|
395
|
+
0, () => exports.AttachmentItem$
|
|
396
|
+
];
|
|
397
|
+
var ConnectionTypeList = 64 | 0;
|
|
398
|
+
var Receipts = [1, n0, _R,
|
|
399
|
+
0, () => exports.Receipt$
|
|
400
|
+
];
|
|
401
|
+
var Transcript = [1, n0, _Tr,
|
|
402
|
+
0, () => exports.Item$
|
|
403
|
+
];
|
|
404
|
+
var ViewActions = [1, n0, _VAi,
|
|
405
|
+
0, [() => ViewAction,
|
|
406
|
+
0]
|
|
407
|
+
];
|
|
408
|
+
var UploadMetadataSignedHeaders = 128 | 0;
|
|
409
|
+
exports.CancelParticipantAuthentication$ = [9, n0, _CPA,
|
|
410
|
+
{ [_h]: ["POST", "/participant/cancel-authentication", 200] }, () => exports.CancelParticipantAuthenticationRequest$, () => exports.CancelParticipantAuthenticationResponse$
|
|
411
|
+
];
|
|
412
|
+
exports.CompleteAttachmentUpload$ = [9, n0, _CAU,
|
|
413
|
+
{ [_h]: ["POST", "/participant/complete-attachment-upload", 200] }, () => exports.CompleteAttachmentUploadRequest$, () => exports.CompleteAttachmentUploadResponse$
|
|
414
|
+
];
|
|
415
|
+
exports.CreateParticipantConnection$ = [9, n0, _CPC,
|
|
416
|
+
{ [_h]: ["POST", "/participant/connection", 200] }, () => exports.CreateParticipantConnectionRequest$, () => exports.CreateParticipantConnectionResponse$
|
|
417
|
+
];
|
|
418
|
+
exports.DescribeView$ = [9, n0, _DV,
|
|
419
|
+
{ [_h]: ["GET", "/participant/views/{ViewToken}", 200] }, () => exports.DescribeViewRequest$, () => exports.DescribeViewResponse$
|
|
420
|
+
];
|
|
421
|
+
exports.DisconnectParticipant$ = [9, n0, _DP,
|
|
422
|
+
{ [_h]: ["POST", "/participant/disconnect", 200] }, () => exports.DisconnectParticipantRequest$, () => exports.DisconnectParticipantResponse$
|
|
423
|
+
];
|
|
424
|
+
exports.GetAttachment$ = [9, n0, _GA,
|
|
425
|
+
{ [_h]: ["POST", "/participant/attachment", 200] }, () => exports.GetAttachmentRequest$, () => exports.GetAttachmentResponse$
|
|
426
|
+
];
|
|
427
|
+
exports.GetAuthenticationUrl$ = [9, n0, _GAU,
|
|
428
|
+
{ [_h]: ["POST", "/participant/authentication-url", 200] }, () => exports.GetAuthenticationUrlRequest$, () => exports.GetAuthenticationUrlResponse$
|
|
429
|
+
];
|
|
430
|
+
exports.GetTranscript$ = [9, n0, _GT,
|
|
431
|
+
{ [_h]: ["POST", "/participant/transcript", 200] }, () => exports.GetTranscriptRequest$, () => exports.GetTranscriptResponse$
|
|
432
|
+
];
|
|
433
|
+
exports.SendEvent$ = [9, n0, _SE,
|
|
434
|
+
{ [_h]: ["POST", "/participant/event", 200] }, () => exports.SendEventRequest$, () => exports.SendEventResponse$
|
|
435
|
+
];
|
|
436
|
+
exports.SendMessage$ = [9, n0, _SM,
|
|
437
|
+
{ [_h]: ["POST", "/participant/message", 200] }, () => exports.SendMessageRequest$, () => exports.SendMessageResponse$
|
|
438
|
+
];
|
|
439
|
+
exports.StartAttachmentUpload$ = [9, n0, _SAU,
|
|
440
|
+
{ [_h]: ["POST", "/participant/start-attachment-upload", 200] }, () => exports.StartAttachmentUploadRequest$, () => exports.StartAttachmentUploadResponse$
|
|
441
|
+
];
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultConnectParticipantHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2018-09-07",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.connectparticipant",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2018-09-07",
|
|
30
32
|
serviceTarget: "AmazonConnectParticipantServiceLambda",
|
|
31
33
|
},
|