libZSservicesZSamazonka-securityhubZSamazonka-securityhub
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.SecurityHub.Types.Range

Description

 
Synopsis

Documentation

data Range Source #

Identifies where the sensitive data begins and ends.

See: newRange smart constructor.

Constructors

Range' 

Fields

  • start :: Maybe Integer

    The number of lines (for a line range) or characters (for an offset range) from the beginning of the file to the end of the sensitive data.

  • end :: Maybe Integer

    The number of lines (for a line range) or characters (for an offset range) from the beginning of the file to the end of the sensitive data.

  • startColumn :: Maybe Integer

    In the line where the sensitive data starts, the column within the line where the sensitive data starts.

Instances

Instances details
Eq Range Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Range

Methods

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

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

Read Range Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Range

Show Range Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Range

Methods

showsPrec :: Int -> Range -> ShowS #

show :: Range -> String #

showList :: [Range] -> ShowS #

Generic Range Source # 
Instance details

Defined in Amazonka.SecurityHub.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.SecurityHub.Types.Range

Methods

rnf :: Range -> () #

Hashable Range Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Range

Methods

hashWithSalt :: Int -> Range -> Int #

hash :: Range -> Int #

ToJSON Range Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Range

FromJSON Range Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Range

type Rep Range Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Range

type Rep Range = D1 ('MetaData "Range" "Amazonka.SecurityHub.Types.Range" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" '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 (for a line range) or characters (for an offset range) from the beginning of the file to the end of the sensitive data.

$sel:end:Range', range_end - The number of lines (for a line range) or characters (for an offset range) from the beginning of the file to the end of the sensitive data.

$sel:startColumn:Range', range_startColumn - In the line where the sensitive data starts, the column within the line where the sensitive data starts.

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

The number of lines (for a line range) or characters (for an offset range) from the beginning of the file to the end of the sensitive data.

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

The number of lines (for a line range) or characters (for an offset range) from the beginning of the file to the end of the sensitive data.

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

In the line where the sensitive data starts, the column within the line where the sensitive data starts.