Struct aws_sdk_forecast::model::S3Config
source ·
[−]#[non_exhaustive]pub struct S3Config {
pub path: Option<String>,
pub role_arn: Option<String>,
pub kms_key_arn: Option<String>,
}
Expand description
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.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.path: Option<String>
The path to an Amazon Simple Storage Service (Amazon S3) bucket or file(s) in an Amazon S3 bucket.
role_arn: Option<String>
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.
kms_key_arn: Option<String>
The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key.
Implementations
The path to an Amazon Simple Storage Service (Amazon S3) bucket or file(s) in an Amazon S3 bucket.
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.
The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for S3Config
impl UnwindSafe for S3Config
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more