amazonka-connect-2.0: Amazon Connect Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Connect.CreateSecurityProfile

Description

This API is in preview release for Amazon Connect and is subject to change.

Creates a security profile.

Synopsis

Creating a Request

data CreateSecurityProfile Source #

See: newCreateSecurityProfile smart constructor.

Constructors

CreateSecurityProfile' 

Fields

Instances

Instances details
ToJSON CreateSecurityProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateSecurityProfile

ToHeaders CreateSecurityProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateSecurityProfile

ToPath CreateSecurityProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateSecurityProfile

ToQuery CreateSecurityProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateSecurityProfile

AWSRequest CreateSecurityProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateSecurityProfile

Associated Types

type AWSResponse CreateSecurityProfile #

Generic CreateSecurityProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateSecurityProfile

Associated Types

type Rep CreateSecurityProfile :: Type -> Type #

Read CreateSecurityProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateSecurityProfile

Show CreateSecurityProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateSecurityProfile

NFData CreateSecurityProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateSecurityProfile

Methods

rnf :: CreateSecurityProfile -> () #

Eq CreateSecurityProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateSecurityProfile

Hashable CreateSecurityProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateSecurityProfile

type AWSResponse CreateSecurityProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateSecurityProfile

type Rep CreateSecurityProfile Source # 
Instance details

Defined in Amazonka.Connect.CreateSecurityProfile

type Rep CreateSecurityProfile = D1 ('MetaData "CreateSecurityProfile" "Amazonka.Connect.CreateSecurityProfile" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "CreateSecurityProfile'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "allowedAccessControlTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "permissions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: ((S1 ('MetaSel ('Just "tagRestrictedResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "securityProfileName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newCreateSecurityProfile Source #

Create a value of CreateSecurityProfile 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:

CreateSecurityProfile, createSecurityProfile_allowedAccessControlTags - The list of tags that a security profile uses to restrict access to resources in Amazon Connect.

CreateSecurityProfile, createSecurityProfile_description - The description of the security profile.

$sel:permissions:CreateSecurityProfile', createSecurityProfile_permissions - Permissions assigned to the security profile. For a list of valid permissions, see List of security profile permissions.

CreateSecurityProfile, createSecurityProfile_tagRestrictedResources - The list of resources that a security profile applies tag restrictions to in Amazon Connect. Following are acceptable ResourceNames: User | SecurityProfile | Queue | RoutingProfile

CreateSecurityProfile, createSecurityProfile_tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

CreateSecurityProfile, createSecurityProfile_securityProfileName - The name of the security profile.

CreateSecurityProfile, createSecurityProfile_instanceId - The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Request Lenses

createSecurityProfile_allowedAccessControlTags :: Lens' CreateSecurityProfile (Maybe (HashMap Text Text)) Source #

The list of tags that a security profile uses to restrict access to resources in Amazon Connect.

createSecurityProfile_description :: Lens' CreateSecurityProfile (Maybe Text) Source #

The description of the security profile.

createSecurityProfile_permissions :: Lens' CreateSecurityProfile (Maybe [Text]) Source #

Permissions assigned to the security profile. For a list of valid permissions, see List of security profile permissions.

createSecurityProfile_tagRestrictedResources :: Lens' CreateSecurityProfile (Maybe [Text]) Source #

The list of resources that a security profile applies tag restrictions to in Amazon Connect. Following are acceptable ResourceNames: User | SecurityProfile | Queue | RoutingProfile

createSecurityProfile_tags :: Lens' CreateSecurityProfile (Maybe (HashMap Text Text)) Source #

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

createSecurityProfile_instanceId :: Lens' CreateSecurityProfile Text Source #

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Destructuring the Response

data CreateSecurityProfileResponse Source #

See: newCreateSecurityProfileResponse smart constructor.

Constructors

CreateSecurityProfileResponse' 

Fields

Instances

Instances details
Generic CreateSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateSecurityProfile

Associated Types

type Rep CreateSecurityProfileResponse :: Type -> Type #

Read CreateSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateSecurityProfile

Show CreateSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateSecurityProfile

NFData CreateSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateSecurityProfile

Eq CreateSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateSecurityProfile

type Rep CreateSecurityProfileResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateSecurityProfile

type Rep CreateSecurityProfileResponse = D1 ('MetaData "CreateSecurityProfileResponse" "Amazonka.Connect.CreateSecurityProfile" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "CreateSecurityProfileResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "securityProfileArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "securityProfileId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateSecurityProfileResponse Source #

Create a value of CreateSecurityProfileResponse 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:securityProfileArn:CreateSecurityProfileResponse', createSecurityProfileResponse_securityProfileArn - The Amazon Resource Name (ARN) for the security profile.

$sel:securityProfileId:CreateSecurityProfileResponse', createSecurityProfileResponse_securityProfileId - The identifier for the security profle.

$sel:httpStatus:CreateSecurityProfileResponse', createSecurityProfileResponse_httpStatus - The response's http status code.

Response Lenses

createSecurityProfileResponse_securityProfileArn :: Lens' CreateSecurityProfileResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) for the security profile.