@aws-sdk/client-ivs-realtime 3.329.0 → 3.335.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 (69) hide show
  1. package/README.md +82 -1
  2. package/dist-cjs/IVSRealTime.js +10 -0
  3. package/dist-cjs/commands/GetParticipantCommand.js +45 -0
  4. package/dist-cjs/commands/GetStageSessionCommand.js +45 -0
  5. package/dist-cjs/commands/ListParticipantEventsCommand.js +45 -0
  6. package/dist-cjs/commands/ListParticipantsCommand.js +45 -0
  7. package/dist-cjs/commands/ListStageSessionsCommand.js +45 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/models/models_0.js +19 -1
  10. package/dist-cjs/pagination/ListParticipantEventsPaginator.js +29 -0
  11. package/dist-cjs/pagination/ListParticipantsPaginator.js +29 -0
  12. package/dist-cjs/pagination/ListStageSessionsPaginator.js +29 -0
  13. package/dist-cjs/pagination/index.js +3 -0
  14. package/dist-cjs/protocols/Aws_restJson1.js +382 -2
  15. package/dist-es/IVSRealTime.js +10 -0
  16. package/dist-es/commands/GetParticipantCommand.js +41 -0
  17. package/dist-es/commands/GetStageSessionCommand.js +41 -0
  18. package/dist-es/commands/ListParticipantEventsCommand.js +41 -0
  19. package/dist-es/commands/ListParticipantsCommand.js +41 -0
  20. package/dist-es/commands/ListStageSessionsCommand.js +41 -0
  21. package/dist-es/commands/index.js +5 -0
  22. package/dist-es/models/models_0.js +18 -0
  23. package/dist-es/pagination/ListParticipantEventsPaginator.js +25 -0
  24. package/dist-es/pagination/ListParticipantsPaginator.js +25 -0
  25. package/dist-es/pagination/ListStageSessionsPaginator.js +25 -0
  26. package/dist-es/pagination/index.js +3 -0
  27. package/dist-es/protocols/Aws_restJson1.js +372 -2
  28. package/dist-types/IVSRealTime.d.ts +77 -1
  29. package/dist-types/IVSRealTimeClient.d.ts +52 -5
  30. package/dist-types/commands/CreateParticipantTokenCommand.d.ts +5 -3
  31. package/dist-types/commands/DisconnectParticipantCommand.d.ts +2 -1
  32. package/dist-types/commands/GetParticipantCommand.d.ts +89 -0
  33. package/dist-types/commands/GetStageSessionCommand.d.ts +83 -0
  34. package/dist-types/commands/ListParticipantEventsCommand.d.ts +89 -0
  35. package/dist-types/commands/ListParticipantsCommand.d.ts +90 -0
  36. package/dist-types/commands/ListStageSessionsCommand.d.ts +84 -0
  37. package/dist-types/commands/ListStagesCommand.d.ts +2 -1
  38. package/dist-types/commands/index.d.ts +5 -0
  39. package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
  40. package/dist-types/models/models_0.d.ts +405 -33
  41. package/dist-types/pagination/ListParticipantEventsPaginator.d.ts +7 -0
  42. package/dist-types/pagination/ListParticipantsPaginator.d.ts +7 -0
  43. package/dist-types/pagination/ListStageSessionsPaginator.d.ts +7 -0
  44. package/dist-types/pagination/index.d.ts +3 -0
  45. package/dist-types/protocols/Aws_restJson1.d.ts +47 -2
  46. package/dist-types/runtimeConfig.browser.d.ts +12 -12
  47. package/dist-types/runtimeConfig.d.ts +9 -9
  48. package/dist-types/runtimeConfig.native.d.ts +13 -13
  49. package/dist-types/runtimeConfig.shared.d.ts +4 -4
  50. package/dist-types/ts3.4/IVSRealTime.d.ts +85 -0
  51. package/dist-types/ts3.4/IVSRealTimeClient.d.ts +37 -5
  52. package/dist-types/ts3.4/commands/GetParticipantCommand.d.ts +37 -0
  53. package/dist-types/ts3.4/commands/GetStageSessionCommand.d.ts +37 -0
  54. package/dist-types/ts3.4/commands/ListParticipantEventsCommand.d.ts +41 -0
  55. package/dist-types/ts3.4/commands/ListParticipantsCommand.d.ts +37 -0
  56. package/dist-types/ts3.4/commands/ListStageSessionsCommand.d.ts +38 -0
  57. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  58. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
  59. package/dist-types/ts3.4/models/models_0.d.ts +103 -0
  60. package/dist-types/ts3.4/pagination/ListParticipantEventsPaginator.d.ts +11 -0
  61. package/dist-types/ts3.4/pagination/ListParticipantsPaginator.d.ts +11 -0
  62. package/dist-types/ts3.4/pagination/ListStageSessionsPaginator.d.ts +11 -0
  63. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  64. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +62 -2
  65. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +18 -15
  66. package/dist-types/ts3.4/runtimeConfig.d.ts +12 -12
  67. package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -15
  68. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
  69. package/package.json +7 -6
@@ -2,7 +2,12 @@ export * from "./CreateParticipantTokenCommand";
2
2
  export * from "./CreateStageCommand";
3
3
  export * from "./DeleteStageCommand";
4
4
  export * from "./DisconnectParticipantCommand";
5
+ export * from "./GetParticipantCommand";
5
6
  export * from "./GetStageCommand";
7
+ export * from "./GetStageSessionCommand";
8
+ export * from "./ListParticipantEventsCommand";
9
+ export * from "./ListParticipantsCommand";
10
+ export * from "./ListStageSessionsCommand";
6
11
  export * from "./ListStagesCommand";
7
12
  export * from "./ListTagsForResourceCommand";
8
13
  export * from "./TagResourceCommand";
@@ -1,9 +1,8 @@
1
1
  import {
2
- Endpoint,
3
2
  EndpointParameters as __EndpointParameters,
4
3
  EndpointV2,
5
- Provider,
6
4
  } from "@aws-sdk/types";
5
+ import { Endpoint, Provider } from "@smithy/types";
7
6
  export interface ClientInputEndpointParameters {
8
7
  region?: string | Provider<string>;
9
8
  useDualstackEndpoint?: boolean | Provider<boolean>;
@@ -102,12 +102,101 @@ export interface DisconnectParticipantRequest {
102
102
  reason?: string;
103
103
  }
104
104
  export interface DisconnectParticipantResponse {}
105
+ export interface GetParticipantRequest {
106
+ stageArn: string | undefined;
107
+ sessionId: string | undefined;
108
+ participantId: string | undefined;
109
+ }
110
+ export declare const ParticipantState: {
111
+ readonly CONNECTED: "CONNECTED";
112
+ readonly DISCONNECTED: "DISCONNECTED";
113
+ };
114
+ export declare type ParticipantState =
115
+ (typeof ParticipantState)[keyof typeof ParticipantState];
116
+ export interface Participant {
117
+ participantId?: string;
118
+ userId?: string;
119
+ state?: ParticipantState | string;
120
+ firstJoinTime?: Date;
121
+ attributes?: Record<string, string>;
122
+ published?: boolean;
123
+ }
124
+ export interface GetParticipantResponse {
125
+ participant?: Participant;
126
+ }
105
127
  export interface GetStageRequest {
106
128
  arn: string | undefined;
107
129
  }
108
130
  export interface GetStageResponse {
109
131
  stage?: Stage;
110
132
  }
133
+ export interface GetStageSessionRequest {
134
+ stageArn: string | undefined;
135
+ sessionId: string | undefined;
136
+ }
137
+ export interface StageSession {
138
+ sessionId?: string;
139
+ startTime?: Date;
140
+ endTime?: Date;
141
+ }
142
+ export interface GetStageSessionResponse {
143
+ stageSession?: StageSession;
144
+ }
145
+ export interface ListParticipantEventsRequest {
146
+ stageArn: string | undefined;
147
+ sessionId: string | undefined;
148
+ participantId: string | undefined;
149
+ nextToken?: string;
150
+ maxResults?: number;
151
+ }
152
+ export declare const EventErrorCode: {
153
+ readonly INSUFFICIENT_CAPABILITIES: "INSUFFICIENT_CAPABILITIES";
154
+ };
155
+ export declare type EventErrorCode =
156
+ (typeof EventErrorCode)[keyof typeof EventErrorCode];
157
+ export declare const EventName: {
158
+ readonly JOINED: "JOINED";
159
+ readonly JOIN_ERROR: "JOIN_ERROR";
160
+ readonly LEFT: "LEFT";
161
+ readonly PUBLISH_ERROR: "PUBLISH_ERROR";
162
+ readonly PUBLISH_STARTED: "PUBLISH_STARTED";
163
+ readonly PUBLISH_STOPPED: "PUBLISH_STOPPED";
164
+ readonly SUBSCRIBE_ERROR: "SUBSCRIBE_ERROR";
165
+ readonly SUBSCRIBE_STARTED: "SUBSCRIBE_STARTED";
166
+ readonly SUBSCRIBE_STOPPED: "SUBSCRIBE_STOPPED";
167
+ };
168
+ export declare type EventName = (typeof EventName)[keyof typeof EventName];
169
+ export interface Event {
170
+ name?: EventName | string;
171
+ participantId?: string;
172
+ eventTime?: Date;
173
+ remoteParticipantId?: string;
174
+ errorCode?: EventErrorCode | string;
175
+ }
176
+ export interface ListParticipantEventsResponse {
177
+ events: Event[] | undefined;
178
+ nextToken?: string;
179
+ }
180
+ export interface ListParticipantsRequest {
181
+ stageArn: string | undefined;
182
+ sessionId: string | undefined;
183
+ filterByUserId?: string;
184
+ filterByPublished?: boolean;
185
+ filterByState?: ParticipantState | string;
186
+ nextToken?: string;
187
+ maxResults?: number;
188
+ }
189
+ export interface ParticipantSummary {
190
+ participantId?: string;
191
+ userId?: string;
192
+ state?: ParticipantState | string;
193
+ firstJoinTime?: Date;
194
+ published?: boolean;
195
+ }
196
+ export interface ListParticipantsResponse {
197
+ participants: ParticipantSummary[] | undefined;
198
+ nextToken?: string;
199
+ }
111
200
  export interface ListStagesRequest {
112
201
  nextToken?: string;
113
202
  maxResults?: number;
@@ -122,6 +211,20 @@ export interface ListStagesResponse {
122
211
  stages: StageSummary[] | undefined;
123
212
  nextToken?: string;
124
213
  }
214
+ export interface ListStageSessionsRequest {
215
+ stageArn: string | undefined;
216
+ nextToken?: string;
217
+ maxResults?: number;
218
+ }
219
+ export interface StageSessionSummary {
220
+ sessionId?: string;
221
+ startTime?: Date;
222
+ endTime?: Date;
223
+ }
224
+ export interface ListStageSessionsResponse {
225
+ stageSessions: StageSessionSummary[] | undefined;
226
+ nextToken?: string;
227
+ }
125
228
  export declare class InternalServerException extends __BaseException {
126
229
  readonly name: "InternalServerException";
127
230
  readonly $fault: "server";
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListParticipantEventsCommandInput,
4
+ ListParticipantEventsCommandOutput,
5
+ } from "../commands/ListParticipantEventsCommand";
6
+ import { IVSRealTimePaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListParticipantEvents(
8
+ config: IVSRealTimePaginationConfiguration,
9
+ input: ListParticipantEventsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListParticipantEventsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListParticipantsCommandInput,
4
+ ListParticipantsCommandOutput,
5
+ } from "../commands/ListParticipantsCommand";
6
+ import { IVSRealTimePaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListParticipants(
8
+ config: IVSRealTimePaginationConfiguration,
9
+ input: ListParticipantsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListParticipantsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListStageSessionsCommandInput,
4
+ ListStageSessionsCommandOutput,
5
+ } from "../commands/ListStageSessionsCommand";
6
+ import { IVSRealTimePaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListStageSessions(
8
+ config: IVSRealTimePaginationConfiguration,
9
+ input: ListStageSessionsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListStageSessionsCommandOutput>;
@@ -1,2 +1,5 @@
1
1
  export * from "./Interfaces";
2
+ export * from "./ListParticipantEventsPaginator";
3
+ export * from "./ListParticipantsPaginator";
4
+ export * from "./ListStageSessionsPaginator";
2
5
  export * from "./ListStagesPaginator";
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  HttpRequest as __HttpRequest,
3
3
  HttpResponse as __HttpResponse,
4
- } from "@aws-sdk/protocol-http";
5
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
4
+ } from "@smithy/protocol-http";
5
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
6
6
  import {
7
7
  CreateParticipantTokenCommandInput,
8
8
  CreateParticipantTokenCommandOutput,
@@ -19,14 +19,34 @@ import {
19
19
  DisconnectParticipantCommandInput,
20
20
  DisconnectParticipantCommandOutput,
21
21
  } from "../commands/DisconnectParticipantCommand";
22
+ import {
23
+ GetParticipantCommandInput,
24
+ GetParticipantCommandOutput,
25
+ } from "../commands/GetParticipantCommand";
22
26
  import {
23
27
  GetStageCommandInput,
24
28
  GetStageCommandOutput,
25
29
  } from "../commands/GetStageCommand";
30
+ import {
31
+ GetStageSessionCommandInput,
32
+ GetStageSessionCommandOutput,
33
+ } from "../commands/GetStageSessionCommand";
34
+ import {
35
+ ListParticipantEventsCommandInput,
36
+ ListParticipantEventsCommandOutput,
37
+ } from "../commands/ListParticipantEventsCommand";
38
+ import {
39
+ ListParticipantsCommandInput,
40
+ ListParticipantsCommandOutput,
41
+ } from "../commands/ListParticipantsCommand";
26
42
  import {
27
43
  ListStagesCommandInput,
28
44
  ListStagesCommandOutput,
29
45
  } from "../commands/ListStagesCommand";
46
+ import {
47
+ ListStageSessionsCommandInput,
48
+ ListStageSessionsCommandOutput,
49
+ } from "../commands/ListStageSessionsCommand";
30
50
  import {
31
51
  ListTagsForResourceCommandInput,
32
52
  ListTagsForResourceCommandOutput,
@@ -59,14 +79,34 @@ export declare const se_DisconnectParticipantCommand: (
59
79
  input: DisconnectParticipantCommandInput,
60
80
  context: __SerdeContext
61
81
  ) => Promise<__HttpRequest>;
82
+ export declare const se_GetParticipantCommand: (
83
+ input: GetParticipantCommandInput,
84
+ context: __SerdeContext
85
+ ) => Promise<__HttpRequest>;
62
86
  export declare const se_GetStageCommand: (
63
87
  input: GetStageCommandInput,
64
88
  context: __SerdeContext
65
89
  ) => Promise<__HttpRequest>;
90
+ export declare const se_GetStageSessionCommand: (
91
+ input: GetStageSessionCommandInput,
92
+ context: __SerdeContext
93
+ ) => Promise<__HttpRequest>;
94
+ export declare const se_ListParticipantEventsCommand: (
95
+ input: ListParticipantEventsCommandInput,
96
+ context: __SerdeContext
97
+ ) => Promise<__HttpRequest>;
98
+ export declare const se_ListParticipantsCommand: (
99
+ input: ListParticipantsCommandInput,
100
+ context: __SerdeContext
101
+ ) => Promise<__HttpRequest>;
66
102
  export declare const se_ListStagesCommand: (
67
103
  input: ListStagesCommandInput,
68
104
  context: __SerdeContext
69
105
  ) => Promise<__HttpRequest>;
106
+ export declare const se_ListStageSessionsCommand: (
107
+ input: ListStageSessionsCommandInput,
108
+ context: __SerdeContext
109
+ ) => Promise<__HttpRequest>;
70
110
  export declare const se_ListTagsForResourceCommand: (
71
111
  input: ListTagsForResourceCommandInput,
72
112
  context: __SerdeContext
@@ -99,14 +139,34 @@ export declare const de_DisconnectParticipantCommand: (
99
139
  output: __HttpResponse,
100
140
  context: __SerdeContext
101
141
  ) => Promise<DisconnectParticipantCommandOutput>;
142
+ export declare const de_GetParticipantCommand: (
143
+ output: __HttpResponse,
144
+ context: __SerdeContext
145
+ ) => Promise<GetParticipantCommandOutput>;
102
146
  export declare const de_GetStageCommand: (
103
147
  output: __HttpResponse,
104
148
  context: __SerdeContext
105
149
  ) => Promise<GetStageCommandOutput>;
150
+ export declare const de_GetStageSessionCommand: (
151
+ output: __HttpResponse,
152
+ context: __SerdeContext
153
+ ) => Promise<GetStageSessionCommandOutput>;
154
+ export declare const de_ListParticipantEventsCommand: (
155
+ output: __HttpResponse,
156
+ context: __SerdeContext
157
+ ) => Promise<ListParticipantEventsCommandOutput>;
158
+ export declare const de_ListParticipantsCommand: (
159
+ output: __HttpResponse,
160
+ context: __SerdeContext
161
+ ) => Promise<ListParticipantsCommandOutput>;
106
162
  export declare const de_ListStagesCommand: (
107
163
  output: __HttpResponse,
108
164
  context: __SerdeContext
109
165
  ) => Promise<ListStagesCommandOutput>;
166
+ export declare const de_ListStageSessionsCommand: (
167
+ output: __HttpResponse,
168
+ context: __SerdeContext
169
+ ) => Promise<ListStageSessionsCommandOutput>;
110
170
  export declare const de_ListTagsForResourceCommand: (
111
171
  output: __HttpResponse,
112
172
  context: __SerdeContext
@@ -8,11 +8,12 @@ export declare const getRuntimeConfig: (config: IVSRealTimeClientConfig) => {
8
8
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider: (
10
10
  input: any
11
- ) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
12
12
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<
13
13
  import("@aws-sdk/types").UserAgent
14
14
  >;
15
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
15
+ maxAttempts: (number | import("@smithy/types").Provider<number>) &
16
+ (number | import("@aws-sdk/types").Provider<number>);
16
17
  region: string | import("@aws-sdk/types").Provider<any>;
17
18
  requestHandler:
18
19
  | (import("@aws-sdk/types").RequestHandler<
@@ -20,19 +21,21 @@ export declare const getRuntimeConfig: (config: IVSRealTimeClientConfig) => {
20
21
  any,
21
22
  import("@aws-sdk/types").HttpHandlerOptions
22
23
  > &
23
- import("@aws-sdk/protocol-http").HttpHandler)
24
+ import("@smithy/protocol-http").HttpHandler)
24
25
  | RequestHandler;
25
- retryMode: string | import("@aws-sdk/types").Provider<string>;
26
+ retryMode: string | import("@smithy/types").Provider<string>;
26
27
  sha256: import("@aws-sdk/types").HashConstructor;
27
- streamCollector: import("@aws-sdk/types").StreamCollector;
28
- useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
29
- useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
28
+ streamCollector: import("@smithy/types").StreamCollector;
29
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
30
+ (boolean | import("@aws-sdk/types").Provider<boolean>);
31
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
32
+ (boolean | import("@aws-sdk/types").Provider<boolean>);
30
33
  apiVersion: string;
31
34
  urlParser: import("@aws-sdk/types").UrlParser;
32
- base64Decoder: import("@aws-sdk/types").Decoder;
33
- base64Encoder: import("@aws-sdk/types").Encoder;
34
- utf8Decoder: import("@aws-sdk/types").Decoder;
35
- utf8Encoder: import("@aws-sdk/types").Encoder;
35
+ base64Decoder: import("@smithy/types").Decoder;
36
+ base64Encoder: import("@smithy/types").Encoder;
37
+ utf8Decoder: import("@smithy/types").Decoder;
38
+ utf8Encoder: import("@smithy/types").Encoder;
36
39
  disableHostPrefix: boolean;
37
40
  serviceId: string;
38
41
  logger: import("@aws-sdk/types").Logger;
@@ -46,11 +49,11 @@ export declare const getRuntimeConfig: (config: IVSRealTimeClientConfig) => {
46
49
  ) &
47
50
  (
48
51
  | string
49
- | import("@aws-sdk/types").Provider<string>
50
- | import("@aws-sdk/types").Endpoint
51
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
52
+ | import("@smithy/types").Provider<string>
53
+ | import("@smithy/types").Endpoint
54
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
52
55
  | import("@aws-sdk/types").EndpointV2
53
- | import("@aws-sdk/types").Provider<
56
+ | import("@smithy/types").Provider<
54
57
  import("@aws-sdk/types").EndpointV2
55
58
  >
56
59
  ))
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: IVSRealTimeClientConfig) => {
8
8
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider: (
10
10
  input: any
11
- ) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
12
12
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<
13
13
  import("@aws-sdk/types").UserAgent
14
14
  >;
@@ -20,19 +20,19 @@ export declare const getRuntimeConfig: (config: IVSRealTimeClientConfig) => {
20
20
  any,
21
21
  import("@aws-sdk/types").HttpHandlerOptions
22
22
  > &
23
- import("@aws-sdk/protocol-http").HttpHandler)
23
+ import("@smithy/protocol-http").HttpHandler)
24
24
  | RequestHandler;
25
- retryMode: string | import("@aws-sdk/types").Provider<string>;
25
+ retryMode: string | import("@smithy/types").Provider<string>;
26
26
  sha256: import("@aws-sdk/types").HashConstructor;
27
- streamCollector: import("@aws-sdk/types").StreamCollector;
27
+ streamCollector: import("@smithy/types").StreamCollector;
28
28
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
29
29
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
30
30
  apiVersion: string;
31
31
  urlParser: import("@aws-sdk/types").UrlParser;
32
- base64Decoder: import("@aws-sdk/types").Decoder;
33
- base64Encoder: import("@aws-sdk/types").Encoder;
34
- utf8Decoder: import("@aws-sdk/types").Decoder;
35
- utf8Encoder: import("@aws-sdk/types").Encoder;
32
+ base64Decoder: import("@smithy/types").Decoder;
33
+ base64Encoder: import("@smithy/types").Encoder;
34
+ utf8Decoder: import("@smithy/types").Decoder;
35
+ utf8Encoder: import("@smithy/types").Encoder;
36
36
  disableHostPrefix: boolean;
37
37
  serviceId: string;
38
38
  logger: import("@aws-sdk/types").Logger;
@@ -46,11 +46,11 @@ export declare const getRuntimeConfig: (config: IVSRealTimeClientConfig) => {
46
46
  ) &
47
47
  (
48
48
  | string
49
- | import("@aws-sdk/types").Provider<string>
50
- | import("@aws-sdk/types").Endpoint
51
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
49
+ | import("@smithy/types").Provider<string>
50
+ | import("@smithy/types").Endpoint
51
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
52
52
  | import("@aws-sdk/types").EndpointV2
53
- | import("@aws-sdk/types").Provider<
53
+ | import("@smithy/types").Provider<
54
54
  import("@aws-sdk/types").EndpointV2
55
55
  >
56
56
  ))
@@ -8,41 +8,46 @@ export declare const getRuntimeConfig: (config: IVSRealTimeClientConfig) => {
8
8
  any,
9
9
  import("@aws-sdk/types").HttpHandlerOptions
10
10
  > &
11
- import("@aws-sdk/protocol-http").HttpHandler)
11
+ import("@smithy/protocol-http").HttpHandler)
12
12
  | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
13
13
  apiVersion: string;
14
14
  urlParser: import("@aws-sdk/types").UrlParser;
15
15
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
16
- streamCollector: import("@aws-sdk/types").StreamCollector;
17
- base64Decoder: import("@aws-sdk/types").Decoder;
18
- base64Encoder: import("@aws-sdk/types").Encoder;
19
- utf8Decoder: import("@aws-sdk/types").Decoder;
20
- utf8Encoder: import("@aws-sdk/types").Encoder;
16
+ streamCollector: import("@smithy/types").StreamCollector;
17
+ base64Decoder: import("@smithy/types").Decoder;
18
+ base64Encoder: import("@smithy/types").Encoder;
19
+ utf8Decoder: import("@smithy/types").Decoder;
20
+ utf8Encoder: import("@smithy/types").Encoder;
21
21
  disableHostPrefix: boolean;
22
22
  serviceId: string;
23
- useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
24
- useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
24
+ (boolean | import("@aws-sdk/types").Provider<boolean>);
25
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
26
+ (boolean | import("@aws-sdk/types").Provider<boolean>);
25
27
  region: string | import("@aws-sdk/types").Provider<any>;
26
28
  credentialDefaultProvider: (
27
29
  input: any
28
- ) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
30
+ ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
29
31
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<
30
32
  import("@aws-sdk/types").UserAgent
31
33
  >;
32
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
33
- retryMode: string | import("@aws-sdk/types").Provider<string>;
34
+ maxAttempts: (number | import("@smithy/types").Provider<number>) &
35
+ (number | import("@aws-sdk/types").Provider<number>);
36
+ retryMode: string | import("@smithy/types").Provider<string>;
34
37
  logger: import("@aws-sdk/types").Logger;
35
38
  defaultsMode:
36
39
  | import("@aws-sdk/smithy-client").DefaultsMode
37
- | import("@aws-sdk/types").Provider<
40
+ | import("@smithy/types").Provider<
38
41
  import("@aws-sdk/smithy-client").DefaultsMode
39
42
  >;
40
43
  endpoint?:
41
44
  | string
42
- | import("@aws-sdk/types").Endpoint
43
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
44
45
  | import("@aws-sdk/types").EndpointV2
45
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
46
+ | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
47
+ import("@smithy/types").Provider<import("@smithy/types").Endpoint>)
48
+ | (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint)
49
+ | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
50
+ import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)
46
51
  | undefined;
47
52
  endpointProvider: (
48
53
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
@@ -1,8 +1,8 @@
1
1
  import { IVSRealTimeClientConfig } from "./IVSRealTimeClient";
2
2
  export declare const getRuntimeConfig: (config: IVSRealTimeClientConfig) => {
3
3
  apiVersion: string;
4
- base64Decoder: import("@aws-sdk/types").Decoder;
5
- base64Encoder: import("@aws-sdk/types").Encoder;
4
+ base64Decoder: import("@smithy/types").Decoder;
5
+ base64Encoder: import("@smithy/types").Encoder;
6
6
  disableHostPrefix: boolean;
7
7
  endpointProvider: (
8
8
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
@@ -13,6 +13,6 @@ export declare const getRuntimeConfig: (config: IVSRealTimeClientConfig) => {
13
13
  logger: import("@aws-sdk/types").Logger;
14
14
  serviceId: string;
15
15
  urlParser: import("@aws-sdk/types").UrlParser;
16
- utf8Decoder: import("@aws-sdk/types").Decoder;
17
- utf8Encoder: import("@aws-sdk/types").Encoder;
16
+ utf8Decoder: import("@smithy/types").Decoder;
17
+ utf8Encoder: import("@smithy/types").Encoder;
18
18
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ivs-realtime",
3
3
  "description": "AWS SDK for JavaScript Ivs Realtime Client for Node.js, Browser and React Native",
4
- "version": "3.329.0",
4
+ "version": "3.335.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.329.0",
24
+ "@aws-sdk/client-sts": "3.335.0",
25
25
  "@aws-sdk/config-resolver": "3.329.0",
26
- "@aws-sdk/credential-provider-node": "3.329.0",
26
+ "@aws-sdk/credential-provider-node": "3.335.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.329.0",
28
28
  "@aws-sdk/hash-node": "3.329.0",
29
29
  "@aws-sdk/invalid-dependency": "3.329.0",
@@ -36,10 +36,9 @@
36
36
  "@aws-sdk/middleware-serde": "3.329.0",
37
37
  "@aws-sdk/middleware-signing": "3.329.0",
38
38
  "@aws-sdk/middleware-stack": "3.329.0",
39
- "@aws-sdk/middleware-user-agent": "3.329.0",
39
+ "@aws-sdk/middleware-user-agent": "3.332.0",
40
40
  "@aws-sdk/node-config-provider": "3.329.0",
41
41
  "@aws-sdk/node-http-handler": "3.329.0",
42
- "@aws-sdk/protocol-http": "3.329.0",
43
42
  "@aws-sdk/smithy-client": "3.329.0",
44
43
  "@aws-sdk/types": "3.329.0",
45
44
  "@aws-sdk/url-parser": "3.329.0",
@@ -48,11 +47,13 @@
48
47
  "@aws-sdk/util-body-length-node": "3.310.0",
49
48
  "@aws-sdk/util-defaults-mode-browser": "3.329.0",
50
49
  "@aws-sdk/util-defaults-mode-node": "3.329.0",
51
- "@aws-sdk/util-endpoints": "3.329.0",
50
+ "@aws-sdk/util-endpoints": "3.332.0",
52
51
  "@aws-sdk/util-retry": "3.329.0",
53
52
  "@aws-sdk/util-user-agent-browser": "3.329.0",
54
53
  "@aws-sdk/util-user-agent-node": "3.329.0",
55
54
  "@aws-sdk/util-utf8": "3.310.0",
55
+ "@smithy/protocol-http": "^1.0.1",
56
+ "@smithy/types": "^1.0.0",
56
57
  "tslib": "^2.5.0"
57
58
  },
58
59
  "devDependencies": {