amazonka-maciev2-2.0: Amazon Macie 2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MacieV2.Types.Range

Description

 
Synopsis

Documentation

data Range Source #

Specifies the location of an occurrence of sensitive data in a non-binary text file, such as an HTML, TXT, or XML file.

See: newRange smart constructor.

Constructors

Range' 

Fields

  • end :: Maybe Integer

    The number of lines from the beginning of the file to the end of the sensitive data.

  • start :: Maybe Integer

    The number of lines from the beginning of the file to the beginning of the sensitive data.

  • startColumn :: Maybe Integer

    The number of characters, with spaces and starting from 1, from the beginning of the first line that contains the sensitive data (start) to the beginning of the sensitive data.

Instances

Instances details
FromJSON Range Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Range

Generic Range Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Range

Associated Types

type Rep Range :: Type -> Type #

Methods

from :: Range -> Rep Range x #

to :: Rep Range x -> Range #

Read Range Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Range

Show Range Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Range

Methods

showsPrec :: Int -> Range -> ShowS #

show :: Range -> String #

showList :: [Range] -> ShowS #

NFData Range Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Range

Methods

rnf :: Range -> () #

Eq Range Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Range

Methods

(==) :: Range -> Range -> Bool #

(/=) :: Range -> Range -> Bool #

Hashable Range Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Range

Methods

hashWithSalt :: Int -> Range -> Int #

hash :: Range -> Int #

type Rep Range Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Range

type Rep Range = D1 ('MetaData "Range" "Amazonka.MacieV2.Types.Range" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "Range'" 'PrefixI 'True) (S1 ('MetaSel ('Just "end") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "startColumn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))))

newRange :: Range Source #

Create a value of Range 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:end:Range', range_end - The number of lines from the beginning of the file to the end of the sensitive data.

$sel:start:Range', range_start - The number of lines from the beginning of the file to the beginning of the sensitive data.

$sel:startColumn:Range', range_startColumn - The number of characters, with spaces and starting from 1, from the beginning of the first line that contains the sensitive data (start) to the beginning of the sensitive data.

range_end :: Lens' Range (Maybe Integer) Source #

The number of lines from the beginning of the file to the end of the sensitive data.

range_start :: Lens' Range (Maybe Integer) Source #

The number of lines from the beginning of the file to the beginning of the sensitive data.

range_startColumn :: Lens' Range (Maybe Integer) Source #

The number of characters, with spaces and starting from 1, from the beginning of the first line that contains the sensitive data (start) to the beginning of the sensitive data.