libZSservicesZSamazonka-organizationsZSamazonka-organizations
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.Organizations.Types.EnabledServicePrincipal

Description

 
Synopsis

Documentation

data EnabledServicePrincipal Source #

A structure that contains details of a service principal that represents an AWS service that is enabled to integrate with AWS Organizations.

See: newEnabledServicePrincipal smart constructor.

Constructors

EnabledServicePrincipal' 

Fields

  • servicePrincipal :: Maybe Text

    The name of the service principal. This is typically in the form of a URL, such as: servicename.amazonaws.com.

  • dateEnabled :: Maybe POSIX

    The date that the service principal was enabled for integration with AWS Organizations.

Instances

Instances details
Eq EnabledServicePrincipal Source # 
Instance details

Defined in Amazonka.Organizations.Types.EnabledServicePrincipal

Read EnabledServicePrincipal Source # 
Instance details

Defined in Amazonka.Organizations.Types.EnabledServicePrincipal

Show EnabledServicePrincipal Source # 
Instance details

Defined in Amazonka.Organizations.Types.EnabledServicePrincipal

Generic EnabledServicePrincipal Source # 
Instance details

Defined in Amazonka.Organizations.Types.EnabledServicePrincipal

Associated Types

type Rep EnabledServicePrincipal :: Type -> Type #

NFData EnabledServicePrincipal Source # 
Instance details

Defined in Amazonka.Organizations.Types.EnabledServicePrincipal

Methods

rnf :: EnabledServicePrincipal -> () #

Hashable EnabledServicePrincipal Source # 
Instance details

Defined in Amazonka.Organizations.Types.EnabledServicePrincipal

FromJSON EnabledServicePrincipal Source # 
Instance details

Defined in Amazonka.Organizations.Types.EnabledServicePrincipal

type Rep EnabledServicePrincipal Source # 
Instance details

Defined in Amazonka.Organizations.Types.EnabledServicePrincipal

type Rep EnabledServicePrincipal = D1 ('MetaData "EnabledServicePrincipal" "Amazonka.Organizations.Types.EnabledServicePrincipal" "libZSservicesZSamazonka-organizationsZSamazonka-organizations" 'False) (C1 ('MetaCons "EnabledServicePrincipal'" 'PrefixI 'True) (S1 ('MetaSel ('Just "servicePrincipal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dateEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))

newEnabledServicePrincipal :: EnabledServicePrincipal Source #

Create a value of EnabledServicePrincipal 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:servicePrincipal:EnabledServicePrincipal', enabledServicePrincipal_servicePrincipal - The name of the service principal. This is typically in the form of a URL, such as: servicename.amazonaws.com.

$sel:dateEnabled:EnabledServicePrincipal', enabledServicePrincipal_dateEnabled - The date that the service principal was enabled for integration with AWS Organizations.

enabledServicePrincipal_servicePrincipal :: Lens' EnabledServicePrincipal (Maybe Text) Source #

The name of the service principal. This is typically in the form of a URL, such as: servicename.amazonaws.com.

enabledServicePrincipal_dateEnabled :: Lens' EnabledServicePrincipal (Maybe UTCTime) Source #

The date that the service principal was enabled for integration with AWS Organizations.