| 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.MemoryDb.DescribeServiceUpdates
Description
Returns details of the service updates
This operation returns paginated results.
Synopsis
- data DescribeServiceUpdates = DescribeServiceUpdates' {
- clusterNames :: Maybe [Text]
 - maxResults :: Maybe Int
 - nextToken :: Maybe Text
 - serviceUpdateName :: Maybe Text
 - status :: Maybe [ServiceUpdateStatus]
 
 - newDescribeServiceUpdates :: DescribeServiceUpdates
 - describeServiceUpdates_clusterNames :: Lens' DescribeServiceUpdates (Maybe [Text])
 - describeServiceUpdates_maxResults :: Lens' DescribeServiceUpdates (Maybe Int)
 - describeServiceUpdates_nextToken :: Lens' DescribeServiceUpdates (Maybe Text)
 - describeServiceUpdates_serviceUpdateName :: Lens' DescribeServiceUpdates (Maybe Text)
 - describeServiceUpdates_status :: Lens' DescribeServiceUpdates (Maybe [ServiceUpdateStatus])
 - data DescribeServiceUpdatesResponse = DescribeServiceUpdatesResponse' {
- nextToken :: Maybe Text
 - serviceUpdates :: Maybe [ServiceUpdate]
 - httpStatus :: Int
 
 - newDescribeServiceUpdatesResponse :: Int -> DescribeServiceUpdatesResponse
 - describeServiceUpdatesResponse_nextToken :: Lens' DescribeServiceUpdatesResponse (Maybe Text)
 - describeServiceUpdatesResponse_serviceUpdates :: Lens' DescribeServiceUpdatesResponse (Maybe [ServiceUpdate])
 - describeServiceUpdatesResponse_httpStatus :: Lens' DescribeServiceUpdatesResponse Int
 
Creating a Request
data DescribeServiceUpdates Source #
See: newDescribeServiceUpdates smart constructor.
Constructors
| DescribeServiceUpdates' | |
Fields 
  | |
Instances
newDescribeServiceUpdates :: DescribeServiceUpdates Source #
Create a value of DescribeServiceUpdates 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:clusterNames:DescribeServiceUpdates', describeServiceUpdates_clusterNames - The list of cluster names to identify service updates to apply
$sel:maxResults:DescribeServiceUpdates', describeServiceUpdates_maxResults - The maximum number of records to include in the response. If more
 records exist than the specified MaxResults value, a token is included
 in the response so that the remaining results can be retrieved.
DescribeServiceUpdates, describeServiceUpdates_nextToken - An optional argument to pass in case the total number of records exceeds
 the value of MaxResults. If nextToken is returned, there are more
 results available. The value of nextToken is a unique pagination token
 for each page. Make the call again using the returned token to retrieve
 the next page. Keep all other arguments unchanged.
DescribeServiceUpdates, describeServiceUpdates_serviceUpdateName - The unique ID of the service update to describe.
DescribeServiceUpdates, describeServiceUpdates_status - The status(es) of the service updates to filter on
Request Lenses
describeServiceUpdates_clusterNames :: Lens' DescribeServiceUpdates (Maybe [Text]) Source #
The list of cluster names to identify service updates to apply
describeServiceUpdates_maxResults :: Lens' DescribeServiceUpdates (Maybe Int) Source #
The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
describeServiceUpdates_nextToken :: Lens' DescribeServiceUpdates (Maybe Text) Source #
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
describeServiceUpdates_serviceUpdateName :: Lens' DescribeServiceUpdates (Maybe Text) Source #
The unique ID of the service update to describe.
describeServiceUpdates_status :: Lens' DescribeServiceUpdates (Maybe [ServiceUpdateStatus]) Source #
The status(es) of the service updates to filter on
Destructuring the Response
data DescribeServiceUpdatesResponse Source #
See: newDescribeServiceUpdatesResponse smart constructor.
Constructors
| DescribeServiceUpdatesResponse' | |
Fields 
  | |
Instances
newDescribeServiceUpdatesResponse Source #
Create a value of DescribeServiceUpdatesResponse 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:
DescribeServiceUpdates, describeServiceUpdatesResponse_nextToken - An optional argument to pass in case the total number of records exceeds
 the value of MaxResults. If nextToken is returned, there are more
 results available. The value of nextToken is a unique pagination token
 for each page. Make the call again using the returned token to retrieve
 the next page. Keep all other arguments unchanged.
DescribeServiceUpdatesResponse, describeServiceUpdatesResponse_serviceUpdates - A list of service updates
$sel:httpStatus:DescribeServiceUpdatesResponse', describeServiceUpdatesResponse_httpStatus - The response's http status code.
Response Lenses
describeServiceUpdatesResponse_nextToken :: Lens' DescribeServiceUpdatesResponse (Maybe Text) Source #
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
describeServiceUpdatesResponse_serviceUpdates :: Lens' DescribeServiceUpdatesResponse (Maybe [ServiceUpdate]) Source #
A list of service updates
describeServiceUpdatesResponse_httpStatus :: Lens' DescribeServiceUpdatesResponse Int Source #
The response's http status code.