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.GetFederationToken

Description

Retrieves a token for federation.

This API doesn't support root users. If you try to invoke GetFederationToken with root credentials, an error message similar to the following one appears:

Provided identity: Principal: .... User: .... cannot be used for federation with Amazon Connect
Synopsis

Creating a Request

data GetFederationToken Source #

See: newGetFederationToken smart constructor.

Constructors

GetFederationToken' 

Fields

  • instanceId :: Text

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

Instances

Instances details
Eq GetFederationToken Source # 
Instance details

Defined in Amazonka.Connect.GetFederationToken

Read GetFederationToken Source # 
Instance details

Defined in Amazonka.Connect.GetFederationToken

Show GetFederationToken Source # 
Instance details

Defined in Amazonka.Connect.GetFederationToken

Generic GetFederationToken Source # 
Instance details

Defined in Amazonka.Connect.GetFederationToken

Associated Types

type Rep GetFederationToken :: Type -> Type #

NFData GetFederationToken Source # 
Instance details

Defined in Amazonka.Connect.GetFederationToken

Methods

rnf :: GetFederationToken -> () #

Hashable GetFederationToken Source # 
Instance details

Defined in Amazonka.Connect.GetFederationToken

AWSRequest GetFederationToken Source # 
Instance details

Defined in Amazonka.Connect.GetFederationToken

Associated Types

type AWSResponse GetFederationToken #

ToHeaders GetFederationToken Source # 
Instance details

Defined in Amazonka.Connect.GetFederationToken

ToPath GetFederationToken Source # 
Instance details

Defined in Amazonka.Connect.GetFederationToken

ToQuery GetFederationToken Source # 
Instance details

Defined in Amazonka.Connect.GetFederationToken

type Rep GetFederationToken Source # 
Instance details

Defined in Amazonka.Connect.GetFederationToken

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

Defined in Amazonka.Connect.GetFederationToken

newGetFederationToken Source #

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

Request Lenses

getFederationToken_instanceId :: Lens' GetFederationToken Text Source #

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

Destructuring the Response

data GetFederationTokenResponse Source #

See: newGetFederationTokenResponse smart constructor.

Constructors

GetFederationTokenResponse' 

Fields

Instances

Instances details
Eq GetFederationTokenResponse Source # 
Instance details

Defined in Amazonka.Connect.GetFederationToken

Show GetFederationTokenResponse Source # 
Instance details

Defined in Amazonka.Connect.GetFederationToken

Generic GetFederationTokenResponse Source # 
Instance details

Defined in Amazonka.Connect.GetFederationToken

Associated Types

type Rep GetFederationTokenResponse :: Type -> Type #

NFData GetFederationTokenResponse Source # 
Instance details

Defined in Amazonka.Connect.GetFederationToken

type Rep GetFederationTokenResponse Source # 
Instance details

Defined in Amazonka.Connect.GetFederationToken

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

newGetFederationTokenResponse Source #

Create a value of GetFederationTokenResponse 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:credentials:GetFederationTokenResponse', getFederationTokenResponse_credentials - The credentials to use for federation.

$sel:httpStatus:GetFederationTokenResponse', getFederationTokenResponse_httpStatus - The response's http status code.

Response Lenses