aws-java-sdk-servicecatalog/src/main/java/com/amazonaws/services/servicecatalog/AWSServiceCatalogClient.java
@Override
    public DisableAWSOrganizationsAccessResult disableAWSOrganizationsAccess(DisableAWSOrganizationsAccessRequest request) {
        request = beforeClientExecution(request);
        return executeDisableAWSOrganizationsAccess(request);
    }
/**
     * <p>
     * Disable portfolio sharing through AWS Organizations feature. This feature will not delete your current shares but
     * it will prevent you from creating new shares throughout your organization. Current shares will not be in sync
     * with your organization structure if it changes after calling this API. This API can only be called by the master
     * account in the organization.
     * </p>
     * 
     * @param disableAWSOrganizationsAccessRequest
     * @return Result of the DisableAWSOrganizationsAccess 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.DisableAWSOrganizationsAccess
     * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisableAWSOrganizationsAccess"
     *      target="_top">AWS API Documentation</a>
     */

Disable portfolio sharing through AWS Organizations feature. This feature will not delete your current shares but
it will prevent you from creating new shares throughout your organization. Current shares will not be in sync
with your organization structure if it changes after calling this API. This API can only be called by the master
account in the organization.

@param disableAWSOrganizationsAccessRequest
@return Result of the DisableAWSOrganizationsAccess 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.
Disable portfolio sharing through AWS Organizations feature . This feature will not delete your current shares but it will prevent you from creating new shares throughout your organization . Current shares will not be in sync with your organization structure if it changes after calling this API . This API can only be called by the master account in the organization . @param disableAWSOrganizationsAccessRequest @return Result of the DisableAWSOrganizationsAccess 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 DisableAWSOrganizationsAccessResult disableAWSOrganizationsAccess(DisableAWSOrganizationsAccessRequest request) {
        request = beforeClientExecution(request);
        return executeDisableAWSOrganizationsAccess(request);
    }
@ Override public DisableAWSOrganizationsAccessResult disableAWSOrganizationsAccess ( DisableAWSOrganizationsAccessRequest request ) { request = beforeClientExecution ( request ) ; return executeDisableAWSOrganizationsAccess ( request ) ; }
<p>
 Disable portfolio sharing through AWS Organizations feature.
<p > Disable portfolio sharing through AWS Organizations feature .