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 |
Retrieves information about the status and settings of the import jobs for a segment.
Synopsis
- data GetSegmentImportJobs = GetSegmentImportJobs' {}
- newGetSegmentImportJobs :: Text -> Text -> GetSegmentImportJobs
- getSegmentImportJobs_token :: Lens' GetSegmentImportJobs (Maybe Text)
- getSegmentImportJobs_pageSize :: Lens' GetSegmentImportJobs (Maybe Text)
- getSegmentImportJobs_segmentId :: Lens' GetSegmentImportJobs Text
- getSegmentImportJobs_applicationId :: Lens' GetSegmentImportJobs Text
- data GetSegmentImportJobsResponse = GetSegmentImportJobsResponse' {}
- newGetSegmentImportJobsResponse :: Int -> ImportJobsResponse -> GetSegmentImportJobsResponse
- getSegmentImportJobsResponse_httpStatus :: Lens' GetSegmentImportJobsResponse Int
- getSegmentImportJobsResponse_importJobsResponse :: Lens' GetSegmentImportJobsResponse ImportJobsResponse
Creating a Request
data GetSegmentImportJobs Source #
See: newGetSegmentImportJobs
smart constructor.
GetSegmentImportJobs' | |
|
Instances
newGetSegmentImportJobs Source #
:: Text | |
-> Text | |
-> GetSegmentImportJobs |
Create a value of GetSegmentImportJobs
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:token:GetSegmentImportJobs'
, getSegmentImportJobs_token
- The NextToken string that specifies which page of results to return in a
paginated response.
$sel:pageSize:GetSegmentImportJobs'
, getSegmentImportJobs_pageSize
- The maximum number of items to include in each page of a paginated
response. This parameter is not supported for application, campaign, and
journey metrics.
$sel:segmentId:GetSegmentImportJobs'
, getSegmentImportJobs_segmentId
- The unique identifier for the segment.
$sel:applicationId:GetSegmentImportJobs'
, getSegmentImportJobs_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
Request Lenses
getSegmentImportJobs_token :: Lens' GetSegmentImportJobs (Maybe Text) Source #
The NextToken string that specifies which page of results to return in a paginated response.
getSegmentImportJobs_pageSize :: Lens' GetSegmentImportJobs (Maybe Text) Source #
The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
getSegmentImportJobs_segmentId :: Lens' GetSegmentImportJobs Text Source #
The unique identifier for the segment.
getSegmentImportJobs_applicationId :: Lens' GetSegmentImportJobs Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
Destructuring the Response
data GetSegmentImportJobsResponse Source #
See: newGetSegmentImportJobsResponse
smart constructor.
GetSegmentImportJobsResponse' | |
|
Instances
newGetSegmentImportJobsResponse Source #
Create a value of GetSegmentImportJobsResponse
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:httpStatus:GetSegmentImportJobsResponse'
, getSegmentImportJobsResponse_httpStatus
- The response's http status code.
$sel:importJobsResponse:GetSegmentImportJobsResponse'
, getSegmentImportJobsResponse_importJobsResponse
- Undocumented member.
Response Lenses
getSegmentImportJobsResponse_httpStatus :: Lens' GetSegmentImportJobsResponse Int Source #
The response's http status code.
getSegmentImportJobsResponse_importJobsResponse :: Lens' GetSegmentImportJobsResponse ImportJobsResponse Source #
Undocumented member.