amazonka-ecr-2.0: Amazon EC2 Container Registry 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.ECR.PutImageScanningConfiguration

Description

The PutImageScanningConfiguration API is being deprecated, in favor of specifying the image scanning configuration at the registry level. For more information, see PutRegistryScanningConfiguration.

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
ToJSON 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

AWSRequest 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 #

Read PutImageScanningConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutImageScanningConfiguration

Show PutImageScanningConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutImageScanningConfiguration

NFData PutImageScanningConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutImageScanningConfiguration

Eq PutImageScanningConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutImageScanningConfiguration

Hashable PutImageScanningConfiguration Source # 
Instance details

Defined in Amazonka.ECR.PutImageScanningConfiguration

type AWSResponse 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" "amazonka-ecr-2.0-BqgZWPod2JCFn2nq69DCrJ" '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))))

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:

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.

PutImageScanningConfiguration, putImageScanningConfiguration_repositoryName - The name of the repository in which to update the image scanning configuration setting.

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
Generic 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

NFData PutImageScanningConfigurationResponse Source # 
Instance details

Defined in Amazonka.ECR.PutImageScanningConfiguration

Eq 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" "amazonka-ecr-2.0-BqgZWPod2JCFn2nq69DCrJ" 'False) (C1 ('MetaCons "PutImageScanningConfigurationResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "imageScanningConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImageScanningConfiguration)) :*: S1 ('MetaSel ('Just "registryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (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:

PutImageScanningConfiguration, putImageScanningConfigurationResponse_imageScanningConfiguration - The image scanning configuration setting for the repository.

PutImageScanningConfiguration, putImageScanningConfigurationResponse_registryId - The registry ID associated with the request.

PutImageScanningConfiguration, putImageScanningConfigurationResponse_repositoryName - The repository name associated with the request.

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

Response Lenses