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

Amazonka.RAM.Types.ResourceSharePermissionDetail

Description

 
Synopsis

Documentation

data ResourceSharePermissionDetail Source #

Information about an RAM permission.

See: newResourceSharePermissionDetail smart constructor.

Constructors

ResourceSharePermissionDetail' 

Fields

  • creationTime :: Maybe POSIX

    The date and time when the permission was created.

  • resourceType :: Maybe Text

    The resource type to which the permission applies.

  • lastUpdatedTime :: Maybe POSIX

    The date and time when the permission was last updated.

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the permission.

  • defaultVersion :: Maybe Bool

    Specifies whether the version of the permission is set to the default version for this permission.

  • name :: Maybe Text

    The name of the permission.

  • version :: Maybe Text

    The identifier for the version of the permission.

  • isResourceTypeDefault :: Maybe Bool

    Specifies whether the version of the permission is set to the default version for this resource type.

  • permission :: Maybe Text

    The permission's effect and actions in JSON format. The effect indicates whether the actions are allowed or denied. The actions list the API actions to which the principal is granted or denied access.

Instances

Instances details
Eq ResourceSharePermissionDetail Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceSharePermissionDetail

Read ResourceSharePermissionDetail Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceSharePermissionDetail

Show ResourceSharePermissionDetail Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceSharePermissionDetail

Generic ResourceSharePermissionDetail Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceSharePermissionDetail

Associated Types

type Rep ResourceSharePermissionDetail :: Type -> Type #

NFData ResourceSharePermissionDetail Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceSharePermissionDetail

Hashable ResourceSharePermissionDetail Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceSharePermissionDetail

FromJSON ResourceSharePermissionDetail Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceSharePermissionDetail

type Rep ResourceSharePermissionDetail Source # 
Instance details

Defined in Amazonka.RAM.Types.ResourceSharePermissionDetail

type Rep ResourceSharePermissionDetail = D1 ('MetaData "ResourceSharePermissionDetail" "Amazonka.RAM.Types.ResourceSharePermissionDetail" "libZSservicesZSamazonka-ramZSamazonka-ram" 'False) (C1 ('MetaCons "ResourceSharePermissionDetail'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "lastUpdatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "defaultVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "isResourceTypeDefault") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "permission") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newResourceSharePermissionDetail :: ResourceSharePermissionDetail Source #

Create a value of ResourceSharePermissionDetail with all optional fields omitted.

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

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:creationTime:ResourceSharePermissionDetail', resourceSharePermissionDetail_creationTime - The date and time when the permission was created.

$sel:resourceType:ResourceSharePermissionDetail', resourceSharePermissionDetail_resourceType - The resource type to which the permission applies.

$sel:lastUpdatedTime:ResourceSharePermissionDetail', resourceSharePermissionDetail_lastUpdatedTime - The date and time when the permission was last updated.

$sel:arn:ResourceSharePermissionDetail', resourceSharePermissionDetail_arn - The Amazon Resource Name (ARN) of the permission.

$sel:defaultVersion:ResourceSharePermissionDetail', resourceSharePermissionDetail_defaultVersion - Specifies whether the version of the permission is set to the default version for this permission.

$sel:name:ResourceSharePermissionDetail', resourceSharePermissionDetail_name - The name of the permission.

$sel:version:ResourceSharePermissionDetail', resourceSharePermissionDetail_version - The identifier for the version of the permission.

$sel:isResourceTypeDefault:ResourceSharePermissionDetail', resourceSharePermissionDetail_isResourceTypeDefault - Specifies whether the version of the permission is set to the default version for this resource type.

$sel:permission:ResourceSharePermissionDetail', resourceSharePermissionDetail_permission - The permission's effect and actions in JSON format. The effect indicates whether the actions are allowed or denied. The actions list the API actions to which the principal is granted or denied access.

resourceSharePermissionDetail_lastUpdatedTime :: Lens' ResourceSharePermissionDetail (Maybe UTCTime) Source #

The date and time when the permission was last updated.

resourceSharePermissionDetail_arn :: Lens' ResourceSharePermissionDetail (Maybe Text) Source #

The Amazon Resource Name (ARN) of the permission.

resourceSharePermissionDetail_defaultVersion :: Lens' ResourceSharePermissionDetail (Maybe Bool) Source #

Specifies whether the version of the permission is set to the default version for this permission.

resourceSharePermissionDetail_version :: Lens' ResourceSharePermissionDetail (Maybe Text) Source #

The identifier for the version of the permission.

resourceSharePermissionDetail_isResourceTypeDefault :: Lens' ResourceSharePermissionDetail (Maybe Bool) Source #

Specifies whether the version of the permission is set to the default version for this resource type.

resourceSharePermissionDetail_permission :: Lens' ResourceSharePermissionDetail (Maybe Text) Source #

The permission's effect and actions in JSON format. The effect indicates whether the actions are allowed or denied. The actions list the API actions to which the principal is granted or denied access.