@aws-sdk/client-tnb 3.276.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/LICENSE +201 -0
- package/README.md +205 -0
- package/dist-cjs/Tnb.js +502 -0
- package/dist-cjs/TnbClient.js +40 -0
- package/dist-cjs/commands/CancelSolNetworkOperationCommand.js +46 -0
- package/dist-cjs/commands/CreateSolFunctionPackageCommand.js +46 -0
- package/dist-cjs/commands/CreateSolNetworkInstanceCommand.js +46 -0
- package/dist-cjs/commands/CreateSolNetworkPackageCommand.js +46 -0
- package/dist-cjs/commands/DeleteSolFunctionPackageCommand.js +46 -0
- package/dist-cjs/commands/DeleteSolNetworkInstanceCommand.js +46 -0
- package/dist-cjs/commands/DeleteSolNetworkPackageCommand.js +46 -0
- package/dist-cjs/commands/GetSolFunctionInstanceCommand.js +46 -0
- package/dist-cjs/commands/GetSolFunctionPackageCommand.js +46 -0
- package/dist-cjs/commands/GetSolFunctionPackageContentCommand.js +46 -0
- package/dist-cjs/commands/GetSolFunctionPackageDescriptorCommand.js +46 -0
- package/dist-cjs/commands/GetSolNetworkInstanceCommand.js +46 -0
- package/dist-cjs/commands/GetSolNetworkOperationCommand.js +46 -0
- package/dist-cjs/commands/GetSolNetworkPackageCommand.js +46 -0
- package/dist-cjs/commands/GetSolNetworkPackageContentCommand.js +46 -0
- package/dist-cjs/commands/GetSolNetworkPackageDescriptorCommand.js +46 -0
- package/dist-cjs/commands/InstantiateSolNetworkInstanceCommand.js +46 -0
- package/dist-cjs/commands/ListSolFunctionInstancesCommand.js +46 -0
- package/dist-cjs/commands/ListSolFunctionPackagesCommand.js +46 -0
- package/dist-cjs/commands/ListSolNetworkInstancesCommand.js +46 -0
- package/dist-cjs/commands/ListSolNetworkOperationsCommand.js +46 -0
- package/dist-cjs/commands/ListSolNetworkPackagesCommand.js +46 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-cjs/commands/PutSolFunctionPackageContentCommand.js +46 -0
- package/dist-cjs/commands/PutSolNetworkPackageContentCommand.js +46 -0
- package/dist-cjs/commands/TagResourceCommand.js +46 -0
- package/dist-cjs/commands/TerminateSolNetworkInstanceCommand.js +46 -0
- package/dist-cjs/commands/UntagResourceCommand.js +46 -0
- package/dist-cjs/commands/UpdateSolFunctionPackageCommand.js +46 -0
- package/dist-cjs/commands/UpdateSolNetworkInstanceCommand.js +46 -0
- package/dist-cjs/commands/UpdateSolNetworkPackageCommand.js +46 -0
- package/dist-cjs/commands/ValidateSolFunctionPackageContentCommand.js +46 -0
- package/dist-cjs/commands/ValidateSolNetworkPackageContentCommand.js +46 -0
- package/dist-cjs/commands/index.js +36 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/TnbServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +559 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListSolFunctionInstancesPaginator.js +36 -0
- package/dist-cjs/pagination/ListSolFunctionPackagesPaginator.js +36 -0
- package/dist-cjs/pagination/ListSolNetworkInstancesPaginator.js +36 -0
- package/dist-cjs/pagination/ListSolNetworkOperationsPaginator.js +36 -0
- package/dist-cjs/pagination/ListSolNetworkPackagesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2944 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +48 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +21 -0
- package/dist-es/Tnb.js +498 -0
- package/dist-es/TnbClient.js +36 -0
- package/dist-es/commands/CancelSolNetworkOperationCommand.js +42 -0
- package/dist-es/commands/CreateSolFunctionPackageCommand.js +42 -0
- package/dist-es/commands/CreateSolNetworkInstanceCommand.js +42 -0
- package/dist-es/commands/CreateSolNetworkPackageCommand.js +42 -0
- package/dist-es/commands/DeleteSolFunctionPackageCommand.js +42 -0
- package/dist-es/commands/DeleteSolNetworkInstanceCommand.js +42 -0
- package/dist-es/commands/DeleteSolNetworkPackageCommand.js +42 -0
- package/dist-es/commands/GetSolFunctionInstanceCommand.js +42 -0
- package/dist-es/commands/GetSolFunctionPackageCommand.js +42 -0
- package/dist-es/commands/GetSolFunctionPackageContentCommand.js +42 -0
- package/dist-es/commands/GetSolFunctionPackageDescriptorCommand.js +42 -0
- package/dist-es/commands/GetSolNetworkInstanceCommand.js +42 -0
- package/dist-es/commands/GetSolNetworkOperationCommand.js +42 -0
- package/dist-es/commands/GetSolNetworkPackageCommand.js +42 -0
- package/dist-es/commands/GetSolNetworkPackageContentCommand.js +42 -0
- package/dist-es/commands/GetSolNetworkPackageDescriptorCommand.js +42 -0
- package/dist-es/commands/InstantiateSolNetworkInstanceCommand.js +42 -0
- package/dist-es/commands/ListSolFunctionInstancesCommand.js +42 -0
- package/dist-es/commands/ListSolFunctionPackagesCommand.js +42 -0
- package/dist-es/commands/ListSolNetworkInstancesCommand.js +42 -0
- package/dist-es/commands/ListSolNetworkOperationsCommand.js +42 -0
- package/dist-es/commands/ListSolNetworkPackagesCommand.js +42 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
- package/dist-es/commands/PutSolFunctionPackageContentCommand.js +42 -0
- package/dist-es/commands/PutSolNetworkPackageContentCommand.js +42 -0
- package/dist-es/commands/TagResourceCommand.js +42 -0
- package/dist-es/commands/TerminateSolNetworkInstanceCommand.js +42 -0
- package/dist-es/commands/UntagResourceCommand.js +42 -0
- package/dist-es/commands/UpdateSolFunctionPackageCommand.js +42 -0
- package/dist-es/commands/UpdateSolNetworkInstanceCommand.js +42 -0
- package/dist-es/commands/UpdateSolNetworkPackageCommand.js +42 -0
- package/dist-es/commands/ValidateSolFunctionPackageContentCommand.js +42 -0
- package/dist-es/commands/ValidateSolNetworkPackageContentCommand.js +42 -0
- package/dist-es/commands/index.js +33 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/TnbServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +455 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListSolFunctionInstancesPaginator.js +32 -0
- package/dist-es/pagination/ListSolFunctionPackagesPaginator.js +32 -0
- package/dist-es/pagination/ListSolNetworkInstancesPaginator.js +32 -0
- package/dist-es/pagination/ListSolNetworkOperationsPaginator.js +32 -0
- package/dist-es/pagination/ListSolNetworkPackagesPaginator.js +32 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +2874 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +43 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +17 -0
- package/dist-types/Tnb.d.ts +284 -0
- package/dist-types/TnbClient.d.ts +174 -0
- package/dist-types/commands/CancelSolNetworkOperationCommand.d.ts +38 -0
- package/dist-types/commands/CreateSolFunctionPackageCommand.d.ts +40 -0
- package/dist-types/commands/CreateSolNetworkInstanceCommand.d.ts +39 -0
- package/dist-types/commands/CreateSolNetworkPackageCommand.d.ts +41 -0
- package/dist-types/commands/DeleteSolFunctionPackageCommand.d.ts +40 -0
- package/dist-types/commands/DeleteSolNetworkInstanceCommand.d.ts +39 -0
- package/dist-types/commands/DeleteSolNetworkPackageCommand.d.ts +39 -0
- package/dist-types/commands/GetSolFunctionInstanceCommand.d.ts +38 -0
- package/dist-types/commands/GetSolFunctionPackageCommand.d.ts +38 -0
- package/dist-types/commands/GetSolFunctionPackageContentCommand.d.ts +38 -0
- package/dist-types/commands/GetSolFunctionPackageDescriptorCommand.d.ts +39 -0
- package/dist-types/commands/GetSolNetworkInstanceCommand.d.ts +38 -0
- package/dist-types/commands/GetSolNetworkOperationCommand.d.ts +38 -0
- package/dist-types/commands/GetSolNetworkPackageCommand.d.ts +38 -0
- package/dist-types/commands/GetSolNetworkPackageContentCommand.d.ts +38 -0
- package/dist-types/commands/GetSolNetworkPackageDescriptorCommand.d.ts +38 -0
- package/dist-types/commands/InstantiateSolNetworkInstanceCommand.d.ts +39 -0
- package/dist-types/commands/ListSolFunctionInstancesCommand.d.ts +38 -0
- package/dist-types/commands/ListSolFunctionPackagesCommand.d.ts +38 -0
- package/dist-types/commands/ListSolNetworkInstancesCommand.d.ts +38 -0
- package/dist-types/commands/ListSolNetworkOperationsCommand.d.ts +38 -0
- package/dist-types/commands/ListSolNetworkPackagesCommand.d.ts +38 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +37 -0
- package/dist-types/commands/PutSolFunctionPackageContentCommand.d.ts +38 -0
- package/dist-types/commands/PutSolNetworkPackageContentCommand.d.ts +38 -0
- package/dist-types/commands/TagResourceCommand.d.ts +38 -0
- package/dist-types/commands/TerminateSolNetworkInstanceCommand.d.ts +39 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/commands/UpdateSolFunctionPackageCommand.d.ts +38 -0
- package/dist-types/commands/UpdateSolNetworkInstanceCommand.d.ts +38 -0
- package/dist-types/commands/UpdateSolNetworkPackageCommand.d.ts +39 -0
- package/dist-types/commands/ValidateSolFunctionPackageContentCommand.d.ts +38 -0
- package/dist-types/commands/ValidateSolNetworkPackageContentCommand.d.ts +38 -0
- package/dist-types/commands/index.d.ts +33 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/TnbServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1935 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListSolFunctionInstancesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSolFunctionPackagesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSolNetworkInstancesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSolNetworkOperationsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSolNetworkPackagesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +101 -0
- package/dist-types/runtimeConfig.browser.d.ts +42 -0
- package/dist-types/runtimeConfig.d.ts +42 -0
- package/dist-types/runtimeConfig.native.d.ts +41 -0
- package/dist-types/runtimeConfig.shared.d.ts +18 -0
- package/dist-types/ts3.4/Tnb.d.ts +571 -0
- package/dist-types/ts3.4/TnbClient.d.ts +309 -0
- package/dist-types/ts3.4/commands/CancelSolNetworkOperationCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/CreateSolFunctionPackageCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateSolNetworkInstanceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateSolNetworkPackageCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteSolFunctionPackageCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteSolNetworkInstanceCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteSolNetworkPackageCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetSolFunctionInstanceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetSolFunctionPackageCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetSolFunctionPackageContentCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetSolFunctionPackageDescriptorCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetSolNetworkInstanceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetSolNetworkOperationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetSolNetworkPackageCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetSolNetworkPackageContentCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetSolNetworkPackageDescriptorCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/InstantiateSolNetworkInstanceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListSolFunctionInstancesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListSolFunctionPackagesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListSolNetworkInstancesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListSolNetworkOperationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListSolNetworkPackagesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutSolFunctionPackageContentCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/PutSolNetworkPackageContentCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/TerminateSolNetworkInstanceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UpdateSolFunctionPackageCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateSolNetworkInstanceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateSolNetworkPackageCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ValidateSolFunctionPackageContentCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ValidateSolNetworkPackageContentCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/TnbServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +855 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListSolFunctionInstancesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSolFunctionPackagesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSolNetworkInstancesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSolNetworkOperationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSolNetworkPackagesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +401 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +80 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -0
- package/package.json +102 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CancelSolNetworkOperationInputFilterSensitiveLog } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CancelSolNetworkOperationCommand, serializeAws_restJson1CancelSolNetworkOperationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class CancelSolNetworkOperationCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CancelSolNetworkOperationCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "TnbClient";
|
|
25
|
+
const commandName = "CancelSolNetworkOperationCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: CancelSolNetworkOperationInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: (output) => output,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1CancelSolNetworkOperationCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1CancelSolNetworkOperationCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateSolFunctionPackageInputFilterSensitiveLog, CreateSolFunctionPackageOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateSolFunctionPackageCommand, serializeAws_restJson1CreateSolFunctionPackageCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class CreateSolFunctionPackageCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateSolFunctionPackageCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "TnbClient";
|
|
25
|
+
const commandName = "CreateSolFunctionPackageCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: CreateSolFunctionPackageInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: CreateSolFunctionPackageOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1CreateSolFunctionPackageCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1CreateSolFunctionPackageCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateSolNetworkInstanceInputFilterSensitiveLog, CreateSolNetworkInstanceOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateSolNetworkInstanceCommand, serializeAws_restJson1CreateSolNetworkInstanceCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class CreateSolNetworkInstanceCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateSolNetworkInstanceCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "TnbClient";
|
|
25
|
+
const commandName = "CreateSolNetworkInstanceCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: CreateSolNetworkInstanceInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: CreateSolNetworkInstanceOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1CreateSolNetworkInstanceCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1CreateSolNetworkInstanceCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateSolNetworkPackageInputFilterSensitiveLog, CreateSolNetworkPackageOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateSolNetworkPackageCommand, serializeAws_restJson1CreateSolNetworkPackageCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class CreateSolNetworkPackageCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateSolNetworkPackageCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "TnbClient";
|
|
25
|
+
const commandName = "CreateSolNetworkPackageCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: CreateSolNetworkPackageInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: CreateSolNetworkPackageOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1CreateSolNetworkPackageCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1CreateSolNetworkPackageCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteSolFunctionPackageInputFilterSensitiveLog } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DeleteSolFunctionPackageCommand, serializeAws_restJson1DeleteSolFunctionPackageCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class DeleteSolFunctionPackageCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteSolFunctionPackageCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "TnbClient";
|
|
25
|
+
const commandName = "DeleteSolFunctionPackageCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: DeleteSolFunctionPackageInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: (output) => output,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1DeleteSolFunctionPackageCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1DeleteSolFunctionPackageCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteSolNetworkInstanceInputFilterSensitiveLog } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DeleteSolNetworkInstanceCommand, serializeAws_restJson1DeleteSolNetworkInstanceCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class DeleteSolNetworkInstanceCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteSolNetworkInstanceCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "TnbClient";
|
|
25
|
+
const commandName = "DeleteSolNetworkInstanceCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: DeleteSolNetworkInstanceInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: (output) => output,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1DeleteSolNetworkInstanceCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1DeleteSolNetworkInstanceCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteSolNetworkPackageInputFilterSensitiveLog } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DeleteSolNetworkPackageCommand, serializeAws_restJson1DeleteSolNetworkPackageCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class DeleteSolNetworkPackageCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteSolNetworkPackageCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "TnbClient";
|
|
25
|
+
const commandName = "DeleteSolNetworkPackageCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: DeleteSolNetworkPackageInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: (output) => output,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1DeleteSolNetworkPackageCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1DeleteSolNetworkPackageCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetSolFunctionInstanceInputFilterSensitiveLog, GetSolFunctionInstanceOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetSolFunctionInstanceCommand, serializeAws_restJson1GetSolFunctionInstanceCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class GetSolFunctionInstanceCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetSolFunctionInstanceCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "TnbClient";
|
|
25
|
+
const commandName = "GetSolFunctionInstanceCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: GetSolFunctionInstanceInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: GetSolFunctionInstanceOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1GetSolFunctionInstanceCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1GetSolFunctionInstanceCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetSolFunctionPackageInputFilterSensitiveLog, GetSolFunctionPackageOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetSolFunctionPackageCommand, serializeAws_restJson1GetSolFunctionPackageCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class GetSolFunctionPackageCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetSolFunctionPackageCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "TnbClient";
|
|
25
|
+
const commandName = "GetSolFunctionPackageCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: GetSolFunctionPackageInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: GetSolFunctionPackageOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1GetSolFunctionPackageCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1GetSolFunctionPackageCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetSolFunctionPackageContentInputFilterSensitiveLog, GetSolFunctionPackageContentOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetSolFunctionPackageContentCommand, serializeAws_restJson1GetSolFunctionPackageContentCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class GetSolFunctionPackageContentCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetSolFunctionPackageContentCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "TnbClient";
|
|
25
|
+
const commandName = "GetSolFunctionPackageContentCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: GetSolFunctionPackageContentInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: GetSolFunctionPackageContentOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1GetSolFunctionPackageContentCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1GetSolFunctionPackageContentCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetSolFunctionPackageDescriptorInputFilterSensitiveLog, GetSolFunctionPackageDescriptorOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetSolFunctionPackageDescriptorCommand, serializeAws_restJson1GetSolFunctionPackageDescriptorCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class GetSolFunctionPackageDescriptorCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetSolFunctionPackageDescriptorCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "TnbClient";
|
|
25
|
+
const commandName = "GetSolFunctionPackageDescriptorCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: GetSolFunctionPackageDescriptorInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: GetSolFunctionPackageDescriptorOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1GetSolFunctionPackageDescriptorCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1GetSolFunctionPackageDescriptorCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetSolNetworkInstanceInputFilterSensitiveLog, GetSolNetworkInstanceOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetSolNetworkInstanceCommand, serializeAws_restJson1GetSolNetworkInstanceCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class GetSolNetworkInstanceCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetSolNetworkInstanceCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "TnbClient";
|
|
25
|
+
const commandName = "GetSolNetworkInstanceCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: GetSolNetworkInstanceInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: GetSolNetworkInstanceOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1GetSolNetworkInstanceCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1GetSolNetworkInstanceCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetSolNetworkOperationInputFilterSensitiveLog, GetSolNetworkOperationOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetSolNetworkOperationCommand, serializeAws_restJson1GetSolNetworkOperationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class GetSolNetworkOperationCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetSolNetworkOperationCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "TnbClient";
|
|
25
|
+
const commandName = "GetSolNetworkOperationCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: GetSolNetworkOperationInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: GetSolNetworkOperationOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1GetSolNetworkOperationCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1GetSolNetworkOperationCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetSolNetworkPackageInputFilterSensitiveLog, GetSolNetworkPackageOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetSolNetworkPackageCommand, serializeAws_restJson1GetSolNetworkPackageCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class GetSolNetworkPackageCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetSolNetworkPackageCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "TnbClient";
|
|
25
|
+
const commandName = "GetSolNetworkPackageCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: GetSolNetworkPackageInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: GetSolNetworkPackageOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1GetSolNetworkPackageCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1GetSolNetworkPackageCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetSolNetworkPackageContentInputFilterSensitiveLog, GetSolNetworkPackageContentOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetSolNetworkPackageContentCommand, serializeAws_restJson1GetSolNetworkPackageContentCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class GetSolNetworkPackageContentCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetSolNetworkPackageContentCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "TnbClient";
|
|
25
|
+
const commandName = "GetSolNetworkPackageContentCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: GetSolNetworkPackageContentInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: GetSolNetworkPackageContentOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1GetSolNetworkPackageContentCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1GetSolNetworkPackageContentCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|