amazonka-opsworks-1.4.3: Amazon OpsWorks SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.OpsWorks.SetPermission

Contents

Description

Specifies a user's permissions. For more information, see Security and Permissions.

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

setPermission Source #

Creates a value of SetPermission with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data SetPermission Source #

See: setPermission smart constructor.

Instances

Eq SetPermission Source # 
Data SetPermission Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SetPermission -> c SetPermission #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SetPermission #

toConstr :: SetPermission -> Constr #

dataTypeOf :: SetPermission -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SetPermission) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SetPermission) #

gmapT :: (forall b. Data b => b -> b) -> SetPermission -> SetPermission #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SetPermission -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SetPermission -> r #

gmapQ :: (forall d. Data d => d -> u) -> SetPermission -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SetPermission -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SetPermission -> m SetPermission #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SetPermission -> m SetPermission #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SetPermission -> m SetPermission #

Read SetPermission Source # 
Show SetPermission Source # 
Generic SetPermission Source # 

Associated Types

type Rep SetPermission :: * -> * #

Hashable SetPermission Source # 
ToJSON SetPermission Source # 
NFData SetPermission Source # 

Methods

rnf :: SetPermission -> () #

AWSRequest SetPermission Source # 
ToQuery SetPermission Source # 
ToPath SetPermission Source # 
ToHeaders SetPermission Source # 
type Rep SetPermission Source # 
type Rep SetPermission = D1 (MetaData "SetPermission" "Network.AWS.OpsWorks.SetPermission" "amazonka-opsworks-1.4.3-BeJH4daCH1TAzAUbiglv2L" False) (C1 (MetaCons "SetPermission'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_spAllowSudo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_spLevel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_spAllowSSH") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_spStackId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_spIAMUserARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs SetPermission Source # 

Request Lenses

spAllowSudo :: Lens' SetPermission (Maybe Bool) Source #

The user is allowed to use sudo to elevate privileges.

spLevel :: Lens' SetPermission (Maybe Text) Source #

The user's permission level, which must be set to one of the following strings. You cannot set your own permissions level.

  • deny
  • show
  • deploy
  • manage
  • iam_only

For more information on the permissions associated with these levels, see Managing User Permissions.

spAllowSSH :: Lens' SetPermission (Maybe Bool) Source #

The user is allowed to use SSH to communicate with the instance.

Destructuring the Response

setPermissionResponse :: SetPermissionResponse Source #

Creates a value of SetPermissionResponse with the minimum fields required to make a request.

data SetPermissionResponse Source #

See: setPermissionResponse smart constructor.

Instances

Eq SetPermissionResponse Source # 
Data SetPermissionResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SetPermissionResponse -> c SetPermissionResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SetPermissionResponse #

toConstr :: SetPermissionResponse -> Constr #

dataTypeOf :: SetPermissionResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SetPermissionResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SetPermissionResponse) #

gmapT :: (forall b. Data b => b -> b) -> SetPermissionResponse -> SetPermissionResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SetPermissionResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SetPermissionResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> SetPermissionResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SetPermissionResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SetPermissionResponse -> m SetPermissionResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SetPermissionResponse -> m SetPermissionResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SetPermissionResponse -> m SetPermissionResponse #

Read SetPermissionResponse Source # 
Show SetPermissionResponse Source # 
Generic SetPermissionResponse Source # 
NFData SetPermissionResponse Source # 

Methods

rnf :: SetPermissionResponse -> () #

type Rep SetPermissionResponse Source # 
type Rep SetPermissionResponse = D1 (MetaData "SetPermissionResponse" "Network.AWS.OpsWorks.SetPermission" "amazonka-opsworks-1.4.3-BeJH4daCH1TAzAUbiglv2L" False) (C1 (MetaCons "SetPermissionResponse'" PrefixI False) U1)