@aws-sdk/client-tnb 3.354.0 → 3.357.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/dist-cjs/protocols/Aws_restJson1.js +11 -17
- package/dist-es/protocols/Aws_restJson1.js +1 -7
- package/dist-types/TnbClient.d.ts +1 -1
- package/dist-types/commands/GetSolFunctionPackageContentCommand.d.ts +8 -1
- package/dist-types/commands/GetSolFunctionPackageDescriptorCommand.d.ts +8 -1
- package/dist-types/commands/GetSolNetworkPackageContentCommand.d.ts +8 -1
- package/dist-types/commands/GetSolNetworkPackageDescriptorCommand.d.ts +8 -1
- package/dist-types/commands/PutSolFunctionPackageContentCommand.d.ts +8 -2
- package/dist-types/commands/PutSolNetworkPackageContentCommand.d.ts +8 -2
- package/dist-types/commands/ValidateSolFunctionPackageContentCommand.d.ts +8 -2
- package/dist-types/commands/ValidateSolNetworkPackageContentCommand.d.ts +8 -2
- package/dist-types/ts3.4/commands/GetSolFunctionPackageContentCommand.d.ts +8 -1
- package/dist-types/ts3.4/commands/GetSolFunctionPackageDescriptorCommand.d.ts +8 -1
- package/dist-types/ts3.4/commands/GetSolNetworkPackageContentCommand.d.ts +8 -1
- package/dist-types/ts3.4/commands/GetSolNetworkPackageDescriptorCommand.d.ts +8 -1
- package/dist-types/ts3.4/commands/PutSolFunctionPackageContentCommand.d.ts +8 -1
- package/dist-types/ts3.4/commands/PutSolNetworkPackageContentCommand.d.ts +8 -1
- package/dist-types/ts3.4/commands/ValidateSolFunctionPackageContentCommand.d.ts +8 -1
- package/dist-types/ts3.4/commands/ValidateSolNetworkPackageContentCommand.d.ts +8 -1
- package/package.json +29 -28
|
@@ -693,7 +693,7 @@ const de_CancelSolNetworkOperationCommand = async (output, context) => {
|
|
|
693
693
|
const contents = (0, smithy_client_1.map)({
|
|
694
694
|
$metadata: deserializeMetadata(output),
|
|
695
695
|
});
|
|
696
|
-
await collectBody(output.body, context);
|
|
696
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
697
697
|
return contents;
|
|
698
698
|
};
|
|
699
699
|
exports.de_CancelSolNetworkOperationCommand = de_CancelSolNetworkOperationCommand;
|
|
@@ -890,7 +890,7 @@ const de_DeleteSolFunctionPackageCommand = async (output, context) => {
|
|
|
890
890
|
const contents = (0, smithy_client_1.map)({
|
|
891
891
|
$metadata: deserializeMetadata(output),
|
|
892
892
|
});
|
|
893
|
-
await collectBody(output.body, context);
|
|
893
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
894
894
|
return contents;
|
|
895
895
|
};
|
|
896
896
|
exports.de_DeleteSolFunctionPackageCommand = de_DeleteSolFunctionPackageCommand;
|
|
@@ -932,7 +932,7 @@ const de_DeleteSolNetworkInstanceCommand = async (output, context) => {
|
|
|
932
932
|
const contents = (0, smithy_client_1.map)({
|
|
933
933
|
$metadata: deserializeMetadata(output),
|
|
934
934
|
});
|
|
935
|
-
await collectBody(output.body, context);
|
|
935
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
936
936
|
return contents;
|
|
937
937
|
};
|
|
938
938
|
exports.de_DeleteSolNetworkInstanceCommand = de_DeleteSolNetworkInstanceCommand;
|
|
@@ -974,7 +974,7 @@ const de_DeleteSolNetworkPackageCommand = async (output, context) => {
|
|
|
974
974
|
const contents = (0, smithy_client_1.map)({
|
|
975
975
|
$metadata: deserializeMetadata(output),
|
|
976
976
|
});
|
|
977
|
-
await collectBody(output.body, context);
|
|
977
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
978
978
|
return contents;
|
|
979
979
|
};
|
|
980
980
|
exports.de_DeleteSolNetworkPackageCommand = de_DeleteSolNetworkPackageCommand;
|
|
@@ -1130,7 +1130,7 @@ const de_GetSolFunctionPackageContentCommand = async (output, context) => {
|
|
|
1130
1130
|
$metadata: deserializeMetadata(output),
|
|
1131
1131
|
contentType: [, output.headers["content-type"]],
|
|
1132
1132
|
});
|
|
1133
|
-
const data = await collectBody(output.body, context);
|
|
1133
|
+
const data = await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1134
1134
|
contents.packageContent = data;
|
|
1135
1135
|
return contents;
|
|
1136
1136
|
};
|
|
@@ -1174,7 +1174,7 @@ const de_GetSolFunctionPackageDescriptorCommand = async (output, context) => {
|
|
|
1174
1174
|
$metadata: deserializeMetadata(output),
|
|
1175
1175
|
contentType: [, output.headers["content-type"]],
|
|
1176
1176
|
});
|
|
1177
|
-
const data = await collectBody(output.body, context);
|
|
1177
|
+
const data = await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1178
1178
|
contents.vnfd = data;
|
|
1179
1179
|
return contents;
|
|
1180
1180
|
};
|
|
@@ -1383,7 +1383,7 @@ const de_GetSolNetworkPackageContentCommand = async (output, context) => {
|
|
|
1383
1383
|
$metadata: deserializeMetadata(output),
|
|
1384
1384
|
contentType: [, output.headers["content-type"]],
|
|
1385
1385
|
});
|
|
1386
|
-
const data = await collectBody(output.body, context);
|
|
1386
|
+
const data = await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1387
1387
|
contents.nsdContent = data;
|
|
1388
1388
|
return contents;
|
|
1389
1389
|
};
|
|
@@ -1427,7 +1427,7 @@ const de_GetSolNetworkPackageDescriptorCommand = async (output, context) => {
|
|
|
1427
1427
|
$metadata: deserializeMetadata(output),
|
|
1428
1428
|
contentType: [, output.headers["content-type"]],
|
|
1429
1429
|
});
|
|
1430
|
-
const data = await collectBody(output.body, context);
|
|
1430
|
+
const data = await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1431
1431
|
contents.nsd = data;
|
|
1432
1432
|
return contents;
|
|
1433
1433
|
};
|
|
@@ -1889,7 +1889,7 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
1889
1889
|
const contents = (0, smithy_client_1.map)({
|
|
1890
1890
|
$metadata: deserializeMetadata(output),
|
|
1891
1891
|
});
|
|
1892
|
-
await collectBody(output.body, context);
|
|
1892
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1893
1893
|
return contents;
|
|
1894
1894
|
};
|
|
1895
1895
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
@@ -1981,7 +1981,7 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
1981
1981
|
const contents = (0, smithy_client_1.map)({
|
|
1982
1982
|
$metadata: deserializeMetadata(output),
|
|
1983
1983
|
});
|
|
1984
|
-
await collectBody(output.body, context);
|
|
1984
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1985
1985
|
return contents;
|
|
1986
1986
|
};
|
|
1987
1987
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
@@ -2540,13 +2540,7 @@ const deserializeMetadata = (output) => ({
|
|
|
2540
2540
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2541
2541
|
cfId: output.headers["x-amz-cf-id"],
|
|
2542
2542
|
});
|
|
2543
|
-
const
|
|
2544
|
-
if (streamBody instanceof Uint8Array) {
|
|
2545
|
-
return Promise.resolve(streamBody);
|
|
2546
|
-
}
|
|
2547
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
2548
|
-
};
|
|
2549
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2543
|
+
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2550
2544
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
2551
2545
|
value !== null &&
|
|
2552
2546
|
value !== "" &&
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _json, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
1
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { AccessDeniedException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
4
4
|
import { TnbServiceException as __BaseException } from "../models/TnbServiceException";
|
|
@@ -2470,12 +2470,6 @@ const deserializeMetadata = (output) => ({
|
|
|
2470
2470
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2471
2471
|
cfId: output.headers["x-amz-cf-id"],
|
|
2472
2472
|
});
|
|
2473
|
-
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
2474
|
-
if (streamBody instanceof Uint8Array) {
|
|
2475
|
-
return Promise.resolve(streamBody);
|
|
2476
|
-
}
|
|
2477
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
2478
|
-
};
|
|
2479
2473
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2480
2474
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
2481
2475
|
value !== null &&
|
|
@@ -106,7 +106,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
106
106
|
*/
|
|
107
107
|
runtime?: string;
|
|
108
108
|
/**
|
|
109
|
-
* Disable
|
|
109
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
110
110
|
* trait of an operation.
|
|
111
111
|
*/
|
|
112
112
|
disableHostPrefix?: boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { Uint8ArrayBlobAdapter } from "@aws-sdk/util-stream";
|
|
4
5
|
import { GetSolFunctionPackageContentInput, GetSolFunctionPackageContentOutput } from "../models/models_0";
|
|
5
6
|
import { ServiceInputTypes, ServiceOutputTypes, TnbClientResolvedConfig } from "../TnbClient";
|
|
6
7
|
/**
|
|
@@ -14,12 +15,18 @@ export { __MetadataBearer, $Command };
|
|
|
14
15
|
*/
|
|
15
16
|
export interface GetSolFunctionPackageContentCommandInput extends GetSolFunctionPackageContentInput {
|
|
16
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export type GetSolFunctionPackageContentCommandOutputType = Omit<GetSolFunctionPackageContentOutput, "packageContent"> & {
|
|
22
|
+
packageContent?: Uint8ArrayBlobAdapter;
|
|
23
|
+
};
|
|
17
24
|
/**
|
|
18
25
|
* @public
|
|
19
26
|
*
|
|
20
27
|
* The output of {@link GetSolFunctionPackageContentCommand}.
|
|
21
28
|
*/
|
|
22
|
-
export interface GetSolFunctionPackageContentCommandOutput extends
|
|
29
|
+
export interface GetSolFunctionPackageContentCommandOutput extends GetSolFunctionPackageContentCommandOutputType, __MetadataBearer {
|
|
23
30
|
}
|
|
24
31
|
/**
|
|
25
32
|
* @public
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { Uint8ArrayBlobAdapter } from "@aws-sdk/util-stream";
|
|
4
5
|
import { GetSolFunctionPackageDescriptorInput, GetSolFunctionPackageDescriptorOutput } from "../models/models_0";
|
|
5
6
|
import { ServiceInputTypes, ServiceOutputTypes, TnbClientResolvedConfig } from "../TnbClient";
|
|
6
7
|
/**
|
|
@@ -14,12 +15,18 @@ export { __MetadataBearer, $Command };
|
|
|
14
15
|
*/
|
|
15
16
|
export interface GetSolFunctionPackageDescriptorCommandInput extends GetSolFunctionPackageDescriptorInput {
|
|
16
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export type GetSolFunctionPackageDescriptorCommandOutputType = Omit<GetSolFunctionPackageDescriptorOutput, "vnfd"> & {
|
|
22
|
+
vnfd?: Uint8ArrayBlobAdapter;
|
|
23
|
+
};
|
|
17
24
|
/**
|
|
18
25
|
* @public
|
|
19
26
|
*
|
|
20
27
|
* The output of {@link GetSolFunctionPackageDescriptorCommand}.
|
|
21
28
|
*/
|
|
22
|
-
export interface GetSolFunctionPackageDescriptorCommandOutput extends
|
|
29
|
+
export interface GetSolFunctionPackageDescriptorCommandOutput extends GetSolFunctionPackageDescriptorCommandOutputType, __MetadataBearer {
|
|
23
30
|
}
|
|
24
31
|
/**
|
|
25
32
|
* @public
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { Uint8ArrayBlobAdapter } from "@aws-sdk/util-stream";
|
|
4
5
|
import { GetSolNetworkPackageContentInput, GetSolNetworkPackageContentOutput } from "../models/models_0";
|
|
5
6
|
import { ServiceInputTypes, ServiceOutputTypes, TnbClientResolvedConfig } from "../TnbClient";
|
|
6
7
|
/**
|
|
@@ -14,12 +15,18 @@ export { __MetadataBearer, $Command };
|
|
|
14
15
|
*/
|
|
15
16
|
export interface GetSolNetworkPackageContentCommandInput extends GetSolNetworkPackageContentInput {
|
|
16
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export type GetSolNetworkPackageContentCommandOutputType = Omit<GetSolNetworkPackageContentOutput, "nsdContent"> & {
|
|
22
|
+
nsdContent?: Uint8ArrayBlobAdapter;
|
|
23
|
+
};
|
|
17
24
|
/**
|
|
18
25
|
* @public
|
|
19
26
|
*
|
|
20
27
|
* The output of {@link GetSolNetworkPackageContentCommand}.
|
|
21
28
|
*/
|
|
22
|
-
export interface GetSolNetworkPackageContentCommandOutput extends
|
|
29
|
+
export interface GetSolNetworkPackageContentCommandOutput extends GetSolNetworkPackageContentCommandOutputType, __MetadataBearer {
|
|
23
30
|
}
|
|
24
31
|
/**
|
|
25
32
|
* @public
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { Uint8ArrayBlobAdapter } from "@aws-sdk/util-stream";
|
|
4
5
|
import { GetSolNetworkPackageDescriptorInput, GetSolNetworkPackageDescriptorOutput } from "../models/models_0";
|
|
5
6
|
import { ServiceInputTypes, ServiceOutputTypes, TnbClientResolvedConfig } from "../TnbClient";
|
|
6
7
|
/**
|
|
@@ -14,12 +15,18 @@ export { __MetadataBearer, $Command };
|
|
|
14
15
|
*/
|
|
15
16
|
export interface GetSolNetworkPackageDescriptorCommandInput extends GetSolNetworkPackageDescriptorInput {
|
|
16
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export type GetSolNetworkPackageDescriptorCommandOutputType = Omit<GetSolNetworkPackageDescriptorOutput, "nsd"> & {
|
|
22
|
+
nsd?: Uint8ArrayBlobAdapter;
|
|
23
|
+
};
|
|
17
24
|
/**
|
|
18
25
|
* @public
|
|
19
26
|
*
|
|
20
27
|
* The output of {@link GetSolNetworkPackageDescriptorCommand}.
|
|
21
28
|
*/
|
|
22
|
-
export interface GetSolNetworkPackageDescriptorCommandOutput extends
|
|
29
|
+
export interface GetSolNetworkPackageDescriptorCommandOutput extends GetSolNetworkPackageDescriptorCommandOutputType, __MetadataBearer {
|
|
23
30
|
}
|
|
24
31
|
/**
|
|
25
32
|
* @public
|
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { BlobTypes, Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { PutSolFunctionPackageContentInput, PutSolFunctionPackageContentOutput } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TnbClientResolvedConfig } from "../TnbClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
9
|
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type PutSolFunctionPackageContentCommandInputType = Omit<PutSolFunctionPackageContentInput, "file"> & {
|
|
14
|
+
file: BlobTypes;
|
|
15
|
+
};
|
|
10
16
|
/**
|
|
11
17
|
* @public
|
|
12
18
|
*
|
|
13
19
|
* The input for {@link PutSolFunctionPackageContentCommand}.
|
|
14
20
|
*/
|
|
15
|
-
export interface PutSolFunctionPackageContentCommandInput extends
|
|
21
|
+
export interface PutSolFunctionPackageContentCommandInput extends PutSolFunctionPackageContentCommandInputType {
|
|
16
22
|
}
|
|
17
23
|
/**
|
|
18
24
|
* @public
|
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { BlobTypes, Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { PutSolNetworkPackageContentInput, PutSolNetworkPackageContentOutput } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TnbClientResolvedConfig } from "../TnbClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
9
|
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type PutSolNetworkPackageContentCommandInputType = Omit<PutSolNetworkPackageContentInput, "file"> & {
|
|
14
|
+
file: BlobTypes;
|
|
15
|
+
};
|
|
10
16
|
/**
|
|
11
17
|
* @public
|
|
12
18
|
*
|
|
13
19
|
* The input for {@link PutSolNetworkPackageContentCommand}.
|
|
14
20
|
*/
|
|
15
|
-
export interface PutSolNetworkPackageContentCommandInput extends
|
|
21
|
+
export interface PutSolNetworkPackageContentCommandInput extends PutSolNetworkPackageContentCommandInputType {
|
|
16
22
|
}
|
|
17
23
|
/**
|
|
18
24
|
* @public
|
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { BlobTypes, Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ValidateSolFunctionPackageContentInput, ValidateSolFunctionPackageContentOutput } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TnbClientResolvedConfig } from "../TnbClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
9
|
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type ValidateSolFunctionPackageContentCommandInputType = Omit<ValidateSolFunctionPackageContentInput, "file"> & {
|
|
14
|
+
file: BlobTypes;
|
|
15
|
+
};
|
|
10
16
|
/**
|
|
11
17
|
* @public
|
|
12
18
|
*
|
|
13
19
|
* The input for {@link ValidateSolFunctionPackageContentCommand}.
|
|
14
20
|
*/
|
|
15
|
-
export interface ValidateSolFunctionPackageContentCommandInput extends
|
|
21
|
+
export interface ValidateSolFunctionPackageContentCommandInput extends ValidateSolFunctionPackageContentCommandInputType {
|
|
16
22
|
}
|
|
17
23
|
/**
|
|
18
24
|
* @public
|
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { BlobTypes, Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ValidateSolNetworkPackageContentInput, ValidateSolNetworkPackageContentOutput } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TnbClientResolvedConfig } from "../TnbClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
9
|
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type ValidateSolNetworkPackageContentCommandInputType = Omit<ValidateSolNetworkPackageContentInput, "file"> & {
|
|
14
|
+
file: BlobTypes;
|
|
15
|
+
};
|
|
10
16
|
/**
|
|
11
17
|
* @public
|
|
12
18
|
*
|
|
13
19
|
* The input for {@link ValidateSolNetworkPackageContentCommand}.
|
|
14
20
|
*/
|
|
15
|
-
export interface ValidateSolNetworkPackageContentCommandInput extends
|
|
21
|
+
export interface ValidateSolNetworkPackageContentCommandInput extends ValidateSolNetworkPackageContentCommandInputType {
|
|
16
22
|
}
|
|
17
23
|
/**
|
|
18
24
|
* @public
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
MetadataBearer as __MetadataBearer,
|
|
7
7
|
MiddlewareStack,
|
|
8
8
|
} from "@aws-sdk/types";
|
|
9
|
+
import { Uint8ArrayBlobAdapter } from "@aws-sdk/util-stream";
|
|
9
10
|
import {
|
|
10
11
|
GetSolFunctionPackageContentInput,
|
|
11
12
|
GetSolFunctionPackageContentOutput,
|
|
@@ -18,8 +19,14 @@ import {
|
|
|
18
19
|
export { __MetadataBearer, $Command };
|
|
19
20
|
export interface GetSolFunctionPackageContentCommandInput
|
|
20
21
|
extends GetSolFunctionPackageContentInput {}
|
|
22
|
+
export type GetSolFunctionPackageContentCommandOutputType = Pick<
|
|
23
|
+
GetSolFunctionPackageContentOutput,
|
|
24
|
+
Exclude<keyof GetSolFunctionPackageContentOutput, "packageContent">
|
|
25
|
+
> & {
|
|
26
|
+
packageContent?: Uint8ArrayBlobAdapter;
|
|
27
|
+
};
|
|
21
28
|
export interface GetSolFunctionPackageContentCommandOutput
|
|
22
|
-
extends
|
|
29
|
+
extends GetSolFunctionPackageContentCommandOutputType,
|
|
23
30
|
__MetadataBearer {}
|
|
24
31
|
export declare class GetSolFunctionPackageContentCommand extends $Command<
|
|
25
32
|
GetSolFunctionPackageContentCommandInput,
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
MetadataBearer as __MetadataBearer,
|
|
7
7
|
MiddlewareStack,
|
|
8
8
|
} from "@aws-sdk/types";
|
|
9
|
+
import { Uint8ArrayBlobAdapter } from "@aws-sdk/util-stream";
|
|
9
10
|
import {
|
|
10
11
|
GetSolFunctionPackageDescriptorInput,
|
|
11
12
|
GetSolFunctionPackageDescriptorOutput,
|
|
@@ -18,8 +19,14 @@ import {
|
|
|
18
19
|
export { __MetadataBearer, $Command };
|
|
19
20
|
export interface GetSolFunctionPackageDescriptorCommandInput
|
|
20
21
|
extends GetSolFunctionPackageDescriptorInput {}
|
|
22
|
+
export type GetSolFunctionPackageDescriptorCommandOutputType = Pick<
|
|
23
|
+
GetSolFunctionPackageDescriptorOutput,
|
|
24
|
+
Exclude<keyof GetSolFunctionPackageDescriptorOutput, "vnfd">
|
|
25
|
+
> & {
|
|
26
|
+
vnfd?: Uint8ArrayBlobAdapter;
|
|
27
|
+
};
|
|
21
28
|
export interface GetSolFunctionPackageDescriptorCommandOutput
|
|
22
|
-
extends
|
|
29
|
+
extends GetSolFunctionPackageDescriptorCommandOutputType,
|
|
23
30
|
__MetadataBearer {}
|
|
24
31
|
export declare class GetSolFunctionPackageDescriptorCommand extends $Command<
|
|
25
32
|
GetSolFunctionPackageDescriptorCommandInput,
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
MetadataBearer as __MetadataBearer,
|
|
7
7
|
MiddlewareStack,
|
|
8
8
|
} from "@aws-sdk/types";
|
|
9
|
+
import { Uint8ArrayBlobAdapter } from "@aws-sdk/util-stream";
|
|
9
10
|
import {
|
|
10
11
|
GetSolNetworkPackageContentInput,
|
|
11
12
|
GetSolNetworkPackageContentOutput,
|
|
@@ -18,8 +19,14 @@ import {
|
|
|
18
19
|
export { __MetadataBearer, $Command };
|
|
19
20
|
export interface GetSolNetworkPackageContentCommandInput
|
|
20
21
|
extends GetSolNetworkPackageContentInput {}
|
|
22
|
+
export type GetSolNetworkPackageContentCommandOutputType = Pick<
|
|
23
|
+
GetSolNetworkPackageContentOutput,
|
|
24
|
+
Exclude<keyof GetSolNetworkPackageContentOutput, "nsdContent">
|
|
25
|
+
> & {
|
|
26
|
+
nsdContent?: Uint8ArrayBlobAdapter;
|
|
27
|
+
};
|
|
21
28
|
export interface GetSolNetworkPackageContentCommandOutput
|
|
22
|
-
extends
|
|
29
|
+
extends GetSolNetworkPackageContentCommandOutputType,
|
|
23
30
|
__MetadataBearer {}
|
|
24
31
|
export declare class GetSolNetworkPackageContentCommand extends $Command<
|
|
25
32
|
GetSolNetworkPackageContentCommandInput,
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
MetadataBearer as __MetadataBearer,
|
|
7
7
|
MiddlewareStack,
|
|
8
8
|
} from "@aws-sdk/types";
|
|
9
|
+
import { Uint8ArrayBlobAdapter } from "@aws-sdk/util-stream";
|
|
9
10
|
import {
|
|
10
11
|
GetSolNetworkPackageDescriptorInput,
|
|
11
12
|
GetSolNetworkPackageDescriptorOutput,
|
|
@@ -18,8 +19,14 @@ import {
|
|
|
18
19
|
export { __MetadataBearer, $Command };
|
|
19
20
|
export interface GetSolNetworkPackageDescriptorCommandInput
|
|
20
21
|
extends GetSolNetworkPackageDescriptorInput {}
|
|
22
|
+
export type GetSolNetworkPackageDescriptorCommandOutputType = Pick<
|
|
23
|
+
GetSolNetworkPackageDescriptorOutput,
|
|
24
|
+
Exclude<keyof GetSolNetworkPackageDescriptorOutput, "nsd">
|
|
25
|
+
> & {
|
|
26
|
+
nsd?: Uint8ArrayBlobAdapter;
|
|
27
|
+
};
|
|
21
28
|
export interface GetSolNetworkPackageDescriptorCommandOutput
|
|
22
|
-
extends
|
|
29
|
+
extends GetSolNetworkPackageDescriptorCommandOutputType,
|
|
23
30
|
__MetadataBearer {}
|
|
24
31
|
export declare class GetSolNetworkPackageDescriptorCommand extends $Command<
|
|
25
32
|
GetSolNetworkPackageDescriptorCommandInput,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import {
|
|
4
|
+
BlobTypes,
|
|
4
5
|
Handler,
|
|
5
6
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
7
|
MetadataBearer as __MetadataBearer,
|
|
@@ -16,8 +17,14 @@ import {
|
|
|
16
17
|
TnbClientResolvedConfig,
|
|
17
18
|
} from "../TnbClient";
|
|
18
19
|
export { __MetadataBearer, $Command };
|
|
20
|
+
export type PutSolFunctionPackageContentCommandInputType = Pick<
|
|
21
|
+
PutSolFunctionPackageContentInput,
|
|
22
|
+
Exclude<keyof PutSolFunctionPackageContentInput, "file">
|
|
23
|
+
> & {
|
|
24
|
+
file: BlobTypes;
|
|
25
|
+
};
|
|
19
26
|
export interface PutSolFunctionPackageContentCommandInput
|
|
20
|
-
extends
|
|
27
|
+
extends PutSolFunctionPackageContentCommandInputType {}
|
|
21
28
|
export interface PutSolFunctionPackageContentCommandOutput
|
|
22
29
|
extends PutSolFunctionPackageContentOutput,
|
|
23
30
|
__MetadataBearer {}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import {
|
|
4
|
+
BlobTypes,
|
|
4
5
|
Handler,
|
|
5
6
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
7
|
MetadataBearer as __MetadataBearer,
|
|
@@ -16,8 +17,14 @@ import {
|
|
|
16
17
|
TnbClientResolvedConfig,
|
|
17
18
|
} from "../TnbClient";
|
|
18
19
|
export { __MetadataBearer, $Command };
|
|
20
|
+
export type PutSolNetworkPackageContentCommandInputType = Pick<
|
|
21
|
+
PutSolNetworkPackageContentInput,
|
|
22
|
+
Exclude<keyof PutSolNetworkPackageContentInput, "file">
|
|
23
|
+
> & {
|
|
24
|
+
file: BlobTypes;
|
|
25
|
+
};
|
|
19
26
|
export interface PutSolNetworkPackageContentCommandInput
|
|
20
|
-
extends
|
|
27
|
+
extends PutSolNetworkPackageContentCommandInputType {}
|
|
21
28
|
export interface PutSolNetworkPackageContentCommandOutput
|
|
22
29
|
extends PutSolNetworkPackageContentOutput,
|
|
23
30
|
__MetadataBearer {}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import {
|
|
4
|
+
BlobTypes,
|
|
4
5
|
Handler,
|
|
5
6
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
7
|
MetadataBearer as __MetadataBearer,
|
|
@@ -16,8 +17,14 @@ import {
|
|
|
16
17
|
TnbClientResolvedConfig,
|
|
17
18
|
} from "../TnbClient";
|
|
18
19
|
export { __MetadataBearer, $Command };
|
|
20
|
+
export type ValidateSolFunctionPackageContentCommandInputType = Pick<
|
|
21
|
+
ValidateSolFunctionPackageContentInput,
|
|
22
|
+
Exclude<keyof ValidateSolFunctionPackageContentInput, "file">
|
|
23
|
+
> & {
|
|
24
|
+
file: BlobTypes;
|
|
25
|
+
};
|
|
19
26
|
export interface ValidateSolFunctionPackageContentCommandInput
|
|
20
|
-
extends
|
|
27
|
+
extends ValidateSolFunctionPackageContentCommandInputType {}
|
|
21
28
|
export interface ValidateSolFunctionPackageContentCommandOutput
|
|
22
29
|
extends ValidateSolFunctionPackageContentOutput,
|
|
23
30
|
__MetadataBearer {}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import {
|
|
4
|
+
BlobTypes,
|
|
4
5
|
Handler,
|
|
5
6
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
7
|
MetadataBearer as __MetadataBearer,
|
|
@@ -16,8 +17,14 @@ import {
|
|
|
16
17
|
TnbClientResolvedConfig,
|
|
17
18
|
} from "../TnbClient";
|
|
18
19
|
export { __MetadataBearer, $Command };
|
|
20
|
+
export type ValidateSolNetworkPackageContentCommandInputType = Pick<
|
|
21
|
+
ValidateSolNetworkPackageContentInput,
|
|
22
|
+
Exclude<keyof ValidateSolNetworkPackageContentInput, "file">
|
|
23
|
+
> & {
|
|
24
|
+
file: BlobTypes;
|
|
25
|
+
};
|
|
19
26
|
export interface ValidateSolNetworkPackageContentCommandInput
|
|
20
|
-
extends
|
|
27
|
+
extends ValidateSolNetworkPackageContentCommandInputType {}
|
|
21
28
|
export interface ValidateSolNetworkPackageContentCommandOutput
|
|
22
29
|
extends ValidateSolNetworkPackageContentOutput,
|
|
23
30
|
__MetadataBearer {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-tnb",
|
|
3
3
|
"description": "AWS SDK for JavaScript Tnb Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.357.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,36 +21,37 @@
|
|
|
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/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.357.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.357.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.357.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.357.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.357.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.357.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.357.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.357.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.357.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.357.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.357.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.357.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.357.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.357.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.357.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.357.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.357.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.357.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.357.0",
|
|
43
|
+
"@aws-sdk/types": "3.357.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.357.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-
|
|
53
|
-
"@aws-sdk/util-user-agent-
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.357.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.357.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.357.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.357.0",
|
|
52
|
+
"@aws-sdk/util-stream": "3.357.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.357.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.357.0",
|
|
54
55
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
56
|
"@smithy/protocol-http": "^1.0.1",
|
|
56
57
|
"@smithy/types": "^1.0.0",
|