libZSservicesZSamazonka-ecrZSamazonka-ecr
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.ECR.PutImageScanningConfiguration

Description

Updates the image scanning configuration for the specified repository.

Synopsis

Creating a Request

data PutImageScanningConfiguration Source #

See: newPutImageScanningConfiguration smart constructor.

Constructors

PutImageScanningConfiguration' 

Fields

  • registryId :: Maybe Text

    The Amazon Web Services account ID associated with the registry that contains the repository in which to update the image scanning configuration setting. If you do not specify a registry, the default registry is assumed.

  • repositoryName :: Text

    The name of the repository in which to update the image scanning configuration setting.

  • imageScanningConfiguration :: ImageScanningConfiguration

    The image scanning configuration for the repository. This setting determines whether images are scanned for known vulnerabilities after being pushed to the repository.

Instances

Instances details
Eq PutImageScanningConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutImageScanningConfiguration

Read PutImageScanningConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutImageScanningConfiguration

Show PutImageScanningConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutImageScanningConfiguration

Generic PutImageScanningConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutImageScanningConfiguration

Associated Types

type Rep PutImageScanningConfiguration :: Type -> Type #

NFData PutImageScanningConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutImageScanningConfiguration

Hashable PutImageScanningConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutImageScanningConfiguration

ToJSON PutImageScanningConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutImageScanningConfiguration

AWSRequest PutImageScanningConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutImageScanningConfiguration

ToHeaders PutImageScanningConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutImageScanningConfiguration

ToPath PutImageScanningConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutImageScanningConfiguration

ToQuery PutImageScanningConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutImageScanningConfiguration

type Rep PutImageScanningConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutImageScanningConfiguration

type Rep PutImageScanningConfiguration = D1 ('MetaData "PutImageScanningConfiguration" "Amazonka.ECR.PutImageScanningConfiguration" "libZSservicesZSamazonka-ecrZSamazonka-ecr" 'False) (C1 ('MetaCons "PutImageScanningConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "registryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "imageScanningConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ImageScanningConfiguration))))
type AWSResponse PutImageScanningConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutImageScanningConfiguration

newPutImageScanningConfiguration Source #

Create a value of PutImageScanningConfiguration 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:registryId:PutImageScanningConfiguration', putImageScanningConfiguration_registryId - The Amazon Web Services account ID associated with the registry that contains the repository in which to update the image scanning configuration setting. If you do not specify a registry, the default registry is assumed.

$sel:repositoryName:PutImageScanningConfiguration', putImageScanningConfiguration_repositoryName - The name of the repository in which to update the image scanning configuration setting.

$sel:imageScanningConfiguration:PutImageScanningConfiguration', putImageScanningConfiguration_imageScanningConfiguration - The image scanning configuration for the repository. This setting determines whether images are scanned for known vulnerabilities after being pushed to the repository.

Request Lenses

putImageScanningConfiguration_registryId :: Lens' PutImageScanningConfiguration (Maybe Text) Source #

The Amazon Web Services account ID associated with the registry that contains the repository in which to update the image scanning configuration setting. If you do not specify a registry, the default registry is assumed.

putImageScanningConfiguration_repositoryName :: Lens' PutImageScanningConfiguration Text Source #

The name of the repository in which to update the image scanning configuration setting.

putImageScanningConfiguration_imageScanningConfiguration :: Lens' PutImageScanningConfiguration ImageScanningConfiguration Source #

The image scanning configuration for the repository. This setting determines whether images are scanned for known vulnerabilities after being pushed to the repository.

Destructuring the Response

data PutImageScanningConfigurationResponse Source #

Constructors

PutImageScanningConfigurationResponse' 

Fields

Instances

Instances details
Eq PutImageScanningConfigurationResponse Source # 
Instance details

Defined in Amazonka.ECR.PutImageScanningConfiguration

Read PutImageScanningConfigurationResponse Source # 
Instance details

Defined in Amazonka.ECR.PutImageScanningConfiguration

Show PutImageScanningConfigurationResponse Source # 
Instance details

Defined in Amazonka.ECR.PutImageScanningConfiguration

Generic PutImageScanningConfigurationResponse Source # 
Instance details

Defined in Amazonka.ECR.PutImageScanningConfiguration

NFData PutImageScanningConfigurationResponse Source # 
Instance details

Defined in Amazonka.ECR.PutImageScanningConfiguration

type Rep PutImageScanningConfigurationResponse Source # 
Instance details

Defined in Amazonka.ECR.PutImageScanningConfiguration

type Rep PutImageScanningConfigurationResponse = D1 ('MetaData "PutImageScanningConfigurationResponse" "Amazonka.ECR.PutImageScanningConfiguration" "libZSservicesZSamazonka-ecrZSamazonka-ecr" 'False) (C1 ('MetaCons "PutImageScanningConfigurationResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "registryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "imageScanningConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImageScanningConfiguration))) :*: (S1 ('MetaSel ('Just "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newPutImageScanningConfigurationResponse Source #

Create a value of PutImageScanningConfigurationResponse 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:registryId:PutImageScanningConfiguration', putImageScanningConfigurationResponse_registryId - The registry ID associated with the request.

$sel:imageScanningConfiguration:PutImageScanningConfiguration', putImageScanningConfigurationResponse_imageScanningConfiguration - The image scanning configuration setting for the repository.

$sel:repositoryName:PutImageScanningConfiguration', putImageScanningConfigurationResponse_repositoryName - The repository name associated with the request.

$sel:httpStatus:PutImageScanningConfigurationResponse', putImageScanningConfigurationResponse_httpStatus - The response's http status code.

Response Lenses