Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- data EnableReachabilityAnalyzerOrganizationSharing = EnableReachabilityAnalyzerOrganizationSharing' {}
- newEnableReachabilityAnalyzerOrganizationSharing :: EnableReachabilityAnalyzerOrganizationSharing
- enableReachabilityAnalyzerOrganizationSharing_dryRun :: Lens' EnableReachabilityAnalyzerOrganizationSharing (Maybe Bool)
- data EnableReachabilityAnalyzerOrganizationSharingResponse = EnableReachabilityAnalyzerOrganizationSharingResponse' {
- returnValue :: Maybe Bool
- httpStatus :: Int
- newEnableReachabilityAnalyzerOrganizationSharingResponse :: Int -> EnableReachabilityAnalyzerOrganizationSharingResponse
- enableReachabilityAnalyzerOrganizationSharingResponse_returnValue :: Lens' EnableReachabilityAnalyzerOrganizationSharingResponse (Maybe Bool)
- enableReachabilityAnalyzerOrganizationSharingResponse_httpStatus :: Lens' EnableReachabilityAnalyzerOrganizationSharingResponse Int
Creating a Request
data EnableReachabilityAnalyzerOrganizationSharing Source #
See: newEnableReachabilityAnalyzerOrganizationSharing
smart constructor.
Instances
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 #
See: newEnableReachabilityAnalyzerOrganizationSharingResponse
smart constructor.
EnableReachabilityAnalyzerOrganizationSharingResponse' | |
|
Instances
newEnableReachabilityAnalyzerOrganizationSharingResponse Source #
:: Int |
|
-> EnableReachabilityAnalyzerOrganizationSharingResponse |
Create a value of EnableReachabilityAnalyzerOrganizationSharingResponse
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:returnValue:EnableReachabilityAnalyzerOrganizationSharingResponse'
, enableReachabilityAnalyzerOrganizationSharingResponse_returnValue
- Returns true
if the request succeeds; otherwise, returns an error.
$sel:httpStatus:EnableReachabilityAnalyzerOrganizationSharingResponse'
, enableReachabilityAnalyzerOrganizationSharingResponse_httpStatus
- The response's http status code.
Response Lenses
enableReachabilityAnalyzerOrganizationSharingResponse_returnValue :: Lens' EnableReachabilityAnalyzerOrganizationSharingResponse (Maybe Bool) Source #
Returns true
if the request succeeds; otherwise, returns an error.
enableReachabilityAnalyzerOrganizationSharingResponse_httpStatus :: Lens' EnableReachabilityAnalyzerOrganizationSharingResponse Int Source #
The response's http status code.