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 |
Queries the specified pipeline for the names of objects that match the specified set of conditions.
This operation returns paginated results.
Synopsis
- data QueryObjects = QueryObjects' {}
- newQueryObjects :: Text -> Text -> QueryObjects
- queryObjects_query :: Lens' QueryObjects (Maybe Query)
- queryObjects_marker :: Lens' QueryObjects (Maybe Text)
- queryObjects_limit :: Lens' QueryObjects (Maybe Int)
- queryObjects_pipelineId :: Lens' QueryObjects Text
- queryObjects_sphere :: Lens' QueryObjects Text
- data QueryObjectsResponse = QueryObjectsResponse' {}
- newQueryObjectsResponse :: Int -> QueryObjectsResponse
- queryObjectsResponse_hasMoreResults :: Lens' QueryObjectsResponse (Maybe Bool)
- queryObjectsResponse_ids :: Lens' QueryObjectsResponse (Maybe [Text])
- queryObjectsResponse_marker :: Lens' QueryObjectsResponse (Maybe Text)
- queryObjectsResponse_httpStatus :: Lens' QueryObjectsResponse Int
Creating a Request
data QueryObjects Source #
Contains the parameters for QueryObjects.
See: newQueryObjects
smart constructor.
QueryObjects' | |
|
Instances
Create a value of QueryObjects
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:query:QueryObjects'
, queryObjects_query
- The query that defines the objects to be returned. The Query
object
can contain a maximum of ten selectors. The conditions in the query are
limited to top-level String fields in the object. These filters can be
applied to components, instances, and attempts.
$sel:marker:QueryObjects'
, queryObjects_marker
- The starting point for the results to be returned. For the first call,
this value should be empty. As long as there are more results, continue
to call QueryObjects
with the marker value from the previous call to
retrieve the next set of results.
$sel:limit:QueryObjects'
, queryObjects_limit
- The maximum number of object names that QueryObjects
will return in a
single call. The default value is 100.
$sel:pipelineId:QueryObjects'
, queryObjects_pipelineId
- The ID of the pipeline.
$sel:sphere:QueryObjects'
, queryObjects_sphere
- Indicates whether the query applies to components or instances. The
possible values are: COMPONENT
, INSTANCE
, and ATTEMPT
.
Request Lenses
queryObjects_query :: Lens' QueryObjects (Maybe Query) Source #
The query that defines the objects to be returned. The Query
object
can contain a maximum of ten selectors. The conditions in the query are
limited to top-level String fields in the object. These filters can be
applied to components, instances, and attempts.
queryObjects_marker :: Lens' QueryObjects (Maybe Text) Source #
The starting point for the results to be returned. For the first call,
this value should be empty. As long as there are more results, continue
to call QueryObjects
with the marker value from the previous call to
retrieve the next set of results.
queryObjects_limit :: Lens' QueryObjects (Maybe Int) Source #
The maximum number of object names that QueryObjects
will return in a
single call. The default value is 100.
queryObjects_pipelineId :: Lens' QueryObjects Text Source #
The ID of the pipeline.
queryObjects_sphere :: Lens' QueryObjects Text Source #
Indicates whether the query applies to components or instances. The
possible values are: COMPONENT
, INSTANCE
, and ATTEMPT
.
Destructuring the Response
data QueryObjectsResponse Source #
Contains the output of QueryObjects.
See: newQueryObjectsResponse
smart constructor.
QueryObjectsResponse' | |
|
Instances
newQueryObjectsResponse Source #
Create a value of QueryObjectsResponse
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:hasMoreResults:QueryObjectsResponse'
, queryObjectsResponse_hasMoreResults
- Indicates whether there are more results that can be obtained by a
subsequent call.
$sel:ids:QueryObjectsResponse'
, queryObjectsResponse_ids
- The identifiers that match the query selectors.
$sel:marker:QueryObjects'
, queryObjectsResponse_marker
- The starting point for the next page of results. To view the next page
of results, call QueryObjects
again with this marker value. If the
value is null, there are no more results.
$sel:httpStatus:QueryObjectsResponse'
, queryObjectsResponse_httpStatus
- The response's http status code.
Response Lenses
queryObjectsResponse_hasMoreResults :: Lens' QueryObjectsResponse (Maybe Bool) Source #
Indicates whether there are more results that can be obtained by a subsequent call.
queryObjectsResponse_ids :: Lens' QueryObjectsResponse (Maybe [Text]) Source #
The identifiers that match the query selectors.
queryObjectsResponse_marker :: Lens' QueryObjectsResponse (Maybe Text) Source #
The starting point for the next page of results. To view the next page
of results, call QueryObjects
again with this marker value. If the
value is null, there are no more results.
queryObjectsResponse_httpStatus :: Lens' QueryObjectsResponse Int Source #
The response's http status code.