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 |
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_unprocessedClusters :: Lens' BatchUpdateClusterResponse (Maybe [UnprocessedCluster])
- batchUpdateClusterResponse_processedClusters :: Lens' BatchUpdateClusterResponse (Maybe [Cluster])
- batchUpdateClusterResponse_httpStatus :: Lens' BatchUpdateClusterResponse Int
Creating a Request
data BatchUpdateCluster Source #
See: newBatchUpdateCluster
smart constructor.
BatchUpdateCluster' | |
|
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.
BatchUpdateClusterResponse' | |
|
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:unprocessedClusters:BatchUpdateClusterResponse'
, batchUpdateClusterResponse_unprocessedClusters
- The list of clusters where updates have not been applied.
$sel:processedClusters:BatchUpdateClusterResponse'
, batchUpdateClusterResponse_processedClusters
- The list of clusters that have been updated.
$sel:httpStatus:BatchUpdateClusterResponse'
, batchUpdateClusterResponse_httpStatus
- The response's http status code.
Response Lenses
batchUpdateClusterResponse_unprocessedClusters :: Lens' BatchUpdateClusterResponse (Maybe [UnprocessedCluster]) Source #
The list of clusters where updates have not been applied.
batchUpdateClusterResponse_processedClusters :: Lens' BatchUpdateClusterResponse (Maybe [Cluster]) Source #
The list of clusters that have been updated.
batchUpdateClusterResponse_httpStatus :: Lens' BatchUpdateClusterResponse Int Source #
The response's http status code.