aws-java-sdk-servicecatalog/src/main/java/com/amazonaws/services/servicecatalog/AWSServiceCatalogClient.java
@Override
    public EnableAWSOrganizationsAccessResult enableAWSOrganizationsAccess(EnableAWSOrganizationsAccessRequest request) {
        request = beforeClientExecution(request);
        return executeEnableAWSOrganizationsAccess(request);
    }
/**
     * <p>
     * Enable portfolio sharing feature through AWS Organizations. This API will allow Service Catalog to receive
     * updates on your organization in order to sync your shares with the current structure. This API can only be called
     * by the master account in the organization.
     * </p>
     * <p>
     * By calling this API Service Catalog will make a call to organizations:EnableAWSServiceAccess on your behalf so
     * that your shares can be in sync with any changes in your AWS Organizations structure.
     * </p>
     * 
     * @param enableAWSOrganizationsAccessRequest
     * @return Result of the EnableAWSOrganizationsAccess operation returned by the service.
     * @throws ResourceNotFoundException
     *         The specified resource was not found.
     * @throws InvalidStateException
     *         An attempt was made to modify a resource that is in a state that is not valid. Check your resources to
     *         ensure that they are in valid states before retrying the operation.
     * @throws OperationNotSupportedException
     *         The operation is not supported.
     * @sample AWSServiceCatalog.EnableAWSOrganizationsAccess
     * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/EnableAWSOrganizationsAccess"
     *      target="_top">AWS API Documentation</a>
     */

Enable portfolio sharing feature through AWS Organizations. This API will allow Service Catalog to receive
updates on your organization in order to sync your shares with the current structure. This API can only be called
by the master account in the organization.


By calling this API Service Catalog will make a call to organizations:EnableAWSServiceAccess on your behalf so
that your shares can be in sync with any changes in your AWS Organizations structure.

@param enableAWSOrganizationsAccessRequest
@return Result of the EnableAWSOrganizationsAccess operation returned by the service.
@throws ResourceNotFoundException
The specified resource was not found.
@throws InvalidStateException
An attempt was made to modify a resource that is in a state that is not valid. Check your resources to
ensure that they are in valid states before retrying the operation.
@throws OperationNotSupportedException
The operation is not supported.
Enable portfolio sharing feature through AWS Organizations . This API will allow Service Catalog to receive updates on your organization in order to sync your shares with the current structure . This API can only be called by the master account in the organization . By calling this API Service Catalog will make a call to organizations : EnableAWSServiceAccess on your behalf so that your shares can be in sync with any changes in your AWS Organizations structure . @param enableAWSOrganizationsAccessRequest @return Result of the EnableAWSOrganizationsAccess operation returned by the service . @throws ResourceNotFoundException The specified resource was not found . @throws InvalidStateException An attempt was made to modify a resource that is in a state that is not valid . Check your resources to ensure that they are in valid states before retrying the operation . @throws OperationNotSupportedException The operation is not supported .
@Override
    public EnableAWSOrganizationsAccessResult enableAWSOrganizationsAccess(EnableAWSOrganizationsAccessRequest request) {
        request = beforeClientExecution(request);
        return executeEnableAWSOrganizationsAccess(request);
    }
@ Override public EnableAWSOrganizationsAccessResult enableAWSOrganizationsAccess ( EnableAWSOrganizationsAccessRequest request ) { request = beforeClientExecution ( request ) ; return executeEnableAWSOrganizationsAccess ( request ) ; }
<p>
 Enable portfolio sharing feature through AWS Organizations.
<p > Enable portfolio sharing feature through AWS Organizations .