amazonka-ec2-2.0: Amazon Elastic Compute Cloud 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.EC2.EnableReachabilityAnalyzerOrganizationSharing

Description

Establishes a trust relationship between Reachability Analyzer and Organizations. This operation must be performed by the management account for the organization.

After you establish a trust relationship, a user in the management account or a delegated administrator account can run a cross-account analysis using resources from the member accounts.

Synopsis

Creating a Request

data EnableReachabilityAnalyzerOrganizationSharing Source #

Constructors

EnableReachabilityAnalyzerOrganizationSharing' 

Fields

  • dryRun :: Maybe Bool

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Instances

Instances details
ToHeaders EnableReachabilityAnalyzerOrganizationSharing Source # 
Instance details

Defined in Amazonka.EC2.EnableReachabilityAnalyzerOrganizationSharing

ToPath EnableReachabilityAnalyzerOrganizationSharing Source # 
Instance details

Defined in Amazonka.EC2.EnableReachabilityAnalyzerOrganizationSharing

ToQuery EnableReachabilityAnalyzerOrganizationSharing Source # 
Instance details

Defined in Amazonka.EC2.EnableReachabilityAnalyzerOrganizationSharing

AWSRequest EnableReachabilityAnalyzerOrganizationSharing Source # 
Instance details

Defined in Amazonka.EC2.EnableReachabilityAnalyzerOrganizationSharing

Generic EnableReachabilityAnalyzerOrganizationSharing Source # 
Instance details

Defined in Amazonka.EC2.EnableReachabilityAnalyzerOrganizationSharing

Read EnableReachabilityAnalyzerOrganizationSharing Source # 
Instance details

Defined in Amazonka.EC2.EnableReachabilityAnalyzerOrganizationSharing

Show EnableReachabilityAnalyzerOrganizationSharing Source # 
Instance details

Defined in Amazonka.EC2.EnableReachabilityAnalyzerOrganizationSharing

NFData EnableReachabilityAnalyzerOrganizationSharing Source # 
Instance details

Defined in Amazonka.EC2.EnableReachabilityAnalyzerOrganizationSharing

Eq EnableReachabilityAnalyzerOrganizationSharing Source # 
Instance details

Defined in Amazonka.EC2.EnableReachabilityAnalyzerOrganizationSharing

Hashable EnableReachabilityAnalyzerOrganizationSharing Source # 
Instance details

Defined in Amazonka.EC2.EnableReachabilityAnalyzerOrganizationSharing

type AWSResponse EnableReachabilityAnalyzerOrganizationSharing Source # 
Instance details

Defined in Amazonka.EC2.EnableReachabilityAnalyzerOrganizationSharing

type Rep EnableReachabilityAnalyzerOrganizationSharing Source # 
Instance details

Defined in Amazonka.EC2.EnableReachabilityAnalyzerOrganizationSharing

type Rep EnableReachabilityAnalyzerOrganizationSharing = D1 ('MetaData "EnableReachabilityAnalyzerOrganizationSharing" "Amazonka.EC2.EnableReachabilityAnalyzerOrganizationSharing" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "EnableReachabilityAnalyzerOrganizationSharing'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newEnableReachabilityAnalyzerOrganizationSharing :: EnableReachabilityAnalyzerOrganizationSharing Source #

Create a value of EnableReachabilityAnalyzerOrganizationSharing 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:dryRun:EnableReachabilityAnalyzerOrganizationSharing', enableReachabilityAnalyzerOrganizationSharing_dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Request Lenses

enableReachabilityAnalyzerOrganizationSharing_dryRun :: Lens' EnableReachabilityAnalyzerOrganizationSharing (Maybe Bool) Source #

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Destructuring the Response

data EnableReachabilityAnalyzerOrganizationSharingResponse Source #

Constructors

EnableReachabilityAnalyzerOrganizationSharingResponse' 

Fields

Instances

Instances details
Generic EnableReachabilityAnalyzerOrganizationSharingResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableReachabilityAnalyzerOrganizationSharing

Read EnableReachabilityAnalyzerOrganizationSharingResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableReachabilityAnalyzerOrganizationSharing

Show EnableReachabilityAnalyzerOrganizationSharingResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableReachabilityAnalyzerOrganizationSharing

NFData EnableReachabilityAnalyzerOrganizationSharingResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableReachabilityAnalyzerOrganizationSharing

Eq EnableReachabilityAnalyzerOrganizationSharingResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableReachabilityAnalyzerOrganizationSharing

type Rep EnableReachabilityAnalyzerOrganizationSharingResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableReachabilityAnalyzerOrganizationSharing

type Rep EnableReachabilityAnalyzerOrganizationSharingResponse = D1 ('MetaData "EnableReachabilityAnalyzerOrganizationSharingResponse" "Amazonka.EC2.EnableReachabilityAnalyzerOrganizationSharing" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "EnableReachabilityAnalyzerOrganizationSharingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "returnValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

Response Lenses