---
title: "POST /BatchGetView"
method: POST
path: "/BatchGetView"
---

# POST /BatchGetView

`POST /BatchGetView`

Retrieves details about a list of views.

## Request body

- object
  - `ViewArns` String[] — A list of <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon resource names (ARNs)</a> that identify the views you want details for.

## Response `200`

Success

- BatchGetViewOutput
  - `Views` View[] — A structure with a list of objects with details for each of the specified views.
    - `ViewArn` string — The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon resource name (ARN)</a> of the view.
    - `ViewName` string — The name of the view.
    - `Owner` string — The Amazon Web Services account that owns this view.
    - `LastUpdatedAt` string, date-time — The date and time when this view was last modified.
    - `Scope` string — <p>An <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon resource name (ARN)</a> of an Amazon Web Services account, an organization, or an organizational unit (OU) that specifies whether this view includes resources from only the specified Amazon Web Services account, all accounts in the specified organization, or all accounts in the specified OU.</p> <p>If not specified, the value defaults to the Amazon Web Services account used to call this operation.</p>
    - `IncludedProperties` IncludedProperty[] — A structure that contains additional information about the view.
      - `Name` string, required — <p>The name of the property that is included in this view.</p> <p>You can specify the following property names for this field:</p> <ul> <li> <p> <code>tags</code> </p> </li> </ul>
    - `Filters` object — An array of <a>SearchFilter</a> objects that specify which resources can be included in the results of queries made using this view.
      - `FilterString` string, required — The string that contains the search keywords, prefixes, and operators to control the results that can be returned by a <a>Search</a> operation. For more details, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/APIReference/about-query-syntax.html">Search query syntax</a>.
  - `Errors` BatchGetViewError[] — If any of the specified ARNs result in an error, then this structure describes the error.
    - `ViewArn` string, required — The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon resource name (ARN)</a> of the view for which Resource Explorer failed to retrieve details.
    - `ErrorMessage` string, required — The description of the error for the specified view.

## Other responses

- `480` — InternalServerException
- `481` — ValidationException
- `482` — UnauthorizedException
- `483` — ThrottlingException
- `484` — AccessDeniedException

---

[API](https://skmtc.net/aws/apis/resource-explorer-2.md) · [All operations](https://skmtc.net/aws/apis/resource-explorer-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/resource-explorer-2/versions/d0cbc402825f/schema)
