@aws-sdk/client-support-app 3.956.0 → 3.958.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/README.md +1 -16
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-cjs/index.js +156 -139
- package/dist-cjs/runtimeConfig.browser.js +1 -2
- package/dist-cjs/runtimeConfig.js +2 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +4 -6
- package/dist-es/schemas/schemas_0.js +155 -138
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
AWS SDK for JavaScript SupportApp Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
9
|
<fullname>Amazon Web Services Support App in Slack</fullname>
|
|
10
|
-
|
|
11
10
|
<p>You can use the Amazon Web Services Support App in Slack API to manage your support cases in Slack for your
|
|
12
11
|
Amazon Web Services account. After you configure your Slack workspace and channel with the Amazon Web Services Support App, you can
|
|
13
12
|
perform the following tasks directly in your Slack channel:</p>
|
|
@@ -63,10 +62,8 @@ Reference</i>.</p>
|
|
|
63
62
|
</note>
|
|
64
63
|
|
|
65
64
|
## Installing
|
|
66
|
-
|
|
67
65
|
To install this package, simply type add or install @aws-sdk/client-support-app
|
|
68
66
|
using your favorite package manager:
|
|
69
|
-
|
|
70
67
|
- `npm install @aws-sdk/client-support-app`
|
|
71
68
|
- `yarn add @aws-sdk/client-support-app`
|
|
72
69
|
- `pnpm add @aws-sdk/client-support-app`
|
|
@@ -102,9 +99,7 @@ To send a request, you:
|
|
|
102
99
|
// a client can be shared by different commands.
|
|
103
100
|
const client = new SupportAppClient({ region: "REGION" });
|
|
104
101
|
|
|
105
|
-
const params = {
|
|
106
|
-
/** input parameters */
|
|
107
|
-
};
|
|
102
|
+
const params = { /** input parameters */ };
|
|
108
103
|
const command = new ListSlackChannelConfigurationsCommand(params);
|
|
109
104
|
```
|
|
110
105
|
|
|
@@ -263,7 +258,6 @@ CreateSlackChannelConfiguration
|
|
|
263
258
|
</summary>
|
|
264
259
|
|
|
265
260
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/support-app/command/CreateSlackChannelConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support-app/Interface/CreateSlackChannelConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support-app/Interface/CreateSlackChannelConfigurationCommandOutput/)
|
|
266
|
-
|
|
267
261
|
</details>
|
|
268
262
|
<details>
|
|
269
263
|
<summary>
|
|
@@ -271,7 +265,6 @@ DeleteAccountAlias
|
|
|
271
265
|
</summary>
|
|
272
266
|
|
|
273
267
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/support-app/command/DeleteAccountAliasCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support-app/Interface/DeleteAccountAliasCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support-app/Interface/DeleteAccountAliasCommandOutput/)
|
|
274
|
-
|
|
275
268
|
</details>
|
|
276
269
|
<details>
|
|
277
270
|
<summary>
|
|
@@ -279,7 +272,6 @@ DeleteSlackChannelConfiguration
|
|
|
279
272
|
</summary>
|
|
280
273
|
|
|
281
274
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/support-app/command/DeleteSlackChannelConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support-app/Interface/DeleteSlackChannelConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support-app/Interface/DeleteSlackChannelConfigurationCommandOutput/)
|
|
282
|
-
|
|
283
275
|
</details>
|
|
284
276
|
<details>
|
|
285
277
|
<summary>
|
|
@@ -287,7 +279,6 @@ DeleteSlackWorkspaceConfiguration
|
|
|
287
279
|
</summary>
|
|
288
280
|
|
|
289
281
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/support-app/command/DeleteSlackWorkspaceConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support-app/Interface/DeleteSlackWorkspaceConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support-app/Interface/DeleteSlackWorkspaceConfigurationCommandOutput/)
|
|
290
|
-
|
|
291
282
|
</details>
|
|
292
283
|
<details>
|
|
293
284
|
<summary>
|
|
@@ -295,7 +286,6 @@ GetAccountAlias
|
|
|
295
286
|
</summary>
|
|
296
287
|
|
|
297
288
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/support-app/command/GetAccountAliasCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support-app/Interface/GetAccountAliasCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support-app/Interface/GetAccountAliasCommandOutput/)
|
|
298
|
-
|
|
299
289
|
</details>
|
|
300
290
|
<details>
|
|
301
291
|
<summary>
|
|
@@ -303,7 +293,6 @@ ListSlackChannelConfigurations
|
|
|
303
293
|
</summary>
|
|
304
294
|
|
|
305
295
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/support-app/command/ListSlackChannelConfigurationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support-app/Interface/ListSlackChannelConfigurationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support-app/Interface/ListSlackChannelConfigurationsCommandOutput/)
|
|
306
|
-
|
|
307
296
|
</details>
|
|
308
297
|
<details>
|
|
309
298
|
<summary>
|
|
@@ -311,7 +300,6 @@ ListSlackWorkspaceConfigurations
|
|
|
311
300
|
</summary>
|
|
312
301
|
|
|
313
302
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/support-app/command/ListSlackWorkspaceConfigurationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support-app/Interface/ListSlackWorkspaceConfigurationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support-app/Interface/ListSlackWorkspaceConfigurationsCommandOutput/)
|
|
314
|
-
|
|
315
303
|
</details>
|
|
316
304
|
<details>
|
|
317
305
|
<summary>
|
|
@@ -319,7 +307,6 @@ PutAccountAlias
|
|
|
319
307
|
</summary>
|
|
320
308
|
|
|
321
309
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/support-app/command/PutAccountAliasCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support-app/Interface/PutAccountAliasCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support-app/Interface/PutAccountAliasCommandOutput/)
|
|
322
|
-
|
|
323
310
|
</details>
|
|
324
311
|
<details>
|
|
325
312
|
<summary>
|
|
@@ -327,7 +314,6 @@ RegisterSlackWorkspaceForOrganization
|
|
|
327
314
|
</summary>
|
|
328
315
|
|
|
329
316
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/support-app/command/RegisterSlackWorkspaceForOrganizationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support-app/Interface/RegisterSlackWorkspaceForOrganizationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support-app/Interface/RegisterSlackWorkspaceForOrganizationCommandOutput/)
|
|
330
|
-
|
|
331
317
|
</details>
|
|
332
318
|
<details>
|
|
333
319
|
<summary>
|
|
@@ -335,5 +321,4 @@ UpdateSlackChannelConfiguration
|
|
|
335
321
|
</summary>
|
|
336
322
|
|
|
337
323
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/support-app/command/UpdateSlackChannelConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support-app/Interface/UpdateSlackChannelConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-support-app/Interface/UpdateSlackChannelConfigurationCommandOutput/)
|
|
338
|
-
|
|
339
324
|
</details>
|
|
@@ -6,10 +6,9 @@ const util_middleware_1 = require("@smithy/util-middleware");
|
|
|
6
6
|
const defaultSupportAppHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
8
|
operation: (0, util_middleware_1.getSmithyContext)(context).operation,
|
|
9
|
-
region:
|
|
10
|
-
(
|
|
11
|
-
|
|
12
|
-
})(),
|
|
9
|
+
region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
|
|
10
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
|
+
})(),
|
|
13
12
|
};
|
|
14
13
|
};
|
|
15
14
|
exports.defaultSupportAppHttpAuthSchemeParametersProvider = defaultSupportAppHttpAuthSchemeParametersProvider;
|
package/dist-cjs/index.js
CHANGED
|
@@ -253,172 +253,189 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.supportapp";
|
|
|
253
253
|
const _tI = "teamId";
|
|
254
254
|
const _tN = "teamName";
|
|
255
255
|
const n0 = "com.amazonaws.supportapp";
|
|
256
|
-
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
256
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
257
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
258
|
+
[_m],
|
|
259
|
+
[0]
|
|
260
|
+
];
|
|
257
261
|
schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
258
|
-
var ConflictException$ = [-3, n0, _CE,
|
|
262
|
+
var ConflictException$ = [-3, n0, _CE,
|
|
263
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
264
|
+
[_m],
|
|
265
|
+
[0]
|
|
266
|
+
];
|
|
259
267
|
schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
260
|
-
var CreateSlackChannelConfigurationRequest$ = [
|
|
261
|
-
3,
|
|
262
|
-
n0,
|
|
263
|
-
_CSCCR,
|
|
268
|
+
var CreateSlackChannelConfigurationRequest$ = [3, n0, _CSCCR,
|
|
264
269
|
0,
|
|
265
270
|
[_tI, _cI, _cN, _nOCORC, _nOACTC, _nORC, _nOCS, _cRA],
|
|
266
|
-
[0, 0, 0, 2, 2, 2, 0, 0]
|
|
267
|
-
];
|
|
268
|
-
var CreateSlackChannelConfigurationResult$ = [3, n0, _CSCCRr,
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
var
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
271
|
+
[0, 0, 0, 2, 2, 2, 0, 0]
|
|
272
|
+
];
|
|
273
|
+
var CreateSlackChannelConfigurationResult$ = [3, n0, _CSCCRr,
|
|
274
|
+
0,
|
|
275
|
+
[],
|
|
276
|
+
[]
|
|
277
|
+
];
|
|
278
|
+
var DeleteAccountAliasRequest$ = [3, n0, _DAAR,
|
|
279
|
+
0,
|
|
280
|
+
[],
|
|
281
|
+
[]
|
|
282
|
+
];
|
|
283
|
+
var DeleteAccountAliasResult$ = [3, n0, _DAARe,
|
|
284
|
+
0,
|
|
285
|
+
[],
|
|
286
|
+
[]
|
|
287
|
+
];
|
|
288
|
+
var DeleteSlackChannelConfigurationRequest$ = [3, n0, _DSCCR,
|
|
289
|
+
0,
|
|
290
|
+
[_tI, _cI],
|
|
291
|
+
[0, 0]
|
|
292
|
+
];
|
|
293
|
+
var DeleteSlackChannelConfigurationResult$ = [3, n0, _DSCCRe,
|
|
294
|
+
0,
|
|
295
|
+
[],
|
|
296
|
+
[]
|
|
297
|
+
];
|
|
298
|
+
var DeleteSlackWorkspaceConfigurationRequest$ = [3, n0, _DSWCR,
|
|
299
|
+
0,
|
|
300
|
+
[_tI],
|
|
301
|
+
[0]
|
|
302
|
+
];
|
|
303
|
+
var DeleteSlackWorkspaceConfigurationResult$ = [3, n0, _DSWCRe,
|
|
304
|
+
0,
|
|
305
|
+
[],
|
|
306
|
+
[]
|
|
307
|
+
];
|
|
308
|
+
var GetAccountAliasRequest$ = [3, n0, _GAAR,
|
|
309
|
+
0,
|
|
310
|
+
[],
|
|
311
|
+
[]
|
|
312
|
+
];
|
|
313
|
+
var GetAccountAliasResult$ = [3, n0, _GAARe,
|
|
314
|
+
0,
|
|
315
|
+
[_aA],
|
|
316
|
+
[0]
|
|
317
|
+
];
|
|
318
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
319
|
+
{ [_e]: _s, [_hE]: 500 },
|
|
320
|
+
[_m],
|
|
321
|
+
[0]
|
|
322
|
+
];
|
|
278
323
|
schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
279
|
-
var ListSlackChannelConfigurationsRequest$ = [3, n0, _LSCCR,
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
324
|
+
var ListSlackChannelConfigurationsRequest$ = [3, n0, _LSCCR,
|
|
325
|
+
0,
|
|
326
|
+
[_nT],
|
|
327
|
+
[0]
|
|
328
|
+
];
|
|
329
|
+
var ListSlackChannelConfigurationsResult$ = [3, n0, _LSCCRi,
|
|
284
330
|
0,
|
|
285
331
|
[_nT, _sCC],
|
|
286
|
-
[0, () => slackChannelConfigurationList]
|
|
332
|
+
[0, () => slackChannelConfigurationList]
|
|
287
333
|
];
|
|
288
|
-
var ListSlackWorkspaceConfigurationsRequest$ = [3, n0, _LSWCR,
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
334
|
+
var ListSlackWorkspaceConfigurationsRequest$ = [3, n0, _LSWCR,
|
|
335
|
+
0,
|
|
336
|
+
[_nT],
|
|
337
|
+
[0]
|
|
338
|
+
];
|
|
339
|
+
var ListSlackWorkspaceConfigurationsResult$ = [3, n0, _LSWCRi,
|
|
293
340
|
0,
|
|
294
341
|
[_nT, _sWC],
|
|
295
|
-
[0, () => SlackWorkspaceConfigurationList]
|
|
296
|
-
];
|
|
297
|
-
var PutAccountAliasRequest$ = [3, n0, _PAAR,
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
342
|
+
[0, () => SlackWorkspaceConfigurationList]
|
|
343
|
+
];
|
|
344
|
+
var PutAccountAliasRequest$ = [3, n0, _PAAR,
|
|
345
|
+
0,
|
|
346
|
+
[_aA],
|
|
347
|
+
[0]
|
|
348
|
+
];
|
|
349
|
+
var PutAccountAliasResult$ = [3, n0, _PAARu,
|
|
350
|
+
0,
|
|
351
|
+
[],
|
|
352
|
+
[]
|
|
353
|
+
];
|
|
354
|
+
var RegisterSlackWorkspaceForOrganizationRequest$ = [3, n0, _RSWFOR,
|
|
355
|
+
0,
|
|
356
|
+
[_tI],
|
|
357
|
+
[0]
|
|
358
|
+
];
|
|
359
|
+
var RegisterSlackWorkspaceForOrganizationResult$ = [3, n0, _RSWFORe,
|
|
304
360
|
0,
|
|
305
361
|
[_tI, _tN, _aT],
|
|
306
|
-
[0, 0, 0]
|
|
362
|
+
[0, 0, 0]
|
|
363
|
+
];
|
|
364
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
365
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
366
|
+
[_m],
|
|
367
|
+
[0]
|
|
307
368
|
];
|
|
308
|
-
var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
309
369
|
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
310
|
-
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
370
|
+
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
371
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
372
|
+
[_m],
|
|
373
|
+
[0]
|
|
374
|
+
];
|
|
311
375
|
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
312
|
-
var SlackChannelConfiguration$ = [
|
|
313
|
-
3,
|
|
314
|
-
n0,
|
|
315
|
-
_SCC,
|
|
376
|
+
var SlackChannelConfiguration$ = [3, n0, _SCC,
|
|
316
377
|
0,
|
|
317
378
|
[_tI, _cI, _cN, _nOCORC, _nOACTC, _nORC, _nOCS, _cRA],
|
|
318
|
-
[0, 0, 0, 2, 2, 2, 0, 0]
|
|
379
|
+
[0, 0, 0, 2, 2, 2, 0, 0]
|
|
380
|
+
];
|
|
381
|
+
var SlackWorkspaceConfiguration$ = [3, n0, _SWC,
|
|
382
|
+
0,
|
|
383
|
+
[_tI, _tN, _aOMA],
|
|
384
|
+
[0, 0, 2]
|
|
319
385
|
];
|
|
320
|
-
var
|
|
321
|
-
var UpdateSlackChannelConfigurationRequest$ = [
|
|
322
|
-
3,
|
|
323
|
-
n0,
|
|
324
|
-
_USCCR,
|
|
386
|
+
var UpdateSlackChannelConfigurationRequest$ = [3, n0, _USCCR,
|
|
325
387
|
0,
|
|
326
388
|
[_tI, _cI, _cN, _nOCORC, _nOACTC, _nORC, _nOCS, _cRA],
|
|
327
|
-
[0, 0, 0, 2, 2, 2, 0, 0]
|
|
389
|
+
[0, 0, 0, 2, 2, 2, 0, 0]
|
|
328
390
|
];
|
|
329
|
-
var UpdateSlackChannelConfigurationResult$ = [
|
|
330
|
-
3,
|
|
331
|
-
n0,
|
|
332
|
-
_USCCRp,
|
|
391
|
+
var UpdateSlackChannelConfigurationResult$ = [3, n0, _USCCRp,
|
|
333
392
|
0,
|
|
334
393
|
[_tI, _cI, _cN, _nOCORC, _nOACTC, _nORC, _nOCS, _cRA],
|
|
335
|
-
[0, 0, 0, 2, 2, 2, 0, 0]
|
|
394
|
+
[0, 0, 0, 2, 2, 2, 0, 0]
|
|
395
|
+
];
|
|
396
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
397
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
398
|
+
[_m],
|
|
399
|
+
[0]
|
|
336
400
|
];
|
|
337
|
-
var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
338
401
|
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
339
402
|
var SupportAppServiceException$ = [-3, _sm, "SupportAppServiceException", 0, [], []];
|
|
340
403
|
schema.TypeRegistry.for(_sm).registerError(SupportAppServiceException$, SupportAppServiceException);
|
|
341
|
-
var slackChannelConfigurationList = [1, n0, _sCCL,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
() => CreateSlackChannelConfigurationRequest$,
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
() =>
|
|
358
|
-
];
|
|
359
|
-
var
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
{ [_h]: ["POST", "/control/
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
]
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
() =>
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
9,
|
|
377
|
-
n0,
|
|
378
|
-
_GAA,
|
|
379
|
-
{ [_h]: ["POST", "/control/get-account-alias", 200] },
|
|
380
|
-
() => GetAccountAliasRequest$,
|
|
381
|
-
() => GetAccountAliasResult$,
|
|
382
|
-
];
|
|
383
|
-
var ListSlackChannelConfigurations$ = [
|
|
384
|
-
9,
|
|
385
|
-
n0,
|
|
386
|
-
_LSCC,
|
|
387
|
-
{ [_h]: ["POST", "/control/list-slack-channel-configurations", 200] },
|
|
388
|
-
() => ListSlackChannelConfigurationsRequest$,
|
|
389
|
-
() => ListSlackChannelConfigurationsResult$,
|
|
390
|
-
];
|
|
391
|
-
var ListSlackWorkspaceConfigurations$ = [
|
|
392
|
-
9,
|
|
393
|
-
n0,
|
|
394
|
-
_LSWC,
|
|
395
|
-
{ [_h]: ["POST", "/control/list-slack-workspace-configurations", 200] },
|
|
396
|
-
() => ListSlackWorkspaceConfigurationsRequest$,
|
|
397
|
-
() => ListSlackWorkspaceConfigurationsResult$,
|
|
398
|
-
];
|
|
399
|
-
var PutAccountAlias$ = [
|
|
400
|
-
9,
|
|
401
|
-
n0,
|
|
402
|
-
_PAA,
|
|
403
|
-
{ [_h]: ["POST", "/control/put-account-alias", 200] },
|
|
404
|
-
() => PutAccountAliasRequest$,
|
|
405
|
-
() => PutAccountAliasResult$,
|
|
406
|
-
];
|
|
407
|
-
var RegisterSlackWorkspaceForOrganization$ = [
|
|
408
|
-
9,
|
|
409
|
-
n0,
|
|
410
|
-
_RSWFO,
|
|
411
|
-
{ [_h]: ["POST", "/control/register-slack-workspace-for-organization", 200] },
|
|
412
|
-
() => RegisterSlackWorkspaceForOrganizationRequest$,
|
|
413
|
-
() => RegisterSlackWorkspaceForOrganizationResult$,
|
|
414
|
-
];
|
|
415
|
-
var UpdateSlackChannelConfiguration$ = [
|
|
416
|
-
9,
|
|
417
|
-
n0,
|
|
418
|
-
_USCC,
|
|
419
|
-
{ [_h]: ["POST", "/control/update-slack-channel-configuration", 200] },
|
|
420
|
-
() => UpdateSlackChannelConfigurationRequest$,
|
|
421
|
-
() => UpdateSlackChannelConfigurationResult$,
|
|
404
|
+
var slackChannelConfigurationList = [1, n0, _sCCL,
|
|
405
|
+
0, () => SlackChannelConfiguration$
|
|
406
|
+
];
|
|
407
|
+
var SlackWorkspaceConfigurationList = [1, n0, _SWCL,
|
|
408
|
+
0, () => SlackWorkspaceConfiguration$
|
|
409
|
+
];
|
|
410
|
+
var CreateSlackChannelConfiguration$ = [9, n0, _CSCC,
|
|
411
|
+
{ [_h]: ["POST", "/control/create-slack-channel-configuration", 200] }, () => CreateSlackChannelConfigurationRequest$, () => CreateSlackChannelConfigurationResult$
|
|
412
|
+
];
|
|
413
|
+
var DeleteAccountAlias$ = [9, n0, _DAA,
|
|
414
|
+
{ [_h]: ["POST", "/control/delete-account-alias", 200] }, () => DeleteAccountAliasRequest$, () => DeleteAccountAliasResult$
|
|
415
|
+
];
|
|
416
|
+
var DeleteSlackChannelConfiguration$ = [9, n0, _DSCC,
|
|
417
|
+
{ [_h]: ["POST", "/control/delete-slack-channel-configuration", 200] }, () => DeleteSlackChannelConfigurationRequest$, () => DeleteSlackChannelConfigurationResult$
|
|
418
|
+
];
|
|
419
|
+
var DeleteSlackWorkspaceConfiguration$ = [9, n0, _DSWC,
|
|
420
|
+
{ [_h]: ["POST", "/control/delete-slack-workspace-configuration", 200] }, () => DeleteSlackWorkspaceConfigurationRequest$, () => DeleteSlackWorkspaceConfigurationResult$
|
|
421
|
+
];
|
|
422
|
+
var GetAccountAlias$ = [9, n0, _GAA,
|
|
423
|
+
{ [_h]: ["POST", "/control/get-account-alias", 200] }, () => GetAccountAliasRequest$, () => GetAccountAliasResult$
|
|
424
|
+
];
|
|
425
|
+
var ListSlackChannelConfigurations$ = [9, n0, _LSCC,
|
|
426
|
+
{ [_h]: ["POST", "/control/list-slack-channel-configurations", 200] }, () => ListSlackChannelConfigurationsRequest$, () => ListSlackChannelConfigurationsResult$
|
|
427
|
+
];
|
|
428
|
+
var ListSlackWorkspaceConfigurations$ = [9, n0, _LSWC,
|
|
429
|
+
{ [_h]: ["POST", "/control/list-slack-workspace-configurations", 200] }, () => ListSlackWorkspaceConfigurationsRequest$, () => ListSlackWorkspaceConfigurationsResult$
|
|
430
|
+
];
|
|
431
|
+
var PutAccountAlias$ = [9, n0, _PAA,
|
|
432
|
+
{ [_h]: ["POST", "/control/put-account-alias", 200] }, () => PutAccountAliasRequest$, () => PutAccountAliasResult$
|
|
433
|
+
];
|
|
434
|
+
var RegisterSlackWorkspaceForOrganization$ = [9, n0, _RSWFO,
|
|
435
|
+
{ [_h]: ["POST", "/control/register-slack-workspace-for-organization", 200] }, () => RegisterSlackWorkspaceForOrganizationRequest$, () => RegisterSlackWorkspaceForOrganizationResult$
|
|
436
|
+
];
|
|
437
|
+
var UpdateSlackChannelConfiguration$ = [9, n0, _USCC,
|
|
438
|
+
{ [_h]: ["POST", "/control/update-slack-channel-configuration", 200] }, () => UpdateSlackChannelConfigurationRequest$, () => UpdateSlackChannelConfigurationResult$
|
|
422
439
|
];
|
|
423
440
|
|
|
424
441
|
class CreateSlackChannelConfigurationCommand extends smithyClient.Command
|
|
@@ -24,8 +24,7 @@ const getRuntimeConfig = (config) => {
|
|
|
24
24
|
defaultsMode,
|
|
25
25
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
26
26
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
28
|
-
(0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
27
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
29
28
|
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
30
29
|
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
31
30
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -34,11 +34,9 @@ const getRuntimeConfig = (config) => {
|
|
|
34
34
|
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
35
35
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
36
36
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
37
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
38
|
-
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
37
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
39
38
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
40
|
-
region: config?.region ??
|
|
41
|
-
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
39
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
42
40
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
43
41
|
retryMode: config?.retryMode ??
|
|
44
42
|
(0, node_config_provider_1.loadConfig)({
|
|
@@ -3,10 +3,9 @@ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
|
|
|
3
3
|
export const defaultSupportAppHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
|
5
5
|
operation: getSmithyContext(context).operation,
|
|
6
|
-
region:
|
|
7
|
-
(
|
|
8
|
-
|
|
9
|
-
})(),
|
|
6
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
7
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
8
|
+
})(),
|
|
10
9
|
};
|
|
11
10
|
};
|
|
12
11
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
@@ -20,8 +20,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
20
20
|
defaultsMode,
|
|
21
21
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
22
22
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
23
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
24
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
23
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
25
24
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
26
25
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
27
26
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import {
|
|
2
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core";
|
|
3
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
|
-
import {
|
|
4
|
+
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
5
5
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
6
|
import { Hash } from "@smithy/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
@@ -30,11 +30,9 @@ export const getRuntimeConfig = (config) => {
|
|
|
30
30
|
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
31
31
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
32
32
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
33
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
33
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
35
34
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
36
|
-
region: config?.region ??
|
|
37
|
-
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
35
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
38
36
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
39
37
|
retryMode: config?.retryMode ??
|
|
40
38
|
loadNodeConfig({
|
|
@@ -64,170 +64,187 @@ const n0 = "com.amazonaws.supportapp";
|
|
|
64
64
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
65
65
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, } from "../models/errors";
|
|
66
66
|
import { SupportAppServiceException } from "../models/SupportAppServiceException";
|
|
67
|
-
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
67
|
+
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
68
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
69
|
+
[_m],
|
|
70
|
+
[0]
|
|
71
|
+
];
|
|
68
72
|
TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
69
|
-
export var ConflictException$ = [-3, n0, _CE,
|
|
73
|
+
export var ConflictException$ = [-3, n0, _CE,
|
|
74
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
75
|
+
[_m],
|
|
76
|
+
[0]
|
|
77
|
+
];
|
|
70
78
|
TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
71
|
-
export var CreateSlackChannelConfigurationRequest$ = [
|
|
72
|
-
3,
|
|
73
|
-
n0,
|
|
74
|
-
_CSCCR,
|
|
79
|
+
export var CreateSlackChannelConfigurationRequest$ = [3, n0, _CSCCR,
|
|
75
80
|
0,
|
|
76
81
|
[_tI, _cI, _cN, _nOCORC, _nOACTC, _nORC, _nOCS, _cRA],
|
|
77
|
-
[0, 0, 0, 2, 2, 2, 0, 0]
|
|
78
|
-
];
|
|
79
|
-
export var CreateSlackChannelConfigurationResult$ = [3, n0, _CSCCRr,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
export var
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
82
|
+
[0, 0, 0, 2, 2, 2, 0, 0]
|
|
83
|
+
];
|
|
84
|
+
export var CreateSlackChannelConfigurationResult$ = [3, n0, _CSCCRr,
|
|
85
|
+
0,
|
|
86
|
+
[],
|
|
87
|
+
[]
|
|
88
|
+
];
|
|
89
|
+
export var DeleteAccountAliasRequest$ = [3, n0, _DAAR,
|
|
90
|
+
0,
|
|
91
|
+
[],
|
|
92
|
+
[]
|
|
93
|
+
];
|
|
94
|
+
export var DeleteAccountAliasResult$ = [3, n0, _DAARe,
|
|
95
|
+
0,
|
|
96
|
+
[],
|
|
97
|
+
[]
|
|
98
|
+
];
|
|
99
|
+
export var DeleteSlackChannelConfigurationRequest$ = [3, n0, _DSCCR,
|
|
100
|
+
0,
|
|
101
|
+
[_tI, _cI],
|
|
102
|
+
[0, 0]
|
|
103
|
+
];
|
|
104
|
+
export var DeleteSlackChannelConfigurationResult$ = [3, n0, _DSCCRe,
|
|
105
|
+
0,
|
|
106
|
+
[],
|
|
107
|
+
[]
|
|
108
|
+
];
|
|
109
|
+
export var DeleteSlackWorkspaceConfigurationRequest$ = [3, n0, _DSWCR,
|
|
110
|
+
0,
|
|
111
|
+
[_tI],
|
|
112
|
+
[0]
|
|
113
|
+
];
|
|
114
|
+
export var DeleteSlackWorkspaceConfigurationResult$ = [3, n0, _DSWCRe,
|
|
115
|
+
0,
|
|
116
|
+
[],
|
|
117
|
+
[]
|
|
118
|
+
];
|
|
119
|
+
export var GetAccountAliasRequest$ = [3, n0, _GAAR,
|
|
120
|
+
0,
|
|
121
|
+
[],
|
|
122
|
+
[]
|
|
123
|
+
];
|
|
124
|
+
export var GetAccountAliasResult$ = [3, n0, _GAARe,
|
|
125
|
+
0,
|
|
126
|
+
[_aA],
|
|
127
|
+
[0]
|
|
128
|
+
];
|
|
129
|
+
export var InternalServerException$ = [-3, n0, _ISE,
|
|
130
|
+
{ [_e]: _s, [_hE]: 500 },
|
|
131
|
+
[_m],
|
|
132
|
+
[0]
|
|
133
|
+
];
|
|
89
134
|
TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
90
|
-
export var ListSlackChannelConfigurationsRequest$ = [3, n0, _LSCCR,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
135
|
+
export var ListSlackChannelConfigurationsRequest$ = [3, n0, _LSCCR,
|
|
136
|
+
0,
|
|
137
|
+
[_nT],
|
|
138
|
+
[0]
|
|
139
|
+
];
|
|
140
|
+
export var ListSlackChannelConfigurationsResult$ = [3, n0, _LSCCRi,
|
|
95
141
|
0,
|
|
96
142
|
[_nT, _sCC],
|
|
97
|
-
[0, () => slackChannelConfigurationList]
|
|
143
|
+
[0, () => slackChannelConfigurationList]
|
|
98
144
|
];
|
|
99
|
-
export var ListSlackWorkspaceConfigurationsRequest$ = [3, n0, _LSWCR,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
145
|
+
export var ListSlackWorkspaceConfigurationsRequest$ = [3, n0, _LSWCR,
|
|
146
|
+
0,
|
|
147
|
+
[_nT],
|
|
148
|
+
[0]
|
|
149
|
+
];
|
|
150
|
+
export var ListSlackWorkspaceConfigurationsResult$ = [3, n0, _LSWCRi,
|
|
104
151
|
0,
|
|
105
152
|
[_nT, _sWC],
|
|
106
|
-
[0, () => SlackWorkspaceConfigurationList]
|
|
153
|
+
[0, () => SlackWorkspaceConfigurationList]
|
|
154
|
+
];
|
|
155
|
+
export var PutAccountAliasRequest$ = [3, n0, _PAAR,
|
|
156
|
+
0,
|
|
157
|
+
[_aA],
|
|
158
|
+
[0]
|
|
159
|
+
];
|
|
160
|
+
export var PutAccountAliasResult$ = [3, n0, _PAARu,
|
|
161
|
+
0,
|
|
162
|
+
[],
|
|
163
|
+
[]
|
|
107
164
|
];
|
|
108
|
-
export var
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
_RSWFORe,
|
|
165
|
+
export var RegisterSlackWorkspaceForOrganizationRequest$ = [3, n0, _RSWFOR,
|
|
166
|
+
0,
|
|
167
|
+
[_tI],
|
|
168
|
+
[0]
|
|
169
|
+
];
|
|
170
|
+
export var RegisterSlackWorkspaceForOrganizationResult$ = [3, n0, _RSWFORe,
|
|
115
171
|
0,
|
|
116
172
|
[_tI, _tN, _aT],
|
|
117
|
-
[0, 0, 0]
|
|
173
|
+
[0, 0, 0]
|
|
174
|
+
];
|
|
175
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
176
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
177
|
+
[_m],
|
|
178
|
+
[0]
|
|
118
179
|
];
|
|
119
|
-
export var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
120
180
|
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
121
|
-
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
181
|
+
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
182
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
183
|
+
[_m],
|
|
184
|
+
[0]
|
|
185
|
+
];
|
|
122
186
|
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
123
|
-
export var SlackChannelConfiguration$ = [
|
|
124
|
-
3,
|
|
125
|
-
n0,
|
|
126
|
-
_SCC,
|
|
187
|
+
export var SlackChannelConfiguration$ = [3, n0, _SCC,
|
|
127
188
|
0,
|
|
128
189
|
[_tI, _cI, _cN, _nOCORC, _nOACTC, _nORC, _nOCS, _cRA],
|
|
129
|
-
[0, 0, 0, 2, 2, 2, 0, 0]
|
|
190
|
+
[0, 0, 0, 2, 2, 2, 0, 0]
|
|
191
|
+
];
|
|
192
|
+
export var SlackWorkspaceConfiguration$ = [3, n0, _SWC,
|
|
193
|
+
0,
|
|
194
|
+
[_tI, _tN, _aOMA],
|
|
195
|
+
[0, 0, 2]
|
|
130
196
|
];
|
|
131
|
-
export var
|
|
132
|
-
export var UpdateSlackChannelConfigurationRequest$ = [
|
|
133
|
-
3,
|
|
134
|
-
n0,
|
|
135
|
-
_USCCR,
|
|
197
|
+
export var UpdateSlackChannelConfigurationRequest$ = [3, n0, _USCCR,
|
|
136
198
|
0,
|
|
137
199
|
[_tI, _cI, _cN, _nOCORC, _nOACTC, _nORC, _nOCS, _cRA],
|
|
138
|
-
[0, 0, 0, 2, 2, 2, 0, 0]
|
|
200
|
+
[0, 0, 0, 2, 2, 2, 0, 0]
|
|
139
201
|
];
|
|
140
|
-
export var UpdateSlackChannelConfigurationResult$ = [
|
|
141
|
-
3,
|
|
142
|
-
n0,
|
|
143
|
-
_USCCRp,
|
|
202
|
+
export var UpdateSlackChannelConfigurationResult$ = [3, n0, _USCCRp,
|
|
144
203
|
0,
|
|
145
204
|
[_tI, _cI, _cN, _nOCORC, _nOACTC, _nORC, _nOCS, _cRA],
|
|
146
|
-
[0, 0, 0, 2, 2, 2, 0, 0]
|
|
205
|
+
[0, 0, 0, 2, 2, 2, 0, 0]
|
|
206
|
+
];
|
|
207
|
+
export var ValidationException$ = [-3, n0, _VE,
|
|
208
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
209
|
+
[_m],
|
|
210
|
+
[0]
|
|
147
211
|
];
|
|
148
|
-
export var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
149
212
|
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
150
213
|
export var SupportAppServiceException$ = [-3, _sm, "SupportAppServiceException", 0, [], []];
|
|
151
214
|
TypeRegistry.for(_sm).registerError(SupportAppServiceException$, SupportAppServiceException);
|
|
152
|
-
var slackChannelConfigurationList = [1, n0, _sCCL,
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
() => CreateSlackChannelConfigurationRequest$,
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
() =>
|
|
169
|
-
];
|
|
170
|
-
export var
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
{ [_h]: ["POST", "/control/
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
]
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
() =>
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
9,
|
|
188
|
-
n0,
|
|
189
|
-
_GAA,
|
|
190
|
-
{ [_h]: ["POST", "/control/get-account-alias", 200] },
|
|
191
|
-
() => GetAccountAliasRequest$,
|
|
192
|
-
() => GetAccountAliasResult$,
|
|
193
|
-
];
|
|
194
|
-
export var ListSlackChannelConfigurations$ = [
|
|
195
|
-
9,
|
|
196
|
-
n0,
|
|
197
|
-
_LSCC,
|
|
198
|
-
{ [_h]: ["POST", "/control/list-slack-channel-configurations", 200] },
|
|
199
|
-
() => ListSlackChannelConfigurationsRequest$,
|
|
200
|
-
() => ListSlackChannelConfigurationsResult$,
|
|
201
|
-
];
|
|
202
|
-
export var ListSlackWorkspaceConfigurations$ = [
|
|
203
|
-
9,
|
|
204
|
-
n0,
|
|
205
|
-
_LSWC,
|
|
206
|
-
{ [_h]: ["POST", "/control/list-slack-workspace-configurations", 200] },
|
|
207
|
-
() => ListSlackWorkspaceConfigurationsRequest$,
|
|
208
|
-
() => ListSlackWorkspaceConfigurationsResult$,
|
|
209
|
-
];
|
|
210
|
-
export var PutAccountAlias$ = [
|
|
211
|
-
9,
|
|
212
|
-
n0,
|
|
213
|
-
_PAA,
|
|
214
|
-
{ [_h]: ["POST", "/control/put-account-alias", 200] },
|
|
215
|
-
() => PutAccountAliasRequest$,
|
|
216
|
-
() => PutAccountAliasResult$,
|
|
217
|
-
];
|
|
218
|
-
export var RegisterSlackWorkspaceForOrganization$ = [
|
|
219
|
-
9,
|
|
220
|
-
n0,
|
|
221
|
-
_RSWFO,
|
|
222
|
-
{ [_h]: ["POST", "/control/register-slack-workspace-for-organization", 200] },
|
|
223
|
-
() => RegisterSlackWorkspaceForOrganizationRequest$,
|
|
224
|
-
() => RegisterSlackWorkspaceForOrganizationResult$,
|
|
225
|
-
];
|
|
226
|
-
export var UpdateSlackChannelConfiguration$ = [
|
|
227
|
-
9,
|
|
228
|
-
n0,
|
|
229
|
-
_USCC,
|
|
230
|
-
{ [_h]: ["POST", "/control/update-slack-channel-configuration", 200] },
|
|
231
|
-
() => UpdateSlackChannelConfigurationRequest$,
|
|
232
|
-
() => UpdateSlackChannelConfigurationResult$,
|
|
215
|
+
var slackChannelConfigurationList = [1, n0, _sCCL,
|
|
216
|
+
0, () => SlackChannelConfiguration$
|
|
217
|
+
];
|
|
218
|
+
var SlackWorkspaceConfigurationList = [1, n0, _SWCL,
|
|
219
|
+
0, () => SlackWorkspaceConfiguration$
|
|
220
|
+
];
|
|
221
|
+
export var CreateSlackChannelConfiguration$ = [9, n0, _CSCC,
|
|
222
|
+
{ [_h]: ["POST", "/control/create-slack-channel-configuration", 200] }, () => CreateSlackChannelConfigurationRequest$, () => CreateSlackChannelConfigurationResult$
|
|
223
|
+
];
|
|
224
|
+
export var DeleteAccountAlias$ = [9, n0, _DAA,
|
|
225
|
+
{ [_h]: ["POST", "/control/delete-account-alias", 200] }, () => DeleteAccountAliasRequest$, () => DeleteAccountAliasResult$
|
|
226
|
+
];
|
|
227
|
+
export var DeleteSlackChannelConfiguration$ = [9, n0, _DSCC,
|
|
228
|
+
{ [_h]: ["POST", "/control/delete-slack-channel-configuration", 200] }, () => DeleteSlackChannelConfigurationRequest$, () => DeleteSlackChannelConfigurationResult$
|
|
229
|
+
];
|
|
230
|
+
export var DeleteSlackWorkspaceConfiguration$ = [9, n0, _DSWC,
|
|
231
|
+
{ [_h]: ["POST", "/control/delete-slack-workspace-configuration", 200] }, () => DeleteSlackWorkspaceConfigurationRequest$, () => DeleteSlackWorkspaceConfigurationResult$
|
|
232
|
+
];
|
|
233
|
+
export var GetAccountAlias$ = [9, n0, _GAA,
|
|
234
|
+
{ [_h]: ["POST", "/control/get-account-alias", 200] }, () => GetAccountAliasRequest$, () => GetAccountAliasResult$
|
|
235
|
+
];
|
|
236
|
+
export var ListSlackChannelConfigurations$ = [9, n0, _LSCC,
|
|
237
|
+
{ [_h]: ["POST", "/control/list-slack-channel-configurations", 200] }, () => ListSlackChannelConfigurationsRequest$, () => ListSlackChannelConfigurationsResult$
|
|
238
|
+
];
|
|
239
|
+
export var ListSlackWorkspaceConfigurations$ = [9, n0, _LSWC,
|
|
240
|
+
{ [_h]: ["POST", "/control/list-slack-workspace-configurations", 200] }, () => ListSlackWorkspaceConfigurationsRequest$, () => ListSlackWorkspaceConfigurationsResult$
|
|
241
|
+
];
|
|
242
|
+
export var PutAccountAlias$ = [9, n0, _PAA,
|
|
243
|
+
{ [_h]: ["POST", "/control/put-account-alias", 200] }, () => PutAccountAliasRequest$, () => PutAccountAliasResult$
|
|
244
|
+
];
|
|
245
|
+
export var RegisterSlackWorkspaceForOrganization$ = [9, n0, _RSWFO,
|
|
246
|
+
{ [_h]: ["POST", "/control/register-slack-workspace-for-organization", 200] }, () => RegisterSlackWorkspaceForOrganizationRequest$, () => RegisterSlackWorkspaceForOrganizationResult$
|
|
247
|
+
];
|
|
248
|
+
export var UpdateSlackChannelConfiguration$ = [9, n0, _USCC,
|
|
249
|
+
{ [_h]: ["POST", "/control/update-slack-channel-configuration", 200] }, () => UpdateSlackChannelConfigurationRequest$, () => UpdateSlackChannelConfigurationResult$
|
|
233
250
|
];
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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.958.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-support-app",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
|
-
"build:include:deps": "
|
|
9
|
+
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
24
|
+
"@aws-sdk/core": "3.957.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.958.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.957.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.957.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.957.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.957.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.957.0",
|
|
31
|
+
"@aws-sdk/types": "3.957.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.957.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.957.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.957.0",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.5",
|
|
36
36
|
"@smithy/core": "^3.20.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.8",
|