libZSservicesZSamazonka-memorydbZSamazonka-memorydb
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.MemoryDb.CreateACL

Description

Creates an Access Control List. For more information, see Authenticating users with Access Contol Lists (ACLs).

Synopsis

Creating a Request

data CreateACL Source #

See: newCreateACL smart constructor.

Constructors

CreateACL' 

Fields

  • userNames :: Maybe (NonEmpty Text)

    The list of users that belong to the Access Control List.

  • tags :: Maybe [Tag]

    A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.

  • aCLName :: Text

    The name of the Access Control List.

Instances

Instances details
Eq CreateACL Source # 
Instance details

Defined in Amazonka.MemoryDb.CreateACL

Read CreateACL Source # 
Instance details

Defined in Amazonka.MemoryDb.CreateACL

Show CreateACL Source # 
Instance details

Defined in Amazonka.MemoryDb.CreateACL

Generic CreateACL Source # 
Instance details

Defined in Amazonka.MemoryDb.CreateACL

Associated Types

type Rep CreateACL :: Type -> Type #

NFData CreateACL Source # 
Instance details

Defined in Amazonka.MemoryDb.CreateACL

Methods

rnf :: CreateACL -> () #

Hashable CreateACL Source # 
Instance details

Defined in Amazonka.MemoryDb.CreateACL

ToJSON CreateACL Source # 
Instance details

Defined in Amazonka.MemoryDb.CreateACL

AWSRequest CreateACL Source # 
Instance details

Defined in Amazonka.MemoryDb.CreateACL

Associated Types

type AWSResponse CreateACL #

ToHeaders CreateACL Source # 
Instance details

Defined in Amazonka.MemoryDb.CreateACL

Methods

toHeaders :: CreateACL -> [Header] #

ToPath CreateACL Source # 
Instance details

Defined in Amazonka.MemoryDb.CreateACL

ToQuery CreateACL Source # 
Instance details

Defined in Amazonka.MemoryDb.CreateACL

type Rep CreateACL Source # 
Instance details

Defined in Amazonka.MemoryDb.CreateACL

type Rep CreateACL = D1 ('MetaData "CreateACL" "Amazonka.MemoryDb.CreateACL" "libZSservicesZSamazonka-memorydbZSamazonka-memorydb" 'False) (C1 ('MetaCons "CreateACL'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "aCLName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateACL Source # 
Instance details

Defined in Amazonka.MemoryDb.CreateACL

newCreateACL Source #

Create a value of CreateACL 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:userNames:CreateACL', createACL_userNames - The list of users that belong to the Access Control List.

$sel:tags:CreateACL', createACL_tags - A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.

$sel:aCLName:CreateACL', createACL_aCLName - The name of the Access Control List.

Request Lenses

createACL_userNames :: Lens' CreateACL (Maybe (NonEmpty Text)) Source #

The list of users that belong to the Access Control List.

createACL_tags :: Lens' CreateACL (Maybe [Tag]) Source #

A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.

createACL_aCLName :: Lens' CreateACL Text Source #

The name of the Access Control List.

Destructuring the Response

data CreateACLResponse Source #

See: newCreateACLResponse smart constructor.

Constructors

CreateACLResponse' 

Fields

Instances

Instances details
Eq CreateACLResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.CreateACL

Read CreateACLResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.CreateACL

Show CreateACLResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.CreateACL

Generic CreateACLResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.CreateACL

Associated Types

type Rep CreateACLResponse :: Type -> Type #

NFData CreateACLResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.CreateACL

Methods

rnf :: CreateACLResponse -> () #

type Rep CreateACLResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.CreateACL

type Rep CreateACLResponse = D1 ('MetaData "CreateACLResponse" "Amazonka.MemoryDb.CreateACL" "libZSservicesZSamazonka-memorydbZSamazonka-memorydb" 'False) (C1 ('MetaCons "CreateACLResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "acl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ACL)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateACLResponse Source #

Create a value of CreateACLResponse 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:acl:CreateACLResponse', createACLResponse_acl - The newly-created Access Control List.

$sel:httpStatus:CreateACLResponse', createACLResponse_httpStatus - The response's http status code.

Response Lenses

createACLResponse_acl :: Lens' CreateACLResponse (Maybe ACL) Source #

The newly-created Access Control List.

createACLResponse_httpStatus :: Lens' CreateACLResponse Int Source #

The response's http status code.