@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.
Files changed (33) hide show
  1. package/dist-types/commands/AbortEnvironmentUpdateCommand.d.ts +11 -0
  2. package/dist-types/commands/CheckDNSAvailabilityCommand.d.ts +17 -0
  3. package/dist-types/commands/CreateApplicationCommand.d.ts +23 -0
  4. package/dist-types/commands/CreateApplicationVersionCommand.d.ts +34 -0
  5. package/dist-types/commands/CreateConfigurationTemplateCommand.d.ts +22 -0
  6. package/dist-types/commands/CreateEnvironmentCommand.d.ts +34 -0
  7. package/dist-types/commands/CreateStorageLocationCommand.d.ts +14 -0
  8. package/dist-types/commands/DeleteApplicationCommand.d.ts +11 -0
  9. package/dist-types/commands/DeleteApplicationVersionCommand.d.ts +13 -0
  10. package/dist-types/commands/DeleteConfigurationTemplateCommand.d.ts +12 -0
  11. package/dist-types/commands/DeleteEnvironmentConfigurationCommand.d.ts +12 -0
  12. package/dist-types/commands/DescribeApplicationVersionsCommand.d.ts +42 -0
  13. package/dist-types/commands/DescribeApplicationsCommand.d.ts +44 -0
  14. package/dist-types/commands/DescribeConfigurationOptionsCommand.d.ts +37 -0
  15. package/dist-types/commands/DescribeConfigurationSettingsCommand.d.ts +53 -0
  16. package/dist-types/commands/DescribeEnvironmentHealthCommand.d.ts +53 -0
  17. package/dist-types/commands/DescribeEnvironmentResourcesCommand.d.ts +40 -0
  18. package/dist-types/commands/DescribeEnvironmentsCommand.d.ts +38 -0
  19. package/dist-types/commands/DescribeEventsCommand.d.ts +48 -0
  20. package/dist-types/commands/DescribeInstancesHealthCommand.d.ts +64 -0
  21. package/dist-types/commands/ListAvailableSolutionStacksCommand.d.ts +51 -0
  22. package/dist-types/commands/RebuildEnvironmentCommand.d.ts +11 -0
  23. package/dist-types/commands/RequestEnvironmentInfoCommand.d.ts +12 -0
  24. package/dist-types/commands/RestartAppServerCommand.d.ts +11 -0
  25. package/dist-types/commands/RetrieveEnvironmentInfoCommand.d.ts +24 -0
  26. package/dist-types/commands/SwapEnvironmentCNAMEsCommand.d.ts +12 -0
  27. package/dist-types/commands/TerminateEnvironmentCommand.d.ts +31 -0
  28. package/dist-types/commands/UpdateApplicationCommand.d.ts +30 -0
  29. package/dist-types/commands/UpdateApplicationVersionCommand.d.ts +28 -0
  30. package/dist-types/commands/UpdateConfigurationTemplateCommand.d.ts +27 -0
  31. package/dist-types/commands/UpdateEnvironmentCommand.d.ts +86 -0
  32. package/dist-types/commands/ValidateConfigurationSettingsCommand.d.ts +24 -0
  33. package/package.json +30 -30
@@ -33,6 +33,54 @@ export interface DescribeEventsCommandOutput extends EventDescriptionsMessage, _
33
33
  * @see {@link DescribeEventsCommandOutput} for command's `response` shape.
34
34
  * @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
35
35
  *
36
+ * @example To view events for an environment
37
+ * ```javascript
38
+ * // The following operation retrieves events for an environment named my-env:
39
+ * const input = {
40
+ * "EnvironmentName": "my-env"
41
+ * };
42
+ * const command = new DescribeEventsCommand(input);
43
+ * const response = await client.send(command);
44
+ * /* response ==
45
+ * {
46
+ * "Events": [
47
+ * {
48
+ * "ApplicationName": "my-app",
49
+ * "EnvironmentName": "my-env",
50
+ * "EventDate": "2015-08-20T07:06:53.535Z",
51
+ * "Message": "Environment health has transitioned from Info to Ok.",
52
+ * "Severity": "INFO"
53
+ * },
54
+ * {
55
+ * "ApplicationName": "my-app",
56
+ * "EnvironmentName": "my-env",
57
+ * "EventDate": "2015-08-20T07:06:02.049Z",
58
+ * "Message": "Environment update completed successfully.",
59
+ * "RequestId": "b7f3960b-4709-11e5-ba1e-07e16200da41",
60
+ * "Severity": "INFO"
61
+ * },
62
+ * {
63
+ * "ApplicationName": "my-app",
64
+ * "EnvironmentName": "my-env",
65
+ * "EventDate": "2015-08-13T19:16:27.561Z",
66
+ * "Message": "Using elasticbeanstalk-us-west-2-012445113685 as Amazon S3 storage bucket for environment data.",
67
+ * "RequestId": "ca8dfbf6-41ef-11e5-988b-651aa638f46b",
68
+ * "Severity": "INFO"
69
+ * },
70
+ * {
71
+ * "ApplicationName": "my-app",
72
+ * "EnvironmentName": "my-env",
73
+ * "EventDate": "2015-08-13T19:16:26.581Z",
74
+ * "Message": "createEnvironment is starting.",
75
+ * "RequestId": "cdfba8f6-41ef-11e5-988b-65638f41aa6b",
76
+ * "Severity": "INFO"
77
+ * }
78
+ * ]
79
+ * }
80
+ * *\/
81
+ * // example id: to-view-events-for-an-environment-1456277367589
82
+ * ```
83
+ *
36
84
  */
37
85
  export declare class DescribeEventsCommand extends $Command<DescribeEventsCommandInput, DescribeEventsCommandOutput, ElasticBeanstalkClientResolvedConfig> {
38
86
  readonly input: DescribeEventsCommandInput;
@@ -31,6 +31,70 @@ export interface DescribeInstancesHealthCommandOutput extends DescribeInstancesH
31
31
  * @see {@link DescribeInstancesHealthCommandOutput} 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 health information for instances in an environment named my-env:
37
+ * const input = {
38
+ * "AttributeNames": [
39
+ * "All"
40
+ * ],
41
+ * "EnvironmentName": "my-env"
42
+ * };
43
+ * const command = new DescribeInstancesHealthCommand(input);
44
+ * const response = await client.send(command);
45
+ * /* response ==
46
+ * {
47
+ * "InstanceHealthList": [
48
+ * {
49
+ * "ApplicationMetrics": {
50
+ * "Duration": 10,
51
+ * "Latency": {
52
+ * "P10": 0,
53
+ * "P50": 0.001,
54
+ * "P75": 0.002,
55
+ * "P85": 0.003,
56
+ * "P90": 0.004,
57
+ * "P95": 0.005,
58
+ * "P99": 0.006,
59
+ * "P999": 0.006
60
+ * },
61
+ * "RequestCount": 48,
62
+ * "StatusCodes": {
63
+ * "Status2xx": 47,
64
+ * "Status3xx": 0,
65
+ * "Status4xx": 1,
66
+ * "Status5xx": 0
67
+ * }
68
+ * },
69
+ * "Causes": [],
70
+ * "Color": "Green",
71
+ * "HealthStatus": "Ok",
72
+ * "InstanceId": "i-08691cc7",
73
+ * "LaunchedAt": "2015-08-13T19:17:09Z",
74
+ * "System": {
75
+ * "CPUUtilization": {
76
+ * "IOWait": 0.2,
77
+ * "IRQ": 0,
78
+ * "Idle": 97.8,
79
+ * "Nice": 0.1,
80
+ * "SoftIRQ": 0.1,
81
+ * "System": 0.3,
82
+ * "User": 1.5
83
+ * },
84
+ * "LoadAverage": [
85
+ * 0,
86
+ * 0.02,
87
+ * 0.05
88
+ * ]
89
+ * }
90
+ * }
91
+ * ],
92
+ * "RefreshedAt": "2015-08-20T21:09:08Z"
93
+ * }
94
+ * *\/
95
+ * // example id: to-view-environment-health-1456277424757
96
+ * ```
97
+ *
34
98
  */
35
99
  export declare class DescribeInstancesHealthCommand extends $Command<DescribeInstancesHealthCommandInput, DescribeInstancesHealthCommandOutput, ElasticBeanstalkClientResolvedConfig> {
36
100
  readonly input: DescribeInstancesHealthCommandInput;
@@ -30,6 +30,57 @@ export interface ListAvailableSolutionStacksCommandOutput extends ListAvailableS
30
30
  * @see {@link ListAvailableSolutionStacksCommandOutput} for command's `response` shape.
31
31
  * @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
32
32
  *
33
+ * @example To view solution stacks
34
+ * ```javascript
35
+ * // The following operation lists solution stacks for all currently available platform configurations and any that you have used in the past:
36
+ * const input = undefined;
37
+ * const command = new ListAvailableSolutionStacksCommand(input);
38
+ * const response = await client.send(command);
39
+ * /* response ==
40
+ * {
41
+ * "SolutionStackDetails": [
42
+ * {
43
+ * "PermittedFileTypes": [
44
+ * "zip"
45
+ * ],
46
+ * "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Node.js"
47
+ * }
48
+ * ],
49
+ * "SolutionStacks": [
50
+ * "64bit Amazon Linux 2015.03 v2.0.0 running Node.js",
51
+ * "64bit Amazon Linux 2015.03 v2.0.0 running PHP 5.6",
52
+ * "64bit Amazon Linux 2015.03 v2.0.0 running PHP 5.5",
53
+ * "64bit Amazon Linux 2015.03 v2.0.0 running PHP 5.4",
54
+ * "64bit Amazon Linux 2015.03 v2.0.0 running Python 3.4",
55
+ * "64bit Amazon Linux 2015.03 v2.0.0 running Python 2.7",
56
+ * "64bit Amazon Linux 2015.03 v2.0.0 running Python",
57
+ * "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.2 (Puma)",
58
+ * "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.2 (Passenger Standalone)",
59
+ * "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.1 (Puma)",
60
+ * "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.1 (Passenger Standalone)",
61
+ * "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.0 (Puma)",
62
+ * "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.0 (Passenger Standalone)",
63
+ * "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 1.9.3",
64
+ * "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
65
+ * "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 7 Java 7",
66
+ * "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 7 Java 6",
67
+ * "64bit Windows Server Core 2012 R2 running IIS 8.5",
68
+ * "64bit Windows Server 2012 R2 running IIS 8.5",
69
+ * "64bit Windows Server 2012 running IIS 8",
70
+ * "64bit Windows Server 2008 R2 running IIS 7.5",
71
+ * "64bit Amazon Linux 2015.03 v2.0.0 running Docker 1.6.2",
72
+ * "64bit Amazon Linux 2015.03 v2.0.0 running Multi-container Docker 1.6.2 (Generic)",
73
+ * "64bit Debian jessie v2.0.0 running GlassFish 4.1 Java 8 (Preconfigured - Docker)",
74
+ * "64bit Debian jessie v2.0.0 running GlassFish 4.0 Java 7 (Preconfigured - Docker)",
75
+ * "64bit Debian jessie v2.0.0 running Go 1.4 (Preconfigured - Docker)",
76
+ * "64bit Debian jessie v2.0.0 running Go 1.3 (Preconfigured - Docker)",
77
+ * "64bit Debian jessie v2.0.0 running Python 3.4 (Preconfigured - Docker)"
78
+ * ]
79
+ * }
80
+ * *\/
81
+ * // example id: to-view-solution-stacks-1456277504811
82
+ * ```
83
+ *
33
84
  */
34
85
  export declare class ListAvailableSolutionStacksCommand extends $Command<ListAvailableSolutionStacksCommandInput, ListAvailableSolutionStacksCommandOutput, ElasticBeanstalkClientResolvedConfig> {
35
86
  readonly input: ListAvailableSolutionStacksCommandInput;
@@ -30,6 +30,17 @@ export interface RebuildEnvironmentCommandOutput extends __MetadataBearer {
30
30
  * @see {@link RebuildEnvironmentCommandOutput} for command's `response` shape.
31
31
  * @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
32
32
  *
33
+ * @example To rebuild an environment
34
+ * ```javascript
35
+ * // The following operation terminates and recreates the resources in an environment named my-env:
36
+ * const input = {
37
+ * "EnvironmentName": "my-env"
38
+ * };
39
+ * const command = new RebuildEnvironmentCommand(input);
40
+ * await client.send(command);
41
+ * // example id: to-rebuild-an-environment-1456277600918
42
+ * ```
43
+ *
33
44
  */
34
45
  export declare class RebuildEnvironmentCommand extends $Command<RebuildEnvironmentCommandInput, RebuildEnvironmentCommandOutput, ElasticBeanstalkClientResolvedConfig> {
35
46
  readonly input: RebuildEnvironmentCommandInput;
@@ -44,6 +44,18 @@ export interface RequestEnvironmentInfoCommandOutput extends __MetadataBearer {
44
44
  * @see {@link RequestEnvironmentInfoCommandOutput} for command's `response` shape.
45
45
  * @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
46
46
  *
47
+ * @example To request tailed logs
48
+ * ```javascript
49
+ * // The following operation requests logs from an environment named my-env:
50
+ * const input = {
51
+ * "EnvironmentName": "my-env",
52
+ * "InfoType": "tail"
53
+ * };
54
+ * const command = new RequestEnvironmentInfoCommand(input);
55
+ * await client.send(command);
56
+ * // example id: to-request-tailed-logs-1456277657045
57
+ * ```
58
+ *
47
59
  */
48
60
  export declare class RequestEnvironmentInfoCommand extends $Command<RequestEnvironmentInfoCommandInput, RequestEnvironmentInfoCommandOutput, ElasticBeanstalkClientResolvedConfig> {
49
61
  readonly input: RequestEnvironmentInfoCommandInput;
@@ -30,6 +30,17 @@ export interface RestartAppServerCommandOutput extends __MetadataBearer {
30
30
  * @see {@link RestartAppServerCommandOutput} for command's `response` shape.
31
31
  * @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
32
32
  *
33
+ * @example To restart application servers
34
+ * ```javascript
35
+ * // The following operation restarts application servers on all instances in an environment named my-env:
36
+ * const input = {
37
+ * "EnvironmentName": "my-env"
38
+ * };
39
+ * const command = new RestartAppServerCommand(input);
40
+ * await client.send(command);
41
+ * // example id: to-restart-application-servers-1456277739302
42
+ * ```
43
+ *
33
44
  */
34
45
  export declare class RestartAppServerCommand extends $Command<RestartAppServerCommandInput, RestartAppServerCommandOutput, ElasticBeanstalkClientResolvedConfig> {
35
46
  readonly input: RestartAppServerCommandInput;
@@ -38,6 +38,30 @@ export interface RetrieveEnvironmentInfoCommandOutput extends RetrieveEnvironmen
38
38
  * @see {@link RetrieveEnvironmentInfoCommandOutput} for command's `response` shape.
39
39
  * @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
40
40
  *
41
+ * @example To retrieve tailed logs
42
+ * ```javascript
43
+ * // The following operation retrieves a link to logs from an environment named my-env:
44
+ * const input = {
45
+ * "EnvironmentName": "my-env",
46
+ * "InfoType": "tail"
47
+ * };
48
+ * const command = new RetrieveEnvironmentInfoCommand(input);
49
+ * const response = await client.send(command);
50
+ * /* response ==
51
+ * {
52
+ * "EnvironmentInfo": [
53
+ * {
54
+ * "Ec2InstanceId": "i-09c1c867",
55
+ * "InfoType": "tail",
56
+ * "Message": "https://elasticbeanstalk-us-west-2-0123456789012.s3.amazonaws.com/resources/environments/logs/tail/e-fyqyju3yjs/i-09c1c867/TailLogs-1440109397703.out?AWSAccessKeyId=AKGPT4J56IAJ2EUBL5CQ&Expires=1440195891&Signature=n%2BEalOV6A2HIOx4Rcfb7LT16bBM%3D",
57
+ * "SampleTimestamp": "2015-08-20T22:23:17.703Z"
58
+ * }
59
+ * ]
60
+ * }
61
+ * *\/
62
+ * // example id: to-retrieve-tailed-logs-1456277792734
63
+ * ```
64
+ *
41
65
  */
42
66
  export declare class RetrieveEnvironmentInfoCommand extends $Command<RetrieveEnvironmentInfoCommandInput, RetrieveEnvironmentInfoCommandOutput, ElasticBeanstalkClientResolvedConfig> {
43
67
  readonly input: RetrieveEnvironmentInfoCommandInput;
@@ -29,6 +29,18 @@ export interface SwapEnvironmentCNAMEsCommandOutput extends __MetadataBearer {
29
29
  * @see {@link SwapEnvironmentCNAMEsCommandOutput} for command's `response` shape.
30
30
  * @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
31
31
  *
32
+ * @example To swap environment CNAMES
33
+ * ```javascript
34
+ * // The following operation swaps the assigned subdomains of two environments:
35
+ * const input = {
36
+ * "DestinationEnvironmentName": "my-env-green",
37
+ * "SourceEnvironmentName": "my-env-blue"
38
+ * };
39
+ * const command = new SwapEnvironmentCNAMEsCommand(input);
40
+ * await client.send(command);
41
+ * // example id: to-swap-environment-cnames-1456277839438
42
+ * ```
43
+ *
32
44
  */
33
45
  export declare class SwapEnvironmentCNAMEsCommand extends $Command<SwapEnvironmentCNAMEsCommandInput, SwapEnvironmentCNAMEsCommandOutput, ElasticBeanstalkClientResolvedConfig> {
34
46
  readonly input: SwapEnvironmentCNAMEsCommandInput;
@@ -29,6 +29,37 @@ export interface TerminateEnvironmentCommandOutput extends EnvironmentDescriptio
29
29
  * @see {@link TerminateEnvironmentCommandOutput} for command's `response` shape.
30
30
  * @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
31
31
  *
32
+ * @example To terminate an environment
33
+ * ```javascript
34
+ * // The following operation terminates an Elastic Beanstalk environment named my-env:
35
+ * const input = {
36
+ * "EnvironmentName": "my-env"
37
+ * };
38
+ * const command = new TerminateEnvironmentCommand(input);
39
+ * const response = await client.send(command);
40
+ * /* response ==
41
+ * {
42
+ * "AbortableOperationInProgress": false,
43
+ * "ApplicationName": "my-app",
44
+ * "CNAME": "my-env.elasticbeanstalk.com",
45
+ * "DateCreated": "2015-08-12T18:52:53.622Z",
46
+ * "DateUpdated": "2015-08-12T19:05:54.744Z",
47
+ * "EndpointURL": "awseb-e-f-AWSEBLoa-1I9XUMP4-8492WNUP202574.us-west-2.elb.amazonaws.com",
48
+ * "EnvironmentId": "e-fh2eravpns",
49
+ * "EnvironmentName": "my-env",
50
+ * "Health": "Grey",
51
+ * "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
52
+ * "Status": "Terminating",
53
+ * "Tier": {
54
+ * "Name": "WebServer",
55
+ * "Type": "Standard",
56
+ * "Version": " "
57
+ * }
58
+ * }
59
+ * *\/
60
+ * // example id: to-terminate-an-environment-1456277888556
61
+ * ```
62
+ *
32
63
  */
33
64
  export declare class TerminateEnvironmentCommand extends $Command<TerminateEnvironmentCommandInput, TerminateEnvironmentCommandOutput, ElasticBeanstalkClientResolvedConfig> {
34
65
  readonly input: TerminateEnvironmentCommandInput;
@@ -33,6 +33,36 @@ export interface UpdateApplicationCommandOutput extends ApplicationDescriptionMe
33
33
  * @see {@link UpdateApplicationCommandOutput} for command's `response` shape.
34
34
  * @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
35
35
  *
36
+ * @example To change an application's description
37
+ * ```javascript
38
+ * // The following operation updates the description of an application named my-app:
39
+ * const input = {
40
+ * "ApplicationName": "my-app",
41
+ * "Description": "my Elastic Beanstalk application"
42
+ * };
43
+ * const command = new UpdateApplicationCommand(input);
44
+ * const response = await client.send(command);
45
+ * /* response ==
46
+ * {
47
+ * "Application": {
48
+ * "ApplicationName": "my-app",
49
+ * "ConfigurationTemplates": [],
50
+ * "DateCreated": "2015-08-13T19:15:50.449Z",
51
+ * "DateUpdated": "2015-08-20T22:34:56.195Z",
52
+ * "Description": "my Elastic Beanstalk application",
53
+ * "Versions": [
54
+ * "2fba-stage-150819_234450",
55
+ * "bf07-stage-150820_214945",
56
+ * "93f8",
57
+ * "fd7c-stage-150820_000431",
58
+ * "22a0-stage-150819_185942"
59
+ * ]
60
+ * }
61
+ * }
62
+ * *\/
63
+ * // example id: to-change-an-applications-description-1456277957075
64
+ * ```
65
+ *
36
66
  */
37
67
  export declare class UpdateApplicationCommand extends $Command<UpdateApplicationCommandInput, UpdateApplicationCommandOutput, ElasticBeanstalkClientResolvedConfig> {
38
68
  readonly input: UpdateApplicationCommandInput;
@@ -33,6 +33,34 @@ export interface UpdateApplicationVersionCommandOutput extends ApplicationVersio
33
33
  * @see {@link UpdateApplicationVersionCommandOutput} for command's `response` shape.
34
34
  * @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
35
35
  *
36
+ * @example To change an application version's description
37
+ * ```javascript
38
+ * // The following operation updates the description of an application version named 22a0-stage-150819_185942:
39
+ * const input = {
40
+ * "ApplicationName": "my-app",
41
+ * "Description": "new description",
42
+ * "VersionLabel": "22a0-stage-150819_185942"
43
+ * };
44
+ * const command = new UpdateApplicationVersionCommand(input);
45
+ * const response = await client.send(command);
46
+ * /* response ==
47
+ * {
48
+ * "ApplicationVersion": {
49
+ * "ApplicationName": "my-app",
50
+ * "DateCreated": "2015-08-19T18:59:17.646Z",
51
+ * "DateUpdated": "2015-08-20T22:53:28.871Z",
52
+ * "Description": "new description",
53
+ * "SourceBundle": {
54
+ * "S3Bucket": "elasticbeanstalk-us-west-2-0123456789012",
55
+ * "S3Key": "my-app/22a0-stage-150819_185942.war"
56
+ * },
57
+ * "VersionLabel": "22a0-stage-150819_185942"
58
+ * }
59
+ * }
60
+ * *\/
61
+ * // example id: to-change-an-application-versions-description-1456278019237
62
+ * ```
63
+ *
36
64
  */
37
65
  export declare class UpdateApplicationVersionCommand extends $Command<UpdateApplicationVersionCommandInput, UpdateApplicationVersionCommandOutput, ElasticBeanstalkClientResolvedConfig> {
38
66
  readonly input: UpdateApplicationVersionCommandInput;
@@ -42,6 +42,33 @@ export interface UpdateConfigurationTemplateCommandOutput extends ConfigurationS
42
42
  * @see {@link UpdateConfigurationTemplateCommandOutput} for command's `response` shape.
43
43
  * @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
44
44
  *
45
+ * @example To update a configuration template
46
+ * ```javascript
47
+ * // The following operation removes the configured CloudWatch custom health metrics configuration ConfigDocument from a saved configuration template named my-template:
48
+ * const input = {
49
+ * "ApplicationName": "my-app",
50
+ * "OptionsToRemove": [
51
+ * {
52
+ * "Namespace": "aws:elasticbeanstalk:healthreporting:system",
53
+ * "OptionName": "ConfigDocument"
54
+ * }
55
+ * ],
56
+ * "TemplateName": "my-template"
57
+ * };
58
+ * const command = new UpdateConfigurationTemplateCommand(input);
59
+ * const response = await client.send(command);
60
+ * /* response ==
61
+ * {
62
+ * "ApplicationName": "my-app",
63
+ * "DateCreated": "2015-08-20T22:39:31Z",
64
+ * "DateUpdated": "2015-08-20T22:43:11Z",
65
+ * "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
66
+ * "TemplateName": "my-template"
67
+ * }
68
+ * *\/
69
+ * // example id: to-update-a-configuration-template-1456278075300
70
+ * ```
71
+ *
45
72
  */
46
73
  export declare class UpdateConfigurationTemplateCommand extends $Command<UpdateConfigurationTemplateCommandInput, UpdateConfigurationTemplateCommandOutput, ElasticBeanstalkClientResolvedConfig> {
47
74
  readonly input: UpdateConfigurationTemplateCommandInput;
@@ -37,6 +37,92 @@ export interface UpdateEnvironmentCommandOutput extends EnvironmentDescription,
37
37
  * @see {@link UpdateEnvironmentCommandOutput} for command's `response` shape.
38
38
  * @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
39
39
  *
40
+ * @example To update an environment to a new version
41
+ * ```javascript
42
+ * // The following operation updates an environment named "my-env" to version "v2" of the application to which it belongs:
43
+ * const input = {
44
+ * "EnvironmentName": "my-env",
45
+ * "VersionLabel": "v2"
46
+ * };
47
+ * const command = new UpdateEnvironmentCommand(input);
48
+ * const response = await client.send(command);
49
+ * /* response ==
50
+ * {
51
+ * "ApplicationName": "my-app",
52
+ * "CNAME": "my-env.elasticbeanstalk.com",
53
+ * "DateCreated": "2015-02-03T23:04:54.453Z",
54
+ * "DateUpdated": "2015-02-03T23:12:29.119Z",
55
+ * "EndpointURL": "awseb-e-i-AWSEBLoa-1RDLX6TC9VUAO-0123456789.us-west-2.elb.amazonaws.com",
56
+ * "EnvironmentId": "e-szqipays4h",
57
+ * "EnvironmentName": "my-env",
58
+ * "Health": "Grey",
59
+ * "SolutionStackName": "64bit Amazon Linux running Tomcat 7",
60
+ * "Status": "Updating",
61
+ * "Tier": {
62
+ * "Name": "WebServer",
63
+ * "Type": "Standard",
64
+ * "Version": " "
65
+ * },
66
+ * "VersionLabel": "v2"
67
+ * }
68
+ * *\/
69
+ * // example id: to-update-an-environment-to-a-new-version-1456278210718
70
+ * ```
71
+ *
72
+ * @example To configure option settings
73
+ * ```javascript
74
+ * // The following operation configures several options in the aws:elb:loadbalancer namespace:
75
+ * const input = {
76
+ * "EnvironmentName": "my-env",
77
+ * "OptionSettings": [
78
+ * {
79
+ * "Namespace": "aws:elb:healthcheck",
80
+ * "OptionName": "Interval",
81
+ * "Value": "15"
82
+ * },
83
+ * {
84
+ * "Namespace": "aws:elb:healthcheck",
85
+ * "OptionName": "Timeout",
86
+ * "Value": "8"
87
+ * },
88
+ * {
89
+ * "Namespace": "aws:elb:healthcheck",
90
+ * "OptionName": "HealthyThreshold",
91
+ * "Value": "2"
92
+ * },
93
+ * {
94
+ * "Namespace": "aws:elb:healthcheck",
95
+ * "OptionName": "UnhealthyThreshold",
96
+ * "Value": "3"
97
+ * }
98
+ * ]
99
+ * };
100
+ * const command = new UpdateEnvironmentCommand(input);
101
+ * const response = await client.send(command);
102
+ * /* response ==
103
+ * {
104
+ * "AbortableOperationInProgress": true,
105
+ * "ApplicationName": "my-app",
106
+ * "CNAME": "my-env.elasticbeanstalk.com",
107
+ * "DateCreated": "2015-08-07T20:48:49.599Z",
108
+ * "DateUpdated": "2015-08-12T18:15:23.804Z",
109
+ * "EndpointURL": "awseb-e-w-AWSEBLoa-14XB83101Q4L-104QXY80921.sa-east-1.elb.amazonaws.com",
110
+ * "EnvironmentId": "e-wtp2rpqsej",
111
+ * "EnvironmentName": "my-env",
112
+ * "Health": "Grey",
113
+ * "SolutionStackName": "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
114
+ * "Status": "Updating",
115
+ * "Tier": {
116
+ * "Name": "WebServer",
117
+ * "Type": "Standard",
118
+ * "Version": " "
119
+ * },
120
+ * "VersionLabel": "7f58-stage-150812_025409"
121
+ * }
122
+ * *\/
123
+ * // example id: to-configure-option-settings-1456278286349
124
+ * ```
125
+ *
40
126
  */
41
127
  export declare class UpdateEnvironmentCommand extends $Command<UpdateEnvironmentCommandInput, UpdateEnvironmentCommandOutput, ElasticBeanstalkClientResolvedConfig> {
42
128
  readonly input: UpdateEnvironmentCommandInput;
@@ -32,6 +32,30 @@ export interface ValidateConfigurationSettingsCommandOutput extends Configuratio
32
32
  * @see {@link ValidateConfigurationSettingsCommandOutput} for command's `response` shape.
33
33
  * @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape.
34
34
  *
35
+ * @example To validate configuration settings
36
+ * ```javascript
37
+ * // The following operation validates a CloudWatch custom metrics config document:
38
+ * const input = {
39
+ * "ApplicationName": "my-app",
40
+ * "EnvironmentName": "my-env",
41
+ * "OptionSettings": [
42
+ * {
43
+ * "Namespace": "aws:elasticbeanstalk:healthreporting:system",
44
+ * "OptionName": "ConfigDocument",
45
+ * "Value": "{\"CloudWatchMetrics\": {\"Environment\": {\"ApplicationLatencyP99.9\": null,\"InstancesSevere\": 60,\"ApplicationLatencyP90\": 60,\"ApplicationLatencyP99\": null,\"ApplicationLatencyP95\": 60,\"InstancesUnknown\": 60,\"ApplicationLatencyP85\": 60,\"InstancesInfo\": null,\"ApplicationRequests2xx\": null,\"InstancesDegraded\": null,\"InstancesWarning\": 60,\"ApplicationLatencyP50\": 60,\"ApplicationRequestsTotal\": null,\"InstancesNoData\": null,\"InstancesPending\": 60,\"ApplicationLatencyP10\": null,\"ApplicationRequests5xx\": null,\"ApplicationLatencyP75\": null,\"InstancesOk\": 60,\"ApplicationRequests3xx\": null,\"ApplicationRequests4xx\": null},\"Instance\": {\"ApplicationLatencyP99.9\": null,\"ApplicationLatencyP90\": 60,\"ApplicationLatencyP99\": null,\"ApplicationLatencyP95\": null,\"ApplicationLatencyP85\": null,\"CPUUser\": 60,\"ApplicationRequests2xx\": null,\"CPUIdle\": null,\"ApplicationLatencyP50\": null,\"ApplicationRequestsTotal\": 60,\"RootFilesystemUtil\": null,\"LoadAverage1min\": null,\"CPUIrq\": null,\"CPUNice\": 60,\"CPUIowait\": 60,\"ApplicationLatencyP10\": null,\"LoadAverage5min\": null,\"ApplicationRequests5xx\": null,\"ApplicationLatencyP75\": 60,\"CPUSystem\": 60,\"ApplicationRequests3xx\": 60,\"ApplicationRequests4xx\": null,\"InstanceHealth\": null,\"CPUSoftirq\": 60}},\"Version\": 1}"
46
+ * }
47
+ * ]
48
+ * };
49
+ * const command = new ValidateConfigurationSettingsCommand(input);
50
+ * const response = await client.send(command);
51
+ * /* response ==
52
+ * {
53
+ * "Messages": []
54
+ * }
55
+ * *\/
56
+ * // example id: to-validate-configuration-settings-1456278393654
57
+ * ```
58
+ *
35
59
  */
36
60
  export declare class ValidateConfigurationSettingsCommand extends $Command<ValidateConfigurationSettingsCommandInput, ValidateConfigurationSettingsCommandOutput, ElasticBeanstalkClientResolvedConfig> {
37
61
  readonly input: ValidateConfigurationSettingsCommandInput;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-elastic-beanstalk",
3
3
  "description": "AWS SDK for JavaScript Elastic Beanstalk Client for Node.js, Browser and React Native",
4
- "version": "3.287.0",
4
+ "version": "3.289.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,39 +20,39 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.287.0",
24
- "@aws-sdk/config-resolver": "3.287.0",
25
- "@aws-sdk/credential-provider-node": "3.287.0",
26
- "@aws-sdk/fetch-http-handler": "3.282.0",
27
- "@aws-sdk/hash-node": "3.272.0",
28
- "@aws-sdk/invalid-dependency": "3.272.0",
29
- "@aws-sdk/middleware-content-length": "3.282.0",
30
- "@aws-sdk/middleware-endpoint": "3.282.0",
31
- "@aws-sdk/middleware-host-header": "3.282.0",
32
- "@aws-sdk/middleware-logger": "3.287.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.282.0",
34
- "@aws-sdk/middleware-retry": "3.287.0",
35
- "@aws-sdk/middleware-serde": "3.272.0",
36
- "@aws-sdk/middleware-signing": "3.282.0",
37
- "@aws-sdk/middleware-stack": "3.272.0",
38
- "@aws-sdk/middleware-user-agent": "3.282.0",
39
- "@aws-sdk/node-config-provider": "3.287.0",
40
- "@aws-sdk/node-http-handler": "3.282.0",
41
- "@aws-sdk/protocol-http": "3.282.0",
42
- "@aws-sdk/smithy-client": "3.279.0",
43
- "@aws-sdk/types": "3.272.0",
44
- "@aws-sdk/url-parser": "3.272.0",
23
+ "@aws-sdk/client-sts": "3.289.0",
24
+ "@aws-sdk/config-resolver": "3.289.0",
25
+ "@aws-sdk/credential-provider-node": "3.289.0",
26
+ "@aws-sdk/fetch-http-handler": "3.289.0",
27
+ "@aws-sdk/hash-node": "3.289.0",
28
+ "@aws-sdk/invalid-dependency": "3.289.0",
29
+ "@aws-sdk/middleware-content-length": "3.289.0",
30
+ "@aws-sdk/middleware-endpoint": "3.289.0",
31
+ "@aws-sdk/middleware-host-header": "3.289.0",
32
+ "@aws-sdk/middleware-logger": "3.289.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.289.0",
34
+ "@aws-sdk/middleware-retry": "3.289.0",
35
+ "@aws-sdk/middleware-serde": "3.289.0",
36
+ "@aws-sdk/middleware-signing": "3.289.0",
37
+ "@aws-sdk/middleware-stack": "3.289.0",
38
+ "@aws-sdk/middleware-user-agent": "3.289.0",
39
+ "@aws-sdk/node-config-provider": "3.289.0",
40
+ "@aws-sdk/node-http-handler": "3.289.0",
41
+ "@aws-sdk/protocol-http": "3.289.0",
42
+ "@aws-sdk/smithy-client": "3.289.0",
43
+ "@aws-sdk/types": "3.289.0",
44
+ "@aws-sdk/url-parser": "3.289.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.279.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.287.0",
50
- "@aws-sdk/util-endpoints": "3.272.0",
51
- "@aws-sdk/util-retry": "3.272.0",
52
- "@aws-sdk/util-user-agent-browser": "3.282.0",
53
- "@aws-sdk/util-user-agent-node": "3.287.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.289.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.289.0",
50
+ "@aws-sdk/util-endpoints": "3.289.0",
51
+ "@aws-sdk/util-retry": "3.289.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.289.0",
53
+ "@aws-sdk/util-user-agent-node": "3.289.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
- "@aws-sdk/util-waiter": "3.272.0",
55
+ "@aws-sdk/util-waiter": "3.289.0",
56
56
  "fast-xml-parser": "4.1.2",
57
57
  "tslib": "^2.3.1"
58
58
  },