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 |
Returns the list of component build versions for the specified semantic version.
The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
Synopsis
- data ListComponentBuildVersions = ListComponentBuildVersions' {}
- newListComponentBuildVersions :: Text -> ListComponentBuildVersions
- listComponentBuildVersions_maxResults :: Lens' ListComponentBuildVersions (Maybe Natural)
- listComponentBuildVersions_nextToken :: Lens' ListComponentBuildVersions (Maybe Text)
- listComponentBuildVersions_componentVersionArn :: Lens' ListComponentBuildVersions Text
- data ListComponentBuildVersionsResponse = ListComponentBuildVersionsResponse' {}
- newListComponentBuildVersionsResponse :: Int -> ListComponentBuildVersionsResponse
- listComponentBuildVersionsResponse_componentSummaryList :: Lens' ListComponentBuildVersionsResponse (Maybe [ComponentSummary])
- listComponentBuildVersionsResponse_nextToken :: Lens' ListComponentBuildVersionsResponse (Maybe Text)
- listComponentBuildVersionsResponse_requestId :: Lens' ListComponentBuildVersionsResponse (Maybe Text)
- listComponentBuildVersionsResponse_httpStatus :: Lens' ListComponentBuildVersionsResponse Int
Creating a Request
data ListComponentBuildVersions Source #
See: newListComponentBuildVersions
smart constructor.
ListComponentBuildVersions' | |
|
Instances
newListComponentBuildVersions Source #
Create a value of ListComponentBuildVersions
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:ListComponentBuildVersions'
, listComponentBuildVersions_maxResults
- The maximum items to return in a request.
ListComponentBuildVersions
, listComponentBuildVersions_nextToken
- A token to specify where to start paginating. This is the NextToken from
a previously truncated response.
$sel:componentVersionArn:ListComponentBuildVersions'
, listComponentBuildVersions_componentVersionArn
- The component version Amazon Resource Name (ARN) whose versions you want
to list.
Request Lenses
listComponentBuildVersions_maxResults :: Lens' ListComponentBuildVersions (Maybe Natural) Source #
The maximum items to return in a request.
listComponentBuildVersions_nextToken :: Lens' ListComponentBuildVersions (Maybe Text) Source #
A token to specify where to start paginating. This is the NextToken from a previously truncated response.
listComponentBuildVersions_componentVersionArn :: Lens' ListComponentBuildVersions Text Source #
The component version Amazon Resource Name (ARN) whose versions you want to list.
Destructuring the Response
data ListComponentBuildVersionsResponse Source #
See: newListComponentBuildVersionsResponse
smart constructor.
ListComponentBuildVersionsResponse' | |
|
Instances
newListComponentBuildVersionsResponse Source #
Create a value of ListComponentBuildVersionsResponse
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:componentSummaryList:ListComponentBuildVersionsResponse'
, listComponentBuildVersionsResponse_componentSummaryList
- The list of component summaries for the specified semantic version.
ListComponentBuildVersions
, listComponentBuildVersionsResponse_nextToken
- The next token used for paginated responses. When this is not empty,
there are additional elements that the service has not included in this
request. Use this token with the next request to retrieve additional
objects.
$sel:requestId:ListComponentBuildVersionsResponse'
, listComponentBuildVersionsResponse_requestId
- The request ID that uniquely identifies this request.
$sel:httpStatus:ListComponentBuildVersionsResponse'
, listComponentBuildVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
listComponentBuildVersionsResponse_componentSummaryList :: Lens' ListComponentBuildVersionsResponse (Maybe [ComponentSummary]) Source #
The list of component summaries for the specified semantic version.
listComponentBuildVersionsResponse_nextToken :: Lens' ListComponentBuildVersionsResponse (Maybe Text) Source #
The next token used for paginated responses. When this is not empty, there are additional elements that the service has not included in this request. Use this token with the next request to retrieve additional objects.
listComponentBuildVersionsResponse_requestId :: Lens' ListComponentBuildVersionsResponse (Maybe Text) Source #
The request ID that uniquely identifies this request.
listComponentBuildVersionsResponse_httpStatus :: Lens' ListComponentBuildVersionsResponse Int Source #
The response's http status code.