amazonka-iam-1.4.5: Amazon Identity and Access Management 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.IAM

Contents

Description

AWS Identity and Access Management

AWS Identity and Access Management (IAM) is a web service that you can use to manage users and user permissions under your AWS account. This guide provides descriptions of IAM actions that you can call programmatically. For general information about IAM, see AWS Identity and Access Management (IAM) . For the user guide for IAM, see Using IAM .

We recommend that you use the AWS SDKs to make programmatic API calls to IAM. However, you can also use the IAM Query API to make direct calls to the IAM web service. To learn more about the IAM Query API, see Making Query Requests in the Using IAM guide. IAM supports GET and POST requests for all actions. That is, the API does not require you to use GET for some actions and POST for others. However, GET requests are subject to the limitation size of a URL. Therefore, for operations that require larger sizes, use a POST request.

Signing Requests

Requests must be signed using an access key ID and a secret access key. We strongly recommend that you do not use your AWS account access key ID and secret access key for everyday work with IAM. You can use the access key ID and secret access key for an IAM user or you can use the AWS Security Token Service to generate temporary security credentials and use those to sign requests.

To sign requests, we recommend that you use Signature Version 4 . If you have an existing application that uses Signature Version 2, you do not have to update it to use Signature Version 4. However, some operations now require Signature Version 4. The documentation for operations that require version 4 indicate this requirement.

Additional Resources

For more information, see the following:

  • AWS Security Credentials . This topic provides general information about the types of credentials used for accessing AWS.
  • IAM Best Practices . This topic presents a list of suggestions for using the IAM service to help secure your AWS resources.
  • Signing AWS API Requests . This set of topics walk you through the process of signing a request using an access key ID and secret access key.

Synopsis

Service Configuration

iam :: Service #

API version 2010-05-08 of the Amazon Identity and Access Management SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by IAM.

CredentialReportNotPresentException

_CredentialReportNotPresentException :: AsError a => Getting (First ServiceError) a ServiceError #

The request was rejected because the credential report does not exist. To generate a credential report, use GenerateCredentialReport .

CredentialReportNotReadyException

_CredentialReportNotReadyException :: AsError a => Getting (First ServiceError) a ServiceError #

The request was rejected because the credential report is still being generated.

MalformedPolicyDocumentException

_MalformedPolicyDocumentException :: AsError a => Getting (First ServiceError) a ServiceError #

The request was rejected because the policy document was malformed. The error message describes the specific error.

EntityAlreadyExistsException

_EntityAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError #

The request was rejected because it attempted to create a resource that already exists.

MalformedCertificateException

_MalformedCertificateException :: AsError a => Getting (First ServiceError) a ServiceError #

The request was rejected because the certificate was malformed or expired. The error message describes the specific error.

CredentialReportExpiredException

_CredentialReportExpiredException :: AsError a => Getting (First ServiceError) a ServiceError #

The request was rejected because the most recent credential report has expired. To generate a new credential report, use GenerateCredentialReport . For more information about credential report expiration, see Getting Credential Reports in the IAM User Guide .

DuplicateCertificateException

_DuplicateCertificateException :: AsError a => Getting (First ServiceError) a ServiceError #

The request was rejected because the same certificate is associated with an IAM user in the account.

DeleteConflictException

_DeleteConflictException :: AsError a => Getting (First ServiceError) a ServiceError #

The request was rejected because it attempted to delete a resource that has attached subordinate entities. The error message describes these entities.

NoSuchEntityException

_NoSuchEntityException :: AsError a => Getting (First ServiceError) a ServiceError #

The request was rejected because it referenced an entity that does not exist. The error message describes the entity.

InvalidCertificateException

_InvalidCertificateException :: AsError a => Getting (First ServiceError) a ServiceError #

The request was rejected because the certificate is invalid.

UnrecognizedPublicKeyEncodingException

_UnrecognizedPublicKeyEncodingException :: AsError a => Getting (First ServiceError) a ServiceError #

The request was rejected because the public key encoding format is unsupported or unrecognized.

InvalidUserTypeException

_InvalidUserTypeException :: AsError a => Getting (First ServiceError) a ServiceError #

The request was rejected because the type of user for the transaction was incorrect.

ServiceFailureException

_ServiceFailureException :: AsError a => Getting (First ServiceError) a ServiceError #

The request processing has failed because of an unknown error, exception or failure.

InvalidInputException

_InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError #

The request was rejected because an invalid or out-of-range value was supplied for an input parameter.

InvalidPublicKeyException

_InvalidPublicKeyException :: AsError a => Getting (First ServiceError) a ServiceError #

The request was rejected because the public key is malformed or otherwise invalid.

InvalidAuthenticationCodeException

_InvalidAuthenticationCodeException :: AsError a => Getting (First ServiceError) a ServiceError #

The request was rejected because the authentication code was not recognized. The error message describes the specific error.

EntityTemporarilyUnmodifiableException

_EntityTemporarilyUnmodifiableException :: AsError a => Getting (First ServiceError) a ServiceError #

The request was rejected because it referenced an entity that is temporarily unmodifiable, such as a user name that was deleted and then recreated. The error indicates that the request is likely to succeed if you try again after waiting several minutes. The error message describes the entity.

DuplicateSSHPublicKeyException

_DuplicateSSHPublicKeyException :: AsError a => Getting (First ServiceError) a ServiceError #

The request was rejected because the SSH public key is already associated with the specified IAM user.

KeyPairMismatchException

_KeyPairMismatchException :: AsError a => Getting (First ServiceError) a ServiceError #

The request was rejected because the public key certificate and the private key do not match.

PolicyEvaluationException

_PolicyEvaluationException :: AsError a => Getting (First ServiceError) a ServiceError #

The request failed because a provided policy could not be successfully evaluated. An additional detail message indicates the source of the failure.

PasswordPolicyViolationException

_PasswordPolicyViolationException :: AsError a => Getting (First ServiceError) a ServiceError #

The request was rejected because the provided password did not meet the requirements imposed by the account password policy.

LimitExceededException

_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError #

The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

InstanceProfileExists

instanceProfileExists :: Wait GetInstanceProfile #

Polls GetInstanceProfile every 1 seconds until a successful state is reached. An error is returned after 40 failed checks.

UserExists

userExists :: Wait GetUser #

Polls GetUser every 1 seconds until a successful state is reached. An error is returned after 20 failed checks.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

GetContextKeysForPrincipalPolicy

ListPolicies (Paginated)

CreatePolicy

ListInstanceProfilesForRole (Paginated)

AttachGroupPolicy

CreateAccessKey

ListSSHPublicKeys (Paginated)

ListOpenIdConnectProviders

CreateVirtualMFADevice

DeleteAccountPasswordPolicy

UpdateAccountPasswordPolicy

AttachRolePolicy

UpdateSSHPublicKey

DeleteSSHPublicKey

GetUserPolicy

ListAttachedRolePolicies (Paginated)

GetRole

DeactivateMFADevice

CreateOpenIdConnectProvider

DeleteVirtualMFADevice

ListRoles (Paginated)

ListUserPolicies (Paginated)

UploadSSHPublicKey

SimulateCustomPolicy (Paginated)

DeleteRole

ListUsers (Paginated)

UpdateOpenIdConnectProviderThumbprint

PutUserPolicy

GetSSHPublicKey

DetachGroupPolicy

GetOpenIdConnectProvider

DeleteUserPolicy

CreateRole

GetCredentialReport

GetAccountSummary

ListGroupPolicies (Paginated)

DeletePolicyVersion

DeleteInstanceProfile

DetachRolePolicy

RemoveRoleFromInstanceProfile

CreatePolicyVersion

CreateInstanceProfile

CreateSAMLProvider

GetAccountAuthorizationDetails (Paginated)

DeleteAccountAlias

DetachUserPolicy

RemoveUserFromGroup

DeleteGroupPolicy

PutGroupPolicy

GetLoginProfile

GetGroupPolicy

ChangePassword

ListServerCertificates (Paginated)

DeletePolicy

UpdateAssumeRolePolicy

GetInstanceProfile

CreateLoginProfile

GetSAMLProvider

AddRoleToInstanceProfile

ListGroupsForUser (Paginated)

ListEntitiesForPolicy (Paginated)

AddUserToGroup

SimulatePrincipalPolicy (Paginated)

GetPolicyVersion

DeleteOpenIdConnectProvider

GetUser

ListSigningCertificates (Paginated)

DeleteSigningCertificate

UpdateSigningCertificate

ListAttachedUserPolicies (Paginated)

RemoveClientIdFromOpenIdConnectProvider

AttachUserPolicy

ListVirtualMFADevices (Paginated)

ResyncMFADevice

DeleteAccessKey

UpdateAccessKey

ListAccessKeys (Paginated)

GetRolePolicy

CreateUser

PutRolePolicy

GetContextKeysForCustomPolicy

UploadSigningCertificate

DeleteRolePolicy

GetAccountPasswordPolicy

GetAccessKeyLastUsed

UpdateUser

DeleteUser

AddClientIdToOpenIdConnectProvider

ListRolePolicies (Paginated)

CreateAccountAlias

ListInstanceProfiles (Paginated)

EnableMFADevice

ListAccountAliases (Paginated)

DeleteSAMLProvider

UpdateSAMLProvider

CreateGroup

ListMFADevices (Paginated)

UploadServerCertificate

SetDefaultPolicyVersion

ListPolicyVersions (Paginated)

ListSAMLProviders

GetServerCertificate

DeleteGroup

UpdateGroup

ListGroups (Paginated)

GenerateCredentialReport

GetPolicy

UpdateLoginProfile

DeleteLoginProfile

GetGroup (Paginated)

DeleteServerCertificate

UpdateServerCertificate

ListAttachedGroupPolicies (Paginated)

Types

AssignmentStatusType

data AssignmentStatusType #

Constructors

Any 
Assigned 
Unassigned 

Instances

Bounded AssignmentStatusType # 
Enum AssignmentStatusType # 
Eq AssignmentStatusType # 
Data AssignmentStatusType # 

Methods

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

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

toConstr :: AssignmentStatusType -> Constr #

dataTypeOf :: AssignmentStatusType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord AssignmentStatusType # 
Read AssignmentStatusType # 
Show AssignmentStatusType # 
Generic AssignmentStatusType # 
Hashable AssignmentStatusType # 
NFData AssignmentStatusType # 

Methods

rnf :: AssignmentStatusType -> () #

ToQuery AssignmentStatusType # 
ToHeader AssignmentStatusType # 
ToByteString AssignmentStatusType # 
FromText AssignmentStatusType # 
ToText AssignmentStatusType # 
type Rep AssignmentStatusType # 
type Rep AssignmentStatusType = D1 (MetaData "AssignmentStatusType" "Network.AWS.IAM.Types.Sum" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) ((:+:) (C1 (MetaCons "Any" PrefixI False) U1) ((:+:) (C1 (MetaCons "Assigned" PrefixI False) U1) (C1 (MetaCons "Unassigned" PrefixI False) U1)))

ContextKeyTypeEnum

data ContextKeyTypeEnum #

Instances

Bounded ContextKeyTypeEnum # 
Enum ContextKeyTypeEnum # 
Eq ContextKeyTypeEnum # 
Data ContextKeyTypeEnum # 

Methods

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

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

toConstr :: ContextKeyTypeEnum -> Constr #

dataTypeOf :: ContextKeyTypeEnum -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ContextKeyTypeEnum # 
Read ContextKeyTypeEnum # 
Show ContextKeyTypeEnum # 
Generic ContextKeyTypeEnum # 
Hashable ContextKeyTypeEnum # 
NFData ContextKeyTypeEnum # 

Methods

rnf :: ContextKeyTypeEnum -> () #

ToQuery ContextKeyTypeEnum # 
ToHeader ContextKeyTypeEnum # 
ToByteString ContextKeyTypeEnum # 
FromText ContextKeyTypeEnum # 
ToText ContextKeyTypeEnum # 
type Rep ContextKeyTypeEnum # 
type Rep ContextKeyTypeEnum = D1 (MetaData "ContextKeyTypeEnum" "Network.AWS.IAM.Types.Sum" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "Binary" PrefixI False) U1) ((:+:) (C1 (MetaCons "BinaryList" PrefixI False) U1) (C1 (MetaCons "Boolean" PrefixI False) U1))) ((:+:) (C1 (MetaCons "BooleanList" PrefixI False) U1) ((:+:) (C1 (MetaCons "Date" PrefixI False) U1) (C1 (MetaCons "DateList" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "IP" PrefixI False) U1) ((:+:) (C1 (MetaCons "IPList" PrefixI False) U1) (C1 (MetaCons "Numeric" PrefixI False) U1))) ((:+:) (C1 (MetaCons "NumericList" PrefixI False) U1) ((:+:) (C1 (MetaCons "String" PrefixI False) U1) (C1 (MetaCons "StringList" PrefixI False) U1)))))

EncodingType

data EncodingType #

Constructors

Pem 
SSH 

Instances

Bounded EncodingType # 
Enum EncodingType # 
Eq EncodingType # 
Data EncodingType # 

Methods

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

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

toConstr :: EncodingType -> Constr #

dataTypeOf :: EncodingType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord EncodingType # 
Read EncodingType # 
Show EncodingType # 
Generic EncodingType # 

Associated Types

type Rep EncodingType :: * -> * #

Hashable EncodingType # 
NFData EncodingType # 

Methods

rnf :: EncodingType -> () #

ToQuery EncodingType # 
ToHeader EncodingType # 
ToByteString EncodingType # 
FromText EncodingType # 
ToText EncodingType # 

Methods

toText :: EncodingType -> Text #

type Rep EncodingType # 
type Rep EncodingType = D1 (MetaData "EncodingType" "Network.AWS.IAM.Types.Sum" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) ((:+:) (C1 (MetaCons "Pem" PrefixI False) U1) (C1 (MetaCons "SSH" PrefixI False) U1))

EntityType

data EntityType #

Instances

Bounded EntityType # 
Enum EntityType # 
Eq EntityType # 
Data EntityType # 

Methods

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

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

toConstr :: EntityType -> Constr #

dataTypeOf :: EntityType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord EntityType # 
Read EntityType # 
Show EntityType # 
Generic EntityType # 

Associated Types

type Rep EntityType :: * -> * #

Hashable EntityType # 
NFData EntityType # 

Methods

rnf :: EntityType -> () #

ToQuery EntityType # 
ToHeader EntityType # 
ToByteString EntityType # 
FromText EntityType # 
ToText EntityType # 

Methods

toText :: EntityType -> Text #

type Rep EntityType # 
type Rep EntityType = D1 (MetaData "EntityType" "Network.AWS.IAM.Types.Sum" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) ((:+:) ((:+:) (C1 (MetaCons "ETAWSManagedPolicy" PrefixI False) U1) (C1 (MetaCons "ETGroup" PrefixI False) U1)) ((:+:) (C1 (MetaCons "ETLocalManagedPolicy" PrefixI False) U1) ((:+:) (C1 (MetaCons "ETRole" PrefixI False) U1) (C1 (MetaCons "ETUser" PrefixI False) U1))))

PolicyEvaluationDecisionType

data PolicyEvaluationDecisionType #

Instances

Bounded PolicyEvaluationDecisionType # 
Enum PolicyEvaluationDecisionType # 
Eq PolicyEvaluationDecisionType # 
Data PolicyEvaluationDecisionType # 

Methods

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

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

toConstr :: PolicyEvaluationDecisionType -> Constr #

dataTypeOf :: PolicyEvaluationDecisionType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord PolicyEvaluationDecisionType # 
Read PolicyEvaluationDecisionType # 
Show PolicyEvaluationDecisionType # 
Generic PolicyEvaluationDecisionType # 
Hashable PolicyEvaluationDecisionType # 
NFData PolicyEvaluationDecisionType # 
FromXML PolicyEvaluationDecisionType # 
ToQuery PolicyEvaluationDecisionType # 
ToHeader PolicyEvaluationDecisionType # 
ToByteString PolicyEvaluationDecisionType # 
FromText PolicyEvaluationDecisionType # 
ToText PolicyEvaluationDecisionType # 
type Rep PolicyEvaluationDecisionType # 
type Rep PolicyEvaluationDecisionType = D1 (MetaData "PolicyEvaluationDecisionType" "Network.AWS.IAM.Types.Sum" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) ((:+:) (C1 (MetaCons "Allowed" PrefixI False) U1) ((:+:) (C1 (MetaCons "ExplicitDeny" PrefixI False) U1) (C1 (MetaCons "ImplicitDeny" PrefixI False) U1)))

PolicyScopeType

data PolicyScopeType #

Constructors

AWS 
All 
Local 

Instances

Bounded PolicyScopeType # 
Enum PolicyScopeType # 
Eq PolicyScopeType # 
Data PolicyScopeType # 

Methods

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

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

toConstr :: PolicyScopeType -> Constr #

dataTypeOf :: PolicyScopeType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord PolicyScopeType # 
Read PolicyScopeType # 
Show PolicyScopeType # 
Generic PolicyScopeType # 
Hashable PolicyScopeType # 
NFData PolicyScopeType # 

Methods

rnf :: PolicyScopeType -> () #

ToQuery PolicyScopeType # 
ToHeader PolicyScopeType # 
ToByteString PolicyScopeType # 
FromText PolicyScopeType # 
ToText PolicyScopeType # 
type Rep PolicyScopeType # 
type Rep PolicyScopeType = D1 (MetaData "PolicyScopeType" "Network.AWS.IAM.Types.Sum" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) ((:+:) (C1 (MetaCons "AWS" PrefixI False) U1) ((:+:) (C1 (MetaCons "All" PrefixI False) U1) (C1 (MetaCons "Local" PrefixI False) U1)))

PolicySourceType

data PolicySourceType #

Instances

Bounded PolicySourceType # 
Enum PolicySourceType # 
Eq PolicySourceType # 
Data PolicySourceType # 

Methods

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

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

toConstr :: PolicySourceType -> Constr #

dataTypeOf :: PolicySourceType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord PolicySourceType # 
Read PolicySourceType # 
Show PolicySourceType # 
Generic PolicySourceType # 
Hashable PolicySourceType # 
NFData PolicySourceType # 

Methods

rnf :: PolicySourceType -> () #

FromXML PolicySourceType # 
ToQuery PolicySourceType # 
ToHeader PolicySourceType # 
ToByteString PolicySourceType # 
FromText PolicySourceType # 
ToText PolicySourceType # 
type Rep PolicySourceType # 
type Rep PolicySourceType = D1 (MetaData "PolicySourceType" "Network.AWS.IAM.Types.Sum" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) ((:+:) ((:+:) (C1 (MetaCons "AWSManaged" PrefixI False) U1) ((:+:) (C1 (MetaCons "Group" PrefixI False) U1) (C1 (MetaCons "None" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "Resource" PrefixI False) U1) (C1 (MetaCons "Role" PrefixI False) U1)) ((:+:) (C1 (MetaCons "User" PrefixI False) U1) (C1 (MetaCons "UserManaged" PrefixI False) U1))))

ReportFormatType

data ReportFormatType #

Constructors

TextCSV 

Instances

Bounded ReportFormatType # 
Enum ReportFormatType # 
Eq ReportFormatType # 
Data ReportFormatType # 

Methods

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

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

toConstr :: ReportFormatType -> Constr #

dataTypeOf :: ReportFormatType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ReportFormatType # 
Read ReportFormatType # 
Show ReportFormatType # 
Generic ReportFormatType # 
Hashable ReportFormatType # 
NFData ReportFormatType # 

Methods

rnf :: ReportFormatType -> () #

FromXML ReportFormatType # 
ToQuery ReportFormatType # 
ToHeader ReportFormatType # 
ToByteString ReportFormatType # 
FromText ReportFormatType # 
ToText ReportFormatType # 
type Rep ReportFormatType # 
type Rep ReportFormatType = D1 (MetaData "ReportFormatType" "Network.AWS.IAM.Types.Sum" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "TextCSV" PrefixI False) U1)

ReportStateType

data ReportStateType #

Constructors

Complete 
Inprogress 
Started 

Instances

Bounded ReportStateType # 
Enum ReportStateType # 
Eq ReportStateType # 
Data ReportStateType # 

Methods

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

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

toConstr :: ReportStateType -> Constr #

dataTypeOf :: ReportStateType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ReportStateType # 
Read ReportStateType # 
Show ReportStateType # 
Generic ReportStateType # 
Hashable ReportStateType # 
NFData ReportStateType # 

Methods

rnf :: ReportStateType -> () #

FromXML ReportStateType # 
ToQuery ReportStateType # 
ToHeader ReportStateType # 
ToByteString ReportStateType # 
FromText ReportStateType # 
ToText ReportStateType # 
type Rep ReportStateType # 
type Rep ReportStateType = D1 (MetaData "ReportStateType" "Network.AWS.IAM.Types.Sum" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) ((:+:) (C1 (MetaCons "Complete" PrefixI False) U1) ((:+:) (C1 (MetaCons "Inprogress" PrefixI False) U1) (C1 (MetaCons "Started" PrefixI False) U1)))

StatusType

data StatusType #

Constructors

Active 
Inactive 

Instances

Bounded StatusType # 
Enum StatusType # 
Eq StatusType # 
Data StatusType # 

Methods

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

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

toConstr :: StatusType -> Constr #

dataTypeOf :: StatusType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord StatusType # 
Read StatusType # 
Show StatusType # 
Generic StatusType # 

Associated Types

type Rep StatusType :: * -> * #

Hashable StatusType # 
NFData StatusType # 

Methods

rnf :: StatusType -> () #

FromXML StatusType # 
ToQuery StatusType # 
ToHeader StatusType # 
ToByteString StatusType # 
FromText StatusType # 
ToText StatusType # 

Methods

toText :: StatusType -> Text #

type Rep StatusType # 
type Rep StatusType = D1 (MetaData "StatusType" "Network.AWS.IAM.Types.Sum" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) ((:+:) (C1 (MetaCons "Active" PrefixI False) U1) (C1 (MetaCons "Inactive" PrefixI False) U1))

SummaryKeyType

data SummaryKeyType #

Instances

Bounded SummaryKeyType # 
Enum SummaryKeyType # 
Eq SummaryKeyType # 
Data SummaryKeyType # 

Methods

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

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

toConstr :: SummaryKeyType -> Constr #

dataTypeOf :: SummaryKeyType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord SummaryKeyType # 
Read SummaryKeyType # 
Show SummaryKeyType # 
Generic SummaryKeyType # 

Associated Types

type Rep SummaryKeyType :: * -> * #

Hashable SummaryKeyType # 
NFData SummaryKeyType # 

Methods

rnf :: SummaryKeyType -> () #

FromXML SummaryKeyType # 
ToQuery SummaryKeyType # 
ToHeader SummaryKeyType # 
ToByteString SummaryKeyType # 
FromText SummaryKeyType # 
ToText SummaryKeyType # 
type Rep SummaryKeyType # 
type Rep SummaryKeyType = D1 (MetaData "SummaryKeyType" "Network.AWS.IAM.Types.Sum" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) ((:+:) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "AccessKeysPerUserQuota" PrefixI False) U1) ((:+:) (C1 (MetaCons "AccountAccessKeysPresent" PrefixI False) U1) (C1 (MetaCons "AccountMFAEnabled" PrefixI False) U1))) ((:+:) (C1 (MetaCons "AccountSigningCertificatesPresent" PrefixI False) U1) ((:+:) (C1 (MetaCons "AttachedPoliciesPerGroupQuota" PrefixI False) U1) (C1 (MetaCons "AttachedPoliciesPerRoleQuota" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "AttachedPoliciesPerUserQuota" PrefixI False) U1) ((:+:) (C1 (MetaCons "GroupPolicySizeQuota" PrefixI False) U1) (C1 (MetaCons "Groups" PrefixI False) U1))) ((:+:) (C1 (MetaCons "GroupsPerUserQuota" PrefixI False) U1) ((:+:) (C1 (MetaCons "GroupsQuota" PrefixI False) U1) (C1 (MetaCons "MFADevices" PrefixI False) U1))))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "MFADevicesInUse" PrefixI False) U1) ((:+:) (C1 (MetaCons "Policies" PrefixI False) U1) (C1 (MetaCons "PoliciesQuota" PrefixI False) U1))) ((:+:) (C1 (MetaCons "PolicySizeQuota" PrefixI False) U1) ((:+:) (C1 (MetaCons "PolicyVersionsInUse" PrefixI False) U1) (C1 (MetaCons "PolicyVersionsInUseQuota" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "ServerCertificates" PrefixI False) U1) ((:+:) (C1 (MetaCons "ServerCertificatesQuota" PrefixI False) U1) (C1 (MetaCons "SigningCertificatesPerUserQuota" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "UserPolicySizeQuota" PrefixI False) U1) (C1 (MetaCons "Users" PrefixI False) U1)) ((:+:) (C1 (MetaCons "UsersQuota" PrefixI False) U1) (C1 (MetaCons "VersionsPerPolicyQuota" PrefixI False) U1))))))

AccessKey

data AccessKey #

Contains information about an AWS access key.

This data type is used as a response element in the CreateAccessKey and ListAccessKeys actions.

See: accessKey smart constructor.

Instances

Eq AccessKey # 
Data AccessKey # 

Methods

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

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

toConstr :: AccessKey -> Constr #

dataTypeOf :: AccessKey -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AccessKey # 
Show AccessKey # 
Generic AccessKey # 

Associated Types

type Rep AccessKey :: * -> * #

Hashable AccessKey # 
NFData AccessKey # 

Methods

rnf :: AccessKey -> () #

FromXML AccessKey # 
type Rep AccessKey # 
type Rep AccessKey = D1 (MetaData "AccessKey" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "AccessKey'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_akCreateDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) (S1 (MetaSel (Just Symbol "_akUserName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_akAccessKeyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_akStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 StatusType)) (S1 (MetaSel (Just Symbol "_akSecretAccessKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive Text)))))))

accessKey #

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

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

  • akCreateDate - The date when the access key was created.
  • akUserName - The name of the IAM user that the access key is associated with.
  • akAccessKeyId - The ID for this access key.
  • akStatus - The status of the access key. Active means the key is valid for API calls, while Inactive means it is not.
  • akSecretAccessKey - The secret key used to sign requests.

akCreateDate :: Lens' AccessKey (Maybe UTCTime) #

The date when the access key was created.

akUserName :: Lens' AccessKey Text #

The name of the IAM user that the access key is associated with.

akAccessKeyId :: Lens' AccessKey Text #

The ID for this access key.

akStatus :: Lens' AccessKey StatusType #

The status of the access key. Active means the key is valid for API calls, while Inactive means it is not.

akSecretAccessKey :: Lens' AccessKey Text #

The secret key used to sign requests.

AccessKeyLastUsed

data AccessKeyLastUsed #

Contains information about the last time an AWS access key was used.

This data type is used as a response element in the GetAccessKeyLastUsed action.

See: accessKeyLastUsed smart constructor.

Instances

Eq AccessKeyLastUsed # 
Data AccessKeyLastUsed # 

Methods

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

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

toConstr :: AccessKeyLastUsed -> Constr #

dataTypeOf :: AccessKeyLastUsed -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AccessKeyLastUsed # 
Show AccessKeyLastUsed # 
Generic AccessKeyLastUsed # 
Hashable AccessKeyLastUsed # 
NFData AccessKeyLastUsed # 

Methods

rnf :: AccessKeyLastUsed -> () #

FromXML AccessKeyLastUsed # 
type Rep AccessKeyLastUsed # 
type Rep AccessKeyLastUsed = D1 (MetaData "AccessKeyLastUsed" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "AccessKeyLastUsed'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_akluLastUsedDate") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 ISO8601)) ((:*:) (S1 (MetaSel (Just Symbol "_akluServiceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_akluRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

accessKeyLastUsed #

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

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

  • akluLastUsedDate - The date and time, in ISO 8601 date-time format , when the access key was most recently used. This field is null when: * The user does not have an access key. * An access key exists but has never been used, at least not since IAM started tracking this information on April 22nd, 2015. * There is no sign-in data associated with the user
  • akluServiceName - The name of the AWS service with which this access key was most recently used. This field is null when: * The user does not have an access key. * An access key exists but has never been used, at least not since IAM started tracking this information on April 22nd, 2015. * There is no sign-in data associated with the user
  • akluRegion - The AWS region where this access key was most recently used. This field is null when: * The user does not have an access key. * An access key exists but has never been used, at least not since IAM started tracking this information on April 22nd, 2015. * There is no sign-in data associated with the user For more information about AWS regions, see Regions and Endpoints in the Amazon Web Services General Reference.

akluLastUsedDate :: Lens' AccessKeyLastUsed UTCTime #

The date and time, in ISO 8601 date-time format , when the access key was most recently used. This field is null when: * The user does not have an access key. * An access key exists but has never been used, at least not since IAM started tracking this information on April 22nd, 2015. * There is no sign-in data associated with the user

akluServiceName :: Lens' AccessKeyLastUsed Text #

The name of the AWS service with which this access key was most recently used. This field is null when: * The user does not have an access key. * An access key exists but has never been used, at least not since IAM started tracking this information on April 22nd, 2015. * There is no sign-in data associated with the user

akluRegion :: Lens' AccessKeyLastUsed Text #

The AWS region where this access key was most recently used. This field is null when: * The user does not have an access key. * An access key exists but has never been used, at least not since IAM started tracking this information on April 22nd, 2015. * There is no sign-in data associated with the user For more information about AWS regions, see Regions and Endpoints in the Amazon Web Services General Reference.

AccessKeyMetadata

data AccessKeyMetadata #

Contains information about an AWS access key, without its secret key.

This data type is used as a response element in the ListAccessKeys action.

See: accessKeyMetadata smart constructor.

Instances

Eq AccessKeyMetadata # 
Data AccessKeyMetadata # 

Methods

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

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

toConstr :: AccessKeyMetadata -> Constr #

dataTypeOf :: AccessKeyMetadata -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AccessKeyMetadata # 
Show AccessKeyMetadata # 
Generic AccessKeyMetadata # 
Hashable AccessKeyMetadata # 
NFData AccessKeyMetadata # 

Methods

rnf :: AccessKeyMetadata -> () #

FromXML AccessKeyMetadata # 
type Rep AccessKeyMetadata # 
type Rep AccessKeyMetadata = D1 (MetaData "AccessKeyMetadata" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "AccessKeyMetadata'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_akmStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StatusType))) (S1 (MetaSel (Just Symbol "_akmCreateDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601)))) ((:*:) (S1 (MetaSel (Just Symbol "_akmUserName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_akmAccessKeyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

accessKeyMetadata :: AccessKeyMetadata #

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

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

  • akmStatus - The status of the access key. Active means the key is valid for API calls; Inactive means it is not.
  • akmCreateDate - The date when the access key was created.
  • akmUserName - The name of the IAM user that the key is associated with.
  • akmAccessKeyId - The ID for this access key.

akmStatus :: Lens' AccessKeyMetadata (Maybe StatusType) #

The status of the access key. Active means the key is valid for API calls; Inactive means it is not.

akmCreateDate :: Lens' AccessKeyMetadata (Maybe UTCTime) #

The date when the access key was created.

akmUserName :: Lens' AccessKeyMetadata (Maybe Text) #

The name of the IAM user that the key is associated with.

akmAccessKeyId :: Lens' AccessKeyMetadata (Maybe Text) #

The ID for this access key.

AttachedPolicy

data AttachedPolicy #

Contains information about an attached policy.

An attached policy is a managed policy that has been attached to a user, group, or role. This data type is used as a response element in the ListAttachedGroupPolicies , ListAttachedRolePolicies , ListAttachedUserPolicies , and GetAccountAuthorizationDetails actions.

For more information about managed policies, refer to Managed Policies and Inline Policies in the Using IAM guide.

See: attachedPolicy smart constructor.

Instances

Eq AttachedPolicy # 
Data AttachedPolicy # 

Methods

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

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

toConstr :: AttachedPolicy -> Constr #

dataTypeOf :: AttachedPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AttachedPolicy # 
Show AttachedPolicy # 
Generic AttachedPolicy # 

Associated Types

type Rep AttachedPolicy :: * -> * #

Hashable AttachedPolicy # 
NFData AttachedPolicy # 

Methods

rnf :: AttachedPolicy -> () #

FromXML AttachedPolicy # 
type Rep AttachedPolicy # 
type Rep AttachedPolicy = D1 (MetaData "AttachedPolicy" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "AttachedPolicy'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_apPolicyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_apPolicyARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

attachedPolicy :: AttachedPolicy #

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

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

apPolicyName :: Lens' AttachedPolicy (Maybe Text) #

The friendly name of the attached policy.

apPolicyARN :: Lens' AttachedPolicy (Maybe Text) #

Undocumented member.

ContextEntry

data ContextEntry #

Contains information about a condition context key. It includes the name of the key and specifies the value (or values, if the context key supports multiple values) to use in the simulation. This information is used when evaluating the Condition elements of the input policies.

This data type is used as an input parameter to SimulateCustomPolicy and SimulateCustomPolicy .

See: contextEntry smart constructor.

Instances

Eq ContextEntry # 
Data ContextEntry # 

Methods

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

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

toConstr :: ContextEntry -> Constr #

dataTypeOf :: ContextEntry -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ContextEntry # 
Show ContextEntry # 
Generic ContextEntry # 

Associated Types

type Rep ContextEntry :: * -> * #

Hashable ContextEntry # 
NFData ContextEntry # 

Methods

rnf :: ContextEntry -> () #

ToQuery ContextEntry # 
type Rep ContextEntry # 
type Rep ContextEntry = D1 (MetaData "ContextEntry" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "ContextEntry'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ceContextKeyValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_ceContextKeyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ceContextKeyType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ContextKeyTypeEnum))))))

contextEntry :: ContextEntry #

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

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

  • ceContextKeyValues - The value (or values, if the condition context key supports multiple values) to provide to the simulation for use when the key is referenced by a Condition element in an input policy.
  • ceContextKeyName - The full name of a condition context key, including the service prefix. For example, aws:SourceIp or s3:VersionId .
  • ceContextKeyType - The data type of the value (or values) specified in the ContextKeyValues parameter.

ceContextKeyValues :: Lens' ContextEntry [Text] #

The value (or values, if the condition context key supports multiple values) to provide to the simulation for use when the key is referenced by a Condition element in an input policy.

ceContextKeyName :: Lens' ContextEntry (Maybe Text) #

The full name of a condition context key, including the service prefix. For example, aws:SourceIp or s3:VersionId .

ceContextKeyType :: Lens' ContextEntry (Maybe ContextKeyTypeEnum) #

The data type of the value (or values) specified in the ContextKeyValues parameter.

EvaluationResult

data EvaluationResult #

Contains the results of a simulation.

This data type is used by the return parameter of SimulateCustomPolicy and SimulatePrincipalPolicy .

See: evaluationResult smart constructor.

Instances

Eq EvaluationResult # 
Data EvaluationResult # 

Methods

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

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

toConstr :: EvaluationResult -> Constr #

dataTypeOf :: EvaluationResult -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EvaluationResult # 
Show EvaluationResult # 
Generic EvaluationResult # 
Hashable EvaluationResult # 
NFData EvaluationResult # 

Methods

rnf :: EvaluationResult -> () #

FromXML EvaluationResult # 
type Rep EvaluationResult # 

evaluationResult #

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

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

  • erMatchedStatements - A list of the statements in the input policies that determine the result for this scenario. Remember that even if multiple statements allow the action on the resource, if only one statement denies that action, then the explicit deny overrides any allow, and the deny statement is the only entry included in the result.
  • erEvalDecisionDetails - Additional details about the results of the evaluation decision. When there are both IAM policies and resource policies, this parameter explains how each set of policies contributes to the final evaluation decision. When simulating cross-account access to a resource, both the resource-based policy and the caller's IAM policy must grant access. See How IAM Roles Differ from Resource-based Policies
  • erResourceSpecificResults - The individual results of the simulation of the API action specified in EvalActionName on each resource.
  • erEvalResourceName - The ARN of the resource that the indicated API action was tested on.
  • erMissingContextValues - A list of context keys that are required by the included input policies but that were not provided by one of the input parameters. This list is used when the resource in a simulation is "*", either explicitly, or when the ResourceArns parameter blank. If you include a list of resources, then any missing context values are instead included under the ResourceSpecificResults section. To discover the context keys used by a set of policies, you can call GetContextKeysForCustomPolicy or GetContextKeysForPrincipalPolicy .
  • erEvalActionName - The name of the API action tested on the indicated resource.
  • erEvalDecision - The result of the simulation.

erMatchedStatements :: Lens' EvaluationResult [Statement] #

A list of the statements in the input policies that determine the result for this scenario. Remember that even if multiple statements allow the action on the resource, if only one statement denies that action, then the explicit deny overrides any allow, and the deny statement is the only entry included in the result.

erEvalDecisionDetails :: Lens' EvaluationResult (HashMap Text PolicyEvaluationDecisionType) #

Additional details about the results of the evaluation decision. When there are both IAM policies and resource policies, this parameter explains how each set of policies contributes to the final evaluation decision. When simulating cross-account access to a resource, both the resource-based policy and the caller's IAM policy must grant access. See How IAM Roles Differ from Resource-based Policies

erResourceSpecificResults :: Lens' EvaluationResult [ResourceSpecificResult] #

The individual results of the simulation of the API action specified in EvalActionName on each resource.

erEvalResourceName :: Lens' EvaluationResult (Maybe Text) #

The ARN of the resource that the indicated API action was tested on.

erMissingContextValues :: Lens' EvaluationResult [Text] #

A list of context keys that are required by the included input policies but that were not provided by one of the input parameters. This list is used when the resource in a simulation is "*", either explicitly, or when the ResourceArns parameter blank. If you include a list of resources, then any missing context values are instead included under the ResourceSpecificResults section. To discover the context keys used by a set of policies, you can call GetContextKeysForCustomPolicy or GetContextKeysForPrincipalPolicy .

erEvalActionName :: Lens' EvaluationResult Text #

The name of the API action tested on the indicated resource.

GetContextKeysForPolicyResponse

data GetContextKeysForPolicyResponse #

Contains the response to a successful GetContextKeysForPrincipalPolicy or GetContextKeysForCustomPolicy request.

See: getContextKeysForPolicyResponse smart constructor.

Instances

Eq GetContextKeysForPolicyResponse # 
Data GetContextKeysForPolicyResponse # 

Methods

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

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

toConstr :: GetContextKeysForPolicyResponse -> Constr #

dataTypeOf :: GetContextKeysForPolicyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetContextKeysForPolicyResponse # 
Show GetContextKeysForPolicyResponse # 
Generic GetContextKeysForPolicyResponse # 
Hashable GetContextKeysForPolicyResponse # 
NFData GetContextKeysForPolicyResponse # 
FromXML GetContextKeysForPolicyResponse # 
type Rep GetContextKeysForPolicyResponse # 
type Rep GetContextKeysForPolicyResponse = D1 (MetaData "GetContextKeysForPolicyResponse" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" True) (C1 (MetaCons "GetContextKeysForPolicyResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_gckfpContextKeyNames") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

getContextKeysForPolicyResponse :: GetContextKeysForPolicyResponse #

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

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

gckfpContextKeyNames :: Lens' GetContextKeysForPolicyResponse [Text] #

The list of context keys that are referenced in the input policies.

Group

data Group #

Contains information about an IAM group entity.

This data type is used as a response element in the following actions:

  • CreateGroup
  • GetGroup
  • ListGroups

See: group' smart constructor.

Instances

Eq Group # 

Methods

(==) :: Group -> Group -> Bool #

(/=) :: Group -> Group -> Bool #

Data Group # 

Methods

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

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

toConstr :: Group -> Constr #

dataTypeOf :: Group -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Group # 
Show Group # 

Methods

showsPrec :: Int -> Group -> ShowS #

show :: Group -> String #

showList :: [Group] -> ShowS #

Generic Group # 

Associated Types

type Rep Group :: * -> * #

Methods

from :: Group -> Rep Group x #

to :: Rep Group x -> Group #

Hashable Group # 

Methods

hashWithSalt :: Int -> Group -> Int #

hash :: Group -> Int #

NFData Group # 

Methods

rnf :: Group -> () #

FromXML Group # 

Methods

parseXML :: [Node] -> Either String Group #

type Rep Group # 

group' #

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

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

  • gPath - The path to the group. For more information about paths, see IAM Identifiers in the Using IAM guide.
  • gGroupName - The friendly name that identifies the group.
  • gGroupId - The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the Using IAM guide.
  • gARN - The Amazon Resource Name (ARN) specifying the group. For more information about ARNs and how to use them in policies, see IAM Identifiers in the Using IAM guide.
  • gCreateDate - The date and time, in ISO 8601 date-time format , when the group was created.

gPath :: Lens' Group Text #

The path to the group. For more information about paths, see IAM Identifiers in the Using IAM guide.

gGroupName :: Lens' Group Text #

The friendly name that identifies the group.

gGroupId :: Lens' Group Text #

The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the Using IAM guide.

gARN :: Lens' Group Text #

The Amazon Resource Name (ARN) specifying the group. For more information about ARNs and how to use them in policies, see IAM Identifiers in the Using IAM guide.

gCreateDate :: Lens' Group UTCTime #

The date and time, in ISO 8601 date-time format , when the group was created.

GroupDetail

data GroupDetail #

Contains information about an IAM group, including all of the group's policies.

This data type is used as a response element in the GetAccountAuthorizationDetails action.

See: groupDetail smart constructor.

Instances

Eq GroupDetail # 
Data GroupDetail # 

Methods

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

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

toConstr :: GroupDetail -> Constr #

dataTypeOf :: GroupDetail -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GroupDetail # 
Show GroupDetail # 
Generic GroupDetail # 

Associated Types

type Rep GroupDetail :: * -> * #

Hashable GroupDetail # 
NFData GroupDetail # 

Methods

rnf :: GroupDetail -> () #

FromXML GroupDetail # 
type Rep GroupDetail # 

groupDetail :: GroupDetail #

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

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

gdARN :: Lens' GroupDetail (Maybe Text) #

Undocumented member.

gdPath :: Lens' GroupDetail (Maybe Text) #

The path to the group. For more information about paths, see IAM Identifiers in the Using IAM guide.

gdCreateDate :: Lens' GroupDetail (Maybe UTCTime) #

The date and time, in ISO 8601 date-time format , when the group was created.

gdGroupId :: Lens' GroupDetail (Maybe Text) #

The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the Using IAM guide.

gdGroupPolicyList :: Lens' GroupDetail [PolicyDetail] #

A list of the inline policies embedded in the group.

gdGroupName :: Lens' GroupDetail (Maybe Text) #

The friendly name that identifies the group.

gdAttachedManagedPolicies :: Lens' GroupDetail [AttachedPolicy] #

A list of the managed policies attached to the group.

InstanceProfile

data InstanceProfile #

Contains information about an instance profile.

This data type is used as a response element in the following actions:

  • CreateInstanceProfile
  • GetInstanceProfile
  • ListInstanceProfiles
  • ListInstanceProfilesForRole

See: instanceProfile smart constructor.

Instances

Eq InstanceProfile # 
Data InstanceProfile # 

Methods

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

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

toConstr :: InstanceProfile -> Constr #

dataTypeOf :: InstanceProfile -> DataType #

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

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

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

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

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

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

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

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

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

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

Read InstanceProfile # 
Show InstanceProfile # 
Generic InstanceProfile # 
Hashable InstanceProfile # 
NFData InstanceProfile # 

Methods

rnf :: InstanceProfile -> () #

FromXML InstanceProfile # 
type Rep InstanceProfile # 
type Rep InstanceProfile = D1 (MetaData "InstanceProfile" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "InstanceProfile'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ipPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_ipInstanceProfileName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ipInstanceProfileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_ipARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_ipCreateDate") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 ISO8601)) (S1 (MetaSel (Just Symbol "_ipRoles") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Role]))))))

instanceProfile #

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

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

  • ipPath - The path to the instance profile. For more information about paths, see IAM Identifiers in the Using IAM guide.
  • ipInstanceProfileName - The name identifying the instance profile.
  • ipInstanceProfileId - The stable and unique string identifying the instance profile. For more information about IDs, see IAM Identifiers in the Using IAM guide.
  • ipARN - The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see IAM Identifiers in the Using IAM guide.
  • ipCreateDate - The date when the instance profile was created.
  • ipRoles - The role associated with the instance profile.

ipPath :: Lens' InstanceProfile Text #

The path to the instance profile. For more information about paths, see IAM Identifiers in the Using IAM guide.

ipInstanceProfileName :: Lens' InstanceProfile Text #

The name identifying the instance profile.

ipInstanceProfileId :: Lens' InstanceProfile Text #

The stable and unique string identifying the instance profile. For more information about IDs, see IAM Identifiers in the Using IAM guide.

ipARN :: Lens' InstanceProfile Text #

The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see IAM Identifiers in the Using IAM guide.

ipCreateDate :: Lens' InstanceProfile UTCTime #

The date when the instance profile was created.

ipRoles :: Lens' InstanceProfile [Role] #

The role associated with the instance profile.

LoginProfile

data LoginProfile #

Contains the user name and password create date for a user.

This data type is used as a response element in the CreateLoginProfile and GetLoginProfile actions.

See: loginProfile smart constructor.

Instances

Eq LoginProfile # 
Data LoginProfile # 

Methods

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

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

toConstr :: LoginProfile -> Constr #

dataTypeOf :: LoginProfile -> DataType #

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

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

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

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

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

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

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

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

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

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

Read LoginProfile # 
Show LoginProfile # 
Generic LoginProfile # 

Associated Types

type Rep LoginProfile :: * -> * #

Hashable LoginProfile # 
NFData LoginProfile # 

Methods

rnf :: LoginProfile -> () #

FromXML LoginProfile # 
type Rep LoginProfile # 
type Rep LoginProfile = D1 (MetaData "LoginProfile" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "LoginProfile'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lpPasswordResetRequired") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_lpUserName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_lpCreateDate") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 ISO8601)))))

loginProfile #

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

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

  • lpPasswordResetRequired - Specifies whether the user is required to set a new password on next sign-in.
  • lpUserName - The name of the user, which can be used for signing in to the AWS Management Console.
  • lpCreateDate - The date when the password for the user was created.

lpPasswordResetRequired :: Lens' LoginProfile (Maybe Bool) #

Specifies whether the user is required to set a new password on next sign-in.

lpUserName :: Lens' LoginProfile Text #

The name of the user, which can be used for signing in to the AWS Management Console.

lpCreateDate :: Lens' LoginProfile UTCTime #

The date when the password for the user was created.

MFADevice

data MFADevice #

Contains information about an MFA device.

This data type is used as a response element in the ListMFADevices action.

See: mfaDevice smart constructor.

Instances

Eq MFADevice # 
Data MFADevice # 

Methods

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

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

toConstr :: MFADevice -> Constr #

dataTypeOf :: MFADevice -> DataType #

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

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

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

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

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

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

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

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

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

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

Read MFADevice # 
Show MFADevice # 
Generic MFADevice # 

Associated Types

type Rep MFADevice :: * -> * #

Hashable MFADevice # 
NFData MFADevice # 

Methods

rnf :: MFADevice -> () #

FromXML MFADevice # 
type Rep MFADevice # 
type Rep MFADevice = D1 (MetaData "MFADevice" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "MFADevice'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mdUserName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_mdSerialNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_mdEnableDate") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 ISO8601)))))

mfaDevice #

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

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

  • mdUserName - The user with whom the MFA device is associated.
  • mdSerialNumber - The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.
  • mdEnableDate - The date when the MFA device was enabled for the user.

mdUserName :: Lens' MFADevice Text #

The user with whom the MFA device is associated.

mdSerialNumber :: Lens' MFADevice Text #

The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.

mdEnableDate :: Lens' MFADevice UTCTime #

The date when the MFA device was enabled for the user.

ManagedPolicyDetail

data ManagedPolicyDetail #

Contains information about a managed policy, including the policy's ARN, versions, and the number of principal entities (users, groups, and roles) that the policy is attached to.

This data type is used as a response element in the GetAccountAuthorizationDetails action.

For more information about managed policies, see Managed Policies and Inline Policies in the Using IAM guide.

See: managedPolicyDetail smart constructor.

Instances

Eq ManagedPolicyDetail # 
Data ManagedPolicyDetail # 

Methods

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

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

toConstr :: ManagedPolicyDetail -> Constr #

dataTypeOf :: ManagedPolicyDetail -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ManagedPolicyDetail # 
Show ManagedPolicyDetail # 
Generic ManagedPolicyDetail # 
Hashable ManagedPolicyDetail # 
NFData ManagedPolicyDetail # 

Methods

rnf :: ManagedPolicyDetail -> () #

FromXML ManagedPolicyDetail # 
type Rep ManagedPolicyDetail # 
type Rep ManagedPolicyDetail = D1 (MetaData "ManagedPolicyDetail" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "ManagedPolicyDetail'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_mpdPolicyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_mpdARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_mpdUpdateDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) ((:*:) (S1 (MetaSel (Just Symbol "_mpdPolicyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_mpdPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_mpdPolicyVersionList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PolicyVersion]))) ((:*:) (S1 (MetaSel (Just Symbol "_mpdCreateDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) (S1 (MetaSel (Just Symbol "_mpdIsAttachable") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))) ((:*:) (S1 (MetaSel (Just Symbol "_mpdDefaultVersionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_mpdAttachmentCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_mpdDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))

managedPolicyDetail :: ManagedPolicyDetail #

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

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

  • mpdPolicyName - The friendly name (not ARN) identifying the policy.
  • mpdARN - Undocumented member.
  • mpdUpdateDate - The date and time, in ISO 8601 date-time format , when the policy was last updated. When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.
  • mpdPolicyId - The stable and unique string identifying the policy. For more information about IDs, see IAM Identifiers in the Using IAM guide.
  • mpdPath - The path to the policy. For more information about paths, see IAM Identifiers in the Using IAM guide.
  • mpdPolicyVersionList - A list containing information about the versions of the policy.
  • mpdCreateDate - The date and time, in ISO 8601 date-time format , when the policy was created.
  • mpdIsAttachable - Specifies whether the policy can be attached to an IAM user, group, or role.
  • mpdDefaultVersionId - The identifier for the version of the policy that is set as the default (operative) version. For more information about policy versions, see Versioning for Managed Policies in the Using IAM guide.
  • mpdAttachmentCount - The number of principal entities (users, groups, and roles) that the policy is attached to.
  • mpdDescription - A friendly description of the policy.

mpdPolicyName :: Lens' ManagedPolicyDetail (Maybe Text) #

The friendly name (not ARN) identifying the policy.

mpdARN :: Lens' ManagedPolicyDetail (Maybe Text) #

Undocumented member.

mpdUpdateDate :: Lens' ManagedPolicyDetail (Maybe UTCTime) #

The date and time, in ISO 8601 date-time format , when the policy was last updated. When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.

mpdPolicyId :: Lens' ManagedPolicyDetail (Maybe Text) #

The stable and unique string identifying the policy. For more information about IDs, see IAM Identifiers in the Using IAM guide.

mpdPath :: Lens' ManagedPolicyDetail (Maybe Text) #

The path to the policy. For more information about paths, see IAM Identifiers in the Using IAM guide.

mpdPolicyVersionList :: Lens' ManagedPolicyDetail [PolicyVersion] #

A list containing information about the versions of the policy.

mpdCreateDate :: Lens' ManagedPolicyDetail (Maybe UTCTime) #

The date and time, in ISO 8601 date-time format , when the policy was created.

mpdIsAttachable :: Lens' ManagedPolicyDetail (Maybe Bool) #

Specifies whether the policy can be attached to an IAM user, group, or role.

mpdDefaultVersionId :: Lens' ManagedPolicyDetail (Maybe Text) #

The identifier for the version of the policy that is set as the default (operative) version. For more information about policy versions, see Versioning for Managed Policies in the Using IAM guide.

mpdAttachmentCount :: Lens' ManagedPolicyDetail (Maybe Int) #

The number of principal entities (users, groups, and roles) that the policy is attached to.

mpdDescription :: Lens' ManagedPolicyDetail (Maybe Text) #

A friendly description of the policy.

OpenIdConnectProviderListEntry

data OpenIdConnectProviderListEntry #

Contains the Amazon Resource Name (ARN) for an IAM OpenID Connect provider.

See: openIdConnectProviderListEntry smart constructor.

Instances

Eq OpenIdConnectProviderListEntry # 
Data OpenIdConnectProviderListEntry # 

Methods

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

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

toConstr :: OpenIdConnectProviderListEntry -> Constr #

dataTypeOf :: OpenIdConnectProviderListEntry -> DataType #

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

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

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

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

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

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

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

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

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

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

Read OpenIdConnectProviderListEntry # 
Show OpenIdConnectProviderListEntry # 
Generic OpenIdConnectProviderListEntry # 
Hashable OpenIdConnectProviderListEntry # 
NFData OpenIdConnectProviderListEntry # 
FromXML OpenIdConnectProviderListEntry # 
type Rep OpenIdConnectProviderListEntry # 
type Rep OpenIdConnectProviderListEntry = D1 (MetaData "OpenIdConnectProviderListEntry" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" True) (C1 (MetaCons "OpenIdConnectProviderListEntry'" PrefixI True) (S1 (MetaSel (Just Symbol "_oicpleARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

openIdConnectProviderListEntry :: OpenIdConnectProviderListEntry #

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

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

PasswordPolicy

data PasswordPolicy #

Contains information about the account password policy.

This data type is used as a response element in the GetAccountPasswordPolicy action.

See: passwordPolicy smart constructor.

Instances

Eq PasswordPolicy # 
Data PasswordPolicy # 

Methods

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

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

toConstr :: PasswordPolicy -> Constr #

dataTypeOf :: PasswordPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PasswordPolicy # 
Show PasswordPolicy # 
Generic PasswordPolicy # 

Associated Types

type Rep PasswordPolicy :: * -> * #

Hashable PasswordPolicy # 
NFData PasswordPolicy # 

Methods

rnf :: PasswordPolicy -> () #

FromXML PasswordPolicy # 
type Rep PasswordPolicy # 
type Rep PasswordPolicy = D1 (MetaData "PasswordPolicy" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "PasswordPolicy'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ppExpirePasswords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_ppMinimumPasswordLength") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))) ((:*:) (S1 (MetaSel (Just Symbol "_ppRequireNumbers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_ppPasswordReusePrevention") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_ppRequireLowercaseCharacters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ppMaxPasswordAge") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_ppHardExpiry") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) ((:*:) (S1 (MetaSel (Just Symbol "_ppRequireSymbols") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_ppRequireUppercaseCharacters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_ppAllowUsersToChangePassword") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))))

passwordPolicy :: PasswordPolicy #

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

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

ppExpirePasswords :: Lens' PasswordPolicy (Maybe Bool) #

Indicates whether passwords in the account expire. Returns true if MaxPasswordAge is contains a value greater than 0. Returns false if MaxPasswordAge is 0 or not present.

ppMinimumPasswordLength :: Lens' PasswordPolicy (Maybe Natural) #

Minimum length to require for IAM user passwords.

ppRequireNumbers :: Lens' PasswordPolicy (Maybe Bool) #

Specifies whether to require numbers for IAM user passwords.

ppPasswordReusePrevention :: Lens' PasswordPolicy (Maybe Natural) #

Specifies the number of previous passwords that IAM users are prevented from reusing.

ppRequireLowercaseCharacters :: Lens' PasswordPolicy (Maybe Bool) #

Specifies whether to require lowercase characters for IAM user passwords.

ppMaxPasswordAge :: Lens' PasswordPolicy (Maybe Natural) #

The number of days that an IAM user password is valid.

ppHardExpiry :: Lens' PasswordPolicy (Maybe Bool) #

Specifies whether IAM users are prevented from setting a new password after their password has expired.

ppRequireSymbols :: Lens' PasswordPolicy (Maybe Bool) #

Specifies whether to require symbols for IAM user passwords.

ppRequireUppercaseCharacters :: Lens' PasswordPolicy (Maybe Bool) #

Specifies whether to require uppercase characters for IAM user passwords.

ppAllowUsersToChangePassword :: Lens' PasswordPolicy (Maybe Bool) #

Specifies whether IAM users are allowed to change their own password.

Policy

data Policy #

Contains information about a managed policy.

This data type is used as a response element in the CreatePolicy , GetPolicy , and ListPolicies actions.

For more information about managed policies, refer to Managed Policies and Inline Policies in the Using IAM guide.

See: policy smart constructor.

Instances

Eq Policy # 

Methods

(==) :: Policy -> Policy -> Bool #

(/=) :: Policy -> Policy -> Bool #

Data Policy # 

Methods

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

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

toConstr :: Policy -> Constr #

dataTypeOf :: Policy -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Policy # 
Show Policy # 
Generic Policy # 

Associated Types

type Rep Policy :: * -> * #

Methods

from :: Policy -> Rep Policy x #

to :: Rep Policy x -> Policy #

Hashable Policy # 

Methods

hashWithSalt :: Int -> Policy -> Int #

hash :: Policy -> Int #

NFData Policy # 

Methods

rnf :: Policy -> () #

FromXML Policy # 
type Rep Policy # 

policy :: Policy #

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

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

  • pPolicyName - The friendly name (not ARN) identifying the policy.
  • pARN - Undocumented member.
  • pUpdateDate - The date and time, in ISO 8601 date-time format , when the policy was last updated. When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.
  • pPolicyId - The stable and unique string identifying the policy. For more information about IDs, see IAM Identifiers in the Using IAM guide.
  • pPath - The path to the policy. For more information about paths, see IAM Identifiers in the Using IAM guide.
  • pCreateDate - The date and time, in ISO 8601 date-time format , when the policy was created.
  • pIsAttachable - Specifies whether the policy can be attached to an IAM user, group, or role.
  • pDefaultVersionId - The identifier for the version of the policy that is set as the default version.
  • pAttachmentCount - The number of entities (users, groups, and roles) that the policy is attached to.
  • pDescription - A friendly description of the policy. This element is included in the response to the GetPolicy operation. It is not included in the response to the ListPolicies operation.

pPolicyName :: Lens' Policy (Maybe Text) #

The friendly name (not ARN) identifying the policy.

pARN :: Lens' Policy (Maybe Text) #

Undocumented member.

pUpdateDate :: Lens' Policy (Maybe UTCTime) #

The date and time, in ISO 8601 date-time format , when the policy was last updated. When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.

pPolicyId :: Lens' Policy (Maybe Text) #

The stable and unique string identifying the policy. For more information about IDs, see IAM Identifiers in the Using IAM guide.

pPath :: Lens' Policy (Maybe Text) #

The path to the policy. For more information about paths, see IAM Identifiers in the Using IAM guide.

pCreateDate :: Lens' Policy (Maybe UTCTime) #

The date and time, in ISO 8601 date-time format , when the policy was created.

pIsAttachable :: Lens' Policy (Maybe Bool) #

Specifies whether the policy can be attached to an IAM user, group, or role.

pDefaultVersionId :: Lens' Policy (Maybe Text) #

The identifier for the version of the policy that is set as the default version.

pAttachmentCount :: Lens' Policy (Maybe Int) #

The number of entities (users, groups, and roles) that the policy is attached to.

pDescription :: Lens' Policy (Maybe Text) #

A friendly description of the policy. This element is included in the response to the GetPolicy operation. It is not included in the response to the ListPolicies operation.

PolicyDetail

data PolicyDetail #

Contains information about an IAM policy, including the policy document.

This data type is used as a response element in the GetAccountAuthorizationDetails action.

See: policyDetail smart constructor.

Instances

Eq PolicyDetail # 
Data PolicyDetail # 

Methods

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

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

toConstr :: PolicyDetail -> Constr #

dataTypeOf :: PolicyDetail -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PolicyDetail # 
Show PolicyDetail # 
Generic PolicyDetail # 

Associated Types

type Rep PolicyDetail :: * -> * #

Hashable PolicyDetail # 
NFData PolicyDetail # 

Methods

rnf :: PolicyDetail -> () #

FromXML PolicyDetail # 
type Rep PolicyDetail # 
type Rep PolicyDetail = D1 (MetaData "PolicyDetail" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "PolicyDetail'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_pdPolicyDocument") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pdPolicyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

policyDetail :: PolicyDetail #

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

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

pdPolicyDocument :: Lens' PolicyDetail (Maybe Text) #

The policy document.

pdPolicyName :: Lens' PolicyDetail (Maybe Text) #

The name of the policy.

PolicyGroup

data PolicyGroup #

Contains information about a group that a managed policy is attached to.

This data type is used as a response element in the ListEntitiesForPolicy action.

For more information about managed policies, refer to Managed Policies and Inline Policies in the Using IAM guide.

See: policyGroup smart constructor.

Instances

Eq PolicyGroup # 
Data PolicyGroup # 

Methods

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

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

toConstr :: PolicyGroup -> Constr #

dataTypeOf :: PolicyGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PolicyGroup # 
Show PolicyGroup # 
Generic PolicyGroup # 

Associated Types

type Rep PolicyGroup :: * -> * #

Hashable PolicyGroup # 
NFData PolicyGroup # 

Methods

rnf :: PolicyGroup -> () #

FromXML PolicyGroup # 
type Rep PolicyGroup # 
type Rep PolicyGroup = D1 (MetaData "PolicyGroup" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "PolicyGroup'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_pgGroupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pgGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

policyGroup :: PolicyGroup #

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

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

  • pgGroupId - The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the IAM User Guide .
  • pgGroupName - The name (friendly name, not ARN) identifying the group.

pgGroupId :: Lens' PolicyGroup (Maybe Text) #

The stable and unique string identifying the group. For more information about IDs, see IAM Identifiers in the IAM User Guide .

pgGroupName :: Lens' PolicyGroup (Maybe Text) #

The name (friendly name, not ARN) identifying the group.

PolicyRole

data PolicyRole #

Contains information about a role that a managed policy is attached to.

This data type is used as a response element in the ListEntitiesForPolicy action.

For more information about managed policies, refer to Managed Policies and Inline Policies in the Using IAM guide.

See: policyRole smart constructor.

Instances

Eq PolicyRole # 
Data PolicyRole # 

Methods

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

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

toConstr :: PolicyRole -> Constr #

dataTypeOf :: PolicyRole -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PolicyRole # 
Show PolicyRole # 
Generic PolicyRole # 

Associated Types

type Rep PolicyRole :: * -> * #

Hashable PolicyRole # 
NFData PolicyRole # 

Methods

rnf :: PolicyRole -> () #

FromXML PolicyRole # 
type Rep PolicyRole # 
type Rep PolicyRole = D1 (MetaData "PolicyRole" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "PolicyRole'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_prRoleName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_prRoleId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

policyRole :: PolicyRole #

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

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

  • prRoleName - The name (friendly name, not ARN) identifying the role.
  • prRoleId - The stable and unique string identifying the role. For more information about IDs, see IAM Identifiers in the IAM User Guide .

prRoleName :: Lens' PolicyRole (Maybe Text) #

The name (friendly name, not ARN) identifying the role.

prRoleId :: Lens' PolicyRole (Maybe Text) #

The stable and unique string identifying the role. For more information about IDs, see IAM Identifiers in the IAM User Guide .

PolicyUser

data PolicyUser #

Contains information about a user that a managed policy is attached to.

This data type is used as a response element in the ListEntitiesForPolicy action.

For more information about managed policies, refer to Managed Policies and Inline Policies in the Using IAM guide.

See: policyUser smart constructor.

Instances

Eq PolicyUser # 
Data PolicyUser # 

Methods

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

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

toConstr :: PolicyUser -> Constr #

dataTypeOf :: PolicyUser -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PolicyUser # 
Show PolicyUser # 
Generic PolicyUser # 

Associated Types

type Rep PolicyUser :: * -> * #

Hashable PolicyUser # 
NFData PolicyUser # 

Methods

rnf :: PolicyUser -> () #

FromXML PolicyUser # 
type Rep PolicyUser # 
type Rep PolicyUser = D1 (MetaData "PolicyUser" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "PolicyUser'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_puUserName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_puUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

policyUser :: PolicyUser #

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

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

  • puUserName - The name (friendly name, not ARN) identifying the user.
  • puUserId - The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in the IAM User Guide .

puUserName :: Lens' PolicyUser (Maybe Text) #

The name (friendly name, not ARN) identifying the user.

puUserId :: Lens' PolicyUser (Maybe Text) #

The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in the IAM User Guide .

PolicyVersion

data PolicyVersion #

Contains information about a version of a managed policy.

This data type is used as a response element in the CreatePolicyVersion , GetPolicyVersion , ListPolicyVersions , and GetAccountAuthorizationDetails actions.

For more information about managed policies, refer to Managed Policies and Inline Policies in the Using IAM guide.

See: policyVersion smart constructor.

Instances

Eq PolicyVersion # 
Data PolicyVersion # 

Methods

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

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

toConstr :: PolicyVersion -> Constr #

dataTypeOf :: PolicyVersion -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PolicyVersion # 
Show PolicyVersion # 
Generic PolicyVersion # 

Associated Types

type Rep PolicyVersion :: * -> * #

Hashable PolicyVersion # 
NFData PolicyVersion # 

Methods

rnf :: PolicyVersion -> () #

FromXML PolicyVersion # 
type Rep PolicyVersion # 
type Rep PolicyVersion = D1 (MetaData "PolicyVersion" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "PolicyVersion'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_pvVersionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pvCreateDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601)))) ((:*:) (S1 (MetaSel (Just Symbol "_pvDocument") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pvIsDefaultVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))

policyVersion :: PolicyVersion #

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

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

  • pvVersionId - The identifier for the policy version. Policy version identifiers always begin with v (always lowercase). When a policy is created, the first policy version is v1 .
  • pvCreateDate - The date and time, in ISO 8601 date-time format , when the policy version was created.
  • pvDocument - The policy document. The policy document is returned in the response to the GetPolicyVersion and GetAccountAuthorizationDetails operations. It is not returned in the response to the CreatePolicyVersion or ListPolicyVersions operations.
  • pvIsDefaultVersion - Specifies whether the policy version is set as the policy's default version.

pvVersionId :: Lens' PolicyVersion (Maybe Text) #

The identifier for the policy version. Policy version identifiers always begin with v (always lowercase). When a policy is created, the first policy version is v1 .

pvCreateDate :: Lens' PolicyVersion (Maybe UTCTime) #

The date and time, in ISO 8601 date-time format , when the policy version was created.

pvDocument :: Lens' PolicyVersion (Maybe Text) #

The policy document. The policy document is returned in the response to the GetPolicyVersion and GetAccountAuthorizationDetails operations. It is not returned in the response to the CreatePolicyVersion or ListPolicyVersions operations.

pvIsDefaultVersion :: Lens' PolicyVersion (Maybe Bool) #

Specifies whether the policy version is set as the policy's default version.

Position

data Position #

Contains the row and column of a location of a Statement element in a policy document.

This data type is used as a member of the Statement type.

See: position smart constructor.

Instances

Eq Position # 
Data Position # 

Methods

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

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

toConstr :: Position -> Constr #

dataTypeOf :: Position -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Position # 
Show Position # 
Generic Position # 

Associated Types

type Rep Position :: * -> * #

Methods

from :: Position -> Rep Position x #

to :: Rep Position x -> Position #

Hashable Position # 

Methods

hashWithSalt :: Int -> Position -> Int #

hash :: Position -> Int #

NFData Position # 

Methods

rnf :: Position -> () #

FromXML Position # 
type Rep Position # 
type Rep Position = D1 (MetaData "Position" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "Position'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_pLine") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_pColumn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))

position :: Position #

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

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

  • pLine - The line containing the specified position in the document.
  • pColumn - The column in the line containing the specified position in the document.

pLine :: Lens' Position (Maybe Int) #

The line containing the specified position in the document.

pColumn :: Lens' Position (Maybe Int) #

The column in the line containing the specified position in the document.

ResourceSpecificResult

data ResourceSpecificResult #

Contains the result of the simulation of a single API action call on a single resource.

This data type is used by a member of the EvaluationResult data type.

See: resourceSpecificResult smart constructor.

Instances

Eq ResourceSpecificResult # 
Data ResourceSpecificResult # 

Methods

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

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

toConstr :: ResourceSpecificResult -> Constr #

dataTypeOf :: ResourceSpecificResult -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ResourceSpecificResult # 
Show ResourceSpecificResult # 
Generic ResourceSpecificResult # 
Hashable ResourceSpecificResult # 
NFData ResourceSpecificResult # 

Methods

rnf :: ResourceSpecificResult -> () #

FromXML ResourceSpecificResult # 
type Rep ResourceSpecificResult # 
type Rep ResourceSpecificResult = D1 (MetaData "ResourceSpecificResult" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "ResourceSpecificResult'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_rsrMatchedStatements") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Statement]))) (S1 (MetaSel (Just Symbol "_rsrEvalDecisionDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text PolicyEvaluationDecisionType))))) ((:*:) (S1 (MetaSel (Just Symbol "_rsrMissingContextValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_rsrEvalResourceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_rsrEvalResourceDecision") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 PolicyEvaluationDecisionType))))))

resourceSpecificResult #

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

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

  • rsrMatchedStatements - A list of the statements in the input policies that determine the result for this part of the simulation. Remember that even if multiple statements allow the action on the resource, if any statement denies that action, then the explicit deny overrides any allow, and the deny statement is the only entry included in the result.
  • rsrEvalDecisionDetails - Additional details about the results of the evaluation decision. When there are both IAM policies and resource policies, this parameter explains how each set of policies contributes to the final evaluation decision. When simulating cross-account access to a resource, both the resource-based policy and the caller's IAM policy must grant access.
  • rsrMissingContextValues - A list of context keys that are required by the included input policies but that were not provided by one of the input parameters. This list is used when a list of ARNs is included in the ResourceArns parameter instead of "*". If you do not specify individual resources, by setting ResourceArns to "*" or by not including the ResourceArns parameter, then any missing context values are instead included under the EvaluationResults section. To discover the context keys used by a set of policies, you can call GetContextKeysForCustomPolicy or GetContextKeysForPrincipalPolicy .
  • rsrEvalResourceName - The name of the simulated resource, in Amazon Resource Name (ARN) format.
  • rsrEvalResourceDecision - The result of the simulation of the simulated API action on the resource specified in EvalResourceName .

rsrMatchedStatements :: Lens' ResourceSpecificResult [Statement] #

A list of the statements in the input policies that determine the result for this part of the simulation. Remember that even if multiple statements allow the action on the resource, if any statement denies that action, then the explicit deny overrides any allow, and the deny statement is the only entry included in the result.

rsrEvalDecisionDetails :: Lens' ResourceSpecificResult (HashMap Text PolicyEvaluationDecisionType) #

Additional details about the results of the evaluation decision. When there are both IAM policies and resource policies, this parameter explains how each set of policies contributes to the final evaluation decision. When simulating cross-account access to a resource, both the resource-based policy and the caller's IAM policy must grant access.

rsrMissingContextValues :: Lens' ResourceSpecificResult [Text] #

A list of context keys that are required by the included input policies but that were not provided by one of the input parameters. This list is used when a list of ARNs is included in the ResourceArns parameter instead of "*". If you do not specify individual resources, by setting ResourceArns to "*" or by not including the ResourceArns parameter, then any missing context values are instead included under the EvaluationResults section. To discover the context keys used by a set of policies, you can call GetContextKeysForCustomPolicy or GetContextKeysForPrincipalPolicy .

rsrEvalResourceName :: Lens' ResourceSpecificResult Text #

The name of the simulated resource, in Amazon Resource Name (ARN) format.

rsrEvalResourceDecision :: Lens' ResourceSpecificResult PolicyEvaluationDecisionType #

The result of the simulation of the simulated API action on the resource specified in EvalResourceName .

Role

data Role #

Contains information about an IAM role.

This data type is used as a response element in the following actions:

  • CreateRole
  • GetRole
  • ListRoles

See: role' smart constructor.

Instances

Eq Role # 

Methods

(==) :: Role -> Role -> Bool #

(/=) :: Role -> Role -> Bool #

Data Role # 

Methods

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

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

toConstr :: Role -> Constr #

dataTypeOf :: Role -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Role # 
Show Role # 

Methods

showsPrec :: Int -> Role -> ShowS #

show :: Role -> String #

showList :: [Role] -> ShowS #

Generic Role # 

Associated Types

type Rep Role :: * -> * #

Methods

from :: Role -> Rep Role x #

to :: Rep Role x -> Role #

Hashable Role # 

Methods

hashWithSalt :: Int -> Role -> Int #

hash :: Role -> Int #

NFData Role # 

Methods

rnf :: Role -> () #

FromXML Role # 

Methods

parseXML :: [Node] -> Either String Role #

type Rep Role # 

role' #

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

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

rAssumeRolePolicyDocument :: Lens' Role (Maybe Text) #

The policy that grants an entity permission to assume the role.

rPath :: Lens' Role Text #

The path to the role. For more information about paths, see IAM Identifiers in the Using IAM guide.

rRoleName :: Lens' Role Text #

The friendly name that identifies the role.

rRoleId :: Lens' Role Text #

The stable and unique string identifying the role. For more information about IDs, see IAM Identifiers in the Using IAM guide.

rARN :: Lens' Role Text #

The Amazon Resource Name (ARN) specifying the role. For more information about ARNs and how to use them in policies, see IAM Identifiers in the Using IAM guide.

rCreateDate :: Lens' Role UTCTime #

The date and time, in ISO 8601 date-time format , when the role was created.

RoleDetail

data RoleDetail #

Contains information about an IAM role, including all of the role's policies.

This data type is used as a response element in the GetAccountAuthorizationDetails action.

See: roleDetail smart constructor.

Instances

Eq RoleDetail # 
Data RoleDetail # 

Methods

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

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

toConstr :: RoleDetail -> Constr #

dataTypeOf :: RoleDetail -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RoleDetail # 
Show RoleDetail # 
Generic RoleDetail # 

Associated Types

type Rep RoleDetail :: * -> * #

Hashable RoleDetail # 
NFData RoleDetail # 

Methods

rnf :: RoleDetail -> () #

FromXML RoleDetail # 
type Rep RoleDetail # 

roleDetail :: RoleDetail #

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

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

rdAssumeRolePolicyDocument :: Lens' RoleDetail (Maybe Text) #

The trust policy that grants permission to assume the role.

rdARN :: Lens' RoleDetail (Maybe Text) #

Undocumented member.

rdPath :: Lens' RoleDetail (Maybe Text) #

The path to the role. For more information about paths, see IAM Identifiers in the Using IAM guide.

rdCreateDate :: Lens' RoleDetail (Maybe UTCTime) #

The date and time, in ISO 8601 date-time format , when the role was created.

rdRoleName :: Lens' RoleDetail (Maybe Text) #

The friendly name that identifies the role.

rdRoleId :: Lens' RoleDetail (Maybe Text) #

The stable and unique string identifying the role. For more information about IDs, see IAM Identifiers in the Using IAM guide.

rdRolePolicyList :: Lens' RoleDetail [PolicyDetail] #

A list of inline policies embedded in the role. These policies are the role's access (permissions) policies.

rdAttachedManagedPolicies :: Lens' RoleDetail [AttachedPolicy] #

A list of managed policies attached to the role. These policies are the role's access (permissions) policies.

SAMLProviderListEntry

data SAMLProviderListEntry #

Contains the list of SAML providers for this account.

See: sAMLProviderListEntry smart constructor.

Instances

Eq SAMLProviderListEntry # 
Data SAMLProviderListEntry # 

Methods

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

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

toConstr :: SAMLProviderListEntry -> Constr #

dataTypeOf :: SAMLProviderListEntry -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SAMLProviderListEntry # 
Show SAMLProviderListEntry # 
Generic SAMLProviderListEntry # 
Hashable SAMLProviderListEntry # 
NFData SAMLProviderListEntry # 

Methods

rnf :: SAMLProviderListEntry -> () #

FromXML SAMLProviderListEntry # 
type Rep SAMLProviderListEntry # 
type Rep SAMLProviderListEntry = D1 (MetaData "SAMLProviderListEntry" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "SAMLProviderListEntry'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_samlpleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_samlpleCreateDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) (S1 (MetaSel (Just Symbol "_samlpleValidUntil") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))))))

sAMLProviderListEntry :: SAMLProviderListEntry #

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

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

samlpleARN :: Lens' SAMLProviderListEntry (Maybe Text) #

The Amazon Resource Name (ARN) of the SAML provider.

samlpleCreateDate :: Lens' SAMLProviderListEntry (Maybe UTCTime) #

The date and time when the SAML provider was created.

samlpleValidUntil :: Lens' SAMLProviderListEntry (Maybe UTCTime) #

The expiration date and time for the SAML provider.

SSHPublicKey

data SSHPublicKey #

Contains information about an SSH public key.

This data type is used as a response element in the GetSSHPublicKey and UploadSSHPublicKey actions.

See: sshPublicKey smart constructor.

Instances

Eq SSHPublicKey # 
Data SSHPublicKey # 

Methods

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

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

toConstr :: SSHPublicKey -> Constr #

dataTypeOf :: SSHPublicKey -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SSHPublicKey # 
Show SSHPublicKey # 
Generic SSHPublicKey # 

Associated Types

type Rep SSHPublicKey :: * -> * #

Hashable SSHPublicKey # 
NFData SSHPublicKey # 

Methods

rnf :: SSHPublicKey -> () #

FromXML SSHPublicKey # 
type Rep SSHPublicKey # 
type Rep SSHPublicKey = D1 (MetaData "SSHPublicKey" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "SSHPublicKey'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_spkUploadDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) ((:*:) (S1 (MetaSel (Just Symbol "_spkUserName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_spkSSHPublicKeyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_spkFingerprint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_spkSSHPublicKeyBody") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_spkStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 StatusType))))))

sshPublicKey #

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

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

spkUploadDate :: Lens' SSHPublicKey (Maybe UTCTime) #

The date and time, in ISO 8601 date-time format , when the SSH public key was uploaded.

spkUserName :: Lens' SSHPublicKey Text #

The name of the IAM user associated with the SSH public key.

spkSSHPublicKeyId :: Lens' SSHPublicKey Text #

The unique identifier for the SSH public key.

spkFingerprint :: Lens' SSHPublicKey Text #

The MD5 message digest of the SSH public key.

spkStatus :: Lens' SSHPublicKey StatusType #

The status of the SSH public key. Active means the key can be used for authentication with an AWS CodeCommit repository. Inactive means the key cannot be used.

SSHPublicKeyMetadata

data SSHPublicKeyMetadata #

Contains information about an SSH public key, without the key's body or fingerprint.

This data type is used as a response element in the ListSSHPublicKeys action.

See: sshPublicKeyMetadata smart constructor.

Instances

Eq SSHPublicKeyMetadata # 
Data SSHPublicKeyMetadata # 

Methods

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

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

toConstr :: SSHPublicKeyMetadata -> Constr #

dataTypeOf :: SSHPublicKeyMetadata -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SSHPublicKeyMetadata # 
Show SSHPublicKeyMetadata # 
Generic SSHPublicKeyMetadata # 
Hashable SSHPublicKeyMetadata # 
NFData SSHPublicKeyMetadata # 

Methods

rnf :: SSHPublicKeyMetadata -> () #

FromXML SSHPublicKeyMetadata # 
type Rep SSHPublicKeyMetadata # 
type Rep SSHPublicKeyMetadata = D1 (MetaData "SSHPublicKeyMetadata" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "SSHPublicKeyMetadata'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_spkmUserName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_spkmSSHPublicKeyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_spkmStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 StatusType)) (S1 (MetaSel (Just Symbol "_spkmUploadDate") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 ISO8601)))))

sshPublicKeyMetadata #

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

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

  • spkmUserName - The name of the IAM user associated with the SSH public key.
  • spkmSSHPublicKeyId - The unique identifier for the SSH public key.
  • spkmStatus - The status of the SSH public key. Active means the key can be used for authentication with an AWS CodeCommit repository. Inactive means the key cannot be used.
  • spkmUploadDate - The date and time, in ISO 8601 date-time format , when the SSH public key was uploaded.

spkmUserName :: Lens' SSHPublicKeyMetadata Text #

The name of the IAM user associated with the SSH public key.

spkmSSHPublicKeyId :: Lens' SSHPublicKeyMetadata Text #

The unique identifier for the SSH public key.

spkmStatus :: Lens' SSHPublicKeyMetadata StatusType #

The status of the SSH public key. Active means the key can be used for authentication with an AWS CodeCommit repository. Inactive means the key cannot be used.

spkmUploadDate :: Lens' SSHPublicKeyMetadata UTCTime #

The date and time, in ISO 8601 date-time format , when the SSH public key was uploaded.

ServerCertificate

data ServerCertificate #

Contains information about a server certificate.

This data type is used as a response element in the GetServerCertificate action.

See: serverCertificate smart constructor.

Instances

Eq ServerCertificate # 
Data ServerCertificate # 

Methods

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

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

toConstr :: ServerCertificate -> Constr #

dataTypeOf :: ServerCertificate -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ServerCertificate # 
Show ServerCertificate # 
Generic ServerCertificate # 
Hashable ServerCertificate # 
NFData ServerCertificate # 

Methods

rnf :: ServerCertificate -> () #

FromXML ServerCertificate # 
type Rep ServerCertificate # 
type Rep ServerCertificate = D1 (MetaData "ServerCertificate" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "ServerCertificate'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_sCertificateChain") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_sServerCertificateMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ServerCertificateMetadata)) (S1 (MetaSel (Just Symbol "_sCertificateBody") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

serverCertificate #

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

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

sCertificateChain :: Lens' ServerCertificate (Maybe Text) #

The contents of the public key certificate chain.

sServerCertificateMetadata :: Lens' ServerCertificate ServerCertificateMetadata #

The meta information of the server certificate, such as its name, path, ID, and ARN.

sCertificateBody :: Lens' ServerCertificate Text #

The contents of the public key certificate.

ServerCertificateMetadata

data ServerCertificateMetadata #

Contains information about a server certificate without its certificate body, certificate chain, and private key.

This data type is used as a response element in the UploadServerCertificate and ListServerCertificates actions.

See: serverCertificateMetadata smart constructor.

Instances

Eq ServerCertificateMetadata # 
Data ServerCertificateMetadata # 

Methods

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

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

toConstr :: ServerCertificateMetadata -> Constr #

dataTypeOf :: ServerCertificateMetadata -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ServerCertificateMetadata # 
Show ServerCertificateMetadata # 
Generic ServerCertificateMetadata # 
Hashable ServerCertificateMetadata # 
NFData ServerCertificateMetadata # 
FromXML ServerCertificateMetadata # 
type Rep ServerCertificateMetadata # 
type Rep ServerCertificateMetadata = D1 (MetaData "ServerCertificateMetadata" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "ServerCertificateMetadata'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_scmUploadDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) ((:*:) (S1 (MetaSel (Just Symbol "_scmExpiration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) (S1 (MetaSel (Just Symbol "_scmPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_scmServerCertificateName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_scmServerCertificateId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_scmARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))

serverCertificateMetadata #

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

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

  • scmUploadDate - The date when the server certificate was uploaded.
  • scmExpiration - The date on which the certificate is set to expire.
  • scmPath - The path to the server certificate. For more information about paths, see IAM Identifiers in the Using IAM guide.
  • scmServerCertificateName - The name that identifies the server certificate.
  • scmServerCertificateId - The stable and unique string identifying the server certificate. For more information about IDs, see IAM Identifiers in the Using IAM guide.
  • scmARN - The Amazon Resource Name (ARN) specifying the server certificate. For more information about ARNs and how to use them in policies, see IAM Identifiers in the Using IAM guide.

scmUploadDate :: Lens' ServerCertificateMetadata (Maybe UTCTime) #

The date when the server certificate was uploaded.

scmExpiration :: Lens' ServerCertificateMetadata (Maybe UTCTime) #

The date on which the certificate is set to expire.

scmPath :: Lens' ServerCertificateMetadata Text #

The path to the server certificate. For more information about paths, see IAM Identifiers in the Using IAM guide.

scmServerCertificateName :: Lens' ServerCertificateMetadata Text #

The name that identifies the server certificate.

scmServerCertificateId :: Lens' ServerCertificateMetadata Text #

The stable and unique string identifying the server certificate. For more information about IDs, see IAM Identifiers in the Using IAM guide.

scmARN :: Lens' ServerCertificateMetadata Text #

The Amazon Resource Name (ARN) specifying the server certificate. For more information about ARNs and how to use them in policies, see IAM Identifiers in the Using IAM guide.

SigningCertificate

data SigningCertificate #

Contains information about an X.509 signing certificate.

This data type is used as a response element in the UploadSigningCertificate and ListSigningCertificates actions.

See: signingCertificate smart constructor.

Instances

Eq SigningCertificate # 
Data SigningCertificate # 

Methods

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

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

toConstr :: SigningCertificate -> Constr #

dataTypeOf :: SigningCertificate -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SigningCertificate # 
Show SigningCertificate # 
Generic SigningCertificate # 
Hashable SigningCertificate # 
NFData SigningCertificate # 

Methods

rnf :: SigningCertificate -> () #

FromXML SigningCertificate # 
type Rep SigningCertificate # 
type Rep SigningCertificate = D1 (MetaData "SigningCertificate" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "SigningCertificate'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_scUploadDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) (S1 (MetaSel (Just Symbol "_scUserName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_scCertificateId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_scCertificateBody") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_scStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 StatusType))))))

signingCertificate #

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

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

  • scUploadDate - The date when the signing certificate was uploaded.
  • scUserName - The name of the user the signing certificate is associated with.
  • scCertificateId - The ID for the signing certificate.
  • scCertificateBody - The contents of the signing certificate.
  • scStatus - The status of the signing certificate. Active means the key is valid for API calls, while Inactive means it is not.

scUploadDate :: Lens' SigningCertificate (Maybe UTCTime) #

The date when the signing certificate was uploaded.

scUserName :: Lens' SigningCertificate Text #

The name of the user the signing certificate is associated with.

scCertificateId :: Lens' SigningCertificate Text #

The ID for the signing certificate.

scCertificateBody :: Lens' SigningCertificate Text #

The contents of the signing certificate.

scStatus :: Lens' SigningCertificate StatusType #

The status of the signing certificate. Active means the key is valid for API calls, while Inactive means it is not.

SimulatePolicyResponse

data SimulatePolicyResponse #

Contains the response to a successful SimulatePrincipalPolicy or SimulateCustomPolicy request.

See: simulatePolicyResponse smart constructor.

Instances

Eq SimulatePolicyResponse # 
Data SimulatePolicyResponse # 

Methods

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

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

toConstr :: SimulatePolicyResponse -> Constr #

dataTypeOf :: SimulatePolicyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SimulatePolicyResponse # 
Show SimulatePolicyResponse # 
Generic SimulatePolicyResponse # 
Hashable SimulatePolicyResponse # 
NFData SimulatePolicyResponse # 

Methods

rnf :: SimulatePolicyResponse -> () #

FromXML SimulatePolicyResponse # 
type Rep SimulatePolicyResponse # 
type Rep SimulatePolicyResponse = D1 (MetaData "SimulatePolicyResponse" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "SimulatePolicyResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_spEvaluationResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [EvaluationResult]))) ((:*:) (S1 (MetaSel (Just Symbol "_spMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_spIsTruncated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))

simulatePolicyResponse :: SimulatePolicyResponse #

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

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

  • spEvaluationResults - The results of the simulation.
  • spMarker - When IsTruncated is true , this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
  • spIsTruncated - A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results.

spMarker :: Lens' SimulatePolicyResponse (Maybe Text) #

When IsTruncated is true , this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.

spIsTruncated :: Lens' SimulatePolicyResponse (Maybe Bool) #

A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems number of results even when there are more results available. We recommend that you check IsTruncated after every call to ensure that you receive all of your results.

Statement

data Statement #

Contains a reference to a Statement element in a policy document that determines the result of the simulation.

This data type is used by the MatchedStatements member of the EvaluationResult type.

See: statement smart constructor.

Instances

Eq Statement # 
Data Statement # 

Methods

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

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

toConstr :: Statement -> Constr #

dataTypeOf :: Statement -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Statement # 
Show Statement # 
Generic Statement # 

Associated Types

type Rep Statement :: * -> * #

Hashable Statement # 
NFData Statement # 

Methods

rnf :: Statement -> () #

FromXML Statement # 
type Rep Statement # 
type Rep Statement = D1 (MetaData "Statement" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "Statement'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_sSourcePolicyType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PolicySourceType))) (S1 (MetaSel (Just Symbol "_sSourcePolicyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_sEndPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Position))) (S1 (MetaSel (Just Symbol "_sStartPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Position))))))

statement :: Statement #

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

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

sSourcePolicyId :: Lens' Statement (Maybe Text) #

The identifier of the policy that was provided as an input.

sEndPosition :: Lens' Statement (Maybe Position) #

The row and column of the end of a Statement in an IAM policy.

sStartPosition :: Lens' Statement (Maybe Position) #

The row and column of the beginning of the Statement in an IAM policy.

User

data User #

Contains information about an IAM user entity.

This data type is used as a response element in the following actions:

  • CreateUser
  • GetUser
  • ListUsers

See: user smart constructor.

Instances

Eq User # 

Methods

(==) :: User -> User -> Bool #

(/=) :: User -> User -> Bool #

Data User # 

Methods

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

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

toConstr :: User -> Constr #

dataTypeOf :: User -> DataType #

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

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

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

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

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

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

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

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

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

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

Read User # 
Show User # 

Methods

showsPrec :: Int -> User -> ShowS #

show :: User -> String #

showList :: [User] -> ShowS #

Generic User # 

Associated Types

type Rep User :: * -> * #

Methods

from :: User -> Rep User x #

to :: Rep User x -> User #

Hashable User # 

Methods

hashWithSalt :: Int -> User -> Int #

hash :: User -> Int #

NFData User # 

Methods

rnf :: User -> () #

FromXML User # 

Methods

parseXML :: [Node] -> Either String User #

type Rep User # 

user #

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

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

  • uPasswordLastUsed - The date and time, in ISO 8601 date-time format , when the user's password was last used to sign in to an AWS website. For a list of AWS websites that capture a user's last sign-in time, see the Credential Reports topic in the Using IAM guide. If a password is used more than once in a five-minute span, only the first use is returned in this field. This field is null (not present) when: * The user does not have a password * The password exists but has never been used (at least not since IAM started tracking this information on October 20th, 2014 * there is no sign-in data associated with the user This value is returned only in the GetUser and ListUsers actions.
  • uPath - The path to the user. For more information about paths, see IAM Identifiers in the Using IAM guide.
  • uUserName - The friendly name identifying the user.
  • uUserId - The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in the Using IAM guide.
  • uARN - The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and how to use ARNs in policies, see IAM Identifiers in the Using IAM guide.
  • uCreateDate - The date and time, in ISO 8601 date-time format , when the user was created.

uPasswordLastUsed :: Lens' User (Maybe UTCTime) #

The date and time, in ISO 8601 date-time format , when the user's password was last used to sign in to an AWS website. For a list of AWS websites that capture a user's last sign-in time, see the Credential Reports topic in the Using IAM guide. If a password is used more than once in a five-minute span, only the first use is returned in this field. This field is null (not present) when: * The user does not have a password * The password exists but has never been used (at least not since IAM started tracking this information on October 20th, 2014 * there is no sign-in data associated with the user This value is returned only in the GetUser and ListUsers actions.

uPath :: Lens' User Text #

The path to the user. For more information about paths, see IAM Identifiers in the Using IAM guide.

uUserName :: Lens' User Text #

The friendly name identifying the user.

uUserId :: Lens' User Text #

The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in the Using IAM guide.

uARN :: Lens' User Text #

The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and how to use ARNs in policies, see IAM Identifiers in the Using IAM guide.

uCreateDate :: Lens' User UTCTime #

The date and time, in ISO 8601 date-time format , when the user was created.

UserDetail

data UserDetail #

Contains information about an IAM user, including all the user's policies and all the IAM groups the user is in.

This data type is used as a response element in the GetAccountAuthorizationDetails action.

See: userDetail smart constructor.

Instances

Eq UserDetail # 
Data UserDetail # 

Methods

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

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

toConstr :: UserDetail -> Constr #

dataTypeOf :: UserDetail -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UserDetail # 
Show UserDetail # 
Generic UserDetail # 

Associated Types

type Rep UserDetail :: * -> * #

Hashable UserDetail # 
NFData UserDetail # 

Methods

rnf :: UserDetail -> () #

FromXML UserDetail # 
type Rep UserDetail # 

userDetail :: UserDetail #

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

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

udGroupList :: Lens' UserDetail [Text] #

A list of IAM groups that the user is in.

udARN :: Lens' UserDetail (Maybe Text) #

Undocumented member.

udPath :: Lens' UserDetail (Maybe Text) #

The path to the user. For more information about paths, see IAM Identifiers in the Using IAM guide.

udCreateDate :: Lens' UserDetail (Maybe UTCTime) #

The date and time, in ISO 8601 date-time format , when the user was created.

udUserName :: Lens' UserDetail (Maybe Text) #

The friendly name identifying the user.

udUserId :: Lens' UserDetail (Maybe Text) #

The stable and unique string identifying the user. For more information about IDs, see IAM Identifiers in the Using IAM guide.

udUserPolicyList :: Lens' UserDetail [PolicyDetail] #

A list of the inline policies embedded in the user.

udAttachedManagedPolicies :: Lens' UserDetail [AttachedPolicy] #

A list of the managed policies attached to the user.

VirtualMFADevice

data VirtualMFADevice #

Contains information about a virtual MFA device.

See: virtualMFADevice smart constructor.

Instances

Eq VirtualMFADevice # 
Data VirtualMFADevice # 

Methods

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

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

toConstr :: VirtualMFADevice -> Constr #

dataTypeOf :: VirtualMFADevice -> DataType #

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

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

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

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

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

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

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

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

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

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

Read VirtualMFADevice # 
Show VirtualMFADevice # 
Generic VirtualMFADevice # 
Hashable VirtualMFADevice # 
NFData VirtualMFADevice # 

Methods

rnf :: VirtualMFADevice -> () #

FromXML VirtualMFADevice # 
type Rep VirtualMFADevice # 
type Rep VirtualMFADevice = D1 (MetaData "VirtualMFADevice" "Network.AWS.IAM.Types.Product" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "VirtualMFADevice'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_vmdQRCodePNG") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Base64)))) (S1 (MetaSel (Just Symbol "_vmdBase32StringSeed") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Base64))))) ((:*:) (S1 (MetaSel (Just Symbol "_vmdUser") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe User))) ((:*:) (S1 (MetaSel (Just Symbol "_vmdEnableDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) (S1 (MetaSel (Just Symbol "_vmdSerialNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))

virtualMFADevice #

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

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

  • vmdQRCodePNG - A QR code PNG image that encodes otpauth:/totp$virtualMFADeviceName$AccountName?secret=$Base32String where > virtualMFADeviceName is one of the create call arguments, AccountName is the user name if set (otherwise, the account ID otherwise), and Base32String is the seed in Base32 format. The Base32String@ value is Base64-encoded. -- Note: This Lens automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This Lens accepts and returns only raw unencoded data.
  • vmdBase32StringSeed - The Base32 seed defined as specified in RFC3548 . The Base32StringSeed is Base64-encoded. -- Note: This Lens automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This Lens accepts and returns only raw unencoded data.
  • vmdUser - Undocumented member.
  • vmdEnableDate - The date and time on which the virtual MFA device was enabled.
  • vmdSerialNumber - The serial number associated with VirtualMFADevice .

vmdQRCodePNG :: Lens' VirtualMFADevice (Maybe ByteString) #

A QR code PNG image that encodes otpauth:/totp$virtualMFADeviceName$AccountName?secret=$Base32String where > virtualMFADeviceName is one of the create call arguments, AccountName is the user name if set (otherwise, the account ID otherwise), and Base32String is the seed in Base32 format. The Base32String@ value is Base64-encoded. -- Note: This Lens automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This Lens accepts and returns only raw unencoded data.

vmdBase32StringSeed :: Lens' VirtualMFADevice (Maybe ByteString) #

The Base32 seed defined as specified in RFC3548 . The Base32StringSeed is Base64-encoded. -- Note: This Lens automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This Lens accepts and returns only raw unencoded data.

vmdUser :: Lens' VirtualMFADevice (Maybe User) #

Undocumented member.

vmdEnableDate :: Lens' VirtualMFADevice (Maybe UTCTime) #

The date and time on which the virtual MFA device was enabled.

vmdSerialNumber :: Lens' VirtualMFADevice Text #

The serial number associated with VirtualMFADevice .