Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
The S3 bucket name and file name that identifies the document.
The AWS Region for the S3 bucket that contains the document must match the Region that you use for Amazon Textract operations.
For Amazon Textract to process a file in an S3 bucket, the user must have permission to access the S3 bucket and file.
See: newS3Object
smart constructor.
S3Object' | |
|
Instances
Eq S3Object Source # | |
Read S3Object Source # | |
Show S3Object Source # | |
Generic S3Object Source # | |
NFData S3Object Source # | |
Defined in Amazonka.Textract.Types.S3Object | |
Hashable S3Object Source # | |
Defined in Amazonka.Textract.Types.S3Object | |
ToJSON S3Object Source # | |
Defined in Amazonka.Textract.Types.S3Object | |
type Rep S3Object Source # | |
Defined in Amazonka.Textract.Types.S3Object type Rep S3Object = D1 ('MetaData "S3Object" "Amazonka.Textract.Types.S3Object" "libZSservicesZSamazonka-textractZSamazonka-textract" 'False) (C1 ('MetaCons "S3Object'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) |
newS3Object :: S3Object Source #
Create a value of S3Object
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:bucket:S3Object'
, s3Object_bucket
- The name of the S3 bucket. Note that the # character is not valid in the
file name.
$sel:name:S3Object'
, s3Object_name
- The file name of the input document. Synchronous operations can use
image files that are in JPEG or PNG format. Asynchronous operations also
support PDF format files.
$sel:version:S3Object'
, s3Object_version
- If the bucket has versioning enabled, you can specify the object
version.
s3Object_bucket :: Lens' S3Object (Maybe Text) Source #
The name of the S3 bucket. Note that the # character is not valid in the file name.