@aws-sdk/client-m2 3.369.0 → 3.372.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 +8 -0
- package/dist-cjs/M2.js +2 -0
- package/dist-cjs/commands/GetSignedBluinsightsUrlCommand.js +46 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +61 -2
- package/dist-es/M2.js +2 -0
- package/dist-es/commands/GetSignedBluinsightsUrlCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +57 -0
- package/dist-types/M2.d.ts +7 -0
- package/dist-types/M2Client.d.ts +3 -2
- package/dist-types/commands/GetSignedBluinsightsUrlCommand.d.ts +80 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +15 -4
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/M2.d.ts +17 -0
- package/dist-types/ts3.4/M2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/GetSignedBluinsightsUrlCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +16 -17
package/README.md
CHANGED
|
@@ -326,6 +326,14 @@ GetEnvironment
|
|
|
326
326
|
|
|
327
327
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-m2/classes/getenvironmentcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-m2/interfaces/getenvironmentcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-m2/interfaces/getenvironmentcommandoutput.html)
|
|
328
328
|
|
|
329
|
+
</details>
|
|
330
|
+
<details>
|
|
331
|
+
<summary>
|
|
332
|
+
GetSignedBluinsightsUrl
|
|
333
|
+
</summary>
|
|
334
|
+
|
|
335
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-m2/classes/getsignedbluinsightsurlcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-m2/interfaces/getsignedbluinsightsurlcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-m2/interfaces/getsignedbluinsightsurlcommandoutput.html)
|
|
336
|
+
|
|
329
337
|
</details>
|
|
330
338
|
<details>
|
|
331
339
|
<summary>
|
package/dist-cjs/M2.js
CHANGED
|
@@ -17,6 +17,7 @@ const GetDataSetDetailsCommand_1 = require("./commands/GetDataSetDetailsCommand"
|
|
|
17
17
|
const GetDataSetImportTaskCommand_1 = require("./commands/GetDataSetImportTaskCommand");
|
|
18
18
|
const GetDeploymentCommand_1 = require("./commands/GetDeploymentCommand");
|
|
19
19
|
const GetEnvironmentCommand_1 = require("./commands/GetEnvironmentCommand");
|
|
20
|
+
const GetSignedBluinsightsUrlCommand_1 = require("./commands/GetSignedBluinsightsUrlCommand");
|
|
20
21
|
const ListApplicationsCommand_1 = require("./commands/ListApplicationsCommand");
|
|
21
22
|
const ListApplicationVersionsCommand_1 = require("./commands/ListApplicationVersionsCommand");
|
|
22
23
|
const ListBatchJobDefinitionsCommand_1 = require("./commands/ListBatchJobDefinitionsCommand");
|
|
@@ -51,6 +52,7 @@ const commands = {
|
|
|
51
52
|
GetDataSetImportTaskCommand: GetDataSetImportTaskCommand_1.GetDataSetImportTaskCommand,
|
|
52
53
|
GetDeploymentCommand: GetDeploymentCommand_1.GetDeploymentCommand,
|
|
53
54
|
GetEnvironmentCommand: GetEnvironmentCommand_1.GetEnvironmentCommand,
|
|
55
|
+
GetSignedBluinsightsUrlCommand: GetSignedBluinsightsUrlCommand_1.GetSignedBluinsightsUrlCommand,
|
|
54
56
|
ListApplicationsCommand: ListApplicationsCommand_1.ListApplicationsCommand,
|
|
55
57
|
ListApplicationVersionsCommand: ListApplicationVersionsCommand_1.ListApplicationVersionsCommand,
|
|
56
58
|
ListBatchJobDefinitionsCommand: ListBatchJobDefinitionsCommand_1.ListBatchJobDefinitionsCommand,
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetSignedBluinsightsUrlCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class GetSignedBluinsightsUrlCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetSignedBluinsightsUrlCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "M2Client";
|
|
28
|
+
const commandName = "GetSignedBluinsightsUrlCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_GetSignedBluinsightsUrlCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_GetSignedBluinsightsUrlCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.GetSignedBluinsightsUrlCommand = GetSignedBluinsightsUrlCommand;
|
|
@@ -16,6 +16,7 @@ tslib_1.__exportStar(require("./GetDataSetDetailsCommand"), exports);
|
|
|
16
16
|
tslib_1.__exportStar(require("./GetDataSetImportTaskCommand"), exports);
|
|
17
17
|
tslib_1.__exportStar(require("./GetDeploymentCommand"), exports);
|
|
18
18
|
tslib_1.__exportStar(require("./GetEnvironmentCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./GetSignedBluinsightsUrlCommand"), exports);
|
|
19
20
|
tslib_1.__exportStar(require("./ListApplicationVersionsCommand"), exports);
|
|
20
21
|
tslib_1.__exportStar(require("./ListApplicationsCommand"), exports);
|
|
21
22
|
tslib_1.__exportStar(require("./ListBatchJobDefinitionsCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.de_UpdateEnvironmentCommand = exports.de_UpdateApplicationCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopApplicationCommand = exports.de_StartBatchJobCommand = exports.de_StartApplicationCommand = exports.de_ListTagsForResourceCommand = exports.de_ListEnvironmentsCommand = exports.de_ListEngineVersionsCommand = exports.de_ListDeploymentsCommand = exports.de_ListDataSetsCommand = exports.de_ListDataSetImportHistoryCommand = exports.de_ListBatchJobExecutionsCommand = void 0;
|
|
3
|
+
exports.de_ListApplicationsCommand = exports.de_GetSignedBluinsightsUrlCommand = exports.de_GetEnvironmentCommand = exports.de_GetDeploymentCommand = exports.de_GetDataSetImportTaskCommand = exports.de_GetDataSetDetailsCommand = exports.de_GetBatchJobExecutionCommand = exports.de_GetApplicationVersionCommand = exports.de_GetApplicationCommand = exports.de_DeleteEnvironmentCommand = exports.de_DeleteApplicationFromEnvironmentCommand = exports.de_DeleteApplicationCommand = exports.de_CreateEnvironmentCommand = exports.de_CreateDeploymentCommand = exports.de_CreateDataSetImportTaskCommand = exports.de_CreateApplicationCommand = exports.de_CancelBatchJobExecutionCommand = exports.se_UpdateEnvironmentCommand = exports.se_UpdateApplicationCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopApplicationCommand = exports.se_StartBatchJobCommand = exports.se_StartApplicationCommand = exports.se_ListTagsForResourceCommand = exports.se_ListEnvironmentsCommand = exports.se_ListEngineVersionsCommand = exports.se_ListDeploymentsCommand = exports.se_ListDataSetsCommand = exports.se_ListDataSetImportHistoryCommand = exports.se_ListBatchJobExecutionsCommand = exports.se_ListBatchJobDefinitionsCommand = exports.se_ListApplicationVersionsCommand = exports.se_ListApplicationsCommand = exports.se_GetSignedBluinsightsUrlCommand = exports.se_GetEnvironmentCommand = exports.se_GetDeploymentCommand = exports.se_GetDataSetImportTaskCommand = exports.se_GetDataSetDetailsCommand = exports.se_GetBatchJobExecutionCommand = exports.se_GetApplicationVersionCommand = exports.se_GetApplicationCommand = exports.se_DeleteEnvironmentCommand = exports.se_DeleteApplicationFromEnvironmentCommand = exports.se_DeleteApplicationCommand = exports.se_CreateEnvironmentCommand = exports.se_CreateDeploymentCommand = exports.se_CreateDataSetImportTaskCommand = exports.se_CreateApplicationCommand = exports.se_CancelBatchJobExecutionCommand = void 0;
|
|
4
|
+
exports.de_UpdateEnvironmentCommand = exports.de_UpdateApplicationCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopApplicationCommand = exports.de_StartBatchJobCommand = exports.de_StartApplicationCommand = exports.de_ListTagsForResourceCommand = exports.de_ListEnvironmentsCommand = exports.de_ListEngineVersionsCommand = exports.de_ListDeploymentsCommand = exports.de_ListDataSetsCommand = exports.de_ListDataSetImportHistoryCommand = exports.de_ListBatchJobExecutionsCommand = exports.de_ListBatchJobDefinitionsCommand = exports.de_ListApplicationVersionsCommand = void 0;
|
|
5
5
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
const uuid_1 = require("uuid");
|
|
@@ -318,6 +318,25 @@ const se_GetEnvironmentCommand = async (input, context) => {
|
|
|
318
318
|
});
|
|
319
319
|
};
|
|
320
320
|
exports.se_GetEnvironmentCommand = se_GetEnvironmentCommand;
|
|
321
|
+
const se_GetSignedBluinsightsUrlCommand = async (input, context) => {
|
|
322
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
323
|
+
const headers = {
|
|
324
|
+
"content-type": "application/json",
|
|
325
|
+
};
|
|
326
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/signed-bi-url";
|
|
327
|
+
let body;
|
|
328
|
+
body = "";
|
|
329
|
+
return new protocol_http_1.HttpRequest({
|
|
330
|
+
protocol,
|
|
331
|
+
hostname,
|
|
332
|
+
port,
|
|
333
|
+
method: "GET",
|
|
334
|
+
headers,
|
|
335
|
+
path: resolvedPath,
|
|
336
|
+
body,
|
|
337
|
+
});
|
|
338
|
+
};
|
|
339
|
+
exports.se_GetSignedBluinsightsUrlCommand = se_GetSignedBluinsightsUrlCommand;
|
|
321
340
|
const se_ListApplicationsCommand = async (input, context) => {
|
|
322
341
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
323
342
|
const headers = {};
|
|
@@ -1484,6 +1503,46 @@ const de_GetEnvironmentCommandError = async (output, context) => {
|
|
|
1484
1503
|
});
|
|
1485
1504
|
}
|
|
1486
1505
|
};
|
|
1506
|
+
const de_GetSignedBluinsightsUrlCommand = async (output, context) => {
|
|
1507
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1508
|
+
return de_GetSignedBluinsightsUrlCommandError(output, context);
|
|
1509
|
+
}
|
|
1510
|
+
const contents = (0, smithy_client_1.map)({
|
|
1511
|
+
$metadata: deserializeMetadata(output),
|
|
1512
|
+
});
|
|
1513
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1514
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1515
|
+
signedBiUrl: smithy_client_1.expectString,
|
|
1516
|
+
});
|
|
1517
|
+
Object.assign(contents, doc);
|
|
1518
|
+
return contents;
|
|
1519
|
+
};
|
|
1520
|
+
exports.de_GetSignedBluinsightsUrlCommand = de_GetSignedBluinsightsUrlCommand;
|
|
1521
|
+
const de_GetSignedBluinsightsUrlCommandError = async (output, context) => {
|
|
1522
|
+
const parsedOutput = {
|
|
1523
|
+
...output,
|
|
1524
|
+
body: await parseErrorBody(output.body, context),
|
|
1525
|
+
};
|
|
1526
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1527
|
+
switch (errorCode) {
|
|
1528
|
+
case "AccessDeniedException":
|
|
1529
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
1530
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1531
|
+
case "InternalServerException":
|
|
1532
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
1533
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1534
|
+
case "ThrottlingException":
|
|
1535
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
1536
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1537
|
+
default:
|
|
1538
|
+
const parsedBody = parsedOutput.body;
|
|
1539
|
+
return throwDefaultError({
|
|
1540
|
+
output,
|
|
1541
|
+
parsedBody,
|
|
1542
|
+
errorCode,
|
|
1543
|
+
});
|
|
1544
|
+
}
|
|
1545
|
+
};
|
|
1487
1546
|
const de_ListApplicationsCommand = async (output, context) => {
|
|
1488
1547
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1489
1548
|
return de_ListApplicationsCommandError(output, context);
|
package/dist-es/M2.js
CHANGED
|
@@ -14,6 +14,7 @@ import { GetDataSetDetailsCommand, } from "./commands/GetDataSetDetailsCommand";
|
|
|
14
14
|
import { GetDataSetImportTaskCommand, } from "./commands/GetDataSetImportTaskCommand";
|
|
15
15
|
import { GetDeploymentCommand, } from "./commands/GetDeploymentCommand";
|
|
16
16
|
import { GetEnvironmentCommand, } from "./commands/GetEnvironmentCommand";
|
|
17
|
+
import { GetSignedBluinsightsUrlCommand, } from "./commands/GetSignedBluinsightsUrlCommand";
|
|
17
18
|
import { ListApplicationsCommand, } from "./commands/ListApplicationsCommand";
|
|
18
19
|
import { ListApplicationVersionsCommand, } from "./commands/ListApplicationVersionsCommand";
|
|
19
20
|
import { ListBatchJobDefinitionsCommand, } from "./commands/ListBatchJobDefinitionsCommand";
|
|
@@ -48,6 +49,7 @@ const commands = {
|
|
|
48
49
|
GetDataSetImportTaskCommand,
|
|
49
50
|
GetDeploymentCommand,
|
|
50
51
|
GetEnvironmentCommand,
|
|
52
|
+
GetSignedBluinsightsUrlCommand,
|
|
51
53
|
ListApplicationsCommand,
|
|
52
54
|
ListApplicationVersionsCommand,
|
|
53
55
|
ListBatchJobDefinitionsCommand,
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_GetSignedBluinsightsUrlCommand, se_GetSignedBluinsightsUrlCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetSignedBluinsightsUrlCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetSignedBluinsightsUrlCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "M2Client";
|
|
25
|
+
const commandName = "GetSignedBluinsightsUrlCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_GetSignedBluinsightsUrlCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_GetSignedBluinsightsUrlCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -13,6 +13,7 @@ export * from "./GetDataSetDetailsCommand";
|
|
|
13
13
|
export * from "./GetDataSetImportTaskCommand";
|
|
14
14
|
export * from "./GetDeploymentCommand";
|
|
15
15
|
export * from "./GetEnvironmentCommand";
|
|
16
|
+
export * from "./GetSignedBluinsightsUrlCommand";
|
|
16
17
|
export * from "./ListApplicationVersionsCommand";
|
|
17
18
|
export * from "./ListApplicationsCommand";
|
|
18
19
|
export * from "./ListBatchJobDefinitionsCommand";
|
|
@@ -299,6 +299,24 @@ export const se_GetEnvironmentCommand = async (input, context) => {
|
|
|
299
299
|
body,
|
|
300
300
|
});
|
|
301
301
|
};
|
|
302
|
+
export const se_GetSignedBluinsightsUrlCommand = async (input, context) => {
|
|
303
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
304
|
+
const headers = {
|
|
305
|
+
"content-type": "application/json",
|
|
306
|
+
};
|
|
307
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/signed-bi-url";
|
|
308
|
+
let body;
|
|
309
|
+
body = "";
|
|
310
|
+
return new __HttpRequest({
|
|
311
|
+
protocol,
|
|
312
|
+
hostname,
|
|
313
|
+
port,
|
|
314
|
+
method: "GET",
|
|
315
|
+
headers,
|
|
316
|
+
path: resolvedPath,
|
|
317
|
+
body,
|
|
318
|
+
});
|
|
319
|
+
};
|
|
302
320
|
export const se_ListApplicationsCommand = async (input, context) => {
|
|
303
321
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
304
322
|
const headers = {};
|
|
@@ -1433,6 +1451,45 @@ const de_GetEnvironmentCommandError = async (output, context) => {
|
|
|
1433
1451
|
});
|
|
1434
1452
|
}
|
|
1435
1453
|
};
|
|
1454
|
+
export const de_GetSignedBluinsightsUrlCommand = async (output, context) => {
|
|
1455
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1456
|
+
return de_GetSignedBluinsightsUrlCommandError(output, context);
|
|
1457
|
+
}
|
|
1458
|
+
const contents = map({
|
|
1459
|
+
$metadata: deserializeMetadata(output),
|
|
1460
|
+
});
|
|
1461
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1462
|
+
const doc = take(data, {
|
|
1463
|
+
signedBiUrl: __expectString,
|
|
1464
|
+
});
|
|
1465
|
+
Object.assign(contents, doc);
|
|
1466
|
+
return contents;
|
|
1467
|
+
};
|
|
1468
|
+
const de_GetSignedBluinsightsUrlCommandError = async (output, context) => {
|
|
1469
|
+
const parsedOutput = {
|
|
1470
|
+
...output,
|
|
1471
|
+
body: await parseErrorBody(output.body, context),
|
|
1472
|
+
};
|
|
1473
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1474
|
+
switch (errorCode) {
|
|
1475
|
+
case "AccessDeniedException":
|
|
1476
|
+
case "com.amazonaws.m2#AccessDeniedException":
|
|
1477
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1478
|
+
case "InternalServerException":
|
|
1479
|
+
case "com.amazonaws.m2#InternalServerException":
|
|
1480
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1481
|
+
case "ThrottlingException":
|
|
1482
|
+
case "com.amazonaws.m2#ThrottlingException":
|
|
1483
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1484
|
+
default:
|
|
1485
|
+
const parsedBody = parsedOutput.body;
|
|
1486
|
+
return throwDefaultError({
|
|
1487
|
+
output,
|
|
1488
|
+
parsedBody,
|
|
1489
|
+
errorCode,
|
|
1490
|
+
});
|
|
1491
|
+
}
|
|
1492
|
+
};
|
|
1436
1493
|
export const de_ListApplicationsCommand = async (output, context) => {
|
|
1437
1494
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1438
1495
|
return de_ListApplicationsCommandError(output, context);
|
package/dist-types/M2.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import { GetDataSetDetailsCommandInput, GetDataSetDetailsCommandOutput } from ".
|
|
|
14
14
|
import { GetDataSetImportTaskCommandInput, GetDataSetImportTaskCommandOutput } from "./commands/GetDataSetImportTaskCommand";
|
|
15
15
|
import { GetDeploymentCommandInput, GetDeploymentCommandOutput } from "./commands/GetDeploymentCommand";
|
|
16
16
|
import { GetEnvironmentCommandInput, GetEnvironmentCommandOutput } from "./commands/GetEnvironmentCommand";
|
|
17
|
+
import { GetSignedBluinsightsUrlCommandInput, GetSignedBluinsightsUrlCommandOutput } from "./commands/GetSignedBluinsightsUrlCommand";
|
|
17
18
|
import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
|
|
18
19
|
import { ListApplicationVersionsCommandInput, ListApplicationVersionsCommandOutput } from "./commands/ListApplicationVersionsCommand";
|
|
19
20
|
import { ListBatchJobDefinitionsCommandInput, ListBatchJobDefinitionsCommandOutput } from "./commands/ListBatchJobDefinitionsCommand";
|
|
@@ -123,6 +124,12 @@ export interface M2 {
|
|
|
123
124
|
getEnvironment(args: GetEnvironmentCommandInput, options?: __HttpHandlerOptions): Promise<GetEnvironmentCommandOutput>;
|
|
124
125
|
getEnvironment(args: GetEnvironmentCommandInput, cb: (err: any, data?: GetEnvironmentCommandOutput) => void): void;
|
|
125
126
|
getEnvironment(args: GetEnvironmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEnvironmentCommandOutput) => void): void;
|
|
127
|
+
/**
|
|
128
|
+
* @see {@link GetSignedBluinsightsUrlCommand}
|
|
129
|
+
*/
|
|
130
|
+
getSignedBluinsightsUrl(args: GetSignedBluinsightsUrlCommandInput, options?: __HttpHandlerOptions): Promise<GetSignedBluinsightsUrlCommandOutput>;
|
|
131
|
+
getSignedBluinsightsUrl(args: GetSignedBluinsightsUrlCommandInput, cb: (err: any, data?: GetSignedBluinsightsUrlCommandOutput) => void): void;
|
|
132
|
+
getSignedBluinsightsUrl(args: GetSignedBluinsightsUrlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSignedBluinsightsUrlCommandOutput) => void): void;
|
|
126
133
|
/**
|
|
127
134
|
* @see {@link ListApplicationsCommand}
|
|
128
135
|
*/
|
package/dist-types/M2Client.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ import { GetDataSetDetailsCommandInput, GetDataSetDetailsCommandOutput } from ".
|
|
|
23
23
|
import { GetDataSetImportTaskCommandInput, GetDataSetImportTaskCommandOutput } from "./commands/GetDataSetImportTaskCommand";
|
|
24
24
|
import { GetDeploymentCommandInput, GetDeploymentCommandOutput } from "./commands/GetDeploymentCommand";
|
|
25
25
|
import { GetEnvironmentCommandInput, GetEnvironmentCommandOutput } from "./commands/GetEnvironmentCommand";
|
|
26
|
+
import { GetSignedBluinsightsUrlCommandInput, GetSignedBluinsightsUrlCommandOutput } from "./commands/GetSignedBluinsightsUrlCommand";
|
|
26
27
|
import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
|
|
27
28
|
import { ListApplicationVersionsCommandInput, ListApplicationVersionsCommandOutput } from "./commands/ListApplicationVersionsCommand";
|
|
28
29
|
import { ListBatchJobDefinitionsCommandInput, ListBatchJobDefinitionsCommandOutput } from "./commands/ListBatchJobDefinitionsCommand";
|
|
@@ -45,11 +46,11 @@ export { __Client };
|
|
|
45
46
|
/**
|
|
46
47
|
* @public
|
|
47
48
|
*/
|
|
48
|
-
export type ServiceInputTypes = CancelBatchJobExecutionCommandInput | CreateApplicationCommandInput | CreateDataSetImportTaskCommandInput | CreateDeploymentCommandInput | CreateEnvironmentCommandInput | DeleteApplicationCommandInput | DeleteApplicationFromEnvironmentCommandInput | DeleteEnvironmentCommandInput | GetApplicationCommandInput | GetApplicationVersionCommandInput | GetBatchJobExecutionCommandInput | GetDataSetDetailsCommandInput | GetDataSetImportTaskCommandInput | GetDeploymentCommandInput | GetEnvironmentCommandInput | ListApplicationVersionsCommandInput | ListApplicationsCommandInput | ListBatchJobDefinitionsCommandInput | ListBatchJobExecutionsCommandInput | ListDataSetImportHistoryCommandInput | ListDataSetsCommandInput | ListDeploymentsCommandInput | ListEngineVersionsCommandInput | ListEnvironmentsCommandInput | ListTagsForResourceCommandInput | StartApplicationCommandInput | StartBatchJobCommandInput | StopApplicationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateEnvironmentCommandInput;
|
|
49
|
+
export type ServiceInputTypes = CancelBatchJobExecutionCommandInput | CreateApplicationCommandInput | CreateDataSetImportTaskCommandInput | CreateDeploymentCommandInput | CreateEnvironmentCommandInput | DeleteApplicationCommandInput | DeleteApplicationFromEnvironmentCommandInput | DeleteEnvironmentCommandInput | GetApplicationCommandInput | GetApplicationVersionCommandInput | GetBatchJobExecutionCommandInput | GetDataSetDetailsCommandInput | GetDataSetImportTaskCommandInput | GetDeploymentCommandInput | GetEnvironmentCommandInput | GetSignedBluinsightsUrlCommandInput | ListApplicationVersionsCommandInput | ListApplicationsCommandInput | ListBatchJobDefinitionsCommandInput | ListBatchJobExecutionsCommandInput | ListDataSetImportHistoryCommandInput | ListDataSetsCommandInput | ListDeploymentsCommandInput | ListEngineVersionsCommandInput | ListEnvironmentsCommandInput | ListTagsForResourceCommandInput | StartApplicationCommandInput | StartBatchJobCommandInput | StopApplicationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateEnvironmentCommandInput;
|
|
49
50
|
/**
|
|
50
51
|
* @public
|
|
51
52
|
*/
|
|
52
|
-
export type ServiceOutputTypes = CancelBatchJobExecutionCommandOutput | CreateApplicationCommandOutput | CreateDataSetImportTaskCommandOutput | CreateDeploymentCommandOutput | CreateEnvironmentCommandOutput | DeleteApplicationCommandOutput | DeleteApplicationFromEnvironmentCommandOutput | DeleteEnvironmentCommandOutput | GetApplicationCommandOutput | GetApplicationVersionCommandOutput | GetBatchJobExecutionCommandOutput | GetDataSetDetailsCommandOutput | GetDataSetImportTaskCommandOutput | GetDeploymentCommandOutput | GetEnvironmentCommandOutput | ListApplicationVersionsCommandOutput | ListApplicationsCommandOutput | ListBatchJobDefinitionsCommandOutput | ListBatchJobExecutionsCommandOutput | ListDataSetImportHistoryCommandOutput | ListDataSetsCommandOutput | ListDeploymentsCommandOutput | ListEngineVersionsCommandOutput | ListEnvironmentsCommandOutput | ListTagsForResourceCommandOutput | StartApplicationCommandOutput | StartBatchJobCommandOutput | StopApplicationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | UpdateEnvironmentCommandOutput;
|
|
53
|
+
export type ServiceOutputTypes = CancelBatchJobExecutionCommandOutput | CreateApplicationCommandOutput | CreateDataSetImportTaskCommandOutput | CreateDeploymentCommandOutput | CreateEnvironmentCommandOutput | DeleteApplicationCommandOutput | DeleteApplicationFromEnvironmentCommandOutput | DeleteEnvironmentCommandOutput | GetApplicationCommandOutput | GetApplicationVersionCommandOutput | GetBatchJobExecutionCommandOutput | GetDataSetDetailsCommandOutput | GetDataSetImportTaskCommandOutput | GetDeploymentCommandOutput | GetEnvironmentCommandOutput | GetSignedBluinsightsUrlCommandOutput | ListApplicationVersionsCommandOutput | ListApplicationsCommandOutput | ListBatchJobDefinitionsCommandOutput | ListBatchJobExecutionsCommandOutput | ListDataSetImportHistoryCommandOutput | ListDataSetsCommandOutput | ListDeploymentsCommandOutput | ListEngineVersionsCommandOutput | ListEnvironmentsCommandOutput | ListTagsForResourceCommandOutput | StartApplicationCommandOutput | StartBatchJobCommandOutput | StopApplicationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | UpdateEnvironmentCommandOutput;
|
|
53
54
|
/**
|
|
54
55
|
* @public
|
|
55
56
|
*/
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { M2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../M2Client";
|
|
5
|
+
import { GetSignedBluinsightsUrlResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetSignedBluinsightsUrlCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetSignedBluinsightsUrlCommandInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetSignedBluinsightsUrlCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetSignedBluinsightsUrlCommandOutput extends GetSignedBluinsightsUrlResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Gets a single sign-on URL that can be used to connect to AWS Blu Insights.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { M2Client, GetSignedBluinsightsUrlCommand } from "@aws-sdk/client-m2"; // ES Modules import
|
|
31
|
+
* // const { M2Client, GetSignedBluinsightsUrlCommand } = require("@aws-sdk/client-m2"); // CommonJS import
|
|
32
|
+
* const client = new M2Client(config);
|
|
33
|
+
* const input = {};
|
|
34
|
+
* const command = new GetSignedBluinsightsUrlCommand(input);
|
|
35
|
+
* const response = await client.send(command);
|
|
36
|
+
* // { // GetSignedBluinsightsUrlResponse
|
|
37
|
+
* // signedBiUrl: "STRING_VALUE", // required
|
|
38
|
+
* // };
|
|
39
|
+
*
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* @param GetSignedBluinsightsUrlCommandInput - {@link GetSignedBluinsightsUrlCommandInput}
|
|
43
|
+
* @returns {@link GetSignedBluinsightsUrlCommandOutput}
|
|
44
|
+
* @see {@link GetSignedBluinsightsUrlCommandInput} for command's `input` shape.
|
|
45
|
+
* @see {@link GetSignedBluinsightsUrlCommandOutput} for command's `response` shape.
|
|
46
|
+
* @see {@link M2ClientResolvedConfig | config} for M2Client's `config` shape.
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
49
|
+
* <p>The account or role doesn't have the right permissions to make the request.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link InternalServerException} (server fault)
|
|
52
|
+
* <p>An unexpected error occurred during the processing of the request.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
55
|
+
* <p>The number of requests made exceeds the limit.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link M2ServiceException}
|
|
58
|
+
* <p>Base exception class for all service exceptions from M2 service.</p>
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
export declare class GetSignedBluinsightsUrlCommand extends $Command<GetSignedBluinsightsUrlCommandInput, GetSignedBluinsightsUrlCommandOutput, M2ClientResolvedConfig> {
|
|
62
|
+
readonly input: GetSignedBluinsightsUrlCommandInput;
|
|
63
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
constructor(input: GetSignedBluinsightsUrlCommandInput);
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: M2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSignedBluinsightsUrlCommandInput, GetSignedBluinsightsUrlCommandOutput>;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
private serialize;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
private deserialize;
|
|
80
|
+
}
|
|
@@ -13,6 +13,7 @@ export * from "./GetDataSetDetailsCommand";
|
|
|
13
13
|
export * from "./GetDataSetImportTaskCommand";
|
|
14
14
|
export * from "./GetDeploymentCommand";
|
|
15
15
|
export * from "./GetEnvironmentCommand";
|
|
16
|
+
export * from "./GetSignedBluinsightsUrlCommand";
|
|
16
17
|
export * from "./ListApplicationVersionsCommand";
|
|
17
18
|
export * from "./ListApplicationsCommand";
|
|
18
19
|
export * from "./ListBatchJobDefinitionsCommand";
|
|
@@ -276,7 +276,8 @@ export interface CreateApplicationRequest {
|
|
|
276
276
|
*/
|
|
277
277
|
kmsKeyId?: string;
|
|
278
278
|
/**
|
|
279
|
-
* <p>The Amazon Resource Name (ARN)
|
|
279
|
+
* <p>The Amazon Resource Name (ARN) that identifies a role that the application uses to access Amazon Web Services resources
|
|
280
|
+
* that are not part of the application or are in a different Amazon Web Services account.</p>
|
|
280
281
|
*/
|
|
281
282
|
roleArn?: string;
|
|
282
283
|
}
|
|
@@ -357,7 +358,8 @@ export interface PoAttributes {
|
|
|
357
358
|
*/
|
|
358
359
|
encoding?: string;
|
|
359
360
|
/**
|
|
360
|
-
* <p>An array containing one or more filename extensions, allowing you to specify which files
|
|
361
|
+
* <p>An array containing one or more filename extensions, allowing you to specify which files
|
|
362
|
+
* to be included as PDS member.</p>
|
|
361
363
|
*/
|
|
362
364
|
memberFileExtensions: string[] | undefined;
|
|
363
365
|
}
|
|
@@ -2066,7 +2068,7 @@ export interface UpdateApplicationResponse {
|
|
|
2066
2068
|
*/
|
|
2067
2069
|
export interface HighAvailabilityConfig {
|
|
2068
2070
|
/**
|
|
2069
|
-
* <p>The number of instances in a high availability configuration.</p>
|
|
2071
|
+
* <p>The number of instances in a high availability configuration. The minimum possible value is 1 and the maximum is 100.</p>
|
|
2070
2072
|
*/
|
|
2071
2073
|
desiredCapacity: number | undefined;
|
|
2072
2074
|
}
|
|
@@ -2461,7 +2463,7 @@ export interface UpdateEnvironmentRequest {
|
|
|
2461
2463
|
*/
|
|
2462
2464
|
environmentId: string | undefined;
|
|
2463
2465
|
/**
|
|
2464
|
-
* <p>The desired capacity for the runtime environment to update.</p>
|
|
2466
|
+
* <p>The desired capacity for the runtime environment to update. The minimum possible value is 0 and the maximum is 100.</p>
|
|
2465
2467
|
*/
|
|
2466
2468
|
desiredCapacity?: number;
|
|
2467
2469
|
/**
|
|
@@ -2495,6 +2497,15 @@ export interface UpdateEnvironmentResponse {
|
|
|
2495
2497
|
*/
|
|
2496
2498
|
environmentId: string | undefined;
|
|
2497
2499
|
}
|
|
2500
|
+
/**
|
|
2501
|
+
* @public
|
|
2502
|
+
*/
|
|
2503
|
+
export interface GetSignedBluinsightsUrlResponse {
|
|
2504
|
+
/**
|
|
2505
|
+
* <p>Single sign-on AWS Blu Insights URL.</p>
|
|
2506
|
+
*/
|
|
2507
|
+
signedBiUrl: string | undefined;
|
|
2508
|
+
}
|
|
2498
2509
|
/**
|
|
2499
2510
|
* @public
|
|
2500
2511
|
*/
|
|
@@ -15,6 +15,7 @@ import { GetDataSetDetailsCommandInput, GetDataSetDetailsCommandOutput } from ".
|
|
|
15
15
|
import { GetDataSetImportTaskCommandInput, GetDataSetImportTaskCommandOutput } from "../commands/GetDataSetImportTaskCommand";
|
|
16
16
|
import { GetDeploymentCommandInput, GetDeploymentCommandOutput } from "../commands/GetDeploymentCommand";
|
|
17
17
|
import { GetEnvironmentCommandInput, GetEnvironmentCommandOutput } from "../commands/GetEnvironmentCommand";
|
|
18
|
+
import { GetSignedBluinsightsUrlCommandInput, GetSignedBluinsightsUrlCommandOutput } from "../commands/GetSignedBluinsightsUrlCommand";
|
|
18
19
|
import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "../commands/ListApplicationsCommand";
|
|
19
20
|
import { ListApplicationVersionsCommandInput, ListApplicationVersionsCommandOutput } from "../commands/ListApplicationVersionsCommand";
|
|
20
21
|
import { ListBatchJobDefinitionsCommandInput, ListBatchJobDefinitionsCommandOutput } from "../commands/ListBatchJobDefinitionsCommand";
|
|
@@ -92,6 +93,10 @@ export declare const se_GetDeploymentCommand: (input: GetDeploymentCommandInput,
|
|
|
92
93
|
* serializeAws_restJson1GetEnvironmentCommand
|
|
93
94
|
*/
|
|
94
95
|
export declare const se_GetEnvironmentCommand: (input: GetEnvironmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
96
|
+
/**
|
|
97
|
+
* serializeAws_restJson1GetSignedBluinsightsUrlCommand
|
|
98
|
+
*/
|
|
99
|
+
export declare const se_GetSignedBluinsightsUrlCommand: (input: GetSignedBluinsightsUrlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
95
100
|
/**
|
|
96
101
|
* serializeAws_restJson1ListApplicationsCommand
|
|
97
102
|
*/
|
|
@@ -220,6 +225,10 @@ export declare const de_GetDeploymentCommand: (output: __HttpResponse, context:
|
|
|
220
225
|
* deserializeAws_restJson1GetEnvironmentCommand
|
|
221
226
|
*/
|
|
222
227
|
export declare const de_GetEnvironmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEnvironmentCommandOutput>;
|
|
228
|
+
/**
|
|
229
|
+
* deserializeAws_restJson1GetSignedBluinsightsUrlCommand
|
|
230
|
+
*/
|
|
231
|
+
export declare const de_GetSignedBluinsightsUrlCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSignedBluinsightsUrlCommandOutput>;
|
|
223
232
|
/**
|
|
224
233
|
* deserializeAws_restJson1ListApplicationsCommand
|
|
225
234
|
*/
|
package/dist-types/ts3.4/M2.d.ts
CHANGED
|
@@ -59,6 +59,10 @@ import {
|
|
|
59
59
|
GetEnvironmentCommandInput,
|
|
60
60
|
GetEnvironmentCommandOutput,
|
|
61
61
|
} from "./commands/GetEnvironmentCommand";
|
|
62
|
+
import {
|
|
63
|
+
GetSignedBluinsightsUrlCommandInput,
|
|
64
|
+
GetSignedBluinsightsUrlCommandOutput,
|
|
65
|
+
} from "./commands/GetSignedBluinsightsUrlCommand";
|
|
62
66
|
import {
|
|
63
67
|
ListApplicationsCommandInput,
|
|
64
68
|
ListApplicationsCommandOutput,
|
|
@@ -324,6 +328,19 @@ export interface M2 {
|
|
|
324
328
|
options: __HttpHandlerOptions,
|
|
325
329
|
cb: (err: any, data?: GetEnvironmentCommandOutput) => void
|
|
326
330
|
): void;
|
|
331
|
+
getSignedBluinsightsUrl(
|
|
332
|
+
args: GetSignedBluinsightsUrlCommandInput,
|
|
333
|
+
options?: __HttpHandlerOptions
|
|
334
|
+
): Promise<GetSignedBluinsightsUrlCommandOutput>;
|
|
335
|
+
getSignedBluinsightsUrl(
|
|
336
|
+
args: GetSignedBluinsightsUrlCommandInput,
|
|
337
|
+
cb: (err: any, data?: GetSignedBluinsightsUrlCommandOutput) => void
|
|
338
|
+
): void;
|
|
339
|
+
getSignedBluinsightsUrl(
|
|
340
|
+
args: GetSignedBluinsightsUrlCommandInput,
|
|
341
|
+
options: __HttpHandlerOptions,
|
|
342
|
+
cb: (err: any, data?: GetSignedBluinsightsUrlCommandOutput) => void
|
|
343
|
+
): void;
|
|
327
344
|
listApplications(
|
|
328
345
|
args: ListApplicationsCommandInput,
|
|
329
346
|
options?: __HttpHandlerOptions
|
|
@@ -104,6 +104,10 @@ import {
|
|
|
104
104
|
GetEnvironmentCommandInput,
|
|
105
105
|
GetEnvironmentCommandOutput,
|
|
106
106
|
} from "./commands/GetEnvironmentCommand";
|
|
107
|
+
import {
|
|
108
|
+
GetSignedBluinsightsUrlCommandInput,
|
|
109
|
+
GetSignedBluinsightsUrlCommandOutput,
|
|
110
|
+
} from "./commands/GetSignedBluinsightsUrlCommand";
|
|
107
111
|
import {
|
|
108
112
|
ListApplicationsCommandInput,
|
|
109
113
|
ListApplicationsCommandOutput,
|
|
@@ -194,6 +198,7 @@ export type ServiceInputTypes =
|
|
|
194
198
|
| GetDataSetImportTaskCommandInput
|
|
195
199
|
| GetDeploymentCommandInput
|
|
196
200
|
| GetEnvironmentCommandInput
|
|
201
|
+
| GetSignedBluinsightsUrlCommandInput
|
|
197
202
|
| ListApplicationVersionsCommandInput
|
|
198
203
|
| ListApplicationsCommandInput
|
|
199
204
|
| ListBatchJobDefinitionsCommandInput
|
|
@@ -227,6 +232,7 @@ export type ServiceOutputTypes =
|
|
|
227
232
|
| GetDataSetImportTaskCommandOutput
|
|
228
233
|
| GetDeploymentCommandOutput
|
|
229
234
|
| GetEnvironmentCommandOutput
|
|
235
|
+
| GetSignedBluinsightsUrlCommandOutput
|
|
230
236
|
| ListApplicationVersionsCommandOutput
|
|
231
237
|
| ListApplicationsCommandOutput
|
|
232
238
|
| ListBatchJobDefinitionsCommandOutput
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
M2ClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../M2Client";
|
|
14
|
+
import { GetSignedBluinsightsUrlResponse } from "../models/models_0";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
16
|
+
export interface GetSignedBluinsightsUrlCommandInput {}
|
|
17
|
+
export interface GetSignedBluinsightsUrlCommandOutput
|
|
18
|
+
extends GetSignedBluinsightsUrlResponse,
|
|
19
|
+
__MetadataBearer {}
|
|
20
|
+
export declare class GetSignedBluinsightsUrlCommand extends $Command<
|
|
21
|
+
GetSignedBluinsightsUrlCommandInput,
|
|
22
|
+
GetSignedBluinsightsUrlCommandOutput,
|
|
23
|
+
M2ClientResolvedConfig
|
|
24
|
+
> {
|
|
25
|
+
readonly input: GetSignedBluinsightsUrlCommandInput;
|
|
26
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
|
+
constructor(input: GetSignedBluinsightsUrlCommandInput);
|
|
28
|
+
resolveMiddleware(
|
|
29
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
30
|
+
configuration: M2ClientResolvedConfig,
|
|
31
|
+
options?: __HttpHandlerOptions
|
|
32
|
+
): Handler<
|
|
33
|
+
GetSignedBluinsightsUrlCommandInput,
|
|
34
|
+
GetSignedBluinsightsUrlCommandOutput
|
|
35
|
+
>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -13,6 +13,7 @@ export * from "./GetDataSetDetailsCommand";
|
|
|
13
13
|
export * from "./GetDataSetImportTaskCommand";
|
|
14
14
|
export * from "./GetDeploymentCommand";
|
|
15
15
|
export * from "./GetEnvironmentCommand";
|
|
16
|
+
export * from "./GetSignedBluinsightsUrlCommand";
|
|
16
17
|
export * from "./ListApplicationVersionsCommand";
|
|
17
18
|
export * from "./ListApplicationsCommand";
|
|
18
19
|
export * from "./ListBatchJobDefinitionsCommand";
|
|
@@ -893,6 +893,9 @@ export interface UpdateEnvironmentRequest {
|
|
|
893
893
|
export interface UpdateEnvironmentResponse {
|
|
894
894
|
environmentId: string | undefined;
|
|
895
895
|
}
|
|
896
|
+
export interface GetSignedBluinsightsUrlResponse {
|
|
897
|
+
signedBiUrl: string | undefined;
|
|
898
|
+
}
|
|
896
899
|
export interface ListEngineVersionsRequest {
|
|
897
900
|
engineType?: EngineType | string;
|
|
898
901
|
nextToken?: string;
|
|
@@ -63,6 +63,10 @@ import {
|
|
|
63
63
|
GetEnvironmentCommandInput,
|
|
64
64
|
GetEnvironmentCommandOutput,
|
|
65
65
|
} from "../commands/GetEnvironmentCommand";
|
|
66
|
+
import {
|
|
67
|
+
GetSignedBluinsightsUrlCommandInput,
|
|
68
|
+
GetSignedBluinsightsUrlCommandOutput,
|
|
69
|
+
} from "../commands/GetSignedBluinsightsUrlCommand";
|
|
66
70
|
import {
|
|
67
71
|
ListApplicationsCommandInput,
|
|
68
72
|
ListApplicationsCommandOutput,
|
|
@@ -191,6 +195,10 @@ export declare const se_GetEnvironmentCommand: (
|
|
|
191
195
|
input: GetEnvironmentCommandInput,
|
|
192
196
|
context: __SerdeContext
|
|
193
197
|
) => Promise<__HttpRequest>;
|
|
198
|
+
export declare const se_GetSignedBluinsightsUrlCommand: (
|
|
199
|
+
input: GetSignedBluinsightsUrlCommandInput,
|
|
200
|
+
context: __SerdeContext
|
|
201
|
+
) => Promise<__HttpRequest>;
|
|
194
202
|
export declare const se_ListApplicationsCommand: (
|
|
195
203
|
input: ListApplicationsCommandInput,
|
|
196
204
|
context: __SerdeContext
|
|
@@ -319,6 +327,10 @@ export declare const de_GetEnvironmentCommand: (
|
|
|
319
327
|
output: __HttpResponse,
|
|
320
328
|
context: __SerdeContext
|
|
321
329
|
) => Promise<GetEnvironmentCommandOutput>;
|
|
330
|
+
export declare const de_GetSignedBluinsightsUrlCommand: (
|
|
331
|
+
output: __HttpResponse,
|
|
332
|
+
context: __SerdeContext
|
|
333
|
+
) => Promise<GetSignedBluinsightsUrlCommandOutput>;
|
|
322
334
|
export declare const de_ListApplicationsCommand: (
|
|
323
335
|
output: __HttpResponse,
|
|
324
336
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-m2",
|
|
3
3
|
"description": "AWS SDK for JavaScript M2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.372.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,29 +21,29 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/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-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "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/client-sts": "3.370.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.370.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.370.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.370.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.370.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.370.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.370.0",
|
|
31
|
+
"@aws-sdk/types": "3.370.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.370.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.370.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.370.0",
|
|
35
35
|
"@smithy/config-resolver": "^1.0.1",
|
|
36
36
|
"@smithy/fetch-http-handler": "^1.0.1",
|
|
37
37
|
"@smithy/hash-node": "^1.0.1",
|
|
38
38
|
"@smithy/invalid-dependency": "^1.0.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^1.0.1",
|
|
40
|
-
"@smithy/middleware-endpoint": "^1.0.
|
|
41
|
-
"@smithy/middleware-retry": "^1.0.
|
|
40
|
+
"@smithy/middleware-endpoint": "^1.0.2",
|
|
41
|
+
"@smithy/middleware-retry": "^1.0.3",
|
|
42
42
|
"@smithy/middleware-serde": "^1.0.1",
|
|
43
43
|
"@smithy/middleware-stack": "^1.0.1",
|
|
44
44
|
"@smithy/node-config-provider": "^1.0.1",
|
|
45
45
|
"@smithy/node-http-handler": "^1.0.2",
|
|
46
|
-
"@smithy/protocol-http": "^1.0
|
|
46
|
+
"@smithy/protocol-http": "^1.1.0",
|
|
47
47
|
"@smithy/smithy-client": "^1.0.3",
|
|
48
48
|
"@smithy/types": "^1.1.0",
|
|
49
49
|
"@smithy/url-parser": "^1.0.1",
|
|
@@ -52,13 +52,12 @@
|
|
|
52
52
|
"@smithy/util-body-length-node": "^1.0.1",
|
|
53
53
|
"@smithy/util-defaults-mode-browser": "^1.0.1",
|
|
54
54
|
"@smithy/util-defaults-mode-node": "^1.0.1",
|
|
55
|
-
"@smithy/util-retry": "^1.0.
|
|
55
|
+
"@smithy/util-retry": "^1.0.3",
|
|
56
56
|
"@smithy/util-utf8": "^1.0.1",
|
|
57
57
|
"tslib": "^2.5.0",
|
|
58
58
|
"uuid": "^8.3.2"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/service-client-documentation-generator": "3.310.0",
|
|
62
61
|
"@smithy/service-client-documentation-generator": "^1.0.1",
|
|
63
62
|
"@tsconfig/node14": "1.0.3",
|
|
64
63
|
"@types/node": "^14.14.31",
|