libZSservicesZSamazonka-codedeployZSamazonka-codedeploy
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.CodeDeploy.GetDeploymentTarget

Description

Returns information about a deployment target.

Synopsis

Creating a Request

data GetDeploymentTarget Source #

See: newGetDeploymentTarget smart constructor.

Constructors

GetDeploymentTarget' 

Fields

Instances

Instances details
Eq GetDeploymentTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

Read GetDeploymentTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

Show GetDeploymentTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

Generic GetDeploymentTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

Associated Types

type Rep GetDeploymentTarget :: Type -> Type #

NFData GetDeploymentTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

Methods

rnf :: GetDeploymentTarget -> () #

Hashable GetDeploymentTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

ToJSON GetDeploymentTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

AWSRequest GetDeploymentTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

Associated Types

type AWSResponse GetDeploymentTarget #

ToHeaders GetDeploymentTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

ToPath GetDeploymentTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

ToQuery GetDeploymentTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

type Rep GetDeploymentTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

type Rep GetDeploymentTarget = D1 ('MetaData "GetDeploymentTarget" "Amazonka.CodeDeploy.GetDeploymentTarget" "libZSservicesZSamazonka-codedeployZSamazonka-codedeploy" 'False) (C1 ('MetaCons "GetDeploymentTarget'" 'PrefixI 'True) (S1 ('MetaSel ('Just "targetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse GetDeploymentTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

newGetDeploymentTarget :: GetDeploymentTarget Source #

Create a value of GetDeploymentTarget 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:targetId:GetDeploymentTarget', getDeploymentTarget_targetId - The unique ID of a deployment target.

$sel:deploymentId:GetDeploymentTarget', getDeploymentTarget_deploymentId - The unique ID of a deployment.

Request Lenses

getDeploymentTarget_targetId :: Lens' GetDeploymentTarget (Maybe Text) Source #

The unique ID of a deployment target.

Destructuring the Response

data GetDeploymentTargetResponse Source #

See: newGetDeploymentTargetResponse smart constructor.

Constructors

GetDeploymentTargetResponse' 

Fields

  • deploymentTarget :: Maybe DeploymentTarget

    A deployment target that contains information about a deployment such as its status, lifecycle events, and when it was last updated. It also contains metadata about the deployment target. The deployment target metadata depends on the deployment target's type (instanceTarget, lambdaTarget, or ecsTarget).

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetDeploymentTargetResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

Read GetDeploymentTargetResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

Show GetDeploymentTargetResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

Generic GetDeploymentTargetResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

Associated Types

type Rep GetDeploymentTargetResponse :: Type -> Type #

NFData GetDeploymentTargetResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

type Rep GetDeploymentTargetResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

type Rep GetDeploymentTargetResponse = D1 ('MetaData "GetDeploymentTargetResponse" "Amazonka.CodeDeploy.GetDeploymentTarget" "libZSservicesZSamazonka-codedeployZSamazonka-codedeploy" 'False) (C1 ('MetaCons "GetDeploymentTargetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deploymentTarget") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeploymentTarget)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetDeploymentTargetResponse Source #

Create a value of GetDeploymentTargetResponse 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:deploymentTarget:GetDeploymentTargetResponse', getDeploymentTargetResponse_deploymentTarget - A deployment target that contains information about a deployment such as its status, lifecycle events, and when it was last updated. It also contains metadata about the deployment target. The deployment target metadata depends on the deployment target's type (instanceTarget, lambdaTarget, or ecsTarget).

$sel:httpStatus:GetDeploymentTargetResponse', getDeploymentTargetResponse_httpStatus - The response's http status code.

Response Lenses

getDeploymentTargetResponse_deploymentTarget :: Lens' GetDeploymentTargetResponse (Maybe DeploymentTarget) Source #

A deployment target that contains information about a deployment such as its status, lifecycle events, and when it was last updated. It also contains metadata about the deployment target. The deployment target metadata depends on the deployment target's type (instanceTarget, lambdaTarget, or ecsTarget).