Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ElasticBeanstalk

import { ElasticBeanstalk } from "https://aws-api.deno.dev/v0.4/services/elasticbeanstalk.ts?docs=full";
class ElasticBeanstalk {
constructor(apiFactory: client.ApiFactory);
async abortEnvironmentUpdate(params?: AbortEnvironmentUpdateMessage, opts?: client.RequestOptions): Promise<void>;
async applyEnvironmentManagedAction(params: ApplyEnvironmentManagedActionRequest, opts?: client.RequestOptions): Promise<ApplyEnvironmentManagedActionResult>;
async associateEnvironmentOperationsRole(params: AssociateEnvironmentOperationsRoleMessage, opts?: client.RequestOptions): Promise<void>;
async checkDNSAvailability(params: CheckDNSAvailabilityMessage, opts?: client.RequestOptions): Promise<CheckDNSAvailabilityResultMessage>;
async composeEnvironments(params?: ComposeEnvironmentsMessage, opts?: client.RequestOptions): Promise<EnvironmentDescriptionsMessage>;
async createApplication(params: CreateApplicationMessage, opts?: client.RequestOptions): Promise<ApplicationDescriptionMessage>;
async createApplicationVersion(params: CreateApplicationVersionMessage, opts?: client.RequestOptions): Promise<ApplicationVersionDescriptionMessage>;
async createConfigurationTemplate(params: CreateConfigurationTemplateMessage, opts?: client.RequestOptions): Promise<ConfigurationSettingsDescription>;
async createEnvironment(params: CreateEnvironmentMessage, opts?: client.RequestOptions): Promise<EnvironmentDescription>;
async createPlatformVersion(params: CreatePlatformVersionRequest, opts?: client.RequestOptions): Promise<CreatePlatformVersionResult>;
async createStorageLocation(opts?: client.RequestOptions): Promise<CreateStorageLocationResultMessage>;
async deleteApplication(params: DeleteApplicationMessage, opts?: client.RequestOptions): Promise<void>;
async deleteApplicationVersion(params: DeleteApplicationVersionMessage, opts?: client.RequestOptions): Promise<void>;
async deleteConfigurationTemplate(params: DeleteConfigurationTemplateMessage, opts?: client.RequestOptions): Promise<void>;
async deleteEnvironmentConfiguration(params: DeleteEnvironmentConfigurationMessage, opts?: client.RequestOptions): Promise<void>;
async deletePlatformVersion(params?: DeletePlatformVersionRequest, opts?: client.RequestOptions): Promise<DeletePlatformVersionResult>;
async describeAccountAttributes(opts?: client.RequestOptions): Promise<DescribeAccountAttributesResult>;
async describeApplications(params?: DescribeApplicationsMessage, opts?: client.RequestOptions): Promise<ApplicationDescriptionsMessage>;
async describeApplicationVersions(params?: DescribeApplicationVersionsMessage, opts?: client.RequestOptions): Promise<ApplicationVersionDescriptionsMessage>;
async describeConfigurationOptions(params?: DescribeConfigurationOptionsMessage, opts?: client.RequestOptions): Promise<ConfigurationOptionsDescription>;
async describeConfigurationSettings(params: DescribeConfigurationSettingsMessage, opts?: client.RequestOptions): Promise<ConfigurationSettingsDescriptions>;
async describeEnvironmentHealth(params?: DescribeEnvironmentHealthRequest, opts?: client.RequestOptions): Promise<DescribeEnvironmentHealthResult>;
async describeEnvironmentManagedActionHistory(params?: DescribeEnvironmentManagedActionHistoryRequest, opts?: client.RequestOptions): Promise<DescribeEnvironmentManagedActionHistoryResult>;
async describeEnvironmentManagedActions(params?: DescribeEnvironmentManagedActionsRequest, opts?: client.RequestOptions): Promise<DescribeEnvironmentManagedActionsResult>;
async describeEnvironmentResources(params?: DescribeEnvironmentResourcesMessage, opts?: client.RequestOptions): Promise<EnvironmentResourceDescriptionsMessage>;
async describeEnvironments(params?: DescribeEnvironmentsMessage, opts?: client.RequestOptions): Promise<EnvironmentDescriptionsMessage>;
async describeEvents(params?: DescribeEventsMessage, opts?: client.RequestOptions): Promise<EventDescriptionsMessage>;
async describeInstancesHealth(params?: DescribeInstancesHealthRequest, opts?: client.RequestOptions): Promise<DescribeInstancesHealthResult>;
async describePlatformVersion(params?: DescribePlatformVersionRequest, opts?: client.RequestOptions): Promise<DescribePlatformVersionResult>;
async disassociateEnvironmentOperationsRole(params: DisassociateEnvironmentOperationsRoleMessage, opts?: client.RequestOptions): Promise<void>;
async listAvailableSolutionStacks(opts?: client.RequestOptions): Promise<ListAvailableSolutionStacksResultMessage>;
async listPlatformBranches(params?: ListPlatformBranchesRequest, opts?: client.RequestOptions): Promise<ListPlatformBranchesResult>;
async listPlatformVersions(params?: ListPlatformVersionsRequest, opts?: client.RequestOptions): Promise<ListPlatformVersionsResult>;
async listTagsForResource(params: ListTagsForResourceMessage, opts?: client.RequestOptions): Promise<ResourceTagsDescriptionMessage>;
async rebuildEnvironment(params?: RebuildEnvironmentMessage, opts?: client.RequestOptions): Promise<void>;
async requestEnvironmentInfo(params: RequestEnvironmentInfoMessage, opts?: client.RequestOptions): Promise<void>;
async restartAppServer(params?: RestartAppServerMessage, opts?: client.RequestOptions): Promise<void>;
async retrieveEnvironmentInfo(params: RetrieveEnvironmentInfoMessage, opts?: client.RequestOptions): Promise<RetrieveEnvironmentInfoResultMessage>;
async swapEnvironmentCNAMEs(params?: SwapEnvironmentCNAMEsMessage, opts?: client.RequestOptions): Promise<void>;
async terminateEnvironment(params?: TerminateEnvironmentMessage, opts?: client.RequestOptions): Promise<EnvironmentDescription>;
async updateApplication(params: UpdateApplicationMessage, opts?: client.RequestOptions): Promise<ApplicationDescriptionMessage>;
async updateApplicationVersion(params: UpdateApplicationVersionMessage, opts?: client.RequestOptions): Promise<ApplicationVersionDescriptionMessage>;
async updateConfigurationTemplate(params: UpdateConfigurationTemplateMessage, opts?: client.RequestOptions): Promise<ConfigurationSettingsDescription>;
async updateEnvironment(params?: UpdateEnvironmentMessage, opts?: client.RequestOptions): Promise<EnvironmentDescription>;
async updateTagsForResource(params: UpdateTagsForResourceMessage, opts?: client.RequestOptions): Promise<void>;
async validateConfigurationSettings(params: ValidateConfigurationSettingsMessage, opts?: client.RequestOptions): Promise<ConfigurationSettingsValidationMessages>;
async waitForEnvironmentExists(params: DescribeEnvironmentsMessage, opts?: client.RequestOptions): Promise<EnvironmentDescriptionsMessage>;
async waitForEnvironmentTerminated(params: DescribeEnvironmentsMessage, opts?: client.RequestOptions): Promise<EnvironmentDescriptionsMessage>;
async waitForEnvironmentUpdated(params: DescribeEnvironmentsMessage, opts?: client.RequestOptions): Promise<EnvironmentDescriptionsMessage>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new ElasticBeanstalk(apiFactory: client.ApiFactory)
[src]

§Methods

§
abortEnvironmentUpdate(params?: AbortEnvironmentUpdateMessage, opts?: client.RequestOptions): Promise<void>
[src]

Cancels in-progress environment configuration update or application version deployment.

§

Applies a scheduled managed action immediately. A managed action can be applied only if its status is Scheduled. Get the status and action ID of a managed action with "DescribeEnvironmentManagedActions".

§
associateEnvironmentOperationsRole(params: AssociateEnvironmentOperationsRoleMessage, opts?: client.RequestOptions): Promise<void>
[src]

Add or change the operations role used by an environment. After this call is made, Elastic Beanstalk uses the associated operations role for permissions to downstream services during subsequent calls acting on this environment. For more information, see Operations roles in the AWS Elastic Beanstalk Developer Guide.

§

Checks if the specified CNAME is available.

§

Create or update a group of environments that each run a separate component of a single application. Takes a list of version labels that specify application source bundles for each of the environments to create or update. The name of each environment and other required information must be included in the source bundles in an environment manifest named env.yaml. See Compose Environments for details.

§

Creates an application that has one configuration template named default and no application versions.

§

Creates an application version for the specified application. You can create an application version from a source bundle in Amazon S3, a commit in AWS CodeCommit, or the output of an AWS CodeBuild build as follows:

Specify a commit in an AWS CodeCommit repository with SourceBuildInformation.

Specify a build in an AWS CodeBuild with SourceBuildInformation and BuildConfiguration.

Specify a source bundle in S3 with SourceBundle

Omit both SourceBuildInformation and SourceBundle to use the default sample application.

Note: After you create an application version with a specified Amazon S3 bucket and key location, you can't change that Amazon S3 location. If you change the Amazon S3 location, you receive an exception when you attempt to launch an environment from the application version.

§

Creates an AWS Elastic Beanstalk configuration template, associated with a specific Elastic Beanstalk application. You define application configuration settings in a configuration template. You can then use the configuration template to deploy different versions of the application with the same configuration settings.

Templates aren't associated with any environment. The EnvironmentName response element is always null.

Related Topics

  • "DescribeConfigurationOptions"
  • "DescribeConfigurationSettings"
  • "ListAvailableSolutionStacks"
§

Launches an AWS Elastic Beanstalk environment for the specified application using the specified configuration.

§

Create a new version of your custom platform.

§
createStorageLocation(opts?: client.RequestOptions): Promise<CreateStorageLocationResultMessage>
[src]

Creates a bucket in Amazon S3 to store application versions, logs, and other files used by Elastic Beanstalk environments. The Elastic Beanstalk console and EB CLI call this API the first time you create an environment in a region. If the storage location already exists, CreateStorageLocation still returns the bucket name but does not create a new bucket.

§
deleteApplication(params: DeleteApplicationMessage, opts?: client.RequestOptions): Promise<void>
[src]

Deletes the specified application along with all associated versions and configurations. The application versions will not be deleted from your Amazon S3 bucket.

Note: You cannot delete an application that has a running environment.

§
deleteApplicationVersion(params: DeleteApplicationVersionMessage, opts?: client.RequestOptions): Promise<void>
[src]

Deletes the specified version from the specified application.

Note: You cannot delete an application version that is associated with a running environment.

§
deleteConfigurationTemplate(params: DeleteConfigurationTemplateMessage, opts?: client.RequestOptions): Promise<void>
[src]

Deletes the specified configuration template.

Note: When you launch an environment using a configuration template, the environment gets a copy of the template. You can delete or modify the environment's copy of the template without affecting the running environment.

§
deleteEnvironmentConfiguration(params: DeleteEnvironmentConfigurationMessage, opts?: client.RequestOptions): Promise<void>
[src]

Deletes the draft configuration associated with the running environment.

Updating a running environment with any configuration changes creates a draft configuration set. You can get the draft configuration using "DescribeConfigurationSettings" while the update is in progress or if the update fails. The DeploymentStatus for the draft configuration indicates whether the deployment is in process or has failed. The draft configuration remains in existence until it is deleted with this action.

§

Deletes the specified version of a custom platform.

§
describeAccountAttributes(opts?: client.RequestOptions): Promise<DescribeAccountAttributesResult>
[src]

Returns attributes related to AWS Elastic Beanstalk that are associated with the calling AWS account.

The result currently has one set of attributes—resource quotas.

§

Returns the descriptions of existing applications.

§

Retrieve a list of application versions.

§

Describes the configuration options that are used in a particular configuration template or environment, or that a specified solution stack defines. The description includes the values the options, their default values, and an indication of the required action on a running environment if an option value is changed.

§

Returns a description of the settings for the specified configuration set, that is, either a configuration template or the configuration set associated with a running environment.

When describing the settings for the configuration set associated with a running environment, it is possible to receive two sets of setting descriptions. One is the deployed configuration set, and the other is a draft configuration of an environment that is either in the process of deployment or that failed to deploy.

Related Topics

  • "DeleteEnvironmentConfiguration"
§

Returns information about the overall health of the specified environment. The DescribeEnvironmentHealth operation is only available with AWS Elastic Beanstalk Enhanced Health.

§

Lists an environment's completed and failed managed actions.

§

Lists an environment's upcoming and in-progress managed actions.

§

Returns AWS resources for this environment.

§

Returns descriptions for existing environments.

§

Returns list of event descriptions matching criteria up to the last 6 weeks.

Note: This action returns the most recent 1,000 events from the specified NextToken.

§

Retrieves detailed information about the health of instances in your AWS Elastic Beanstalk. This operation requires enhanced health reporting.

§

Describes a platform version. Provides full details. Compare to "ListPlatformVersions", which provides summary information about a list of platform versions.

For definitions of platform version and other platform-related terms, see AWS Elastic Beanstalk Platforms Glossary.

§
disassociateEnvironmentOperationsRole(params: DisassociateEnvironmentOperationsRoleMessage, opts?: client.RequestOptions): Promise<void>
[src]

Disassociate the operations role from an environment. After this call is made, Elastic Beanstalk uses the caller's permissions for permissions to downstream services during subsequent calls acting on this environment. For more information, see Operations roles in the AWS Elastic Beanstalk Developer Guide.

§
listAvailableSolutionStacks(opts?: client.RequestOptions): Promise<ListAvailableSolutionStacksResultMessage>
[src]

Returns a list of the available solution stack names, with the public version first and then in reverse chronological order.

§

Lists the platform branches available for your account in an AWS Region. Provides summary information about each platform branch.

For definitions of platform branch and other platform-related terms, see AWS Elastic Beanstalk Platforms Glossary.

§

Lists the platform versions available for your account in an AWS Region. Provides summary information about each platform version. Compare to "DescribePlatformVersion", which provides full details about a single platform version.

For definitions of platform version and other platform-related terms, see AWS Elastic Beanstalk Platforms Glossary.

§

Return the tags applied to an AWS Elastic Beanstalk resource. The response contains a list of tag key-value pairs.

Elastic Beanstalk supports tagging of all of its resources. For details about resource tagging, see Tagging Application Resources.

§
rebuildEnvironment(params?: RebuildEnvironmentMessage, opts?: client.RequestOptions): Promise<void>
[src]

Deletes and recreates all of the AWS resources (for example: the Auto Scaling group, load balancer, etc.) for a specified environment and forces a restart.

§
requestEnvironmentInfo(params: RequestEnvironmentInfoMessage, opts?: client.RequestOptions): Promise<void>
[src]

Initiates a request to compile the specified type of information of the deployed environment.

Setting the InfoType to tail compiles the last lines from the application server log files of every Amazon EC2 instance in your environment.

Setting the InfoType to bundle compresses the application server log files for every Amazon EC2 instance into a .zip file. Legacy and .NET containers do not support bundle logs.

Use "RetrieveEnvironmentInfo" to obtain the set of logs.

Related Topics

  • "RetrieveEnvironmentInfo"
§
restartAppServer(params?: RestartAppServerMessage, opts?: client.RequestOptions): Promise<void>
[src]

Causes the environment to restart the application container server running on each Amazon EC2 instance.

§

Retrieves the compiled information from a "RequestEnvironmentInfo" request.

Related Topics

  • "RequestEnvironmentInfo"
§
swapEnvironmentCNAMEs(params?: SwapEnvironmentCNAMEsMessage, opts?: client.RequestOptions): Promise<void>
[src]

Swaps the CNAMEs of two environments.

§
terminateEnvironment(params?: TerminateEnvironmentMessage, opts?: client.RequestOptions): Promise<EnvironmentDescription>
[src]

Terminates the specified environment.

§

Updates the specified application to have the specified properties.

Note: If a property (for example, description) is not provided, the value remains unchanged. To clear these properties, specify an empty string.

§

Modifies lifecycle settings for an application.

§

Updates the specified application version to have the specified properties.

Note: If a property (for example, description) is not provided, the value remains unchanged. To clear properties, specify an empty string.

§

Updates the specified configuration template to have the specified properties or configuration option values.

Note: If a property (for example, ApplicationName) is not provided, its value remains unchanged. To clear such properties, specify an empty string.

Related Topics

  • "DescribeConfigurationOptions"
§
updateEnvironment(params?: UpdateEnvironmentMessage, opts?: client.RequestOptions): Promise<EnvironmentDescription>
[src]

Updates the environment description, deploys a new application version, updates the configuration settings to an entirely new configuration template, or updates select configuration option values in the running environment.

Attempting to update both the release and configuration is not allowed and AWS Elastic Beanstalk returns an InvalidParameterCombination error.

When updating the configuration settings to a new template or individual settings, a draft configuration is created and "DescribeConfigurationSettings" for this environment returns two setting descriptions with different DeploymentStatus values.

§
updateTagsForResource(params: UpdateTagsForResourceMessage, opts?: client.RequestOptions): Promise<void>
[src]

Update the list of tags applied to an AWS Elastic Beanstalk resource. Two lists can be passed: TagsToAdd for tags to add or update, and TagsToRemove.

Elastic Beanstalk supports tagging of all of its resources. For details about resource tagging, see Tagging Application Resources.

If you create a custom IAM user policy to control permission to this operation, specify one of the following two virtual actions (or both) instead of the API operation name:

elasticbeanstalk:AddTags: Controls permission to call UpdateTagsForResource and pass a list of tags to add in the TagsToAdd parameter.

elasticbeanstalk:RemoveTags: Controls permission to call UpdateTagsForResource and pass a list of tag keys to remove in the TagsToRemove parameter.

For details about creating a custom user policy, see Creating a Custom User Policy.

§

Takes a set of configuration settings and either a configuration template or environment, and determines whether those values are valid.

This action returns a list of messages indicating any errors or warnings associated with the selection of option values.

§

Checks state up to 20 times, 20 seconds apart (about 7 minutes max wait time).

§
waitForEnvironmentTerminated(params: DescribeEnvironmentsMessage, opts?: client.RequestOptions): Promise<EnvironmentDescriptionsMessage>
[src]

Checks state up to 20 times, 20 seconds apart (about 7 minutes max wait time).

§

Checks state up to 20 times, 20 seconds apart (about 7 minutes max wait time).

§Static Properties