@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.
@@ -15,11 +15,10 @@ class AccessDeniedException extends SupportAppServiceException_1.SupportAppServi
15
15
  }
16
16
  }
17
17
  exports.AccessDeniedException = AccessDeniedException;
18
- var AccountType;
19
- (function (AccountType) {
20
- AccountType["MANAGEMENT"] = "management";
21
- AccountType["MEMBER"] = "member";
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
- var NotificationSeverityLevel;
37
- (function (NotificationSeverityLevel) {
38
- NotificationSeverityLevel["ALL"] = "all";
39
- NotificationSeverityLevel["HIGH"] = "high";
40
- NotificationSeverityLevel["NONE"] = "none";
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 var AccountType;
15
- (function (AccountType) {
16
- AccountType["MANAGEMENT"] = "management";
17
- AccountType["MEMBER"] = "member";
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 var NotificationSeverityLevel;
32
- (function (NotificationSeverityLevel) {
33
- NotificationSeverityLevel["ALL"] = "all";
34
- NotificationSeverityLevel["HIGH"] = "high";
35
- NotificationSeverityLevel["NONE"] = "none";
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 enum AccountType {
19
- MANAGEMENT = "management",
20
- MEMBER = "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 enum NotificationSeverityLevel {
64
- ALL = "all",
65
- HIGH = "high",
66
- NONE = "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 enum AccountType {
11
- MANAGEMENT = "management",
12
- MEMBER = "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 enum NotificationSeverityLevel {
20
- ALL = "all",
21
- HIGH = "high",
22
- NONE = "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.300.0",
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.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
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.295.0",
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",