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 |
Synopsis
- data ExportJobResource = ExportJobResource' {
- segmentId :: Maybe Text
- segmentVersion :: Maybe Int
- s3UrlPrefix :: Text
- roleArn :: Text
- newExportJobResource :: Text -> Text -> ExportJobResource
- exportJobResource_segmentId :: Lens' ExportJobResource (Maybe Text)
- exportJobResource_segmentVersion :: Lens' ExportJobResource (Maybe Int)
- exportJobResource_s3UrlPrefix :: Lens' ExportJobResource Text
- exportJobResource_roleArn :: Lens' ExportJobResource Text
Documentation
data ExportJobResource Source #
Provides information about the resource settings for a job that exports endpoint definitions to a file. The file can be added directly to an Amazon Simple Storage Service (Amazon S3) bucket by using the Amazon Pinpoint API or downloaded directly to a computer by using the Amazon Pinpoint console.
See: newExportJobResource
smart constructor.
ExportJobResource' | |
|
Instances
:: Text | |
-> Text | |
-> ExportJobResource |
Create a value of ExportJobResource
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:segmentId:ExportJobResource'
, exportJobResource_segmentId
- The identifier for the segment that the endpoint definitions were
exported from. If this value isn't present, Amazon Pinpoint exported
definitions for all the endpoints that are associated with the
application.
$sel:segmentVersion:ExportJobResource'
, exportJobResource_segmentVersion
- The version of the segment that the endpoint definitions were exported
from.
$sel:s3UrlPrefix:ExportJobResource'
, exportJobResource_s3UrlPrefix
- The URL of the location in an Amazon Simple Storage Service (Amazon S3)
bucket where the endpoint definitions were exported to. This location is
typically a folder that contains multiple files. The URL should be in
the following format: s3://bucket-name/folder-name/.
$sel:roleArn:ExportJobResource'
, exportJobResource_roleArn
- The Amazon Resource Name (ARN) of the AWS Identity and Access Management
(IAM) role that authorized Amazon Pinpoint to access the Amazon S3
location where the endpoint definitions were exported to.
exportJobResource_segmentId :: Lens' ExportJobResource (Maybe Text) Source #
The identifier for the segment that the endpoint definitions were exported from. If this value isn't present, Amazon Pinpoint exported definitions for all the endpoints that are associated with the application.
exportJobResource_segmentVersion :: Lens' ExportJobResource (Maybe Int) Source #
The version of the segment that the endpoint definitions were exported from.
exportJobResource_s3UrlPrefix :: Lens' ExportJobResource Text Source #
The URL of the location in an Amazon Simple Storage Service (Amazon S3) bucket where the endpoint definitions were exported to. This location is typically a folder that contains multiple files. The URL should be in the following format: s3://bucket-name/folder-name/.
exportJobResource_roleArn :: Lens' ExportJobResource Text Source #
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorized Amazon Pinpoint to access the Amazon S3 location where the endpoint definitions were exported to.