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 ListComponents = ListComponents' {}
- newListComponents :: ListComponents
- listComponents_byName :: Lens' ListComponents (Maybe Bool)
- listComponents_filters :: Lens' ListComponents (Maybe (NonEmpty Filter))
- listComponents_maxResults :: Lens' ListComponents (Maybe Natural)
- listComponents_nextToken :: Lens' ListComponents (Maybe Text)
- listComponents_owner :: Lens' ListComponents (Maybe Ownership)
- data ListComponentsResponse = ListComponentsResponse' {}
- newListComponentsResponse :: Int -> ListComponentsResponse
- listComponentsResponse_componentVersionList :: Lens' ListComponentsResponse (Maybe [ComponentVersion])
- listComponentsResponse_nextToken :: Lens' ListComponentsResponse (Maybe Text)
- listComponentsResponse_requestId :: 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:byName:ListComponents'
, listComponents_byName
- Returns the list of component build versions for the specified name.
$sel:filters:ListComponents'
, listComponents_filters
- Use the following filters to streamline results:
description
name
platform
supportedOsVersion
type
version
$sel:maxResults:ListComponents'
, listComponents_maxResults
- The maximum items to return in a request.
ListComponents
, listComponents_nextToken
- A token to specify where to start paginating. This is the NextToken from
a previously truncated response.
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.
Request Lenses
listComponents_byName :: Lens' ListComponents (Maybe Bool) Source #
Returns the list of component build versions for the specified name.
listComponents_filters :: Lens' ListComponents (Maybe (NonEmpty Filter)) Source #
Use the following filters to streamline results:
description
name
platform
supportedOsVersion
type
version
listComponents_maxResults :: Lens' ListComponents (Maybe Natural) Source #
The maximum items to return in a request.
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_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.
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: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.
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:requestId:ListComponentsResponse'
, listComponentsResponse_requestId
- The request ID that uniquely identifies this request.
$sel:httpStatus:ListComponentsResponse'
, listComponentsResponse_httpStatus
- The response's http status code.
Response Lenses
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_requestId :: Lens' ListComponentsResponse (Maybe Text) Source #
The request ID that uniquely identifies this request.
listComponentsResponse_httpStatus :: Lens' ListComponentsResponse Int Source #
The response's http status code.