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 |
Retrieves the details for the custom patterns specified by a list of names.
Synopsis
- data BatchGetCustomEntityTypes = BatchGetCustomEntityTypes' {}
- newBatchGetCustomEntityTypes :: NonEmpty Text -> BatchGetCustomEntityTypes
- batchGetCustomEntityTypes_names :: Lens' BatchGetCustomEntityTypes (NonEmpty Text)
- data BatchGetCustomEntityTypesResponse = BatchGetCustomEntityTypesResponse' {}
- newBatchGetCustomEntityTypesResponse :: Int -> BatchGetCustomEntityTypesResponse
- batchGetCustomEntityTypesResponse_customEntityTypes :: Lens' BatchGetCustomEntityTypesResponse (Maybe [CustomEntityType])
- batchGetCustomEntityTypesResponse_customEntityTypesNotFound :: Lens' BatchGetCustomEntityTypesResponse (Maybe (NonEmpty Text))
- batchGetCustomEntityTypesResponse_httpStatus :: Lens' BatchGetCustomEntityTypesResponse Int
Creating a Request
data BatchGetCustomEntityTypes Source #
See: newBatchGetCustomEntityTypes
smart constructor.
Instances
newBatchGetCustomEntityTypes Source #
Create a value of BatchGetCustomEntityTypes
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:names:BatchGetCustomEntityTypes'
, batchGetCustomEntityTypes_names
- A list of names of the custom patterns that you want to retrieve.
Request Lenses
batchGetCustomEntityTypes_names :: Lens' BatchGetCustomEntityTypes (NonEmpty Text) Source #
A list of names of the custom patterns that you want to retrieve.
Destructuring the Response
data BatchGetCustomEntityTypesResponse Source #
See: newBatchGetCustomEntityTypesResponse
smart constructor.
BatchGetCustomEntityTypesResponse' | |
|
Instances
newBatchGetCustomEntityTypesResponse Source #
Create a value of BatchGetCustomEntityTypesResponse
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:customEntityTypes:BatchGetCustomEntityTypesResponse'
, batchGetCustomEntityTypesResponse_customEntityTypes
- A list of CustomEntityType
objects representing the custom patterns
that have been created.
$sel:customEntityTypesNotFound:BatchGetCustomEntityTypesResponse'
, batchGetCustomEntityTypesResponse_customEntityTypesNotFound
- A list of the names of custom patterns that were not found.
$sel:httpStatus:BatchGetCustomEntityTypesResponse'
, batchGetCustomEntityTypesResponse_httpStatus
- The response's http status code.
Response Lenses
batchGetCustomEntityTypesResponse_customEntityTypes :: Lens' BatchGetCustomEntityTypesResponse (Maybe [CustomEntityType]) Source #
A list of CustomEntityType
objects representing the custom patterns
that have been created.
batchGetCustomEntityTypesResponse_customEntityTypesNotFound :: Lens' BatchGetCustomEntityTypesResponse (Maybe (NonEmpty Text)) Source #
A list of the names of custom patterns that were not found.
batchGetCustomEntityTypesResponse_httpStatus :: Lens' BatchGetCustomEntityTypesResponse Int Source #
The response's http status code.