libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

  • start :: Maybe Integer

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

  • end :: Maybe Integer

    The number of lines from the beginning of the file to the end 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
Eq Range Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Range

Methods

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

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

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 #

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 #

NFData Range Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Range

Methods

rnf :: Range -> () #

Hashable Range Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Range

Methods

hashWithSalt :: Int -> Range -> Int #

hash :: Range -> Int #

FromJSON Range Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Range

type Rep Range Source # 
Instance details

Defined in Amazonka.MacieV2.Types.Range

type Rep Range = D1 ('MetaData "Range" "Amazonka.MacieV2.Types.Range" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "Range'" 'PrefixI 'True) (S1 ('MetaSel ('Just "start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "end") '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:start:Range', range_start - The number of lines from the beginning of the file to the beginning of the sensitive data.

$sel:end:Range', range_end - The number of lines from the beginning of the file to the end 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_start :: Lens' Range (Maybe Integer) Source #

The number of lines from the beginning of the file 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_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.