| 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 |
Amazonka.Synthetics.DescribeRuntimeVersions
Description
Returns a list of Synthetics canary runtime versions. For more information, see Canary Runtime Versions.
Synopsis
- data DescribeRuntimeVersions = DescribeRuntimeVersions' {}
- newDescribeRuntimeVersions :: DescribeRuntimeVersions
- describeRuntimeVersions_maxResults :: Lens' DescribeRuntimeVersions (Maybe Natural)
- describeRuntimeVersions_nextToken :: Lens' DescribeRuntimeVersions (Maybe Text)
- data DescribeRuntimeVersionsResponse = DescribeRuntimeVersionsResponse' {}
- newDescribeRuntimeVersionsResponse :: Int -> DescribeRuntimeVersionsResponse
- describeRuntimeVersionsResponse_nextToken :: Lens' DescribeRuntimeVersionsResponse (Maybe Text)
- describeRuntimeVersionsResponse_runtimeVersions :: Lens' DescribeRuntimeVersionsResponse (Maybe [RuntimeVersion])
- describeRuntimeVersionsResponse_httpStatus :: Lens' DescribeRuntimeVersionsResponse Int
Creating a Request
data DescribeRuntimeVersions Source #
See: newDescribeRuntimeVersions smart constructor.
Constructors
| DescribeRuntimeVersions' | |
Fields
| |
Instances
newDescribeRuntimeVersions :: DescribeRuntimeVersions Source #
Create a value of DescribeRuntimeVersions 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:DescribeRuntimeVersions', describeRuntimeVersions_maxResults - Specify this parameter to limit how many runs are returned each time you
use the DescribeRuntimeVersions operation. If you omit this parameter,
the default of 100 is used.
DescribeRuntimeVersions, describeRuntimeVersions_nextToken - A token that indicates that there is more data available. You can use
this token in a subsequent DescribeRuntimeVersions operation to
retrieve the next set of results.
Request Lenses
describeRuntimeVersions_maxResults :: Lens' DescribeRuntimeVersions (Maybe Natural) Source #
Specify this parameter to limit how many runs are returned each time you
use the DescribeRuntimeVersions operation. If you omit this parameter,
the default of 100 is used.
describeRuntimeVersions_nextToken :: Lens' DescribeRuntimeVersions (Maybe Text) Source #
A token that indicates that there is more data available. You can use
this token in a subsequent DescribeRuntimeVersions operation to
retrieve the next set of results.
Destructuring the Response
data DescribeRuntimeVersionsResponse Source #
See: newDescribeRuntimeVersionsResponse smart constructor.
Constructors
| DescribeRuntimeVersionsResponse' | |
Fields
| |
Instances
newDescribeRuntimeVersionsResponse Source #
Create a value of DescribeRuntimeVersionsResponse 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:
DescribeRuntimeVersions, describeRuntimeVersionsResponse_nextToken - A token that indicates that there is more data available. You can use
this token in a subsequent DescribeRuntimeVersions operation to
retrieve the next set of results.
$sel:runtimeVersions:DescribeRuntimeVersionsResponse', describeRuntimeVersionsResponse_runtimeVersions - An array of objects that display the details about each Synthetics
canary runtime version.
$sel:httpStatus:DescribeRuntimeVersionsResponse', describeRuntimeVersionsResponse_httpStatus - The response's http status code.
Response Lenses
describeRuntimeVersionsResponse_nextToken :: Lens' DescribeRuntimeVersionsResponse (Maybe Text) Source #
A token that indicates that there is more data available. You can use
this token in a subsequent DescribeRuntimeVersions operation to
retrieve the next set of results.
describeRuntimeVersionsResponse_runtimeVersions :: Lens' DescribeRuntimeVersionsResponse (Maybe [RuntimeVersion]) Source #
An array of objects that display the details about each Synthetics canary runtime version.
describeRuntimeVersionsResponse_httpStatus :: Lens' DescribeRuntimeVersionsResponse Int Source #
The response's http status code.