@aws-sdk/client-elastic-beanstalk 3.287.0 → 3.289.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-types/commands/AbortEnvironmentUpdateCommand.d.ts +11 -0
- package/dist-types/commands/CheckDNSAvailabilityCommand.d.ts +17 -0
- package/dist-types/commands/CreateApplicationCommand.d.ts +23 -0
- package/dist-types/commands/CreateApplicationVersionCommand.d.ts +34 -0
- package/dist-types/commands/CreateConfigurationTemplateCommand.d.ts +22 -0
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +34 -0
- package/dist-types/commands/CreateStorageLocationCommand.d.ts +14 -0
- package/dist-types/commands/DeleteApplicationCommand.d.ts +11 -0
- package/dist-types/commands/DeleteApplicationVersionCommand.d.ts +13 -0
- package/dist-types/commands/DeleteConfigurationTemplateCommand.d.ts +12 -0
- package/dist-types/commands/DeleteEnvironmentConfigurationCommand.d.ts +12 -0
- package/dist-types/commands/DescribeApplicationVersionsCommand.d.ts +42 -0
- package/dist-types/commands/DescribeApplicationsCommand.d.ts +44 -0
- package/dist-types/commands/DescribeConfigurationOptionsCommand.d.ts +37 -0
- package/dist-types/commands/DescribeConfigurationSettingsCommand.d.ts +53 -0
- package/dist-types/commands/DescribeEnvironmentHealthCommand.d.ts +53 -0
- package/dist-types/commands/DescribeEnvironmentResourcesCommand.d.ts +40 -0
- package/dist-types/commands/DescribeEnvironmentsCommand.d.ts +38 -0
- package/dist-types/commands/DescribeEventsCommand.d.ts +48 -0
- package/dist-types/commands/DescribeInstancesHealthCommand.d.ts +64 -0
- package/dist-types/commands/ListAvailableSolutionStacksCommand.d.ts +51 -0
- package/dist-types/commands/RebuildEnvironmentCommand.d.ts +11 -0
- package/dist-types/commands/RequestEnvironmentInfoCommand.d.ts +12 -0
- package/dist-types/commands/RestartAppServerCommand.d.ts +11 -0
- package/dist-types/commands/RetrieveEnvironmentInfoCommand.d.ts +24 -0
- package/dist-types/commands/SwapEnvironmentCNAMEsCommand.d.ts +12 -0
- package/dist-types/commands/TerminateEnvironmentCommand.d.ts +31 -0
- package/dist-types/commands/UpdateApplicationCommand.d.ts +30 -0
- package/dist-types/commands/UpdateApplicationVersionCommand.d.ts +28 -0
- package/dist-types/commands/UpdateConfigurationTemplateCommand.d.ts +27 -0
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +86 -0
- package/dist-types/commands/ValidateConfigurationSettingsCommand.d.ts +24 -0
- package/package.json +30 -30
|
@@ -30,6 +30,17 @@ export interface AbortEnvironmentUpdateCommandOutput extends __MetadataBearer {
|
|
|
30
30
|
* @see {@link AbortEnvironmentUpdateCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @example To abort a deployment
|
|
34
|
+
* ```javascript
|
|
35
|
+
* // The following code aborts a running application version deployment for an environment named my-env:
|
|
36
|
+
* const input = {
|
|
37
|
+
* "EnvironmentName": "my-env"
|
|
38
|
+
* };
|
|
39
|
+
* const command = new AbortEnvironmentUpdateCommand(input);
|
|
40
|
+
* await client.send(command);
|
|
41
|
+
* // example id: to-abort-a-deployment-1456267848227
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
33
44
|
*/
|
|
34
45
|
export declare class AbortEnvironmentUpdateCommand extends $Command<AbortEnvironmentUpdateCommandInput, AbortEnvironmentUpdateCommandOutput, ElasticBeanstalkClientResolvedConfig> {
|
|
35
46
|
readonly input: AbortEnvironmentUpdateCommandInput;
|
|
@@ -29,6 +29,23 @@ export interface CheckDNSAvailabilityCommandOutput extends CheckDNSAvailabilityR
|
|
|
29
29
|
* @see {@link CheckDNSAvailabilityCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @example To check the availability of a CNAME
|
|
33
|
+
* ```javascript
|
|
34
|
+
* // The following operation checks the availability of the subdomain my-cname:
|
|
35
|
+
* const input = {
|
|
36
|
+
* "CNAMEPrefix": "my-cname"
|
|
37
|
+
* };
|
|
38
|
+
* const command = new CheckDNSAvailabilityCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* /* response ==
|
|
41
|
+
* {
|
|
42
|
+
* "Available": true,
|
|
43
|
+
* "FullyQualifiedCNAME": "my-cname.us-west-2.elasticbeanstalk.com"
|
|
44
|
+
* }
|
|
45
|
+
* *\/
|
|
46
|
+
* // example id: to-check-the-availability-of-a-cname-1456268589537
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
32
49
|
*/
|
|
33
50
|
export declare class CheckDNSAvailabilityCommand extends $Command<CheckDNSAvailabilityCommandInput, CheckDNSAvailabilityCommandOutput, ElasticBeanstalkClientResolvedConfig> {
|
|
34
51
|
readonly input: CheckDNSAvailabilityCommandInput;
|
|
@@ -30,6 +30,29 @@ export interface CreateApplicationCommandOutput extends ApplicationDescriptionMe
|
|
|
30
30
|
* @see {@link CreateApplicationCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @example To create a new application
|
|
34
|
+
* ```javascript
|
|
35
|
+
* // The following operation creates a new application named my-app:
|
|
36
|
+
* const input = {
|
|
37
|
+
* "ApplicationName": "my-app",
|
|
38
|
+
* "Description": "my application"
|
|
39
|
+
* };
|
|
40
|
+
* const command = new CreateApplicationCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* /* response ==
|
|
43
|
+
* {
|
|
44
|
+
* "Application": {
|
|
45
|
+
* "ApplicationName": "my-app",
|
|
46
|
+
* "ConfigurationTemplates": [],
|
|
47
|
+
* "DateCreated": "2015-02-12T18:32:21.181Z",
|
|
48
|
+
* "DateUpdated": "2015-02-12T18:32:21.181Z",
|
|
49
|
+
* "Description": "my application"
|
|
50
|
+
* }
|
|
51
|
+
* }
|
|
52
|
+
* *\/
|
|
53
|
+
* // example id: to-create-a-new-application-1456268895683
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
33
56
|
*/
|
|
34
57
|
export declare class CreateApplicationCommand extends $Command<CreateApplicationCommandInput, CreateApplicationCommandOutput, ElasticBeanstalkClientResolvedConfig> {
|
|
35
58
|
readonly input: CreateApplicationCommandInput;
|
|
@@ -45,6 +45,40 @@ export interface CreateApplicationVersionCommandOutput extends ApplicationVersio
|
|
|
45
45
|
* @see {@link CreateApplicationVersionCommandOutput} for command's `response` shape.
|
|
46
46
|
* @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
|
|
47
47
|
*
|
|
48
|
+
* @example To create a new application
|
|
49
|
+
* ```javascript
|
|
50
|
+
* // The following operation creates a new version (v1) of an application named my-app:
|
|
51
|
+
* const input = {
|
|
52
|
+
* "ApplicationName": "my-app",
|
|
53
|
+
* "AutoCreateApplication": true,
|
|
54
|
+
* "Description": "my-app-v1",
|
|
55
|
+
* "Process": true,
|
|
56
|
+
* "SourceBundle": {
|
|
57
|
+
* "S3Bucket": "my-bucket",
|
|
58
|
+
* "S3Key": "sample.war"
|
|
59
|
+
* },
|
|
60
|
+
* "VersionLabel": "v1"
|
|
61
|
+
* };
|
|
62
|
+
* const command = new CreateApplicationVersionCommand(input);
|
|
63
|
+
* const response = await client.send(command);
|
|
64
|
+
* /* response ==
|
|
65
|
+
* {
|
|
66
|
+
* "ApplicationVersion": {
|
|
67
|
+
* "ApplicationName": "my-app",
|
|
68
|
+
* "DateCreated": "2015-02-03T23:01:25.412Z",
|
|
69
|
+
* "DateUpdated": "2015-02-03T23:01:25.412Z",
|
|
70
|
+
* "Description": "my-app-v1",
|
|
71
|
+
* "SourceBundle": {
|
|
72
|
+
* "S3Bucket": "my-bucket",
|
|
73
|
+
* "S3Key": "sample.war"
|
|
74
|
+
* },
|
|
75
|
+
* "VersionLabel": "v1"
|
|
76
|
+
* }
|
|
77
|
+
* }
|
|
78
|
+
* *\/
|
|
79
|
+
* // example id: to-create-a-new-application-1456268895683
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
48
82
|
*/
|
|
49
83
|
export declare class CreateApplicationVersionCommand extends $Command<CreateApplicationVersionCommandInput, CreateApplicationVersionCommandOutput, ElasticBeanstalkClientResolvedConfig> {
|
|
50
84
|
readonly input: CreateApplicationVersionCommandInput;
|
|
@@ -52,6 +52,28 @@ export interface CreateConfigurationTemplateCommandOutput extends ConfigurationS
|
|
|
52
52
|
* @see {@link CreateConfigurationTemplateCommandOutput} for command's `response` shape.
|
|
53
53
|
* @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
|
|
54
54
|
*
|
|
55
|
+
* @example To create a configuration template
|
|
56
|
+
* ```javascript
|
|
57
|
+
* // The following operation creates a configuration template named my-app-v1 from the settings applied to an environment with the id e-rpqsewtp2j:
|
|
58
|
+
* const input = {
|
|
59
|
+
* "ApplicationName": "my-app",
|
|
60
|
+
* "EnvironmentId": "e-rpqsewtp2j",
|
|
61
|
+
* "TemplateName": "my-app-v1"
|
|
62
|
+
* };
|
|
63
|
+
* const command = new CreateConfigurationTemplateCommand(input);
|
|
64
|
+
* const response = await client.send(command);
|
|
65
|
+
* /* response ==
|
|
66
|
+
* {
|
|
67
|
+
* "ApplicationName": "my-app",
|
|
68
|
+
* "DateCreated": "2015-08-12T18:40:39Z",
|
|
69
|
+
* "DateUpdated": "2015-08-12T18:40:39Z",
|
|
70
|
+
* "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
|
|
71
|
+
* "TemplateName": "my-app-v1"
|
|
72
|
+
* }
|
|
73
|
+
* *\/
|
|
74
|
+
* // example id: to-create-a-configuration-template-1456269283586
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
55
77
|
*/
|
|
56
78
|
export declare class CreateConfigurationTemplateCommand extends $Command<CreateConfigurationTemplateCommandInput, CreateConfigurationTemplateCommandOutput, ElasticBeanstalkClientResolvedConfig> {
|
|
57
79
|
readonly input: CreateConfigurationTemplateCommandInput;
|
|
@@ -30,6 +30,40 @@ export interface CreateEnvironmentCommandOutput extends EnvironmentDescription,
|
|
|
30
30
|
* @see {@link CreateEnvironmentCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @example To create a new environment for an application
|
|
34
|
+
* ```javascript
|
|
35
|
+
* // The following operation creates a new environment for version v1 of a java application named my-app:
|
|
36
|
+
* const input = {
|
|
37
|
+
* "ApplicationName": "my-app",
|
|
38
|
+
* "CNAMEPrefix": "my-app",
|
|
39
|
+
* "EnvironmentName": "my-env",
|
|
40
|
+
* "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
|
|
41
|
+
* "VersionLabel": "v1"
|
|
42
|
+
* };
|
|
43
|
+
* const command = new CreateEnvironmentCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* /* response ==
|
|
46
|
+
* {
|
|
47
|
+
* "ApplicationName": "my-app",
|
|
48
|
+
* "CNAME": "my-app.elasticbeanstalk.com",
|
|
49
|
+
* "DateCreated": "2015-02-03T23:04:54.479Z",
|
|
50
|
+
* "DateUpdated": "2015-02-03T23:04:54.479Z",
|
|
51
|
+
* "EnvironmentId": "e-izqpassy4h",
|
|
52
|
+
* "EnvironmentName": "my-env",
|
|
53
|
+
* "Health": "Grey",
|
|
54
|
+
* "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
|
|
55
|
+
* "Status": "Launching",
|
|
56
|
+
* "Tier": {
|
|
57
|
+
* "Name": "WebServer",
|
|
58
|
+
* "Type": "Standard",
|
|
59
|
+
* "Version": " "
|
|
60
|
+
* },
|
|
61
|
+
* "VersionLabel": "v1"
|
|
62
|
+
* }
|
|
63
|
+
* *\/
|
|
64
|
+
* // example id: to-create-a-new-environment-for-an-application-1456269380396
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
33
67
|
*/
|
|
34
68
|
export declare class CreateEnvironmentCommand extends $Command<CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput, ElasticBeanstalkClientResolvedConfig> {
|
|
35
69
|
readonly input: CreateEnvironmentCommandInput;
|
|
@@ -33,6 +33,20 @@ export interface CreateStorageLocationCommandOutput extends CreateStorageLocatio
|
|
|
33
33
|
* @see {@link CreateStorageLocationCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @example To create a new environment for an application
|
|
37
|
+
* ```javascript
|
|
38
|
+
* // The following operation creates a new environment for version v1 of a java application named my-app:
|
|
39
|
+
* const input = undefined;
|
|
40
|
+
* const command = new CreateStorageLocationCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* /* response ==
|
|
43
|
+
* {
|
|
44
|
+
* "S3Bucket": "elasticbeanstalk-us-west-2-0123456789012"
|
|
45
|
+
* }
|
|
46
|
+
* *\/
|
|
47
|
+
* // example id: to-create-a-new-environment-for-an-application-1456269380396
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
36
50
|
*/
|
|
37
51
|
export declare class CreateStorageLocationCommand extends $Command<CreateStorageLocationCommandInput, CreateStorageLocationCommandOutput, ElasticBeanstalkClientResolvedConfig> {
|
|
38
52
|
readonly input: CreateStorageLocationCommandInput;
|
|
@@ -34,6 +34,17 @@ export interface DeleteApplicationCommandOutput extends __MetadataBearer {
|
|
|
34
34
|
* @see {@link DeleteApplicationCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @example To delete an application
|
|
38
|
+
* ```javascript
|
|
39
|
+
* // The following operation deletes an application named my-app:
|
|
40
|
+
* const input = {
|
|
41
|
+
* "ApplicationName": "my-app"
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DeleteApplicationCommand(input);
|
|
44
|
+
* await client.send(command);
|
|
45
|
+
* // example id: to-delete-an-application-1456269699366
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
37
48
|
*/
|
|
38
49
|
export declare class DeleteApplicationCommand extends $Command<DeleteApplicationCommandInput, DeleteApplicationCommandOutput, ElasticBeanstalkClientResolvedConfig> {
|
|
39
50
|
readonly input: DeleteApplicationCommandInput;
|
|
@@ -33,6 +33,19 @@ export interface DeleteApplicationVersionCommandOutput extends __MetadataBearer
|
|
|
33
33
|
* @see {@link DeleteApplicationVersionCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @example To delete an application version
|
|
37
|
+
* ```javascript
|
|
38
|
+
* // The following operation deletes an application version named 22a0-stage-150819_182129 for an application named my-app:
|
|
39
|
+
* const input = {
|
|
40
|
+
* "ApplicationName": "my-app",
|
|
41
|
+
* "DeleteSourceBundle": true,
|
|
42
|
+
* "VersionLabel": "22a0-stage-150819_182129"
|
|
43
|
+
* };
|
|
44
|
+
* const command = new DeleteApplicationVersionCommand(input);
|
|
45
|
+
* await client.send(command);
|
|
46
|
+
* // example id: to-delete-an-application-version-1456269792956
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
36
49
|
*/
|
|
37
50
|
export declare class DeleteApplicationVersionCommand extends $Command<DeleteApplicationVersionCommandInput, DeleteApplicationVersionCommandOutput, ElasticBeanstalkClientResolvedConfig> {
|
|
38
51
|
readonly input: DeleteApplicationVersionCommandInput;
|
|
@@ -34,6 +34,18 @@ export interface DeleteConfigurationTemplateCommandOutput extends __MetadataBear
|
|
|
34
34
|
* @see {@link DeleteConfigurationTemplateCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @example To delete a configuration template
|
|
38
|
+
* ```javascript
|
|
39
|
+
* // The following operation deletes a configuration template named my-template for an application named my-app:
|
|
40
|
+
* const input = {
|
|
41
|
+
* "ApplicationName": "my-app",
|
|
42
|
+
* "TemplateName": "my-template"
|
|
43
|
+
* };
|
|
44
|
+
* const command = new DeleteConfigurationTemplateCommand(input);
|
|
45
|
+
* await client.send(command);
|
|
46
|
+
* // example id: to-delete-a-configuration-template-1456269836701
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
37
49
|
*/
|
|
38
50
|
export declare class DeleteConfigurationTemplateCommand extends $Command<DeleteConfigurationTemplateCommandInput, DeleteConfigurationTemplateCommandOutput, ElasticBeanstalkClientResolvedConfig> {
|
|
39
51
|
readonly input: DeleteConfigurationTemplateCommandInput;
|
|
@@ -34,6 +34,18 @@ export interface DeleteEnvironmentConfigurationCommandOutput extends __MetadataB
|
|
|
34
34
|
* @see {@link DeleteEnvironmentConfigurationCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @example To delete a draft configuration
|
|
38
|
+
* ```javascript
|
|
39
|
+
* // The following operation deletes a draft configuration for an environment named my-env:
|
|
40
|
+
* const input = {
|
|
41
|
+
* "ApplicationName": "my-app",
|
|
42
|
+
* "EnvironmentName": "my-env"
|
|
43
|
+
* };
|
|
44
|
+
* const command = new DeleteEnvironmentConfigurationCommand(input);
|
|
45
|
+
* await client.send(command);
|
|
46
|
+
* // example id: to-delete-a-draft-configuration-1456269886654
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
37
49
|
*/
|
|
38
50
|
export declare class DeleteEnvironmentConfigurationCommand extends $Command<DeleteEnvironmentConfigurationCommandInput, DeleteEnvironmentConfigurationCommandOutput, ElasticBeanstalkClientResolvedConfig> {
|
|
39
51
|
readonly input: DeleteEnvironmentConfigurationCommandInput;
|
|
@@ -29,6 +29,48 @@ export interface DescribeApplicationVersionsCommandOutput extends ApplicationVer
|
|
|
29
29
|
* @see {@link DescribeApplicationVersionsCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @example To view information about an application version
|
|
33
|
+
* ```javascript
|
|
34
|
+
* // The following operation retrieves information about an application version labeled v2:
|
|
35
|
+
* const input = {
|
|
36
|
+
* "ApplicationName": "my-app",
|
|
37
|
+
* "VersionLabels": [
|
|
38
|
+
* "v2"
|
|
39
|
+
* ]
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DescribeApplicationVersionsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* /* response ==
|
|
44
|
+
* {
|
|
45
|
+
* "ApplicationVersions": [
|
|
46
|
+
* {
|
|
47
|
+
* "ApplicationName": "my-app",
|
|
48
|
+
* "DateCreated": "2015-07-23T01:32:26.079Z",
|
|
49
|
+
* "DateUpdated": "2015-07-23T01:32:26.079Z",
|
|
50
|
+
* "Description": "update cover page",
|
|
51
|
+
* "SourceBundle": {
|
|
52
|
+
* "S3Bucket": "elasticbeanstalk-us-west-2-015321684451",
|
|
53
|
+
* "S3Key": "my-app/5026-stage-150723_224258.war"
|
|
54
|
+
* },
|
|
55
|
+
* "VersionLabel": "v2"
|
|
56
|
+
* },
|
|
57
|
+
* {
|
|
58
|
+
* "ApplicationName": "my-app",
|
|
59
|
+
* "DateCreated": "2015-07-23T22:26:10.816Z",
|
|
60
|
+
* "DateUpdated": "2015-07-23T22:26:10.816Z",
|
|
61
|
+
* "Description": "initial version",
|
|
62
|
+
* "SourceBundle": {
|
|
63
|
+
* "S3Bucket": "elasticbeanstalk-us-west-2-015321684451",
|
|
64
|
+
* "S3Key": "my-app/5026-stage-150723_222618.war"
|
|
65
|
+
* },
|
|
66
|
+
* "VersionLabel": "v1"
|
|
67
|
+
* }
|
|
68
|
+
* ]
|
|
69
|
+
* }
|
|
70
|
+
* *\/
|
|
71
|
+
* // example id: to-view-information-about-an-application-version-1456269947428
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
32
74
|
*/
|
|
33
75
|
export declare class DescribeApplicationVersionsCommand extends $Command<DescribeApplicationVersionsCommandInput, DescribeApplicationVersionsCommandOutput, ElasticBeanstalkClientResolvedConfig> {
|
|
34
76
|
readonly input: DescribeApplicationVersionsCommandInput;
|
|
@@ -29,6 +29,50 @@ export interface DescribeApplicationsCommandOutput extends ApplicationDescriptio
|
|
|
29
29
|
* @see {@link DescribeApplicationsCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @example To view a list of applications
|
|
33
|
+
* ```javascript
|
|
34
|
+
* // The following operation retrieves information about applications in the current region:
|
|
35
|
+
* const input = {};
|
|
36
|
+
* const command = new DescribeApplicationsCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* /* response ==
|
|
39
|
+
* {
|
|
40
|
+
* "Applications": [
|
|
41
|
+
* {
|
|
42
|
+
* "ApplicationName": "ruby",
|
|
43
|
+
* "ConfigurationTemplates": [],
|
|
44
|
+
* "DateCreated": "2015-08-13T21:05:44.376Z",
|
|
45
|
+
* "DateUpdated": "2015-08-13T21:05:44.376Z",
|
|
46
|
+
* "Versions": [
|
|
47
|
+
* "Sample Application"
|
|
48
|
+
* ]
|
|
49
|
+
* },
|
|
50
|
+
* {
|
|
51
|
+
* "ApplicationName": "pythonsample",
|
|
52
|
+
* "ConfigurationTemplates": [],
|
|
53
|
+
* "DateCreated": "2015-08-13T19:05:43.637Z",
|
|
54
|
+
* "DateUpdated": "2015-08-13T19:05:43.637Z",
|
|
55
|
+
* "Description": "Application created from the EB CLI using \"eb init\"",
|
|
56
|
+
* "Versions": [
|
|
57
|
+
* "Sample Application"
|
|
58
|
+
* ]
|
|
59
|
+
* },
|
|
60
|
+
* {
|
|
61
|
+
* "ApplicationName": "nodejs-example",
|
|
62
|
+
* "ConfigurationTemplates": [],
|
|
63
|
+
* "DateCreated": "2015-08-06T17:50:02.486Z",
|
|
64
|
+
* "DateUpdated": "2015-08-06T17:50:02.486Z",
|
|
65
|
+
* "Versions": [
|
|
66
|
+
* "add elasticache",
|
|
67
|
+
* "First Release"
|
|
68
|
+
* ]
|
|
69
|
+
* }
|
|
70
|
+
* ]
|
|
71
|
+
* }
|
|
72
|
+
* *\/
|
|
73
|
+
* // example id: to-view-a-list-of-applications-1456270027373
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
32
76
|
*/
|
|
33
77
|
export declare class DescribeApplicationsCommand extends $Command<DescribeApplicationsCommandInput, DescribeApplicationsCommandOutput, ElasticBeanstalkClientResolvedConfig> {
|
|
34
78
|
readonly input: DescribeApplicationsCommandInput;
|
|
@@ -32,6 +32,43 @@ export interface DescribeConfigurationOptionsCommandOutput extends Configuration
|
|
|
32
32
|
* @see {@link DescribeConfigurationOptionsCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @example To view configuration options for an environment
|
|
36
|
+
* ```javascript
|
|
37
|
+
* // The following operation retrieves descriptions of all available configuration options for an environment named my-env:
|
|
38
|
+
* const input = {
|
|
39
|
+
* "ApplicationName": "my-app",
|
|
40
|
+
* "EnvironmentName": "my-env"
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DescribeConfigurationOptionsCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* /* response ==
|
|
45
|
+
* {
|
|
46
|
+
* "Options": [
|
|
47
|
+
* {
|
|
48
|
+
* "ChangeSeverity": "NoInterruption",
|
|
49
|
+
* "DefaultValue": "30",
|
|
50
|
+
* "MaxValue": 300,
|
|
51
|
+
* "MinValue": 5,
|
|
52
|
+
* "Name": "Interval",
|
|
53
|
+
* "Namespace": "aws:elb:healthcheck",
|
|
54
|
+
* "UserDefined": false,
|
|
55
|
+
* "ValueType": "Scalar"
|
|
56
|
+
* },
|
|
57
|
+
* {
|
|
58
|
+
* "ChangeSeverity": "NoInterruption",
|
|
59
|
+
* "DefaultValue": "2000000",
|
|
60
|
+
* "MinValue": 0,
|
|
61
|
+
* "Name": "LowerThreshold",
|
|
62
|
+
* "Namespace": "aws:autoscaling:trigger",
|
|
63
|
+
* "UserDefined": false,
|
|
64
|
+
* "ValueType": "Scalar"
|
|
65
|
+
* }
|
|
66
|
+
* ]
|
|
67
|
+
* }
|
|
68
|
+
* *\/
|
|
69
|
+
* // example id: to-view-configuration-options-for-an-environment-1456276763917
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
35
72
|
*/
|
|
36
73
|
export declare class DescribeConfigurationOptionsCommand extends $Command<DescribeConfigurationOptionsCommandInput, DescribeConfigurationOptionsCommandOutput, ElasticBeanstalkClientResolvedConfig> {
|
|
37
74
|
readonly input: DescribeConfigurationOptionsCommandInput;
|
|
@@ -43,6 +43,59 @@ export interface DescribeConfigurationSettingsCommandOutput extends Configuratio
|
|
|
43
43
|
* @see {@link DescribeConfigurationSettingsCommandOutput} for command's `response` shape.
|
|
44
44
|
* @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
|
|
45
45
|
*
|
|
46
|
+
* @example To view configurations settings for an environment
|
|
47
|
+
* ```javascript
|
|
48
|
+
* // The following operation retrieves configuration settings for an environment named my-env:
|
|
49
|
+
* const input = {
|
|
50
|
+
* "ApplicationName": "my-app",
|
|
51
|
+
* "EnvironmentName": "my-env"
|
|
52
|
+
* };
|
|
53
|
+
* const command = new DescribeConfigurationSettingsCommand(input);
|
|
54
|
+
* const response = await client.send(command);
|
|
55
|
+
* /* response ==
|
|
56
|
+
* {
|
|
57
|
+
* "ConfigurationSettings": [
|
|
58
|
+
* {
|
|
59
|
+
* "ApplicationName": "my-app",
|
|
60
|
+
* "DateCreated": "2015-08-13T19:16:25Z",
|
|
61
|
+
* "DateUpdated": "2015-08-13T23:30:07Z",
|
|
62
|
+
* "DeploymentStatus": "deployed",
|
|
63
|
+
* "Description": "Environment created from the EB CLI using \"eb create\"",
|
|
64
|
+
* "EnvironmentName": "my-env",
|
|
65
|
+
* "OptionSettings": [
|
|
66
|
+
* {
|
|
67
|
+
* "Namespace": "aws:autoscaling:asg",
|
|
68
|
+
* "OptionName": "Availability Zones",
|
|
69
|
+
* "ResourceName": "AWSEBAutoScalingGroup",
|
|
70
|
+
* "Value": "Any"
|
|
71
|
+
* },
|
|
72
|
+
* {
|
|
73
|
+
* "Namespace": "aws:autoscaling:asg",
|
|
74
|
+
* "OptionName": "Cooldown",
|
|
75
|
+
* "ResourceName": "AWSEBAutoScalingGroup",
|
|
76
|
+
* "Value": "360"
|
|
77
|
+
* },
|
|
78
|
+
* {
|
|
79
|
+
* "Namespace": "aws:elb:policies",
|
|
80
|
+
* "OptionName": "ConnectionDrainingTimeout",
|
|
81
|
+
* "ResourceName": "AWSEBLoadBalancer",
|
|
82
|
+
* "Value": "20"
|
|
83
|
+
* },
|
|
84
|
+
* {
|
|
85
|
+
* "Namespace": "aws:elb:policies",
|
|
86
|
+
* "OptionName": "ConnectionSettingIdleTimeout",
|
|
87
|
+
* "ResourceName": "AWSEBLoadBalancer",
|
|
88
|
+
* "Value": "60"
|
|
89
|
+
* }
|
|
90
|
+
* ],
|
|
91
|
+
* "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8"
|
|
92
|
+
* }
|
|
93
|
+
* ]
|
|
94
|
+
* }
|
|
95
|
+
* *\/
|
|
96
|
+
* // example id: to-view-configurations-settings-for-an-environment-1456276924537
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
46
99
|
*/
|
|
47
100
|
export declare class DescribeConfigurationSettingsCommand extends $Command<DescribeConfigurationSettingsCommandInput, DescribeConfigurationSettingsCommandOutput, ElasticBeanstalkClientResolvedConfig> {
|
|
48
101
|
readonly input: DescribeConfigurationSettingsCommandInput;
|
|
@@ -31,6 +31,59 @@ export interface DescribeEnvironmentHealthCommandOutput extends DescribeEnvironm
|
|
|
31
31
|
* @see {@link DescribeEnvironmentHealthCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @example To view environment health
|
|
35
|
+
* ```javascript
|
|
36
|
+
* // The following operation retrieves overall health information for an environment named my-env:
|
|
37
|
+
* const input = {
|
|
38
|
+
* "AttributeNames": [
|
|
39
|
+
* "All"
|
|
40
|
+
* ],
|
|
41
|
+
* "EnvironmentName": "my-env"
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DescribeEnvironmentHealthCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* /* response ==
|
|
46
|
+
* {
|
|
47
|
+
* "ApplicationMetrics": {
|
|
48
|
+
* "Duration": 10,
|
|
49
|
+
* "Latency": {
|
|
50
|
+
* "P10": 0.001,
|
|
51
|
+
* "P50": 0.001,
|
|
52
|
+
* "P75": 0.002,
|
|
53
|
+
* "P85": 0.003,
|
|
54
|
+
* "P90": 0.003,
|
|
55
|
+
* "P95": 0.004,
|
|
56
|
+
* "P99": 0.004,
|
|
57
|
+
* "P999": 0.004
|
|
58
|
+
* },
|
|
59
|
+
* "RequestCount": 45,
|
|
60
|
+
* "StatusCodes": {
|
|
61
|
+
* "Status2xx": 45,
|
|
62
|
+
* "Status3xx": 0,
|
|
63
|
+
* "Status4xx": 0,
|
|
64
|
+
* "Status5xx": 0
|
|
65
|
+
* }
|
|
66
|
+
* },
|
|
67
|
+
* "Causes": [],
|
|
68
|
+
* "Color": "Green",
|
|
69
|
+
* "EnvironmentName": "my-env",
|
|
70
|
+
* "HealthStatus": "Ok",
|
|
71
|
+
* "InstancesHealth": {
|
|
72
|
+
* "Degraded": 0,
|
|
73
|
+
* "Info": 0,
|
|
74
|
+
* "NoData": 0,
|
|
75
|
+
* "Ok": 1,
|
|
76
|
+
* "Pending": 0,
|
|
77
|
+
* "Severe": 0,
|
|
78
|
+
* "Unknown": 0,
|
|
79
|
+
* "Warning": 0
|
|
80
|
+
* },
|
|
81
|
+
* "RefreshedAt": "2015-08-20T21:09:18Z"
|
|
82
|
+
* }
|
|
83
|
+
* *\/
|
|
84
|
+
* // example id: to-view-environment-health-1456277109510
|
|
85
|
+
* ```
|
|
86
|
+
*
|
|
34
87
|
*/
|
|
35
88
|
export declare class DescribeEnvironmentHealthCommand extends $Command<DescribeEnvironmentHealthCommandInput, DescribeEnvironmentHealthCommandOutput, ElasticBeanstalkClientResolvedConfig> {
|
|
36
89
|
readonly input: DescribeEnvironmentHealthCommandInput;
|
|
@@ -29,6 +29,46 @@ export interface DescribeEnvironmentResourcesCommandOutput extends EnvironmentRe
|
|
|
29
29
|
* @see {@link DescribeEnvironmentResourcesCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @example To view information about the AWS resources in your environment
|
|
33
|
+
* ```javascript
|
|
34
|
+
* // The following operation retrieves information about resources in an environment named my-env:
|
|
35
|
+
* const input = {
|
|
36
|
+
* "EnvironmentName": "my-env"
|
|
37
|
+
* };
|
|
38
|
+
* const command = new DescribeEnvironmentResourcesCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* /* response ==
|
|
41
|
+
* {
|
|
42
|
+
* "EnvironmentResources": {
|
|
43
|
+
* "AutoScalingGroups": [
|
|
44
|
+
* {
|
|
45
|
+
* "Name": "awseb-e-qu3fyyjyjs-stack-AWSEBAutoScalingGroup-QSB2ZO88SXZT"
|
|
46
|
+
* }
|
|
47
|
+
* ],
|
|
48
|
+
* "EnvironmentName": "my-env",
|
|
49
|
+
* "Instances": [
|
|
50
|
+
* {
|
|
51
|
+
* "Id": "i-0c91c786"
|
|
52
|
+
* }
|
|
53
|
+
* ],
|
|
54
|
+
* "LaunchConfigurations": [
|
|
55
|
+
* {
|
|
56
|
+
* "Name": "awseb-e-qu3fyyjyjs-stack-AWSEBAutoScalingLaunchConfiguration-1UUVQIBC96TQ2"
|
|
57
|
+
* }
|
|
58
|
+
* ],
|
|
59
|
+
* "LoadBalancers": [
|
|
60
|
+
* {
|
|
61
|
+
* "Name": "awseb-e-q-AWSEBLoa-1EEPZ0K98BIF0"
|
|
62
|
+
* }
|
|
63
|
+
* ],
|
|
64
|
+
* "Queues": [],
|
|
65
|
+
* "Triggers": []
|
|
66
|
+
* }
|
|
67
|
+
* }
|
|
68
|
+
* *\/
|
|
69
|
+
* // example id: to-view-information-about-the-aws-resources-in-your-environment-1456277206232
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
32
72
|
*/
|
|
33
73
|
export declare class DescribeEnvironmentResourcesCommand extends $Command<DescribeEnvironmentResourcesCommandInput, DescribeEnvironmentResourcesCommandOutput, ElasticBeanstalkClientResolvedConfig> {
|
|
34
74
|
readonly input: DescribeEnvironmentResourcesCommandInput;
|
|
@@ -29,6 +29,44 @@ export interface DescribeEnvironmentsCommandOutput extends EnvironmentDescriptio
|
|
|
29
29
|
* @see {@link DescribeEnvironmentsCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @example To view information about an environment
|
|
33
|
+
* ```javascript
|
|
34
|
+
* // The following operation retrieves information about an environment named my-env:
|
|
35
|
+
* const input = {
|
|
36
|
+
* "EnvironmentNames": [
|
|
37
|
+
* "my-env"
|
|
38
|
+
* ]
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DescribeEnvironmentsCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* /* response ==
|
|
43
|
+
* {
|
|
44
|
+
* "Environments": [
|
|
45
|
+
* {
|
|
46
|
+
* "AbortableOperationInProgress": false,
|
|
47
|
+
* "ApplicationName": "my-app",
|
|
48
|
+
* "CNAME": "my-env.elasticbeanstalk.com",
|
|
49
|
+
* "DateCreated": "2015-08-07T20:48:49.599Z",
|
|
50
|
+
* "DateUpdated": "2015-08-12T18:16:55.019Z",
|
|
51
|
+
* "EndpointURL": "awseb-e-w-AWSEBLoa-1483140XB0Q4L-109QXY8121.us-west-2.elb.amazonaws.com",
|
|
52
|
+
* "EnvironmentId": "e-rpqsewtp2j",
|
|
53
|
+
* "EnvironmentName": "my-env",
|
|
54
|
+
* "Health": "Green",
|
|
55
|
+
* "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
|
|
56
|
+
* "Status": "Ready",
|
|
57
|
+
* "Tier": {
|
|
58
|
+
* "Name": "WebServer",
|
|
59
|
+
* "Type": "Standard",
|
|
60
|
+
* "Version": " "
|
|
61
|
+
* },
|
|
62
|
+
* "VersionLabel": "7f58-stage-150812_025409"
|
|
63
|
+
* }
|
|
64
|
+
* ]
|
|
65
|
+
* }
|
|
66
|
+
* *\/
|
|
67
|
+
* // example id: to-view-information-about-an-environment-1456277288662
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
32
70
|
*/
|
|
33
71
|
export declare class DescribeEnvironmentsCommand extends $Command<DescribeEnvironmentsCommandInput, DescribeEnvironmentsCommandOutput, ElasticBeanstalkClientResolvedConfig> {
|
|
34
72
|
readonly input: DescribeEnvironmentsCommandInput;
|