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 settings and status of an allow list.
Synopsis
- data GetAllowList = GetAllowList' {}
- newGetAllowList :: Text -> GetAllowList
- getAllowList_id :: Lens' GetAllowList Text
- data GetAllowListResponse = GetAllowListResponse' {}
- newGetAllowListResponse :: Int -> GetAllowListResponse
- getAllowListResponse_arn :: Lens' GetAllowListResponse (Maybe Text)
- getAllowListResponse_createdAt :: Lens' GetAllowListResponse (Maybe UTCTime)
- getAllowListResponse_criteria :: Lens' GetAllowListResponse (Maybe AllowListCriteria)
- getAllowListResponse_description :: Lens' GetAllowListResponse (Maybe Text)
- getAllowListResponse_id :: Lens' GetAllowListResponse (Maybe Text)
- getAllowListResponse_name :: Lens' GetAllowListResponse (Maybe Text)
- getAllowListResponse_status :: Lens' GetAllowListResponse (Maybe AllowListStatus)
- getAllowListResponse_tags :: Lens' GetAllowListResponse (Maybe (HashMap Text Text))
- getAllowListResponse_updatedAt :: Lens' GetAllowListResponse (Maybe UTCTime)
- getAllowListResponse_httpStatus :: Lens' GetAllowListResponse Int
Creating a Request
data GetAllowList Source #
See: newGetAllowList
smart constructor.
Instances
Create a value of GetAllowList
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:
GetAllowList
, getAllowList_id
- The unique identifier for the Amazon Macie resource that the request
applies to.
Request Lenses
getAllowList_id :: Lens' GetAllowList Text Source #
The unique identifier for the Amazon Macie resource that the request applies to.
Destructuring the Response
data GetAllowListResponse Source #
See: newGetAllowListResponse
smart constructor.
GetAllowListResponse' | |
|
Instances
newGetAllowListResponse Source #
Create a value of GetAllowListResponse
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:
GetAllowListResponse
, getAllowListResponse_arn
- The Amazon Resource Name (ARN) of the allow list.
GetAllowListResponse
, getAllowListResponse_createdAt
- The date and time, in UTC and extended ISO 8601 format, when the allow
list was created in Amazon Macie.
$sel:criteria:GetAllowListResponse'
, getAllowListResponse_criteria
- The criteria that specify the text or text pattern to ignore. The
criteria can be the location and name of an S3 object that lists
specific text to ignore (s3WordsList), or a regular expression (regex)
that defines a text pattern to ignore.
GetAllowListResponse
, getAllowListResponse_description
- The custom description of the allow list.
GetAllowList
, getAllowListResponse_id
- The unique identifier for the allow list.
GetAllowListResponse
, getAllowListResponse_name
- The custom name of the allow list.
GetAllowListResponse
, getAllowListResponse_status
- The current status of the allow list, which indicates whether Amazon
Macie can access and use the list's criteria.
GetAllowListResponse
, getAllowListResponse_tags
- A map of key-value pairs that specifies which tags (keys and values) are
associated with the allow list.
GetAllowListResponse
, getAllowListResponse_updatedAt
- The date and time, in UTC and extended ISO 8601 format, when the allow
list's settings were most recently changed in Amazon Macie.
$sel:httpStatus:GetAllowListResponse'
, getAllowListResponse_httpStatus
- The response's http status code.
Response Lenses
getAllowListResponse_arn :: Lens' GetAllowListResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the allow list.
getAllowListResponse_createdAt :: Lens' GetAllowListResponse (Maybe UTCTime) Source #
The date and time, in UTC and extended ISO 8601 format, when the allow list was created in Amazon Macie.
getAllowListResponse_criteria :: Lens' GetAllowListResponse (Maybe AllowListCriteria) Source #
The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of an S3 object that lists specific text to ignore (s3WordsList), or a regular expression (regex) that defines a text pattern to ignore.
getAllowListResponse_description :: Lens' GetAllowListResponse (Maybe Text) Source #
The custom description of the allow list.
getAllowListResponse_id :: Lens' GetAllowListResponse (Maybe Text) Source #
The unique identifier for the allow list.
getAllowListResponse_name :: Lens' GetAllowListResponse (Maybe Text) Source #
The custom name of the allow list.
getAllowListResponse_status :: Lens' GetAllowListResponse (Maybe AllowListStatus) Source #
The current status of the allow list, which indicates whether Amazon Macie can access and use the list's criteria.
getAllowListResponse_tags :: Lens' GetAllowListResponse (Maybe (HashMap Text Text)) Source #
A map of key-value pairs that specifies which tags (keys and values) are associated with the allow list.
getAllowListResponse_updatedAt :: Lens' GetAllowListResponse (Maybe UTCTime) Source #
The date and time, in UTC and extended ISO 8601 format, when the allow list's settings were most recently changed in Amazon Macie.
getAllowListResponse_httpStatus :: Lens' GetAllowListResponse Int Source #
The response's http status code.