libZSservicesZSamazonka-connectZSamazonka-connect
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.Connect.AssociateSecurityKey

Description

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

Associates a security key to the instance.

Synopsis

Creating a Request

data AssociateSecurityKey Source #

See: newAssociateSecurityKey smart constructor.

Constructors

AssociateSecurityKey' 

Fields

  • instanceId :: Text

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

  • key :: Text

    A valid security key in PEM format.

Instances

Instances details
Eq AssociateSecurityKey Source # 
Instance details

Defined in Amazonka.Connect.AssociateSecurityKey

Read AssociateSecurityKey Source # 
Instance details

Defined in Amazonka.Connect.AssociateSecurityKey

Show AssociateSecurityKey Source # 
Instance details

Defined in Amazonka.Connect.AssociateSecurityKey

Generic AssociateSecurityKey Source # 
Instance details

Defined in Amazonka.Connect.AssociateSecurityKey

Associated Types

type Rep AssociateSecurityKey :: Type -> Type #

NFData AssociateSecurityKey Source # 
Instance details

Defined in Amazonka.Connect.AssociateSecurityKey

Methods

rnf :: AssociateSecurityKey -> () #

Hashable AssociateSecurityKey Source # 
Instance details

Defined in Amazonka.Connect.AssociateSecurityKey

ToJSON AssociateSecurityKey Source # 
Instance details

Defined in Amazonka.Connect.AssociateSecurityKey

AWSRequest AssociateSecurityKey Source # 
Instance details

Defined in Amazonka.Connect.AssociateSecurityKey

Associated Types

type AWSResponse AssociateSecurityKey #

ToHeaders AssociateSecurityKey Source # 
Instance details

Defined in Amazonka.Connect.AssociateSecurityKey

ToPath AssociateSecurityKey Source # 
Instance details

Defined in Amazonka.Connect.AssociateSecurityKey

ToQuery AssociateSecurityKey Source # 
Instance details

Defined in Amazonka.Connect.AssociateSecurityKey

type Rep AssociateSecurityKey Source # 
Instance details

Defined in Amazonka.Connect.AssociateSecurityKey

type Rep AssociateSecurityKey = D1 ('MetaData "AssociateSecurityKey" "Amazonka.Connect.AssociateSecurityKey" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "AssociateSecurityKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse AssociateSecurityKey Source # 
Instance details

Defined in Amazonka.Connect.AssociateSecurityKey

newAssociateSecurityKey Source #

Create a value of AssociateSecurityKey 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:instanceId:AssociateSecurityKey', associateSecurityKey_instanceId - The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

$sel:key:AssociateSecurityKey', associateSecurityKey_key - A valid security key in PEM format.

Request Lenses

associateSecurityKey_instanceId :: Lens' AssociateSecurityKey Text Source #

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

associateSecurityKey_key :: Lens' AssociateSecurityKey Text Source #

A valid security key in PEM format.

Destructuring the Response

data AssociateSecurityKeyResponse Source #

See: newAssociateSecurityKeyResponse smart constructor.

Constructors

AssociateSecurityKeyResponse' 

Fields

  • associationId :: Maybe Text

    The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq AssociateSecurityKeyResponse Source # 
Instance details

Defined in Amazonka.Connect.AssociateSecurityKey

Read AssociateSecurityKeyResponse Source # 
Instance details

Defined in Amazonka.Connect.AssociateSecurityKey

Show AssociateSecurityKeyResponse Source # 
Instance details

Defined in Amazonka.Connect.AssociateSecurityKey

Generic AssociateSecurityKeyResponse Source # 
Instance details

Defined in Amazonka.Connect.AssociateSecurityKey

Associated Types

type Rep AssociateSecurityKeyResponse :: Type -> Type #

NFData AssociateSecurityKeyResponse Source # 
Instance details

Defined in Amazonka.Connect.AssociateSecurityKey

type Rep AssociateSecurityKeyResponse Source # 
Instance details

Defined in Amazonka.Connect.AssociateSecurityKey

type Rep AssociateSecurityKeyResponse = D1 ('MetaData "AssociateSecurityKeyResponse" "Amazonka.Connect.AssociateSecurityKey" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "AssociateSecurityKeyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "associationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAssociateSecurityKeyResponse Source #

Create a value of AssociateSecurityKeyResponse 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:associationId:AssociateSecurityKeyResponse', associateSecurityKeyResponse_associationId - The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.

$sel:httpStatus:AssociateSecurityKeyResponse', associateSecurityKeyResponse_httpStatus - The response's http status code.

Response Lenses

associateSecurityKeyResponse_associationId :: Lens' AssociateSecurityKeyResponse (Maybe Text) Source #

The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.