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.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
Eq DeleteContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

Read DeleteContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

Show DeleteContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

Generic DeleteContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

Associated Types

type Rep DeleteContainerImage :: Type -> Type #

NFData DeleteContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

Methods

rnf :: DeleteContainerImage -> () #

Hashable DeleteContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

ToJSON DeleteContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

AWSRequest DeleteContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

Associated Types

type AWSResponse 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

type Rep DeleteContainerImage Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

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

Defined in Amazonka.Lightsail.DeleteContainerImage

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:

$sel:serviceName:DeleteContainerImage', deleteContainerImage_serviceName - The name of the container service for which to delete a registered container image.

$sel: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
Eq DeleteContainerImageResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

Read DeleteContainerImageResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

Show DeleteContainerImageResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

Generic DeleteContainerImageResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteContainerImage

Associated Types

type Rep DeleteContainerImageResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" '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