@aws-sdk/client-repostspace 3.975.0 → 3.980.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +35 -25
- package/dist-es/Repostspace.js +17 -1
- package/dist-types/Repostspace.d.ts +40 -1
- package/dist-types/ts3.4/Repostspace.d.ts +57 -1
- package/package.json +18 -18
package/dist-cjs/index.js
CHANGED
|
@@ -938,31 +938,6 @@ class UpdateSpaceCommand extends smithyClient.Command
|
|
|
938
938
|
.build() {
|
|
939
939
|
}
|
|
940
940
|
|
|
941
|
-
const commands = {
|
|
942
|
-
BatchAddChannelRoleToAccessorsCommand,
|
|
943
|
-
BatchAddRoleCommand,
|
|
944
|
-
BatchRemoveChannelRoleFromAccessorsCommand,
|
|
945
|
-
BatchRemoveRoleCommand,
|
|
946
|
-
CreateChannelCommand,
|
|
947
|
-
CreateSpaceCommand,
|
|
948
|
-
DeleteSpaceCommand,
|
|
949
|
-
DeregisterAdminCommand,
|
|
950
|
-
GetChannelCommand,
|
|
951
|
-
GetSpaceCommand,
|
|
952
|
-
ListChannelsCommand,
|
|
953
|
-
ListSpacesCommand,
|
|
954
|
-
ListTagsForResourceCommand,
|
|
955
|
-
RegisterAdminCommand,
|
|
956
|
-
SendInvitesCommand,
|
|
957
|
-
TagResourceCommand,
|
|
958
|
-
UntagResourceCommand,
|
|
959
|
-
UpdateChannelCommand,
|
|
960
|
-
UpdateSpaceCommand,
|
|
961
|
-
};
|
|
962
|
-
class Repostspace extends RepostspaceClient {
|
|
963
|
-
}
|
|
964
|
-
smithyClient.createAggregatedClient(commands, Repostspace);
|
|
965
|
-
|
|
966
941
|
const paginateListChannels = core.createPaginator(RepostspaceClient, ListChannelsCommand, "nextToken", "nextToken", "maxResults");
|
|
967
942
|
|
|
968
943
|
const paginateListSpaces = core.createPaginator(RepostspaceClient, ListSpacesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1165,6 +1140,41 @@ const waitUntilSpaceDeleted = async (params, input) => {
|
|
|
1165
1140
|
return utilWaiter.checkExceptions(result);
|
|
1166
1141
|
};
|
|
1167
1142
|
|
|
1143
|
+
const commands = {
|
|
1144
|
+
BatchAddChannelRoleToAccessorsCommand,
|
|
1145
|
+
BatchAddRoleCommand,
|
|
1146
|
+
BatchRemoveChannelRoleFromAccessorsCommand,
|
|
1147
|
+
BatchRemoveRoleCommand,
|
|
1148
|
+
CreateChannelCommand,
|
|
1149
|
+
CreateSpaceCommand,
|
|
1150
|
+
DeleteSpaceCommand,
|
|
1151
|
+
DeregisterAdminCommand,
|
|
1152
|
+
GetChannelCommand,
|
|
1153
|
+
GetSpaceCommand,
|
|
1154
|
+
ListChannelsCommand,
|
|
1155
|
+
ListSpacesCommand,
|
|
1156
|
+
ListTagsForResourceCommand,
|
|
1157
|
+
RegisterAdminCommand,
|
|
1158
|
+
SendInvitesCommand,
|
|
1159
|
+
TagResourceCommand,
|
|
1160
|
+
UntagResourceCommand,
|
|
1161
|
+
UpdateChannelCommand,
|
|
1162
|
+
UpdateSpaceCommand,
|
|
1163
|
+
};
|
|
1164
|
+
const paginators = {
|
|
1165
|
+
paginateListChannels,
|
|
1166
|
+
paginateListSpaces,
|
|
1167
|
+
};
|
|
1168
|
+
const waiters = {
|
|
1169
|
+
waitUntilChannelCreated,
|
|
1170
|
+
waitUntilChannelDeleted,
|
|
1171
|
+
waitUntilSpaceCreated,
|
|
1172
|
+
waitUntilSpaceDeleted,
|
|
1173
|
+
};
|
|
1174
|
+
class Repostspace extends RepostspaceClient {
|
|
1175
|
+
}
|
|
1176
|
+
smithyClient.createAggregatedClient(commands, Repostspace, { paginators, waiters });
|
|
1177
|
+
|
|
1168
1178
|
const ChannelRole = {
|
|
1169
1179
|
ASKER: "ASKER",
|
|
1170
1180
|
EXPERT: "EXPERT",
|
package/dist-es/Repostspace.js
CHANGED
|
@@ -18,7 +18,13 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
18
18
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
19
19
|
import { UpdateChannelCommand, } from "./commands/UpdateChannelCommand";
|
|
20
20
|
import { UpdateSpaceCommand } from "./commands/UpdateSpaceCommand";
|
|
21
|
+
import { paginateListChannels } from "./pagination/ListChannelsPaginator";
|
|
22
|
+
import { paginateListSpaces } from "./pagination/ListSpacesPaginator";
|
|
21
23
|
import { RepostspaceClient } from "./RepostspaceClient";
|
|
24
|
+
import { waitUntilChannelCreated } from "./waiters/waitForChannelCreated";
|
|
25
|
+
import { waitUntilChannelDeleted } from "./waiters/waitForChannelDeleted";
|
|
26
|
+
import { waitUntilSpaceCreated } from "./waiters/waitForSpaceCreated";
|
|
27
|
+
import { waitUntilSpaceDeleted } from "./waiters/waitForSpaceDeleted";
|
|
22
28
|
const commands = {
|
|
23
29
|
BatchAddChannelRoleToAccessorsCommand,
|
|
24
30
|
BatchAddRoleCommand,
|
|
@@ -40,6 +46,16 @@ const commands = {
|
|
|
40
46
|
UpdateChannelCommand,
|
|
41
47
|
UpdateSpaceCommand,
|
|
42
48
|
};
|
|
49
|
+
const paginators = {
|
|
50
|
+
paginateListChannels,
|
|
51
|
+
paginateListSpaces,
|
|
52
|
+
};
|
|
53
|
+
const waiters = {
|
|
54
|
+
waitUntilChannelCreated,
|
|
55
|
+
waitUntilChannelDeleted,
|
|
56
|
+
waitUntilSpaceCreated,
|
|
57
|
+
waitUntilSpaceDeleted,
|
|
58
|
+
};
|
|
43
59
|
export class Repostspace extends RepostspaceClient {
|
|
44
60
|
}
|
|
45
|
-
createAggregatedClient(commands, Repostspace);
|
|
61
|
+
createAggregatedClient(commands, Repostspace, { paginators, waiters });
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
|
|
2
|
+
import type { WaiterResult } from "@smithy/util-waiter";
|
|
2
3
|
import { BatchAddChannelRoleToAccessorsCommandInput, BatchAddChannelRoleToAccessorsCommandOutput } from "./commands/BatchAddChannelRoleToAccessorsCommand";
|
|
3
4
|
import { BatchAddRoleCommandInput, BatchAddRoleCommandOutput } from "./commands/BatchAddRoleCommand";
|
|
4
5
|
import { BatchRemoveChannelRoleFromAccessorsCommandInput, BatchRemoveChannelRoleFromAccessorsCommandOutput } from "./commands/BatchRemoveChannelRoleFromAccessorsCommand";
|
|
@@ -135,6 +136,44 @@ export interface Repostspace {
|
|
|
135
136
|
updateSpace(args: UpdateSpaceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSpaceCommandOutput>;
|
|
136
137
|
updateSpace(args: UpdateSpaceCommandInput, cb: (err: any, data?: UpdateSpaceCommandOutput) => void): void;
|
|
137
138
|
updateSpace(args: UpdateSpaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSpaceCommandOutput) => void): void;
|
|
139
|
+
/**
|
|
140
|
+
* @see {@link ListChannelsCommand}
|
|
141
|
+
* @param args - command input.
|
|
142
|
+
* @param paginationConfig - optional pagination config.
|
|
143
|
+
* @returns AsyncIterable of {@link ListChannelsCommandOutput}.
|
|
144
|
+
*/
|
|
145
|
+
paginateListChannels(args: ListChannelsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListChannelsCommandOutput>;
|
|
146
|
+
/**
|
|
147
|
+
* @see {@link ListSpacesCommand}
|
|
148
|
+
* @param args - command input.
|
|
149
|
+
* @param paginationConfig - optional pagination config.
|
|
150
|
+
* @returns AsyncIterable of {@link ListSpacesCommandOutput}.
|
|
151
|
+
*/
|
|
152
|
+
paginateListSpaces(args?: ListSpacesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSpacesCommandOutput>;
|
|
153
|
+
/**
|
|
154
|
+
* @see {@link GetChannelCommand}
|
|
155
|
+
* @param args - command input.
|
|
156
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
157
|
+
*/
|
|
158
|
+
waitUntilChannelCreated(args: GetChannelCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Repostspace>, "client">): Promise<WaiterResult>;
|
|
159
|
+
/**
|
|
160
|
+
* @see {@link GetChannelCommand}
|
|
161
|
+
* @param args - command input.
|
|
162
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
163
|
+
*/
|
|
164
|
+
waitUntilChannelDeleted(args: GetChannelCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Repostspace>, "client">): Promise<WaiterResult>;
|
|
165
|
+
/**
|
|
166
|
+
* @see {@link GetSpaceCommand}
|
|
167
|
+
* @param args - command input.
|
|
168
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
169
|
+
*/
|
|
170
|
+
waitUntilSpaceCreated(args: GetSpaceCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Repostspace>, "client">): Promise<WaiterResult>;
|
|
171
|
+
/**
|
|
172
|
+
* @see {@link GetSpaceCommand}
|
|
173
|
+
* @param args - command input.
|
|
174
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
175
|
+
*/
|
|
176
|
+
waitUntilSpaceDeleted(args: GetSpaceCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Repostspace>, "client">): Promise<WaiterResult>;
|
|
138
177
|
}
|
|
139
178
|
/**
|
|
140
179
|
* <p>AWS re:Post Private is a private version of AWS re:Post for enterprises with Enterprise Support or Enterprise On-Ramp Support plans. It provides access to knowledge and experts to accelerate cloud adoption and increase developer productivity. With your organization-specific private re:Post, you can build an organization-specific developer community that drives efficiencies at scale and provides access to valuable knowledge resources. Additionally, re:Post Private centralizes trusted AWS technical content and offers private discussion forums to improve how your teams collaborate internally and with AWS to remove technical obstacles, accelerate innovation, and scale more efficiently in the cloud.</p>
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
WaiterConfiguration,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
import { WaiterResult } from "@smithy/util-waiter";
|
|
2
8
|
import {
|
|
3
9
|
BatchAddChannelRoleToAccessorsCommandInput,
|
|
4
10
|
BatchAddChannelRoleToAccessorsCommandOutput,
|
|
@@ -331,6 +337,56 @@ export interface Repostspace {
|
|
|
331
337
|
options: __HttpHandlerOptions,
|
|
332
338
|
cb: (err: any, data?: UpdateSpaceCommandOutput) => void
|
|
333
339
|
): void;
|
|
340
|
+
paginateListChannels(
|
|
341
|
+
args: ListChannelsCommandInput,
|
|
342
|
+
paginationConfig?: Pick<
|
|
343
|
+
PaginationConfiguration,
|
|
344
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
345
|
+
>
|
|
346
|
+
): Paginator<ListChannelsCommandOutput>;
|
|
347
|
+
paginateListSpaces(
|
|
348
|
+
args?: ListSpacesCommandInput,
|
|
349
|
+
paginationConfig?: Pick<
|
|
350
|
+
PaginationConfiguration,
|
|
351
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
352
|
+
>
|
|
353
|
+
): Paginator<ListSpacesCommandOutput>;
|
|
354
|
+
waitUntilChannelCreated(
|
|
355
|
+
args: GetChannelCommandInput,
|
|
356
|
+
waiterConfig:
|
|
357
|
+
| number
|
|
358
|
+
| Pick<
|
|
359
|
+
WaiterConfiguration<Repostspace>,
|
|
360
|
+
Exclude<keyof WaiterConfiguration<Repostspace>, "client">
|
|
361
|
+
>
|
|
362
|
+
): Promise<WaiterResult>;
|
|
363
|
+
waitUntilChannelDeleted(
|
|
364
|
+
args: GetChannelCommandInput,
|
|
365
|
+
waiterConfig:
|
|
366
|
+
| number
|
|
367
|
+
| Pick<
|
|
368
|
+
WaiterConfiguration<Repostspace>,
|
|
369
|
+
Exclude<keyof WaiterConfiguration<Repostspace>, "client">
|
|
370
|
+
>
|
|
371
|
+
): Promise<WaiterResult>;
|
|
372
|
+
waitUntilSpaceCreated(
|
|
373
|
+
args: GetSpaceCommandInput,
|
|
374
|
+
waiterConfig:
|
|
375
|
+
| number
|
|
376
|
+
| Pick<
|
|
377
|
+
WaiterConfiguration<Repostspace>,
|
|
378
|
+
Exclude<keyof WaiterConfiguration<Repostspace>, "client">
|
|
379
|
+
>
|
|
380
|
+
): Promise<WaiterResult>;
|
|
381
|
+
waitUntilSpaceDeleted(
|
|
382
|
+
args: GetSpaceCommandInput,
|
|
383
|
+
waiterConfig:
|
|
384
|
+
| number
|
|
385
|
+
| Pick<
|
|
386
|
+
WaiterConfiguration<Repostspace>,
|
|
387
|
+
Exclude<keyof WaiterConfiguration<Repostspace>, "client">
|
|
388
|
+
>
|
|
389
|
+
): Promise<WaiterResult>;
|
|
334
390
|
}
|
|
335
391
|
export declare class Repostspace
|
|
336
392
|
extends RepostspaceClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-repostspace",
|
|
3
3
|
"description": "AWS SDK for JavaScript Repostspace Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.980.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-repostspace",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.5",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.4",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.5",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.980.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.3",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|