libZSservicesZSamazonka-lightsailZSamazonka-lightsail
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.Lightsail.RegisterContainerImage

Description

Registers a container image to your Amazon Lightsail container service.

This action is not required if you install and use the Lightsail Control (lightsailctl) plugin to push container images to your Lightsail container service. For more information, see Pushing and managing container images on your Amazon Lightsail container services in the Amazon Lightsail Developer Guide.

Synopsis

Creating a Request

data RegisterContainerImage Source #

See: newRegisterContainerImage smart constructor.

Constructors

RegisterContainerImage' 

Fields

  • serviceName :: Text

    The name of the container service for which to register a container image.

  • label :: Text

    The label for the container image when it's registered to the container service.

    Use a descriptive label that you can use to track the different versions of your registered container images.

    Use the GetContainerImages action to return the container images registered to a Lightsail container service. The label is the <imagelabel> portion of the following image name example:

    • :container-service-1.<imagelabel>.1

    If the name of your container service is mycontainerservice, and the label that you specify is mystaticwebsite, then the name of the registered container image will be :mycontainerservice.mystaticwebsite.1.

    The number at the end of these image name examples represents the version of the registered container image. If you push and register another container image to the same Lightsail container service, with the same label, then the version number for the new registered container image will be 2. If you push and register another container image, the version number will be 3, and so on.

  • digest :: Text

    The digest of the container image to be registered.

Instances

Instances details
Eq RegisterContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.RegisterContainerImage

Read RegisterContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.RegisterContainerImage

Show RegisterContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.RegisterContainerImage

Generic RegisterContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.RegisterContainerImage

Associated Types

type Rep RegisterContainerImage :: Type -> Type #

NFData RegisterContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.RegisterContainerImage

Methods

rnf :: RegisterContainerImage -> () #

Hashable RegisterContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.RegisterContainerImage

ToJSON RegisterContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.RegisterContainerImage

AWSRequest RegisterContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.RegisterContainerImage

Associated Types

type AWSResponse RegisterContainerImage #

ToHeaders RegisterContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.RegisterContainerImage

ToPath RegisterContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.RegisterContainerImage

ToQuery RegisterContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.RegisterContainerImage

type Rep RegisterContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.RegisterContainerImage

type Rep RegisterContainerImage = D1 ('MetaData "RegisterContainerImage" "Amazonka.Lightsail.RegisterContainerImage" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "RegisterContainerImage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "serviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "digest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse RegisterContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.RegisterContainerImage

newRegisterContainerImage Source #

Create a value of RegisterContainerImage 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:serviceName:RegisterContainerImage', registerContainerImage_serviceName - The name of the container service for which to register a container image.

$sel:label:RegisterContainerImage', registerContainerImage_label - The label for the container image when it's registered to the container service.

Use a descriptive label that you can use to track the different versions of your registered container images.

Use the GetContainerImages action to return the container images registered to a Lightsail container service. The label is the <imagelabel> portion of the following image name example:

  • :container-service-1.<imagelabel>.1

If the name of your container service is mycontainerservice, and the label that you specify is mystaticwebsite, then the name of the registered container image will be :mycontainerservice.mystaticwebsite.1.

The number at the end of these image name examples represents the version of the registered container image. If you push and register another container image to the same Lightsail container service, with the same label, then the version number for the new registered container image will be 2. If you push and register another container image, the version number will be 3, and so on.

$sel:digest:RegisterContainerImage', registerContainerImage_digest - The digest of the container image to be registered.

Request Lenses

registerContainerImage_serviceName :: Lens' RegisterContainerImage Text Source #

The name of the container service for which to register a container image.

registerContainerImage_label :: Lens' RegisterContainerImage Text Source #

The label for the container image when it's registered to the container service.

Use a descriptive label that you can use to track the different versions of your registered container images.

Use the GetContainerImages action to return the container images registered to a Lightsail container service. The label is the <imagelabel> portion of the following image name example:

  • :container-service-1.<imagelabel>.1

If the name of your container service is mycontainerservice, and the label that you specify is mystaticwebsite, then the name of the registered container image will be :mycontainerservice.mystaticwebsite.1.

The number at the end of these image name examples represents the version of the registered container image. If you push and register another container image to the same Lightsail container service, with the same label, then the version number for the new registered container image will be 2. If you push and register another container image, the version number will be 3, and so on.

registerContainerImage_digest :: Lens' RegisterContainerImage Text Source #

The digest of the container image to be registered.

Destructuring the Response

data RegisterContainerImageResponse Source #

See: newRegisterContainerImageResponse smart constructor.

Constructors

RegisterContainerImageResponse' 

Fields

Instances

Instances details
Eq RegisterContainerImageResponse Source # 
Instance details

Defined in Amazonka.Lightsail.RegisterContainerImage

Read RegisterContainerImageResponse Source # 
Instance details

Defined in Amazonka.Lightsail.RegisterContainerImage

Show RegisterContainerImageResponse Source # 
Instance details

Defined in Amazonka.Lightsail.RegisterContainerImage

Generic RegisterContainerImageResponse Source # 
Instance details

Defined in Amazonka.Lightsail.RegisterContainerImage

Associated Types

type Rep RegisterContainerImageResponse :: Type -> Type #

NFData RegisterContainerImageResponse Source # 
Instance details

Defined in Amazonka.Lightsail.RegisterContainerImage

type Rep RegisterContainerImageResponse Source # 
Instance details

Defined in Amazonka.Lightsail.RegisterContainerImage

type Rep RegisterContainerImageResponse = D1 ('MetaData "RegisterContainerImageResponse" "Amazonka.Lightsail.RegisterContainerImage" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "RegisterContainerImageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "containerImage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContainerImage)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newRegisterContainerImageResponse Source #

Create a value of RegisterContainerImageResponse 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:containerImage:RegisterContainerImageResponse', registerContainerImageResponse_containerImage - Undocumented member.

$sel:httpStatus:RegisterContainerImageResponse', registerContainerImageResponse_httpStatus - The response's http status code.

Response Lenses