libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog
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.ServiceCatalog.Types.PortfolioShareDetail

Description

 
Synopsis

Documentation

data PortfolioShareDetail Source #

Information about the portfolio share.

See: newPortfolioShareDetail smart constructor.

Constructors

PortfolioShareDetail' 

Fields

  • principalId :: Maybe Text

    The identifier of the recipient entity that received the portfolio share. The recipient entities can be one of the following:

    1. An external account.
    2. An organziation member account.
    3. An organzational unit (OU).
    4. The organization itself. (This shares with every account in the organization).
  • shareTagOptions :: Maybe Bool

    Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.

  • type' :: Maybe DescribePortfolioShareType

    The type of the portfolio share.

  • accepted :: Maybe Bool

    Indicates whether the shared portfolio is imported by the recipient account. If the recipient is in an organization node, the share is automatically imported, and the field is always set to true.

Instances

Instances details
Eq PortfolioShareDetail Source # 
Instance details

Defined in Amazonka.ServiceCatalog.Types.PortfolioShareDetail

Read PortfolioShareDetail Source # 
Instance details

Defined in Amazonka.ServiceCatalog.Types.PortfolioShareDetail

Show PortfolioShareDetail Source # 
Instance details

Defined in Amazonka.ServiceCatalog.Types.PortfolioShareDetail

Generic PortfolioShareDetail Source # 
Instance details

Defined in Amazonka.ServiceCatalog.Types.PortfolioShareDetail

Associated Types

type Rep PortfolioShareDetail :: Type -> Type #

NFData PortfolioShareDetail Source # 
Instance details

Defined in Amazonka.ServiceCatalog.Types.PortfolioShareDetail

Methods

rnf :: PortfolioShareDetail -> () #

Hashable PortfolioShareDetail Source # 
Instance details

Defined in Amazonka.ServiceCatalog.Types.PortfolioShareDetail

FromJSON PortfolioShareDetail Source # 
Instance details

Defined in Amazonka.ServiceCatalog.Types.PortfolioShareDetail

type Rep PortfolioShareDetail Source # 
Instance details

Defined in Amazonka.ServiceCatalog.Types.PortfolioShareDetail

type Rep PortfolioShareDetail = D1 ('MetaData "PortfolioShareDetail" "Amazonka.ServiceCatalog.Types.PortfolioShareDetail" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "PortfolioShareDetail'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "principalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "shareTagOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DescribePortfolioShareType)) :*: S1 ('MetaSel ('Just "accepted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

newPortfolioShareDetail :: PortfolioShareDetail Source #

Create a value of PortfolioShareDetail 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:principalId:PortfolioShareDetail', portfolioShareDetail_principalId - The identifier of the recipient entity that received the portfolio share. The recipient entities can be one of the following:

  1. An external account.
  2. An organziation member account.
  3. An organzational unit (OU).
  4. The organization itself. (This shares with every account in the organization).

$sel:shareTagOptions:PortfolioShareDetail', portfolioShareDetail_shareTagOptions - Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.

$sel:type':PortfolioShareDetail', portfolioShareDetail_type - The type of the portfolio share.

$sel:accepted:PortfolioShareDetail', portfolioShareDetail_accepted - Indicates whether the shared portfolio is imported by the recipient account. If the recipient is in an organization node, the share is automatically imported, and the field is always set to true.

portfolioShareDetail_principalId :: Lens' PortfolioShareDetail (Maybe Text) Source #

The identifier of the recipient entity that received the portfolio share. The recipient entities can be one of the following:

  1. An external account.
  2. An organziation member account.
  3. An organzational unit (OU).
  4. The organization itself. (This shares with every account in the organization).

portfolioShareDetail_shareTagOptions :: Lens' PortfolioShareDetail (Maybe Bool) Source #

Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.

portfolioShareDetail_accepted :: Lens' PortfolioShareDetail (Maybe Bool) Source #

Indicates whether the shared portfolio is imported by the recipient account. If the recipient is in an organization node, the share is automatically imported, and the field is always set to true.