@aws-sdk/client-support-app 3.190.0 → 3.192.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/CHANGELOG.md +11 -0
- package/README.md +0 -1
- package/dist-cjs/SupportApp.js +15 -0
- package/dist-cjs/SupportAppClient.js +11 -8
- package/dist-cjs/commands/CreateSlackChannelConfigurationCommand.js +10 -0
- package/dist-cjs/commands/DeleteAccountAliasCommand.js +10 -0
- package/dist-cjs/commands/DeleteSlackChannelConfigurationCommand.js +10 -0
- package/dist-cjs/commands/DeleteSlackWorkspaceConfigurationCommand.js +10 -0
- package/dist-cjs/commands/GetAccountAliasCommand.js +10 -0
- package/dist-cjs/commands/ListSlackChannelConfigurationsCommand.js +10 -0
- package/dist-cjs/commands/ListSlackWorkspaceConfigurationsCommand.js +10 -0
- package/dist-cjs/commands/PutAccountAliasCommand.js +10 -0
- package/dist-cjs/commands/RegisterSlackWorkspaceForOrganizationCommand.js +46 -0
- package/dist-cjs/commands/UpdateSlackChannelConfigurationCommand.js +10 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +312 -0
- package/dist-cjs/models/models_0.js +14 -1
- package/dist-cjs/protocols/Aws_restJson1.js +77 -1
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/SupportApp.js +15 -0
- package/dist-es/SupportAppClient.js +12 -9
- package/dist-es/commands/CreateSlackChannelConfigurationCommand.js +10 -0
- package/dist-es/commands/DeleteAccountAliasCommand.js +10 -0
- package/dist-es/commands/DeleteSlackChannelConfigurationCommand.js +10 -0
- package/dist-es/commands/DeleteSlackWorkspaceConfigurationCommand.js +10 -0
- package/dist-es/commands/GetAccountAliasCommand.js +10 -0
- package/dist-es/commands/ListSlackChannelConfigurationsCommand.js +10 -0
- package/dist-es/commands/ListSlackWorkspaceConfigurationsCommand.js +10 -0
- package/dist-es/commands/PutAccountAliasCommand.js +10 -0
- package/dist-es/commands/RegisterSlackWorkspaceForOrganizationCommand.js +42 -0
- package/dist-es/commands/UpdateSlackChannelConfigurationCommand.js +10 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +309 -0
- package/dist-es/models/models_0.js +11 -0
- package/dist-es/protocols/Aws_restJson1.js +74 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/SupportApp.d.ts +36 -1
- package/dist-types/SupportAppClient.d.ts +9 -12
- package/dist-types/commands/CreateSlackChannelConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAccountAliasCommand.d.ts +2 -0
- package/dist-types/commands/DeleteSlackChannelConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/DeleteSlackWorkspaceConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/GetAccountAliasCommand.d.ts +2 -0
- package/dist-types/commands/ListSlackChannelConfigurationsCommand.d.ts +2 -0
- package/dist-types/commands/ListSlackWorkspaceConfigurationsCommand.d.ts +2 -0
- package/dist-types/commands/PutAccountAliasCommand.d.ts +2 -0
- package/dist-types/commands/RegisterSlackWorkspaceForOrganizationCommand.d.ts +66 -0
- package/dist-types/commands/UpdateSlackChannelConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +72 -20
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/SupportApp.d.ts +23 -0
- package/dist-types/ts3.4/SupportAppClient.d.ts +21 -8
- package/dist-types/ts3.4/commands/CreateSlackChannelConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteAccountAliasCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteSlackChannelConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteSlackWorkspaceConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAccountAliasCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListSlackChannelConfigurationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListSlackWorkspaceConfigurationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutAccountAliasCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RegisterSlackWorkspaceForOrganizationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateSlackChannelConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +20 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +4 -3
- package/dist-cjs/endpoints.js +0 -132
- package/dist-es/endpoints.js +0 -128
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -31,6 +31,10 @@ import {
|
|
|
31
31
|
PutAccountAliasCommandInput,
|
|
32
32
|
PutAccountAliasCommandOutput,
|
|
33
33
|
} from "./commands/PutAccountAliasCommand";
|
|
34
|
+
import {
|
|
35
|
+
RegisterSlackWorkspaceForOrganizationCommandInput,
|
|
36
|
+
RegisterSlackWorkspaceForOrganizationCommandOutput,
|
|
37
|
+
} from "./commands/RegisterSlackWorkspaceForOrganizationCommand";
|
|
34
38
|
import {
|
|
35
39
|
UpdateSlackChannelConfigurationCommandInput,
|
|
36
40
|
UpdateSlackChannelConfigurationCommandOutput,
|
|
@@ -147,6 +151,25 @@ export declare class SupportApp extends SupportAppClient {
|
|
|
147
151
|
options: __HttpHandlerOptions,
|
|
148
152
|
cb: (err: any, data?: PutAccountAliasCommandOutput) => void
|
|
149
153
|
): void;
|
|
154
|
+
registerSlackWorkspaceForOrganization(
|
|
155
|
+
args: RegisterSlackWorkspaceForOrganizationCommandInput,
|
|
156
|
+
options?: __HttpHandlerOptions
|
|
157
|
+
): Promise<RegisterSlackWorkspaceForOrganizationCommandOutput>;
|
|
158
|
+
registerSlackWorkspaceForOrganization(
|
|
159
|
+
args: RegisterSlackWorkspaceForOrganizationCommandInput,
|
|
160
|
+
cb: (
|
|
161
|
+
err: any,
|
|
162
|
+
data?: RegisterSlackWorkspaceForOrganizationCommandOutput
|
|
163
|
+
) => void
|
|
164
|
+
): void;
|
|
165
|
+
registerSlackWorkspaceForOrganization(
|
|
166
|
+
args: RegisterSlackWorkspaceForOrganizationCommandInput,
|
|
167
|
+
options: __HttpHandlerOptions,
|
|
168
|
+
cb: (
|
|
169
|
+
err: any,
|
|
170
|
+
data?: RegisterSlackWorkspaceForOrganizationCommandOutput
|
|
171
|
+
) => void
|
|
172
|
+
): void;
|
|
150
173
|
updateSlackChannelConfiguration(
|
|
151
174
|
args: UpdateSlackChannelConfigurationCommandInput,
|
|
152
175
|
options?: __HttpHandlerOptions
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
EndpointsInputConfig,
|
|
3
|
-
EndpointsResolvedConfig,
|
|
4
2
|
RegionInputConfig,
|
|
5
3
|
RegionResolvedConfig,
|
|
6
4
|
} from "@aws-sdk/config-resolver";
|
|
5
|
+
import {
|
|
6
|
+
EndpointInputConfig,
|
|
7
|
+
EndpointResolvedConfig,
|
|
8
|
+
} from "@aws-sdk/middleware-endpoint";
|
|
7
9
|
import {
|
|
8
10
|
HostHeaderInputConfig,
|
|
9
11
|
HostHeaderResolvedConfig,
|
|
@@ -37,7 +39,6 @@ import {
|
|
|
37
39
|
Logger as __Logger,
|
|
38
40
|
Provider as __Provider,
|
|
39
41
|
Provider,
|
|
40
|
-
RegionInfoProvider,
|
|
41
42
|
StreamCollector as __StreamCollector,
|
|
42
43
|
UrlParser as __UrlParser,
|
|
43
44
|
UserAgent as __UserAgent,
|
|
@@ -74,10 +75,19 @@ import {
|
|
|
74
75
|
PutAccountAliasCommandInput,
|
|
75
76
|
PutAccountAliasCommandOutput,
|
|
76
77
|
} from "./commands/PutAccountAliasCommand";
|
|
78
|
+
import {
|
|
79
|
+
RegisterSlackWorkspaceForOrganizationCommandInput,
|
|
80
|
+
RegisterSlackWorkspaceForOrganizationCommandOutput,
|
|
81
|
+
} from "./commands/RegisterSlackWorkspaceForOrganizationCommand";
|
|
77
82
|
import {
|
|
78
83
|
UpdateSlackChannelConfigurationCommandInput,
|
|
79
84
|
UpdateSlackChannelConfigurationCommandOutput,
|
|
80
85
|
} from "./commands/UpdateSlackChannelConfigurationCommand";
|
|
86
|
+
import {
|
|
87
|
+
ClientInputEndpointParameters,
|
|
88
|
+
ClientResolvedEndpointParameters,
|
|
89
|
+
EndpointParameters,
|
|
90
|
+
} from "./endpoint/EndpointParameters";
|
|
81
91
|
export declare type ServiceInputTypes =
|
|
82
92
|
| CreateSlackChannelConfigurationCommandInput
|
|
83
93
|
| DeleteAccountAliasCommandInput
|
|
@@ -87,6 +97,7 @@ export declare type ServiceInputTypes =
|
|
|
87
97
|
| ListSlackChannelConfigurationsCommandInput
|
|
88
98
|
| ListSlackWorkspaceConfigurationsCommandInput
|
|
89
99
|
| PutAccountAliasCommandInput
|
|
100
|
+
| RegisterSlackWorkspaceForOrganizationCommandInput
|
|
90
101
|
| UpdateSlackChannelConfigurationCommandInput;
|
|
91
102
|
export declare type ServiceOutputTypes =
|
|
92
103
|
| CreateSlackChannelConfigurationCommandOutput
|
|
@@ -97,6 +108,7 @@ export declare type ServiceOutputTypes =
|
|
|
97
108
|
| ListSlackChannelConfigurationsCommandOutput
|
|
98
109
|
| ListSlackWorkspaceConfigurationsCommandOutput
|
|
99
110
|
| PutAccountAliasCommandOutput
|
|
111
|
+
| RegisterSlackWorkspaceForOrganizationCommandOutput
|
|
100
112
|
| UpdateSlackChannelConfigurationCommandOutput;
|
|
101
113
|
export interface ClientDefaults
|
|
102
114
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
@@ -119,7 +131,6 @@ export interface ClientDefaults
|
|
|
119
131
|
serviceId?: string;
|
|
120
132
|
region?: string | __Provider<string>;
|
|
121
133
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
122
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
123
134
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
124
135
|
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
125
136
|
}
|
|
@@ -128,21 +139,23 @@ declare type SupportAppClientConfigType = Partial<
|
|
|
128
139
|
> &
|
|
129
140
|
ClientDefaults &
|
|
130
141
|
RegionInputConfig &
|
|
131
|
-
|
|
142
|
+
EndpointInputConfig<EndpointParameters> &
|
|
132
143
|
RetryInputConfig &
|
|
133
144
|
HostHeaderInputConfig &
|
|
134
145
|
AwsAuthInputConfig &
|
|
135
|
-
UserAgentInputConfig
|
|
146
|
+
UserAgentInputConfig &
|
|
147
|
+
ClientInputEndpointParameters;
|
|
136
148
|
export interface SupportAppClientConfig extends SupportAppClientConfigType {}
|
|
137
149
|
declare type SupportAppClientResolvedConfigType =
|
|
138
150
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
139
151
|
Required<ClientDefaults> &
|
|
140
152
|
RegionResolvedConfig &
|
|
141
|
-
|
|
153
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
142
154
|
RetryResolvedConfig &
|
|
143
155
|
HostHeaderResolvedConfig &
|
|
144
156
|
AwsAuthResolvedConfig &
|
|
145
|
-
UserAgentResolvedConfig
|
|
157
|
+
UserAgentResolvedConfig &
|
|
158
|
+
ClientResolvedEndpointParameters;
|
|
146
159
|
export interface SupportAppClientResolvedConfig
|
|
147
160
|
extends SupportAppClientResolvedConfigType {}
|
|
148
161
|
export declare class SupportAppClient extends __Client<
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class CreateSlackChannelConfigurationCommand extends $Command<
|
|
|
25
26
|
SupportAppClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: CreateSlackChannelConfigurationCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: CreateSlackChannelConfigurationCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class DeleteAccountAliasCommand extends $Command<
|
|
|
25
26
|
SupportAppClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: DeleteAccountAliasCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: DeleteAccountAliasCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class DeleteSlackChannelConfigurationCommand extends $Command<
|
|
|
25
26
|
SupportAppClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: DeleteSlackChannelConfigurationCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: DeleteSlackChannelConfigurationCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class DeleteSlackWorkspaceConfigurationCommand extends $Command<
|
|
|
25
26
|
SupportAppClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: DeleteSlackWorkspaceConfigurationCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: DeleteSlackWorkspaceConfigurationCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -24,6 +25,7 @@ export declare class GetAccountAliasCommand extends $Command<
|
|
|
24
25
|
SupportAppClientResolvedConfig
|
|
25
26
|
> {
|
|
26
27
|
readonly input: GetAccountAliasCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
29
|
constructor(input: GetAccountAliasCommandInput);
|
|
28
30
|
resolveMiddleware(
|
|
29
31
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class ListSlackChannelConfigurationsCommand extends $Command<
|
|
|
25
26
|
SupportAppClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: ListSlackChannelConfigurationsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: ListSlackChannelConfigurationsCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class ListSlackWorkspaceConfigurationsCommand extends $Command<
|
|
|
25
26
|
SupportAppClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: ListSlackWorkspaceConfigurationsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: ListSlackWorkspaceConfigurationsCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -24,6 +25,7 @@ export declare class PutAccountAliasCommand extends $Command<
|
|
|
24
25
|
SupportAppClientResolvedConfig
|
|
25
26
|
> {
|
|
26
27
|
readonly input: PutAccountAliasCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
29
|
constructor(input: PutAccountAliasCommandInput);
|
|
28
30
|
resolveMiddleware(
|
|
29
31
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
RegisterSlackWorkspaceForOrganizationRequest,
|
|
11
|
+
RegisterSlackWorkspaceForOrganizationResult,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
ServiceInputTypes,
|
|
15
|
+
ServiceOutputTypes,
|
|
16
|
+
SupportAppClientResolvedConfig,
|
|
17
|
+
} from "../SupportAppClient";
|
|
18
|
+
export interface RegisterSlackWorkspaceForOrganizationCommandInput
|
|
19
|
+
extends RegisterSlackWorkspaceForOrganizationRequest {}
|
|
20
|
+
export interface RegisterSlackWorkspaceForOrganizationCommandOutput
|
|
21
|
+
extends RegisterSlackWorkspaceForOrganizationResult,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class RegisterSlackWorkspaceForOrganizationCommand extends $Command<
|
|
24
|
+
RegisterSlackWorkspaceForOrganizationCommandInput,
|
|
25
|
+
RegisterSlackWorkspaceForOrganizationCommandOutput,
|
|
26
|
+
SupportAppClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: RegisterSlackWorkspaceForOrganizationCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: RegisterSlackWorkspaceForOrganizationCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: SupportAppClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
RegisterSlackWorkspaceForOrganizationCommandInput,
|
|
37
|
+
RegisterSlackWorkspaceForOrganizationCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class UpdateSlackChannelConfigurationCommand extends $Command<
|
|
|
25
26
|
SupportAppClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: UpdateSlackChannelConfigurationCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: UpdateSlackChannelConfigurationCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -6,4 +6,5 @@ export * from "./GetAccountAliasCommand";
|
|
|
6
6
|
export * from "./ListSlackChannelConfigurationsCommand";
|
|
7
7
|
export * from "./ListSlackWorkspaceConfigurationsCommand";
|
|
8
8
|
export * from "./PutAccountAliasCommand";
|
|
9
|
+
export * from "./RegisterSlackWorkspaceForOrganizationCommand";
|
|
9
10
|
export * from "./UpdateSlackChannelConfigurationCommand";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
EndpointParameters as __EndpointParameters,
|
|
3
|
+
Provider,
|
|
4
|
+
} from "@aws-sdk/types";
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
region?: string | Provider<string>;
|
|
7
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
8
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
9
|
+
endpoint?: string | Provider<string>;
|
|
10
|
+
}
|
|
11
|
+
export declare type ClientResolvedEndpointParameters =
|
|
12
|
+
ClientInputEndpointParameters & {
|
|
13
|
+
defaultSigningName: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const resolveClientEndpointParameters: <T>(
|
|
16
|
+
options: T & ClientInputEndpointParameters
|
|
17
|
+
) => T &
|
|
18
|
+
ClientInputEndpointParameters & {
|
|
19
|
+
defaultSigningName: string;
|
|
20
|
+
};
|
|
21
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
22
|
+
Region: string;
|
|
23
|
+
UseDualStack?: boolean;
|
|
24
|
+
UseFIPS?: boolean;
|
|
25
|
+
Endpoint?: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EndpointV2, Logger } from "@aws-sdk/types";
|
|
2
|
+
import { EndpointParameters } from "../endpoint/EndpointParameters";
|
|
3
|
+
export declare const defaultEndpointResolver: (
|
|
4
|
+
endpointParams: EndpointParameters,
|
|
5
|
+
context?: {
|
|
6
|
+
logger?: Logger;
|
|
7
|
+
}
|
|
8
|
+
) => EndpointV2;
|
|
@@ -7,6 +7,10 @@ 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
14
|
export declare class ConflictException extends __BaseException {
|
|
11
15
|
readonly name: "ConflictException";
|
|
12
16
|
readonly $fault: "client";
|
|
@@ -93,6 +97,8 @@ export interface ListSlackWorkspaceConfigurationsRequest {
|
|
|
93
97
|
}
|
|
94
98
|
export interface SlackWorkspaceConfiguration {
|
|
95
99
|
teamId: string | undefined;
|
|
100
|
+
teamName?: string;
|
|
101
|
+
allowOrganizationMemberAccount?: boolean;
|
|
96
102
|
}
|
|
97
103
|
export interface ListSlackWorkspaceConfigurationsResult {
|
|
98
104
|
nextToken?: string;
|
|
@@ -102,6 +108,14 @@ export interface PutAccountAliasRequest {
|
|
|
102
108
|
accountAlias: string | undefined;
|
|
103
109
|
}
|
|
104
110
|
export interface PutAccountAliasResult {}
|
|
111
|
+
export interface RegisterSlackWorkspaceForOrganizationRequest {
|
|
112
|
+
teamId: string | undefined;
|
|
113
|
+
}
|
|
114
|
+
export interface RegisterSlackWorkspaceForOrganizationResult {
|
|
115
|
+
teamId?: string;
|
|
116
|
+
teamName?: string;
|
|
117
|
+
accountType?: AccountType | string;
|
|
118
|
+
}
|
|
105
119
|
export interface UpdateSlackChannelConfigurationRequest {
|
|
106
120
|
teamId: string | undefined;
|
|
107
121
|
channelId: string | undefined;
|
|
@@ -176,6 +190,12 @@ export declare const PutAccountAliasRequestFilterSensitiveLog: (
|
|
|
176
190
|
export declare const PutAccountAliasResultFilterSensitiveLog: (
|
|
177
191
|
obj: PutAccountAliasResult
|
|
178
192
|
) => any;
|
|
193
|
+
export declare const RegisterSlackWorkspaceForOrganizationRequestFilterSensitiveLog: (
|
|
194
|
+
obj: RegisterSlackWorkspaceForOrganizationRequest
|
|
195
|
+
) => any;
|
|
196
|
+
export declare const RegisterSlackWorkspaceForOrganizationResultFilterSensitiveLog: (
|
|
197
|
+
obj: RegisterSlackWorkspaceForOrganizationResult
|
|
198
|
+
) => any;
|
|
179
199
|
export declare const UpdateSlackChannelConfigurationRequestFilterSensitiveLog: (
|
|
180
200
|
obj: UpdateSlackChannelConfigurationRequest
|
|
181
201
|
) => any;
|
|
@@ -35,6 +35,10 @@ import {
|
|
|
35
35
|
PutAccountAliasCommandInput,
|
|
36
36
|
PutAccountAliasCommandOutput,
|
|
37
37
|
} from "../commands/PutAccountAliasCommand";
|
|
38
|
+
import {
|
|
39
|
+
RegisterSlackWorkspaceForOrganizationCommandInput,
|
|
40
|
+
RegisterSlackWorkspaceForOrganizationCommandOutput,
|
|
41
|
+
} from "../commands/RegisterSlackWorkspaceForOrganizationCommand";
|
|
38
42
|
import {
|
|
39
43
|
UpdateSlackChannelConfigurationCommandInput,
|
|
40
44
|
UpdateSlackChannelConfigurationCommandOutput,
|
|
@@ -71,6 +75,10 @@ export declare const serializeAws_restJson1PutAccountAliasCommand: (
|
|
|
71
75
|
input: PutAccountAliasCommandInput,
|
|
72
76
|
context: __SerdeContext
|
|
73
77
|
) => Promise<__HttpRequest>;
|
|
78
|
+
export declare const serializeAws_restJson1RegisterSlackWorkspaceForOrganizationCommand: (
|
|
79
|
+
input: RegisterSlackWorkspaceForOrganizationCommandInput,
|
|
80
|
+
context: __SerdeContext
|
|
81
|
+
) => Promise<__HttpRequest>;
|
|
74
82
|
export declare const serializeAws_restJson1UpdateSlackChannelConfigurationCommand: (
|
|
75
83
|
input: UpdateSlackChannelConfigurationCommandInput,
|
|
76
84
|
context: __SerdeContext
|
|
@@ -107,6 +115,10 @@ export declare const deserializeAws_restJson1PutAccountAliasCommand: (
|
|
|
107
115
|
output: __HttpResponse,
|
|
108
116
|
context: __SerdeContext
|
|
109
117
|
) => Promise<PutAccountAliasCommandOutput>;
|
|
118
|
+
export declare const deserializeAws_restJson1RegisterSlackWorkspaceForOrganizationCommand: (
|
|
119
|
+
output: __HttpResponse,
|
|
120
|
+
context: __SerdeContext
|
|
121
|
+
) => Promise<RegisterSlackWorkspaceForOrganizationCommandOutput>;
|
|
110
122
|
export declare const deserializeAws_restJson1UpdateSlackChannelConfigurationCommand: (
|
|
111
123
|
output: __HttpResponse,
|
|
112
124
|
context: __SerdeContext
|
|
@@ -36,12 +36,22 @@ export declare const getRuntimeConfig: (config: SupportAppClientConfig) => {
|
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
37
|
logger: import("@aws-sdk/types").Logger;
|
|
38
38
|
serviceId: string;
|
|
39
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
40
39
|
endpoint?:
|
|
41
|
-
|
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
| ((
|
|
41
|
+
| string
|
|
42
|
+
| import("@aws-sdk/types").Endpoint
|
|
43
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
44
|
+
| import("@aws-sdk/types").EndpointV2
|
|
45
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
|
|
46
|
+
) &
|
|
47
|
+
(string | import("@aws-sdk/types").Provider<string>))
|
|
44
48
|
| undefined;
|
|
49
|
+
endpointProvider: (
|
|
50
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
51
|
+
context?: {
|
|
52
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
53
|
+
}
|
|
54
|
+
) => import("@aws-sdk/types").EndpointV2;
|
|
45
55
|
tls?: boolean | undefined;
|
|
46
56
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
47
57
|
credentials?:
|
|
@@ -36,12 +36,22 @@ export declare const getRuntimeConfig: (config: SupportAppClientConfig) => {
|
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
37
|
logger: import("@aws-sdk/types").Logger;
|
|
38
38
|
serviceId: string;
|
|
39
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
40
39
|
endpoint?:
|
|
41
|
-
|
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
| ((
|
|
41
|
+
| string
|
|
42
|
+
| import("@aws-sdk/types").Endpoint
|
|
43
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
44
|
+
| import("@aws-sdk/types").EndpointV2
|
|
45
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
|
|
46
|
+
) &
|
|
47
|
+
(string | import("@aws-sdk/types").Provider<string>))
|
|
44
48
|
| undefined;
|
|
49
|
+
endpointProvider: (
|
|
50
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
51
|
+
context?: {
|
|
52
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
53
|
+
}
|
|
54
|
+
) => import("@aws-sdk/types").EndpointV2;
|
|
45
55
|
tls?: boolean | undefined;
|
|
46
56
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
47
57
|
credentials?:
|
|
@@ -29,7 +29,6 @@ export declare const getRuntimeConfig: (config: SupportAppClientConfig) => {
|
|
|
29
29
|
credentialDefaultProvider: (
|
|
30
30
|
input: any
|
|
31
31
|
) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
32
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
33
32
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
34
33
|
import("@aws-sdk/types").UserAgent
|
|
35
34
|
>;
|
|
@@ -40,9 +39,21 @@ export declare const getRuntimeConfig: (config: SupportAppClientConfig) => {
|
|
|
40
39
|
>;
|
|
41
40
|
endpoint?:
|
|
42
41
|
| string
|
|
43
|
-
| import("@aws-sdk/types").Endpoint
|
|
44
|
-
|
|
42
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
|
|
43
|
+
import("@aws-sdk/types").Provider<string>)
|
|
44
|
+
| (import("@aws-sdk/types").Endpoint &
|
|
45
|
+
import("@aws-sdk/types").Provider<string>)
|
|
46
|
+
| (import("@aws-sdk/types").EndpointV2 &
|
|
47
|
+
import("@aws-sdk/types").Provider<string>)
|
|
48
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
|
|
49
|
+
import("@aws-sdk/types").Provider<string>)
|
|
45
50
|
| undefined;
|
|
51
|
+
endpointProvider: (
|
|
52
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
53
|
+
context?: {
|
|
54
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
55
|
+
}
|
|
56
|
+
) => import("@aws-sdk/types").EndpointV2;
|
|
46
57
|
tls?: boolean | undefined;
|
|
47
58
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
48
59
|
credentials?:
|
|
@@ -3,8 +3,13 @@ import { SupportAppClientConfig } from "./SupportAppClient";
|
|
|
3
3
|
export declare const getRuntimeConfig: (config: SupportAppClientConfig) => {
|
|
4
4
|
apiVersion: string;
|
|
5
5
|
disableHostPrefix: boolean;
|
|
6
|
+
endpointProvider: (
|
|
7
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
8
|
+
context?: {
|
|
9
|
+
logger?: __Logger | undefined;
|
|
10
|
+
}
|
|
11
|
+
) => import("@aws-sdk/types").EndpointV2;
|
|
6
12
|
logger: __Logger;
|
|
7
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
8
13
|
serviceId: string;
|
|
9
14
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
10
15
|
};
|
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.192.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",
|
|
@@ -19,19 +19,20 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.192.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.190.0",
|
|
24
24
|
"@aws-sdk/credential-provider-node": "3.190.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.190.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.190.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.190.0",
|
|
28
28
|
"@aws-sdk/middleware-content-length": "3.190.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.190.0",
|
|
29
30
|
"@aws-sdk/middleware-host-header": "3.190.0",
|
|
30
31
|
"@aws-sdk/middleware-logger": "3.190.0",
|
|
31
32
|
"@aws-sdk/middleware-recursion-detection": "3.190.0",
|
|
32
33
|
"@aws-sdk/middleware-retry": "3.190.0",
|
|
33
34
|
"@aws-sdk/middleware-serde": "3.190.0",
|
|
34
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.192.0",
|
|
35
36
|
"@aws-sdk/middleware-stack": "3.190.0",
|
|
36
37
|
"@aws-sdk/middleware-user-agent": "3.190.0",
|
|
37
38
|
"@aws-sdk/node-config-provider": "3.190.0",
|