@aws-sdk/client-serverlessapplicationrepository 3.477.0 → 3.481.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.
Files changed (73) hide show
  1. package/dist-cjs/commands/CreateApplicationCommand.js +18 -41
  2. package/dist-cjs/commands/CreateApplicationVersionCommand.js +18 -41
  3. package/dist-cjs/commands/CreateCloudFormationChangeSetCommand.js +18 -41
  4. package/dist-cjs/commands/CreateCloudFormationTemplateCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteApplicationCommand.js +18 -41
  6. package/dist-cjs/commands/GetApplicationCommand.js +18 -41
  7. package/dist-cjs/commands/GetApplicationPolicyCommand.js +18 -41
  8. package/dist-cjs/commands/GetCloudFormationTemplateCommand.js +18 -41
  9. package/dist-cjs/commands/ListApplicationDependenciesCommand.js +18 -41
  10. package/dist-cjs/commands/ListApplicationVersionsCommand.js +18 -41
  11. package/dist-cjs/commands/ListApplicationsCommand.js +18 -41
  12. package/dist-cjs/commands/PutApplicationPolicyCommand.js +18 -41
  13. package/dist-cjs/commands/UnshareApplicationCommand.js +18 -41
  14. package/dist-cjs/commands/UpdateApplicationCommand.js +18 -41
  15. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  16. package/dist-cjs/pagination/ListApplicationDependenciesPaginator.js +2 -24
  17. package/dist-cjs/pagination/ListApplicationVersionsPaginator.js +2 -24
  18. package/dist-cjs/pagination/ListApplicationsPaginator.js +2 -24
  19. package/dist-es/commands/CreateApplicationCommand.js +18 -41
  20. package/dist-es/commands/CreateApplicationVersionCommand.js +18 -41
  21. package/dist-es/commands/CreateCloudFormationChangeSetCommand.js +18 -41
  22. package/dist-es/commands/CreateCloudFormationTemplateCommand.js +18 -41
  23. package/dist-es/commands/DeleteApplicationCommand.js +18 -41
  24. package/dist-es/commands/GetApplicationCommand.js +18 -41
  25. package/dist-es/commands/GetApplicationPolicyCommand.js +18 -41
  26. package/dist-es/commands/GetCloudFormationTemplateCommand.js +18 -41
  27. package/dist-es/commands/ListApplicationDependenciesCommand.js +18 -41
  28. package/dist-es/commands/ListApplicationVersionsCommand.js +18 -41
  29. package/dist-es/commands/ListApplicationsCommand.js +18 -41
  30. package/dist-es/commands/PutApplicationPolicyCommand.js +18 -41
  31. package/dist-es/commands/UnshareApplicationCommand.js +18 -41
  32. package/dist-es/commands/UpdateApplicationCommand.js +18 -41
  33. package/dist-es/endpoint/EndpointParameters.js +6 -0
  34. package/dist-es/pagination/ListApplicationDependenciesPaginator.js +2 -23
  35. package/dist-es/pagination/ListApplicationVersionsPaginator.js +2 -23
  36. package/dist-es/pagination/ListApplicationsPaginator.js +2 -23
  37. package/dist-types/commands/CreateApplicationCommand.d.ts +6 -21
  38. package/dist-types/commands/CreateApplicationVersionCommand.d.ts +6 -21
  39. package/dist-types/commands/CreateCloudFormationChangeSetCommand.d.ts +6 -21
  40. package/dist-types/commands/CreateCloudFormationTemplateCommand.d.ts +6 -21
  41. package/dist-types/commands/DeleteApplicationCommand.d.ts +6 -21
  42. package/dist-types/commands/GetApplicationCommand.d.ts +6 -21
  43. package/dist-types/commands/GetApplicationPolicyCommand.d.ts +6 -21
  44. package/dist-types/commands/GetCloudFormationTemplateCommand.d.ts +6 -21
  45. package/dist-types/commands/ListApplicationDependenciesCommand.d.ts +6 -21
  46. package/dist-types/commands/ListApplicationVersionsCommand.d.ts +6 -21
  47. package/dist-types/commands/ListApplicationsCommand.d.ts +6 -21
  48. package/dist-types/commands/PutApplicationPolicyCommand.d.ts +6 -21
  49. package/dist-types/commands/UnshareApplicationCommand.d.ts +6 -21
  50. package/dist-types/commands/UpdateApplicationCommand.d.ts +6 -21
  51. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  52. package/dist-types/pagination/ListApplicationDependenciesPaginator.d.ts +1 -1
  53. package/dist-types/pagination/ListApplicationVersionsPaginator.d.ts +1 -1
  54. package/dist-types/pagination/ListApplicationsPaginator.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +14 -23
  56. package/dist-types/ts3.4/commands/CreateApplicationVersionCommand.d.ts +12 -24
  57. package/dist-types/ts3.4/commands/CreateCloudFormationChangeSetCommand.d.ts +12 -24
  58. package/dist-types/ts3.4/commands/CreateCloudFormationTemplateCommand.d.ts +12 -24
  59. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +14 -23
  60. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +14 -23
  61. package/dist-types/ts3.4/commands/GetApplicationPolicyCommand.d.ts +12 -24
  62. package/dist-types/ts3.4/commands/GetCloudFormationTemplateCommand.d.ts +12 -24
  63. package/dist-types/ts3.4/commands/ListApplicationDependenciesCommand.d.ts +12 -24
  64. package/dist-types/ts3.4/commands/ListApplicationVersionsCommand.d.ts +12 -24
  65. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +14 -23
  66. package/dist-types/ts3.4/commands/PutApplicationPolicyCommand.d.ts +12 -24
  67. package/dist-types/ts3.4/commands/UnshareApplicationCommand.d.ts +14 -23
  68. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +14 -23
  69. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  70. package/dist-types/ts3.4/pagination/ListApplicationDependenciesPaginator.d.ts +3 -3
  71. package/dist-types/ts3.4/pagination/ListApplicationVersionsPaginator.d.ts +3 -3
  72. package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +3 -3
  73. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_PutApplicationPolicyCommand, se_PutApplicationPolicyCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class PutApplicationPolicyCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, PutApplicationPolicyCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ServerlessApplicationRepositoryClient";
26
- const commandName = "PutApplicationPolicyCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ServerlessApplicationRepository",
35
- operation: "PutApplicationPolicy",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_PutApplicationPolicyCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_PutApplicationPolicyCommand(output, context);
46
- }
7
+ export class PutApplicationPolicyCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ServerlessApplicationRepository", "PutApplicationPolicy", {})
19
+ .n("ServerlessApplicationRepositoryClient", "PutApplicationPolicyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_PutApplicationPolicyCommand)
22
+ .de(de_PutApplicationPolicyCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UnshareApplicationCommand, se_UnshareApplicationCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UnshareApplicationCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UnshareApplicationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ServerlessApplicationRepositoryClient";
26
- const commandName = "UnshareApplicationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ServerlessApplicationRepository",
35
- operation: "UnshareApplication",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UnshareApplicationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UnshareApplicationCommand(output, context);
46
- }
7
+ export class UnshareApplicationCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ServerlessApplicationRepository", "UnshareApplication", {})
19
+ .n("ServerlessApplicationRepositoryClient", "UnshareApplicationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UnshareApplicationCommand)
22
+ .de(de_UnshareApplicationCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateApplicationCommand, se_UpdateApplicationCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateApplicationCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateApplicationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ServerlessApplicationRepositoryClient";
26
- const commandName = "UpdateApplicationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ServerlessApplicationRepository",
35
- operation: "UpdateApplication",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateApplicationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateApplicationCommand(output, context);
46
- }
7
+ export class UpdateApplicationCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ServerlessApplicationRepository", "UpdateApplication", {})
19
+ .n("ServerlessApplicationRepositoryClient", "UpdateApplicationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateApplicationCommand)
22
+ .de(de_UpdateApplicationCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "serverlessrepo",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListApplicationDependenciesCommand, } from "../commands/ListApplicationDependenciesCommand";
2
3
  import { ServerlessApplicationRepositoryClient } from "../ServerlessApplicationRepositoryClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListApplicationDependenciesCommand(input), ...args);
5
- };
6
- export async function* paginateListApplicationDependencies(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxItems"] = config.pageSize;
13
- if (config.client instanceof ServerlessApplicationRepositoryClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ServerlessApplicationRepository | ServerlessApplicationRepositoryClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListApplicationDependencies = createPaginator(ServerlessApplicationRepositoryClient, ListApplicationDependenciesCommand, "NextToken", "NextToken", "MaxItems");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListApplicationVersionsCommand, } from "../commands/ListApplicationVersionsCommand";
2
3
  import { ServerlessApplicationRepositoryClient } from "../ServerlessApplicationRepositoryClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListApplicationVersionsCommand(input), ...args);
5
- };
6
- export async function* paginateListApplicationVersions(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxItems"] = config.pageSize;
13
- if (config.client instanceof ServerlessApplicationRepositoryClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ServerlessApplicationRepository | ServerlessApplicationRepositoryClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListApplicationVersions = createPaginator(ServerlessApplicationRepositoryClient, ListApplicationVersionsCommand, "NextToken", "NextToken", "MaxItems");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListApplicationsCommand, } from "../commands/ListApplicationsCommand";
2
3
  import { ServerlessApplicationRepositoryClient } from "../ServerlessApplicationRepositoryClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListApplicationsCommand(input), ...args);
5
- };
6
- export async function* paginateListApplications(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxItems"] = config.pageSize;
13
- if (config.client instanceof ServerlessApplicationRepositoryClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ServerlessApplicationRepository | ServerlessApplicationRepositoryClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListApplications = createPaginator(ServerlessApplicationRepositoryClient, ListApplicationsCommand, "NextToken", "NextToken", "MaxItems");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateApplicationRequest, CreateApplicationResponse } from "../models/models_0";
5
4
  import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateApplicationCommandInput extends CreateApplicationRequest
21
20
  */
22
21
  export interface CreateApplicationCommandOutput extends CreateApplicationResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateApplicationCommand_base: {
24
+ new (input: CreateApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateApplicationCommandInput, CreateApplicationCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates an application, optionally including an AWS SAM file to create the first application version in the same call.</p>
@@ -128,23 +131,5 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons
128
131
  * <p>Base exception class for all service exceptions from ServerlessApplicationRepository service.</p>
129
132
  *
130
133
  */
131
- export declare class CreateApplicationCommand extends $Command<CreateApplicationCommandInput, CreateApplicationCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig> {
132
- readonly input: CreateApplicationCommandInput;
133
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
134
- /**
135
- * @public
136
- */
137
- constructor(input: CreateApplicationCommandInput);
138
- /**
139
- * @internal
140
- */
141
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServerlessApplicationRepositoryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateApplicationCommandInput, CreateApplicationCommandOutput>;
142
- /**
143
- * @internal
144
- */
145
- private serialize;
146
- /**
147
- * @internal
148
- */
149
- private deserialize;
134
+ export declare class CreateApplicationCommand extends CreateApplicationCommand_base {
150
135
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateApplicationVersionRequest, CreateApplicationVersionResponse } from "../models/models_0";
5
4
  import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateApplicationVersionCommandInput extends CreateApplicationV
21
20
  */
22
21
  export interface CreateApplicationVersionCommandOutput extends CreateApplicationVersionResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateApplicationVersionCommand_base: {
24
+ new (input: CreateApplicationVersionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateApplicationVersionCommandInput, CreateApplicationVersionCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates an application version.</p>
@@ -101,23 +104,5 @@ export interface CreateApplicationVersionCommandOutput extends CreateApplication
101
104
  * <p>Base exception class for all service exceptions from ServerlessApplicationRepository service.</p>
102
105
  *
103
106
  */
104
- export declare class CreateApplicationVersionCommand extends $Command<CreateApplicationVersionCommandInput, CreateApplicationVersionCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig> {
105
- readonly input: CreateApplicationVersionCommandInput;
106
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
107
- /**
108
- * @public
109
- */
110
- constructor(input: CreateApplicationVersionCommandInput);
111
- /**
112
- * @internal
113
- */
114
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServerlessApplicationRepositoryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateApplicationVersionCommandInput, CreateApplicationVersionCommandOutput>;
115
- /**
116
- * @internal
117
- */
118
- private serialize;
119
- /**
120
- * @internal
121
- */
122
- private deserialize;
107
+ export declare class CreateApplicationVersionCommand extends CreateApplicationVersionCommand_base {
123
108
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateCloudFormationChangeSetRequest, CreateCloudFormationChangeSetResponse } from "../models/models_0";
5
4
  import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateCloudFormationChangeSetCommandInput extends CreateCloudFo
21
20
  */
22
21
  export interface CreateCloudFormationChangeSetCommandOutput extends CreateCloudFormationChangeSetResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateCloudFormationChangeSetCommand_base: {
24
+ new (input: CreateCloudFormationChangeSetCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCloudFormationChangeSetCommandInput, CreateCloudFormationChangeSetCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates an AWS CloudFormation change set for the given application.</p>
@@ -102,23 +105,5 @@ export interface CreateCloudFormationChangeSetCommandOutput extends CreateCloudF
102
105
  * <p>Base exception class for all service exceptions from ServerlessApplicationRepository service.</p>
103
106
  *
104
107
  */
105
- export declare class CreateCloudFormationChangeSetCommand extends $Command<CreateCloudFormationChangeSetCommandInput, CreateCloudFormationChangeSetCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig> {
106
- readonly input: CreateCloudFormationChangeSetCommandInput;
107
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
108
- /**
109
- * @public
110
- */
111
- constructor(input: CreateCloudFormationChangeSetCommandInput);
112
- /**
113
- * @internal
114
- */
115
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServerlessApplicationRepositoryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateCloudFormationChangeSetCommandInput, CreateCloudFormationChangeSetCommandOutput>;
116
- /**
117
- * @internal
118
- */
119
- private serialize;
120
- /**
121
- * @internal
122
- */
123
- private deserialize;
108
+ export declare class CreateCloudFormationChangeSetCommand extends CreateCloudFormationChangeSetCommand_base {
124
109
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateCloudFormationTemplateRequest, CreateCloudFormationTemplateResponse } from "../models/models_0";
5
4
  import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateCloudFormationTemplateCommandInput extends CreateCloudFor
21
20
  */
22
21
  export interface CreateCloudFormationTemplateCommandOutput extends CreateCloudFormationTemplateResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateCloudFormationTemplateCommand_base: {
24
+ new (input: CreateCloudFormationTemplateCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCloudFormationTemplateCommandInput, CreateCloudFormationTemplateCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates an AWS CloudFormation template.</p>
@@ -73,23 +76,5 @@ export interface CreateCloudFormationTemplateCommandOutput extends CreateCloudFo
73
76
  * <p>Base exception class for all service exceptions from ServerlessApplicationRepository service.</p>
74
77
  *
75
78
  */
76
- export declare class CreateCloudFormationTemplateCommand extends $Command<CreateCloudFormationTemplateCommandInput, CreateCloudFormationTemplateCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig> {
77
- readonly input: CreateCloudFormationTemplateCommandInput;
78
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
79
- /**
80
- * @public
81
- */
82
- constructor(input: CreateCloudFormationTemplateCommandInput);
83
- /**
84
- * @internal
85
- */
86
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServerlessApplicationRepositoryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateCloudFormationTemplateCommandInput, CreateCloudFormationTemplateCommandOutput>;
87
- /**
88
- * @internal
89
- */
90
- private serialize;
91
- /**
92
- * @internal
93
- */
94
- private deserialize;
79
+ export declare class CreateCloudFormationTemplateCommand extends CreateCloudFormationTemplateCommand_base {
95
80
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteApplicationRequest } from "../models/models_0";
5
4
  import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteApplicationCommandInput extends DeleteApplicationRequest
21
20
  */
22
21
  export interface DeleteApplicationCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DeleteApplicationCommand_base: {
24
+ new (input: DeleteApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteApplicationCommandInput, DeleteApplicationCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the specified application.</p>
@@ -67,23 +70,5 @@ export interface DeleteApplicationCommandOutput extends __MetadataBearer {
67
70
  * <p>Base exception class for all service exceptions from ServerlessApplicationRepository service.</p>
68
71
  *
69
72
  */
70
- export declare class DeleteApplicationCommand extends $Command<DeleteApplicationCommandInput, DeleteApplicationCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig> {
71
- readonly input: DeleteApplicationCommandInput;
72
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
73
- /**
74
- * @public
75
- */
76
- constructor(input: DeleteApplicationCommandInput);
77
- /**
78
- * @internal
79
- */
80
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServerlessApplicationRepositoryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteApplicationCommandInput, DeleteApplicationCommandOutput>;
81
- /**
82
- * @internal
83
- */
84
- private serialize;
85
- /**
86
- * @internal
87
- */
88
- private deserialize;
73
+ export declare class DeleteApplicationCommand extends DeleteApplicationCommand_base {
89
74
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetApplicationRequest, GetApplicationResponse } from "../models/models_0";
5
4
  import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetApplicationCommandInput extends GetApplicationRequest {
21
20
  */
22
21
  export interface GetApplicationCommandOutput extends GetApplicationResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetApplicationCommand_base: {
24
+ new (input: GetApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<GetApplicationCommandInput, GetApplicationCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets the specified application.</p>
@@ -113,23 +116,5 @@ export interface GetApplicationCommandOutput extends GetApplicationResponse, __M
113
116
  * <p>Base exception class for all service exceptions from ServerlessApplicationRepository service.</p>
114
117
  *
115
118
  */
116
- export declare class GetApplicationCommand extends $Command<GetApplicationCommandInput, GetApplicationCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig> {
117
- readonly input: GetApplicationCommandInput;
118
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
119
- /**
120
- * @public
121
- */
122
- constructor(input: GetApplicationCommandInput);
123
- /**
124
- * @internal
125
- */
126
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServerlessApplicationRepositoryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetApplicationCommandInput, GetApplicationCommandOutput>;
127
- /**
128
- * @internal
129
- */
130
- private serialize;
131
- /**
132
- * @internal
133
- */
134
- private deserialize;
119
+ export declare class GetApplicationCommand extends GetApplicationCommand_base {
135
120
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetApplicationPolicyRequest, GetApplicationPolicyResponse } from "../models/models_0";
5
4
  import { ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServerlessApplicationRepositoryClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetApplicationPolicyCommandInput extends GetApplicationPolicyRe
21
20
  */
22
21
  export interface GetApplicationPolicyCommandOutput extends GetApplicationPolicyResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetApplicationPolicyCommand_base: {
24
+ new (input: GetApplicationPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetApplicationPolicyCommandInput, GetApplicationPolicyCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves the policy for the application.</p>
@@ -79,23 +82,5 @@ export interface GetApplicationPolicyCommandOutput extends GetApplicationPolicyR
79
82
  * <p>Base exception class for all service exceptions from ServerlessApplicationRepository service.</p>
80
83
  *
81
84
  */
82
- export declare class GetApplicationPolicyCommand extends $Command<GetApplicationPolicyCommandInput, GetApplicationPolicyCommandOutput, ServerlessApplicationRepositoryClientResolvedConfig> {
83
- readonly input: GetApplicationPolicyCommandInput;
84
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
85
- /**
86
- * @public
87
- */
88
- constructor(input: GetApplicationPolicyCommandInput);
89
- /**
90
- * @internal
91
- */
92
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServerlessApplicationRepositoryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetApplicationPolicyCommandInput, GetApplicationPolicyCommandOutput>;
93
- /**
94
- * @internal
95
- */
96
- private serialize;
97
- /**
98
- * @internal
99
- */
100
- private deserialize;
85
+ export declare class GetApplicationPolicyCommand extends GetApplicationPolicyCommand_base {
101
86
  }