amazonka-apprunner-2.0: Amazon App Runner SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AppRunner.StartDeployment

Description

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.

Synopsis

Creating a Request

data StartDeployment Source #

See: newStartDeployment smart constructor.

Constructors

StartDeployment' 

Fields

  • serviceArn :: Text

    The Amazon Resource Name (ARN) of the App Runner service that you want to manually deploy to.

Instances

Instances details
ToJSON StartDeployment Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

ToHeaders StartDeployment Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

ToPath StartDeployment Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

ToQuery StartDeployment Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

AWSRequest StartDeployment Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

Associated Types

type AWSResponse StartDeployment #

Generic StartDeployment Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

Associated Types

type Rep StartDeployment :: Type -> Type #

Read StartDeployment Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

Show StartDeployment Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

NFData StartDeployment Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

Methods

rnf :: StartDeployment -> () #

Eq StartDeployment Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

Hashable StartDeployment Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

type AWSResponse StartDeployment Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

type Rep StartDeployment Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

type Rep StartDeployment = D1 ('MetaData "StartDeployment" "Amazonka.AppRunner.StartDeployment" "amazonka-apprunner-2.0-EwwUWnxXZrM2Mgbv25gcO5" 'False) (C1 ('MetaCons "StartDeployment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "serviceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newStartDeployment Source #

Create a value of StartDeployment with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

StartDeployment, startDeployment_serviceArn - The Amazon Resource Name (ARN) of the App Runner service that you want to manually deploy to.

Request Lenses

startDeployment_serviceArn :: Lens' StartDeployment Text Source #

The Amazon Resource Name (ARN) of the App Runner service that you want to manually deploy to.

Destructuring the Response

data StartDeploymentResponse Source #

See: newStartDeploymentResponse smart constructor.

Constructors

StartDeploymentResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • operationId :: Text

    The unique ID of the asynchronous operation that this request started. You can use it combined with the ListOperations call to track the operation's progress.

Instances

Instances details
Generic StartDeploymentResponse Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

Associated Types

type Rep StartDeploymentResponse :: Type -> Type #

Read StartDeploymentResponse Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

Show StartDeploymentResponse Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

NFData StartDeploymentResponse Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

Methods

rnf :: StartDeploymentResponse -> () #

Eq StartDeploymentResponse Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

type Rep StartDeploymentResponse Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

type Rep StartDeploymentResponse = D1 ('MetaData "StartDeploymentResponse" "Amazonka.AppRunner.StartDeployment" "amazonka-apprunner-2.0-EwwUWnxXZrM2Mgbv25gcO5" 'False) (C1 ('MetaCons "StartDeploymentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "operationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newStartDeploymentResponse Source #

Create a value of StartDeploymentResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:StartDeploymentResponse', startDeploymentResponse_httpStatus - The response's http status code.

$sel:operationId:StartDeploymentResponse', startDeploymentResponse_operationId - The unique ID of the asynchronous operation that this request started. You can use it combined with the ListOperations call to track the operation's progress.

Response Lenses

startDeploymentResponse_operationId :: Lens' StartDeploymentResponse Text Source #

The unique ID of the asynchronous operation that this request started. You can use it combined with the ListOperations call to track the operation's progress.