| 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.IotTwinMaker.ListComponentTypes
Description
Lists all component types in a workspace.
Synopsis
- data ListComponentTypes = ListComponentTypes' {}
- newListComponentTypes :: Text -> ListComponentTypes
- listComponentTypes_filters :: Lens' ListComponentTypes (Maybe [ListComponentTypesFilter])
- listComponentTypes_maxResults :: Lens' ListComponentTypes (Maybe Natural)
- listComponentTypes_nextToken :: Lens' ListComponentTypes (Maybe Text)
- listComponentTypes_workspaceId :: Lens' ListComponentTypes Text
- data ListComponentTypesResponse = ListComponentTypesResponse' {}
- newListComponentTypesResponse :: Int -> Text -> ListComponentTypesResponse
- listComponentTypesResponse_maxResults :: Lens' ListComponentTypesResponse (Maybe Natural)
- listComponentTypesResponse_nextToken :: Lens' ListComponentTypesResponse (Maybe Text)
- listComponentTypesResponse_httpStatus :: Lens' ListComponentTypesResponse Int
- listComponentTypesResponse_workspaceId :: Lens' ListComponentTypesResponse Text
- listComponentTypesResponse_componentTypeSummaries :: Lens' ListComponentTypesResponse [ComponentTypeSummary]
Creating a Request
data ListComponentTypes Source #
See: newListComponentTypes smart constructor.
Constructors
| ListComponentTypes' | |
| Fields 
 | |
Instances
newListComponentTypes Source #
Arguments
| :: Text | |
| -> ListComponentTypes | 
Create a value of ListComponentTypes 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:ListComponentTypes', listComponentTypes_filters - A list of objects that filter the request.
ListComponentTypes, listComponentTypes_maxResults - The maximum number of results to return at one time. The default is 25.
Valid Range: Minimum value of 1. Maximum value of 250.
ListComponentTypes, listComponentTypes_nextToken - The string that specifies the next page of results.
ListComponentTypes, listComponentTypes_workspaceId - The ID of the workspace.
Request Lenses
listComponentTypes_filters :: Lens' ListComponentTypes (Maybe [ListComponentTypesFilter]) Source #
A list of objects that filter the request.
listComponentTypes_maxResults :: Lens' ListComponentTypes (Maybe Natural) Source #
The maximum number of results to return at one time. The default is 25.
Valid Range: Minimum value of 1. Maximum value of 250.
listComponentTypes_nextToken :: Lens' ListComponentTypes (Maybe Text) Source #
The string that specifies the next page of results.
listComponentTypes_workspaceId :: Lens' ListComponentTypes Text Source #
The ID of the workspace.
Destructuring the Response
data ListComponentTypesResponse Source #
See: newListComponentTypesResponse smart constructor.
Constructors
| ListComponentTypesResponse' | |
| Fields 
 | |
Instances
newListComponentTypesResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> ListComponentTypesResponse | 
Create a value of ListComponentTypesResponse 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:
ListComponentTypes, listComponentTypesResponse_maxResults - Specifies the maximum number of results to display.
ListComponentTypes, listComponentTypesResponse_nextToken - The string that specifies the next page of results.
$sel:httpStatus:ListComponentTypesResponse', listComponentTypesResponse_httpStatus - The response's http status code.
ListComponentTypes, listComponentTypesResponse_workspaceId - The ID of the workspace.
$sel:componentTypeSummaries:ListComponentTypesResponse', listComponentTypesResponse_componentTypeSummaries - A list of objects that contain information about the component types.
Response Lenses
listComponentTypesResponse_maxResults :: Lens' ListComponentTypesResponse (Maybe Natural) Source #
Specifies the maximum number of results to display.
listComponentTypesResponse_nextToken :: Lens' ListComponentTypesResponse (Maybe Text) Source #
The string that specifies the next page of results.
listComponentTypesResponse_httpStatus :: Lens' ListComponentTypesResponse Int Source #
The response's http status code.
listComponentTypesResponse_workspaceId :: Lens' ListComponentTypesResponse Text Source #
The ID of the workspace.
listComponentTypesResponse_componentTypeSummaries :: Lens' ListComponentTypesResponse [ComponentTypeSummary] Source #
A list of objects that contain information about the component types.