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 of a custom pattern by specifying its name.
Synopsis
- data GetCustomEntityType = GetCustomEntityType' {}
- newGetCustomEntityType :: Text -> GetCustomEntityType
- getCustomEntityType_name :: Lens' GetCustomEntityType Text
- data GetCustomEntityTypeResponse = GetCustomEntityTypeResponse' {
- contextWords :: Maybe (NonEmpty Text)
- name :: Maybe Text
- regexString :: Maybe Text
- httpStatus :: Int
- newGetCustomEntityTypeResponse :: Int -> GetCustomEntityTypeResponse
- getCustomEntityTypeResponse_contextWords :: Lens' GetCustomEntityTypeResponse (Maybe (NonEmpty Text))
- getCustomEntityTypeResponse_name :: Lens' GetCustomEntityTypeResponse (Maybe Text)
- getCustomEntityTypeResponse_regexString :: Lens' GetCustomEntityTypeResponse (Maybe Text)
- getCustomEntityTypeResponse_httpStatus :: Lens' GetCustomEntityTypeResponse Int
Creating a Request
data GetCustomEntityType Source #
See: newGetCustomEntityType
smart constructor.
Instances
newGetCustomEntityType Source #
Create a value of GetCustomEntityType
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:
GetCustomEntityType
, getCustomEntityType_name
- The name of the custom pattern that you want to retrieve.
Request Lenses
getCustomEntityType_name :: Lens' GetCustomEntityType Text Source #
The name of the custom pattern that you want to retrieve.
Destructuring the Response
data GetCustomEntityTypeResponse Source #
See: newGetCustomEntityTypeResponse
smart constructor.
GetCustomEntityTypeResponse' | |
|
Instances
newGetCustomEntityTypeResponse Source #
Create a value of GetCustomEntityTypeResponse
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:
GetCustomEntityTypeResponse
, getCustomEntityTypeResponse_contextWords
- A list of context words if specified when you created the custom
pattern. If none of these context words are found within the vicinity of
the regular expression the data will not be detected as sensitive data.
GetCustomEntityType
, getCustomEntityTypeResponse_name
- The name of the custom pattern that you retrieved.
GetCustomEntityTypeResponse
, getCustomEntityTypeResponse_regexString
- A regular expression string that is used for detecting sensitive data in
a custom pattern.
$sel:httpStatus:GetCustomEntityTypeResponse'
, getCustomEntityTypeResponse_httpStatus
- The response's http status code.
Response Lenses
getCustomEntityTypeResponse_contextWords :: Lens' GetCustomEntityTypeResponse (Maybe (NonEmpty Text)) Source #
A list of context words if specified when you created the custom pattern. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data.
getCustomEntityTypeResponse_name :: Lens' GetCustomEntityTypeResponse (Maybe Text) Source #
The name of the custom pattern that you retrieved.
getCustomEntityTypeResponse_regexString :: Lens' GetCustomEntityTypeResponse (Maybe Text) Source #
A regular expression string that is used for detecting sensitive data in a custom pattern.
getCustomEntityTypeResponse_httpStatus :: Lens' GetCustomEntityTypeResponse Int Source #
The response's http status code.