| 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.BatchUpdateCluster
Description
Apply the service update to a list of clusters supplied. For more information on service updates and applying them, see Applying the service updates.
Synopsis
- data BatchUpdateCluster = BatchUpdateCluster' {}
- newBatchUpdateCluster :: BatchUpdateCluster
- batchUpdateCluster_serviceUpdate :: Lens' BatchUpdateCluster (Maybe ServiceUpdateRequest)
- batchUpdateCluster_clusterNames :: Lens' BatchUpdateCluster [Text]
- data BatchUpdateClusterResponse = BatchUpdateClusterResponse' {}
- newBatchUpdateClusterResponse :: Int -> BatchUpdateClusterResponse
- batchUpdateClusterResponse_processedClusters :: Lens' BatchUpdateClusterResponse (Maybe [Cluster])
- batchUpdateClusterResponse_unprocessedClusters :: Lens' BatchUpdateClusterResponse (Maybe [UnprocessedCluster])
- batchUpdateClusterResponse_httpStatus :: Lens' BatchUpdateClusterResponse Int
Creating a Request
data BatchUpdateCluster Source #
See: newBatchUpdateCluster smart constructor.
Constructors
| BatchUpdateCluster' | |
Fields
| |
Instances
newBatchUpdateCluster :: BatchUpdateCluster Source #
Create a value of BatchUpdateCluster 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:serviceUpdate:BatchUpdateCluster', batchUpdateCluster_serviceUpdate - The unique ID of the service update
$sel:clusterNames:BatchUpdateCluster', batchUpdateCluster_clusterNames - The cluster names to apply the updates.
Request Lenses
batchUpdateCluster_serviceUpdate :: Lens' BatchUpdateCluster (Maybe ServiceUpdateRequest) Source #
The unique ID of the service update
batchUpdateCluster_clusterNames :: Lens' BatchUpdateCluster [Text] Source #
The cluster names to apply the updates.
Destructuring the Response
data BatchUpdateClusterResponse Source #
See: newBatchUpdateClusterResponse smart constructor.
Constructors
| BatchUpdateClusterResponse' | |
Fields
| |
Instances
newBatchUpdateClusterResponse Source #
Create a value of BatchUpdateClusterResponse 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:processedClusters:BatchUpdateClusterResponse', batchUpdateClusterResponse_processedClusters - The list of clusters that have been updated.
$sel:unprocessedClusters:BatchUpdateClusterResponse', batchUpdateClusterResponse_unprocessedClusters - The list of clusters where updates have not been applied.
$sel:httpStatus:BatchUpdateClusterResponse', batchUpdateClusterResponse_httpStatus - The response's http status code.
Response Lenses
batchUpdateClusterResponse_processedClusters :: Lens' BatchUpdateClusterResponse (Maybe [Cluster]) Source #
The list of clusters that have been updated.
batchUpdateClusterResponse_unprocessedClusters :: Lens' BatchUpdateClusterResponse (Maybe [UnprocessedCluster]) Source #
The list of clusters where updates have not been applied.
batchUpdateClusterResponse_httpStatus :: Lens' BatchUpdateClusterResponse Int Source #
The response's http status code.