Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- data PutImageScanningConfiguration = PutImageScanningConfiguration' {}
- newPutImageScanningConfiguration :: Text -> ImageScanningConfiguration -> PutImageScanningConfiguration
- putImageScanningConfiguration_registryId :: Lens' PutImageScanningConfiguration (Maybe Text)
- putImageScanningConfiguration_repositoryName :: Lens' PutImageScanningConfiguration Text
- putImageScanningConfiguration_imageScanningConfiguration :: Lens' PutImageScanningConfiguration ImageScanningConfiguration
- data PutImageScanningConfigurationResponse = PutImageScanningConfigurationResponse' {}
- newPutImageScanningConfigurationResponse :: Int -> PutImageScanningConfigurationResponse
- putImageScanningConfigurationResponse_imageScanningConfiguration :: Lens' PutImageScanningConfigurationResponse (Maybe ImageScanningConfiguration)
- putImageScanningConfigurationResponse_registryId :: Lens' PutImageScanningConfigurationResponse (Maybe Text)
- putImageScanningConfigurationResponse_repositoryName :: Lens' PutImageScanningConfigurationResponse (Maybe Text)
- putImageScanningConfigurationResponse_httpStatus :: Lens' PutImageScanningConfigurationResponse Int
Creating a Request
data PutImageScanningConfiguration Source #
See: newPutImageScanningConfiguration
smart constructor.
PutImageScanningConfiguration' | |
|
Instances
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 #
See: newPutImageScanningConfigurationResponse
smart constructor.
PutImageScanningConfigurationResponse' | |
|
Instances
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
putImageScanningConfigurationResponse_imageScanningConfiguration :: Lens' PutImageScanningConfigurationResponse (Maybe ImageScanningConfiguration) Source #
The image scanning configuration setting for the repository.
putImageScanningConfigurationResponse_registryId :: Lens' PutImageScanningConfigurationResponse (Maybe Text) Source #
The registry ID associated with the request.
putImageScanningConfigurationResponse_repositoryName :: Lens' PutImageScanningConfigurationResponse (Maybe Text) Source #
The repository name associated with the request.
putImageScanningConfigurationResponse_httpStatus :: Lens' PutImageScanningConfigurationResponse Int Source #
The response's http status code.