Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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_registryId :: Lens' PutImageScanningConfigurationResponse (Maybe Text)
- putImageScanningConfigurationResponse_imageScanningConfiguration :: Lens' PutImageScanningConfigurationResponse (Maybe ImageScanningConfiguration)
- 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 #
:: Text | |
-> ImageScanningConfiguration |
|
-> PutImageScanningConfiguration |
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 #
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:
$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
putImageScanningConfigurationResponse_registryId :: Lens' PutImageScanningConfigurationResponse (Maybe Text) Source #
The registry ID associated with the request.
putImageScanningConfigurationResponse_imageScanningConfiguration :: Lens' PutImageScanningConfigurationResponse (Maybe ImageScanningConfiguration) Source #
The image scanning configuration setting for the repository.
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.