@aws-sdk/client-ivschat 3.78.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/CHANGELOG.md +11 -0
- package/LICENSE +201 -0
- package/README.md +374 -0
- package/dist-cjs/Ivschat.js +187 -0
- package/dist-cjs/IvschatClient.js +35 -0
- package/dist-cjs/commands/CreateChatTokenCommand.js +36 -0
- package/dist-cjs/commands/CreateRoomCommand.js +36 -0
- package/dist-cjs/commands/DeleteMessageCommand.js +36 -0
- package/dist-cjs/commands/DeleteRoomCommand.js +36 -0
- package/dist-cjs/commands/DisconnectUserCommand.js +36 -0
- package/dist-cjs/commands/GetRoomCommand.js +36 -0
- package/dist-cjs/commands/ListRoomsCommand.js +36 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/SendEventCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/UpdateRoomCommand.js +36 -0
- package/dist-cjs/commands/index.js +15 -0
- package/dist-cjs/endpoints.js +131 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/IvschatServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +297 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListRoomsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1253 -0
- package/dist-cjs/runtimeConfig.browser.js +45 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/Ivschat.js +190 -0
- package/dist-es/IvschatClient.js +37 -0
- package/dist-es/commands/CreateChatTokenCommand.js +39 -0
- package/dist-es/commands/CreateRoomCommand.js +39 -0
- package/dist-es/commands/DeleteMessageCommand.js +39 -0
- package/dist-es/commands/DeleteRoomCommand.js +39 -0
- package/dist-es/commands/DisconnectUserCommand.js +39 -0
- package/dist-es/commands/GetRoomCommand.js +39 -0
- package/dist-es/commands/ListRoomsCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/SendEventCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/UpdateRoomCommand.js +39 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/endpoints.js +127 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/IvschatServiceException.js +12 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +235 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListRoomsPaginator.js +75 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +1519 -0
- package/dist-es/runtimeConfig.browser.js +26 -0
- package/dist-es/runtimeConfig.js +28 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/Ivschat.d.ts +278 -0
- package/dist-types/IvschatClient.d.ts +332 -0
- package/dist-types/commands/CreateChatTokenCommand.d.ts +39 -0
- package/dist-types/commands/CreateRoomCommand.d.ts +35 -0
- package/dist-types/commands/DeleteMessageCommand.d.ts +38 -0
- package/dist-types/commands/DeleteRoomCommand.d.ts +35 -0
- package/dist-types/commands/DisconnectUserCommand.d.ts +36 -0
- package/dist-types/commands/GetRoomCommand.d.ts +35 -0
- package/dist-types/commands/ListRoomsCommand.d.ts +36 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/commands/SendEventCommand.d.ts +37 -0
- package/dist-types/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UpdateRoomCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/IvschatServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +762 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListRoomsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +38 -0
- package/dist-types/runtimeConfig.browser.d.ts +40 -0
- package/dist-types/runtimeConfig.d.ts +40 -0
- package/dist-types/runtimeConfig.native.d.ts +39 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/Ivschat.d.ts +65 -0
- package/dist-types/ts3.4/IvschatClient.d.ts +85 -0
- package/dist-types/ts3.4/commands/CreateChatTokenCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateRoomCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteMessageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteRoomCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisconnectUserCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRoomCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRoomsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SendEventCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateRoomCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/IvschatServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +438 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListRoomsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +93 -0
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { CreateChatTokenCommandInput, CreateChatTokenCommandOutput } from "./commands/CreateChatTokenCommand";
|
|
10
|
+
import { CreateRoomCommandInput, CreateRoomCommandOutput } from "./commands/CreateRoomCommand";
|
|
11
|
+
import { DeleteMessageCommandInput, DeleteMessageCommandOutput } from "./commands/DeleteMessageCommand";
|
|
12
|
+
import { DeleteRoomCommandInput, DeleteRoomCommandOutput } from "./commands/DeleteRoomCommand";
|
|
13
|
+
import { DisconnectUserCommandInput, DisconnectUserCommandOutput } from "./commands/DisconnectUserCommand";
|
|
14
|
+
import { GetRoomCommandInput, GetRoomCommandOutput } from "./commands/GetRoomCommand";
|
|
15
|
+
import { ListRoomsCommandInput, ListRoomsCommandOutput } from "./commands/ListRoomsCommand";
|
|
16
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
17
|
+
import { SendEventCommandInput, SendEventCommandOutput } from "./commands/SendEventCommand";
|
|
18
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
19
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
20
|
+
import { UpdateRoomCommandInput, UpdateRoomCommandOutput } from "./commands/UpdateRoomCommand";
|
|
21
|
+
export declare type ServiceInputTypes = CreateChatTokenCommandInput | CreateRoomCommandInput | DeleteMessageCommandInput | DeleteRoomCommandInput | DisconnectUserCommandInput | GetRoomCommandInput | ListRoomsCommandInput | ListTagsForResourceCommandInput | SendEventCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateRoomCommandInput;
|
|
22
|
+
export declare type ServiceOutputTypes = CreateChatTokenCommandOutput | CreateRoomCommandOutput | DeleteMessageCommandOutput | DeleteRoomCommandOutput | DisconnectUserCommandOutput | GetRoomCommandOutput | ListRoomsCommandOutput | ListTagsForResourceCommandOutput | SendEventCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateRoomCommandOutput;
|
|
23
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
24
|
+
/**
|
|
25
|
+
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
26
|
+
*/
|
|
27
|
+
requestHandler?: __HttpHandler;
|
|
28
|
+
/**
|
|
29
|
+
* A constructor for a class implementing the {@link __Hash} interface
|
|
30
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
sha256?: __HashConstructor;
|
|
34
|
+
/**
|
|
35
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
urlParser?: __UrlParser;
|
|
39
|
+
/**
|
|
40
|
+
* A function that can calculate the length of a request body.
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
44
|
+
/**
|
|
45
|
+
* A function that converts a stream into an array of bytes.
|
|
46
|
+
* @internal
|
|
47
|
+
*/
|
|
48
|
+
streamCollector?: __StreamCollector;
|
|
49
|
+
/**
|
|
50
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
base64Decoder?: __Decoder;
|
|
54
|
+
/**
|
|
55
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
58
|
+
base64Encoder?: __Encoder;
|
|
59
|
+
/**
|
|
60
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
63
|
+
utf8Decoder?: __Decoder;
|
|
64
|
+
/**
|
|
65
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
68
|
+
utf8Encoder?: __Encoder;
|
|
69
|
+
/**
|
|
70
|
+
* The runtime environment.
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
runtime?: string;
|
|
74
|
+
/**
|
|
75
|
+
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
76
|
+
* trait of an operation.
|
|
77
|
+
*/
|
|
78
|
+
disableHostPrefix?: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
81
|
+
*/
|
|
82
|
+
maxAttempts?: number | __Provider<number>;
|
|
83
|
+
/**
|
|
84
|
+
* Specifies which retry algorithm to use.
|
|
85
|
+
*/
|
|
86
|
+
retryMode?: string | __Provider<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Optional logger for logging debug/info/warn/error.
|
|
89
|
+
*/
|
|
90
|
+
logger?: __Logger;
|
|
91
|
+
/**
|
|
92
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
93
|
+
*/
|
|
94
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
95
|
+
/**
|
|
96
|
+
* Enables FIPS compatible endpoints.
|
|
97
|
+
*/
|
|
98
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
99
|
+
/**
|
|
100
|
+
* Unique service identifier.
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
103
|
+
serviceId?: string;
|
|
104
|
+
/**
|
|
105
|
+
* The AWS region to which this client will send requests
|
|
106
|
+
*/
|
|
107
|
+
region?: string | __Provider<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Default credentials provider; Not available in browser runtime.
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
112
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
113
|
+
/**
|
|
114
|
+
* Fetch related hostname, signing name or signing region with given region.
|
|
115
|
+
* @internal
|
|
116
|
+
*/
|
|
117
|
+
regionInfoProvider?: RegionInfoProvider;
|
|
118
|
+
/**
|
|
119
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
120
|
+
* @internal
|
|
121
|
+
*/
|
|
122
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
123
|
+
/**
|
|
124
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
125
|
+
*/
|
|
126
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
127
|
+
}
|
|
128
|
+
declare type IvschatClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
129
|
+
/**
|
|
130
|
+
* The configuration interface of IvschatClient class constructor that set the region, credentials and other options.
|
|
131
|
+
*/
|
|
132
|
+
export interface IvschatClientConfig extends IvschatClientConfigType {
|
|
133
|
+
}
|
|
134
|
+
declare type IvschatClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
135
|
+
/**
|
|
136
|
+
* The resolved configuration interface of IvschatClient class. This is resolved and normalized from the {@link IvschatClientConfig | constructor configuration interface}.
|
|
137
|
+
*/
|
|
138
|
+
export interface IvschatClientResolvedConfig extends IvschatClientResolvedConfigType {
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* <p>
|
|
142
|
+
* <b>Introduction</b>
|
|
143
|
+
* </p>
|
|
144
|
+
* <p>The Amazon IVS Chat control-plane API enables you to create and manage Amazon IVS Chat
|
|
145
|
+
* resources. You also need to integrate with the <a href="https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/chat-messaging-api.html"> Amazon IVS Chat Messaging
|
|
146
|
+
* API</a>, to enable users to interact with chat rooms in real time.</p>
|
|
147
|
+
* <p>The API is an AWS regional service. For a list of supported regions and Amazon IVS Chat
|
|
148
|
+
* HTTPS service endpoints, see the Amazon IVS Chat information on the <a href="https://docs.aws.amazon.com/general/latest/gr/ivs.html">Amazon IVS page</a> in the
|
|
149
|
+
* <i>AWS General Reference</i>. </p>
|
|
150
|
+
* <p>
|
|
151
|
+
* <b>Notes on terminology:</b>
|
|
152
|
+
* </p>
|
|
153
|
+
* <ul>
|
|
154
|
+
* <li>
|
|
155
|
+
* <p>You create service applications using the Amazon IVS Chat API. We refer to these as
|
|
156
|
+
* <i>applications</i>.</p>
|
|
157
|
+
* </li>
|
|
158
|
+
* <li>
|
|
159
|
+
* <p>You create front-end client applications (browser and Android/iOS apps) using the
|
|
160
|
+
* Amazon IVS Chat Messaging API. We refer to these as <i>clients</i>. </p>
|
|
161
|
+
* </li>
|
|
162
|
+
* </ul>
|
|
163
|
+
*
|
|
164
|
+
* <p>
|
|
165
|
+
* <b>Resources</b>
|
|
166
|
+
* </p>
|
|
167
|
+
* <p>The following resource is part of Amazon IVS Chat:</p>
|
|
168
|
+
* <ul>
|
|
169
|
+
* <li>
|
|
170
|
+
* <p>
|
|
171
|
+
* <b>Room</b> — The central Amazon IVS Chat resource through
|
|
172
|
+
* which clients connect to and exchange chat messages. See the Room endpoints for more
|
|
173
|
+
* information.</p>
|
|
174
|
+
* </li>
|
|
175
|
+
* </ul>
|
|
176
|
+
*
|
|
177
|
+
* <p>
|
|
178
|
+
* <b>API Access Security</b>
|
|
179
|
+
* </p>
|
|
180
|
+
* <p>Your Amazon IVS Chat applications (service applications and clients) must be authenticated
|
|
181
|
+
* and authorized to access Amazon IVS Chat resources. Note the differences between these
|
|
182
|
+
* concepts:</p>
|
|
183
|
+
* <ul>
|
|
184
|
+
* <li>
|
|
185
|
+
* <p>
|
|
186
|
+
* <i>Authentication</i> is about verifying identity. Requests to the
|
|
187
|
+
* Amazon IVS Chat API must be signed to verify your identity.</p>
|
|
188
|
+
* </li>
|
|
189
|
+
* <li>
|
|
190
|
+
* <p>
|
|
191
|
+
* <i>Authorization</i> is about granting permissions. Your IAM roles need
|
|
192
|
+
* to have permissions for Amazon IVS Chat API requests.</p>
|
|
193
|
+
* </li>
|
|
194
|
+
* </ul>
|
|
195
|
+
* <p>Users (viewers) connect to a room using secure access tokens that you create using the
|
|
196
|
+
* <a>CreateChatToken</a> endpoint through the AWS SDK. You call CreateChatToken for
|
|
197
|
+
* every user’s chat session, passing identity and authorization information about the
|
|
198
|
+
* user.</p>
|
|
199
|
+
* <p>
|
|
200
|
+
* <b>Signing API Requests</b>
|
|
201
|
+
* </p>
|
|
202
|
+
* <p>HTTP API requests must be signed with an AWS SigV4 signature using your AWS security
|
|
203
|
+
* credentials. The AWS Command Line Interface (CLI) and the AWS SDKs take care of signing the
|
|
204
|
+
* underlying API calls for you. However, if your application calls the Amazon IVS Chat HTTP API
|
|
205
|
+
* directly, it’s your responsibility to sign the requests.</p>
|
|
206
|
+
*
|
|
207
|
+
*
|
|
208
|
+
*
|
|
209
|
+
*
|
|
210
|
+
* <p>You generate a signature using valid AWS credentials for an IAM role that has permission
|
|
211
|
+
* to perform the requested action. For example, DeleteMessage requests must be made using an IAM
|
|
212
|
+
* role that has the <code>ivschat:DeleteMessage</code> permission.</p>
|
|
213
|
+
* <p>For more information:</p>
|
|
214
|
+
* <ul>
|
|
215
|
+
* <li>
|
|
216
|
+
* <p>Authentication and generating signatures — See <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">Authenticating Requests
|
|
217
|
+
* (Amazon Web Services Signature Version 4)</a> in the <i>Amazon Web Services
|
|
218
|
+
* General Reference</i>.</p>
|
|
219
|
+
* </li>
|
|
220
|
+
* <li>
|
|
221
|
+
* <p>Managing Amazon IVS permissions — See <a href="https://docs.aws.amazon.com/ivs/latest/userguide/security-iam.html">Identity and Access Management</a> on
|
|
222
|
+
* the Security page of the <i>Amazon IVS User Guide</i>.</p>
|
|
223
|
+
* </li>
|
|
224
|
+
* </ul>
|
|
225
|
+
*
|
|
226
|
+
* <p>
|
|
227
|
+
* <b>Messaging Endpoints</b>
|
|
228
|
+
* </p>
|
|
229
|
+
* <ul>
|
|
230
|
+
* <li>
|
|
231
|
+
* <p>
|
|
232
|
+
* <a>DeleteMessage</a> — Sends an event to a specific room which
|
|
233
|
+
* directs clients to delete a specific message; that is, unrender it from view and delete it
|
|
234
|
+
* from the client’s chat history. This event’s <code>EventName</code> is
|
|
235
|
+
* <code>aws:DELETE_MESSAGE</code>. This replicates the <a href="https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/actions-deletemessage-publish.html"> DeleteMessage</a> WebSocket operation
|
|
236
|
+
* in the Amazon IVS Chat Messaging API.</p>
|
|
237
|
+
* </li>
|
|
238
|
+
* <li>
|
|
239
|
+
* <p>
|
|
240
|
+
* <a>DisconnectUser</a> — Disconnects all connections using a specified
|
|
241
|
+
* user ID from a room. This replicates the <a href="https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/actions-disconnectuser-publish.html"> DisconnectUser</a> WebSocket operation
|
|
242
|
+
* in the Amazon IVS Chat Messaging API.</p>
|
|
243
|
+
* </li>
|
|
244
|
+
* <li>
|
|
245
|
+
* <p>
|
|
246
|
+
* <a>SendEvent</a> — Sends an event to a room. Use this within your
|
|
247
|
+
* application’s business logic to send events to clients of a room; e.g., to notify clients
|
|
248
|
+
* to change the way the chat UI is rendered.</p>
|
|
249
|
+
* </li>
|
|
250
|
+
* </ul>
|
|
251
|
+
* <p>
|
|
252
|
+
* <b>Chat Token Endpoint</b>
|
|
253
|
+
* </p>
|
|
254
|
+
* <ul>
|
|
255
|
+
* <li>
|
|
256
|
+
* <p>
|
|
257
|
+
* <a>CreateChatToken</a> — Creates an encrypted token that is used to
|
|
258
|
+
* establish an individual WebSocket connection to a room. The token is valid for one minute,
|
|
259
|
+
* and a connection (session) established with the token is valid for the specified
|
|
260
|
+
* duration.</p>
|
|
261
|
+
* </li>
|
|
262
|
+
* </ul>
|
|
263
|
+
*
|
|
264
|
+
*
|
|
265
|
+
* <p>
|
|
266
|
+
* <b>Room Endpoints</b>
|
|
267
|
+
* </p>
|
|
268
|
+
* <ul>
|
|
269
|
+
* <li>
|
|
270
|
+
* <p>
|
|
271
|
+
* <a>CreateRoom</a> — Creates a room that allows clients to connect and
|
|
272
|
+
* pass messages.</p>
|
|
273
|
+
* </li>
|
|
274
|
+
* <li>
|
|
275
|
+
* <p>
|
|
276
|
+
* <a>DeleteRoom</a> — Deletes the specified room.</p>
|
|
277
|
+
* </li>
|
|
278
|
+
* <li>
|
|
279
|
+
* <p>
|
|
280
|
+
* <a>GetRoom</a> — Gets the specified room.</p>
|
|
281
|
+
* </li>
|
|
282
|
+
* <li>
|
|
283
|
+
* <p>
|
|
284
|
+
* <a>ListRooms</a> — Gets summary information about all your rooms in
|
|
285
|
+
* the AWS region where the API request is processed. </p>
|
|
286
|
+
* </li>
|
|
287
|
+
* <li>
|
|
288
|
+
* <p>
|
|
289
|
+
* <a>UpdateRoom</a> — Updates a room’s configuration.</p>
|
|
290
|
+
* </li>
|
|
291
|
+
* </ul>
|
|
292
|
+
*
|
|
293
|
+
* <p>
|
|
294
|
+
* <b>Tags Endpoints</b>
|
|
295
|
+
* </p>
|
|
296
|
+
* <ul>
|
|
297
|
+
* <li>
|
|
298
|
+
* <p>
|
|
299
|
+
* <a>ListTagsForResource</a> — Gets information about AWS tags for the
|
|
300
|
+
* specified ARN.</p>
|
|
301
|
+
* </li>
|
|
302
|
+
* <li>
|
|
303
|
+
* <p>
|
|
304
|
+
* <a>TagResource</a> — Adds or updates tags for the AWS resource with
|
|
305
|
+
* the specified ARN.</p>
|
|
306
|
+
* </li>
|
|
307
|
+
* <li>
|
|
308
|
+
* <p>
|
|
309
|
+
* <a>UntagResource</a> — Removes tags from the resource with the
|
|
310
|
+
* specified ARN.</p>
|
|
311
|
+
* </li>
|
|
312
|
+
* </ul>
|
|
313
|
+
*
|
|
314
|
+
*
|
|
315
|
+
* <p>All the above are HTTP operations. There is a separate <i>messaging</i> API
|
|
316
|
+
* for managing Chat resources; see the <a href="https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/chat-messaging-api.html"> Amazon IVS Chat Messaging API
|
|
317
|
+
* Reference</a>.</p>
|
|
318
|
+
*/
|
|
319
|
+
export declare class IvschatClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, IvschatClientResolvedConfig> {
|
|
320
|
+
/**
|
|
321
|
+
* The resolved configuration of IvschatClient class. This is resolved and normalized from the {@link IvschatClientConfig | constructor configuration interface}.
|
|
322
|
+
*/
|
|
323
|
+
readonly config: IvschatClientResolvedConfig;
|
|
324
|
+
constructor(configuration: IvschatClientConfig);
|
|
325
|
+
/**
|
|
326
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
327
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
328
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
329
|
+
*/
|
|
330
|
+
destroy(): void;
|
|
331
|
+
}
|
|
332
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
|
|
4
|
+
import { CreateChatTokenRequest, CreateChatTokenResponse } from "../models/models_0";
|
|
5
|
+
export interface CreateChatTokenCommandInput extends CreateChatTokenRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateChatTokenCommandOutput extends CreateChatTokenResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates an encrypted token that is used to establish an individual WebSocket connection
|
|
11
|
+
* to a room. The token is valid for one minute, and a connection (session) established with
|
|
12
|
+
* the token is valid for the specified duration.</p>
|
|
13
|
+
* <p>Encryption keys are owned by Amazon IVS Chat and never used directly by your
|
|
14
|
+
* application.</p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { IvschatClient, CreateChatTokenCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
19
|
+
* // const { IvschatClient, CreateChatTokenCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
20
|
+
* const client = new IvschatClient(config);
|
|
21
|
+
* const command = new CreateChatTokenCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link CreateChatTokenCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link CreateChatTokenCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link IvschatClientResolvedConfig | config} for IvschatClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class CreateChatTokenCommand extends $Command<CreateChatTokenCommandInput, CreateChatTokenCommandOutput, IvschatClientResolvedConfig> {
|
|
31
|
+
readonly input: CreateChatTokenCommandInput;
|
|
32
|
+
constructor(input: CreateChatTokenCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IvschatClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateChatTokenCommandInput, CreateChatTokenCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
|
|
4
|
+
import { CreateRoomRequest, CreateRoomResponse } from "../models/models_0";
|
|
5
|
+
export interface CreateRoomCommandInput extends CreateRoomRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateRoomCommandOutput extends CreateRoomResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates a room that allows clients to connect and pass messages.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { IvschatClient, CreateRoomCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
15
|
+
* // const { IvschatClient, CreateRoomCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
16
|
+
* const client = new IvschatClient(config);
|
|
17
|
+
* const command = new CreateRoomCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link CreateRoomCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link CreateRoomCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link IvschatClientResolvedConfig | config} for IvschatClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class CreateRoomCommand extends $Command<CreateRoomCommandInput, CreateRoomCommandOutput, IvschatClientResolvedConfig> {
|
|
27
|
+
readonly input: CreateRoomCommandInput;
|
|
28
|
+
constructor(input: CreateRoomCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IvschatClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateRoomCommandInput, CreateRoomCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
|
|
4
|
+
import { DeleteMessageRequest, DeleteMessageResponse } from "../models/models_0";
|
|
5
|
+
export interface DeleteMessageCommandInput extends DeleteMessageRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteMessageCommandOutput extends DeleteMessageResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Sends an event to a specific room which directs clients to delete a specific message;
|
|
11
|
+
* that is, unrender it from view and delete it from the client’s chat history. This event’s
|
|
12
|
+
* <code>EventName</code> is <code>aws:DELETE_MESSAGE</code>. This replicates the <a href="https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/actions-deletemessage-publish.html"> DeleteMessage</a> WebSocket operation
|
|
13
|
+
* in the Amazon IVS Chat Messaging API.</p>
|
|
14
|
+
* @example
|
|
15
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
+
* ```javascript
|
|
17
|
+
* import { IvschatClient, DeleteMessageCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
18
|
+
* // const { IvschatClient, DeleteMessageCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
19
|
+
* const client = new IvschatClient(config);
|
|
20
|
+
* const command = new DeleteMessageCommand(input);
|
|
21
|
+
* const response = await client.send(command);
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @see {@link DeleteMessageCommandInput} for command's `input` shape.
|
|
25
|
+
* @see {@link DeleteMessageCommandOutput} for command's `response` shape.
|
|
26
|
+
* @see {@link IvschatClientResolvedConfig | config} for IvschatClient's `config` shape.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare class DeleteMessageCommand extends $Command<DeleteMessageCommandInput, DeleteMessageCommandOutput, IvschatClientResolvedConfig> {
|
|
30
|
+
readonly input: DeleteMessageCommandInput;
|
|
31
|
+
constructor(input: DeleteMessageCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IvschatClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteMessageCommandInput, DeleteMessageCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
|
|
4
|
+
import { DeleteRoomRequest } from "../models/models_0";
|
|
5
|
+
export interface DeleteRoomCommandInput extends DeleteRoomRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteRoomCommandOutput extends __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Deletes the specified room.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { IvschatClient, DeleteRoomCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
15
|
+
* // const { IvschatClient, DeleteRoomCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
16
|
+
* const client = new IvschatClient(config);
|
|
17
|
+
* const command = new DeleteRoomCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link DeleteRoomCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link DeleteRoomCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link IvschatClientResolvedConfig | config} for IvschatClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class DeleteRoomCommand extends $Command<DeleteRoomCommandInput, DeleteRoomCommandOutput, IvschatClientResolvedConfig> {
|
|
27
|
+
readonly input: DeleteRoomCommandInput;
|
|
28
|
+
constructor(input: DeleteRoomCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IvschatClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteRoomCommandInput, DeleteRoomCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
|
|
4
|
+
import { DisconnectUserRequest, DisconnectUserResponse } from "../models/models_0";
|
|
5
|
+
export interface DisconnectUserCommandInput extends DisconnectUserRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DisconnectUserCommandOutput extends DisconnectUserResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Disconnects all connections using a specified user ID from a room. This replicates the <a href="https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/actions-disconnectuser-publish.html"> DisconnectUser</a> WebSocket operation
|
|
11
|
+
* in the Amazon IVS Chat Messaging API.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { IvschatClient, DisconnectUserCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
16
|
+
* // const { IvschatClient, DisconnectUserCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
17
|
+
* const client = new IvschatClient(config);
|
|
18
|
+
* const command = new DisconnectUserCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link DisconnectUserCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link DisconnectUserCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link IvschatClientResolvedConfig | config} for IvschatClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class DisconnectUserCommand extends $Command<DisconnectUserCommandInput, DisconnectUserCommandOutput, IvschatClientResolvedConfig> {
|
|
28
|
+
readonly input: DisconnectUserCommandInput;
|
|
29
|
+
constructor(input: DisconnectUserCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IvschatClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisconnectUserCommandInput, DisconnectUserCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
|
|
4
|
+
import { GetRoomRequest, GetRoomResponse } from "../models/models_0";
|
|
5
|
+
export interface GetRoomCommandInput extends GetRoomRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetRoomCommandOutput extends GetRoomResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Gets the specified room.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { IvschatClient, GetRoomCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
15
|
+
* // const { IvschatClient, GetRoomCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
16
|
+
* const client = new IvschatClient(config);
|
|
17
|
+
* const command = new GetRoomCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link GetRoomCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link GetRoomCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link IvschatClientResolvedConfig | config} for IvschatClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class GetRoomCommand extends $Command<GetRoomCommandInput, GetRoomCommandOutput, IvschatClientResolvedConfig> {
|
|
27
|
+
readonly input: GetRoomCommandInput;
|
|
28
|
+
constructor(input: GetRoomCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IvschatClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRoomCommandInput, GetRoomCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
|
|
4
|
+
import { ListRoomsRequest, ListRoomsResponse } from "../models/models_0";
|
|
5
|
+
export interface ListRoomsCommandInput extends ListRoomsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListRoomsCommandOutput extends ListRoomsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Gets summary information about all your rooms in the AWS region where the API request is
|
|
11
|
+
* processed. Results are sorted in descending order of <code>updateTime</code>.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { IvschatClient, ListRoomsCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
16
|
+
* // const { IvschatClient, ListRoomsCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
17
|
+
* const client = new IvschatClient(config);
|
|
18
|
+
* const command = new ListRoomsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListRoomsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListRoomsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link IvschatClientResolvedConfig | config} for IvschatClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListRoomsCommand extends $Command<ListRoomsCommandInput, ListRoomsCommandOutput, IvschatClientResolvedConfig> {
|
|
28
|
+
readonly input: ListRoomsCommandInput;
|
|
29
|
+
constructor(input: ListRoomsCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IvschatClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRoomsCommandInput, ListRoomsCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IvschatClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvschatClient";
|
|
4
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
5
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Gets information about AWS tags for the specified ARN.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { IvschatClient, ListTagsForResourceCommand } from "@aws-sdk/client-ivschat"; // ES Modules import
|
|
15
|
+
* // const { IvschatClient, ListTagsForResourceCommand } = require("@aws-sdk/client-ivschat"); // CommonJS import
|
|
16
|
+
* const client = new IvschatClient(config);
|
|
17
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link IvschatClientResolvedConfig | config} for IvschatClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, IvschatClientResolvedConfig> {
|
|
27
|
+
readonly input: ListTagsForResourceCommandInput;
|
|
28
|
+
constructor(input: ListTagsForResourceCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IvschatClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|