// Retrieves information about the organization that the user's account belongs to.
// This operation can be called from any account in the organization. Even if a
// policy type is shown as available in the organization, you can disable it
// separately at the root level with DisablePolicyType. Use ListRoots to see the
// status of policy types for a specified root.
Retrieves information about the organization that the user's account belongs to.
This operation can be called from any account in the organization. Even if a
policy type is shown as available in the organization, you can disable it
separately at the root level with DisablePolicyType. Use ListRoots to see the
status of policy types for a specified root.
// Retrieves information about the organization that the user ' s account belongs to . // This operation can be called from any account in the organization . Even if a // policy type is shown as available in the organization you can disable it // separately at the root level with DisablePolicyType . Use ListRoots to see the // status of policy types for a specified root .
func (c *Client) DescribeOrganization(ctx context.Context, params *DescribeOrganizationInput, optFns ...func(*Options)) (*DescribeOrganizationOutput, error) {
	if params == nil {
		params = &DescribeOrganizationInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DescribeOrganization", params, optFns, addOperationDescribeOrganizationMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DescribeOrganizationOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DescribeOrganization ( ctx context . Context , params * DescribeOrganizationInput , optFns ... func ( * Options ) ) ( * DescribeOrganizationOutput , error ) { if params == nil { params = & DescribeOrganizationInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDescribeOrganizationMiddlewares ) if err != nil { return nil , err } out := result . ( * DescribeOrganizationOutput ) out . ResultMetadata = metadata return out , nil }
Retrieves information about the organization that the user's account belongs to.
Retrieves information about the organization that the user ' s account belongs to .