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 path to the file(s) in an Amazon Simple Storage Service (Amazon S3) bucket, and an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the file(s). Optionally, includes an AWS Key Management Service (KMS) key. This object is part of the DataSource object that is submitted in the CreateDatasetImportJob request, and part of the DataDestination object.
See: newS3Config
smart constructor.
S3Config' | |
|
Instances
Eq S3Config Source # | |
Read S3Config Source # | |
Show S3Config Source # | |
Generic S3Config Source # | |
NFData S3Config Source # | |
Defined in Amazonka.Forecast.Types.S3Config | |
Hashable S3Config Source # | |
Defined in Amazonka.Forecast.Types.S3Config | |
ToJSON S3Config Source # | |
Defined in Amazonka.Forecast.Types.S3Config | |
FromJSON S3Config Source # | |
type Rep S3Config Source # | |
Defined in Amazonka.Forecast.Types.S3Config type Rep S3Config = D1 ('MetaData "S3Config" "Amazonka.Forecast.Types.S3Config" "libZSservicesZSamazonka-forecastZSamazonka-forecast" 'False) (C1 ('MetaCons "S3Config'" 'PrefixI 'True) (S1 ('MetaSel ('Just "kmsKeyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) |
Create a value of S3Config
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:kmsKeyArn:S3Config'
, s3Config_kmsKeyArn
- The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS)
key.
$sel:path:S3Config'
, s3Config_path
- The path to an Amazon Simple Storage Service (Amazon S3) bucket or
file(s) in an Amazon S3 bucket.
$sel:roleArn:S3Config'
, s3Config_roleArn
- The ARN of the AWS Identity and Access Management (IAM) role that Amazon
Forecast can assume to access the Amazon S3 bucket or files. If you
provide a value for the KMSKeyArn
key, the role must allow access to
the key.
Passing a role across AWS accounts is not allowed. If you pass a role
that isn't in your account, you get an InvalidInputException
error.
s3Config_kmsKeyArn :: Lens' S3Config (Maybe Text) Source #
The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key.
s3Config_path :: Lens' S3Config Text Source #
The path to an Amazon Simple Storage Service (Amazon S3) bucket or file(s) in an Amazon S3 bucket.
s3Config_roleArn :: Lens' S3Config Text Source #
The ARN of the AWS Identity and Access Management (IAM) role that Amazon
Forecast can assume to access the Amazon S3 bucket or files. If you
provide a value for the KMSKeyArn
key, the role must allow access to
the key.
Passing a role across AWS accounts is not allowed. If you pass a role
that isn't in your account, you get an InvalidInputException
error.