@aws-sdk/client-elastic-beanstalk 3.774.0 → 3.777.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/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-cjs/index.js +17 -18
- package/dist-es/ElasticBeanstalkClient.js +2 -1
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-es/endpoint/EndpointParameters.js +2 -3
- package/dist-es/runtimeExtensions.js +2 -14
- package/dist-types/commands/AbortEnvironmentUpdateCommand.d.ts +7 -4
- package/dist-types/commands/ApplyEnvironmentManagedActionCommand.d.ts +1 -0
- package/dist-types/commands/AssociateEnvironmentOperationsRoleCommand.d.ts +1 -0
- package/dist-types/commands/CheckDNSAvailabilityCommand.d.ts +6 -6
- package/dist-types/commands/ComposeEnvironmentsCommand.d.ts +1 -0
- package/dist-types/commands/CreateApplicationCommand.d.ts +11 -11
- package/dist-types/commands/CreateApplicationVersionCommand.d.ts +20 -20
- package/dist-types/commands/CreateConfigurationTemplateCommand.d.ts +11 -11
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +22 -22
- package/dist-types/commands/CreatePlatformVersionCommand.d.ts +1 -0
- package/dist-types/commands/CreateStorageLocationCommand.d.ts +5 -5
- package/dist-types/commands/DeleteApplicationCommand.d.ts +7 -4
- package/dist-types/commands/DeleteApplicationVersionCommand.d.ts +9 -6
- package/dist-types/commands/DeleteConfigurationTemplateCommand.d.ts +8 -5
- package/dist-types/commands/DeleteEnvironmentConfigurationCommand.d.ts +8 -5
- package/dist-types/commands/DeletePlatformVersionCommand.d.ts +1 -0
- package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeApplicationVersionsCommand.d.ts +22 -22
- package/dist-types/commands/DescribeApplicationsCommand.d.ts +21 -21
- package/dist-types/commands/DescribeConfigurationOptionsCommand.d.ts +21 -21
- package/dist-types/commands/DescribeConfigurationSettingsCommand.d.ts +30 -30
- package/dist-types/commands/DescribeEnvironmentHealthCommand.d.ts +36 -36
- package/dist-types/commands/DescribeEnvironmentManagedActionHistoryCommand.d.ts +1 -0
- package/dist-types/commands/DescribeEnvironmentManagedActionsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeEnvironmentResourcesCommand.d.ts +16 -16
- package/dist-types/commands/DescribeEnvironmentsCommand.d.ts +21 -21
- package/dist-types/commands/DescribeEventsCommand.d.ts +28 -28
- package/dist-types/commands/DescribeInstancesHealthCommand.d.ts +39 -39
- package/dist-types/commands/DescribePlatformVersionCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateEnvironmentOperationsRoleCommand.d.ts +1 -0
- package/dist-types/commands/ListAvailableSolutionStacksCommand.d.ts +8 -8
- package/dist-types/commands/ListPlatformBranchesCommand.d.ts +1 -0
- package/dist-types/commands/ListPlatformVersionsCommand.d.ts +1 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
- package/dist-types/commands/RebuildEnvironmentCommand.d.ts +7 -4
- package/dist-types/commands/RequestEnvironmentInfoCommand.d.ts +8 -5
- package/dist-types/commands/RestartAppServerCommand.d.ts +7 -4
- package/dist-types/commands/RetrieveEnvironmentInfoCommand.d.ts +10 -10
- package/dist-types/commands/SwapEnvironmentCNAMEsCommand.d.ts +8 -5
- package/dist-types/commands/TerminateEnvironmentCommand.d.ts +19 -19
- package/dist-types/commands/UpdateApplicationCommand.d.ts +12 -12
- package/dist-types/commands/UpdateApplicationResourceLifecycleCommand.d.ts +1 -0
- package/dist-types/commands/UpdateApplicationVersionCommand.d.ts +15 -15
- package/dist-types/commands/UpdateConfigurationTemplateCommand.d.ts +13 -13
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +63 -64
- package/dist-types/commands/UpdateTagsForResourceCommand.d.ts +1 -0
- package/dist-types/commands/ValidateConfigurationSettingsCommand.d.ts +10 -10
- package/package.json +34 -34
|
@@ -40,8 +40,6 @@ const defaultElasticBeanstalkHttpAuthSchemeProvider = (authParameters) => {
|
|
|
40
40
|
exports.defaultElasticBeanstalkHttpAuthSchemeProvider = defaultElasticBeanstalkHttpAuthSchemeProvider;
|
|
41
41
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
42
42
|
const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
|
|
43
|
-
return {
|
|
44
|
-
...config_0,
|
|
45
|
-
};
|
|
43
|
+
return Object.assign(config_0, {});
|
|
46
44
|
};
|
|
47
45
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/index.js
CHANGED
|
@@ -137,12 +137,11 @@ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
|
137
137
|
|
|
138
138
|
// src/endpoint/EndpointParameters.ts
|
|
139
139
|
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
140
|
-
return {
|
|
141
|
-
...options,
|
|
140
|
+
return Object.assign(options, {
|
|
142
141
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
143
142
|
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
144
143
|
defaultSigningName: "elasticbeanstalk"
|
|
145
|
-
};
|
|
144
|
+
});
|
|
146
145
|
}, "resolveClientEndpointParameters");
|
|
147
146
|
var commonParams = {
|
|
148
147
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -199,22 +198,21 @@ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
|
199
198
|
}, "resolveHttpAuthRuntimeConfig");
|
|
200
199
|
|
|
201
200
|
// src/runtimeExtensions.ts
|
|
202
|
-
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
203
201
|
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
204
|
-
const extensionConfiguration =
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
202
|
+
const extensionConfiguration = Object.assign(
|
|
203
|
+
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
204
|
+
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
205
|
+
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
206
|
+
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
207
|
+
);
|
|
210
208
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
211
|
-
return
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
209
|
+
return Object.assign(
|
|
210
|
+
runtimeConfig,
|
|
211
|
+
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
212
|
+
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
213
|
+
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
214
|
+
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
215
|
+
);
|
|
218
216
|
}, "resolveRuntimeExtensions");
|
|
219
217
|
|
|
220
218
|
// src/ElasticBeanstalkClient.ts
|
|
@@ -228,6 +226,8 @@ var ElasticBeanstalkClient = class extends import_smithy_client.Client {
|
|
|
228
226
|
config;
|
|
229
227
|
constructor(...[configuration]) {
|
|
230
228
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
229
|
+
super(_config_0);
|
|
230
|
+
this.initConfig = _config_0;
|
|
231
231
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
232
232
|
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
233
233
|
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
@@ -236,7 +236,6 @@ var ElasticBeanstalkClient = class extends import_smithy_client.Client {
|
|
|
236
236
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
237
237
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
238
238
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
239
|
-
super(_config_8);
|
|
240
239
|
this.config = _config_8;
|
|
241
240
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
242
241
|
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
@@ -17,6 +17,8 @@ export class ElasticBeanstalkClient extends __Client {
|
|
|
17
17
|
config;
|
|
18
18
|
constructor(...[configuration]) {
|
|
19
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
20
|
+
super(_config_0);
|
|
21
|
+
this.initConfig = _config_0;
|
|
20
22
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
21
23
|
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
22
24
|
const _config_3 = resolveRetryConfig(_config_2);
|
|
@@ -25,7 +27,6 @@ export class ElasticBeanstalkClient extends __Client {
|
|
|
25
27
|
const _config_6 = resolveEndpointConfig(_config_5);
|
|
26
28
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
27
29
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
28
|
-
super(_config_8);
|
|
29
30
|
this.config = _config_8;
|
|
30
31
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
31
32
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
@@ -35,7 +35,5 @@ export const defaultElasticBeanstalkHttpAuthSchemeProvider = (authParameters) =>
|
|
|
35
35
|
};
|
|
36
36
|
export const resolveHttpAuthSchemeConfig = (config) => {
|
|
37
37
|
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
38
|
-
return {
|
|
39
|
-
...config_0,
|
|
40
|
-
};
|
|
38
|
+
return Object.assign(config_0, {});
|
|
41
39
|
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
export const resolveClientEndpointParameters = (options) => {
|
|
2
|
-
return {
|
|
3
|
-
...options,
|
|
2
|
+
return Object.assign(options, {
|
|
4
3
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
5
4
|
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
6
5
|
defaultSigningName: "elasticbeanstalk",
|
|
7
|
-
};
|
|
6
|
+
});
|
|
8
7
|
};
|
|
9
8
|
export const commonParams = {
|
|
10
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -2,20 +2,8 @@ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfigurat
|
|
|
2
2
|
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
3
3
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
4
4
|
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
-
const asPartial = (t) => t;
|
|
6
5
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
7
|
-
const extensionConfiguration =
|
|
8
|
-
...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
|
|
9
|
-
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
10
|
-
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
11
|
-
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
|
|
12
|
-
};
|
|
6
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
13
7
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
14
|
-
return
|
|
15
|
-
...runtimeConfig,
|
|
16
|
-
...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
17
|
-
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
18
|
-
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
19
|
-
...resolveHttpAuthRuntimeConfig(extensionConfiguration),
|
|
20
|
-
};
|
|
8
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
21
9
|
};
|
|
@@ -58,18 +58,21 @@ declare const AbortEnvironmentUpdateCommand_base: {
|
|
|
58
58
|
* @throws {@link ElasticBeanstalkServiceException}
|
|
59
59
|
* <p>Base exception class for all service exceptions from ElasticBeanstalk service.</p>
|
|
60
60
|
*
|
|
61
|
-
*
|
|
61
|
+
*
|
|
62
62
|
* @example To abort a deployment
|
|
63
63
|
* ```javascript
|
|
64
64
|
* // The following code aborts a running application version deployment for an environment named my-env:
|
|
65
65
|
* const input = {
|
|
66
|
-
*
|
|
66
|
+
* EnvironmentName: "my-env"
|
|
67
67
|
* };
|
|
68
68
|
* const command = new AbortEnvironmentUpdateCommand(input);
|
|
69
|
-
* await client.send(command);
|
|
70
|
-
*
|
|
69
|
+
* const response = await client.send(command);
|
|
70
|
+
* /* response is
|
|
71
|
+
* { /* metadata only *\/ }
|
|
72
|
+
* *\/
|
|
71
73
|
* ```
|
|
72
74
|
*
|
|
75
|
+
* @public
|
|
73
76
|
*/
|
|
74
77
|
export declare class AbortEnvironmentUpdateCommand extends AbortEnvironmentUpdateCommand_base {
|
|
75
78
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -67,6 +67,7 @@ declare const ApplyEnvironmentManagedActionCommand_base: {
|
|
|
67
67
|
* @throws {@link ElasticBeanstalkServiceException}
|
|
68
68
|
* <p>Base exception class for all service exceptions from ElasticBeanstalk service.</p>
|
|
69
69
|
*
|
|
70
|
+
*
|
|
70
71
|
* @public
|
|
71
72
|
*/
|
|
72
73
|
export declare class ApplyEnvironmentManagedActionCommand extends ApplyEnvironmentManagedActionCommand_base {
|
|
@@ -60,6 +60,7 @@ declare const AssociateEnvironmentOperationsRoleCommand_base: {
|
|
|
60
60
|
* @throws {@link ElasticBeanstalkServiceException}
|
|
61
61
|
* <p>Base exception class for all service exceptions from ElasticBeanstalk service.</p>
|
|
62
62
|
*
|
|
63
|
+
*
|
|
63
64
|
* @public
|
|
64
65
|
*/
|
|
65
66
|
export declare class AssociateEnvironmentOperationsRoleCommand extends AssociateEnvironmentOperationsRoleCommand_base {
|
|
@@ -55,24 +55,24 @@ declare const CheckDNSAvailabilityCommand_base: {
|
|
|
55
55
|
* @throws {@link ElasticBeanstalkServiceException}
|
|
56
56
|
* <p>Base exception class for all service exceptions from ElasticBeanstalk service.</p>
|
|
57
57
|
*
|
|
58
|
-
*
|
|
58
|
+
*
|
|
59
59
|
* @example To check the availability of a CNAME
|
|
60
60
|
* ```javascript
|
|
61
61
|
* // The following operation checks the availability of the subdomain my-cname:
|
|
62
62
|
* const input = {
|
|
63
|
-
*
|
|
63
|
+
* CNAMEPrefix: "my-cname"
|
|
64
64
|
* };
|
|
65
65
|
* const command = new CheckDNSAvailabilityCommand(input);
|
|
66
66
|
* const response = await client.send(command);
|
|
67
|
-
* /* response
|
|
67
|
+
* /* response is
|
|
68
68
|
* {
|
|
69
|
-
*
|
|
70
|
-
*
|
|
69
|
+
* Available: true,
|
|
70
|
+
* FullyQualifiedCNAME: "my-cname.us-west-2.elasticbeanstalk.com"
|
|
71
71
|
* }
|
|
72
72
|
* *\/
|
|
73
|
-
* // example id: to-check-the-availability-of-a-cname-1456268589537
|
|
74
73
|
* ```
|
|
75
74
|
*
|
|
75
|
+
* @public
|
|
76
76
|
*/
|
|
77
77
|
export declare class CheckDNSAvailabilityCommand extends CheckDNSAvailabilityCommand_base {
|
|
78
78
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -115,6 +115,7 @@ declare const ComposeEnvironmentsCommand_base: {
|
|
|
115
115
|
* @throws {@link ElasticBeanstalkServiceException}
|
|
116
116
|
* <p>Base exception class for all service exceptions from ElasticBeanstalk service.</p>
|
|
117
117
|
*
|
|
118
|
+
*
|
|
118
119
|
* @public
|
|
119
120
|
*/
|
|
120
121
|
export declare class ComposeEnvironmentsCommand extends ComposeEnvironmentsCommand_base {
|
|
@@ -107,30 +107,30 @@ declare const CreateApplicationCommand_base: {
|
|
|
107
107
|
* @throws {@link ElasticBeanstalkServiceException}
|
|
108
108
|
* <p>Base exception class for all service exceptions from ElasticBeanstalk service.</p>
|
|
109
109
|
*
|
|
110
|
-
*
|
|
110
|
+
*
|
|
111
111
|
* @example To create a new application
|
|
112
112
|
* ```javascript
|
|
113
113
|
* // The following operation creates a new application named my-app:
|
|
114
114
|
* const input = {
|
|
115
|
-
*
|
|
116
|
-
*
|
|
115
|
+
* ApplicationName: "my-app",
|
|
116
|
+
* Description: "my application"
|
|
117
117
|
* };
|
|
118
118
|
* const command = new CreateApplicationCommand(input);
|
|
119
119
|
* const response = await client.send(command);
|
|
120
|
-
* /* response
|
|
120
|
+
* /* response is
|
|
121
121
|
* {
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
122
|
+
* Application: {
|
|
123
|
+
* ApplicationName: "my-app",
|
|
124
|
+
* ConfigurationTemplates: [],
|
|
125
|
+
* DateCreated: "2015-02-12T18:32:21.181Z",
|
|
126
|
+
* DateUpdated: "2015-02-12T18:32:21.181Z",
|
|
127
|
+
* Description: "my application"
|
|
128
128
|
* }
|
|
129
129
|
* }
|
|
130
130
|
* *\/
|
|
131
|
-
* // example id: to-create-a-new-application-1456268895683
|
|
132
131
|
* ```
|
|
133
132
|
*
|
|
133
|
+
* @public
|
|
134
134
|
*/
|
|
135
135
|
export declare class CreateApplicationCommand extends CreateApplicationCommand_base {
|
|
136
136
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -142,41 +142,41 @@ declare const CreateApplicationVersionCommand_base: {
|
|
|
142
142
|
* @throws {@link ElasticBeanstalkServiceException}
|
|
143
143
|
* <p>Base exception class for all service exceptions from ElasticBeanstalk service.</p>
|
|
144
144
|
*
|
|
145
|
-
*
|
|
145
|
+
*
|
|
146
146
|
* @example To create a new application
|
|
147
147
|
* ```javascript
|
|
148
148
|
* // The following operation creates a new version (v1) of an application named my-app:
|
|
149
149
|
* const input = {
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
*
|
|
150
|
+
* ApplicationName: "my-app",
|
|
151
|
+
* AutoCreateApplication: true,
|
|
152
|
+
* Description: "my-app-v1",
|
|
153
|
+
* Process: true,
|
|
154
|
+
* SourceBundle: {
|
|
155
|
+
* S3Bucket: "my-bucket",
|
|
156
|
+
* S3Key: "sample.war"
|
|
157
157
|
* },
|
|
158
|
-
*
|
|
158
|
+
* VersionLabel: "v1"
|
|
159
159
|
* };
|
|
160
160
|
* const command = new CreateApplicationVersionCommand(input);
|
|
161
161
|
* const response = await client.send(command);
|
|
162
|
-
* /* response
|
|
162
|
+
* /* response is
|
|
163
163
|
* {
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
*
|
|
164
|
+
* ApplicationVersion: {
|
|
165
|
+
* ApplicationName: "my-app",
|
|
166
|
+
* DateCreated: "2015-02-03T23:01:25.412Z",
|
|
167
|
+
* DateUpdated: "2015-02-03T23:01:25.412Z",
|
|
168
|
+
* Description: "my-app-v1",
|
|
169
|
+
* SourceBundle: {
|
|
170
|
+
* S3Bucket: "my-bucket",
|
|
171
|
+
* S3Key: "sample.war"
|
|
172
172
|
* },
|
|
173
|
-
*
|
|
173
|
+
* VersionLabel: "v1"
|
|
174
174
|
* }
|
|
175
175
|
* }
|
|
176
176
|
* *\/
|
|
177
|
-
* // example id: to-create-a-new-application-1456268895683
|
|
178
177
|
* ```
|
|
179
178
|
*
|
|
179
|
+
* @public
|
|
180
180
|
*/
|
|
181
181
|
export declare class CreateApplicationVersionCommand extends CreateApplicationVersionCommand_base {
|
|
182
182
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -126,29 +126,29 @@ declare const CreateConfigurationTemplateCommand_base: {
|
|
|
126
126
|
* @throws {@link ElasticBeanstalkServiceException}
|
|
127
127
|
* <p>Base exception class for all service exceptions from ElasticBeanstalk service.</p>
|
|
128
128
|
*
|
|
129
|
-
*
|
|
129
|
+
*
|
|
130
130
|
* @example To create a configuration template
|
|
131
131
|
* ```javascript
|
|
132
132
|
* // The following operation creates a configuration template named my-app-v1 from the settings applied to an environment with the id e-rpqsewtp2j:
|
|
133
133
|
* const input = {
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
134
|
+
* ApplicationName: "my-app",
|
|
135
|
+
* EnvironmentId: "e-rpqsewtp2j",
|
|
136
|
+
* TemplateName: "my-app-v1"
|
|
137
137
|
* };
|
|
138
138
|
* const command = new CreateConfigurationTemplateCommand(input);
|
|
139
139
|
* const response = await client.send(command);
|
|
140
|
-
* /* response
|
|
140
|
+
* /* response is
|
|
141
141
|
* {
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
142
|
+
* ApplicationName: "my-app",
|
|
143
|
+
* DateCreated: "2015-08-12T18:40:39Z",
|
|
144
|
+
* DateUpdated: "2015-08-12T18:40:39Z",
|
|
145
|
+
* SolutionStackName: "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
|
|
146
|
+
* TemplateName: "my-app-v1"
|
|
147
147
|
* }
|
|
148
148
|
* *\/
|
|
149
|
-
* // example id: to-create-a-configuration-template-1456269283586
|
|
150
149
|
* ```
|
|
151
150
|
*
|
|
151
|
+
* @public
|
|
152
152
|
*/
|
|
153
153
|
export declare class CreateConfigurationTemplateCommand extends CreateConfigurationTemplateCommand_base {
|
|
154
154
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -137,41 +137,41 @@ declare const CreateEnvironmentCommand_base: {
|
|
|
137
137
|
* @throws {@link ElasticBeanstalkServiceException}
|
|
138
138
|
* <p>Base exception class for all service exceptions from ElasticBeanstalk service.</p>
|
|
139
139
|
*
|
|
140
|
-
*
|
|
140
|
+
*
|
|
141
141
|
* @example To create a new environment for an application
|
|
142
142
|
* ```javascript
|
|
143
143
|
* // The following operation creates a new environment for version v1 of a java application named my-app:
|
|
144
144
|
* const input = {
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
-
*
|
|
145
|
+
* ApplicationName: "my-app",
|
|
146
|
+
* CNAMEPrefix: "my-app",
|
|
147
|
+
* EnvironmentName: "my-env",
|
|
148
|
+
* SolutionStackName: "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
|
|
149
|
+
* VersionLabel: "v1"
|
|
150
150
|
* };
|
|
151
151
|
* const command = new CreateEnvironmentCommand(input);
|
|
152
152
|
* const response = await client.send(command);
|
|
153
|
-
* /* response
|
|
153
|
+
* /* response is
|
|
154
154
|
* {
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
*
|
|
155
|
+
* ApplicationName: "my-app",
|
|
156
|
+
* CNAME: "my-app.elasticbeanstalk.com",
|
|
157
|
+
* DateCreated: "2015-02-03T23:04:54.479Z",
|
|
158
|
+
* DateUpdated: "2015-02-03T23:04:54.479Z",
|
|
159
|
+
* EnvironmentId: "e-izqpassy4h",
|
|
160
|
+
* EnvironmentName: "my-env",
|
|
161
|
+
* Health: "Grey",
|
|
162
|
+
* SolutionStackName: "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
|
|
163
|
+
* Status: "Launching",
|
|
164
|
+
* Tier: {
|
|
165
|
+
* Name: "WebServer",
|
|
166
|
+
* Type: "Standard",
|
|
167
|
+
* Version: " "
|
|
168
168
|
* },
|
|
169
|
-
*
|
|
169
|
+
* VersionLabel: "v1"
|
|
170
170
|
* }
|
|
171
171
|
* *\/
|
|
172
|
-
* // example id: to-create-a-new-environment-for-an-application-1456269380396
|
|
173
172
|
* ```
|
|
174
173
|
*
|
|
174
|
+
* @public
|
|
175
175
|
*/
|
|
176
176
|
export declare class CreateEnvironmentCommand extends CreateEnvironmentCommand_base {
|
|
177
177
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -104,6 +104,7 @@ declare const CreatePlatformVersionCommand_base: {
|
|
|
104
104
|
* @throws {@link ElasticBeanstalkServiceException}
|
|
105
105
|
* <p>Base exception class for all service exceptions from ElasticBeanstalk service.</p>
|
|
106
106
|
*
|
|
107
|
+
*
|
|
107
108
|
* @public
|
|
108
109
|
*/
|
|
109
110
|
export declare class CreatePlatformVersionCommand extends CreatePlatformVersionCommand_base {
|
|
@@ -66,21 +66,21 @@ declare const CreateStorageLocationCommand_base: {
|
|
|
66
66
|
* @throws {@link ElasticBeanstalkServiceException}
|
|
67
67
|
* <p>Base exception class for all service exceptions from ElasticBeanstalk service.</p>
|
|
68
68
|
*
|
|
69
|
-
*
|
|
69
|
+
*
|
|
70
70
|
* @example To create a new environment for an application
|
|
71
71
|
* ```javascript
|
|
72
72
|
* // The following operation creates a new environment for version v1 of a java application named my-app:
|
|
73
|
-
* const input = {};
|
|
73
|
+
* const input = { /* empty *\/ };
|
|
74
74
|
* const command = new CreateStorageLocationCommand(input);
|
|
75
75
|
* const response = await client.send(command);
|
|
76
|
-
* /* response
|
|
76
|
+
* /* response is
|
|
77
77
|
* {
|
|
78
|
-
*
|
|
78
|
+
* S3Bucket: "elasticbeanstalk-us-west-2-0123456789012"
|
|
79
79
|
* }
|
|
80
80
|
* *\/
|
|
81
|
-
* // example id: to-create-a-new-environment-for-an-application-1456269380396
|
|
82
81
|
* ```
|
|
83
82
|
*
|
|
83
|
+
* @public
|
|
84
84
|
*/
|
|
85
85
|
export declare class CreateStorageLocationCommand extends CreateStorageLocationCommand_base {
|
|
86
86
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -62,18 +62,21 @@ declare const DeleteApplicationCommand_base: {
|
|
|
62
62
|
* @throws {@link ElasticBeanstalkServiceException}
|
|
63
63
|
* <p>Base exception class for all service exceptions from ElasticBeanstalk service.</p>
|
|
64
64
|
*
|
|
65
|
-
*
|
|
65
|
+
*
|
|
66
66
|
* @example To delete an application
|
|
67
67
|
* ```javascript
|
|
68
68
|
* // The following operation deletes an application named my-app:
|
|
69
69
|
* const input = {
|
|
70
|
-
*
|
|
70
|
+
* ApplicationName: "my-app"
|
|
71
71
|
* };
|
|
72
72
|
* const command = new DeleteApplicationCommand(input);
|
|
73
|
-
* await client.send(command);
|
|
74
|
-
*
|
|
73
|
+
* const response = await client.send(command);
|
|
74
|
+
* /* response is
|
|
75
|
+
* { /* metadata only *\/ }
|
|
76
|
+
* *\/
|
|
75
77
|
* ```
|
|
76
78
|
*
|
|
79
|
+
* @public
|
|
77
80
|
*/
|
|
78
81
|
export declare class DeleteApplicationCommand extends DeleteApplicationCommand_base {
|
|
79
82
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -85,20 +85,23 @@ declare const DeleteApplicationVersionCommand_base: {
|
|
|
85
85
|
* @throws {@link ElasticBeanstalkServiceException}
|
|
86
86
|
* <p>Base exception class for all service exceptions from ElasticBeanstalk service.</p>
|
|
87
87
|
*
|
|
88
|
-
*
|
|
88
|
+
*
|
|
89
89
|
* @example To delete an application version
|
|
90
90
|
* ```javascript
|
|
91
91
|
* // The following operation deletes an application version named 22a0-stage-150819_182129 for an application named my-app:
|
|
92
92
|
* const input = {
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
93
|
+
* ApplicationName: "my-app",
|
|
94
|
+
* DeleteSourceBundle: true,
|
|
95
|
+
* VersionLabel: "22a0-stage-150819_182129"
|
|
96
96
|
* };
|
|
97
97
|
* const command = new DeleteApplicationVersionCommand(input);
|
|
98
|
-
* await client.send(command);
|
|
99
|
-
*
|
|
98
|
+
* const response = await client.send(command);
|
|
99
|
+
* /* response is
|
|
100
|
+
* { /* metadata only *\/ }
|
|
101
|
+
* *\/
|
|
100
102
|
* ```
|
|
101
103
|
*
|
|
104
|
+
* @public
|
|
102
105
|
*/
|
|
103
106
|
export declare class DeleteApplicationVersionCommand extends DeleteApplicationVersionCommand_base {
|
|
104
107
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -62,19 +62,22 @@ declare const DeleteConfigurationTemplateCommand_base: {
|
|
|
62
62
|
* @throws {@link ElasticBeanstalkServiceException}
|
|
63
63
|
* <p>Base exception class for all service exceptions from ElasticBeanstalk service.</p>
|
|
64
64
|
*
|
|
65
|
-
*
|
|
65
|
+
*
|
|
66
66
|
* @example To delete a configuration template
|
|
67
67
|
* ```javascript
|
|
68
68
|
* // The following operation deletes a configuration template named my-template for an application named my-app:
|
|
69
69
|
* const input = {
|
|
70
|
-
*
|
|
71
|
-
*
|
|
70
|
+
* ApplicationName: "my-app",
|
|
71
|
+
* TemplateName: "my-template"
|
|
72
72
|
* };
|
|
73
73
|
* const command = new DeleteConfigurationTemplateCommand(input);
|
|
74
|
-
* await client.send(command);
|
|
75
|
-
*
|
|
74
|
+
* const response = await client.send(command);
|
|
75
|
+
* /* response is
|
|
76
|
+
* { /* metadata only *\/ }
|
|
77
|
+
* *\/
|
|
76
78
|
* ```
|
|
77
79
|
*
|
|
80
|
+
* @public
|
|
78
81
|
*/
|
|
79
82
|
export declare class DeleteConfigurationTemplateCommand extends DeleteConfigurationTemplateCommand_base {
|
|
80
83
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -58,19 +58,22 @@ declare const DeleteEnvironmentConfigurationCommand_base: {
|
|
|
58
58
|
* @throws {@link ElasticBeanstalkServiceException}
|
|
59
59
|
* <p>Base exception class for all service exceptions from ElasticBeanstalk service.</p>
|
|
60
60
|
*
|
|
61
|
-
*
|
|
61
|
+
*
|
|
62
62
|
* @example To delete a draft configuration
|
|
63
63
|
* ```javascript
|
|
64
64
|
* // The following operation deletes a draft configuration for an environment named my-env:
|
|
65
65
|
* const input = {
|
|
66
|
-
*
|
|
67
|
-
*
|
|
66
|
+
* ApplicationName: "my-app",
|
|
67
|
+
* EnvironmentName: "my-env"
|
|
68
68
|
* };
|
|
69
69
|
* const command = new DeleteEnvironmentConfigurationCommand(input);
|
|
70
|
-
* await client.send(command);
|
|
71
|
-
*
|
|
70
|
+
* const response = await client.send(command);
|
|
71
|
+
* /* response is
|
|
72
|
+
* { /* metadata only *\/ }
|
|
73
|
+
* *\/
|
|
72
74
|
* ```
|
|
73
75
|
*
|
|
76
|
+
* @public
|
|
74
77
|
*/
|
|
75
78
|
export declare class DeleteEnvironmentConfigurationCommand extends DeleteEnvironmentConfigurationCommand_base {
|
|
76
79
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -85,6 +85,7 @@ declare const DeletePlatformVersionCommand_base: {
|
|
|
85
85
|
* @throws {@link ElasticBeanstalkServiceException}
|
|
86
86
|
* <p>Base exception class for all service exceptions from ElasticBeanstalk service.</p>
|
|
87
87
|
*
|
|
88
|
+
*
|
|
88
89
|
* @public
|
|
89
90
|
*/
|
|
90
91
|
export declare class DeletePlatformVersionCommand extends DeletePlatformVersionCommand_base {
|
|
@@ -74,6 +74,7 @@ declare const DescribeAccountAttributesCommand_base: {
|
|
|
74
74
|
* @throws {@link ElasticBeanstalkServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from ElasticBeanstalk service.</p>
|
|
76
76
|
*
|
|
77
|
+
*
|
|
77
78
|
* @public
|
|
78
79
|
*/
|
|
79
80
|
export declare class DescribeAccountAttributesCommand extends DescribeAccountAttributesCommand_base {
|