amazonka-fsx-2.0: Amazon FSx SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.FSx.CreateVolume

Description

Creates an FSx for ONTAP or Amazon FSx for OpenZFS storage volume.

Synopsis

Creating a Request

data CreateVolume Source #

See: newCreateVolume smart constructor.

Constructors

CreateVolume' 

Fields

Instances

Instances details
ToJSON CreateVolume Source # 
Instance details

Defined in Amazonka.FSx.CreateVolume

ToHeaders CreateVolume Source # 
Instance details

Defined in Amazonka.FSx.CreateVolume

ToPath CreateVolume Source # 
Instance details

Defined in Amazonka.FSx.CreateVolume

ToQuery CreateVolume Source # 
Instance details

Defined in Amazonka.FSx.CreateVolume

AWSRequest CreateVolume Source # 
Instance details

Defined in Amazonka.FSx.CreateVolume

Associated Types

type AWSResponse CreateVolume #

Generic CreateVolume Source # 
Instance details

Defined in Amazonka.FSx.CreateVolume

Associated Types

type Rep CreateVolume :: Type -> Type #

Read CreateVolume Source # 
Instance details

Defined in Amazonka.FSx.CreateVolume

Show CreateVolume Source # 
Instance details

Defined in Amazonka.FSx.CreateVolume

NFData CreateVolume Source # 
Instance details

Defined in Amazonka.FSx.CreateVolume

Methods

rnf :: CreateVolume -> () #

Eq CreateVolume Source # 
Instance details

Defined in Amazonka.FSx.CreateVolume

Hashable CreateVolume Source # 
Instance details

Defined in Amazonka.FSx.CreateVolume

type AWSResponse CreateVolume Source # 
Instance details

Defined in Amazonka.FSx.CreateVolume

type Rep CreateVolume Source # 
Instance details

Defined in Amazonka.FSx.CreateVolume

newCreateVolume Source #

Create a value of CreateVolume 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:clientRequestToken:CreateVolume', createVolume_clientRequestToken - Undocumented member.

CreateVolume, createVolume_ontapConfiguration - Specifies the configuration to use when creating the ONTAP volume.

CreateVolume, createVolume_openZFSConfiguration - Specifies the configuration to use when creating the OpenZFS volume.

CreateVolume, createVolume_tags - Undocumented member.

CreateVolume, createVolume_volumeType - Specifies the type of volume to create; ONTAP and OPENZFS are the only valid volume types.

CreateVolume, createVolume_name - Specifies the name of the volume that you're creating.

Request Lenses

createVolume_ontapConfiguration :: Lens' CreateVolume (Maybe CreateOntapVolumeConfiguration) Source #

Specifies the configuration to use when creating the ONTAP volume.

createVolume_openZFSConfiguration :: Lens' CreateVolume (Maybe CreateOpenZFSVolumeConfiguration) Source #

Specifies the configuration to use when creating the OpenZFS volume.

createVolume_volumeType :: Lens' CreateVolume VolumeType Source #

Specifies the type of volume to create; ONTAP and OPENZFS are the only valid volume types.

createVolume_name :: Lens' CreateVolume Text Source #

Specifies the name of the volume that you're creating.

Destructuring the Response

data CreateVolumeResponse Source #

See: newCreateVolumeResponse smart constructor.

Constructors

CreateVolumeResponse' 

Fields

  • volume :: Maybe Volume

    Returned after a successful CreateVolume API operation, describing the volume just created.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic CreateVolumeResponse Source # 
Instance details

Defined in Amazonka.FSx.CreateVolume

Associated Types

type Rep CreateVolumeResponse :: Type -> Type #

Read CreateVolumeResponse Source # 
Instance details

Defined in Amazonka.FSx.CreateVolume

Show CreateVolumeResponse Source # 
Instance details

Defined in Amazonka.FSx.CreateVolume

NFData CreateVolumeResponse Source # 
Instance details

Defined in Amazonka.FSx.CreateVolume

Methods

rnf :: CreateVolumeResponse -> () #

Eq CreateVolumeResponse Source # 
Instance details

Defined in Amazonka.FSx.CreateVolume

type Rep CreateVolumeResponse Source # 
Instance details

Defined in Amazonka.FSx.CreateVolume

type Rep CreateVolumeResponse = D1 ('MetaData "CreateVolumeResponse" "Amazonka.FSx.CreateVolume" "amazonka-fsx-2.0-6W1DYEEbHPkD4DJvTvpQG4" 'False) (C1 ('MetaCons "CreateVolumeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "volume") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Volume)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateVolumeResponse Source #

Create a value of CreateVolumeResponse 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:

CreateVolumeResponse, createVolumeResponse_volume - Returned after a successful CreateVolume API operation, describing the volume just created.

$sel:httpStatus:CreateVolumeResponse', createVolumeResponse_httpStatus - The response's http status code.

Response Lenses

createVolumeResponse_volume :: Lens' CreateVolumeResponse (Maybe Volume) Source #

Returned after a successful CreateVolume API operation, describing the volume just created.