libZSservicesZSamazonka-ecsZSamazonka-ecs
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.ECS.Types.ContainerStateChange

Description

 
Synopsis

Documentation

data ContainerStateChange Source #

An object representing a change in state for a container.

See: newContainerStateChange smart constructor.

Constructors

ContainerStateChange' 

Fields

Instances

Instances details
Eq ContainerStateChange Source # 
Instance details

Defined in Amazonka.ECS.Types.ContainerStateChange

Read ContainerStateChange Source # 
Instance details

Defined in Amazonka.ECS.Types.ContainerStateChange

Show ContainerStateChange Source # 
Instance details

Defined in Amazonka.ECS.Types.ContainerStateChange

Generic ContainerStateChange Source # 
Instance details

Defined in Amazonka.ECS.Types.ContainerStateChange

Associated Types

type Rep ContainerStateChange :: Type -> Type #

NFData ContainerStateChange Source # 
Instance details

Defined in Amazonka.ECS.Types.ContainerStateChange

Methods

rnf :: ContainerStateChange -> () #

Hashable ContainerStateChange Source # 
Instance details

Defined in Amazonka.ECS.Types.ContainerStateChange

ToJSON ContainerStateChange Source # 
Instance details

Defined in Amazonka.ECS.Types.ContainerStateChange

type Rep ContainerStateChange Source # 
Instance details

Defined in Amazonka.ECS.Types.ContainerStateChange

type Rep ContainerStateChange = D1 ('MetaData "ContainerStateChange" "Amazonka.ECS.Types.ContainerStateChange" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "ContainerStateChange'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "networkBindings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NetworkBinding])) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "containerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "imageDigest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "exitCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "runtimeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newContainerStateChange :: ContainerStateChange Source #

Create a value of ContainerStateChange 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:networkBindings:ContainerStateChange', containerStateChange_networkBindings - Any network bindings associated with the container.

$sel:status:ContainerStateChange', containerStateChange_status - The status of the container.

$sel:containerName:ContainerStateChange', containerStateChange_containerName - The name of the container.

$sel:reason:ContainerStateChange', containerStateChange_reason - The reason for the state change.

$sel:imageDigest:ContainerStateChange', containerStateChange_imageDigest - The container image SHA 256 digest.

$sel:exitCode:ContainerStateChange', containerStateChange_exitCode - The exit code for the container, if the state change is a result of the container exiting.

$sel:runtimeId:ContainerStateChange', containerStateChange_runtimeId - The ID of the Docker container.

containerStateChange_networkBindings :: Lens' ContainerStateChange (Maybe [NetworkBinding]) Source #

Any network bindings associated with the container.

containerStateChange_exitCode :: Lens' ContainerStateChange (Maybe Int) Source #

The exit code for the container, if the state change is a result of the container exiting.