libZSservicesZSamazonka-apprunnerZSamazonka-apprunner
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq StartDeployment Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

Read StartDeployment Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

Show StartDeployment Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

Generic StartDeployment Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

Associated Types

type Rep StartDeployment :: Type -> Type #

NFData StartDeployment Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

Methods

rnf :: StartDeployment -> () #

Hashable StartDeployment Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

ToJSON StartDeployment Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

AWSRequest StartDeployment Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

Associated Types

type AWSResponse 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

type Rep StartDeployment Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

type Rep StartDeployment = D1 ('MetaData "StartDeployment" "Amazonka.AppRunner.StartDeployment" "libZSservicesZSamazonka-apprunnerZSamazonka-apprunner" 'False) (C1 ('MetaCons "StartDeployment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "serviceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse StartDeployment Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

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:

$sel:serviceArn: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
Eq StartDeploymentResponse Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

Read StartDeploymentResponse Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

Show StartDeploymentResponse Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

Generic StartDeploymentResponse Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

Associated Types

type Rep StartDeploymentResponse :: Type -> Type #

NFData StartDeploymentResponse Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

Methods

rnf :: StartDeploymentResponse -> () #

type Rep StartDeploymentResponse Source # 
Instance details

Defined in Amazonka.AppRunner.StartDeployment

type Rep StartDeploymentResponse = D1 ('MetaData "StartDeploymentResponse" "Amazonka.AppRunner.StartDeployment" "libZSservicesZSamazonka-apprunnerZSamazonka-apprunner" '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.