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 |
Synopsis
- data RegexPatternSetSummary = RegexPatternSetSummary' {}
- newRegexPatternSetSummary :: RegexPatternSetSummary
- regexPatternSetSummary_arn :: Lens' RegexPatternSetSummary (Maybe Text)
- regexPatternSetSummary_description :: Lens' RegexPatternSetSummary (Maybe Text)
- regexPatternSetSummary_id :: Lens' RegexPatternSetSummary (Maybe Text)
- regexPatternSetSummary_lockToken :: Lens' RegexPatternSetSummary (Maybe Text)
- regexPatternSetSummary_name :: Lens' RegexPatternSetSummary (Maybe Text)
Documentation
data RegexPatternSetSummary Source #
High-level information about a RegexPatternSet, returned by operations
like create and list. This provides information like the ID, that you
can use to retrieve and manage a RegexPatternSet
, and the ARN, that
you provide to the RegexPatternSetReferenceStatement to use the pattern
set in a Rule.
See: newRegexPatternSetSummary
smart constructor.
RegexPatternSetSummary' | |
|
Instances
newRegexPatternSetSummary :: RegexPatternSetSummary Source #
Create a value of RegexPatternSetSummary
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:arn:RegexPatternSetSummary'
, regexPatternSetSummary_arn
- The Amazon Resource Name (ARN) of the entity.
$sel:description:RegexPatternSetSummary'
, regexPatternSetSummary_description
- A description of the set that helps with identification.
$sel:id:RegexPatternSetSummary'
, regexPatternSetSummary_id
- A unique identifier for the set. This ID is returned in the responses to
create and list commands. You provide it to operations like update and
delete.
$sel:lockToken:RegexPatternSetSummary'
, regexPatternSetSummary_lockToken
- A token used for optimistic locking. WAF returns a token to your get
and list
requests, to mark the state of the entity at the time of the
request. To make changes to the entity associated with the token, you
provide the token to operations like update
and delete
. WAF uses the
token to ensure that no changes have been made to the entity since you
last retrieved it. If a change has been made, the update fails with a
WAFOptimisticLockException
. If this happens, perform another get
,
and use the new token returned by that operation.
$sel:name:RegexPatternSetSummary'
, regexPatternSetSummary_name
- The name of the data type instance. You cannot change the name after you
create the instance.
regexPatternSetSummary_arn :: Lens' RegexPatternSetSummary (Maybe Text) Source #
The Amazon Resource Name (ARN) of the entity.
regexPatternSetSummary_description :: Lens' RegexPatternSetSummary (Maybe Text) Source #
A description of the set that helps with identification.
regexPatternSetSummary_id :: Lens' RegexPatternSetSummary (Maybe Text) Source #
A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
regexPatternSetSummary_lockToken :: Lens' RegexPatternSetSummary (Maybe Text) Source #
A token used for optimistic locking. WAF returns a token to your get
and list
requests, to mark the state of the entity at the time of the
request. To make changes to the entity associated with the token, you
provide the token to operations like update
and delete
. WAF uses the
token to ensure that no changes have been made to the entity since you
last retrieved it. If a change has been made, the update fails with a
WAFOptimisticLockException
. If this happens, perform another get
,
and use the new token returned by that operation.
regexPatternSetSummary_name :: Lens' RegexPatternSetSummary (Maybe Text) Source #
The name of the data type instance. You cannot change the name after you create the instance.