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 ExportJobRequest = ExportJobRequest' {
- segmentId :: Maybe Text
- segmentVersion :: Maybe Int
- s3UrlPrefix :: Text
- roleArn :: Text
- newExportJobRequest :: Text -> Text -> ExportJobRequest
- exportJobRequest_segmentId :: Lens' ExportJobRequest (Maybe Text)
- exportJobRequest_segmentVersion :: Lens' ExportJobRequest (Maybe Int)
- exportJobRequest_s3UrlPrefix :: Lens' ExportJobRequest Text
- exportJobRequest_roleArn :: Lens' ExportJobRequest Text
Documentation
data ExportJobRequest Source #
Specifies the settings for a job that exports endpoint definitions to an Amazon Simple Storage Service (Amazon S3) bucket.
See: newExportJobRequest
smart constructor.
ExportJobRequest' | |
|
Instances
Create a value of ExportJobRequest
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:ExportJobRequest'
, exportJobRequest_segmentId
- The identifier for the segment to export endpoint definitions from. If
you don't specify this value, Amazon Pinpoint exports definitions for
all the endpoints that are associated with the application.
$sel:segmentVersion:ExportJobRequest'
, exportJobRequest_segmentVersion
- The version of the segment to export endpoint definitions from, if
specified.
$sel:s3UrlPrefix:ExportJobRequest'
, exportJobRequest_s3UrlPrefix
- The URL of the location in an Amazon Simple Storage Service (Amazon S3)
bucket where you want to export endpoint definitions 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:ExportJobRequest'
, exportJobRequest_roleArn
- The Amazon Resource Name (ARN) of the AWS Identity and Access Management
(IAM) role that authorizes Amazon Pinpoint to access the Amazon S3
location where you want to export endpoint definitions to.
exportJobRequest_segmentId :: Lens' ExportJobRequest (Maybe Text) Source #
The identifier for the segment to export endpoint definitions from. If you don't specify this value, Amazon Pinpoint exports definitions for all the endpoints that are associated with the application.
exportJobRequest_segmentVersion :: Lens' ExportJobRequest (Maybe Int) Source #
The version of the segment to export endpoint definitions from, if specified.
exportJobRequest_s3UrlPrefix :: Lens' ExportJobRequest Text Source #
The URL of the location in an Amazon Simple Storage Service (Amazon S3) bucket where you want to export endpoint definitions to. This location is typically a folder that contains multiple files. The URL should be in the following format: s3://bucket-name/folder-name/.
exportJobRequest_roleArn :: Lens' ExportJobRequest Text Source #
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to access the Amazon S3 location where you want to export endpoint definitions to.