OrganizationsService overview
Added in v1.0.0
Table of contents
constructors
makeOrganizationsService
Signature
export declare const makeOrganizationsService: Effect.Effect<any, unknown, unknown>
Added in v1.0.0
models
OrganizationsService (class)
Signature
export declare class OrganizationsService
Added in v1.0.0
OrganizationsService$ (interface)
Signature
export interface OrganizationsService$ {
/**
* @see {@link AcceptHandshakeCommand}
*/
acceptHandshake(
args: AcceptHandshakeCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
AcceptHandshakeCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AccessDeniedForDependencyError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| ConstraintViolationError
| HandshakeAlreadyInStateError
| HandshakeConstraintViolationError
| HandshakeNotFoundError
| InvalidHandshakeTransitionError
| InvalidInputError
| MasterCannotLeaveOrganizationError
| ServiceError
| TooManyRequestsError
>
/**
* @see {@link AttachPolicyCommand}
*/
attachPolicy(
args: AttachPolicyCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
AttachPolicyCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| ConstraintViolationError
| DuplicatePolicyAttachmentError
| InvalidInputError
| PolicyChangesInProgressError
| PolicyNotFoundError
| PolicyTypeNotEnabledError
| ServiceError
| TargetNotFoundError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link CancelHandshakeCommand}
*/
cancelHandshake(
args: CancelHandshakeCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
CancelHandshakeCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| ConcurrentModificationError
| HandshakeAlreadyInStateError
| HandshakeNotFoundError
| InvalidHandshakeTransitionError
| InvalidInputError
| ServiceError
| TooManyRequestsError
>
/**
* @see {@link CloseAccountCommand}
*/
closeAccount(
args: CloseAccountCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
CloseAccountCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AccountAlreadyClosedError
| AccountNotFoundError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| ConflictError
| ConstraintViolationError
| InvalidInputError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link CreateAccountCommand}
*/
createAccount(
args: CreateAccountCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
CreateAccountCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| ConstraintViolationError
| FinalizingOrganizationError
| InvalidInputError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link CreateGovCloudAccountCommand}
*/
createGovCloudAccount(
args: CreateGovCloudAccountCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
CreateGovCloudAccountCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| ConstraintViolationError
| FinalizingOrganizationError
| InvalidInputError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link CreateOrganizationCommand}
*/
createOrganization(
args: CreateOrganizationCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
CreateOrganizationCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AccessDeniedForDependencyError
| AlreadyInOrganizationError
| ConcurrentModificationError
| ConstraintViolationError
| InvalidInputError
| ServiceError
| TooManyRequestsError
>
/**
* @see {@link CreateOrganizationalUnitCommand}
*/
createOrganizationalUnit(
args: CreateOrganizationalUnitCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
CreateOrganizationalUnitCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| ConstraintViolationError
| DuplicateOrganizationalUnitError
| InvalidInputError
| ParentNotFoundError
| ServiceError
| TooManyRequestsError
>
/**
* @see {@link CreatePolicyCommand}
*/
createPolicy(
args: CreatePolicyCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
CreatePolicyCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| ConstraintViolationError
| DuplicatePolicyError
| InvalidInputError
| MalformedPolicyDocumentError
| PolicyTypeNotAvailableForOrganizationError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link DeclineHandshakeCommand}
*/
declineHandshake(
args: DeclineHandshakeCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
DeclineHandshakeCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| ConcurrentModificationError
| HandshakeAlreadyInStateError
| HandshakeNotFoundError
| InvalidHandshakeTransitionError
| InvalidInputError
| ServiceError
| TooManyRequestsError
>
/**
* @see {@link DeleteOrganizationCommand}
*/
deleteOrganization(
args: DeleteOrganizationCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
DeleteOrganizationCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| ConstraintViolationError
| InvalidInputError
| OrganizationNotEmptyError
| ServiceError
| TooManyRequestsError
>
/**
* @see {@link DeleteOrganizationalUnitCommand}
*/
deleteOrganizationalUnit(
args: DeleteOrganizationalUnitCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
DeleteOrganizationalUnitCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| InvalidInputError
| OrganizationalUnitNotEmptyError
| OrganizationalUnitNotFoundError
| ServiceError
| TooManyRequestsError
>
/**
* @see {@link DeletePolicyCommand}
*/
deletePolicy(
args: DeletePolicyCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
DeletePolicyCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| InvalidInputError
| PolicyInUseError
| PolicyNotFoundError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link DeleteResourcePolicyCommand}
*/
deleteResourcePolicy(
args: DeleteResourcePolicyCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
DeleteResourcePolicyCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| ConstraintViolationError
| ResourcePolicyNotFoundError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link DeregisterDelegatedAdministratorCommand}
*/
deregisterDelegatedAdministrator(
args: DeregisterDelegatedAdministratorCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
DeregisterDelegatedAdministratorCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AccountNotFoundError
| AccountNotRegisteredError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| ConstraintViolationError
| InvalidInputError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link DescribeAccountCommand}
*/
describeAccount(
args: DescribeAccountCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
DescribeAccountCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AccountNotFoundError
| AWSOrganizationsNotInUseError
| InvalidInputError
| ServiceError
| TooManyRequestsError
>
/**
* @see {@link DescribeCreateAccountStatusCommand}
*/
describeCreateAccountStatus(
args: DescribeCreateAccountStatusCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
DescribeCreateAccountStatusCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| CreateAccountStatusNotFoundError
| InvalidInputError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link DescribeEffectivePolicyCommand}
*/
describeEffectivePolicy(
args: DescribeEffectivePolicyCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
DescribeEffectivePolicyCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConstraintViolationError
| EffectivePolicyNotFoundError
| InvalidInputError
| ServiceError
| TargetNotFoundError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link DescribeHandshakeCommand}
*/
describeHandshake(
args: DescribeHandshakeCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
DescribeHandshakeCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| ConcurrentModificationError
| HandshakeNotFoundError
| InvalidInputError
| ServiceError
| TooManyRequestsError
>
/**
* @see {@link DescribeOrganizationCommand}
*/
describeOrganization(
args: DescribeOrganizationCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
DescribeOrganizationCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| ServiceError
| TooManyRequestsError
>
/**
* @see {@link DescribeOrganizationalUnitCommand}
*/
describeOrganizationalUnit(
args: DescribeOrganizationalUnitCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
DescribeOrganizationalUnitCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| InvalidInputError
| OrganizationalUnitNotFoundError
| ServiceError
| TooManyRequestsError
>
/**
* @see {@link DescribePolicyCommand}
*/
describePolicy(
args: DescribePolicyCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
DescribePolicyCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| InvalidInputError
| PolicyNotFoundError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link DescribeResourcePolicyCommand}
*/
describeResourcePolicy(
args: DescribeResourcePolicyCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
DescribeResourcePolicyCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConstraintViolationError
| ResourcePolicyNotFoundError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link DescribeResponsibilityTransferCommand}
*/
describeResponsibilityTransfer(
args: DescribeResponsibilityTransferCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
DescribeResponsibilityTransferCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| InvalidInputError
| ResponsibilityTransferNotFoundError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link DetachPolicyCommand}
*/
detachPolicy(
args: DetachPolicyCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
DetachPolicyCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| ConstraintViolationError
| InvalidInputError
| PolicyChangesInProgressError
| PolicyNotAttachedError
| PolicyNotFoundError
| ServiceError
| TargetNotFoundError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link DisableAWSServiceAccessCommand}
*/
disableAWSServiceAccess(
args: DisableAWSServiceAccessCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
DisableAWSServiceAccessCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| ConstraintViolationError
| InvalidInputError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link DisablePolicyTypeCommand}
*/
disablePolicyType(
args: DisablePolicyTypeCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
DisablePolicyTypeCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| ConstraintViolationError
| InvalidInputError
| PolicyChangesInProgressError
| PolicyTypeNotEnabledError
| RootNotFoundError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link EnableAWSServiceAccessCommand}
*/
enableAWSServiceAccess(
args: EnableAWSServiceAccessCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
EnableAWSServiceAccessCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| ConstraintViolationError
| InvalidInputError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link EnableAllFeaturesCommand}
*/
enableAllFeatures(
args: EnableAllFeaturesCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
EnableAllFeaturesCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| ConstraintViolationError
| HandshakeConstraintViolationError
| InvalidInputError
| ServiceError
| TooManyRequestsError
>
/**
* @see {@link EnablePolicyTypeCommand}
*/
enablePolicyType(
args: EnablePolicyTypeCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
EnablePolicyTypeCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| ConstraintViolationError
| InvalidInputError
| PolicyChangesInProgressError
| PolicyTypeAlreadyEnabledError
| PolicyTypeNotAvailableForOrganizationError
| RootNotFoundError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link InviteAccountToOrganizationCommand}
*/
inviteAccountToOrganization(
args: InviteAccountToOrganizationCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
InviteAccountToOrganizationCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AccountOwnerNotVerifiedError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| ConstraintViolationError
| DuplicateHandshakeError
| FinalizingOrganizationError
| HandshakeConstraintViolationError
| InvalidInputError
| ServiceError
| TooManyRequestsError
>
/**
* @see {@link InviteOrganizationToTransferResponsibilityCommand}
*/
inviteOrganizationToTransferResponsibility(
args: InviteOrganizationToTransferResponsibilityCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
InviteOrganizationToTransferResponsibilityCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| ConstraintViolationError
| DuplicateHandshakeError
| HandshakeConstraintViolationError
| InvalidInputError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link LeaveOrganizationCommand}
*/
leaveOrganization(
args: LeaveOrganizationCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
LeaveOrganizationCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AccountNotFoundError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| ConstraintViolationError
| InvalidInputError
| MasterCannotLeaveOrganizationError
| ServiceError
| TooManyRequestsError
>
/**
* @see {@link ListAWSServiceAccessForOrganizationCommand}
*/
listAWSServiceAccessForOrganization(
args: ListAWSServiceAccessForOrganizationCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
ListAWSServiceAccessForOrganizationCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConstraintViolationError
| InvalidInputError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
listAWSServiceAccessForOrganizationStream(
args: ListAWSServiceAccessForOrganizationCommandInput,
options?: HttpHandlerOptions
): Stream.Stream<
ListAWSServiceAccessForOrganizationCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConstraintViolationError
| InvalidInputError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link ListAccountsCommand}
*/
listAccounts(
args: ListAccountsCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
ListAccountsCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| InvalidInputError
| ServiceError
| TooManyRequestsError
>
listAccountsStream(
args: ListAccountsCommandInput,
options?: HttpHandlerOptions
): Stream.Stream<
ListAccountsCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| InvalidInputError
| ServiceError
| TooManyRequestsError
>
/**
* @see {@link ListAccountsForParentCommand}
*/
listAccountsForParent(
args: ListAccountsForParentCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
ListAccountsForParentCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| InvalidInputError
| ParentNotFoundError
| ServiceError
| TooManyRequestsError
>
listAccountsForParentStream(
args: ListAccountsForParentCommandInput,
options?: HttpHandlerOptions
): Stream.Stream<
ListAccountsForParentCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| InvalidInputError
| ParentNotFoundError
| ServiceError
| TooManyRequestsError
>
/**
* @see {@link ListAccountsWithInvalidEffectivePolicyCommand}
*/
listAccountsWithInvalidEffectivePolicy(
args: ListAccountsWithInvalidEffectivePolicyCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
ListAccountsWithInvalidEffectivePolicyCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConstraintViolationError
| EffectivePolicyNotFoundError
| InvalidInputError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
listAccountsWithInvalidEffectivePolicyStream(
args: ListAccountsWithInvalidEffectivePolicyCommandInput,
options?: HttpHandlerOptions
): Stream.Stream<
ListAccountsWithInvalidEffectivePolicyCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConstraintViolationError
| EffectivePolicyNotFoundError
| InvalidInputError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link ListChildrenCommand}
*/
listChildren(
args: ListChildrenCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
ListChildrenCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| InvalidInputError
| ParentNotFoundError
| ServiceError
| TooManyRequestsError
>
listChildrenStream(
args: ListChildrenCommandInput,
options?: HttpHandlerOptions
): Stream.Stream<
ListChildrenCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| InvalidInputError
| ParentNotFoundError
| ServiceError
| TooManyRequestsError
>
/**
* @see {@link ListCreateAccountStatusCommand}
*/
listCreateAccountStatus(
args: ListCreateAccountStatusCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
ListCreateAccountStatusCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| InvalidInputError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
listCreateAccountStatusStream(
args: ListCreateAccountStatusCommandInput,
options?: HttpHandlerOptions
): Stream.Stream<
ListCreateAccountStatusCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| InvalidInputError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link ListDelegatedAdministratorsCommand}
*/
listDelegatedAdministrators(
args: ListDelegatedAdministratorsCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
ListDelegatedAdministratorsCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConstraintViolationError
| InvalidInputError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
listDelegatedAdministratorsStream(
args: ListDelegatedAdministratorsCommandInput,
options?: HttpHandlerOptions
): Stream.Stream<
ListDelegatedAdministratorsCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConstraintViolationError
| InvalidInputError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link ListDelegatedServicesForAccountCommand}
*/
listDelegatedServicesForAccount(
args: ListDelegatedServicesForAccountCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
ListDelegatedServicesForAccountCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AccountNotFoundError
| AccountNotRegisteredError
| AWSOrganizationsNotInUseError
| ConstraintViolationError
| InvalidInputError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
listDelegatedServicesForAccountStream(
args: ListDelegatedServicesForAccountCommandInput,
options?: HttpHandlerOptions
): Stream.Stream<
ListDelegatedServicesForAccountCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AccountNotFoundError
| AccountNotRegisteredError
| AWSOrganizationsNotInUseError
| ConstraintViolationError
| InvalidInputError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link ListEffectivePolicyValidationErrorsCommand}
*/
listEffectivePolicyValidationErrors(
args: ListEffectivePolicyValidationErrorsCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
ListEffectivePolicyValidationErrorsCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AccountNotFoundError
| AWSOrganizationsNotInUseError
| ConstraintViolationError
| EffectivePolicyNotFoundError
| InvalidInputError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
listEffectivePolicyValidationErrorsStream(
args: ListEffectivePolicyValidationErrorsCommandInput,
options?: HttpHandlerOptions
): Stream.Stream<
ListEffectivePolicyValidationErrorsCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AccountNotFoundError
| AWSOrganizationsNotInUseError
| ConstraintViolationError
| EffectivePolicyNotFoundError
| InvalidInputError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link ListHandshakesForAccountCommand}
*/
listHandshakesForAccount(
args: ListHandshakesForAccountCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
ListHandshakesForAccountCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| ConcurrentModificationError
| InvalidInputError
| ServiceError
| TooManyRequestsError
>
listHandshakesForAccountStream(
args: ListHandshakesForAccountCommandInput,
options?: HttpHandlerOptions
): Stream.Stream<
ListHandshakesForAccountCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| ConcurrentModificationError
| InvalidInputError
| ServiceError
| TooManyRequestsError
>
/**
* @see {@link ListHandshakesForOrganizationCommand}
*/
listHandshakesForOrganization(
args: ListHandshakesForOrganizationCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
ListHandshakesForOrganizationCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| InvalidInputError
| ServiceError
| TooManyRequestsError
>
listHandshakesForOrganizationStream(
args: ListHandshakesForOrganizationCommandInput,
options?: HttpHandlerOptions
): Stream.Stream<
ListHandshakesForOrganizationCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| InvalidInputError
| ServiceError
| TooManyRequestsError
>
/**
* @see {@link ListInboundResponsibilityTransfersCommand}
*/
listInboundResponsibilityTransfers(
args: ListInboundResponsibilityTransfersCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
ListInboundResponsibilityTransfersCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConstraintViolationError
| InvalidInputError
| ResponsibilityTransferNotFoundError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link ListOrganizationalUnitsForParentCommand}
*/
listOrganizationalUnitsForParent(
args: ListOrganizationalUnitsForParentCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
ListOrganizationalUnitsForParentCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| InvalidInputError
| ParentNotFoundError
| ServiceError
| TooManyRequestsError
>
listOrganizationalUnitsForParentStream(
args: ListOrganizationalUnitsForParentCommandInput,
options?: HttpHandlerOptions
): Stream.Stream<
ListOrganizationalUnitsForParentCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| InvalidInputError
| ParentNotFoundError
| ServiceError
| TooManyRequestsError
>
/**
* @see {@link ListOutboundResponsibilityTransfersCommand}
*/
listOutboundResponsibilityTransfers(
args: ListOutboundResponsibilityTransfersCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
ListOutboundResponsibilityTransfersCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConstraintViolationError
| InvalidInputError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link ListParentsCommand}
*/
listParents(
args: ListParentsCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
ListParentsCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ChildNotFoundError
| InvalidInputError
| ServiceError
| TooManyRequestsError
>
listParentsStream(
args: ListParentsCommandInput,
options?: HttpHandlerOptions
): Stream.Stream<
ListParentsCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ChildNotFoundError
| InvalidInputError
| ServiceError
| TooManyRequestsError
>
/**
* @see {@link ListPoliciesCommand}
*/
listPolicies(
args: ListPoliciesCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
ListPoliciesCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| InvalidInputError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
listPoliciesStream(
args: ListPoliciesCommandInput,
options?: HttpHandlerOptions
): Stream.Stream<
ListPoliciesCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| InvalidInputError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link ListPoliciesForTargetCommand}
*/
listPoliciesForTarget(
args: ListPoliciesForTargetCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
ListPoliciesForTargetCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| InvalidInputError
| ServiceError
| TargetNotFoundError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
listPoliciesForTargetStream(
args: ListPoliciesForTargetCommandInput,
options?: HttpHandlerOptions
): Stream.Stream<
ListPoliciesForTargetCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| InvalidInputError
| ServiceError
| TargetNotFoundError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link ListRootsCommand}
*/
listRoots(
args: ListRootsCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
ListRootsCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| InvalidInputError
| ServiceError
| TooManyRequestsError
>
listRootsStream(
args: ListRootsCommandInput,
options?: HttpHandlerOptions
): Stream.Stream<
ListRootsCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| InvalidInputError
| ServiceError
| TooManyRequestsError
>
/**
* @see {@link ListTagsForResourceCommand}
*/
listTagsForResource(
args: ListTagsForResourceCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
ListTagsForResourceCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| InvalidInputError
| ServiceError
| TargetNotFoundError
| TooManyRequestsError
>
listTagsForResourceStream(
args: ListTagsForResourceCommandInput,
options?: HttpHandlerOptions
): Stream.Stream<
ListTagsForResourceCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| InvalidInputError
| ServiceError
| TargetNotFoundError
| TooManyRequestsError
>
/**
* @see {@link ListTargetsForPolicyCommand}
*/
listTargetsForPolicy(
args: ListTargetsForPolicyCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
ListTargetsForPolicyCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| InvalidInputError
| PolicyNotFoundError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
listTargetsForPolicyStream(
args: ListTargetsForPolicyCommandInput,
options?: HttpHandlerOptions
): Stream.Stream<
ListTargetsForPolicyCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| InvalidInputError
| PolicyNotFoundError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link MoveAccountCommand}
*/
moveAccount(
args: MoveAccountCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
MoveAccountCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AccountNotFoundError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| DestinationParentNotFoundError
| DuplicateAccountError
| InvalidInputError
| ServiceError
| SourceParentNotFoundError
| TooManyRequestsError
>
/**
* @see {@link PutResourcePolicyCommand}
*/
putResourcePolicy(
args: PutResourcePolicyCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
PutResourcePolicyCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| ConstraintViolationError
| InvalidInputError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link RegisterDelegatedAdministratorCommand}
*/
registerDelegatedAdministrator(
args: RegisterDelegatedAdministratorCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
RegisterDelegatedAdministratorCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AccountAlreadyRegisteredError
| AccountNotFoundError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| ConstraintViolationError
| InvalidInputError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link RemoveAccountFromOrganizationCommand}
*/
removeAccountFromOrganization(
args: RemoveAccountFromOrganizationCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
RemoveAccountFromOrganizationCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AccountNotFoundError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| ConstraintViolationError
| InvalidInputError
| MasterCannotLeaveOrganizationError
| ServiceError
| TooManyRequestsError
>
/**
* @see {@link TagResourceCommand}
*/
tagResource(
args: TagResourceCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
TagResourceCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| ConstraintViolationError
| InvalidInputError
| ServiceError
| TargetNotFoundError
| TooManyRequestsError
>
/**
* @see {@link TerminateResponsibilityTransferCommand}
*/
terminateResponsibilityTransfer(
args: TerminateResponsibilityTransferCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
TerminateResponsibilityTransferCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| ConstraintViolationError
| InvalidInputError
| InvalidResponsibilityTransferTransitionError
| ResponsibilityTransferAlreadyInStatusError
| ResponsibilityTransferNotFoundError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link UntagResourceCommand}
*/
untagResource(
args: UntagResourceCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
UntagResourceCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| ConstraintViolationError
| InvalidInputError
| ServiceError
| TargetNotFoundError
| TooManyRequestsError
>
/**
* @see {@link UpdateOrganizationalUnitCommand}
*/
updateOrganizationalUnit(
args: UpdateOrganizationalUnitCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
UpdateOrganizationalUnitCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| DuplicateOrganizationalUnitError
| InvalidInputError
| OrganizationalUnitNotFoundError
| ServiceError
| TooManyRequestsError
>
/**
* @see {@link UpdatePolicyCommand}
*/
updatePolicy(
args: UpdatePolicyCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
UpdatePolicyCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConcurrentModificationError
| ConstraintViolationError
| DuplicatePolicyError
| InvalidInputError
| MalformedPolicyDocumentError
| PolicyChangesInProgressError
| PolicyNotFoundError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
/**
* @see {@link UpdateResponsibilityTransferCommand}
*/
updateResponsibilityTransfer(
args: UpdateResponsibilityTransferCommandInput,
options?: HttpHandlerOptions
): Effect.Effect<
UpdateResponsibilityTransferCommandOutput,
| Cause.TimeoutError
| SdkError
| AccessDeniedError
| AWSOrganizationsNotInUseError
| ConstraintViolationError
| InvalidInputError
| ResponsibilityTransferNotFoundError
| ServiceError
| TooManyRequestsError
| UnsupportedAPIEndpointError
>
}
Added in v1.0.0
utils
OrganizationsService (namespace)
Added in v1.0.0
Config (interface)
Signature
export interface Config extends Omit<OrganizationsClientConfig, "logger"> {
readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true
}
Added in v1.0.0
Type (type alias)
Signature
export type Type = OrganizationsService$
Added in v1.0.0