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 |
Gets the scanning configuration for one or more repositories.
Synopsis
- data BatchGetRepositoryScanningConfiguration = BatchGetRepositoryScanningConfiguration' {}
- newBatchGetRepositoryScanningConfiguration :: NonEmpty Text -> BatchGetRepositoryScanningConfiguration
- batchGetRepositoryScanningConfiguration_repositoryNames :: Lens' BatchGetRepositoryScanningConfiguration (NonEmpty Text)
- data BatchGetRepositoryScanningConfigurationResponse = BatchGetRepositoryScanningConfigurationResponse' {}
- newBatchGetRepositoryScanningConfigurationResponse :: Int -> BatchGetRepositoryScanningConfigurationResponse
- batchGetRepositoryScanningConfigurationResponse_failures :: Lens' BatchGetRepositoryScanningConfigurationResponse (Maybe [RepositoryScanningConfigurationFailure])
- batchGetRepositoryScanningConfigurationResponse_scanningConfigurations :: Lens' BatchGetRepositoryScanningConfigurationResponse (Maybe [RepositoryScanningConfiguration])
- batchGetRepositoryScanningConfigurationResponse_httpStatus :: Lens' BatchGetRepositoryScanningConfigurationResponse Int
Creating a Request
data BatchGetRepositoryScanningConfiguration Source #
See: newBatchGetRepositoryScanningConfiguration
smart constructor.
BatchGetRepositoryScanningConfiguration' | |
|
Instances
newBatchGetRepositoryScanningConfiguration Source #
:: NonEmpty Text |
|
-> BatchGetRepositoryScanningConfiguration |
Create a value of BatchGetRepositoryScanningConfiguration
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:repositoryNames:BatchGetRepositoryScanningConfiguration'
, batchGetRepositoryScanningConfiguration_repositoryNames
- One or more repository names to get the scanning configuration for.
Request Lenses
batchGetRepositoryScanningConfiguration_repositoryNames :: Lens' BatchGetRepositoryScanningConfiguration (NonEmpty Text) Source #
One or more repository names to get the scanning configuration for.
Destructuring the Response
data BatchGetRepositoryScanningConfigurationResponse Source #
See: newBatchGetRepositoryScanningConfigurationResponse
smart constructor.
BatchGetRepositoryScanningConfigurationResponse' | |
|
Instances
newBatchGetRepositoryScanningConfigurationResponse Source #
:: Int |
|
-> BatchGetRepositoryScanningConfigurationResponse |
Create a value of BatchGetRepositoryScanningConfigurationResponse
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:failures:BatchGetRepositoryScanningConfigurationResponse'
, batchGetRepositoryScanningConfigurationResponse_failures
- Any failures associated with the call.
$sel:scanningConfigurations:BatchGetRepositoryScanningConfigurationResponse'
, batchGetRepositoryScanningConfigurationResponse_scanningConfigurations
- The scanning configuration for the requested repositories.
$sel:httpStatus:BatchGetRepositoryScanningConfigurationResponse'
, batchGetRepositoryScanningConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
batchGetRepositoryScanningConfigurationResponse_failures :: Lens' BatchGetRepositoryScanningConfigurationResponse (Maybe [RepositoryScanningConfigurationFailure]) Source #
Any failures associated with the call.
batchGetRepositoryScanningConfigurationResponse_scanningConfigurations :: Lens' BatchGetRepositoryScanningConfigurationResponse (Maybe [RepositoryScanningConfiguration]) Source #
The scanning configuration for the requested repositories.
batchGetRepositoryScanningConfigurationResponse_httpStatus :: Lens' BatchGetRepositoryScanningConfigurationResponse Int Source #
The response's http status code.