@aws-sdk/client-connectparticipant 3.714.0 → 3.716.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.
Files changed (33) hide show
  1. package/README.md +28 -0
  2. package/dist-cjs/index.js +137 -44
  3. package/dist-es/ConnectParticipant.js +4 -0
  4. package/dist-es/commands/CancelParticipantAuthenticationCommand.js +22 -0
  5. package/dist-es/commands/GetAuthenticationUrlCommand.js +22 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +24 -24
  8. package/dist-es/protocols/Aws_restJson1.js +62 -7
  9. package/dist-types/ConnectParticipant.d.ts +27 -1
  10. package/dist-types/ConnectParticipantClient.d.ts +17 -3
  11. package/dist-types/commands/CancelParticipantAuthenticationCommand.d.ts +87 -0
  12. package/dist-types/commands/CompleteAttachmentUploadCommand.d.ts +3 -2
  13. package/dist-types/commands/CreateParticipantConnectionCommand.d.ts +1 -0
  14. package/dist-types/commands/DescribeViewCommand.d.ts +1 -0
  15. package/dist-types/commands/DisconnectParticipantCommand.d.ts +1 -0
  16. package/dist-types/commands/GetAttachmentCommand.d.ts +3 -0
  17. package/dist-types/commands/GetAuthenticationUrlCommand.d.ts +99 -0
  18. package/dist-types/commands/GetTranscriptCommand.d.ts +6 -5
  19. package/dist-types/commands/SendEventCommand.d.ts +3 -2
  20. package/dist-types/commands/SendMessageCommand.d.ts +1 -0
  21. package/dist-types/commands/StartAttachmentUploadCommand.d.ts +1 -0
  22. package/dist-types/commands/index.d.ts +2 -0
  23. package/dist-types/index.d.ts +13 -1
  24. package/dist-types/models/models_0.d.ts +100 -36
  25. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  26. package/dist-types/ts3.4/ConnectParticipant.d.ts +34 -0
  27. package/dist-types/ts3.4/ConnectParticipantClient.d.ts +12 -0
  28. package/dist-types/ts3.4/commands/CancelParticipantAuthenticationCommand.d.ts +51 -0
  29. package/dist-types/ts3.4/commands/GetAuthenticationUrlCommand.d.ts +51 -0
  30. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +33 -18
  32. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  33. package/package.json +12 -12
@@ -16,20 +16,13 @@ export declare class AccessDeniedException extends __BaseException {
16
16
  /**
17
17
  * @public
18
18
  */
19
- export interface CompleteAttachmentUploadRequest {
19
+ export interface CancelParticipantAuthenticationRequest {
20
20
  /**
21
- * <p>A list of unique identifiers for the attachments.</p>
21
+ * <p>The <code>sessionId</code> provided in the <code>authenticationInitiated</code>
22
+ * event.</p>
22
23
  * @public
23
24
  */
24
- AttachmentIds: string[] | undefined;
25
- /**
26
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
27
- * request. If not provided, the Amazon Web Services
28
- * SDK populates this field. For more information about idempotency, see
29
- * <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
30
- * @public
31
- */
32
- ClientToken?: string | undefined;
25
+ SessionId: string | undefined;
33
26
  /**
34
27
  * <p>The authentication token associated with the participant's connection.</p>
35
28
  * @public
@@ -39,73 +32,101 @@ export interface CompleteAttachmentUploadRequest {
39
32
  /**
40
33
  * @public
41
34
  */
42
- export interface CompleteAttachmentUploadResponse {
35
+ export interface CancelParticipantAuthenticationResponse {
43
36
  }
44
37
  /**
45
- * <p>The requested operation conflicts with the current state of a service
46
- * resource associated with the request. </p>
38
+ * <p>This exception occurs when there is an internal failure in the Amazon Connect service.</p>
47
39
  * @public
48
40
  */
49
- export declare class ConflictException extends __BaseException {
50
- readonly name: "ConflictException";
51
- readonly $fault: "client";
41
+ export declare class InternalServerException extends __BaseException {
42
+ readonly name: "InternalServerException";
43
+ readonly $fault: "server";
52
44
  Message: string | undefined;
53
45
  /**
54
46
  * @internal
55
47
  */
56
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
48
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
57
49
  }
58
50
  /**
59
- * <p>This exception occurs when there is an internal failure in the Amazon Connect service.</p>
51
+ * <p>The request was denied due to request throttling.</p>
60
52
  * @public
61
53
  */
62
- export declare class InternalServerException extends __BaseException {
63
- readonly name: "InternalServerException";
64
- readonly $fault: "server";
54
+ export declare class ThrottlingException extends __BaseException {
55
+ readonly name: "ThrottlingException";
56
+ readonly $fault: "client";
65
57
  Message: string | undefined;
66
58
  /**
67
59
  * @internal
68
60
  */
69
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
61
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
70
62
  }
71
63
  /**
72
- * <p>The number of attachments per contact exceeds the quota.</p>
64
+ * <p>The input fails to satisfy the constraints specified by Amazon Connect.</p>
73
65
  * @public
74
66
  */
75
- export declare class ServiceQuotaExceededException extends __BaseException {
76
- readonly name: "ServiceQuotaExceededException";
67
+ export declare class ValidationException extends __BaseException {
68
+ readonly name: "ValidationException";
77
69
  readonly $fault: "client";
78
70
  Message: string | undefined;
79
71
  /**
80
72
  * @internal
81
73
  */
82
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
74
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
83
75
  }
84
76
  /**
85
- * <p>The request was denied due to request throttling.</p>
86
77
  * @public
87
78
  */
88
- export declare class ThrottlingException extends __BaseException {
89
- readonly name: "ThrottlingException";
79
+ export interface CompleteAttachmentUploadRequest {
80
+ /**
81
+ * <p>A list of unique identifiers for the attachments.</p>
82
+ * @public
83
+ */
84
+ AttachmentIds: string[] | undefined;
85
+ /**
86
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
87
+ * request. If not provided, the Amazon Web Services
88
+ * SDK populates this field. For more information about idempotency, see
89
+ * <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
90
+ * @public
91
+ */
92
+ ClientToken?: string | undefined;
93
+ /**
94
+ * <p>The authentication token associated with the participant's connection.</p>
95
+ * @public
96
+ */
97
+ ConnectionToken: string | undefined;
98
+ }
99
+ /**
100
+ * @public
101
+ */
102
+ export interface CompleteAttachmentUploadResponse {
103
+ }
104
+ /**
105
+ * <p>The requested operation conflicts with the current state of a service resource
106
+ * associated with the request. </p>
107
+ * @public
108
+ */
109
+ export declare class ConflictException extends __BaseException {
110
+ readonly name: "ConflictException";
90
111
  readonly $fault: "client";
91
112
  Message: string | undefined;
92
113
  /**
93
114
  * @internal
94
115
  */
95
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
116
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
96
117
  }
97
118
  /**
98
- * <p>The input fails to satisfy the constraints specified by Amazon Connect.</p>
119
+ * <p>The number of attachments per contact exceeds the quota.</p>
99
120
  * @public
100
121
  */
101
- export declare class ValidationException extends __BaseException {
102
- readonly name: "ValidationException";
122
+ export declare class ServiceQuotaExceededException extends __BaseException {
123
+ readonly name: "ServiceQuotaExceededException";
103
124
  readonly $fault: "client";
104
125
  Message: string | undefined;
105
126
  /**
106
127
  * @internal
107
128
  */
108
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
129
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
109
130
  }
110
131
  /**
111
132
  * @public
@@ -358,6 +379,12 @@ export interface GetAttachmentRequest {
358
379
  * @public
359
380
  */
360
381
  ConnectionToken: string | undefined;
382
+ /**
383
+ * <p>The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format:
384
+ * yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.</p>
385
+ * @public
386
+ */
387
+ UrlExpiryInSeconds?: number | undefined;
361
388
  }
362
389
  /**
363
390
  * @public
@@ -374,6 +401,43 @@ export interface GetAttachmentResponse {
374
401
  * @public
375
402
  */
376
403
  UrlExpiry?: string | undefined;
404
+ /**
405
+ * <p>The size of the attachment in bytes.</p>
406
+ * @public
407
+ */
408
+ AttachmentSizeInBytes: number | undefined;
409
+ }
410
+ /**
411
+ * @public
412
+ */
413
+ export interface GetAuthenticationUrlRequest {
414
+ /**
415
+ * <p>The sessionId provided in the authenticationInitiated event.</p>
416
+ * @public
417
+ */
418
+ SessionId: string | undefined;
419
+ /**
420
+ * <p>The URL where the customer will be redirected after Amazon Cognito authorizes the
421
+ * user.</p>
422
+ * @public
423
+ */
424
+ RedirectUri: string | undefined;
425
+ /**
426
+ * <p>The authentication token associated with the participant's connection.</p>
427
+ * @public
428
+ */
429
+ ConnectionToken: string | undefined;
430
+ }
431
+ /**
432
+ * @public
433
+ */
434
+ export interface GetAuthenticationUrlResponse {
435
+ /**
436
+ * <p>The URL where the customer will sign in to the identity provider. This URL contains
437
+ * the authorize endpoint for the Cognito UserPool used in the authentication.</p>
438
+ * @public
439
+ */
440
+ AuthenticationUrl?: string | undefined;
377
441
  }
378
442
  /**
379
443
  * @public
@@ -862,7 +926,7 @@ export interface StartAttachmentUploadResponse {
862
926
  */
863
927
  AttachmentId?: string | undefined;
864
928
  /**
865
- * <p>Fields to be used while uploading the attachment.</p>
929
+ * <p>The headers to be provided while uploading the file to the URL.</p>
866
930
  * @public
867
931
  */
868
932
  UploadMetadata?: UploadMetadata | undefined;
@@ -1,14 +1,20 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { CancelParticipantAuthenticationCommandInput, CancelParticipantAuthenticationCommandOutput } from "../commands/CancelParticipantAuthenticationCommand";
3
4
  import { CompleteAttachmentUploadCommandInput, CompleteAttachmentUploadCommandOutput } from "../commands/CompleteAttachmentUploadCommand";
4
5
  import { CreateParticipantConnectionCommandInput, CreateParticipantConnectionCommandOutput } from "../commands/CreateParticipantConnectionCommand";
5
6
  import { DescribeViewCommandInput, DescribeViewCommandOutput } from "../commands/DescribeViewCommand";
6
7
  import { DisconnectParticipantCommandInput, DisconnectParticipantCommandOutput } from "../commands/DisconnectParticipantCommand";
7
8
  import { GetAttachmentCommandInput, GetAttachmentCommandOutput } from "../commands/GetAttachmentCommand";
9
+ import { GetAuthenticationUrlCommandInput, GetAuthenticationUrlCommandOutput } from "../commands/GetAuthenticationUrlCommand";
8
10
  import { GetTranscriptCommandInput, GetTranscriptCommandOutput } from "../commands/GetTranscriptCommand";
9
11
  import { SendEventCommandInput, SendEventCommandOutput } from "../commands/SendEventCommand";
10
12
  import { SendMessageCommandInput, SendMessageCommandOutput } from "../commands/SendMessageCommand";
11
13
  import { StartAttachmentUploadCommandInput, StartAttachmentUploadCommandOutput } from "../commands/StartAttachmentUploadCommand";
14
+ /**
15
+ * serializeAws_restJson1CancelParticipantAuthenticationCommand
16
+ */
17
+ export declare const se_CancelParticipantAuthenticationCommand: (input: CancelParticipantAuthenticationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
12
18
  /**
13
19
  * serializeAws_restJson1CompleteAttachmentUploadCommand
14
20
  */
@@ -29,6 +35,10 @@ export declare const se_DisconnectParticipantCommand: (input: DisconnectParticip
29
35
  * serializeAws_restJson1GetAttachmentCommand
30
36
  */
31
37
  export declare const se_GetAttachmentCommand: (input: GetAttachmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
38
+ /**
39
+ * serializeAws_restJson1GetAuthenticationUrlCommand
40
+ */
41
+ export declare const se_GetAuthenticationUrlCommand: (input: GetAuthenticationUrlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
32
42
  /**
33
43
  * serializeAws_restJson1GetTranscriptCommand
34
44
  */
@@ -45,6 +55,10 @@ export declare const se_SendMessageCommand: (input: SendMessageCommandInput, con
45
55
  * serializeAws_restJson1StartAttachmentUploadCommand
46
56
  */
47
57
  export declare const se_StartAttachmentUploadCommand: (input: StartAttachmentUploadCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
58
+ /**
59
+ * deserializeAws_restJson1CancelParticipantAuthenticationCommand
60
+ */
61
+ export declare const de_CancelParticipantAuthenticationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CancelParticipantAuthenticationCommandOutput>;
48
62
  /**
49
63
  * deserializeAws_restJson1CompleteAttachmentUploadCommand
50
64
  */
@@ -65,6 +79,10 @@ export declare const de_DisconnectParticipantCommand: (output: __HttpResponse, c
65
79
  * deserializeAws_restJson1GetAttachmentCommand
66
80
  */
67
81
  export declare const de_GetAttachmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAttachmentCommandOutput>;
82
+ /**
83
+ * deserializeAws_restJson1GetAuthenticationUrlCommand
84
+ */
85
+ export declare const de_GetAuthenticationUrlCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAuthenticationUrlCommandOutput>;
68
86
  /**
69
87
  * deserializeAws_restJson1GetTranscriptCommand
70
88
  */
@@ -1,4 +1,8 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ CancelParticipantAuthenticationCommandInput,
4
+ CancelParticipantAuthenticationCommandOutput,
5
+ } from "./commands/CancelParticipantAuthenticationCommand";
2
6
  import {
3
7
  CompleteAttachmentUploadCommandInput,
4
8
  CompleteAttachmentUploadCommandOutput,
@@ -19,6 +23,10 @@ import {
19
23
  GetAttachmentCommandInput,
20
24
  GetAttachmentCommandOutput,
21
25
  } from "./commands/GetAttachmentCommand";
26
+ import {
27
+ GetAuthenticationUrlCommandInput,
28
+ GetAuthenticationUrlCommandOutput,
29
+ } from "./commands/GetAuthenticationUrlCommand";
22
30
  import {
23
31
  GetTranscriptCommandInput,
24
32
  GetTranscriptCommandOutput,
@@ -37,6 +45,19 @@ import {
37
45
  } from "./commands/StartAttachmentUploadCommand";
38
46
  import { ConnectParticipantClient } from "./ConnectParticipantClient";
39
47
  export interface ConnectParticipant {
48
+ cancelParticipantAuthentication(
49
+ args: CancelParticipantAuthenticationCommandInput,
50
+ options?: __HttpHandlerOptions
51
+ ): Promise<CancelParticipantAuthenticationCommandOutput>;
52
+ cancelParticipantAuthentication(
53
+ args: CancelParticipantAuthenticationCommandInput,
54
+ cb: (err: any, data?: CancelParticipantAuthenticationCommandOutput) => void
55
+ ): void;
56
+ cancelParticipantAuthentication(
57
+ args: CancelParticipantAuthenticationCommandInput,
58
+ options: __HttpHandlerOptions,
59
+ cb: (err: any, data?: CancelParticipantAuthenticationCommandOutput) => void
60
+ ): void;
40
61
  completeAttachmentUpload(
41
62
  args: CompleteAttachmentUploadCommandInput,
42
63
  options?: __HttpHandlerOptions
@@ -102,6 +123,19 @@ export interface ConnectParticipant {
102
123
  options: __HttpHandlerOptions,
103
124
  cb: (err: any, data?: GetAttachmentCommandOutput) => void
104
125
  ): void;
126
+ getAuthenticationUrl(
127
+ args: GetAuthenticationUrlCommandInput,
128
+ options?: __HttpHandlerOptions
129
+ ): Promise<GetAuthenticationUrlCommandOutput>;
130
+ getAuthenticationUrl(
131
+ args: GetAuthenticationUrlCommandInput,
132
+ cb: (err: any, data?: GetAuthenticationUrlCommandOutput) => void
133
+ ): void;
134
+ getAuthenticationUrl(
135
+ args: GetAuthenticationUrlCommandInput,
136
+ options: __HttpHandlerOptions,
137
+ cb: (err: any, data?: GetAuthenticationUrlCommandOutput) => void
138
+ ): void;
105
139
  getTranscript(
106
140
  args: GetTranscriptCommandInput,
107
141
  options?: __HttpHandlerOptions
@@ -45,6 +45,10 @@ import {
45
45
  HttpAuthSchemeInputConfig,
46
46
  HttpAuthSchemeResolvedConfig,
47
47
  } from "./auth/httpAuthSchemeProvider";
48
+ import {
49
+ CancelParticipantAuthenticationCommandInput,
50
+ CancelParticipantAuthenticationCommandOutput,
51
+ } from "./commands/CancelParticipantAuthenticationCommand";
48
52
  import {
49
53
  CompleteAttachmentUploadCommandInput,
50
54
  CompleteAttachmentUploadCommandOutput,
@@ -65,6 +69,10 @@ import {
65
69
  GetAttachmentCommandInput,
66
70
  GetAttachmentCommandOutput,
67
71
  } from "./commands/GetAttachmentCommand";
72
+ import {
73
+ GetAuthenticationUrlCommandInput,
74
+ GetAuthenticationUrlCommandOutput,
75
+ } from "./commands/GetAuthenticationUrlCommand";
68
76
  import {
69
77
  GetTranscriptCommandInput,
70
78
  GetTranscriptCommandOutput,
@@ -89,21 +97,25 @@ import {
89
97
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
90
98
  export { __Client };
91
99
  export type ServiceInputTypes =
100
+ | CancelParticipantAuthenticationCommandInput
92
101
  | CompleteAttachmentUploadCommandInput
93
102
  | CreateParticipantConnectionCommandInput
94
103
  | DescribeViewCommandInput
95
104
  | DisconnectParticipantCommandInput
96
105
  | GetAttachmentCommandInput
106
+ | GetAuthenticationUrlCommandInput
97
107
  | GetTranscriptCommandInput
98
108
  | SendEventCommandInput
99
109
  | SendMessageCommandInput
100
110
  | StartAttachmentUploadCommandInput;
101
111
  export type ServiceOutputTypes =
112
+ | CancelParticipantAuthenticationCommandOutput
102
113
  | CompleteAttachmentUploadCommandOutput
103
114
  | CreateParticipantConnectionCommandOutput
104
115
  | DescribeViewCommandOutput
105
116
  | DisconnectParticipantCommandOutput
106
117
  | GetAttachmentCommandOutput
118
+ | GetAuthenticationUrlCommandOutput
107
119
  | GetTranscriptCommandOutput
108
120
  | SendEventCommandOutput
109
121
  | SendMessageCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ConnectParticipantClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ConnectParticipantClient";
8
+ import {
9
+ CancelParticipantAuthenticationRequest,
10
+ CancelParticipantAuthenticationResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CancelParticipantAuthenticationCommandInput
15
+ extends CancelParticipantAuthenticationRequest {}
16
+ export interface CancelParticipantAuthenticationCommandOutput
17
+ extends CancelParticipantAuthenticationResponse,
18
+ __MetadataBearer {}
19
+ declare const CancelParticipantAuthenticationCommand_base: {
20
+ new (
21
+ input: CancelParticipantAuthenticationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CancelParticipantAuthenticationCommandInput,
24
+ CancelParticipantAuthenticationCommandOutput,
25
+ ConnectParticipantClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: CancelParticipantAuthenticationCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CancelParticipantAuthenticationCommandInput,
33
+ CancelParticipantAuthenticationCommandOutput,
34
+ ConnectParticipantClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CancelParticipantAuthenticationCommand extends CancelParticipantAuthenticationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CancelParticipantAuthenticationRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: CancelParticipantAuthenticationCommandInput;
48
+ output: CancelParticipantAuthenticationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ConnectParticipantClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ConnectParticipantClient";
8
+ import {
9
+ GetAuthenticationUrlRequest,
10
+ GetAuthenticationUrlResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetAuthenticationUrlCommandInput
15
+ extends GetAuthenticationUrlRequest {}
16
+ export interface GetAuthenticationUrlCommandOutput
17
+ extends GetAuthenticationUrlResponse,
18
+ __MetadataBearer {}
19
+ declare const GetAuthenticationUrlCommand_base: {
20
+ new (
21
+ input: GetAuthenticationUrlCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetAuthenticationUrlCommandInput,
24
+ GetAuthenticationUrlCommandOutput,
25
+ ConnectParticipantClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: GetAuthenticationUrlCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetAuthenticationUrlCommandInput,
33
+ GetAuthenticationUrlCommandOutput,
34
+ ConnectParticipantClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetAuthenticationUrlCommand extends GetAuthenticationUrlCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetAuthenticationUrlRequest;
44
+ output: GetAuthenticationUrlResponse;
45
+ };
46
+ sdk: {
47
+ input: GetAuthenticationUrlCommandInput;
48
+ output: GetAuthenticationUrlCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -1,8 +1,10 @@
1
+ export * from "./CancelParticipantAuthenticationCommand";
1
2
  export * from "./CompleteAttachmentUploadCommand";
2
3
  export * from "./CreateParticipantConnectionCommand";
3
4
  export * from "./DescribeViewCommand";
4
5
  export * from "./DisconnectParticipantCommand";
5
6
  export * from "./GetAttachmentCommand";
7
+ export * from "./GetAuthenticationUrlCommand";
6
8
  export * from "./GetTranscriptCommand";
7
9
  export * from "./SendEventCommand";
8
10
  export * from "./SendMessageCommand";
@@ -8,18 +8,11 @@ export declare class AccessDeniedException extends __BaseException {
8
8
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
9
  );
10
10
  }
11
- export interface CompleteAttachmentUploadRequest {
12
- AttachmentIds: string[] | undefined;
13
- ClientToken?: string | undefined;
11
+ export interface CancelParticipantAuthenticationRequest {
12
+ SessionId: string | undefined;
14
13
  ConnectionToken: string | undefined;
15
14
  }
16
- export interface CompleteAttachmentUploadResponse {}
17
- export declare class ConflictException extends __BaseException {
18
- readonly name: "ConflictException";
19
- readonly $fault: "client";
20
- Message: string | undefined;
21
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
22
- }
15
+ export interface CancelParticipantAuthenticationResponse {}
23
16
  export declare class InternalServerException extends __BaseException {
24
17
  readonly name: "InternalServerException";
25
18
  readonly $fault: "server";
@@ -28,14 +21,6 @@ export declare class InternalServerException extends __BaseException {
28
21
  opts: __ExceptionOptionType<InternalServerException, __BaseException>
29
22
  );
30
23
  }
31
- export declare class ServiceQuotaExceededException extends __BaseException {
32
- readonly name: "ServiceQuotaExceededException";
33
- readonly $fault: "client";
34
- Message: string | undefined;
35
- constructor(
36
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
37
- );
38
- }
39
24
  export declare class ThrottlingException extends __BaseException {
40
25
  readonly name: "ThrottlingException";
41
26
  readonly $fault: "client";
@@ -52,6 +37,26 @@ export declare class ValidationException extends __BaseException {
52
37
  opts: __ExceptionOptionType<ValidationException, __BaseException>
53
38
  );
54
39
  }
40
+ export interface CompleteAttachmentUploadRequest {
41
+ AttachmentIds: string[] | undefined;
42
+ ClientToken?: string | undefined;
43
+ ConnectionToken: string | undefined;
44
+ }
45
+ export interface CompleteAttachmentUploadResponse {}
46
+ export declare class ConflictException extends __BaseException {
47
+ readonly name: "ConflictException";
48
+ readonly $fault: "client";
49
+ Message: string | undefined;
50
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
51
+ }
52
+ export declare class ServiceQuotaExceededException extends __BaseException {
53
+ readonly name: "ServiceQuotaExceededException";
54
+ readonly $fault: "client";
55
+ Message: string | undefined;
56
+ constructor(
57
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
58
+ );
59
+ }
55
60
  export declare const ConnectionType: {
56
61
  readonly CONNECTION_CREDENTIALS: "CONNECTION_CREDENTIALS";
57
62
  readonly WEBSOCKET: "WEBSOCKET";
@@ -123,10 +128,20 @@ export interface DisconnectParticipantResponse {}
123
128
  export interface GetAttachmentRequest {
124
129
  AttachmentId: string | undefined;
125
130
  ConnectionToken: string | undefined;
131
+ UrlExpiryInSeconds?: number | undefined;
126
132
  }
127
133
  export interface GetAttachmentResponse {
128
134
  Url?: string | undefined;
129
135
  UrlExpiry?: string | undefined;
136
+ AttachmentSizeInBytes: number | undefined;
137
+ }
138
+ export interface GetAuthenticationUrlRequest {
139
+ SessionId: string | undefined;
140
+ RedirectUri: string | undefined;
141
+ ConnectionToken: string | undefined;
142
+ }
143
+ export interface GetAuthenticationUrlResponse {
144
+ AuthenticationUrl?: string | undefined;
130
145
  }
131
146
  export declare const ScanDirection: {
132
147
  readonly BACKWARD: "BACKWARD";
@@ -3,6 +3,10 @@ import {
3
3
  HttpResponse as __HttpResponse,
4
4
  } from "@smithy/protocol-http";
5
5
  import { SerdeContext as __SerdeContext } from "@smithy/types";
6
+ import {
7
+ CancelParticipantAuthenticationCommandInput,
8
+ CancelParticipantAuthenticationCommandOutput,
9
+ } from "../commands/CancelParticipantAuthenticationCommand";
6
10
  import {
7
11
  CompleteAttachmentUploadCommandInput,
8
12
  CompleteAttachmentUploadCommandOutput,
@@ -23,6 +27,10 @@ import {
23
27
  GetAttachmentCommandInput,
24
28
  GetAttachmentCommandOutput,
25
29
  } from "../commands/GetAttachmentCommand";
30
+ import {
31
+ GetAuthenticationUrlCommandInput,
32
+ GetAuthenticationUrlCommandOutput,
33
+ } from "../commands/GetAuthenticationUrlCommand";
26
34
  import {
27
35
  GetTranscriptCommandInput,
28
36
  GetTranscriptCommandOutput,
@@ -39,6 +47,10 @@ import {
39
47
  StartAttachmentUploadCommandInput,
40
48
  StartAttachmentUploadCommandOutput,
41
49
  } from "../commands/StartAttachmentUploadCommand";
50
+ export declare const se_CancelParticipantAuthenticationCommand: (
51
+ input: CancelParticipantAuthenticationCommandInput,
52
+ context: __SerdeContext
53
+ ) => Promise<__HttpRequest>;
42
54
  export declare const se_CompleteAttachmentUploadCommand: (
43
55
  input: CompleteAttachmentUploadCommandInput,
44
56
  context: __SerdeContext
@@ -59,6 +71,10 @@ export declare const se_GetAttachmentCommand: (
59
71
  input: GetAttachmentCommandInput,
60
72
  context: __SerdeContext
61
73
  ) => Promise<__HttpRequest>;
74
+ export declare const se_GetAuthenticationUrlCommand: (
75
+ input: GetAuthenticationUrlCommandInput,
76
+ context: __SerdeContext
77
+ ) => Promise<__HttpRequest>;
62
78
  export declare const se_GetTranscriptCommand: (
63
79
  input: GetTranscriptCommandInput,
64
80
  context: __SerdeContext
@@ -75,6 +91,10 @@ export declare const se_StartAttachmentUploadCommand: (
75
91
  input: StartAttachmentUploadCommandInput,
76
92
  context: __SerdeContext
77
93
  ) => Promise<__HttpRequest>;
94
+ export declare const de_CancelParticipantAuthenticationCommand: (
95
+ output: __HttpResponse,
96
+ context: __SerdeContext
97
+ ) => Promise<CancelParticipantAuthenticationCommandOutput>;
78
98
  export declare const de_CompleteAttachmentUploadCommand: (
79
99
  output: __HttpResponse,
80
100
  context: __SerdeContext
@@ -95,6 +115,10 @@ export declare const de_GetAttachmentCommand: (
95
115
  output: __HttpResponse,
96
116
  context: __SerdeContext
97
117
  ) => Promise<GetAttachmentCommandOutput>;
118
+ export declare const de_GetAuthenticationUrlCommand: (
119
+ output: __HttpResponse,
120
+ context: __SerdeContext
121
+ ) => Promise<GetAuthenticationUrlCommandOutput>;
98
122
  export declare const de_GetTranscriptCommand: (
99
123
  output: __HttpResponse,
100
124
  context: __SerdeContext