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
Provides the S3 bucket name and object name.
The region for the S3 bucket containing the S3 object must match the region you use for Amazon Rekognition operations.
For Amazon Rekognition to process an S3 object, the user must have permission to access the S3 object. For more information, see Resource-Based Policies in the Amazon Rekognition Developer Guide.
See: newS3Object
smart constructor.
Instances
Eq S3Object Source # | |
Read S3Object Source # | |
Show S3Object Source # | |
Generic S3Object Source # | |
NFData S3Object Source # | |
Defined in Amazonka.Rekognition.Types.S3Object | |
Hashable S3Object Source # | |
Defined in Amazonka.Rekognition.Types.S3Object | |
ToJSON S3Object Source # | |
Defined in Amazonka.Rekognition.Types.S3Object | |
FromJSON S3Object Source # | |
type Rep S3Object Source # | |
Defined in Amazonka.Rekognition.Types.S3Object type Rep S3Object = D1 ('MetaData "S3Object" "Amazonka.Rekognition.Types.S3Object" "libZSservicesZSamazonka-rekognitionZSamazonka-rekognition" '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
- Name of the S3 bucket.
$sel:name:S3Object'
, s3Object_name
- S3 object key name.
$sel:version:S3Object'
, s3Object_version
- If the bucket is versioning enabled, you can specify the object version.