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 |
Creates a new MSK cluster.
Synopsis
- data CreateClusterV2 = CreateClusterV2' {}
- newCreateClusterV2 :: Text -> CreateClusterV2
- createClusterV2_provisioned :: Lens' CreateClusterV2 (Maybe ProvisionedRequest)
- createClusterV2_serverless :: Lens' CreateClusterV2 (Maybe ServerlessRequest)
- createClusterV2_tags :: Lens' CreateClusterV2 (Maybe (HashMap Text Text))
- createClusterV2_clusterName :: Lens' CreateClusterV2 Text
- data CreateClusterV2Response = CreateClusterV2Response' {}
- newCreateClusterV2Response :: Int -> CreateClusterV2Response
- createClusterV2Response_clusterArn :: Lens' CreateClusterV2Response (Maybe Text)
- createClusterV2Response_clusterName :: Lens' CreateClusterV2Response (Maybe Text)
- createClusterV2Response_clusterType :: Lens' CreateClusterV2Response (Maybe ClusterType)
- createClusterV2Response_state :: Lens' CreateClusterV2Response (Maybe ClusterState)
- createClusterV2Response_httpStatus :: Lens' CreateClusterV2Response Int
Creating a Request
data CreateClusterV2 Source #
See: newCreateClusterV2
smart constructor.
CreateClusterV2' | |
|
Instances
Create a value of CreateClusterV2
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:
CreateClusterV2
, createClusterV2_provisioned
- Information about the provisioned cluster.
CreateClusterV2
, createClusterV2_serverless
- Information about the serverless cluster.
CreateClusterV2
, createClusterV2_tags
- A map of tags that you want the cluster to have.
CreateClusterV2
, createClusterV2_clusterName
- The name of the cluster.
Request Lenses
createClusterV2_provisioned :: Lens' CreateClusterV2 (Maybe ProvisionedRequest) Source #
Information about the provisioned cluster.
createClusterV2_serverless :: Lens' CreateClusterV2 (Maybe ServerlessRequest) Source #
Information about the serverless cluster.
createClusterV2_tags :: Lens' CreateClusterV2 (Maybe (HashMap Text Text)) Source #
A map of tags that you want the cluster to have.
createClusterV2_clusterName :: Lens' CreateClusterV2 Text Source #
The name of the cluster.
Destructuring the Response
data CreateClusterV2Response Source #
See: newCreateClusterV2Response
smart constructor.
CreateClusterV2Response' | |
|
Instances
newCreateClusterV2Response Source #
Create a value of CreateClusterV2Response
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:
CreateClusterV2Response
, createClusterV2Response_clusterArn
- The Amazon Resource Name (ARN) of the cluster.
CreateClusterV2
, createClusterV2Response_clusterName
- The name of the MSK cluster.
CreateClusterV2Response
, createClusterV2Response_clusterType
- The type of the cluster. The possible states are PROVISIONED or
SERVERLESS.
CreateClusterV2Response
, createClusterV2Response_state
- The state of the cluster. The possible states are ACTIVE, CREATING,
DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
$sel:httpStatus:CreateClusterV2Response'
, createClusterV2Response_httpStatus
- The response's http status code.
Response Lenses
createClusterV2Response_clusterArn :: Lens' CreateClusterV2Response (Maybe Text) Source #
The Amazon Resource Name (ARN) of the cluster.
createClusterV2Response_clusterName :: Lens' CreateClusterV2Response (Maybe Text) Source #
The name of the MSK cluster.
createClusterV2Response_clusterType :: Lens' CreateClusterV2Response (Maybe ClusterType) Source #
The type of the cluster. The possible states are PROVISIONED or SERVERLESS.
createClusterV2Response_state :: Lens' CreateClusterV2Response (Maybe ClusterState) Source #
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
createClusterV2Response_httpStatus :: Lens' CreateClusterV2Response Int Source #
The response's http status code.