libZSservicesZSamazonka-opsworksZSamazonka-opsworks
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.OpsWorks.Types.Deployment

Description

 
Synopsis

Documentation

data Deployment Source #

Describes a deployment of a stack or app.

See: newDeployment smart constructor.

Constructors

Deployment' 

Fields

Instances

Instances details
Eq Deployment Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Deployment

Read Deployment Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Deployment

Show Deployment Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Deployment

Generic Deployment Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Deployment

Associated Types

type Rep Deployment :: Type -> Type #

NFData Deployment Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Deployment

Methods

rnf :: Deployment -> () #

Hashable Deployment Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Deployment

FromJSON Deployment Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Deployment

type Rep Deployment Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Deployment

type Rep Deployment = D1 ('MetaData "Deployment" "Amazonka.OpsWorks.Types.Deployment" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "Deployment'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "command") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeploymentCommand)))) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "customJson") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "iamUserArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "instanceIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "completedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "stackId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))))

newDeployment :: Deployment Source #

Create a value of Deployment 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:deploymentId:Deployment', deployment_deploymentId - The deployment ID.

$sel:status:Deployment', deployment_status - The deployment status:

  • running
  • successful
  • failed

$sel:command:Deployment', deployment_command - Used to specify a stack or deployment command.

$sel:createdAt:Deployment', deployment_createdAt - Date when the deployment was created.

$sel:customJson:Deployment', deployment_customJson - A string that contains user-defined custom JSON. It can be used to override the corresponding default stack configuration attribute values for stack or to pass data to recipes. The string should be in the following format:

"{\"key1\": \"value1\", \"key2\": \"value2\",...}"

For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.

$sel:iamUserArn:Deployment', deployment_iamUserArn - The user's IAM ARN.

$sel:appId:Deployment', deployment_appId - The app ID.

$sel:instanceIds:Deployment', deployment_instanceIds - The IDs of the target instances.

$sel:completedAt:Deployment', deployment_completedAt - Date when the deployment completed.

$sel:stackId:Deployment', deployment_stackId - The stack ID.

$sel:comment:Deployment', deployment_comment - A user-defined comment.

$sel:duration:Deployment', deployment_duration - The deployment duration.

deployment_status :: Lens' Deployment (Maybe Text) Source #

The deployment status:

  • running
  • successful
  • failed

deployment_command :: Lens' Deployment (Maybe DeploymentCommand) Source #

Used to specify a stack or deployment command.

deployment_createdAt :: Lens' Deployment (Maybe Text) Source #

Date when the deployment was created.

deployment_customJson :: Lens' Deployment (Maybe Text) Source #

A string that contains user-defined custom JSON. It can be used to override the corresponding default stack configuration attribute values for stack or to pass data to recipes. The string should be in the following format:

"{\"key1\": \"value1\", \"key2\": \"value2\",...}"

For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.

deployment_instanceIds :: Lens' Deployment (Maybe [Text]) Source #

The IDs of the target instances.

deployment_completedAt :: Lens' Deployment (Maybe Text) Source #

Date when the deployment completed.

deployment_comment :: Lens' Deployment (Maybe Text) Source #

A user-defined comment.

deployment_duration :: Lens' Deployment (Maybe Int) Source #

The deployment duration.