Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Use this operation to find which experiments or launches are using a specified segment.
This operation returns paginated results.
Synopsis
- data ListSegmentReferences = ListSegmentReferences' {}
- newListSegmentReferences :: Text -> SegmentReferenceResourceType -> ListSegmentReferences
- listSegmentReferences_maxResults :: Lens' ListSegmentReferences (Maybe Natural)
- listSegmentReferences_nextToken :: Lens' ListSegmentReferences (Maybe Text)
- listSegmentReferences_segment :: Lens' ListSegmentReferences Text
- listSegmentReferences_type :: Lens' ListSegmentReferences SegmentReferenceResourceType
- data ListSegmentReferencesResponse = ListSegmentReferencesResponse' {
- nextToken :: Maybe Text
- referencedBy :: Maybe [RefResource]
- httpStatus :: Int
- newListSegmentReferencesResponse :: Int -> ListSegmentReferencesResponse
- listSegmentReferencesResponse_nextToken :: Lens' ListSegmentReferencesResponse (Maybe Text)
- listSegmentReferencesResponse_referencedBy :: Lens' ListSegmentReferencesResponse (Maybe [RefResource])
- listSegmentReferencesResponse_httpStatus :: Lens' ListSegmentReferencesResponse Int
Creating a Request
data ListSegmentReferences Source #
See: newListSegmentReferences
smart constructor.
ListSegmentReferences' | |
|
Instances
newListSegmentReferences Source #
Create a value of ListSegmentReferences
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:maxResults:ListSegmentReferences'
, listSegmentReferences_maxResults
- The maximum number of results to include in the response. If you omit
this, the default of 50 is used.
ListSegmentReferences
, listSegmentReferences_nextToken
- The token to use when requesting the next set of results. You received
this token from a previous ListSegmentReferences
operation.
ListSegmentReferences
, listSegmentReferences_segment
- The ARN of the segment that you want to view information for.
ListSegmentReferences
, listSegmentReferences_type
- Specifies whether to return information about launches or experiments
that use this segment.
Request Lenses
listSegmentReferences_maxResults :: Lens' ListSegmentReferences (Maybe Natural) Source #
The maximum number of results to include in the response. If you omit this, the default of 50 is used.
listSegmentReferences_nextToken :: Lens' ListSegmentReferences (Maybe Text) Source #
The token to use when requesting the next set of results. You received
this token from a previous ListSegmentReferences
operation.
listSegmentReferences_segment :: Lens' ListSegmentReferences Text Source #
The ARN of the segment that you want to view information for.
listSegmentReferences_type :: Lens' ListSegmentReferences SegmentReferenceResourceType Source #
Specifies whether to return information about launches or experiments that use this segment.
Destructuring the Response
data ListSegmentReferencesResponse Source #
See: newListSegmentReferencesResponse
smart constructor.
ListSegmentReferencesResponse' | |
|
Instances
newListSegmentReferencesResponse Source #
Create a value of ListSegmentReferencesResponse
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:
ListSegmentReferences
, listSegmentReferencesResponse_nextToken
- The token to use in a subsequent ListSegmentReferences
operation to
return the next set of results.
$sel:referencedBy:ListSegmentReferencesResponse'
, listSegmentReferencesResponse_referencedBy
- An array of structures, where each structure contains information about
one experiment or launch that uses this segment.
$sel:httpStatus:ListSegmentReferencesResponse'
, listSegmentReferencesResponse_httpStatus
- The response's http status code.
Response Lenses
listSegmentReferencesResponse_nextToken :: Lens' ListSegmentReferencesResponse (Maybe Text) Source #
The token to use in a subsequent ListSegmentReferences
operation to
return the next set of results.
listSegmentReferencesResponse_referencedBy :: Lens' ListSegmentReferencesResponse (Maybe [RefResource]) Source #
An array of structures, where each structure contains information about one experiment or launch that uses this segment.
listSegmentReferencesResponse_httpStatus :: Lens' ListSegmentReferencesResponse Int Source #
The response's http status code.