@aws-sdk/client-support-app 3.300.0 → 3.303.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/models/models_0.js +9 -11
- package/dist-es/models/models_0.js +9 -11
- package/dist-types/commands/CreateSlackChannelConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSlackChannelConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSlackWorkspaceConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/ListSlackChannelConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListSlackWorkspaceConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/PutAccountAliasCommand.d.ts +1 -1
- package/dist-types/commands/RegisterSlackWorkspaceForOrganizationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSlackChannelConfigurationCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +19 -9
- package/dist-types/ts3.4/models/models_0.d.ts +12 -9
- package/package.json +34 -34
|
@@ -15,11 +15,10 @@ class AccessDeniedException extends SupportAppServiceException_1.SupportAppServi
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
exports.AccessDeniedException = AccessDeniedException;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
})(AccountType = exports.AccountType || (exports.AccountType = {}));
|
|
18
|
+
exports.AccountType = {
|
|
19
|
+
MANAGEMENT: "management",
|
|
20
|
+
MEMBER: "member",
|
|
21
|
+
};
|
|
23
22
|
class ConflictException extends SupportAppServiceException_1.SupportAppServiceException {
|
|
24
23
|
constructor(opts) {
|
|
25
24
|
super({
|
|
@@ -33,12 +32,11 @@ class ConflictException extends SupportAppServiceException_1.SupportAppServiceEx
|
|
|
33
32
|
}
|
|
34
33
|
}
|
|
35
34
|
exports.ConflictException = ConflictException;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
})(NotificationSeverityLevel = exports.NotificationSeverityLevel || (exports.NotificationSeverityLevel = {}));
|
|
35
|
+
exports.NotificationSeverityLevel = {
|
|
36
|
+
ALL: "all",
|
|
37
|
+
HIGH: "high",
|
|
38
|
+
NONE: "none",
|
|
39
|
+
};
|
|
42
40
|
class InternalServerException extends SupportAppServiceException_1.SupportAppServiceException {
|
|
43
41
|
constructor(opts) {
|
|
44
42
|
super({
|
|
@@ -11,11 +11,10 @@ export class AccessDeniedException extends __BaseException {
|
|
|
11
11
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
export
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
})(AccountType || (AccountType = {}));
|
|
14
|
+
export const AccountType = {
|
|
15
|
+
MANAGEMENT: "management",
|
|
16
|
+
MEMBER: "member",
|
|
17
|
+
};
|
|
19
18
|
export class ConflictException extends __BaseException {
|
|
20
19
|
constructor(opts) {
|
|
21
20
|
super({
|
|
@@ -28,12 +27,11 @@ export class ConflictException extends __BaseException {
|
|
|
28
27
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
29
28
|
}
|
|
30
29
|
}
|
|
31
|
-
export
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
})(NotificationSeverityLevel || (NotificationSeverityLevel = {}));
|
|
30
|
+
export const NotificationSeverityLevel = {
|
|
31
|
+
ALL: "all",
|
|
32
|
+
HIGH: "high",
|
|
33
|
+
NONE: "none",
|
|
34
|
+
};
|
|
37
35
|
export class InternalServerException extends __BaseException {
|
|
38
36
|
constructor(opts) {
|
|
39
37
|
super({
|
|
@@ -46,7 +46,7 @@ export interface CreateSlackChannelConfigurationCommandOutput extends CreateSlac
|
|
|
46
46
|
* import { SupportAppClient, CreateSlackChannelConfigurationCommand } from "@aws-sdk/client-support-app"; // ES Modules import
|
|
47
47
|
* // const { SupportAppClient, CreateSlackChannelConfigurationCommand } = require("@aws-sdk/client-support-app"); // CommonJS import
|
|
48
48
|
* const client = new SupportAppClient(config);
|
|
49
|
-
* const input = {
|
|
49
|
+
* const input = { // CreateSlackChannelConfigurationRequest
|
|
50
50
|
* teamId: "STRING_VALUE", // required
|
|
51
51
|
* channelId: "STRING_VALUE", // required
|
|
52
52
|
* channelName: "STRING_VALUE",
|
|
@@ -27,7 +27,7 @@ export interface DeleteSlackChannelConfigurationCommandOutput extends DeleteSlac
|
|
|
27
27
|
* import { SupportAppClient, DeleteSlackChannelConfigurationCommand } from "@aws-sdk/client-support-app"; // ES Modules import
|
|
28
28
|
* // const { SupportAppClient, DeleteSlackChannelConfigurationCommand } = require("@aws-sdk/client-support-app"); // CommonJS import
|
|
29
29
|
* const client = new SupportAppClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DeleteSlackChannelConfigurationRequest
|
|
31
31
|
* teamId: "STRING_VALUE", // required
|
|
32
32
|
* channelId: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
@@ -27,7 +27,7 @@ export interface DeleteSlackWorkspaceConfigurationCommandOutput extends DeleteSl
|
|
|
27
27
|
* import { SupportAppClient, DeleteSlackWorkspaceConfigurationCommand } from "@aws-sdk/client-support-app"; // ES Modules import
|
|
28
28
|
* // const { SupportAppClient, DeleteSlackWorkspaceConfigurationCommand } = require("@aws-sdk/client-support-app"); // CommonJS import
|
|
29
29
|
* const client = new SupportAppClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DeleteSlackWorkspaceConfigurationRequest
|
|
31
31
|
* teamId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DeleteSlackWorkspaceConfigurationCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface ListSlackChannelConfigurationsCommandOutput extends ListSlackCh
|
|
|
26
26
|
* import { SupportAppClient, ListSlackChannelConfigurationsCommand } from "@aws-sdk/client-support-app"; // ES Modules import
|
|
27
27
|
* // const { SupportAppClient, ListSlackChannelConfigurationsCommand } = require("@aws-sdk/client-support-app"); // CommonJS import
|
|
28
28
|
* const client = new SupportAppClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListSlackChannelConfigurationsRequest
|
|
30
30
|
* nextToken: "STRING_VALUE",
|
|
31
31
|
* };
|
|
32
32
|
* const command = new ListSlackChannelConfigurationsCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface ListSlackWorkspaceConfigurationsCommandOutput extends ListSlack
|
|
|
26
26
|
* import { SupportAppClient, ListSlackWorkspaceConfigurationsCommand } from "@aws-sdk/client-support-app"; // ES Modules import
|
|
27
27
|
* // const { SupportAppClient, ListSlackWorkspaceConfigurationsCommand } = require("@aws-sdk/client-support-app"); // CommonJS import
|
|
28
28
|
* const client = new SupportAppClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListSlackWorkspaceConfigurationsRequest
|
|
30
30
|
* nextToken: "STRING_VALUE",
|
|
31
31
|
* };
|
|
32
32
|
* const command = new ListSlackWorkspaceConfigurationsCommand(input);
|
|
@@ -28,7 +28,7 @@ export interface PutAccountAliasCommandOutput extends PutAccountAliasResult, __M
|
|
|
28
28
|
* import { SupportAppClient, PutAccountAliasCommand } from "@aws-sdk/client-support-app"; // ES Modules import
|
|
29
29
|
* // const { SupportAppClient, PutAccountAliasCommand } = require("@aws-sdk/client-support-app"); // CommonJS import
|
|
30
30
|
* const client = new SupportAppClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // PutAccountAliasRequest
|
|
32
32
|
* accountAlias: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new PutAccountAliasCommand(input);
|
|
@@ -55,7 +55,7 @@ export interface RegisterSlackWorkspaceForOrganizationCommandOutput extends Regi
|
|
|
55
55
|
* import { SupportAppClient, RegisterSlackWorkspaceForOrganizationCommand } from "@aws-sdk/client-support-app"; // ES Modules import
|
|
56
56
|
* // const { SupportAppClient, RegisterSlackWorkspaceForOrganizationCommand } = require("@aws-sdk/client-support-app"); // CommonJS import
|
|
57
57
|
* const client = new SupportAppClient(config);
|
|
58
|
-
* const input = {
|
|
58
|
+
* const input = { // RegisterSlackWorkspaceForOrganizationRequest
|
|
59
59
|
* teamId: "STRING_VALUE", // required
|
|
60
60
|
* };
|
|
61
61
|
* const command = new RegisterSlackWorkspaceForOrganizationCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface UpdateSlackChannelConfigurationCommandOutput extends UpdateSlac
|
|
|
26
26
|
* import { SupportAppClient, UpdateSlackChannelConfigurationCommand } from "@aws-sdk/client-support-app"; // ES Modules import
|
|
27
27
|
* // const { SupportAppClient, UpdateSlackChannelConfigurationCommand } = require("@aws-sdk/client-support-app"); // CommonJS import
|
|
28
28
|
* const client = new SupportAppClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateSlackChannelConfigurationRequest
|
|
30
30
|
* teamId: "STRING_VALUE", // required
|
|
31
31
|
* channelId: "STRING_VALUE", // required
|
|
32
32
|
* channelName: "STRING_VALUE",
|
|
@@ -14,11 +14,16 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* @public
|
|
17
|
+
* @enum
|
|
17
18
|
*/
|
|
18
|
-
export declare
|
|
19
|
-
MANAGEMENT
|
|
20
|
-
MEMBER
|
|
21
|
-
}
|
|
19
|
+
export declare const AccountType: {
|
|
20
|
+
readonly MANAGEMENT: "management";
|
|
21
|
+
readonly MEMBER: "member";
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export type AccountType = (typeof AccountType)[keyof typeof AccountType];
|
|
22
27
|
/**
|
|
23
28
|
* @public
|
|
24
29
|
* <p>Your request has a conflict. For example, you might receive this error if you try the
|
|
@@ -59,12 +64,17 @@ export declare class ConflictException extends __BaseException {
|
|
|
59
64
|
}
|
|
60
65
|
/**
|
|
61
66
|
* @public
|
|
67
|
+
* @enum
|
|
62
68
|
*/
|
|
63
|
-
export declare
|
|
64
|
-
ALL
|
|
65
|
-
HIGH
|
|
66
|
-
NONE
|
|
67
|
-
}
|
|
69
|
+
export declare const NotificationSeverityLevel: {
|
|
70
|
+
readonly ALL: "all";
|
|
71
|
+
readonly HIGH: "high";
|
|
72
|
+
readonly NONE: "none";
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export type NotificationSeverityLevel = (typeof NotificationSeverityLevel)[keyof typeof NotificationSeverityLevel];
|
|
68
78
|
/**
|
|
69
79
|
* @public
|
|
70
80
|
*/
|
|
@@ -7,20 +7,23 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
7
7
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
8
|
);
|
|
9
9
|
}
|
|
10
|
-
export declare
|
|
11
|
-
MANAGEMENT
|
|
12
|
-
MEMBER
|
|
13
|
-
}
|
|
10
|
+
export declare const AccountType: {
|
|
11
|
+
readonly MANAGEMENT: "management";
|
|
12
|
+
readonly MEMBER: "member";
|
|
13
|
+
};
|
|
14
|
+
export type AccountType = (typeof AccountType)[keyof typeof AccountType];
|
|
14
15
|
export declare class ConflictException extends __BaseException {
|
|
15
16
|
readonly name: "ConflictException";
|
|
16
17
|
readonly $fault: "client";
|
|
17
18
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
18
19
|
}
|
|
19
|
-
export declare
|
|
20
|
-
ALL
|
|
21
|
-
HIGH
|
|
22
|
-
NONE
|
|
23
|
-
}
|
|
20
|
+
export declare const NotificationSeverityLevel: {
|
|
21
|
+
readonly ALL: "all";
|
|
22
|
+
readonly HIGH: "high";
|
|
23
|
+
readonly NONE: "none";
|
|
24
|
+
};
|
|
25
|
+
export type NotificationSeverityLevel =
|
|
26
|
+
(typeof NotificationSeverityLevel)[keyof typeof NotificationSeverityLevel];
|
|
24
27
|
export interface CreateSlackChannelConfigurationRequest {
|
|
25
28
|
teamId: string | undefined;
|
|
26
29
|
channelId: string | undefined;
|
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.303.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,42 +21,42 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|