@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.
Files changed (182) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/ServerlessApplicationRepository.js +0 -23
  3. package/dist-cjs/ServerlessApplicationRepositoryClient.js +0 -28
  4. package/dist-cjs/commands/CreateApplicationCommand.js +0 -25
  5. package/dist-cjs/commands/CreateApplicationVersionCommand.js +0 -25
  6. package/dist-cjs/commands/CreateCloudFormationChangeSetCommand.js +0 -25
  7. package/dist-cjs/commands/CreateCloudFormationTemplateCommand.js +0 -25
  8. package/dist-cjs/commands/DeleteApplicationCommand.js +0 -25
  9. package/dist-cjs/commands/GetApplicationCommand.js +0 -25
  10. package/dist-cjs/commands/GetApplicationPolicyCommand.js +0 -25
  11. package/dist-cjs/commands/GetCloudFormationTemplateCommand.js +0 -25
  12. package/dist-cjs/commands/ListApplicationDependenciesCommand.js +0 -25
  13. package/dist-cjs/commands/ListApplicationVersionsCommand.js +0 -25
  14. package/dist-cjs/commands/ListApplicationsCommand.js +0 -25
  15. package/dist-cjs/commands/PutApplicationPolicyCommand.js +0 -28
  16. package/dist-cjs/commands/UnshareApplicationCommand.js +0 -25
  17. package/dist-cjs/commands/UpdateApplicationCommand.js +0 -25
  18. package/dist-cjs/commands/index.js +17 -0
  19. package/dist-cjs/endpoints.js +1 -2
  20. package/dist-cjs/index.js +4 -21
  21. package/dist-cjs/models/index.js +0 -1
  22. package/dist-cjs/models/models_0.js +0 -127
  23. package/dist-cjs/pagination/Interfaces.js +0 -1
  24. package/dist-cjs/pagination/ListApplicationDependenciesPaginator.js +0 -11
  25. package/dist-cjs/pagination/ListApplicationVersionsPaginator.js +0 -11
  26. package/dist-cjs/pagination/ListApplicationsPaginator.js +0 -11
  27. package/dist-cjs/pagination/index.js +7 -0
  28. package/dist-cjs/protocols/Aws_restJson1.js +0 -6
  29. package/dist-cjs/runtimeConfig.browser.js +1 -6
  30. package/dist-cjs/runtimeConfig.js +2 -7
  31. package/dist-cjs/runtimeConfig.native.js +0 -4
  32. package/dist-cjs/runtimeConfig.shared.js +0 -4
  33. package/dist-es/ServerlessApplicationRepository.js +0 -1
  34. package/dist-es/ServerlessApplicationRepositoryClient.js +0 -1
  35. package/dist-es/commands/CreateApplicationCommand.js +0 -1
  36. package/dist-es/commands/CreateApplicationVersionCommand.js +0 -1
  37. package/dist-es/commands/CreateCloudFormationChangeSetCommand.js +0 -1
  38. package/dist-es/commands/CreateCloudFormationTemplateCommand.js +0 -1
  39. package/dist-es/commands/DeleteApplicationCommand.js +0 -1
  40. package/dist-es/commands/GetApplicationCommand.js +0 -1
  41. package/dist-es/commands/GetApplicationPolicyCommand.js +0 -1
  42. package/dist-es/commands/GetCloudFormationTemplateCommand.js +0 -1
  43. package/dist-es/commands/ListApplicationDependenciesCommand.js +0 -1
  44. package/dist-es/commands/ListApplicationVersionsCommand.js +0 -1
  45. package/dist-es/commands/ListApplicationsCommand.js +0 -1
  46. package/dist-es/commands/PutApplicationPolicyCommand.js +0 -1
  47. package/dist-es/commands/UnshareApplicationCommand.js +0 -1
  48. package/dist-es/commands/UpdateApplicationCommand.js +0 -1
  49. package/dist-es/commands/index.js +14 -0
  50. package/dist-es/endpoints.js +1 -2
  51. package/dist-es/index.js +4 -21
  52. package/dist-es/models/index.js +0 -1
  53. package/dist-es/models/models_0.js +0 -1
  54. package/dist-es/pagination/Interfaces.js +0 -1
  55. package/dist-es/pagination/ListApplicationDependenciesPaginator.js +0 -1
  56. package/dist-es/pagination/ListApplicationVersionsPaginator.js +0 -1
  57. package/dist-es/pagination/ListApplicationsPaginator.js +0 -1
  58. package/dist-es/pagination/index.js +4 -0
  59. package/dist-es/protocols/Aws_restJson1.js +0 -1
  60. package/dist-es/runtimeConfig.browser.js +1 -2
  61. package/dist-es/runtimeConfig.js +2 -3
  62. package/dist-es/runtimeConfig.native.js +0 -1
  63. package/dist-es/runtimeConfig.shared.js +0 -1
  64. package/dist-types/commands/index.d.ts +14 -0
  65. package/dist-types/index.d.ts +4 -20
  66. package/dist-types/pagination/index.d.ts +4 -0
  67. package/dist-types/ts3.4/ServerlessApplicationRepository.d.ts +15 -67
  68. package/dist-types/ts3.4/ServerlessApplicationRepositoryClient.d.ts +24 -108
  69. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +2 -20
  70. package/dist-types/ts3.4/commands/CreateApplicationVersionCommand.d.ts +2 -20
  71. package/dist-types/ts3.4/commands/CreateCloudFormationChangeSetCommand.d.ts +2 -20
  72. package/dist-types/ts3.4/commands/CreateCloudFormationTemplateCommand.d.ts +2 -20
  73. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +2 -20
  74. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +2 -20
  75. package/dist-types/ts3.4/commands/GetApplicationPolicyCommand.d.ts +2 -20
  76. package/dist-types/ts3.4/commands/GetCloudFormationTemplateCommand.d.ts +2 -20
  77. package/dist-types/ts3.4/commands/ListApplicationDependenciesCommand.d.ts +2 -20
  78. package/dist-types/ts3.4/commands/ListApplicationVersionsCommand.d.ts +2 -20
  79. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +2 -20
  80. package/dist-types/ts3.4/commands/PutApplicationPolicyCommand.d.ts +2 -23
  81. package/dist-types/ts3.4/commands/UnshareApplicationCommand.d.ts +2 -20
  82. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +2 -20
  83. package/dist-types/ts3.4/commands/index.d.ts +14 -0
  84. package/dist-types/ts3.4/index.d.ts +4 -20
  85. package/dist-types/ts3.4/models/models_0.d.ts +254 -895
  86. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  87. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  88. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  89. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  90. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  91. package/package.json +33 -30
  92. package/dist-cjs/ServerlessApplicationRepository.js.map +0 -1
  93. package/dist-cjs/ServerlessApplicationRepositoryClient.js.map +0 -1
  94. package/dist-cjs/commands/CreateApplicationCommand.js.map +0 -1
  95. package/dist-cjs/commands/CreateApplicationVersionCommand.js.map +0 -1
  96. package/dist-cjs/commands/CreateCloudFormationChangeSetCommand.js.map +0 -1
  97. package/dist-cjs/commands/CreateCloudFormationTemplateCommand.js.map +0 -1
  98. package/dist-cjs/commands/DeleteApplicationCommand.js.map +0 -1
  99. package/dist-cjs/commands/GetApplicationCommand.js.map +0 -1
  100. package/dist-cjs/commands/GetApplicationPolicyCommand.js.map +0 -1
  101. package/dist-cjs/commands/GetCloudFormationTemplateCommand.js.map +0 -1
  102. package/dist-cjs/commands/ListApplicationDependenciesCommand.js.map +0 -1
  103. package/dist-cjs/commands/ListApplicationVersionsCommand.js.map +0 -1
  104. package/dist-cjs/commands/ListApplicationsCommand.js.map +0 -1
  105. package/dist-cjs/commands/PutApplicationPolicyCommand.js.map +0 -1
  106. package/dist-cjs/commands/UnshareApplicationCommand.js.map +0 -1
  107. package/dist-cjs/commands/UpdateApplicationCommand.js.map +0 -1
  108. package/dist-cjs/endpoints.js.map +0 -1
  109. package/dist-cjs/index.js.map +0 -1
  110. package/dist-cjs/models/index.js.map +0 -1
  111. package/dist-cjs/models/models_0.js.map +0 -1
  112. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  113. package/dist-cjs/pagination/ListApplicationDependenciesPaginator.js.map +0 -1
  114. package/dist-cjs/pagination/ListApplicationVersionsPaginator.js.map +0 -1
  115. package/dist-cjs/pagination/ListApplicationsPaginator.js.map +0 -1
  116. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  117. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  118. package/dist-cjs/runtimeConfig.js.map +0 -1
  119. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  120. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  121. package/dist-es/ServerlessApplicationRepository.js.map +0 -1
  122. package/dist-es/ServerlessApplicationRepositoryClient.js.map +0 -1
  123. package/dist-es/commands/CreateApplicationCommand.js.map +0 -1
  124. package/dist-es/commands/CreateApplicationVersionCommand.js.map +0 -1
  125. package/dist-es/commands/CreateCloudFormationChangeSetCommand.js.map +0 -1
  126. package/dist-es/commands/CreateCloudFormationTemplateCommand.js.map +0 -1
  127. package/dist-es/commands/DeleteApplicationCommand.js.map +0 -1
  128. package/dist-es/commands/GetApplicationCommand.js.map +0 -1
  129. package/dist-es/commands/GetApplicationPolicyCommand.js.map +0 -1
  130. package/dist-es/commands/GetCloudFormationTemplateCommand.js.map +0 -1
  131. package/dist-es/commands/ListApplicationDependenciesCommand.js.map +0 -1
  132. package/dist-es/commands/ListApplicationVersionsCommand.js.map +0 -1
  133. package/dist-es/commands/ListApplicationsCommand.js.map +0 -1
  134. package/dist-es/commands/PutApplicationPolicyCommand.js.map +0 -1
  135. package/dist-es/commands/UnshareApplicationCommand.js.map +0 -1
  136. package/dist-es/commands/UpdateApplicationCommand.js.map +0 -1
  137. package/dist-es/endpoints.js.map +0 -1
  138. package/dist-es/index.js.map +0 -1
  139. package/dist-es/models/index.js.map +0 -1
  140. package/dist-es/models/models_0.js.map +0 -1
  141. package/dist-es/pagination/Interfaces.js.map +0 -1
  142. package/dist-es/pagination/ListApplicationDependenciesPaginator.js.map +0 -1
  143. package/dist-es/pagination/ListApplicationVersionsPaginator.js.map +0 -1
  144. package/dist-es/pagination/ListApplicationsPaginator.js.map +0 -1
  145. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  146. package/dist-es/runtimeConfig.browser.js.map +0 -1
  147. package/dist-es/runtimeConfig.js.map +0 -1
  148. package/dist-es/runtimeConfig.native.js.map +0 -1
  149. package/dist-es/runtimeConfig.shared.js.map +0 -1
  150. package/jest.config.js +0 -4
  151. package/src/ServerlessApplicationRepository.ts +0 -548
  152. package/src/ServerlessApplicationRepositoryClient.ts +0 -322
  153. package/src/commands/CreateApplicationCommand.ts +0 -99
  154. package/src/commands/CreateApplicationVersionCommand.ts +0 -99
  155. package/src/commands/CreateCloudFormationChangeSetCommand.ts +0 -104
  156. package/src/commands/CreateCloudFormationTemplateCommand.ts +0 -104
  157. package/src/commands/DeleteApplicationCommand.ts +0 -99
  158. package/src/commands/GetApplicationCommand.ts +0 -99
  159. package/src/commands/GetApplicationPolicyCommand.ts +0 -99
  160. package/src/commands/GetCloudFormationTemplateCommand.ts +0 -102
  161. package/src/commands/ListApplicationDependenciesCommand.ts +0 -104
  162. package/src/commands/ListApplicationVersionsCommand.ts +0 -99
  163. package/src/commands/ListApplicationsCommand.ts +0 -99
  164. package/src/commands/PutApplicationPolicyCommand.ts +0 -102
  165. package/src/commands/UnshareApplicationCommand.ts +0 -99
  166. package/src/commands/UpdateApplicationCommand.ts +0 -99
  167. package/src/endpoints.ts +0 -66
  168. package/src/index.ts +0 -21
  169. package/src/models/index.ts +0 -1
  170. package/src/models/models_0.ts +0 -1649
  171. package/src/pagination/Interfaces.ts +0 -8
  172. package/src/pagination/ListApplicationDependenciesPaginator.ts +0 -61
  173. package/src/pagination/ListApplicationVersionsPaginator.ts +0 -61
  174. package/src/pagination/ListApplicationsPaginator.ts +0 -61
  175. package/src/protocols/Aws_restJson1.ts +0 -2546
  176. package/src/runtimeConfig.browser.ts +0 -41
  177. package/src/runtimeConfig.native.ts +0 -17
  178. package/src/runtimeConfig.shared.ts +0 -17
  179. package/src/runtimeConfig.ts +0 -46
  180. package/tsconfig.es.json +0 -10
  181. package/tsconfig.json +0 -33
  182. 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
- }