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 |
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 ListComponents = ListComponents' {}
- newListComponents :: ListComponents
- listComponents_filters :: Lens' ListComponents (Maybe (NonEmpty Filter))
- listComponents_owner :: Lens' ListComponents (Maybe Ownership)
- listComponents_byName :: Lens' ListComponents (Maybe Bool)
- listComponents_nextToken :: Lens' ListComponents (Maybe Text)
- listComponents_maxResults :: Lens' ListComponents (Maybe Natural)
- data ListComponentsResponse = ListComponentsResponse' {}
- newListComponentsResponse :: Int -> ListComponentsResponse
- listComponentsResponse_requestId :: Lens' ListComponentsResponse (Maybe Text)
- listComponentsResponse_componentVersionList :: Lens' ListComponentsResponse (Maybe [ComponentVersion])
- listComponentsResponse_nextToken :: Lens' ListComponentsResponse (Maybe Text)
- listComponentsResponse_httpStatus :: Lens' ListComponentsResponse Int
Creating a Request
data ListComponents Source #
See: newListComponents
smart constructor.
ListComponents' | |
|
Instances
newListComponents :: ListComponents Source #
Create a value of ListComponents
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:filters:ListComponents'
, listComponents_filters
- Use the following filters to streamline results:
description
name
platform
supportedOsVersion
type
version
$sel:owner:ListComponents'
, listComponents_owner
- The owner defines which components you want to list. By default, this
request will only show components owned by your account. You can use
this field to specify if you want to view components owned by yourself,
by Amazon, or those components that have been shared with you by other
customers.
$sel:byName:ListComponents'
, listComponents_byName
- Returns the list of component build versions for the specified name.
$sel:nextToken:ListComponents'
, listComponents_nextToken
- A token to specify where to start paginating. This is the NextToken from
a previously truncated response.
$sel:maxResults:ListComponents'
, listComponents_maxResults
- The maximum items to return in a request.
Request Lenses
listComponents_filters :: Lens' ListComponents (Maybe (NonEmpty Filter)) Source #
Use the following filters to streamline results:
description
name
platform
supportedOsVersion
type
version
listComponents_owner :: Lens' ListComponents (Maybe Ownership) Source #
The owner defines which components you want to list. By default, this request will only show components owned by your account. You can use this field to specify if you want to view components owned by yourself, by Amazon, or those components that have been shared with you by other customers.
listComponents_byName :: Lens' ListComponents (Maybe Bool) Source #
Returns the list of component build versions for the specified name.
listComponents_nextToken :: Lens' ListComponents (Maybe Text) Source #
A token to specify where to start paginating. This is the NextToken from a previously truncated response.
listComponents_maxResults :: Lens' ListComponents (Maybe Natural) Source #
The maximum items to return in a request.
Destructuring the Response
data ListComponentsResponse Source #
See: newListComponentsResponse
smart constructor.
ListComponentsResponse' | |
|
Instances
newListComponentsResponse Source #
Create a value of ListComponentsResponse
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:requestId:ListComponentsResponse'
, listComponentsResponse_requestId
- The request ID that uniquely identifies this request.
$sel:componentVersionList:ListComponentsResponse'
, listComponentsResponse_componentVersionList
- The list of component semantic versions.
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.
$sel:nextToken:ListComponents'
, listComponentsResponse_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:httpStatus:ListComponentsResponse'
, listComponentsResponse_httpStatus
- The response's http status code.
Response Lenses
listComponentsResponse_requestId :: Lens' ListComponentsResponse (Maybe Text) Source #
The request ID that uniquely identifies this request.
listComponentsResponse_componentVersionList :: Lens' ListComponentsResponse (Maybe [ComponentVersion]) Source #
The list of component semantic versions.
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.
listComponentsResponse_nextToken :: Lens' ListComponentsResponse (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.
listComponentsResponse_httpStatus :: Lens' ListComponentsResponse Int Source #
The response's http status code.