libZSservicesZSamazonka-opsworksZSamazonka-opsworks
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.OpsWorks.AssignVolume

Description

Assigns one of the stack's registered Amazon EBS volumes to a specified instance. The volume must first be registered with the stack by calling RegisterVolume. After you register the volume, you must call UpdateVolume to specify a mount point before calling AssignVolume. For more information, see Resource Management.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

Synopsis

Creating a Request

data AssignVolume Source #

See: newAssignVolume smart constructor.

Constructors

AssignVolume' 

Fields

Instances

Instances details
Eq AssignVolume Source # 
Instance details

Defined in Amazonka.OpsWorks.AssignVolume

Read AssignVolume Source # 
Instance details

Defined in Amazonka.OpsWorks.AssignVolume

Show AssignVolume Source # 
Instance details

Defined in Amazonka.OpsWorks.AssignVolume

Generic AssignVolume Source # 
Instance details

Defined in Amazonka.OpsWorks.AssignVolume

Associated Types

type Rep AssignVolume :: Type -> Type #

NFData AssignVolume Source # 
Instance details

Defined in Amazonka.OpsWorks.AssignVolume

Methods

rnf :: AssignVolume -> () #

Hashable AssignVolume Source # 
Instance details

Defined in Amazonka.OpsWorks.AssignVolume

ToJSON AssignVolume Source # 
Instance details

Defined in Amazonka.OpsWorks.AssignVolume

AWSRequest AssignVolume Source # 
Instance details

Defined in Amazonka.OpsWorks.AssignVolume

Associated Types

type AWSResponse AssignVolume #

ToHeaders AssignVolume Source # 
Instance details

Defined in Amazonka.OpsWorks.AssignVolume

ToPath AssignVolume Source # 
Instance details

Defined in Amazonka.OpsWorks.AssignVolume

ToQuery AssignVolume Source # 
Instance details

Defined in Amazonka.OpsWorks.AssignVolume

type Rep AssignVolume Source # 
Instance details

Defined in Amazonka.OpsWorks.AssignVolume

type Rep AssignVolume = D1 ('MetaData "AssignVolume" "Amazonka.OpsWorks.AssignVolume" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "AssignVolume'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "volumeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse AssignVolume Source # 
Instance details

Defined in Amazonka.OpsWorks.AssignVolume

newAssignVolume Source #

Create a value of AssignVolume 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:instanceId:AssignVolume', assignVolume_instanceId - The instance ID.

$sel:volumeId:AssignVolume', assignVolume_volumeId - The volume ID.

Request Lenses

Destructuring the Response

data AssignVolumeResponse Source #

See: newAssignVolumeResponse smart constructor.

Constructors

AssignVolumeResponse' 

Instances

Instances details
Eq AssignVolumeResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.AssignVolume

Read AssignVolumeResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.AssignVolume

Show AssignVolumeResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.AssignVolume

Generic AssignVolumeResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.AssignVolume

Associated Types

type Rep AssignVolumeResponse :: Type -> Type #

NFData AssignVolumeResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.AssignVolume

Methods

rnf :: AssignVolumeResponse -> () #

type Rep AssignVolumeResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.AssignVolume

type Rep AssignVolumeResponse = D1 ('MetaData "AssignVolumeResponse" "Amazonka.OpsWorks.AssignVolume" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "AssignVolumeResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newAssignVolumeResponse :: AssignVolumeResponse Source #

Create a value of AssignVolumeResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.