amazonka-codedeploy-2.0: Amazon CodeDeploy 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.CodeDeploy.GetDeployment

Description

Gets information about a deployment.

The content property of the appSpecContent object in the returned revision is always null. Use GetApplicationRevision and the sha256 property of the returned appSpecContent object to get the content of the deployment’s AppSpec file.

Synopsis

Creating a Request

data GetDeployment Source #

Represents the input of a GetDeployment operation.

See: newGetDeployment smart constructor.

Constructors

GetDeployment' 

Fields

  • deploymentId :: Text

    The unique ID of a deployment associated with the IAM user or Amazon Web Services account.

Instances

Instances details
ToJSON GetDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeployment

ToHeaders GetDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeployment

ToPath GetDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeployment

ToQuery GetDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeployment

AWSRequest GetDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeployment

Associated Types

type AWSResponse GetDeployment #

Generic GetDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeployment

Associated Types

type Rep GetDeployment :: Type -> Type #

Read GetDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeployment

Show GetDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeployment

NFData GetDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeployment

Methods

rnf :: GetDeployment -> () #

Eq GetDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeployment

Hashable GetDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeployment

type AWSResponse GetDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeployment

type Rep GetDeployment Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeployment

type Rep GetDeployment = D1 ('MetaData "GetDeployment" "Amazonka.CodeDeploy.GetDeployment" "amazonka-codedeploy-2.0-4OehMEUeOr9G9ZXD2VmvAo" 'False) (C1 ('MetaCons "GetDeployment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetDeployment Source #

Create a value of GetDeployment 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:

GetDeployment, getDeployment_deploymentId - The unique ID of a deployment associated with the IAM user or Amazon Web Services account.

Request Lenses

getDeployment_deploymentId :: Lens' GetDeployment Text Source #

The unique ID of a deployment associated with the IAM user or Amazon Web Services account.

Destructuring the Response

data GetDeploymentResponse Source #

Represents the output of a GetDeployment operation.

See: newGetDeploymentResponse smart constructor.

Constructors

GetDeploymentResponse' 

Fields

Instances

Instances details
Generic GetDeploymentResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeployment

Associated Types

type Rep GetDeploymentResponse :: Type -> Type #

Read GetDeploymentResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeployment

Show GetDeploymentResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeployment

NFData GetDeploymentResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeployment

Methods

rnf :: GetDeploymentResponse -> () #

Eq GetDeploymentResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeployment

type Rep GetDeploymentResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeployment

type Rep GetDeploymentResponse = D1 ('MetaData "GetDeploymentResponse" "Amazonka.CodeDeploy.GetDeployment" "amazonka-codedeploy-2.0-4OehMEUeOr9G9ZXD2VmvAo" 'False) (C1 ('MetaCons "GetDeploymentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deploymentInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeploymentInfo)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetDeploymentResponse Source #

Create a value of GetDeploymentResponse 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:deploymentInfo:GetDeploymentResponse', getDeploymentResponse_deploymentInfo - Information about the deployment.

$sel:httpStatus:GetDeploymentResponse', getDeploymentResponse_httpStatus - The response's http status code.

Response Lenses