@aws-sdk/client-support-app 3.974.0 → 3.978.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 +9 -5
- package/dist-es/SupportApp.js +7 -1
- package/dist-types/SupportApp.d.ts +15 -1
- package/dist-types/ts3.4/SupportApp.d.ts +19 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -558,6 +558,10 @@ class UpdateSlackChannelConfigurationCommand extends smithyClient.Command
|
|
|
558
558
|
.build() {
|
|
559
559
|
}
|
|
560
560
|
|
|
561
|
+
const paginateListSlackChannelConfigurations = core.createPaginator(SupportAppClient, ListSlackChannelConfigurationsCommand, "nextToken", "nextToken", "");
|
|
562
|
+
|
|
563
|
+
const paginateListSlackWorkspaceConfigurations = core.createPaginator(SupportAppClient, ListSlackWorkspaceConfigurationsCommand, "nextToken", "nextToken", "");
|
|
564
|
+
|
|
561
565
|
const commands = {
|
|
562
566
|
CreateSlackChannelConfigurationCommand,
|
|
563
567
|
DeleteAccountAliasCommand,
|
|
@@ -570,13 +574,13 @@ const commands = {
|
|
|
570
574
|
RegisterSlackWorkspaceForOrganizationCommand,
|
|
571
575
|
UpdateSlackChannelConfigurationCommand,
|
|
572
576
|
};
|
|
577
|
+
const paginators = {
|
|
578
|
+
paginateListSlackChannelConfigurations,
|
|
579
|
+
paginateListSlackWorkspaceConfigurations,
|
|
580
|
+
};
|
|
573
581
|
class SupportApp extends SupportAppClient {
|
|
574
582
|
}
|
|
575
|
-
smithyClient.createAggregatedClient(commands, SupportApp);
|
|
576
|
-
|
|
577
|
-
const paginateListSlackChannelConfigurations = core.createPaginator(SupportAppClient, ListSlackChannelConfigurationsCommand, "nextToken", "nextToken", "");
|
|
578
|
-
|
|
579
|
-
const paginateListSlackWorkspaceConfigurations = core.createPaginator(SupportAppClient, ListSlackWorkspaceConfigurationsCommand, "nextToken", "nextToken", "");
|
|
583
|
+
smithyClient.createAggregatedClient(commands, SupportApp, { paginators });
|
|
580
584
|
|
|
581
585
|
const AccountType = {
|
|
582
586
|
MANAGEMENT: "management",
|
package/dist-es/SupportApp.js
CHANGED
|
@@ -9,6 +9,8 @@ import { ListSlackWorkspaceConfigurationsCommand, } from "./commands/ListSlackWo
|
|
|
9
9
|
import { PutAccountAliasCommand, } from "./commands/PutAccountAliasCommand";
|
|
10
10
|
import { RegisterSlackWorkspaceForOrganizationCommand, } from "./commands/RegisterSlackWorkspaceForOrganizationCommand";
|
|
11
11
|
import { UpdateSlackChannelConfigurationCommand, } from "./commands/UpdateSlackChannelConfigurationCommand";
|
|
12
|
+
import { paginateListSlackChannelConfigurations } from "./pagination/ListSlackChannelConfigurationsPaginator";
|
|
13
|
+
import { paginateListSlackWorkspaceConfigurations } from "./pagination/ListSlackWorkspaceConfigurationsPaginator";
|
|
12
14
|
import { SupportAppClient } from "./SupportAppClient";
|
|
13
15
|
const commands = {
|
|
14
16
|
CreateSlackChannelConfigurationCommand,
|
|
@@ -22,6 +24,10 @@ const commands = {
|
|
|
22
24
|
RegisterSlackWorkspaceForOrganizationCommand,
|
|
23
25
|
UpdateSlackChannelConfigurationCommand,
|
|
24
26
|
};
|
|
27
|
+
const paginators = {
|
|
28
|
+
paginateListSlackChannelConfigurations,
|
|
29
|
+
paginateListSlackWorkspaceConfigurations,
|
|
30
|
+
};
|
|
25
31
|
export class SupportApp extends SupportAppClient {
|
|
26
32
|
}
|
|
27
|
-
createAggregatedClient(commands, SupportApp);
|
|
33
|
+
createAggregatedClient(commands, SupportApp, { paginators });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { CreateSlackChannelConfigurationCommandInput, CreateSlackChannelConfigurationCommandOutput } from "./commands/CreateSlackChannelConfigurationCommand";
|
|
3
3
|
import { DeleteAccountAliasCommandInput, DeleteAccountAliasCommandOutput } from "./commands/DeleteAccountAliasCommand";
|
|
4
4
|
import { DeleteSlackChannelConfigurationCommandInput, DeleteSlackChannelConfigurationCommandOutput } from "./commands/DeleteSlackChannelConfigurationCommand";
|
|
@@ -75,6 +75,20 @@ export interface SupportApp {
|
|
|
75
75
|
updateSlackChannelConfiguration(args: UpdateSlackChannelConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSlackChannelConfigurationCommandOutput>;
|
|
76
76
|
updateSlackChannelConfiguration(args: UpdateSlackChannelConfigurationCommandInput, cb: (err: any, data?: UpdateSlackChannelConfigurationCommandOutput) => void): void;
|
|
77
77
|
updateSlackChannelConfiguration(args: UpdateSlackChannelConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSlackChannelConfigurationCommandOutput) => void): void;
|
|
78
|
+
/**
|
|
79
|
+
* @see {@link ListSlackChannelConfigurationsCommand}
|
|
80
|
+
* @param args - command input.
|
|
81
|
+
* @param paginationConfig - optional pagination config.
|
|
82
|
+
* @returns AsyncIterable of {@link ListSlackChannelConfigurationsCommandOutput}.
|
|
83
|
+
*/
|
|
84
|
+
paginateListSlackChannelConfigurations(args?: ListSlackChannelConfigurationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSlackChannelConfigurationsCommandOutput>;
|
|
85
|
+
/**
|
|
86
|
+
* @see {@link ListSlackWorkspaceConfigurationsCommand}
|
|
87
|
+
* @param args - command input.
|
|
88
|
+
* @param paginationConfig - optional pagination config.
|
|
89
|
+
* @returns AsyncIterable of {@link ListSlackWorkspaceConfigurationsCommandOutput}.
|
|
90
|
+
*/
|
|
91
|
+
paginateListSlackWorkspaceConfigurations(args?: ListSlackWorkspaceConfigurationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSlackWorkspaceConfigurationsCommandOutput>;
|
|
78
92
|
}
|
|
79
93
|
/**
|
|
80
94
|
* <fullname>Amazon Web Services Support App in Slack</fullname>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
CreateSlackChannelConfigurationCommandInput,
|
|
4
8
|
CreateSlackChannelConfigurationCommandOutput,
|
|
@@ -187,6 +191,20 @@ export interface SupportApp {
|
|
|
187
191
|
options: __HttpHandlerOptions,
|
|
188
192
|
cb: (err: any, data?: UpdateSlackChannelConfigurationCommandOutput) => void
|
|
189
193
|
): void;
|
|
194
|
+
paginateListSlackChannelConfigurations(
|
|
195
|
+
args?: ListSlackChannelConfigurationsCommandInput,
|
|
196
|
+
paginationConfig?: Pick<
|
|
197
|
+
PaginationConfiguration,
|
|
198
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
199
|
+
>
|
|
200
|
+
): Paginator<ListSlackChannelConfigurationsCommandOutput>;
|
|
201
|
+
paginateListSlackWorkspaceConfigurations(
|
|
202
|
+
args?: ListSlackWorkspaceConfigurationsCommandInput,
|
|
203
|
+
paginationConfig?: Pick<
|
|
204
|
+
PaginationConfiguration,
|
|
205
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
206
|
+
>
|
|
207
|
+
): Paginator<ListSlackWorkspaceConfigurationsCommandOutput>;
|
|
190
208
|
}
|
|
191
209
|
export declare class SupportApp
|
|
192
210
|
extends SupportAppClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-support-app",
|
|
3
3
|
"description": "AWS SDK for JavaScript Support App Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.978.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-support-app",
|
|
@@ -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.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
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",
|