@aws-sdk/client-support-app 3.927.0 → 3.929.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.
Files changed (31) hide show
  1. package/dist-cjs/index.js +353 -478
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/SupportAppClient.js +2 -0
  4. package/dist-es/commands/CreateSlackChannelConfigurationCommand.js +3 -9
  5. package/dist-es/commands/DeleteAccountAliasCommand.js +3 -9
  6. package/dist-es/commands/DeleteSlackChannelConfigurationCommand.js +3 -9
  7. package/dist-es/commands/DeleteSlackWorkspaceConfigurationCommand.js +3 -9
  8. package/dist-es/commands/GetAccountAliasCommand.js +3 -9
  9. package/dist-es/commands/ListSlackChannelConfigurationsCommand.js +3 -9
  10. package/dist-es/commands/ListSlackWorkspaceConfigurationsCommand.js +3 -9
  11. package/dist-es/commands/PutAccountAliasCommand.js +3 -9
  12. package/dist-es/commands/RegisterSlackWorkspaceForOrganizationCommand.js +3 -9
  13. package/dist-es/commands/UpdateSlackChannelConfigurationCommand.js +3 -9
  14. package/dist-es/runtimeConfig.shared.js +2 -0
  15. package/dist-es/schemas/schemas_0.js +313 -0
  16. package/dist-types/SupportAppClient.d.ts +10 -1
  17. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  18. package/dist-types/runtimeConfig.d.ts +1 -0
  19. package/dist-types/runtimeConfig.native.d.ts +1 -0
  20. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  21. package/dist-types/schemas/schemas_0.d.ts +42 -0
  22. package/dist-types/ts3.4/SupportAppClient.d.ts +4 -0
  23. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  24. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  25. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  26. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  27. package/dist-types/ts3.4/schemas/schemas_0.d.ts +47 -0
  28. package/package.json +5 -5
  29. package/dist-es/protocols/Aws_restJson1.js +0 -391
  30. package/dist-types/protocols/Aws_restJson1.d.ts +0 -92
  31. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -125
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.supportapp" }),
28
30
  serviceId: config?.serviceId ?? "Support App",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class SupportAppClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateSlackChannelConfigurationCommand, se_CreateSlackChannelConfigurationCommand, } from "../protocols/Aws_restJson1";
4
+ import { CreateSlackChannelConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateSlackChannelConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SupportApp", "CreateSlackChannelConfiguration", {})
17
13
  .n("SupportAppClient", "CreateSlackChannelConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateSlackChannelConfigurationCommand)
20
- .de(de_CreateSlackChannelConfigurationCommand)
14
+ .sc(CreateSlackChannelConfiguration)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteAccountAliasCommand, se_DeleteAccountAliasCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteAccountAlias } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteAccountAliasCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SupportApp", "DeleteAccountAlias", {})
17
13
  .n("SupportAppClient", "DeleteAccountAliasCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteAccountAliasCommand)
20
- .de(de_DeleteAccountAliasCommand)
14
+ .sc(DeleteAccountAlias)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteSlackChannelConfigurationCommand, se_DeleteSlackChannelConfigurationCommand, } from "../protocols/Aws_restJson1";
4
+ import { DeleteSlackChannelConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteSlackChannelConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SupportApp", "DeleteSlackChannelConfiguration", {})
17
13
  .n("SupportAppClient", "DeleteSlackChannelConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteSlackChannelConfigurationCommand)
20
- .de(de_DeleteSlackChannelConfigurationCommand)
14
+ .sc(DeleteSlackChannelConfiguration)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteSlackWorkspaceConfigurationCommand, se_DeleteSlackWorkspaceConfigurationCommand, } from "../protocols/Aws_restJson1";
4
+ import { DeleteSlackWorkspaceConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteSlackWorkspaceConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SupportApp", "DeleteSlackWorkspaceConfiguration", {})
17
13
  .n("SupportAppClient", "DeleteSlackWorkspaceConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteSlackWorkspaceConfigurationCommand)
20
- .de(de_DeleteSlackWorkspaceConfigurationCommand)
14
+ .sc(DeleteSlackWorkspaceConfiguration)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetAccountAliasCommand, se_GetAccountAliasCommand } from "../protocols/Aws_restJson1";
4
+ import { GetAccountAlias } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetAccountAliasCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SupportApp", "GetAccountAlias", {})
17
13
  .n("SupportAppClient", "GetAccountAliasCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetAccountAliasCommand)
20
- .de(de_GetAccountAliasCommand)
14
+ .sc(GetAccountAlias)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListSlackChannelConfigurationsCommand, se_ListSlackChannelConfigurationsCommand, } from "../protocols/Aws_restJson1";
4
+ import { ListSlackChannelConfigurations } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListSlackChannelConfigurationsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SupportApp", "ListSlackChannelConfigurations", {})
17
13
  .n("SupportAppClient", "ListSlackChannelConfigurationsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListSlackChannelConfigurationsCommand)
20
- .de(de_ListSlackChannelConfigurationsCommand)
14
+ .sc(ListSlackChannelConfigurations)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListSlackWorkspaceConfigurationsCommand, se_ListSlackWorkspaceConfigurationsCommand, } from "../protocols/Aws_restJson1";
4
+ import { ListSlackWorkspaceConfigurations } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListSlackWorkspaceConfigurationsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SupportApp", "ListSlackWorkspaceConfigurations", {})
17
13
  .n("SupportAppClient", "ListSlackWorkspaceConfigurationsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListSlackWorkspaceConfigurationsCommand)
20
- .de(de_ListSlackWorkspaceConfigurationsCommand)
14
+ .sc(ListSlackWorkspaceConfigurations)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PutAccountAliasCommand, se_PutAccountAliasCommand } from "../protocols/Aws_restJson1";
4
+ import { PutAccountAlias } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutAccountAliasCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SupportApp", "PutAccountAlias", {})
17
13
  .n("SupportAppClient", "PutAccountAliasCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutAccountAliasCommand)
20
- .de(de_PutAccountAliasCommand)
14
+ .sc(PutAccountAlias)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RegisterSlackWorkspaceForOrganizationCommand, se_RegisterSlackWorkspaceForOrganizationCommand, } from "../protocols/Aws_restJson1";
4
+ import { RegisterSlackWorkspaceForOrganization } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RegisterSlackWorkspaceForOrganizationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SupportApp", "RegisterSlackWorkspaceForOrganization", {})
17
13
  .n("SupportAppClient", "RegisterSlackWorkspaceForOrganizationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RegisterSlackWorkspaceForOrganizationCommand)
20
- .de(de_RegisterSlackWorkspaceForOrganizationCommand)
14
+ .sc(RegisterSlackWorkspaceForOrganization)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateSlackChannelConfigurationCommand, se_UpdateSlackChannelConfigurationCommand, } from "../protocols/Aws_restJson1";
4
+ import { UpdateSlackChannelConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateSlackChannelConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SupportApp", "UpdateSlackChannelConfiguration", {})
17
13
  .n("SupportAppClient", "UpdateSlackChannelConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateSlackChannelConfigurationCommand)
20
- .de(de_UpdateSlackChannelConfigurationCommand)
14
+ .sc(UpdateSlackChannelConfiguration)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.supportapp" }),
25
27
  serviceId: config?.serviceId ?? "Support App",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
@@ -0,0 +1,313 @@
1
+ const _ADE = "AccessDeniedException";
2
+ const _CE = "ConflictException";
3
+ const _CSCC = "CreateSlackChannelConfiguration";
4
+ const _CSCCR = "CreateSlackChannelConfigurationRequest";
5
+ const _CSCCRr = "CreateSlackChannelConfigurationResult";
6
+ const _DAA = "DeleteAccountAlias";
7
+ const _DAAR = "DeleteAccountAliasRequest";
8
+ const _DAARe = "DeleteAccountAliasResult";
9
+ const _DSCC = "DeleteSlackChannelConfiguration";
10
+ const _DSCCR = "DeleteSlackChannelConfigurationRequest";
11
+ const _DSCCRe = "DeleteSlackChannelConfigurationResult";
12
+ const _DSWC = "DeleteSlackWorkspaceConfiguration";
13
+ const _DSWCR = "DeleteSlackWorkspaceConfigurationRequest";
14
+ const _DSWCRe = "DeleteSlackWorkspaceConfigurationResult";
15
+ const _GAA = "GetAccountAlias";
16
+ const _GAAR = "GetAccountAliasRequest";
17
+ const _GAARe = "GetAccountAliasResult";
18
+ const _ISE = "InternalServerException";
19
+ const _LSCC = "ListSlackChannelConfigurations";
20
+ const _LSCCR = "ListSlackChannelConfigurationsRequest";
21
+ const _LSCCRi = "ListSlackChannelConfigurationsResult";
22
+ const _LSWC = "ListSlackWorkspaceConfigurations";
23
+ const _LSWCR = "ListSlackWorkspaceConfigurationsRequest";
24
+ const _LSWCRi = "ListSlackWorkspaceConfigurationsResult";
25
+ const _PAA = "PutAccountAlias";
26
+ const _PAAR = "PutAccountAliasRequest";
27
+ const _PAARu = "PutAccountAliasResult";
28
+ const _RNFE = "ResourceNotFoundException";
29
+ const _RSWFO = "RegisterSlackWorkspaceForOrganization";
30
+ const _RSWFOR = "RegisterSlackWorkspaceForOrganizationRequest";
31
+ const _RSWFORe = "RegisterSlackWorkspaceForOrganizationResult";
32
+ const _SCC = "SlackChannelConfiguration";
33
+ const _SQEE = "ServiceQuotaExceededException";
34
+ const _SWC = "SlackWorkspaceConfiguration";
35
+ const _SWCL = "SlackWorkspaceConfigurationList";
36
+ const _USCC = "UpdateSlackChannelConfiguration";
37
+ const _USCCR = "UpdateSlackChannelConfigurationRequest";
38
+ const _USCCRp = "UpdateSlackChannelConfigurationResult";
39
+ const _VE = "ValidationException";
40
+ const _aA = "accountAlias";
41
+ const _aOMA = "allowOrganizationMemberAccount";
42
+ const _aT = "accountType";
43
+ const _c = "client";
44
+ const _cI = "channelId";
45
+ const _cN = "channelName";
46
+ const _cRA = "channelRoleArn";
47
+ const _e = "error";
48
+ const _h = "http";
49
+ const _hE = "httpError";
50
+ const _m = "message";
51
+ const _nOACTC = "notifyOnAddCorrespondenceToCase";
52
+ const _nOCORC = "notifyOnCreateOrReopenCase";
53
+ const _nOCS = "notifyOnCaseSeverity";
54
+ const _nORC = "notifyOnResolveCase";
55
+ const _nT = "nextToken";
56
+ const _s = "server";
57
+ const _sCC = "slackChannelConfigurations";
58
+ const _sCCL = "slackChannelConfigurationList";
59
+ const _sWC = "slackWorkspaceConfigurations";
60
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.supportapp";
61
+ const _tI = "teamId";
62
+ const _tN = "teamName";
63
+ const n0 = "com.amazonaws.supportapp";
64
+ import { TypeRegistry } from "@smithy/core/schema";
65
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ValidationException as __ValidationException, } from "../models/index";
66
+ import { SupportAppServiceException as __SupportAppServiceException } from "../models/SupportAppServiceException";
67
+ export var AccessDeniedException = [
68
+ -3,
69
+ n0,
70
+ _ADE,
71
+ {
72
+ [_e]: _c,
73
+ [_hE]: 403,
74
+ },
75
+ [_m],
76
+ [0],
77
+ ];
78
+ TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
79
+ export var ConflictException = [
80
+ -3,
81
+ n0,
82
+ _CE,
83
+ {
84
+ [_e]: _c,
85
+ [_hE]: 409,
86
+ },
87
+ [_m],
88
+ [0],
89
+ ];
90
+ TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
91
+ export var CreateSlackChannelConfigurationRequest = [
92
+ 3,
93
+ n0,
94
+ _CSCCR,
95
+ 0,
96
+ [_tI, _cI, _cN, _nOCORC, _nOACTC, _nORC, _nOCS, _cRA],
97
+ [0, 0, 0, 2, 2, 2, 0, 0],
98
+ ];
99
+ export var CreateSlackChannelConfigurationResult = [3, n0, _CSCCRr, 0, [], []];
100
+ export var DeleteAccountAliasRequest = [3, n0, _DAAR, 0, [], []];
101
+ export var DeleteAccountAliasResult = [3, n0, _DAARe, 0, [], []];
102
+ export var DeleteSlackChannelConfigurationRequest = [3, n0, _DSCCR, 0, [_tI, _cI], [0, 0]];
103
+ export var DeleteSlackChannelConfigurationResult = [3, n0, _DSCCRe, 0, [], []];
104
+ export var DeleteSlackWorkspaceConfigurationRequest = [3, n0, _DSWCR, 0, [_tI], [0]];
105
+ export var DeleteSlackWorkspaceConfigurationResult = [3, n0, _DSWCRe, 0, [], []];
106
+ export var GetAccountAliasRequest = [3, n0, _GAAR, 0, [], []];
107
+ export var GetAccountAliasResult = [3, n0, _GAARe, 0, [_aA], [0]];
108
+ export var InternalServerException = [
109
+ -3,
110
+ n0,
111
+ _ISE,
112
+ {
113
+ [_e]: _s,
114
+ [_hE]: 500,
115
+ },
116
+ [_m],
117
+ [0],
118
+ ];
119
+ TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
120
+ export var ListSlackChannelConfigurationsRequest = [3, n0, _LSCCR, 0, [_nT], [0]];
121
+ export var ListSlackChannelConfigurationsResult = [
122
+ 3,
123
+ n0,
124
+ _LSCCRi,
125
+ 0,
126
+ [_nT, _sCC],
127
+ [0, () => slackChannelConfigurationList],
128
+ ];
129
+ export var ListSlackWorkspaceConfigurationsRequest = [3, n0, _LSWCR, 0, [_nT], [0]];
130
+ export var ListSlackWorkspaceConfigurationsResult = [
131
+ 3,
132
+ n0,
133
+ _LSWCRi,
134
+ 0,
135
+ [_nT, _sWC],
136
+ [0, () => SlackWorkspaceConfigurationList],
137
+ ];
138
+ export var PutAccountAliasRequest = [3, n0, _PAAR, 0, [_aA], [0]];
139
+ export var PutAccountAliasResult = [3, n0, _PAARu, 0, [], []];
140
+ export var RegisterSlackWorkspaceForOrganizationRequest = [3, n0, _RSWFOR, 0, [_tI], [0]];
141
+ export var RegisterSlackWorkspaceForOrganizationResult = [
142
+ 3,
143
+ n0,
144
+ _RSWFORe,
145
+ 0,
146
+ [_tI, _tN, _aT],
147
+ [0, 0, 0],
148
+ ];
149
+ export var ResourceNotFoundException = [
150
+ -3,
151
+ n0,
152
+ _RNFE,
153
+ {
154
+ [_e]: _c,
155
+ [_hE]: 404,
156
+ },
157
+ [_m],
158
+ [0],
159
+ ];
160
+ TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
161
+ export var ServiceQuotaExceededException = [
162
+ -3,
163
+ n0,
164
+ _SQEE,
165
+ {
166
+ [_e]: _c,
167
+ [_hE]: 402,
168
+ },
169
+ [_m],
170
+ [0],
171
+ ];
172
+ TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
173
+ export var SlackChannelConfiguration = [
174
+ 3,
175
+ n0,
176
+ _SCC,
177
+ 0,
178
+ [_tI, _cI, _cN, _nOCORC, _nOACTC, _nORC, _nOCS, _cRA],
179
+ [0, 0, 0, 2, 2, 2, 0, 0],
180
+ ];
181
+ export var SlackWorkspaceConfiguration = [3, n0, _SWC, 0, [_tI, _tN, _aOMA], [0, 0, 2]];
182
+ export var UpdateSlackChannelConfigurationRequest = [
183
+ 3,
184
+ n0,
185
+ _USCCR,
186
+ 0,
187
+ [_tI, _cI, _cN, _nOCORC, _nOACTC, _nORC, _nOCS, _cRA],
188
+ [0, 0, 0, 2, 2, 2, 0, 0],
189
+ ];
190
+ export var UpdateSlackChannelConfigurationResult = [
191
+ 3,
192
+ n0,
193
+ _USCCRp,
194
+ 0,
195
+ [_tI, _cI, _cN, _nOCORC, _nOACTC, _nORC, _nOCS, _cRA],
196
+ [0, 0, 0, 2, 2, 2, 0, 0],
197
+ ];
198
+ export var ValidationException = [
199
+ -3,
200
+ n0,
201
+ _VE,
202
+ {
203
+ [_e]: _c,
204
+ [_hE]: 400,
205
+ },
206
+ [_m],
207
+ [0],
208
+ ];
209
+ TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
210
+ export var SupportAppServiceException = [-3, _sm, "SupportAppServiceException", 0, [], []];
211
+ TypeRegistry.for(_sm).registerError(SupportAppServiceException, __SupportAppServiceException);
212
+ export var slackChannelConfigurationList = [1, n0, _sCCL, 0, () => SlackChannelConfiguration];
213
+ export var SlackWorkspaceConfigurationList = [1, n0, _SWCL, 0, () => SlackWorkspaceConfiguration];
214
+ export var CreateSlackChannelConfiguration = [
215
+ 9,
216
+ n0,
217
+ _CSCC,
218
+ {
219
+ [_h]: ["POST", "/control/create-slack-channel-configuration", 200],
220
+ },
221
+ () => CreateSlackChannelConfigurationRequest,
222
+ () => CreateSlackChannelConfigurationResult,
223
+ ];
224
+ export var DeleteAccountAlias = [
225
+ 9,
226
+ n0,
227
+ _DAA,
228
+ {
229
+ [_h]: ["POST", "/control/delete-account-alias", 200],
230
+ },
231
+ () => DeleteAccountAliasRequest,
232
+ () => DeleteAccountAliasResult,
233
+ ];
234
+ export var DeleteSlackChannelConfiguration = [
235
+ 9,
236
+ n0,
237
+ _DSCC,
238
+ {
239
+ [_h]: ["POST", "/control/delete-slack-channel-configuration", 200],
240
+ },
241
+ () => DeleteSlackChannelConfigurationRequest,
242
+ () => DeleteSlackChannelConfigurationResult,
243
+ ];
244
+ export var DeleteSlackWorkspaceConfiguration = [
245
+ 9,
246
+ n0,
247
+ _DSWC,
248
+ {
249
+ [_h]: ["POST", "/control/delete-slack-workspace-configuration", 200],
250
+ },
251
+ () => DeleteSlackWorkspaceConfigurationRequest,
252
+ () => DeleteSlackWorkspaceConfigurationResult,
253
+ ];
254
+ export var GetAccountAlias = [
255
+ 9,
256
+ n0,
257
+ _GAA,
258
+ {
259
+ [_h]: ["POST", "/control/get-account-alias", 200],
260
+ },
261
+ () => GetAccountAliasRequest,
262
+ () => GetAccountAliasResult,
263
+ ];
264
+ export var ListSlackChannelConfigurations = [
265
+ 9,
266
+ n0,
267
+ _LSCC,
268
+ {
269
+ [_h]: ["POST", "/control/list-slack-channel-configurations", 200],
270
+ },
271
+ () => ListSlackChannelConfigurationsRequest,
272
+ () => ListSlackChannelConfigurationsResult,
273
+ ];
274
+ export var ListSlackWorkspaceConfigurations = [
275
+ 9,
276
+ n0,
277
+ _LSWC,
278
+ {
279
+ [_h]: ["POST", "/control/list-slack-workspace-configurations", 200],
280
+ },
281
+ () => ListSlackWorkspaceConfigurationsRequest,
282
+ () => ListSlackWorkspaceConfigurationsResult,
283
+ ];
284
+ export var PutAccountAlias = [
285
+ 9,
286
+ n0,
287
+ _PAA,
288
+ {
289
+ [_h]: ["POST", "/control/put-account-alias", 200],
290
+ },
291
+ () => PutAccountAliasRequest,
292
+ () => PutAccountAliasResult,
293
+ ];
294
+ export var RegisterSlackWorkspaceForOrganization = [
295
+ 9,
296
+ n0,
297
+ _RSWFO,
298
+ {
299
+ [_h]: ["POST", "/control/register-slack-workspace-for-organization", 200],
300
+ },
301
+ () => RegisterSlackWorkspaceForOrganizationRequest,
302
+ () => RegisterSlackWorkspaceForOrganizationResult,
303
+ ];
304
+ export var UpdateSlackChannelConfiguration = [
305
+ 9,
306
+ n0,
307
+ _USCC,
308
+ {
309
+ [_h]: ["POST", "/control/update-slack-channel-configuration", 200],
310
+ },
311
+ () => UpdateSlackChannelConfigurationRequest,
312
+ () => UpdateSlackChannelConfigurationResult,
313
+ ];
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
5
5
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { CreateSlackChannelConfigurationCommandInput, CreateSlackChannelConfigurationCommandOutput } from "./commands/CreateSlackChannelConfigurationCommand";
11
11
  import { DeleteAccountAliasCommandInput, DeleteAccountAliasCommandOutput } from "./commands/DeleteAccountAliasCommand";
@@ -151,6 +151,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
151
151
  * Optional extensions
152
152
  */
153
153
  extensions?: RuntimeExtension[];
154
+ /**
155
+ * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
156
+ * may be overridden. A default will always be set by the client.
157
+ * Available options depend on the service's supported protocols and will not be validated by
158
+ * the client.
159
+ * @alpha
160
+ *
161
+ */
162
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
154
163
  /**
155
164
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
156
165
  */
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: SupportAppClientConfig) => {
29
29
  profile?: string;
30
30
  logger: import("@smithy/types").Logger;
31
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
34
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
34
35
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;