amazonka-lightsail-2.0: Amazon Lightsail 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.Lightsail.DeleteContainerImage

Description

Deletes a container image that is registered to your Amazon Lightsail container service.

Synopsis

Creating a Request

data DeleteContainerImage Source #

See: newDeleteContainerImage smart constructor.

Constructors

DeleteContainerImage' 

Fields

  • serviceName :: Text

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

  • image :: Text

    The name of the container image to delete from the container service.

    Use the GetContainerImages action to get the name of the container images that are registered to a container service.

    Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (:). For example, :container-service-1.mystaticwebsite.1. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, nginx:latest or nginx.

Instances

Instances details
ToJSON DeleteContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

ToHeaders DeleteContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

ToPath DeleteContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

ToQuery DeleteContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

AWSRequest DeleteContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

Associated Types

type AWSResponse DeleteContainerImage #

Generic DeleteContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

Associated Types

type Rep DeleteContainerImage :: Type -> Type #

Read DeleteContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

Show DeleteContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

NFData DeleteContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

Methods

rnf :: DeleteContainerImage -> () #

Eq DeleteContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

Hashable DeleteContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

type AWSResponse DeleteContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

type Rep DeleteContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

type Rep DeleteContainerImage = D1 ('MetaData "DeleteContainerImage" "Amazonka.Lightsail.DeleteContainerImage" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "DeleteContainerImage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "serviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "image") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteContainerImage Source #

Create a value of DeleteContainerImage 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:

DeleteContainerImage, deleteContainerImage_serviceName - The name of the container service for which to delete a registered container image.

DeleteContainerImage, deleteContainerImage_image - The name of the container image to delete from the container service.

Use the GetContainerImages action to get the name of the container images that are registered to a container service.

Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (:). For example, :container-service-1.mystaticwebsite.1. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, nginx:latest or nginx.

Request Lenses

deleteContainerImage_serviceName :: Lens' DeleteContainerImage Text Source #

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

deleteContainerImage_image :: Lens' DeleteContainerImage Text Source #

The name of the container image to delete from the container service.

Use the GetContainerImages action to get the name of the container images that are registered to a container service.

Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (:). For example, :container-service-1.mystaticwebsite.1. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, nginx:latest or nginx.

Destructuring the Response

data DeleteContainerImageResponse Source #

See: newDeleteContainerImageResponse smart constructor.

Constructors

DeleteContainerImageResponse' 

Fields

Instances

Instances details
Generic DeleteContainerImageResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

Associated Types

type Rep DeleteContainerImageResponse :: Type -> Type #

Read DeleteContainerImageResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

Show DeleteContainerImageResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

NFData DeleteContainerImageResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

Eq DeleteContainerImageResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

type Rep DeleteContainerImageResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

type Rep DeleteContainerImageResponse = D1 ('MetaData "DeleteContainerImageResponse" "Amazonka.Lightsail.DeleteContainerImage" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "DeleteContainerImageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteContainerImageResponse Source #

Create a value of DeleteContainerImageResponse 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:httpStatus:DeleteContainerImageResponse', deleteContainerImageResponse_httpStatus - The response's http status code.

Response Lenses