@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,322 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
EndpointsInputConfig,
|
|
3
|
-
EndpointsResolvedConfig,
|
|
4
|
-
RegionInputConfig,
|
|
5
|
-
RegionResolvedConfig,
|
|
6
|
-
resolveEndpointsConfig,
|
|
7
|
-
resolveRegionConfig,
|
|
8
|
-
} from "@aws-sdk/config-resolver";
|
|
9
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
10
|
-
import {
|
|
11
|
-
getHostHeaderPlugin,
|
|
12
|
-
HostHeaderInputConfig,
|
|
13
|
-
HostHeaderResolvedConfig,
|
|
14
|
-
resolveHostHeaderConfig,
|
|
15
|
-
} from "@aws-sdk/middleware-host-header";
|
|
16
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
17
|
-
import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
18
|
-
import {
|
|
19
|
-
AwsAuthInputConfig,
|
|
20
|
-
AwsAuthResolvedConfig,
|
|
21
|
-
getAwsAuthPlugin,
|
|
22
|
-
resolveAwsAuthConfig,
|
|
23
|
-
} from "@aws-sdk/middleware-signing";
|
|
24
|
-
import {
|
|
25
|
-
getUserAgentPlugin,
|
|
26
|
-
resolveUserAgentConfig,
|
|
27
|
-
UserAgentInputConfig,
|
|
28
|
-
UserAgentResolvedConfig,
|
|
29
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
30
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
31
|
-
import {
|
|
32
|
-
Client as __Client,
|
|
33
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
34
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
35
|
-
} from "@aws-sdk/smithy-client";
|
|
36
|
-
import {
|
|
37
|
-
Credentials as __Credentials,
|
|
38
|
-
Decoder as __Decoder,
|
|
39
|
-
Encoder as __Encoder,
|
|
40
|
-
Hash as __Hash,
|
|
41
|
-
HashConstructor as __HashConstructor,
|
|
42
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
43
|
-
Logger as __Logger,
|
|
44
|
-
Provider as __Provider,
|
|
45
|
-
Provider,
|
|
46
|
-
RegionInfoProvider,
|
|
47
|
-
StreamCollector as __StreamCollector,
|
|
48
|
-
UrlParser as __UrlParser,
|
|
49
|
-
UserAgent as __UserAgent,
|
|
50
|
-
} from "@aws-sdk/types";
|
|
51
|
-
|
|
52
|
-
import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
53
|
-
import {
|
|
54
|
-
CreateApplicationVersionCommandInput,
|
|
55
|
-
CreateApplicationVersionCommandOutput,
|
|
56
|
-
} from "./commands/CreateApplicationVersionCommand";
|
|
57
|
-
import {
|
|
58
|
-
CreateCloudFormationChangeSetCommandInput,
|
|
59
|
-
CreateCloudFormationChangeSetCommandOutput,
|
|
60
|
-
} from "./commands/CreateCloudFormationChangeSetCommand";
|
|
61
|
-
import {
|
|
62
|
-
CreateCloudFormationTemplateCommandInput,
|
|
63
|
-
CreateCloudFormationTemplateCommandOutput,
|
|
64
|
-
} from "./commands/CreateCloudFormationTemplateCommand";
|
|
65
|
-
import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
|
|
66
|
-
import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
|
|
67
|
-
import {
|
|
68
|
-
GetApplicationPolicyCommandInput,
|
|
69
|
-
GetApplicationPolicyCommandOutput,
|
|
70
|
-
} from "./commands/GetApplicationPolicyCommand";
|
|
71
|
-
import {
|
|
72
|
-
GetCloudFormationTemplateCommandInput,
|
|
73
|
-
GetCloudFormationTemplateCommandOutput,
|
|
74
|
-
} from "./commands/GetCloudFormationTemplateCommand";
|
|
75
|
-
import {
|
|
76
|
-
ListApplicationDependenciesCommandInput,
|
|
77
|
-
ListApplicationDependenciesCommandOutput,
|
|
78
|
-
} from "./commands/ListApplicationDependenciesCommand";
|
|
79
|
-
import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
|
|
80
|
-
import {
|
|
81
|
-
ListApplicationVersionsCommandInput,
|
|
82
|
-
ListApplicationVersionsCommandOutput,
|
|
83
|
-
} from "./commands/ListApplicationVersionsCommand";
|
|
84
|
-
import {
|
|
85
|
-
PutApplicationPolicyCommandInput,
|
|
86
|
-
PutApplicationPolicyCommandOutput,
|
|
87
|
-
} from "./commands/PutApplicationPolicyCommand";
|
|
88
|
-
import { UnshareApplicationCommandInput, UnshareApplicationCommandOutput } from "./commands/UnshareApplicationCommand";
|
|
89
|
-
import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
|
|
90
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
91
|
-
|
|
92
|
-
export type ServiceInputTypes =
|
|
93
|
-
| CreateApplicationCommandInput
|
|
94
|
-
| CreateApplicationVersionCommandInput
|
|
95
|
-
| CreateCloudFormationChangeSetCommandInput
|
|
96
|
-
| CreateCloudFormationTemplateCommandInput
|
|
97
|
-
| DeleteApplicationCommandInput
|
|
98
|
-
| GetApplicationCommandInput
|
|
99
|
-
| GetApplicationPolicyCommandInput
|
|
100
|
-
| GetCloudFormationTemplateCommandInput
|
|
101
|
-
| ListApplicationDependenciesCommandInput
|
|
102
|
-
| ListApplicationVersionsCommandInput
|
|
103
|
-
| ListApplicationsCommandInput
|
|
104
|
-
| PutApplicationPolicyCommandInput
|
|
105
|
-
| UnshareApplicationCommandInput
|
|
106
|
-
| UpdateApplicationCommandInput;
|
|
107
|
-
|
|
108
|
-
export type ServiceOutputTypes =
|
|
109
|
-
| CreateApplicationCommandOutput
|
|
110
|
-
| CreateApplicationVersionCommandOutput
|
|
111
|
-
| CreateCloudFormationChangeSetCommandOutput
|
|
112
|
-
| CreateCloudFormationTemplateCommandOutput
|
|
113
|
-
| DeleteApplicationCommandOutput
|
|
114
|
-
| GetApplicationCommandOutput
|
|
115
|
-
| GetApplicationPolicyCommandOutput
|
|
116
|
-
| GetCloudFormationTemplateCommandOutput
|
|
117
|
-
| ListApplicationDependenciesCommandOutput
|
|
118
|
-
| ListApplicationVersionsCommandOutput
|
|
119
|
-
| ListApplicationsCommandOutput
|
|
120
|
-
| PutApplicationPolicyCommandOutput
|
|
121
|
-
| UnshareApplicationCommandOutput
|
|
122
|
-
| UpdateApplicationCommandOutput;
|
|
123
|
-
|
|
124
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
125
|
-
/**
|
|
126
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
127
|
-
*/
|
|
128
|
-
requestHandler?: __HttpHandler;
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
132
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
133
|
-
* @internal
|
|
134
|
-
*/
|
|
135
|
-
sha256?: __HashConstructor;
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
139
|
-
* @internal
|
|
140
|
-
*/
|
|
141
|
-
urlParser?: __UrlParser;
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* A function that can calculate the length of a request body.
|
|
145
|
-
* @internal
|
|
146
|
-
*/
|
|
147
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* A function that converts a stream into an array of bytes.
|
|
151
|
-
* @internal
|
|
152
|
-
*/
|
|
153
|
-
streamCollector?: __StreamCollector;
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
157
|
-
* @internal
|
|
158
|
-
*/
|
|
159
|
-
base64Decoder?: __Decoder;
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
163
|
-
* @internal
|
|
164
|
-
*/
|
|
165
|
-
base64Encoder?: __Encoder;
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
169
|
-
* @internal
|
|
170
|
-
*/
|
|
171
|
-
utf8Decoder?: __Decoder;
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
175
|
-
* @internal
|
|
176
|
-
*/
|
|
177
|
-
utf8Encoder?: __Encoder;
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* The runtime environment.
|
|
181
|
-
* @internal
|
|
182
|
-
*/
|
|
183
|
-
runtime?: string;
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
187
|
-
* trait of an operation.
|
|
188
|
-
*/
|
|
189
|
-
disableHostPrefix?: boolean;
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
193
|
-
*/
|
|
194
|
-
maxAttempts?: number | __Provider<number>;
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* Specifies which retry algorithm to use.
|
|
198
|
-
*/
|
|
199
|
-
retryMode?: string | __Provider<string>;
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* Optional logger for logging debug/info/warn/error.
|
|
203
|
-
*/
|
|
204
|
-
logger?: __Logger;
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
* Unique service identifier.
|
|
208
|
-
* @internal
|
|
209
|
-
*/
|
|
210
|
-
serviceId?: string;
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* The AWS region to which this client will send requests
|
|
214
|
-
*/
|
|
215
|
-
region?: string | __Provider<string>;
|
|
216
|
-
|
|
217
|
-
/**
|
|
218
|
-
* Default credentials provider; Not available in browser runtime.
|
|
219
|
-
* @internal
|
|
220
|
-
*/
|
|
221
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
225
|
-
* @internal
|
|
226
|
-
*/
|
|
227
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
231
|
-
* @internal
|
|
232
|
-
*/
|
|
233
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
type ServerlessApplicationRepositoryClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
237
|
-
ClientDefaults &
|
|
238
|
-
RegionInputConfig &
|
|
239
|
-
EndpointsInputConfig &
|
|
240
|
-
RetryInputConfig &
|
|
241
|
-
HostHeaderInputConfig &
|
|
242
|
-
AwsAuthInputConfig &
|
|
243
|
-
UserAgentInputConfig;
|
|
244
|
-
/**
|
|
245
|
-
* The configuration interface of ServerlessApplicationRepositoryClient class constructor that set the region, credentials and other options.
|
|
246
|
-
*/
|
|
247
|
-
export interface ServerlessApplicationRepositoryClientConfig extends ServerlessApplicationRepositoryClientConfigType {}
|
|
248
|
-
|
|
249
|
-
type ServerlessApplicationRepositoryClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
250
|
-
Required<ClientDefaults> &
|
|
251
|
-
RegionResolvedConfig &
|
|
252
|
-
EndpointsResolvedConfig &
|
|
253
|
-
RetryResolvedConfig &
|
|
254
|
-
HostHeaderResolvedConfig &
|
|
255
|
-
AwsAuthResolvedConfig &
|
|
256
|
-
UserAgentResolvedConfig;
|
|
257
|
-
/**
|
|
258
|
-
* The resolved configuration interface of ServerlessApplicationRepositoryClient class. This is resolved and normalized from the {@link ServerlessApplicationRepositoryClientConfig | constructor configuration interface}.
|
|
259
|
-
*/
|
|
260
|
-
export interface ServerlessApplicationRepositoryClientResolvedConfig
|
|
261
|
-
extends ServerlessApplicationRepositoryClientResolvedConfigType {}
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* <p>The AWS Serverless Application Repository makes it easy for developers and enterprises to quickly find
|
|
265
|
-
* and deploy serverless applications in the AWS Cloud. For more information about serverless applications,
|
|
266
|
-
* see Serverless Computing and Applications on the AWS website.</p><p>The AWS Serverless Application Repository is deeply integrated with the AWS Lambda console, so that developers of
|
|
267
|
-
* all levels can get started with serverless computing without needing to learn anything new. You can use category
|
|
268
|
-
* keywords to browse for applications such as web and mobile backends, data processing applications, or chatbots.
|
|
269
|
-
* You can also search for applications by name, publisher, or event source. To use an application, you simply choose it,
|
|
270
|
-
* configure any required fields, and deploy it with a few clicks. </p><p>You can also easily publish applications, sharing them publicly with the community at large, or privately
|
|
271
|
-
* within your team or across your organization. To publish a serverless application (or app), you can use the
|
|
272
|
-
* AWS Management Console, AWS Command Line Interface (AWS CLI), or AWS SDKs to upload the code. Along with the
|
|
273
|
-
* code, you upload a simple manifest file, also known as the AWS Serverless Application Model (AWS SAM) template.
|
|
274
|
-
* For more information about AWS SAM, see AWS Serverless Application Model (AWS SAM) on the AWS Labs
|
|
275
|
-
* GitHub repository.</p><p>The AWS Serverless Application Repository Developer Guide contains more information about the two developer
|
|
276
|
-
* experiences available:</p><ul>
|
|
277
|
-
* <li>
|
|
278
|
-
* <p>Consuming Applications – Browse for applications and view information about them, including
|
|
279
|
-
* source code and readme files. Also install, configure, and deploy applications of your choosing. </p>
|
|
280
|
-
* <p>Publishing Applications – Configure and upload applications to make them available to other
|
|
281
|
-
* developers, and publish new versions of applications. </p>
|
|
282
|
-
* </li>
|
|
283
|
-
* </ul>
|
|
284
|
-
*/
|
|
285
|
-
export class ServerlessApplicationRepositoryClient extends __Client<
|
|
286
|
-
__HttpHandlerOptions,
|
|
287
|
-
ServiceInputTypes,
|
|
288
|
-
ServiceOutputTypes,
|
|
289
|
-
ServerlessApplicationRepositoryClientResolvedConfig
|
|
290
|
-
> {
|
|
291
|
-
/**
|
|
292
|
-
* The resolved configuration of ServerlessApplicationRepositoryClient class. This is resolved and normalized from the {@link ServerlessApplicationRepositoryClientConfig | constructor configuration interface}.
|
|
293
|
-
*/
|
|
294
|
-
readonly config: ServerlessApplicationRepositoryClientResolvedConfig;
|
|
295
|
-
|
|
296
|
-
constructor(configuration: ServerlessApplicationRepositoryClientConfig) {
|
|
297
|
-
const _config_0 = __getRuntimeConfig(configuration);
|
|
298
|
-
const _config_1 = resolveRegionConfig(_config_0);
|
|
299
|
-
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
300
|
-
const _config_3 = resolveRetryConfig(_config_2);
|
|
301
|
-
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
302
|
-
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
303
|
-
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
304
|
-
super(_config_6);
|
|
305
|
-
this.config = _config_6;
|
|
306
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
307
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
308
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
309
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
310
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
311
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
/**
|
|
315
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
316
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
317
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
318
|
-
*/
|
|
319
|
-
destroy(): void {
|
|
320
|
-
super.destroy();
|
|
321
|
-
}
|
|
322
|
-
}
|
|
@@ -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 { CreateApplicationRequest, CreateApplicationResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1CreateApplicationCommand,
|
|
17
|
-
serializeAws_restJson1CreateApplicationCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import {
|
|
20
|
-
ServerlessApplicationRepositoryClientResolvedConfig,
|
|
21
|
-
ServiceInputTypes,
|
|
22
|
-
ServiceOutputTypes,
|
|
23
|
-
} from "../ServerlessApplicationRepositoryClient";
|
|
24
|
-
|
|
25
|
-
export interface CreateApplicationCommandInput extends CreateApplicationRequest {}
|
|
26
|
-
export interface CreateApplicationCommandOutput extends CreateApplicationResponse, __MetadataBearer {}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* <p>Creates an application, optionally including an AWS SAM file to create the first application version in the same call.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { ServerlessApplicationRepositoryClient, CreateApplicationCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
34
|
-
* // const { ServerlessApplicationRepositoryClient, CreateApplicationCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
35
|
-
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
36
|
-
* const command = new CreateApplicationCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link CreateApplicationCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link CreateApplicationCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class CreateApplicationCommand extends $Command<
|
|
46
|
-
CreateApplicationCommandInput,
|
|
47
|
-
CreateApplicationCommandOutput,
|
|
48
|
-
ServerlessApplicationRepositoryClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: CreateApplicationCommandInput) {
|
|
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<CreateApplicationCommandInput, CreateApplicationCommandOutput> {
|
|
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 = "CreateApplicationCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: CreateApplicationRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: CreateApplicationResponse.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: CreateApplicationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_restJson1CreateApplicationCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateApplicationCommandOutput> {
|
|
94
|
-
return deserializeAws_restJson1CreateApplicationCommand(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 { CreateApplicationVersionRequest, CreateApplicationVersionResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1CreateApplicationVersionCommand,
|
|
17
|
-
serializeAws_restJson1CreateApplicationVersionCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import {
|
|
20
|
-
ServerlessApplicationRepositoryClientResolvedConfig,
|
|
21
|
-
ServiceInputTypes,
|
|
22
|
-
ServiceOutputTypes,
|
|
23
|
-
} from "../ServerlessApplicationRepositoryClient";
|
|
24
|
-
|
|
25
|
-
export interface CreateApplicationVersionCommandInput extends CreateApplicationVersionRequest {}
|
|
26
|
-
export interface CreateApplicationVersionCommandOutput extends CreateApplicationVersionResponse, __MetadataBearer {}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* <p>Creates an application version.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { ServerlessApplicationRepositoryClient, CreateApplicationVersionCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
34
|
-
* // const { ServerlessApplicationRepositoryClient, CreateApplicationVersionCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
35
|
-
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
36
|
-
* const command = new CreateApplicationVersionCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link CreateApplicationVersionCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link CreateApplicationVersionCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class CreateApplicationVersionCommand extends $Command<
|
|
46
|
-
CreateApplicationVersionCommandInput,
|
|
47
|
-
CreateApplicationVersionCommandOutput,
|
|
48
|
-
ServerlessApplicationRepositoryClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: CreateApplicationVersionCommandInput) {
|
|
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<CreateApplicationVersionCommandInput, CreateApplicationVersionCommandOutput> {
|
|
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 = "CreateApplicationVersionCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: CreateApplicationVersionRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: CreateApplicationVersionResponse.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: CreateApplicationVersionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_restJson1CreateApplicationVersionCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateApplicationVersionCommandOutput> {
|
|
94
|
-
return deserializeAws_restJson1CreateApplicationVersionCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -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 { CreateCloudFormationChangeSetRequest, CreateCloudFormationChangeSetResponse } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_restJson1CreateCloudFormationChangeSetCommand,
|
|
17
|
-
serializeAws_restJson1CreateCloudFormationChangeSetCommand,
|
|
18
|
-
} from "../protocols/Aws_restJson1";
|
|
19
|
-
import {
|
|
20
|
-
ServerlessApplicationRepositoryClientResolvedConfig,
|
|
21
|
-
ServiceInputTypes,
|
|
22
|
-
ServiceOutputTypes,
|
|
23
|
-
} from "../ServerlessApplicationRepositoryClient";
|
|
24
|
-
|
|
25
|
-
export interface CreateCloudFormationChangeSetCommandInput extends CreateCloudFormationChangeSetRequest {}
|
|
26
|
-
export interface CreateCloudFormationChangeSetCommandOutput
|
|
27
|
-
extends CreateCloudFormationChangeSetResponse,
|
|
28
|
-
__MetadataBearer {}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* <p>Creates an AWS CloudFormation change set for the given 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, CreateCloudFormationChangeSetCommand } from "@aws-sdk/client-serverlessapplicationrepository"; // ES Modules import
|
|
36
|
-
* // const { ServerlessApplicationRepositoryClient, CreateCloudFormationChangeSetCommand } = require("@aws-sdk/client-serverlessapplicationrepository"); // CommonJS import
|
|
37
|
-
* const client = new ServerlessApplicationRepositoryClient(config);
|
|
38
|
-
* const command = new CreateCloudFormationChangeSetCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link CreateCloudFormationChangeSetCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link CreateCloudFormationChangeSetCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link ServerlessApplicationRepositoryClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class CreateCloudFormationChangeSetCommand extends $Command<
|
|
48
|
-
CreateCloudFormationChangeSetCommandInput,
|
|
49
|
-
CreateCloudFormationChangeSetCommandOutput,
|
|
50
|
-
ServerlessApplicationRepositoryClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: CreateCloudFormationChangeSetCommandInput) {
|
|
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<CreateCloudFormationChangeSetCommandInput, CreateCloudFormationChangeSetCommandOutput> {
|
|
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 = "CreateCloudFormationChangeSetCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: CreateCloudFormationChangeSetRequest.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: CreateCloudFormationChangeSetResponse.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: CreateCloudFormationChangeSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_restJson1CreateCloudFormationChangeSetCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(
|
|
96
|
-
output: __HttpResponse,
|
|
97
|
-
context: __SerdeContext
|
|
98
|
-
): Promise<CreateCloudFormationChangeSetCommandOutput> {
|
|
99
|
-
return deserializeAws_restJson1CreateCloudFormationChangeSetCommand(output, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// Start section: command_body_extra
|
|
103
|
-
// End section: command_body_extra
|
|
104
|
-
}
|