@aws-sdk/client-serverlessapplicationrepository 3.35.0 → 3.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/dist-cjs/ServerlessApplicationRepository.js +0 -23
- package/dist-cjs/ServerlessApplicationRepositoryClient.js +0 -28
- package/dist-cjs/commands/CreateApplicationCommand.js +0 -25
- package/dist-cjs/commands/CreateApplicationVersionCommand.js +0 -25
- package/dist-cjs/commands/CreateCloudFormationChangeSetCommand.js +0 -25
- package/dist-cjs/commands/CreateCloudFormationTemplateCommand.js +0 -25
- package/dist-cjs/commands/DeleteApplicationCommand.js +0 -25
- package/dist-cjs/commands/GetApplicationCommand.js +0 -25
- package/dist-cjs/commands/GetApplicationPolicyCommand.js +0 -25
- package/dist-cjs/commands/GetCloudFormationTemplateCommand.js +0 -25
- package/dist-cjs/commands/ListApplicationDependenciesCommand.js +0 -25
- package/dist-cjs/commands/ListApplicationVersionsCommand.js +0 -25
- package/dist-cjs/commands/ListApplicationsCommand.js +0 -25
- package/dist-cjs/commands/PutApplicationPolicyCommand.js +0 -28
- package/dist-cjs/commands/UnshareApplicationCommand.js +0 -25
- package/dist-cjs/commands/UpdateApplicationCommand.js +0 -25
- package/dist-cjs/commands/index.js +17 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -21
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -127
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListApplicationDependenciesPaginator.js +0 -11
- package/dist-cjs/pagination/ListApplicationVersionsPaginator.js +0 -11
- package/dist-cjs/pagination/ListApplicationsPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_restJson1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/ServerlessApplicationRepository.js +0 -1
- package/dist-es/ServerlessApplicationRepositoryClient.js +0 -1
- package/dist-es/commands/CreateApplicationCommand.js +0 -1
- package/dist-es/commands/CreateApplicationVersionCommand.js +0 -1
- package/dist-es/commands/CreateCloudFormationChangeSetCommand.js +0 -1
- package/dist-es/commands/CreateCloudFormationTemplateCommand.js +0 -1
- package/dist-es/commands/DeleteApplicationCommand.js +0 -1
- package/dist-es/commands/GetApplicationCommand.js +0 -1
- package/dist-es/commands/GetApplicationPolicyCommand.js +0 -1
- package/dist-es/commands/GetCloudFormationTemplateCommand.js +0 -1
- package/dist-es/commands/ListApplicationDependenciesCommand.js +0 -1
- package/dist-es/commands/ListApplicationVersionsCommand.js +0 -1
- package/dist-es/commands/ListApplicationsCommand.js +0 -1
- package/dist-es/commands/PutApplicationPolicyCommand.js +0 -1
- package/dist-es/commands/UnshareApplicationCommand.js +0 -1
- package/dist-es/commands/UpdateApplicationCommand.js +0 -1
- package/dist-es/commands/index.js +14 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -21
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListApplicationDependenciesPaginator.js +0 -1
- package/dist-es/pagination/ListApplicationVersionsPaginator.js +0 -1
- package/dist-es/pagination/ListApplicationsPaginator.js +0 -1
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +14 -0
- package/dist-types/index.d.ts +4 -20
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/ServerlessApplicationRepository.d.ts +15 -67
- package/dist-types/ts3.4/ServerlessApplicationRepositoryClient.d.ts +24 -108
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateApplicationVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateCloudFormationChangeSetCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateCloudFormationTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetApplicationPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetCloudFormationTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListApplicationDependenciesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListApplicationVersionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutApplicationPolicyCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UnshareApplicationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +14 -0
- package/dist-types/ts3.4/index.d.ts +4 -20
- package/dist-types/ts3.4/models/models_0.d.ts +254 -895
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/ServerlessApplicationRepository.js.map +0 -1
- package/dist-cjs/ServerlessApplicationRepositoryClient.js.map +0 -1
- package/dist-cjs/commands/CreateApplicationCommand.js.map +0 -1
- package/dist-cjs/commands/CreateApplicationVersionCommand.js.map +0 -1
- package/dist-cjs/commands/CreateCloudFormationChangeSetCommand.js.map +0 -1
- package/dist-cjs/commands/CreateCloudFormationTemplateCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteApplicationCommand.js.map +0 -1
- package/dist-cjs/commands/GetApplicationCommand.js.map +0 -1
- package/dist-cjs/commands/GetApplicationPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/GetCloudFormationTemplateCommand.js.map +0 -1
- package/dist-cjs/commands/ListApplicationDependenciesCommand.js.map +0 -1
- package/dist-cjs/commands/ListApplicationVersionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListApplicationsCommand.js.map +0 -1
- package/dist-cjs/commands/PutApplicationPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/UnshareApplicationCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateApplicationCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListApplicationDependenciesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListApplicationVersionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListApplicationsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/ServerlessApplicationRepository.js.map +0 -1
- package/dist-es/ServerlessApplicationRepositoryClient.js.map +0 -1
- package/dist-es/commands/CreateApplicationCommand.js.map +0 -1
- package/dist-es/commands/CreateApplicationVersionCommand.js.map +0 -1
- package/dist-es/commands/CreateCloudFormationChangeSetCommand.js.map +0 -1
- package/dist-es/commands/CreateCloudFormationTemplateCommand.js.map +0 -1
- package/dist-es/commands/DeleteApplicationCommand.js.map +0 -1
- package/dist-es/commands/GetApplicationCommand.js.map +0 -1
- package/dist-es/commands/GetApplicationPolicyCommand.js.map +0 -1
- package/dist-es/commands/GetCloudFormationTemplateCommand.js.map +0 -1
- package/dist-es/commands/ListApplicationDependenciesCommand.js.map +0 -1
- package/dist-es/commands/ListApplicationVersionsCommand.js.map +0 -1
- package/dist-es/commands/ListApplicationsCommand.js.map +0 -1
- package/dist-es/commands/PutApplicationPolicyCommand.js.map +0 -1
- package/dist-es/commands/UnshareApplicationCommand.js.map +0 -1
- package/dist-es/commands/UpdateApplicationCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListApplicationDependenciesPaginator.js.map +0 -1
- package/dist-es/pagination/ListApplicationVersionsPaginator.js.map +0 -1
- package/dist-es/pagination/ListApplicationsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/ServerlessApplicationRepository.ts +0 -548
- package/src/ServerlessApplicationRepositoryClient.ts +0 -322
- package/src/commands/CreateApplicationCommand.ts +0 -99
- package/src/commands/CreateApplicationVersionCommand.ts +0 -99
- package/src/commands/CreateCloudFormationChangeSetCommand.ts +0 -104
- package/src/commands/CreateCloudFormationTemplateCommand.ts +0 -104
- package/src/commands/DeleteApplicationCommand.ts +0 -99
- package/src/commands/GetApplicationCommand.ts +0 -99
- package/src/commands/GetApplicationPolicyCommand.ts +0 -99
- package/src/commands/GetCloudFormationTemplateCommand.ts +0 -102
- package/src/commands/ListApplicationDependenciesCommand.ts +0 -104
- package/src/commands/ListApplicationVersionsCommand.ts +0 -99
- package/src/commands/ListApplicationsCommand.ts +0 -99
- package/src/commands/PutApplicationPolicyCommand.ts +0 -102
- package/src/commands/UnshareApplicationCommand.ts +0 -99
- package/src/commands/UpdateApplicationCommand.ts +0 -99
- package/src/endpoints.ts +0 -66
- package/src/index.ts +0 -21
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -1649
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListApplicationDependenciesPaginator.ts +0 -61
- package/src/pagination/ListApplicationVersionsPaginator.ts +0 -61
- package/src/pagination/ListApplicationsPaginator.ts +0 -61
- package/src/protocols/Aws_restJson1.ts +0 -2546
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CreateCloudFormationTemplateRequest, CreateCloudFormationTemplateResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1CreateCloudFormationTemplateCommand,
|
|
17
|
-
serializeAws_restJson1CreateCloudFormationTemplateCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import {
|
|
20
|
-
ServerlessApplicationRepositoryClientResolvedConfig,
|
|
21
|
-
ServiceInputTypes,
|
|
22
|
-
ServiceOutputTypes,
|
|
23
|
-
} from "../ServerlessApplicationRepositoryClient";
|
|
24
|
-
|
|
25
|
-
export interface CreateCloudFormationTemplateCommandInput extends CreateCloudFormationTemplateRequest {}
|
|
26
|
-
export interface CreateCloudFormationTemplateCommandOutput
|
|
27
|
-
extends CreateCloudFormationTemplateResponse,
|
|
28
|
-
__MetadataBearer {}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* <p>Creates an AWS CloudFormation template.</p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { ServerlessApplicationRepositoryClient, CreateCloudFormationTemplateCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
36
|
-
* // const { ServerlessApplicationRepositoryClient, CreateCloudFormationTemplateCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
37
|
-
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
38
|
-
* const command = new CreateCloudFormationTemplateCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link CreateCloudFormationTemplateCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link CreateCloudFormationTemplateCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class CreateCloudFormationTemplateCommand extends $Command<
|
|
48
|
-
CreateCloudFormationTemplateCommandInput,
|
|
49
|
-
CreateCloudFormationTemplateCommandOutput,
|
|
50
|
-
ServerlessApplicationRepositoryClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: CreateCloudFormationTemplateCommandInput) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
super();
|
|
58
|
-
// End section: command_constructor
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
resolveMiddleware(
|
|
65
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
66
|
-
configuration: ServerlessApplicationRepositoryClientResolvedConfig,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
68
|
-
): Handler<CreateCloudFormationTemplateCommandInput, CreateCloudFormationTemplateCommandOutput> {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
|
|
71
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
72
|
-
|
|
73
|
-
const { logger } = configuration;
|
|
74
|
-
const clientName = "ServerlessApplicationRepositoryClient";
|
|
75
|
-
const commandName = "CreateCloudFormationTemplateCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: CreateCloudFormationTemplateRequest.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: CreateCloudFormationTemplateResponse.filterSensitiveLog,
|
|
82
|
-
};
|
|
83
|
-
const { requestHandler } = configuration;
|
|
84
|
-
return stack.resolve(
|
|
85
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
86
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
87
|
-
handlerExecutionContext
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private serialize(input: CreateCloudFormationTemplateCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_restJson1CreateCloudFormationTemplateCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(
|
|
96
|
-
output: __HttpResponse,
|
|
97
|
-
context: __SerdeContext
|
|
98
|
-
): Promise<CreateCloudFormationTemplateCommandOutput> {
|
|
99
|
-
return deserializeAws_restJson1CreateCloudFormationTemplateCommand(output, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// Start section: command_body_extra
|
|
103
|
-
// End section: command_body_extra
|
|
104
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { DeleteApplicationRequest } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1DeleteApplicationCommand,
|
|
17
|
-
serializeAws_restJson1DeleteApplicationCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import {
|
|
20
|
-
ServerlessApplicationRepositoryClientResolvedConfig,
|
|
21
|
-
ServiceInputTypes,
|
|
22
|
-
ServiceOutputTypes,
|
|
23
|
-
} from "../ServerlessApplicationRepositoryClient";
|
|
24
|
-
|
|
25
|
-
export interface DeleteApplicationCommandInput extends DeleteApplicationRequest {}
|
|
26
|
-
export interface DeleteApplicationCommandOutput extends __MetadataBearer {}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* <p>Deletes the specified application.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { ServerlessApplicationRepositoryClient, DeleteApplicationCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
34
|
-
* // const { ServerlessApplicationRepositoryClient, DeleteApplicationCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
35
|
-
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
36
|
-
* const command = new DeleteApplicationCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link DeleteApplicationCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link DeleteApplicationCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class DeleteApplicationCommand extends $Command<
|
|
46
|
-
DeleteApplicationCommandInput,
|
|
47
|
-
DeleteApplicationCommandOutput,
|
|
48
|
-
ServerlessApplicationRepositoryClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: DeleteApplicationCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: ServerlessApplicationRepositoryClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<DeleteApplicationCommandInput, DeleteApplicationCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "ServerlessApplicationRepositoryClient";
|
|
73
|
-
const commandName = "DeleteApplicationCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: DeleteApplicationRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: DeleteApplicationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_restJson1DeleteApplicationCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteApplicationCommandOutput> {
|
|
94
|
-
return deserializeAws_restJson1DeleteApplicationCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { GetApplicationRequest, GetApplicationResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1GetApplicationCommand,
|
|
17
|
-
serializeAws_restJson1GetApplicationCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import {
|
|
20
|
-
ServerlessApplicationRepositoryClientResolvedConfig,
|
|
21
|
-
ServiceInputTypes,
|
|
22
|
-
ServiceOutputTypes,
|
|
23
|
-
} from "../ServerlessApplicationRepositoryClient";
|
|
24
|
-
|
|
25
|
-
export interface GetApplicationCommandInput extends GetApplicationRequest {}
|
|
26
|
-
export interface GetApplicationCommandOutput extends GetApplicationResponse, __MetadataBearer {}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* <p>Gets the specified application.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { ServerlessApplicationRepositoryClient, GetApplicationCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
34
|
-
* // const { ServerlessApplicationRepositoryClient, GetApplicationCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
35
|
-
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
36
|
-
* const command = new GetApplicationCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link GetApplicationCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link GetApplicationCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class GetApplicationCommand extends $Command<
|
|
46
|
-
GetApplicationCommandInput,
|
|
47
|
-
GetApplicationCommandOutput,
|
|
48
|
-
ServerlessApplicationRepositoryClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: GetApplicationCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: ServerlessApplicationRepositoryClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<GetApplicationCommandInput, GetApplicationCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "ServerlessApplicationRepositoryClient";
|
|
73
|
-
const commandName = "GetApplicationCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: GetApplicationRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: GetApplicationResponse.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: GetApplicationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_restJson1GetApplicationCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetApplicationCommandOutput> {
|
|
94
|
-
return deserializeAws_restJson1GetApplicationCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { GetApplicationPolicyRequest, GetApplicationPolicyResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1GetApplicationPolicyCommand,
|
|
17
|
-
serializeAws_restJson1GetApplicationPolicyCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import {
|
|
20
|
-
ServerlessApplicationRepositoryClientResolvedConfig,
|
|
21
|
-
ServiceInputTypes,
|
|
22
|
-
ServiceOutputTypes,
|
|
23
|
-
} from "../ServerlessApplicationRepositoryClient";
|
|
24
|
-
|
|
25
|
-
export interface GetApplicationPolicyCommandInput extends GetApplicationPolicyRequest {}
|
|
26
|
-
export interface GetApplicationPolicyCommandOutput extends GetApplicationPolicyResponse, __MetadataBearer {}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* <p>Retrieves the policy for the application.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { ServerlessApplicationRepositoryClient, GetApplicationPolicyCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
34
|
-
* // const { ServerlessApplicationRepositoryClient, GetApplicationPolicyCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
35
|
-
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
36
|
-
* const command = new GetApplicationPolicyCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link GetApplicationPolicyCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link GetApplicationPolicyCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class GetApplicationPolicyCommand extends $Command<
|
|
46
|
-
GetApplicationPolicyCommandInput,
|
|
47
|
-
GetApplicationPolicyCommandOutput,
|
|
48
|
-
ServerlessApplicationRepositoryClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: GetApplicationPolicyCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: ServerlessApplicationRepositoryClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<GetApplicationPolicyCommandInput, GetApplicationPolicyCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "ServerlessApplicationRepositoryClient";
|
|
73
|
-
const commandName = "GetApplicationPolicyCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: GetApplicationPolicyRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: GetApplicationPolicyResponse.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: GetApplicationPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_restJson1GetApplicationPolicyCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetApplicationPolicyCommandOutput> {
|
|
94
|
-
return deserializeAws_restJson1GetApplicationPolicyCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { GetCloudFormationTemplateRequest, GetCloudFormationTemplateResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1GetCloudFormationTemplateCommand,
|
|
17
|
-
serializeAws_restJson1GetCloudFormationTemplateCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import {
|
|
20
|
-
ServerlessApplicationRepositoryClientResolvedConfig,
|
|
21
|
-
ServiceInputTypes,
|
|
22
|
-
ServiceOutputTypes,
|
|
23
|
-
} from "../ServerlessApplicationRepositoryClient";
|
|
24
|
-
|
|
25
|
-
export interface GetCloudFormationTemplateCommandInput extends GetCloudFormationTemplateRequest {}
|
|
26
|
-
export interface GetCloudFormationTemplateCommandOutput extends GetCloudFormationTemplateResponse, __MetadataBearer {}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* <p>Gets the specified AWS CloudFormation template.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { ServerlessApplicationRepositoryClient, GetCloudFormationTemplateCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
34
|
-
* // const { ServerlessApplicationRepositoryClient, GetCloudFormationTemplateCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
35
|
-
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
36
|
-
* const command = new GetCloudFormationTemplateCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link GetCloudFormationTemplateCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link GetCloudFormationTemplateCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class GetCloudFormationTemplateCommand extends $Command<
|
|
46
|
-
GetCloudFormationTemplateCommandInput,
|
|
47
|
-
GetCloudFormationTemplateCommandOutput,
|
|
48
|
-
ServerlessApplicationRepositoryClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: GetCloudFormationTemplateCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: ServerlessApplicationRepositoryClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<GetCloudFormationTemplateCommandInput, GetCloudFormationTemplateCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "ServerlessApplicationRepositoryClient";
|
|
73
|
-
const commandName = "GetCloudFormationTemplateCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: GetCloudFormationTemplateRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: GetCloudFormationTemplateResponse.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: GetCloudFormationTemplateCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_restJson1GetCloudFormationTemplateCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(
|
|
94
|
-
output: __HttpResponse,
|
|
95
|
-
context: __SerdeContext
|
|
96
|
-
): Promise<GetCloudFormationTemplateCommandOutput> {
|
|
97
|
-
return deserializeAws_restJson1GetCloudFormationTemplateCommand(output, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Start section: command_body_extra
|
|
101
|
-
// End section: command_body_extra
|
|
102
|
-
}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { ListApplicationDependenciesRequest, ListApplicationDependenciesResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1ListApplicationDependenciesCommand,
|
|
17
|
-
serializeAws_restJson1ListApplicationDependenciesCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import {
|
|
20
|
-
ServerlessApplicationRepositoryClientResolvedConfig,
|
|
21
|
-
ServiceInputTypes,
|
|
22
|
-
ServiceOutputTypes,
|
|
23
|
-
} from "../ServerlessApplicationRepositoryClient";
|
|
24
|
-
|
|
25
|
-
export interface ListApplicationDependenciesCommandInput extends ListApplicationDependenciesRequest {}
|
|
26
|
-
export interface ListApplicationDependenciesCommandOutput
|
|
27
|
-
extends ListApplicationDependenciesResponse,
|
|
28
|
-
__MetadataBearer {}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* <p>Retrieves the list of applications nested in the containing application.</p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { ServerlessApplicationRepositoryClient, ListApplicationDependenciesCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
36
|
-
* // const { ServerlessApplicationRepositoryClient, ListApplicationDependenciesCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
37
|
-
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
38
|
-
* const command = new ListApplicationDependenciesCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link ListApplicationDependenciesCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link ListApplicationDependenciesCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class ListApplicationDependenciesCommand extends $Command<
|
|
48
|
-
ListApplicationDependenciesCommandInput,
|
|
49
|
-
ListApplicationDependenciesCommandOutput,
|
|
50
|
-
ServerlessApplicationRepositoryClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: ListApplicationDependenciesCommandInput) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
super();
|
|
58
|
-
// End section: command_constructor
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
resolveMiddleware(
|
|
65
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
66
|
-
configuration: ServerlessApplicationRepositoryClientResolvedConfig,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
68
|
-
): Handler<ListApplicationDependenciesCommandInput, ListApplicationDependenciesCommandOutput> {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
|
|
71
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
72
|
-
|
|
73
|
-
const { logger } = configuration;
|
|
74
|
-
const clientName = "ServerlessApplicationRepositoryClient";
|
|
75
|
-
const commandName = "ListApplicationDependenciesCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: ListApplicationDependenciesRequest.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: ListApplicationDependenciesResponse.filterSensitiveLog,
|
|
82
|
-
};
|
|
83
|
-
const { requestHandler } = configuration;
|
|
84
|
-
return stack.resolve(
|
|
85
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
86
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
87
|
-
handlerExecutionContext
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private serialize(input: ListApplicationDependenciesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_restJson1ListApplicationDependenciesCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(
|
|
96
|
-
output: __HttpResponse,
|
|
97
|
-
context: __SerdeContext
|
|
98
|
-
): Promise<ListApplicationDependenciesCommandOutput> {
|
|
99
|
-
return deserializeAws_restJson1ListApplicationDependenciesCommand(output, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// Start section: command_body_extra
|
|
103
|
-
// End section: command_body_extra
|
|
104
|
-
}
|