UNPKG

aws-sdk

Version:
569 lines 111 kB
import {Request} from '../lib/request'; import {Response} from '../lib/response'; import {AWSError} from '../lib/error'; import {Service} from '../lib/service'; import {ServiceConfigurationOptions} from '../lib/service'; import {ConfigBase as Config} from '../lib/config-base'; interface Blob {} declare class AppRunner extends Service { /** * Constructs a service object. This object has one method for each API operation. */ constructor(options?: AppRunner.Types.ClientConfiguration) config: Config & AppRunner.Types.ClientConfiguration; /** * Associate your own domain name with the App Runner subdomain URL of your App Runner service. After you call AssociateCustomDomain and receive a successful response, use the information in the CustomDomain record that's returned to add CNAME records to your Domain Name System (DNS). For each mapped domain name, add a mapping to the target App Runner subdomain and one or more certificate validation records. App Runner then performs DNS validation to verify that you own or control the domain name that you associated. App Runner tracks domain validity in a certificate stored in AWS Certificate Manager (ACM). */ associateCustomDomain(params: AppRunner.Types.AssociateCustomDomainRequest, callback?: (err: AWSError, data: AppRunner.Types.AssociateCustomDomainResponse) => void): Request<AppRunner.Types.AssociateCustomDomainResponse, AWSError>; /** * Associate your own domain name with the App Runner subdomain URL of your App Runner service. After you call AssociateCustomDomain and receive a successful response, use the information in the CustomDomain record that's returned to add CNAME records to your Domain Name System (DNS). For each mapped domain name, add a mapping to the target App Runner subdomain and one or more certificate validation records. App Runner then performs DNS validation to verify that you own or control the domain name that you associated. App Runner tracks domain validity in a certificate stored in AWS Certificate Manager (ACM). */ associateCustomDomain(callback?: (err: AWSError, data: AppRunner.Types.AssociateCustomDomainResponse) => void): Request<AppRunner.Types.AssociateCustomDomainResponse, AWSError>; /** * Create an App Runner automatic scaling configuration resource. App Runner requires this resource when you create or update App Runner services and you require non-default auto scaling settings. You can share an auto scaling configuration across multiple services. Create multiple revisions of a configuration by calling this action multiple times using the same AutoScalingConfigurationName. The call returns incremental AutoScalingConfigurationRevision values. When you create a service and configure an auto scaling configuration resource, the service uses the latest active revision of the auto scaling configuration by default. You can optionally configure the service to use a specific revision. Configure a higher MinSize to increase the spread of your App Runner service over more Availability Zones in the Amazon Web Services Region. The tradeoff is a higher minimal cost. Configure a lower MaxSize to control your cost. The tradeoff is lower responsiveness during peak demand. */ createAutoScalingConfiguration(params: AppRunner.Types.CreateAutoScalingConfigurationRequest, callback?: (err: AWSError, data: AppRunner.Types.CreateAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.CreateAutoScalingConfigurationResponse, AWSError>; /** * Create an App Runner automatic scaling configuration resource. App Runner requires this resource when you create or update App Runner services and you require non-default auto scaling settings. You can share an auto scaling configuration across multiple services. Create multiple revisions of a configuration by calling this action multiple times using the same AutoScalingConfigurationName. The call returns incremental AutoScalingConfigurationRevision values. When you create a service and configure an auto scaling configuration resource, the service uses the latest active revision of the auto scaling configuration by default. You can optionally configure the service to use a specific revision. Configure a higher MinSize to increase the spread of your App Runner service over more Availability Zones in the Amazon Web Services Region. The tradeoff is a higher minimal cost. Configure a lower MaxSize to control your cost. The tradeoff is lower responsiveness during peak demand. */ createAutoScalingConfiguration(callback?: (err: AWSError, data: AppRunner.Types.CreateAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.CreateAutoScalingConfigurationResponse, AWSError>; /** * Create an App Runner connection resource. App Runner requires a connection resource when you create App Runner services that access private repositories from certain third-party providers. You can share a connection across multiple services. A connection resource is needed to access GitHub and Bitbucket repositories. Both require a user interface approval process through the App Runner console before you can use the connection. */ createConnection(params: AppRunner.Types.CreateConnectionRequest, callback?: (err: AWSError, data: AppRunner.Types.CreateConnectionResponse) => void): Request<AppRunner.Types.CreateConnectionResponse, AWSError>; /** * Create an App Runner connection resource. App Runner requires a connection resource when you create App Runner services that access private repositories from certain third-party providers. You can share a connection across multiple services. A connection resource is needed to access GitHub and Bitbucket repositories. Both require a user interface approval process through the App Runner console before you can use the connection. */ createConnection(callback?: (err: AWSError, data: AppRunner.Types.CreateConnectionResponse) => void): Request<AppRunner.Types.CreateConnectionResponse, AWSError>; /** * Create an App Runner observability configuration resource. App Runner requires this resource when you create or update App Runner services and you want to enable non-default observability features. You can share an observability configuration across multiple services. Create multiple revisions of a configuration by calling this action multiple times using the same ObservabilityConfigurationName. The call returns incremental ObservabilityConfigurationRevision values. When you create a service and configure an observability configuration resource, the service uses the latest active revision of the observability configuration by default. You can optionally configure the service to use a specific revision. The observability configuration resource is designed to configure multiple features (currently one feature, tracing). This action takes optional parameters that describe the configuration of these features (currently one parameter, TraceConfiguration). If you don't specify a feature parameter, App Runner doesn't enable the feature. */ createObservabilityConfiguration(params: AppRunner.Types.CreateObservabilityConfigurationRequest, callback?: (err: AWSError, data: AppRunner.Types.CreateObservabilityConfigurationResponse) => void): Request<AppRunner.Types.CreateObservabilityConfigurationResponse, AWSError>; /** * Create an App Runner observability configuration resource. App Runner requires this resource when you create or update App Runner services and you want to enable non-default observability features. You can share an observability configuration across multiple services. Create multiple revisions of a configuration by calling this action multiple times using the same ObservabilityConfigurationName. The call returns incremental ObservabilityConfigurationRevision values. When you create a service and configure an observability configuration resource, the service uses the latest active revision of the observability configuration by default. You can optionally configure the service to use a specific revision. The observability configuration resource is designed to configure multiple features (currently one feature, tracing). This action takes optional parameters that describe the configuration of these features (currently one parameter, TraceConfiguration). If you don't specify a feature parameter, App Runner doesn't enable the feature. */ createObservabilityConfiguration(callback?: (err: AWSError, data: AppRunner.Types.CreateObservabilityConfigurationResponse) => void): Request<AppRunner.Types.CreateObservabilityConfigurationResponse, AWSError>; /** * Create an App Runner service. After the service is created, the action also automatically starts a deployment. This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress. */ createService(params: AppRunner.Types.CreateServiceRequest, callback?: (err: AWSError, data: AppRunner.Types.CreateServiceResponse) => void): Request<AppRunner.Types.CreateServiceResponse, AWSError>; /** * Create an App Runner service. After the service is created, the action also automatically starts a deployment. This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress. */ createService(callback?: (err: AWSError, data: AppRunner.Types.CreateServiceResponse) => void): Request<AppRunner.Types.CreateServiceResponse, AWSError>; /** * Create an App Runner VPC connector resource. App Runner requires this resource when you want to associate your App Runner service to a custom Amazon Virtual Private Cloud (Amazon VPC). */ createVpcConnector(params: AppRunner.Types.CreateVpcConnectorRequest, callback?: (err: AWSError, data: AppRunner.Types.CreateVpcConnectorResponse) => void): Request<AppRunner.Types.CreateVpcConnectorResponse, AWSError>; /** * Create an App Runner VPC connector resource. App Runner requires this resource when you want to associate your App Runner service to a custom Amazon Virtual Private Cloud (Amazon VPC). */ createVpcConnector(callback?: (err: AWSError, data: AppRunner.Types.CreateVpcConnectorResponse) => void): Request<AppRunner.Types.CreateVpcConnectorResponse, AWSError>; /** * Create an App Runner VPC Ingress Connection resource. App Runner requires this resource when you want to associate your App Runner service with an Amazon VPC endpoint. */ createVpcIngressConnection(params: AppRunner.Types.CreateVpcIngressConnectionRequest, callback?: (err: AWSError, data: AppRunner.Types.CreateVpcIngressConnectionResponse) => void): Request<AppRunner.Types.CreateVpcIngressConnectionResponse, AWSError>; /** * Create an App Runner VPC Ingress Connection resource. App Runner requires this resource when you want to associate your App Runner service with an Amazon VPC endpoint. */ createVpcIngressConnection(callback?: (err: AWSError, data: AppRunner.Types.CreateVpcIngressConnectionResponse) => void): Request<AppRunner.Types.CreateVpcIngressConnectionResponse, AWSError>; /** * Delete an App Runner automatic scaling configuration resource. You can delete a top level auto scaling configuration, a specific revision of one, or all revisions associated with the top level configuration. You can't delete the default auto scaling configuration or a configuration that's used by one or more App Runner services. */ deleteAutoScalingConfiguration(params: AppRunner.Types.DeleteAutoScalingConfigurationRequest, callback?: (err: AWSError, data: AppRunner.Types.DeleteAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.DeleteAutoScalingConfigurationResponse, AWSError>; /** * Delete an App Runner automatic scaling configuration resource. You can delete a top level auto scaling configuration, a specific revision of one, or all revisions associated with the top level configuration. You can't delete the default auto scaling configuration or a configuration that's used by one or more App Runner services. */ deleteAutoScalingConfiguration(callback?: (err: AWSError, data: AppRunner.Types.DeleteAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.DeleteAutoScalingConfigurationResponse, AWSError>; /** * Delete an App Runner connection. You must first ensure that there are no running App Runner services that use this connection. If there are any, the DeleteConnection action fails. */ deleteConnection(params: AppRunner.Types.DeleteConnectionRequest, callback?: (err: AWSError, data: AppRunner.Types.DeleteConnectionResponse) => void): Request<AppRunner.Types.DeleteConnectionResponse, AWSError>; /** * Delete an App Runner connection. You must first ensure that there are no running App Runner services that use this connection. If there are any, the DeleteConnection action fails. */ deleteConnection(callback?: (err: AWSError, data: AppRunner.Types.DeleteConnectionResponse) => void): Request<AppRunner.Types.DeleteConnectionResponse, AWSError>; /** * Delete an App Runner observability configuration resource. You can delete a specific revision or the latest active revision. You can't delete a configuration that's used by one or more App Runner services. */ deleteObservabilityConfiguration(params: AppRunner.Types.DeleteObservabilityConfigurationRequest, callback?: (err: AWSError, data: AppRunner.Types.DeleteObservabilityConfigurationResponse) => void): Request<AppRunner.Types.DeleteObservabilityConfigurationResponse, AWSError>; /** * Delete an App Runner observability configuration resource. You can delete a specific revision or the latest active revision. You can't delete a configuration that's used by one or more App Runner services. */ deleteObservabilityConfiguration(callback?: (err: AWSError, data: AppRunner.Types.DeleteObservabilityConfigurationResponse) => void): Request<AppRunner.Types.DeleteObservabilityConfigurationResponse, AWSError>; /** * Delete an App Runner service. This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress. Make sure that you don't have any active VPCIngressConnections associated with the service you want to delete. */ deleteService(params: AppRunner.Types.DeleteServiceRequest, callback?: (err: AWSError, data: AppRunner.Types.DeleteServiceResponse) => void): Request<AppRunner.Types.DeleteServiceResponse, AWSError>; /** * Delete an App Runner service. This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress. Make sure that you don't have any active VPCIngressConnections associated with the service you want to delete. */ deleteService(callback?: (err: AWSError, data: AppRunner.Types.DeleteServiceResponse) => void): Request<AppRunner.Types.DeleteServiceResponse, AWSError>; /** * Delete an App Runner VPC connector resource. You can't delete a connector that's used by one or more App Runner services. */ deleteVpcConnector(params: AppRunner.Types.DeleteVpcConnectorRequest, callback?: (err: AWSError, data: AppRunner.Types.DeleteVpcConnectorResponse) => void): Request<AppRunner.Types.DeleteVpcConnectorResponse, AWSError>; /** * Delete an App Runner VPC connector resource. You can't delete a connector that's used by one or more App Runner services. */ deleteVpcConnector(callback?: (err: AWSError, data: AppRunner.Types.DeleteVpcConnectorResponse) => void): Request<AppRunner.Types.DeleteVpcConnectorResponse, AWSError>; /** * Delete an App Runner VPC Ingress Connection resource that's associated with an App Runner service. The VPC Ingress Connection must be in one of the following states to be deleted: AVAILABLE FAILED_CREATION FAILED_UPDATE FAILED_DELETION */ deleteVpcIngressConnection(params: AppRunner.Types.DeleteVpcIngressConnectionRequest, callback?: (err: AWSError, data: AppRunner.Types.DeleteVpcIngressConnectionResponse) => void): Request<AppRunner.Types.DeleteVpcIngressConnectionResponse, AWSError>; /** * Delete an App Runner VPC Ingress Connection resource that's associated with an App Runner service. The VPC Ingress Connection must be in one of the following states to be deleted: AVAILABLE FAILED_CREATION FAILED_UPDATE FAILED_DELETION */ deleteVpcIngressConnection(callback?: (err: AWSError, data: AppRunner.Types.DeleteVpcIngressConnectionResponse) => void): Request<AppRunner.Types.DeleteVpcIngressConnectionResponse, AWSError>; /** * Return a full description of an App Runner automatic scaling configuration resource. */ describeAutoScalingConfiguration(params: AppRunner.Types.DescribeAutoScalingConfigurationRequest, callback?: (err: AWSError, data: AppRunner.Types.DescribeAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.DescribeAutoScalingConfigurationResponse, AWSError>; /** * Return a full description of an App Runner automatic scaling configuration resource. */ describeAutoScalingConfiguration(callback?: (err: AWSError, data: AppRunner.Types.DescribeAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.DescribeAutoScalingConfigurationResponse, AWSError>; /** * Return a description of custom domain names that are associated with an App Runner service. */ describeCustomDomains(params: AppRunner.Types.DescribeCustomDomainsRequest, callback?: (err: AWSError, data: AppRunner.Types.DescribeCustomDomainsResponse) => void): Request<AppRunner.Types.DescribeCustomDomainsResponse, AWSError>; /** * Return a description of custom domain names that are associated with an App Runner service. */ describeCustomDomains(callback?: (err: AWSError, data: AppRunner.Types.DescribeCustomDomainsResponse) => void): Request<AppRunner.Types.DescribeCustomDomainsResponse, AWSError>; /** * Return a full description of an App Runner observability configuration resource. */ describeObservabilityConfiguration(params: AppRunner.Types.DescribeObservabilityConfigurationRequest, callback?: (err: AWSError, data: AppRunner.Types.DescribeObservabilityConfigurationResponse) => void): Request<AppRunner.Types.DescribeObservabilityConfigurationResponse, AWSError>; /** * Return a full description of an App Runner observability configuration resource. */ describeObservabilityConfiguration(callback?: (err: AWSError, data: AppRunner.Types.DescribeObservabilityConfigurationResponse) => void): Request<AppRunner.Types.DescribeObservabilityConfigurationResponse, AWSError>; /** * Return a full description of an App Runner service. */ describeService(params: AppRunner.Types.DescribeServiceRequest, callback?: (err: AWSError, data: AppRunner.Types.DescribeServiceResponse) => void): Request<AppRunner.Types.DescribeServiceResponse, AWSError>; /** * Return a full description of an App Runner service. */ describeService(callback?: (err: AWSError, data: AppRunner.Types.DescribeServiceResponse) => void): Request<AppRunner.Types.DescribeServiceResponse, AWSError>; /** * Return a description of an App Runner VPC connector resource. */ describeVpcConnector(params: AppRunner.Types.DescribeVpcConnectorRequest, callback?: (err: AWSError, data: AppRunner.Types.DescribeVpcConnectorResponse) => void): Request<AppRunner.Types.DescribeVpcConnectorResponse, AWSError>; /** * Return a description of an App Runner VPC connector resource. */ describeVpcConnector(callback?: (err: AWSError, data: AppRunner.Types.DescribeVpcConnectorResponse) => void): Request<AppRunner.Types.DescribeVpcConnectorResponse, AWSError>; /** * Return a full description of an App Runner VPC Ingress Connection resource. */ describeVpcIngressConnection(params: AppRunner.Types.DescribeVpcIngressConnectionRequest, callback?: (err: AWSError, data: AppRunner.Types.DescribeVpcIngressConnectionResponse) => void): Request<AppRunner.Types.DescribeVpcIngressConnectionResponse, AWSError>; /** * Return a full description of an App Runner VPC Ingress Connection resource. */ describeVpcIngressConnection(callback?: (err: AWSError, data: AppRunner.Types.DescribeVpcIngressConnectionResponse) => void): Request<AppRunner.Types.DescribeVpcIngressConnectionResponse, AWSError>; /** * Disassociate a custom domain name from an App Runner service. Certificates tracking domain validity are associated with a custom domain and are stored in AWS Certificate Manager (ACM). These certificates aren't deleted as part of this action. App Runner delays certificate deletion for 30 days after a domain is disassociated from your service. */ disassociateCustomDomain(params: AppRunner.Types.DisassociateCustomDomainRequest, callback?: (err: AWSError, data: AppRunner.Types.DisassociateCustomDomainResponse) => void): Request<AppRunner.Types.DisassociateCustomDomainResponse, AWSError>; /** * Disassociate a custom domain name from an App Runner service. Certificates tracking domain validity are associated with a custom domain and are stored in AWS Certificate Manager (ACM). These certificates aren't deleted as part of this action. App Runner delays certificate deletion for 30 days after a domain is disassociated from your service. */ disassociateCustomDomain(callback?: (err: AWSError, data: AppRunner.Types.DisassociateCustomDomainResponse) => void): Request<AppRunner.Types.DisassociateCustomDomainResponse, AWSError>; /** * Returns a list of active App Runner automatic scaling configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or the revisions for all active configurations in your account. You can optionally query only the latest revision of each requested name. To retrieve a full description of a particular configuration revision, call and provide one of the ARNs returned by ListAutoScalingConfigurations. */ listAutoScalingConfigurations(params: AppRunner.Types.ListAutoScalingConfigurationsRequest, callback?: (err: AWSError, data: AppRunner.Types.ListAutoScalingConfigurationsResponse) => void): Request<AppRunner.Types.ListAutoScalingConfigurationsResponse, AWSError>; /** * Returns a list of active App Runner automatic scaling configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or the revisions for all active configurations in your account. You can optionally query only the latest revision of each requested name. To retrieve a full description of a particular configuration revision, call and provide one of the ARNs returned by ListAutoScalingConfigurations. */ listAutoScalingConfigurations(callback?: (err: AWSError, data: AppRunner.Types.ListAutoScalingConfigurationsResponse) => void): Request<AppRunner.Types.ListAutoScalingConfigurationsResponse, AWSError>; /** * Returns a list of App Runner connections that are associated with your Amazon Web Services account. */ listConnections(params: AppRunner.Types.ListConnectionsRequest, callback?: (err: AWSError, data: AppRunner.Types.ListConnectionsResponse) => void): Request<AppRunner.Types.ListConnectionsResponse, AWSError>; /** * Returns a list of App Runner connections that are associated with your Amazon Web Services account. */ listConnections(callback?: (err: AWSError, data: AppRunner.Types.ListConnectionsResponse) => void): Request<AppRunner.Types.ListConnectionsResponse, AWSError>; /** * Returns a list of active App Runner observability configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or the revisions for all active configurations in your account. You can optionally query only the latest revision of each requested name. To retrieve a full description of a particular configuration revision, call and provide one of the ARNs returned by ListObservabilityConfigurations. */ listObservabilityConfigurations(params: AppRunner.Types.ListObservabilityConfigurationsRequest, callback?: (err: AWSError, data: AppRunner.Types.ListObservabilityConfigurationsResponse) => void): Request<AppRunner.Types.ListObservabilityConfigurationsResponse, AWSError>; /** * Returns a list of active App Runner observability configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or the revisions for all active configurations in your account. You can optionally query only the latest revision of each requested name. To retrieve a full description of a particular configuration revision, call and provide one of the ARNs returned by ListObservabilityConfigurations. */ listObservabilityConfigurations(callback?: (err: AWSError, data: AppRunner.Types.ListObservabilityConfigurationsResponse) => void): Request<AppRunner.Types.ListObservabilityConfigurationsResponse, AWSError>; /** * Return a list of operations that occurred on an App Runner service. The resulting list of OperationSummary objects is sorted in reverse chronological order. The first object on the list represents the last started operation. */ listOperations(params: AppRunner.Types.ListOperationsRequest, callback?: (err: AWSError, data: AppRunner.Types.ListOperationsResponse) => void): Request<AppRunner.Types.ListOperationsResponse, AWSError>; /** * Return a list of operations that occurred on an App Runner service. The resulting list of OperationSummary objects is sorted in reverse chronological order. The first object on the list represents the last started operation. */ listOperations(callback?: (err: AWSError, data: AppRunner.Types.ListOperationsResponse) => void): Request<AppRunner.Types.ListOperationsResponse, AWSError>; /** * Returns a list of running App Runner services in your Amazon Web Services account. */ listServices(params: AppRunner.Types.ListServicesRequest, callback?: (err: AWSError, data: AppRunner.Types.ListServicesResponse) => void): Request<AppRunner.Types.ListServicesResponse, AWSError>; /** * Returns a list of running App Runner services in your Amazon Web Services account. */ listServices(callback?: (err: AWSError, data: AppRunner.Types.ListServicesResponse) => void): Request<AppRunner.Types.ListServicesResponse, AWSError>; /** * Returns a list of the associated App Runner services using an auto scaling configuration. */ listServicesForAutoScalingConfiguration(params: AppRunner.Types.ListServicesForAutoScalingConfigurationRequest, callback?: (err: AWSError, data: AppRunner.Types.ListServicesForAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.ListServicesForAutoScalingConfigurationResponse, AWSError>; /** * Returns a list of the associated App Runner services using an auto scaling configuration. */ listServicesForAutoScalingConfiguration(callback?: (err: AWSError, data: AppRunner.Types.ListServicesForAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.ListServicesForAutoScalingConfigurationResponse, AWSError>; /** * List tags that are associated with for an App Runner resource. The response contains a list of tag key-value pairs. */ listTagsForResource(params: AppRunner.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: AppRunner.Types.ListTagsForResourceResponse) => void): Request<AppRunner.Types.ListTagsForResourceResponse, AWSError>; /** * List tags that are associated with for an App Runner resource. The response contains a list of tag key-value pairs. */ listTagsForResource(callback?: (err: AWSError, data: AppRunner.Types.ListTagsForResourceResponse) => void): Request<AppRunner.Types.ListTagsForResourceResponse, AWSError>; /** * Returns a list of App Runner VPC connectors in your Amazon Web Services account. */ listVpcConnectors(params: AppRunner.Types.ListVpcConnectorsRequest, callback?: (err: AWSError, data: AppRunner.Types.ListVpcConnectorsResponse) => void): Request<AppRunner.Types.ListVpcConnectorsResponse, AWSError>; /** * Returns a list of App Runner VPC connectors in your Amazon Web Services account. */ listVpcConnectors(callback?: (err: AWSError, data: AppRunner.Types.ListVpcConnectorsResponse) => void): Request<AppRunner.Types.ListVpcConnectorsResponse, AWSError>; /** * Return a list of App Runner VPC Ingress Connections in your Amazon Web Services account. */ listVpcIngressConnections(params: AppRunner.Types.ListVpcIngressConnectionsRequest, callback?: (err: AWSError, data: AppRunner.Types.ListVpcIngressConnectionsResponse) => void): Request<AppRunner.Types.ListVpcIngressConnectionsResponse, AWSError>; /** * Return a list of App Runner VPC Ingress Connections in your Amazon Web Services account. */ listVpcIngressConnections(callback?: (err: AWSError, data: AppRunner.Types.ListVpcIngressConnectionsResponse) => void): Request<AppRunner.Types.ListVpcIngressConnectionsResponse, AWSError>; /** * Pause an active App Runner service. App Runner reduces compute capacity for the service to zero and loses state (for example, ephemeral storage is removed). This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress. */ pauseService(params: AppRunner.Types.PauseServiceRequest, callback?: (err: AWSError, data: AppRunner.Types.PauseServiceResponse) => void): Request<AppRunner.Types.PauseServiceResponse, AWSError>; /** * Pause an active App Runner service. App Runner reduces compute capacity for the service to zero and loses state (for example, ephemeral storage is removed). This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress. */ pauseService(callback?: (err: AWSError, data: AppRunner.Types.PauseServiceResponse) => void): Request<AppRunner.Types.PauseServiceResponse, AWSError>; /** * Resume an active App Runner service. App Runner provisions compute capacity for the service. This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress. */ resumeService(params: AppRunner.Types.ResumeServiceRequest, callback?: (err: AWSError, data: AppRunner.Types.ResumeServiceResponse) => void): Request<AppRunner.Types.ResumeServiceResponse, AWSError>; /** * Resume an active App Runner service. App Runner provisions compute capacity for the service. This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress. */ resumeService(callback?: (err: AWSError, data: AppRunner.Types.ResumeServiceResponse) => void): Request<AppRunner.Types.ResumeServiceResponse, AWSError>; /** * Initiate a manual deployment of the latest commit in a source code repository or the latest image in a source image repository to an App Runner service. For a source code repository, App Runner retrieves the commit and builds a Docker image. For a source image repository, App Runner retrieves the latest Docker image. In both cases, App Runner then deploys the new image to your service and starts a new container instance. This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress. */ startDeployment(params: AppRunner.Types.StartDeploymentRequest, callback?: (err: AWSError, data: AppRunner.Types.StartDeploymentResponse) => void): Request<AppRunner.Types.StartDeploymentResponse, AWSError>; /** * Initiate a manual deployment of the latest commit in a source code repository or the latest image in a source image repository to an App Runner service. For a source code repository, App Runner retrieves the commit and builds a Docker image. For a source image repository, App Runner retrieves the latest Docker image. In both cases, App Runner then deploys the new image to your service and starts a new container instance. This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress. */ startDeployment(callback?: (err: AWSError, data: AppRunner.Types.StartDeploymentResponse) => void): Request<AppRunner.Types.StartDeploymentResponse, AWSError>; /** * Add tags to, or update the tag values of, an App Runner resource. A tag is a key-value pair. */ tagResource(params: AppRunner.Types.TagResourceRequest, callback?: (err: AWSError, data: AppRunner.Types.TagResourceResponse) => void): Request<AppRunner.Types.TagResourceResponse, AWSError>; /** * Add tags to, or update the tag values of, an App Runner resource. A tag is a key-value pair. */ tagResource(callback?: (err: AWSError, data: AppRunner.Types.TagResourceResponse) => void): Request<AppRunner.Types.TagResourceResponse, AWSError>; /** * Remove tags from an App Runner resource. */ untagResource(params: AppRunner.Types.UntagResourceRequest, callback?: (err: AWSError, data: AppRunner.Types.UntagResourceResponse) => void): Request<AppRunner.Types.UntagResourceResponse, AWSError>; /** * Remove tags from an App Runner resource. */ untagResource(callback?: (err: AWSError, data: AppRunner.Types.UntagResourceResponse) => void): Request<AppRunner.Types.UntagResourceResponse, AWSError>; /** * Update an auto scaling configuration to be the default. The existing default auto scaling configuration will be set to non-default automatically. */ updateDefaultAutoScalingConfiguration(params: AppRunner.Types.UpdateDefaultAutoScalingConfigurationRequest, callback?: (err: AWSError, data: AppRunner.Types.UpdateDefaultAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.UpdateDefaultAutoScalingConfigurationResponse, AWSError>; /** * Update an auto scaling configuration to be the default. The existing default auto scaling configuration will be set to non-default automatically. */ updateDefaultAutoScalingConfiguration(callback?: (err: AWSError, data: AppRunner.Types.UpdateDefaultAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.UpdateDefaultAutoScalingConfigurationResponse, AWSError>; /** * Update an App Runner service. You can update the source configuration and instance configuration of the service. You can also update the ARN of the auto scaling configuration resource that's associated with the service. However, you can't change the name or the encryption configuration of the service. These can be set only when you create the service. To update the tags applied to your service, use the separate actions TagResource and UntagResource. This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress. */ updateService(params: AppRunner.Types.UpdateServiceRequest, callback?: (err: AWSError, data: AppRunner.Types.UpdateServiceResponse) => void): Request<AppRunner.Types.UpdateServiceResponse, AWSError>; /** * Update an App Runner service. You can update the source configuration and instance configuration of the service. You can also update the ARN of the auto scaling configuration resource that's associated with the service. However, you can't change the name or the encryption configuration of the service. These can be set only when you create the service. To update the tags applied to your service, use the separate actions TagResource and UntagResource. This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress. */ updateService(callback?: (err: AWSError, data: AppRunner.Types.UpdateServiceResponse) => void): Request<AppRunner.Types.UpdateServiceResponse, AWSError>; /** * Update an existing App Runner VPC Ingress Connection resource. The VPC Ingress Connection must be in one of the following states to be updated: AVAILABLE FAILED_CREATION FAILED_UPDATE */ updateVpcIngressConnection(params: AppRunner.Types.UpdateVpcIngressConnectionRequest, callback?: (err: AWSError, data: AppRunner.Types.UpdateVpcIngressConnectionResponse) => void): Request<AppRunner.Types.UpdateVpcIngressConnectionResponse, AWSError>; /** * Update an existing App Runner VPC Ingress Connection resource. The VPC Ingress Connection must be in one of the following states to be updated: AVAILABLE FAILED_CREATION FAILED_UPDATE */ updateVpcIngressConnection(callback?: (err: AWSError, data: AppRunner.Types.UpdateVpcIngressConnectionResponse) => void): Request<AppRunner.Types.UpdateVpcIngressConnectionResponse, AWSError>; } declare namespace AppRunner { export type ASConfigMaxConcurrency = number; export type ASConfigMaxSize = number; export type ASConfigMinSize = number; export type AppRunnerResourceArn = string; export interface AssociateCustomDomainRequest { /** * The Amazon Resource Name (ARN) of the App Runner service that you want to associate a custom domain name with. */ ServiceArn: AppRunnerResourceArn; /** * A custom domain endpoint to associate. Specify a root domain (for example, example.com), a subdomain (for example, login.example.com or admin.login.example.com), or a wildcard (for example, *.example.com). */ DomainName: DomainName; /** * Set to true to associate the subdomain www.DomainName with the App Runner service in addition to the base domain. Default: true */ EnableWWWSubdomain?: NullableBoolean; } export interface AssociateCustomDomainResponse { /** * The App Runner subdomain of the App Runner service. The custom domain name is mapped to this target name. */ DNSTarget: String; /** * The Amazon Resource Name (ARN) of the App Runner service with which a custom domain name is associated. */ ServiceArn: AppRunnerResourceArn; /** * A description of the domain name that's being associated. */ CustomDomain: CustomDomain; /** * DNS Target records for the custom domains of this Amazon VPC. */ VpcDNSTargets: VpcDNSTargetList; } export interface AuthenticationConfiguration { /** * The Amazon Resource Name (ARN) of the App Runner connection that enables the App Runner service to connect to a source repository. It's required for GitHub code repositories. */ ConnectionArn?: AppRunnerResourceArn; /** * The Amazon Resource Name (ARN) of the IAM role that grants the App Runner service access to a source repository. It's required for ECR image repositories (but not for ECR Public repositories). */ AccessRoleArn?: RoleArn; } export interface AutoScalingConfiguration { /** * The Amazon Resource Name (ARN) of this auto scaling configuration. */ AutoScalingConfigurationArn?: AppRunnerResourceArn; /** * The customer-provided auto scaling configuration name. It can be used in multiple revisions of a configuration. */ AutoScalingConfigurationName?: AutoScalingConfigurationName; /** * The revision of this auto scaling configuration. It's unique among all the active configurations ("Status": "ACTIVE") that share the same AutoScalingConfigurationName. */ AutoScalingConfigurationRevision?: AutoScalingConfigurationRevision; /** * It's set to true for the configuration with the highest Revision among all configurations that share the same AutoScalingConfigurationName. It's set to false otherwise. */ Latest?: Latest; /** * The current state of the auto scaling configuration. If the status of a configuration revision is INACTIVE, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted. */ Status?: AutoScalingConfigurationStatus; /** * The maximum number of concurrent requests that an instance processes. If the number of concurrent requests exceeds this limit, App Runner scales the service up. */ MaxConcurrency?: MaxConcurrency; /** * The minimum number of instances that App Runner provisions for a service. The service always has at least MinSize provisioned instances. Some of them actively serve traffic. The rest of them (provisioned and inactive instances) are a cost-effective compute capacity reserve and are ready to be quickly activated. You pay for memory usage of all the provisioned instances. You pay for CPU usage of only the active subset. App Runner temporarily doubles the number of provisioned instances during deployments, to maintain the same capacity for both old and new code. */ MinSize?: MinSize; /** * The maximum number of instances that a service scales up to. At most MaxSize instances actively serve traffic for your service. */ MaxSize?: MaxSize; /** * The time when the auto scaling configuration was created. It's in Unix time stamp format. */ CreatedAt?: Timestamp; /** * The time when the auto scaling configuration was deleted. It's in Unix time stamp format. */ DeletedAt?: Timestamp; /** * Indicates if this auto scaling configuration has an App Runner service associated with it. A value of true indicates one or more services are associated. A value of false indicates no services are associated. */ HasAssociatedService?: HasAssociatedService; /** * Indicates if this auto scaling configuration should be used as the default for a new App Runner service that does not have an auto scaling configuration ARN specified during creation. Each account can have only one default AutoScalingConfiguration per region. The default AutoScalingConfiguration can be any revision under the same AutoScalingConfigurationName. */ IsDefault?: IsDefault; } export type AutoScalingConfigurationName = string; export type AutoScalingConfigurationRevision = number; export type AutoScalingConfigurationStatus = "ACTIVE"|"INACTIVE"|string; export interface AutoScalingConfigurationSummary { /** * The Amazon Resource Name (ARN) of this auto scaling configuration. */ AutoScalingConfigurationArn?: AppRunnerResourceArn; /** * The customer-provided auto scaling configuration name. It can be used in multiple revisions of a configuration. */ AutoScalingConfigurationName?: AutoScalingConfigurationName; /** * The revision of this auto scaling configuration. It's unique among all the active configurations ("Status": "ACTIVE") with the same AutoScalingConfigurationName. */ AutoScalingConfigurationRevision?: Integer; /** * The current state of the auto scaling configuration. If the status of a configuration revision is INACTIVE, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted. */ Status?: AutoScalingConfigurationStatus; /** * The time when the auto scaling configuration was created. It's in Unix time stamp format. */ CreatedAt?: Timestamp; /** * Indicates if this auto scaling configuration has an App Runner service associated with it. A value of true indicates one or more services are associated. A value of false indicates no services are associated. */ HasAssociatedService?: HasAssociatedService; /** * Indicates if this auto scaling configuration should be used as the default for a new App Runner service that does not have an auto scaling configuration ARN specified during creation. Each account can have only one default AutoScalingConfiguration per region. The default AutoScalingConfiguration can be any revision under the same AutoScalingConfigurationName. */ IsDefault?: IsDefault; } export type AutoScalingConfigurationSummaryList = AutoScalingConfigurationSummary[]; export type Boolean = boolean; export type BuildCommand = string; export interface CertificateValidationRecord { /** * The certificate CNAME record name. */ Name?: String; /** * The record type, always CNAME. */ Type?: String; /** * The certificate CNAME record value. */ Value?: String; /** * The current state of the certificate CNAME record validation. It should change to SUCCESS after App Runner completes validation with your DNS. */ Status?: CertificateValidationRecordStatus; } export type CertificateValidationRecordList = CertificateValidationRecord[]; export type CertificateValidationRecordStatus = "PENDING_VALIDATION"|"SUCCESS"|"FAILED"|string; export interface CodeConfiguration { /** * The source of the App Runner configuration. Values are interpreted as follows: REPOSITORY – App Runner reads configuration values from the apprunner.yaml file in the source code repository and ignores CodeConfigurationValues. API – App Runner uses configuration values provided in CodeConfigurationValues and ignores the apprunner.yaml file in the source code repository. */ ConfigurationSource: ConfigurationSource; /** * The basic configuration for building and running the App Runner service. Use it to quickly launch an App Runner service without providing a apprunner.yaml file in the source code repository (or ignoring the file if it exists). */ CodeConfigurationValues?: CodeConfigurationValues; } export interface CodeConfigurationValues { /** * A runtime environment type for building and running an App Runner service. It represents a programming language runtime. */ Runtime: Runtime; /** * The command App Runner runs to build your application. */ BuildCommand?: BuildCommand; /** * The command App Runner runs to start your application. */ StartCommand?: StartCommand; /** * The port that your application listens to in the container. Default: 8080 */ Port?: String; /** * The environment variables that are available to your running App Runner service. An array of key-value pairs. */ RuntimeEnvironmentVariables?: RuntimeEnvironmentVariables; /** * An array of key-value pairs representing the secrets and parameters that get referenced to your service as an environment variable. The supported values are either the full Amazon Resource Name (ARN) of the Secrets Manager secret or the full ARN of the parameter in the Amazon Web Services Systems Manager Parameter Store. If the Amazon Web Services Systems Manager Parameter Store parameter exists in the same Amazon Web Services Region as the service that you're launching, you can use either the full ARN or name of the secret. If the parameter exists in a different Region, then the full ARN must be specified. Currently, cross account referencing of Amazon Web Services Systems Manager Parameter Store parameter is not supported. */ RuntimeEnvironmentSecrets?: RuntimeEnvironmentSecrets; } export interface CodeRepository { /** * The location of the repository that contains the source code. */ RepositoryUrl: String; /** * The version that should be used within the source code repository. */ SourceCodeVersion: SourceCodeVersion; /** * Configuration for building and running the service from a source code repository. CodeConfiguration is required only for CreateService request. */ CodeConfiguration?: CodeConfiguration; /** * The path of the directory that stores source code and configuration files. The build and start commands also execute from here. The path is absolute from root and, if not specified, defaults to the repository root. */ SourceDirectory?: SourceDirectory; } export type ConfigurationSource = "REPOSITORY"|"API"|string; export interface Connection { /** * The customer-provided connection name. */ ConnectionName?: ConnectionName; /** * The Amazon Resource Name (ARN) of this connection. */ ConnectionArn?: AppRunnerResourceArn; /** * The source repository provider. */ ProviderType?: ProviderType; /** * The current state of the App Runner connection. When the state is AVAILABLE, you can use the connection to create an App Runner service. */ Status?: ConnectionStatus; /** * The App Runner connection creation time, expressed as a Unix time stamp. */ CreatedAt?: Timestamp; } export type ConnectionName = string; export type ConnectionStatus = "PENDING_HANDSHAKE"|"AVAILABLE"|"ERROR"|"DELETED"|string; export interface ConnectionSummary { /** * The customer-provided connection name. */ ConnectionName?: ConnectionName; /** * The Amazon Resource Name (ARN) of this connection. */ ConnectionArn?: AppRunnerResourceArn; /** * The source repository provider. */ ProviderType?: ProviderType; /** * The current state of the App Runner connection. When the state is AVAILABLE, you can use the connection to create an App Runner service. */ Status?: ConnectionStatus; /** * The App Runner connection creation time, expressed as a Unix time stamp. */ CreatedAt?: Timestamp; } export type ConnectionSummaryList = ConnectionSummary[]; export type Cpu = string; export interface CreateAutoScalingConfigurationRequest { /** * A name for the auto scaling configuration. When you use it for the first time in an Amazon Web Services Region, App Runner creates revision number 1 of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configurati