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.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
ToJSON GetDeploymentTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.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

AWSRequest GetDeploymentTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

Associated Types

type AWSResponse GetDeploymentTarget #

Generic GetDeploymentTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

Associated Types

type Rep GetDeploymentTarget :: Type -> Type #

Read GetDeploymentTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

Show GetDeploymentTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

NFData GetDeploymentTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

Methods

rnf :: GetDeploymentTarget -> () #

Eq GetDeploymentTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

Hashable GetDeploymentTarget Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

type AWSResponse 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" "amazonka-codedeploy-2.0-4OehMEUeOr9G9ZXD2VmvAo" 'False) (C1 ('MetaCons "GetDeploymentTarget'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "targetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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:

GetDeploymentTarget, getDeploymentTarget_deploymentId - The unique ID of a deployment.

GetDeploymentTarget, getDeploymentTarget_targetId - The unique ID of a deployment target.

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
Generic GetDeploymentTargetResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

Associated Types

type Rep GetDeploymentTargetResponse :: Type -> Type #

Read GetDeploymentTargetResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

Show GetDeploymentTargetResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

NFData GetDeploymentTargetResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.GetDeploymentTarget

Eq 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" "amazonka-codedeploy-2.0-4OehMEUeOr9G9ZXD2VmvAo" '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).