amazonka-snowball-2.0: Amazon Import/Export Snowball 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.Snowball.Types.S3Resource

Description

 
Synopsis

Documentation

data S3Resource Source #

Each S3Resource object represents an Amazon S3 bucket that your transferred data will be exported from or imported into. For export jobs, this object can have an optional KeyRange value. The length of the range is defined at job creation, and has either an inclusive BeginMarker, an inclusive EndMarker, or both. Ranges are UTF-8 binary sorted.

See: newS3Resource smart constructor.

Constructors

S3Resource' 

Fields

  • bucketArn :: Maybe Text

    The Amazon Resource Name (ARN) of an Amazon S3 bucket.

  • keyRange :: Maybe KeyRange

    For export jobs, you can provide an optional KeyRange within a specific Amazon S3 bucket. The length of the range is defined at job creation, and has either an inclusive BeginMarker, an inclusive EndMarker, or both. Ranges are UTF-8 binary sorted.

  • targetOnDeviceServices :: Maybe [TargetOnDeviceService]

    Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System).

Instances

Instances details
FromJSON S3Resource Source # 
Instance details

Defined in Amazonka.Snowball.Types.S3Resource

ToJSON S3Resource Source # 
Instance details

Defined in Amazonka.Snowball.Types.S3Resource

Generic S3Resource Source # 
Instance details

Defined in Amazonka.Snowball.Types.S3Resource

Associated Types

type Rep S3Resource :: Type -> Type #

Read S3Resource Source # 
Instance details

Defined in Amazonka.Snowball.Types.S3Resource

Show S3Resource Source # 
Instance details

Defined in Amazonka.Snowball.Types.S3Resource

NFData S3Resource Source # 
Instance details

Defined in Amazonka.Snowball.Types.S3Resource

Methods

rnf :: S3Resource -> () #

Eq S3Resource Source # 
Instance details

Defined in Amazonka.Snowball.Types.S3Resource

Hashable S3Resource Source # 
Instance details

Defined in Amazonka.Snowball.Types.S3Resource

type Rep S3Resource Source # 
Instance details

Defined in Amazonka.Snowball.Types.S3Resource

type Rep S3Resource = D1 ('MetaData "S3Resource" "Amazonka.Snowball.Types.S3Resource" "amazonka-snowball-2.0-6vnXQdr1CFv4zLyXDWX7zH" 'False) (C1 ('MetaCons "S3Resource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bucketArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "keyRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe KeyRange)) :*: S1 ('MetaSel ('Just "targetOnDeviceServices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TargetOnDeviceService])))))

newS3Resource :: S3Resource Source #

Create a value of S3Resource 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:bucketArn:S3Resource', s3Resource_bucketArn - The Amazon Resource Name (ARN) of an Amazon S3 bucket.

$sel:keyRange:S3Resource', s3Resource_keyRange - For export jobs, you can provide an optional KeyRange within a specific Amazon S3 bucket. The length of the range is defined at job creation, and has either an inclusive BeginMarker, an inclusive EndMarker, or both. Ranges are UTF-8 binary sorted.

$sel:targetOnDeviceServices:S3Resource', s3Resource_targetOnDeviceServices - Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System).

s3Resource_bucketArn :: Lens' S3Resource (Maybe Text) Source #

The Amazon Resource Name (ARN) of an Amazon S3 bucket.

s3Resource_keyRange :: Lens' S3Resource (Maybe KeyRange) Source #

For export jobs, you can provide an optional KeyRange within a specific Amazon S3 bucket. The length of the range is defined at job creation, and has either an inclusive BeginMarker, an inclusive EndMarker, or both. Ranges are UTF-8 binary sorted.

s3Resource_targetOnDeviceServices :: Lens' S3Resource (Maybe [TargetOnDeviceService]) Source #

Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System).