libZSservicesZSamazonka-emr-containersZSamazonka-emr-containers
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.EMRContainers.CreateVirtualCluster

Description

Creates a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any additional resource in your system. A single virtual cluster maps to a single Kubernetes namespace. Given this relationship, you can model virtual clusters the same way you model Kubernetes namespaces to meet your requirements.

Synopsis

Creating a Request

data CreateVirtualCluster Source #

See: newCreateVirtualCluster smart constructor.

Constructors

CreateVirtualCluster' 

Fields

Instances

Instances details
Eq CreateVirtualCluster Source # 
Instance details

Defined in Amazonka.EMRContainers.CreateVirtualCluster

Read CreateVirtualCluster Source # 
Instance details

Defined in Amazonka.EMRContainers.CreateVirtualCluster

Show CreateVirtualCluster Source # 
Instance details

Defined in Amazonka.EMRContainers.CreateVirtualCluster

Generic CreateVirtualCluster Source # 
Instance details

Defined in Amazonka.EMRContainers.CreateVirtualCluster

Associated Types

type Rep CreateVirtualCluster :: Type -> Type #

NFData CreateVirtualCluster Source # 
Instance details

Defined in Amazonka.EMRContainers.CreateVirtualCluster

Methods

rnf :: CreateVirtualCluster -> () #

Hashable CreateVirtualCluster Source # 
Instance details

Defined in Amazonka.EMRContainers.CreateVirtualCluster

ToJSON CreateVirtualCluster Source # 
Instance details

Defined in Amazonka.EMRContainers.CreateVirtualCluster

AWSRequest CreateVirtualCluster Source # 
Instance details

Defined in Amazonka.EMRContainers.CreateVirtualCluster

Associated Types

type AWSResponse CreateVirtualCluster #

ToHeaders CreateVirtualCluster Source # 
Instance details

Defined in Amazonka.EMRContainers.CreateVirtualCluster

ToPath CreateVirtualCluster Source # 
Instance details

Defined in Amazonka.EMRContainers.CreateVirtualCluster

ToQuery CreateVirtualCluster Source # 
Instance details

Defined in Amazonka.EMRContainers.CreateVirtualCluster

type Rep CreateVirtualCluster Source # 
Instance details

Defined in Amazonka.EMRContainers.CreateVirtualCluster

type Rep CreateVirtualCluster = D1 ('MetaData "CreateVirtualCluster" "Amazonka.EMRContainers.CreateVirtualCluster" "libZSservicesZSamazonka-emr-containersZSamazonka-emr-containers" 'False) (C1 ('MetaCons "CreateVirtualCluster'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "containerProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ContainerProvider) :*: S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateVirtualCluster Source # 
Instance details

Defined in Amazonka.EMRContainers.CreateVirtualCluster

newCreateVirtualCluster Source #

Create a value of CreateVirtualCluster 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:tags:CreateVirtualCluster', createVirtualCluster_tags - The tags assigned to the virtual cluster.

$sel:name:CreateVirtualCluster', createVirtualCluster_name - The specified name of the virtual cluster.

$sel:containerProvider:CreateVirtualCluster', createVirtualCluster_containerProvider - The container provider of the virtual cluster.

$sel:clientToken:CreateVirtualCluster', createVirtualCluster_clientToken - The client token of the virtual cluster.

Request Lenses

createVirtualCluster_tags :: Lens' CreateVirtualCluster (Maybe (HashMap Text Text)) Source #

The tags assigned to the virtual cluster.

createVirtualCluster_name :: Lens' CreateVirtualCluster Text Source #

The specified name of the virtual cluster.

createVirtualCluster_clientToken :: Lens' CreateVirtualCluster Text Source #

The client token of the virtual cluster.

Destructuring the Response

data CreateVirtualClusterResponse Source #

See: newCreateVirtualClusterResponse smart constructor.

Constructors

CreateVirtualClusterResponse' 

Fields

  • arn :: Maybe Text

    This output contains the ARN of virtual cluster.

  • name :: Maybe Text

    This output contains the name of the virtual cluster.

  • id :: Maybe Text

    This output contains the virtual cluster ID.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq CreateVirtualClusterResponse Source # 
Instance details

Defined in Amazonka.EMRContainers.CreateVirtualCluster

Read CreateVirtualClusterResponse Source # 
Instance details

Defined in Amazonka.EMRContainers.CreateVirtualCluster

Show CreateVirtualClusterResponse Source # 
Instance details

Defined in Amazonka.EMRContainers.CreateVirtualCluster

Generic CreateVirtualClusterResponse Source # 
Instance details

Defined in Amazonka.EMRContainers.CreateVirtualCluster

Associated Types

type Rep CreateVirtualClusterResponse :: Type -> Type #

NFData CreateVirtualClusterResponse Source # 
Instance details

Defined in Amazonka.EMRContainers.CreateVirtualCluster

type Rep CreateVirtualClusterResponse Source # 
Instance details

Defined in Amazonka.EMRContainers.CreateVirtualCluster

type Rep CreateVirtualClusterResponse = D1 ('MetaData "CreateVirtualClusterResponse" "Amazonka.EMRContainers.CreateVirtualCluster" "libZSservicesZSamazonka-emr-containersZSamazonka-emr-containers" 'False) (C1 ('MetaCons "CreateVirtualClusterResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateVirtualClusterResponse Source #

Create a value of CreateVirtualClusterResponse 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:arn:CreateVirtualClusterResponse', createVirtualClusterResponse_arn - This output contains the ARN of virtual cluster.

$sel:name:CreateVirtualCluster', createVirtualClusterResponse_name - This output contains the name of the virtual cluster.

$sel:id:CreateVirtualClusterResponse', createVirtualClusterResponse_id - This output contains the virtual cluster ID.

$sel:httpStatus:CreateVirtualClusterResponse', createVirtualClusterResponse_httpStatus - The response's http status code.

Response Lenses

createVirtualClusterResponse_arn :: Lens' CreateVirtualClusterResponse (Maybe Text) Source #

This output contains the ARN of virtual cluster.

createVirtualClusterResponse_name :: Lens' CreateVirtualClusterResponse (Maybe Text) Source #

This output contains the name of the virtual cluster.

createVirtualClusterResponse_id :: Lens' CreateVirtualClusterResponse (Maybe Text) Source #

This output contains the virtual cluster ID.