{ "version":"2.0", "metadata":{ "apiVersion":"2022-07-28", "endpointPrefix":"resource-explorer-2", "jsonVersion":"1.1", "protocol":"rest-json", "serviceFullName":"AWS Resource Explorer", "serviceId":"Resource Explorer 2", "signatureVersion":"v4", "signingName":"resource-explorer-2", "uid":"resource-explorer-2-2022-07-28" }, "operations":{ "AssociateDefaultView":{ "name":"AssociateDefaultView", "http":{ "method":"POST", "requestUri":"/AssociateDefaultView", "responseCode":200 }, "input":{"shape":"AssociateDefaultViewInput"}, "output":{"shape":"AssociateDefaultViewOutput"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Sets the specified view as the default for the Amazon Web Services Region in which you call this operation. When a user performs a Search that doesn't explicitly specify which view to use, then Amazon Web Services Resource Explorer automatically chooses this default view for searches performed in this Amazon Web Services Region.

If an Amazon Web Services Region doesn't have a default view configured, then users must explicitly specify a view with every `Search` operation performed in that Region.

", "idempotent":true }, "BatchGetView":{ "name":"BatchGetView", "http":{ "method":"POST", "requestUri":"/BatchGetView", "responseCode":200 }, "input":{"shape":"BatchGetViewInput"}, "output":{"shape":"BatchGetViewOutput"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"UnauthorizedException"}, {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Retrieves details about a list of views.

" }, "CreateIndex":{ "name":"CreateIndex", "http":{ "method":"POST", "requestUri":"/CreateIndex", "responseCode":200 }, "input":{"shape":"CreateIndexInput"}, "output":{"shape":"CreateIndexOutput"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"}, {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Turns on Amazon Web Services Resource Explorer in the Amazon Web Services Region in which you called this operation by creating an index. Resource Explorer begins discovering the resources in this Region and stores the details about the resources in the index so that they can be queried by using the Search operation. You can create only one index in a Region.

This operation creates only a local index. To promote the local index in one Amazon Web Services Region into the aggregator index for the Amazon Web Services account, use the UpdateIndexType operation. For more information, see Turning on cross-Region search by creating an aggregator index in the Amazon Web Services Resource Explorer User Guide.

For more details about what happens when you turn on Resource Explorer in an Amazon Web Services Region, see Turn on Resource Explorer to index your resources in an Amazon Web Services Region in the Amazon Web Services Resource Explorer User Guide.

If this is the first Amazon Web Services Region in which you've created an index for Resource Explorer, then this operation also creates a service-linked role in your Amazon Web Services account that allows Resource Explorer to enumerate your resources to populate the index.

- Action: `resource-explorer-2:CreateIndex`

  Resource: The ARN of the index (as it will exist after the operation completes) in the Amazon Web Services Region and account in which you're trying to create the index. Use the wildcard character (`*`) at the end of the string to match the eventual UUID. For example, the following `Resource` element restricts the role or user to creating an index in only the `us-east-2` Region of the specified account.

  `\"Resource\": \"arn:aws:resource-explorer-2:us-west-2:<account-id>:index/*\"`

  Alternatively, you can use `\"Resource\": \"*\"` to allow the role or user to create an index in any Region.

- Action: `iam:CreateServiceLinkedRole`

  Resource: No specific resource (*).

  This permission is required only the first time you create an index to turn on Resource Explorer in the account. Resource Explorer uses this to create the service-linked role needed to index the resources in your account. Resource Explorer uses the same service-linked role for all additional indexes you create afterwards.

", "idempotent":true }, "CreateView":{ "name":"CreateView", "http":{ "method":"POST", "requestUri":"/CreateView", "responseCode":200 }, "input":{"shape":"CreateViewInput"}, "output":{"shape":"CreateViewOutput"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"}, {"shape":"ServiceQuotaExceededException"}, {"shape":"UnauthorizedException"}, {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Creates a view that users can query by using the Search operation. Results from queries that you make using this view include only resources that match the view's `Filters`. For more information about Amazon Web Services Resource Explorer views, see Managing views in the Amazon Web Services Resource Explorer User Guide.

Only the principals with an IAM identity-based policy that grants `Allow` to the `Search` action on a `Resource` with the Amazon resource name (ARN) of this view can Search using views you create with this operation.

" }, "DeleteIndex":{ "name":"DeleteIndex", "http":{ "method":"POST", "requestUri":"/DeleteIndex", "responseCode":200 }, "input":{"shape":"DeleteIndexInput"}, "output":{"shape":"DeleteIndexOutput"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Deletes the specified index and turns off Amazon Web Services Resource Explorer in the specified Amazon Web Services Region. When you delete an index, Resource Explorer stops discovering and indexing resources in that Region. Resource Explorer also deletes all views in that Region. These actions occur as asynchronous background tasks. You can check to see when the actions are complete by using the GetIndex operation and checking the `Status` response value.

If the index you delete is the aggregator index for the Amazon Web Services account, you must wait 24 hours before you can promote another local index to be the aggregator index for the account. Users can't perform account-wide searches using Resource Explorer until another aggregator index is configured.

", "idempotent":true }, "DeleteView":{ "name":"DeleteView", "http":{ "method":"POST", "requestUri":"/DeleteView", "responseCode":200 }, "input":{"shape":"DeleteViewInput"}, "output":{"shape":"DeleteViewOutput"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"UnauthorizedException"}, {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Deletes the specified view.

If the specified view is the default view for its Amazon Web Services Region, then all Search operations in that Region must explicitly specify the view to use until you configure a new default by calling the AssociateDefaultView operation.

", "idempotent":true }, "DisassociateDefaultView":{ "name":"DisassociateDefaultView", "http":{ "method":"POST", "requestUri":"/DisassociateDefaultView", "responseCode":200 }, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"} ], "documentation":"

After you call this operation, the affected Amazon Web Services Region no longer has a default view. All Search operations in that Region must explicitly specify a view or the operation fails. You can configure a new default by calling the AssociateDefaultView operation.

If an Amazon Web Services Region doesn't have a default view configured, then users must explicitly specify a view with every `Search` operation performed in that Region.

", "idempotent":true }, "GetAccountLevelServiceConfiguration":{ "name":"GetAccountLevelServiceConfiguration", "http":{ "method":"POST", "requestUri":"/GetAccountLevelServiceConfiguration", "responseCode":200 }, "output":{"shape":"GetAccountLevelServiceConfigurationOutput"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"}, {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Retrieves the status of your account's Amazon Web Services service access, and validates the service linked role required to access the multi-account search feature. Only the management account or a delegated administrator with service access enabled can invoke this API call.

" }, "GetDefaultView":{ "name":"GetDefaultView", "http":{ "method":"POST", "requestUri":"/GetDefaultView", "responseCode":200 }, "output":{"shape":"GetDefaultViewOutput"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Retrieves the Amazon Resource Name (ARN) of the view that is the default for the Amazon Web Services Region in which you call this operation. You can then call GetView to retrieve the details of that view.

" }, "GetIndex":{ "name":"GetIndex", "http":{ "method":"POST", "requestUri":"/GetIndex", "responseCode":200 }, "output":{"shape":"GetIndexOutput"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Retrieves details about the Amazon Web Services Resource Explorer index in the Amazon Web Services Region in which you invoked the operation.

" }, "GetView":{ "name":"GetView", "http":{ "method":"POST", "requestUri":"/GetView", "responseCode":200 }, "input":{"shape":"GetViewInput"}, "output":{"shape":"GetViewOutput"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"UnauthorizedException"}, {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Retrieves details of the specified view.

" }, "ListIndexes":{ "name":"ListIndexes", "http":{ "method":"POST", "requestUri":"/ListIndexes", "responseCode":200 }, "input":{"shape":"ListIndexesInput"}, "output":{"shape":"ListIndexesOutput"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Retrieves a list of all of the indexes in Amazon Web Services Regions that are currently collecting resource information for Amazon Web Services Resource Explorer.

" }, "ListIndexesForMembers":{ "name":"ListIndexesForMembers", "http":{ "method":"POST", "requestUri":"/ListIndexesForMembers", "responseCode":200 }, "input":{"shape":"ListIndexesForMembersInput"}, "output":{"shape":"ListIndexesForMembersOutput"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Retrieves a list of a member's indexes in all Amazon Web Services Regions that are currently collecting resource information for Amazon Web Services Resource Explorer. Only the management account or a delegated administrator with service access enabled can invoke this API call.

" }, "ListSupportedResourceTypes":{ "name":"ListSupportedResourceTypes", "http":{ "method":"POST", "requestUri":"/ListSupportedResourceTypes", "responseCode":200 }, "input":{"shape":"ListSupportedResourceTypesInput"}, "output":{"shape":"ListSupportedResourceTypesOutput"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Retrieves a list of all resource types currently supported by Amazon Web Services Resource Explorer.

" }, "ListTagsForResource":{ "name":"ListTagsForResource", "http":{ "method":"GET", "requestUri":"/tags/{resourceArn}", "responseCode":200 }, "input":{"shape":"ListTagsForResourceInput"}, "output":{"shape":"ListTagsForResourceOutput"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"UnauthorizedException"}, {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Lists the tags that are attached to the specified resource.

" }, "ListViews":{ "name":"ListViews", "http":{ "method":"POST", "requestUri":"/ListViews", "responseCode":200 }, "input":{"shape":"ListViewsInput"}, "output":{"shape":"ListViewsOutput"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Lists the Amazon resource names (ARNs) of the views available in the Amazon Web Services Region in which you call this operation.

Always check the `NextToken` response parameter for a `null` value when calling a paginated operation. These operations can occasionally return an empty set of results even when there are more results available. The `NextToken` response parameter value is `null` only when there are no more results to display.

" }, "Search":{ "name":"Search", "http":{ "method":"POST", "requestUri":"/Search", "responseCode":200 }, "input":{"shape":"SearchInput"}, "output":{"shape":"SearchOutput"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"UnauthorizedException"}, {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Searches for resources and displays details about all resources that match the specified criteria. You must specify a query string.

All search queries must use a view. If you don't explicitly specify a view, then Amazon Web Services Resource Explorer uses the default view for the Amazon Web Services Region in which you call this operation. The results are the logical intersection of the results that match both the `QueryString` parameter supplied to this operation and the `SearchFilter` parameter attached to the view.

For the complete syntax supported by the `QueryString` parameter, see Search query syntax reference for Resource Explorer.

If your search results are empty, or are missing results that you think should be there, see Troubleshooting Resource Explorer search.

" }, "TagResource":{ "name":"TagResource", "http":{ "method":"POST", "requestUri":"/tags/{resourceArn}", "responseCode":200 }, "input":{"shape":"TagResourceInput"}, "output":{"shape":"TagResourceOutput"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"}, {"shape":"UnauthorizedException"}, {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Adds one or more tag key and value pairs to an Amazon Web Services Resource Explorer view or index.

", "idempotent":true }, "UntagResource":{ "name":"UntagResource", "http":{ "method":"DELETE", "requestUri":"/tags/{resourceArn}", "responseCode":200 }, "input":{"shape":"UntagResourceInput"}, "output":{"shape":"UntagResourceOutput"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"UnauthorizedException"}, {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Removes one or more tag key and value pairs from an Amazon Web Services Resource Explorer view or index.

" }, "UpdateIndexType":{ "name":"UpdateIndexType", "http":{ "method":"POST", "requestUri":"/UpdateIndexType", "responseCode":200 }, "input":{"shape":"UpdateIndexTypeInput"}, "output":{"shape":"UpdateIndexTypeOutput"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ConflictException"}, {"shape":"ServiceQuotaExceededException"}, {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Changes the type of the index from one of the following types to the other. For more information about indexes and the role they perform in Amazon Web Services Resource Explorer, see Turning on cross-Region search by creating an aggregator index in the Amazon Web Services Resource Explorer User Guide.

- `AGGREGATOR` index type

  The index contains information about resources from all Amazon Web Services Regions in the Amazon Web Services account in which you've created a Resource Explorer index. Resource information from all other Regions is replicated to this Region's index.

  When you change the index type to `AGGREGATOR`, Resource Explorer turns on replication of all discovered resource information from the other Amazon Web Services Regions in your account to this index. You can then, from this Region only, perform resource search queries that span all Amazon Web Services Regions in the Amazon Web Services account. Turning on replication from all other Regions is performed by asynchronous background tasks. You can check the status of the asynchronous tasks by using the GetIndex operation. When the asynchronous tasks complete, the `Status` response of that operation changes from `UPDATING` to `ACTIVE`. After that, you can start to see results from other Amazon Web Services Regions in query results. However, it can take several hours for replication from all other Regions to complete.

  You can have only one aggregator index per Amazon Web Services account. Before you can promote a different index to be the aggregator index for the account, you must first demote the existing aggregator index to type `LOCAL`.

- `LOCAL` index type

  The index contains information about resources in only the Amazon Web Services Region in which the index exists. If an aggregator index in another Region exists, then information in this local index is replicated to the aggregator index.

  When you change the index type to `LOCAL`, Resource Explorer turns off the replication of resource information from all other Amazon Web Services Regions in the Amazon Web Services account to this Region. The aggregator index remains in the `UPDATING` state until all replication with other Regions successfully stops. You can check the status of the asynchronous task by using the GetIndex operation. When Resource Explorer successfully stops all replication with other Regions, the `Status` response of that operation changes from `UPDATING` to `ACTIVE`. Separately, the resource information from other Regions that was previously stored in the index is deleted within 30 days by another background task. Until that asynchronous task completes, some results from other Regions can continue to appear in search results.

  After you demote an aggregator index to a local index, you must wait 24 hours before you can promote another index to be the new aggregator index for the account.

" }, "UpdateView":{ "name":"UpdateView", "http":{ "method":"POST", "requestUri":"/UpdateView", "responseCode":200 }, "input":{"shape":"UpdateViewInput"}, "output":{"shape":"UpdateViewOutput"}, "errors":[ {"shape":"InternalServerException"}, {"shape":"ValidationException"}, {"shape":"ServiceQuotaExceededException"}, {"shape":"UnauthorizedException"}, {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"} ], "documentation":"

Modifies some of the details of a view. You can change the filter string and the list of included properties. You can't change the name of the view.

" } }, "shapes":{ "AWSServiceAccessStatus":{ "type":"string", "enum":[ "ENABLED", "DISABLED" ] }, "AccessDeniedException":{ "type":"structure", "members":{ "Message":{"shape":"String"} }, "documentation":"

The credentials that you used to call this operation don't have the minimum required permissions.

", "error":{ "httpStatusCode":403, "senderFault":true }, "exception":true }, "AccountId":{ "type":"string", "max":2048, "min":1 }, "AssociateDefaultViewInput":{ "type":"structure", "required":["ViewArn"], "members":{ "ViewArn":{ "shape":"AssociateDefaultViewInputViewArnString", "documentation":"

The Amazon resource name (ARN) of the view to set as the default for the Amazon Web Services Region and Amazon Web Services account in which you call this operation. The specified view must already exist in the called Region.

" } } }, "AssociateDefaultViewInputViewArnString":{ "type":"string", "max":1011, "min":1 }, "AssociateDefaultViewOutput":{ "type":"structure", "members":{ "ViewArn":{ "shape":"String", "documentation":"

The Amazon resource name (ARN) of the view that the operation set as the default for queries made in the Amazon Web Services Region and Amazon Web Services account in which you called this operation.

" } } }, "BatchGetViewError":{ "type":"structure", "required":[ "ErrorMessage", "ViewArn" ], "members":{ "ErrorMessage":{ "shape":"String", "documentation":"

The description of the error for the specified view.

" }, "ViewArn":{ "shape":"String", "documentation":"

The Amazon resource name (ARN) of the view for which Resource Explorer failed to retrieve details.

" } }, "documentation":"

A collection of error messages for any views that Amazon Web Services Resource Explorer couldn't retrieve details.

" }, "BatchGetViewErrors":{ "type":"list", "member":{"shape":"BatchGetViewError"} }, "BatchGetViewInput":{ "type":"structure", "members":{ "ViewArns":{ "shape":"BatchGetViewInputViewArnsList", "documentation":"

A list of Amazon resource names (ARNs) that identify the views you want details for.

" } } }, "BatchGetViewInputViewArnsList":{ "type":"list", "member":{"shape":"String"}, "max":20, "min":1 }, "BatchGetViewOutput":{ "type":"structure", "members":{ "Errors":{ "shape":"BatchGetViewErrors", "documentation":"

If any of the specified ARNs result in an error, then this structure describes the error.

" }, "Views":{ "shape":"ViewList", "documentation":"

A structure with a list of objects with details for each of the specified views.

" } } }, "Boolean":{ "type":"boolean", "box":true }, "ConflictException":{ "type":"structure", "required":["Message"], "members":{ "Message":{"shape":"String"} }, "documentation":"

If you attempted to create a view, then the request failed because either you specified parameters that didn’t match the original request, or you attempted to create a view with a name that already exists in this Amazon Web Services Region.

If you attempted to create an index, then the request failed because either you specified parameters that didn't match the original request, or an index already exists in the current Amazon Web Services Region.

If you attempted to update an index type to `AGGREGATOR`, then the request failed because you already have an `AGGREGATOR` index in a different Amazon Web Services Region.

", "error":{ "httpStatusCode":409, "senderFault":true }, "exception":true }, "CreateIndexInput":{ "type":"structure", "members":{ "ClientToken":{ "shape":"String", "documentation":"

This value helps ensure idempotency. Resource Explorer uses this value to prevent the accidental creation of duplicate versions. We recommend that you generate a UUID-type value to ensure the uniqueness of your index.

", "idempotencyToken":true }, "Tags":{ "shape":"TagMap", "documentation":"

The specified tags are attached only to the index created in this Amazon Web Services Region. The tags aren't attached to any of the resources listed in the index.

" } } }, "CreateIndexOutput":{ "type":"structure", "members":{ "Arn":{ "shape":"String", "documentation":"

The ARN of the new local index for the Region. You can reference this ARN in IAM permission policies to authorize the following operations: DeleteIndex | GetIndex | UpdateIndexType | CreateView

" }, "CreatedAt":{ "shape":"SyntheticTimestamp_date_time", "documentation":"

The date and timestamp when the index was created.

" }, "State":{ "shape":"IndexState", "documentation":"

Indicates the current state of the index. You can check for changes to the state for asynchronous operations by calling the GetIndex operation.

The state can remain in the `CREATING` or `UPDATING` state for several hours as Resource Explorer discovers the information about your resources and populates the index.

" } } }, "CreateViewInput":{ "type":"structure", "required":["ViewName"], "members":{ "ClientToken":{ "shape":"CreateViewInputClientTokenString", "documentation":"

This value helps ensure idempotency. Resource Explorer uses this value to prevent the accidental creation of duplicate versions. We recommend that you generate a UUID-type value to ensure the uniqueness of your views.

", "idempotencyToken":true }, "Filters":{ "shape":"SearchFilter", "documentation":"

An array of strings that specify which resources are included in the results of queries made using this view. When you use this view in a Search operation, the filter string is combined with the search's `QueryString` parameter using a logical `AND` operator.

For information about the supported syntax, see Search query reference for Resource Explorer in the Amazon Web Services Resource Explorer User Guide.

This query string in the context of this operation supports only filter prefixes with optional operators. It doesn't support free-form text. For example, the string `region:us* service:ec2 -tag:stage=prod` includes all Amazon EC2 resources in any Amazon Web Services Region that begins with the letters `us` and is not tagged with a key `Stage` that has the value `prod`.

" }, "IncludedProperties":{ "shape":"IncludedPropertyList", "documentation":"

Specifies optional fields that you want included in search results from this view. It is a list of objects that each describe a field to include.

The default is an empty list, with no optional fields included in the results.

" }, "Scope":{ "shape":"CreateViewInputScopeString", "documentation":"

The root ARN of the account, an organizational unit (OU), or an organization ARN. If left empty, the default is account.

" }, "Tags":{ "shape":"TagMap", "documentation":"

Tag key and value pairs that are attached to the view.

" }, "ViewName":{ "shape":"ViewName", "documentation":"

The name of the new view. This name appears in the list of views in Resource Explorer.

The name must be no more than 64 characters long, and can include letters, digits, and the dash (-) character. The name must be unique within its Amazon Web Services Region.

" } } }, "CreateViewInputClientTokenString":{ "type":"string", "max":2048, "min":1 }, "CreateViewInputScopeString":{ "type":"string", "max":2048, "min":1 }, "CreateViewOutput":{ "type":"structure", "members":{ "View":{ "shape":"View", "documentation":"

A structure that contains the details about the new view.

" } } }, "DeleteIndexInput":{ "type":"structure", "required":["Arn"], "members":{ "Arn":{ "shape":"String", "documentation":"

The Amazon resource name (ARN) of the index that you want to delete.

" } } }, "DeleteIndexOutput":{ "type":"structure", "members":{ "Arn":{ "shape":"String", "documentation":"

The Amazon resource name (ARN) of the index that you successfully started the deletion process.

This operation is asynchronous. To check its status, call the GetIndex operation.

" }, "LastUpdatedAt":{ "shape":"SyntheticTimestamp_date_time", "documentation":"

The date and time when you last updated this index.

" }, "State":{ "shape":"IndexState", "documentation":"

Indicates the current state of the index.

" } } }, "DeleteViewInput":{ "type":"structure", "required":["ViewArn"], "members":{ "ViewArn":{ "shape":"DeleteViewInputViewArnString", "documentation":"

The Amazon resource name (ARN) of the view that you want to delete.

" } } }, "DeleteViewInputViewArnString":{ "type":"string", "max":1011, "min":1 }, "DeleteViewOutput":{ "type":"structure", "members":{ "ViewArn":{ "shape":"String", "documentation":"

The Amazon resource name (ARN) of the view that you successfully deleted.

" } } }, "Document":{ "type":"structure", "members":{ }, "document":true }, "GetAccountLevelServiceConfigurationOutput":{ "type":"structure", "members":{ "OrgConfiguration":{ "shape":"OrgConfiguration", "documentation":"

Details about the organization, and whether configuration is `ENABLED` or `DISABLED`.

" } } }, "GetDefaultViewOutput":{ "type":"structure", "members":{ "ViewArn":{ "shape":"String", "documentation":"

The Amazon resource name (ARN) of the view that is the current default for the Amazon Web Services Region in which you called this operation.

" } } }, "GetIndexOutput":{ "type":"structure", "members":{ "Arn":{ "shape":"String", "documentation":"

The Amazon resource name (ARN) of the index.

" }, "CreatedAt":{ "shape":"SyntheticTimestamp_date_time", "documentation":"

The date and time when the index was originally created.

" }, "LastUpdatedAt":{ "shape":"SyntheticTimestamp_date_time", "documentation":"

The date and time when the index was last updated.

" }, "ReplicatingFrom":{ "shape":"RegionList", "documentation":"

This response value is present only if this index is `Type=AGGREGATOR`.

A list of the Amazon Web Services Regions that replicate their content to the index in this Region.

" }, "ReplicatingTo":{ "shape":"RegionList", "documentation":"

This response value is present only if this index is `Type=LOCAL`.

The Amazon Web Services Region that contains the aggregator index, if one exists. If an aggregator index does exist then the Region in which you called this operation replicates its index information to the Region specified in this response value.

" }, "State":{ "shape":"IndexState", "documentation":"

The current state of the index in this Amazon Web Services Region.

" }, "Tags":{ "shape":"TagMap", "documentation":"

Tag key and value pairs that are attached to the index.

" }, "Type":{ "shape":"IndexType", "documentation":"

The type of the index in this Region. For information about the aggregator index and how it differs from a local index, see Turning on cross-Region search by creating an aggregator index.

" } } }, "GetViewInput":{ "type":"structure", "required":["ViewArn"], "members":{ "ViewArn":{ "shape":"GetViewInputViewArnString", "documentation":"

The Amazon resource name (ARN) of the view that you want information about.

" } } }, "GetViewInputViewArnString":{ "type":"string", "max":1011, "min":1 }, "GetViewOutput":{ "type":"structure", "members":{ "Tags":{ "shape":"TagMap", "documentation":"

Tag key and value pairs that are attached to the view.

" }, "View":{ "shape":"View", "documentation":"

A structure that contains the details for the requested view.

" } } }, "IncludedProperty":{ "type":"structure", "required":["Name"], "members":{ "Name":{ "shape":"IncludedPropertyNameString", "documentation":"

The name of the property that is included in this view.

You can specify the following property names for this field:

- `Tags`

" } }, "documentation":"

Information about an additional property that describes a resource, that you can optionally include in the view. This lets you view that property in search results, and filter your search results based on the value of the property.

" }, "IncludedPropertyList":{ "type":"list", "member":{"shape":"IncludedProperty"} }, "IncludedPropertyNameString":{ "type":"string", "max":1011, "min":1 }, "Index":{ "type":"structure", "members":{ "Arn":{ "shape":"String", "documentation":"

The Amazon resource name (ARN) of the index.

" }, "Region":{ "shape":"String", "documentation":"

The Amazon Web Services Region in which the index exists.

" }, "Type":{ "shape":"IndexType", "documentation":"

The type of index. It can be one of the following values:

- `LOCAL` – The index contains information about resources from only the same Amazon Web Services Region.

- `AGGREGATOR` – Resource Explorer replicates copies of the indexed information about resources in all other Amazon Web Services Regions to the aggregator index. This lets search results in the Region with the aggregator index to include resources from all Regions in the account where Resource Explorer is turned on.

" } }, "documentation":"

An index is the data store used by Amazon Web Services Resource Explorer to hold information about your Amazon Web Services resources that the service discovers. Creating an index in an Amazon Web Services Region turns on Resource Explorer and lets it discover your resources.

By default, an index is local, meaning that it contains information about resources in only the same Region as the index. However, you can promote the index of one Region in the account by calling UpdateIndexType to convert it into an aggregator index. The aggregator index receives a replicated copy of the index information from all other Regions where Resource Explorer is turned on. This allows search operations in that Region to return results from all Regions in the account.

" }, "IndexList":{ "type":"list", "member":{"shape":"Index"} }, "IndexState":{ "type":"string", "enum":[ "CREATING", "ACTIVE", "DELETING", "DELETED", "UPDATING" ] }, "IndexType":{ "type":"string", "enum":[ "LOCAL", "AGGREGATOR" ] }, "InternalServerException":{ "type":"structure", "members":{ "Message":{"shape":"String"} }, "documentation":"

The request failed because of internal service error. Try your request again later.

", "error":{"httpStatusCode":500}, "exception":true, "fault":true }, "ListIndexesForMembersInput":{ "type":"structure", "required":["AccountIdList"], "members":{ "AccountIdList":{ "shape":"ListIndexesForMembersInputAccountIdListList", "documentation":"

The account IDs will limit the output to only indexes from these accounts.

" }, "MaxResults":{ "shape":"ListIndexesForMembersInputMaxResultsInteger", "documentation":"

The maximum number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value appropriate to the operation. If additional items exist beyond those included in the current response, the `NextToken` response element is present and has a value (is not null). Include that value as the `NextToken` request parameter in the next call to the operation to get the next part of the results.

An API operation can return fewer results than the maximum even when there are more results available. You should check `NextToken` after every operation to ensure that you receive all of the results.

" }, "NextToken":{ "shape":"ListIndexesForMembersInputNextTokenString", "documentation":"

The parameter for receiving additional results if you receive a `NextToken` response in a previous request. A `NextToken` response indicates that more output is available. Set this parameter to the value of the previous call's `NextToken` response to indicate where the output should continue from. The pagination tokens expire after 24 hours.

" } } }, "ListIndexesForMembersInputAccountIdListList":{ "type":"list", "member":{"shape":"AccountId"}, "max":10, "min":1 }, "ListIndexesForMembersInputMaxResultsInteger":{ "type":"integer", "box":true, "max":10, "min":1 }, "ListIndexesForMembersInputNextTokenString":{ "type":"string", "max":2048, "min":1 }, "ListIndexesForMembersOutput":{ "type":"structure", "members":{ "Indexes":{ "shape":"MemberIndexList", "documentation":"

A structure that contains the details and status of each index.

" }, "NextToken":{ "shape":"String", "documentation":"

If present, indicates that more output is available than is included in the current response. Use this value in the `NextToken` request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the `NextToken` response element comes back as `null`. The pagination tokens expire after 24 hours.

" } } }, "ListIndexesInput":{ "type":"structure", "members":{ "MaxResults":{ "shape":"ListIndexesInputMaxResultsInteger", "documentation":"

The maximum number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value appropriate to the operation. If additional items exist beyond those included in the current response, the `NextToken` response element is present and has a value (is not null). Include that value as the `NextToken` request parameter in the next call to the operation to get the next part of the results.

An API operation can return fewer results than the maximum even when there are more results available. You should check `NextToken` after every operation to ensure that you receive all of the results.

" }, "NextToken":{ "shape":"ListIndexesInputNextTokenString", "documentation":"

The parameter for receiving additional results if you receive a `NextToken` response in a previous request. A `NextToken` response indicates that more output is available. Set this parameter to the value of the previous call's `NextToken` response to indicate where the output should continue from. The pagination tokens expire after 24 hours.

" }, "Regions":{ "shape":"ListIndexesInputRegionsList", "documentation":"

If specified, limits the response to only information about the index in the specified list of Amazon Web Services Regions.

" }, "Type":{ "shape":"IndexType", "documentation":"

If specified, limits the output to only indexes of the specified Type, either `LOCAL` or `AGGREGATOR`.

Use this option to discover the aggregator index for your account.

" } } }, "ListIndexesInputMaxResultsInteger":{ "type":"integer", "box":true, "max":100, "min":1 }, "ListIndexesInputNextTokenString":{ "type":"string", "max":2048, "min":1 }, "ListIndexesInputRegionsList":{ "type":"list", "member":{"shape":"String"}, "max":20, "min":0 }, "ListIndexesOutput":{ "type":"structure", "members":{ "Indexes":{ "shape":"IndexList", "documentation":"

A structure that contains the details and status of each index.

" }, "NextToken":{ "shape":"String", "documentation":"

If present, indicates that more output is available than is included in the current response. Use this value in the `NextToken` request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the `NextToken` response element comes back as `null`. The pagination tokens expire after 24 hours.

" } } }, "ListSupportedResourceTypesInput":{ "type":"structure", "members":{ "MaxResults":{ "shape":"ListSupportedResourceTypesInputMaxResultsInteger", "documentation":"

The maximum number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value appropriate to the operation. If additional items exist beyond those included in the current response, the `NextToken` response element is present and has a value (is not null). Include that value as the `NextToken` request parameter in the next call to the operation to get the next part of the results.

An API operation can return fewer results than the maximum even when there are more results available. You should check `NextToken` after every operation to ensure that you receive all of the results.

" }, "NextToken":{ "shape":"String", "documentation":"

The parameter for receiving additional results if you receive a `NextToken` response in a previous request. A `NextToken` response indicates that more output is available. Set this parameter to the value of the previous call's `NextToken` response to indicate where the output should continue from. The pagination tokens expire after 24 hours.

" } } }, "ListSupportedResourceTypesInputMaxResultsInteger":{ "type":"integer", "box":true, "max":1000, "min":1 }, "ListSupportedResourceTypesOutput":{ "type":"structure", "members":{ "NextToken":{ "shape":"String", "documentation":"

If present, indicates that more output is available than is included in the current response. Use this value in the `NextToken` request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the `NextToken` response element comes back as `null`. The pagination tokens expire after 24 hours.

" }, "ResourceTypes":{ "shape":"ResourceTypeList", "documentation":"

The list of resource types supported by Resource Explorer.

" } } }, "ListTagsForResourceInput":{ "type":"structure", "required":["resourceArn"], "members":{ "resourceArn":{ "shape":"String", "documentation":"

The Amazon resource name (ARN) of the view or index that you want to attach tags to.

", "location":"uri", "locationName":"resourceArn" } } }, "ListTagsForResourceOutput":{ "type":"structure", "members":{ "Tags":{ "shape":"TagMap", "documentation":"

The tag key and value pairs that you want to attach to the specified view or index.

" } } }, "ListViewsInput":{ "type":"structure", "members":{ "MaxResults":{ "shape":"ListViewsInputMaxResultsInteger", "documentation":"

The maximum number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value appropriate to the operation. If additional items exist beyond those included in the current response, the `NextToken` response element is present and has a value (is not null). Include that value as the `NextToken` request parameter in the next call to the operation to get the next part of the results.

An API operation can return fewer results than the maximum even when there are more results available. You should check `NextToken` after every operation to ensure that you receive all of the results.

" }, "NextToken":{ "shape":"String", "documentation":"

The parameter for receiving additional results if you receive a `NextToken` response in a previous request. A `NextToken` response indicates that more output is available. Set this parameter to the value of the previous call's `NextToken` response to indicate where the output should continue from. The pagination tokens expire after 24 hours.

" } } }, "ListViewsInputMaxResultsInteger":{ "type":"integer", "box":true, "max":50, "min":1 }, "ListViewsOutput":{ "type":"structure", "members":{ "NextToken":{ "shape":"String", "documentation":"

If present, indicates that more output is available than is included in the current response. Use this value in the `NextToken` request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the `NextToken` response element comes back as `null`. The pagination tokens expire after 24 hours.

" }, "Views":{ "shape":"ViewArnList", "documentation":"

The list of views available in the Amazon Web Services Region in which you called this operation.

" } } }, "Long":{ "type":"long", "box":true }, "MemberIndex":{ "type":"structure", "members":{ "AccountId":{ "shape":"String", "documentation":"

The account ID for the index.

" }, "Arn":{ "shape":"String", "documentation":"

The Amazon resource name (ARN) of the index.

" }, "Region":{ "shape":"String", "documentation":"

The Amazon Web Services Region in which the index exists.

" }, "Type":{ "shape":"IndexType", "documentation":"

The type of index. It can be one of the following values:

- `LOCAL` – The index contains information about resources from only the same Amazon Web Services Region.

- `AGGREGATOR` – Resource Explorer replicates copies of the indexed information about resources in all other Amazon Web Services Regions to the aggregator index. This lets search results in the Region with the aggregator index to include resources from all Regions in the account where Resource Explorer is turned on.

" } }, "documentation":"

An index is the data store used by Amazon Web Services Resource Explorer to hold information about your Amazon Web Services resources that the service discovers.

" }, "MemberIndexList":{ "type":"list", "member":{"shape":"MemberIndex"} }, "OrgConfiguration":{ "type":"structure", "required":["AWSServiceAccessStatus"], "members":{ "AWSServiceAccessStatus":{ "shape":"AWSServiceAccessStatus", "documentation":"

This value displays whether your Amazon Web Services service access is `ENABLED` or `DISABLED`.

" }, "ServiceLinkedRole":{ "shape":"String", "documentation":"

This value shows whether or not you have a valid a service-linked role required to start the multi-account search feature.

" } }, "documentation":"

This is a structure that contains the status of Amazon Web Services service access, and whether you have a valid service-linked role to enable multi-account search for your organization.

" }, "QueryString":{ "type":"string", "max":1011, "min":0, "sensitive":true }, "RegionList":{ "type":"list", "member":{"shape":"String"} }, "Resource":{ "type":"structure", "members":{ "Arn":{ "shape":"String", "documentation":"

The Amazon resource name (ARN) of the resource.

" }, "LastReportedAt":{ "shape":"SyntheticTimestamp_date_time", "documentation":"

The date and time that Resource Explorer last queried this resource and updated the index with the latest information about the resource.

" }, "OwningAccountId":{ "shape":"String", "documentation":"

The Amazon Web Services account that owns the resource.

" }, "Properties":{ "shape":"ResourcePropertyList", "documentation":"

A structure with additional type-specific details about the resource. These properties can be added by turning on integration between Resource Explorer and other Amazon Web Services services.

" }, "Region":{ "shape":"String", "documentation":"

The Amazon Web Services Region in which the resource was created and exists.

" }, "ResourceType":{ "shape":"String", "documentation":"

The type of the resource.

" }, "Service":{ "shape":"String", "documentation":"

The Amazon Web Service that owns the resource and is responsible for creating and updating it.

" } }, "documentation":"

A resource in Amazon Web Services that Amazon Web Services Resource Explorer has discovered, and for which it has stored information in the index of the Amazon Web Services Region that contains the resource.

" }, "ResourceCount":{ "type":"structure", "members":{ "Complete":{ "shape":"Boolean", "documentation":"

Indicates whether the `TotalResources` value represents an exhaustive count of search results.

- If `True`, it indicates that the search was exhaustive. Every resource that matches the query was counted.

- If `False`, then the search reached the limit of 1,000 matching results, and stopped counting.

" }, "TotalResources":{ "shape":"Long", "documentation":"

The number of resources that match the search query. This value can't exceed 1,000. If there are more than 1,000 resources that match the query, then only 1,000 are counted and the `Complete` field is set to false. We recommend that you refine your query to return a smaller number of results.

" } }, "documentation":"

Information about the number of results that match the query. At this time, Amazon Web Services Resource Explorer doesn't count more than 1,000 matches for any query. This structure provides information about whether the query exceeded this limit.

This field is included in every page when you paginate the results.

" }, "ResourceList":{ "type":"list", "member":{"shape":"Resource"} }, "ResourceNotFoundException":{ "type":"structure", "members":{ "Message":{"shape":"String"} }, "documentation":"

You specified a resource that doesn't exist. Check the ID or ARN that you used to identity the resource, and try again.

", "error":{ "httpStatusCode":404, "senderFault":true }, "exception":true }, "ResourceProperty":{ "type":"structure", "members":{ "Data":{ "shape":"Document", "documentation":"

Details about this property. The content of this field is a JSON object that varies based on the resource type.

" }, "LastReportedAt":{ "shape":"SyntheticTimestamp_date_time", "documentation":"

The date and time that the information about this resource property was last updated.

" }, "Name":{ "shape":"String", "documentation":"

The name of this property of the resource.

" } }, "documentation":"

A structure that describes a property of a resource.

" }, "ResourcePropertyList":{ "type":"list", "member":{"shape":"ResourceProperty"} }, "ResourceTypeList":{ "type":"list", "member":{"shape":"SupportedResourceType"} }, "SearchFilter":{ "type":"structure", "required":["FilterString"], "members":{ "FilterString":{ "shape":"SearchFilterFilterStringString", "documentation":"

The string that contains the search keywords, prefixes, and operators to control the results that can be returned by a Search operation. For more details, see Search query syntax.

" } }, "documentation":"

A search filter defines which resources can be part of a search query result set.

", "sensitive":true }, "SearchFilterFilterStringString":{ "type":"string", "max":2048, "min":0 }, "SearchInput":{ "type":"structure", "required":["QueryString"], "members":{ "MaxResults":{ "shape":"SearchInputMaxResultsInteger", "documentation":"

The maximum number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value appropriate to the operation. If additional items exist beyond those included in the current response, the `NextToken` response element is present and has a value (is not null). Include that value as the `NextToken` request parameter in the next call to the operation to get the next part of the results.

An API operation can return fewer results than the maximum even when there are more results available. You should check `NextToken` after every operation to ensure that you receive all of the results.

" }, "NextToken":{ "shape":"SearchInputNextTokenString", "documentation":"

The parameter for receiving additional results if you receive a `NextToken` response in a previous request. A `NextToken` response indicates that more output is available. Set this parameter to the value of the previous call's `NextToken` response to indicate where the output should continue from. The pagination tokens expire after 24 hours.

" }, "QueryString":{ "shape":"QueryString", "documentation":"

A string that includes keywords and filters that specify the resources that you want to include in the results.

For the complete syntax supported by the `QueryString` parameter, see Search query syntax reference for Resource Explorer.

The search is completely case insensitive. You can specify an empty string to return all results up to the limit of 1,000 total results.

The operation can return only the first 1,000 results. If the resource you want is not included, then use a different value for `QueryString` to refine the results.

" }, "ViewArn":{ "shape":"SearchInputViewArnString", "documentation":"

Specifies the Amazon resource name (ARN) of the view to use for the query. If you don't specify a value for this parameter, then the operation automatically uses the default view for the Amazon Web Services Region in which you called this operation. If the Region either doesn't have a default view or if you don't have permission to use the default view, then the operation fails with a `401 Unauthorized` exception.

" } } }, "SearchInputMaxResultsInteger":{ "type":"integer", "box":true, "max":1000, "min":1 }, "SearchInputNextTokenString":{ "type":"string", "max":2048, "min":1 }, "SearchInputViewArnString":{ "type":"string", "max":1000, "min":0 }, "SearchOutput":{ "type":"structure", "members":{ "Count":{ "shape":"ResourceCount", "documentation":"

The number of resources that match the query.

" }, "NextToken":{ "shape":"SearchOutputNextTokenString", "documentation":"

If present, indicates that more output is available than is included in the current response. Use this value in the `NextToken` request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the `NextToken` response element comes back as `null`. The pagination tokens expire after 24 hours.

" }, "Resources":{ "shape":"ResourceList", "documentation":"

The list of structures that describe the resources that match the query.

" }, "ViewArn":{ "shape":"SearchOutputViewArnString", "documentation":"

The Amazon resource name (ARN) of the view that this operation used to perform the search.

" } } }, "SearchOutputNextTokenString":{ "type":"string", "max":2048, "min":1 }, "SearchOutputViewArnString":{ "type":"string", "max":1011, "min":1 }, "ServiceQuotaExceededException":{ "type":"structure", "required":[ "Message", "Name", "Value" ], "members":{ "Message":{"shape":"String"}, "Name":{ "shape":"String", "documentation":"

The name of the service quota that was exceeded by the request.

" }, "Value":{ "shape":"String", "documentation":"

The current value for the quota that the request tried to exceed.

" } }, "documentation":"

The request failed because it exceeds a service quota.

", "error":{ "httpStatusCode":402, "senderFault":true }, "exception":true }, "String":{"type":"string"}, "StringList":{ "type":"list", "member":{"shape":"String"}, "sensitive":true }, "SupportedResourceType":{ "type":"structure", "members":{ "ResourceType":{ "shape":"String", "documentation":"

The unique identifier of the resource type.

" }, "Service":{ "shape":"String", "documentation":"

The Amazon Web Service that is associated with the resource type. This is the primary service that lets you create and interact with resources of this type.

" } }, "documentation":"

A structure that describes a resource type supported by Amazon Web Services Resource Explorer.

" }, "SyntheticTimestamp_date_time":{ "type":"timestamp", "timestampFormat":"iso8601" }, "TagMap":{ "type":"map", "key":{"shape":"String"}, "value":{"shape":"String"}, "sensitive":true }, "TagResourceInput":{ "type":"structure", "required":["resourceArn"], "members":{ "Tags":{ "shape":"TagMap", "documentation":"

A list of tag key and value pairs that you want to attach to the specified view or index.

" }, "resourceArn":{ "shape":"String", "documentation":"

The Amazon Resource Name (ARN) of the view or index that you want to attach tags to.

", "location":"uri", "locationName":"resourceArn" } } }, "TagResourceOutput":{ "type":"structure", "members":{ } }, "ThrottlingException":{ "type":"structure", "members":{ "Message":{"shape":"String"} }, "documentation":"

The request failed because you exceeded a rate limit for this operation. For more information, see Quotas for Resource Explorer.

", "error":{ "httpStatusCode":429, "senderFault":true }, "exception":true }, "UnauthorizedException":{ "type":"structure", "members":{ "Message":{"shape":"String"} }, "documentation":"

The principal making the request isn't permitted to perform the operation.

", "error":{ "httpStatusCode":401, "senderFault":true }, "exception":true }, "UntagResourceInput":{ "type":"structure", "required":[ "resourceArn", "tagKeys" ], "members":{ "resourceArn":{ "shape":"String", "documentation":"

The Amazon Resource Name (ARN) of the view or index that you want to remove tags from.

", "location":"uri", "locationName":"resourceArn" }, "tagKeys":{ "shape":"StringList", "documentation":"

A list of the keys for the tags that you want to remove from the specified view or index.

", "location":"querystring", "locationName":"tagKeys" } } }, "UntagResourceOutput":{ "type":"structure", "members":{ } }, "UpdateIndexTypeInput":{ "type":"structure", "required":[ "Arn", "Type" ], "members":{ "Arn":{ "shape":"String", "documentation":"

The Amazon resource name (ARN) of the index that you want to update.

" }, "Type":{ "shape":"IndexType", "documentation":"

The type of the index. To understand the difference between `LOCAL` and `AGGREGATOR`, see Turning on cross-Region search in the Amazon Web Services Resource Explorer User Guide.

" } } }, "UpdateIndexTypeOutput":{ "type":"structure", "members":{ "Arn":{ "shape":"String", "documentation":"

The Amazon resource name (ARN) of the index that you updated.

" }, "LastUpdatedAt":{ "shape":"SyntheticTimestamp_date_time", "documentation":"

The date and timestamp when the index was last updated.

" }, "State":{ "shape":"IndexState", "documentation":"

Indicates the state of the request to update the index. This operation is asynchronous. Call the GetIndex operation to check for changes.

" }, "Type":{ "shape":"IndexType", "documentation":"

Specifies the type of the specified index after the operation completes.

" } } }, "UpdateViewInput":{ "type":"structure", "required":["ViewArn"], "members":{ "Filters":{ "shape":"SearchFilter", "documentation":"

An array of strings that specify which resources are included in the results of queries made using this view. When you use this view in a Search operation, the filter string is combined with the search's `QueryString` parameter using a logical `AND` operator.

For information about the supported syntax, see Search query reference for Resource Explorer in the Amazon Web Services Resource Explorer User Guide.

This query string in the context of this operation supports only filter prefixes with optional operators. It doesn't support free-form text. For example, the string `region:us* service:ec2 -tag:stage=prod` includes all Amazon EC2 resources in any Amazon Web Services Region that begins with the letters `us` and is not tagged with a key `Stage` that has the value `prod`.

" }, "IncludedProperties":{ "shape":"IncludedPropertyList", "documentation":"

Specifies optional fields that you want included in search results from this view. It is a list of objects that each describe a field to include.

The default is an empty list, with no optional fields included in the results.

" }, "ViewArn":{ "shape":"UpdateViewInputViewArnString", "documentation":"

The Amazon resource name (ARN) of the view that you want to modify.

" } } }, "UpdateViewInputViewArnString":{ "type":"string", "max":1011, "min":1 }, "UpdateViewOutput":{ "type":"structure", "members":{ "View":{ "shape":"View", "documentation":"

Details about the view that you changed with this operation.

" } } }, "ValidationException":{ "type":"structure", "required":["Message"], "members":{ "FieldList":{ "shape":"ValidationExceptionFieldList", "documentation":"

An array of the request fields that had validation errors.

" }, "Message":{"shape":"String"} }, "documentation":"

You provided an invalid value for one of the operation's parameters. Check the syntax for the operation, and try again.

", "error":{ "httpStatusCode":400, "senderFault":true }, "exception":true }, "ValidationExceptionField":{ "type":"structure", "required":[ "Name", "ValidationIssue" ], "members":{ "Name":{ "shape":"String", "documentation":"

The name of the request field that had a validation error.

" }, "ValidationIssue":{ "shape":"String", "documentation":"

The validation error caused by the request field.

" } }, "documentation":"

A structure that describes a request field with a validation error.

" }, "ValidationExceptionFieldList":{ "type":"list", "member":{"shape":"ValidationExceptionField"} }, "View":{ "type":"structure", "members":{ "Filters":{ "shape":"SearchFilter", "documentation":"

An array of SearchFilter objects that specify which resources can be included in the results of queries made using this view.

" }, "IncludedProperties":{ "shape":"IncludedPropertyList", "documentation":"

A structure that contains additional information about the view.

" }, "LastUpdatedAt":{ "shape":"SyntheticTimestamp_date_time", "documentation":"

The date and time when this view was last modified.

" }, "Owner":{ "shape":"String", "documentation":"

The Amazon Web Services account that owns this view.

" }, "Scope":{ "shape":"String", "documentation":"

An Amazon resource name (ARN) 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.

If not specified, the value defaults to the Amazon Web Services account used to call this operation.

" }, "ViewArn":{ "shape":"String", "documentation":"

The Amazon resource name (ARN) of the view.

" } }, "documentation":"

A view is a structure that defines a set of filters that provide a view into the information in the Amazon Web Services Resource Explorer index. The filters specify which information from the index is visible to the users of the view. For example, you can specify filters that include only resources that are tagged with the key \"ENV\" and the value \"DEVELOPMENT\" in the results returned by this view. You could also create a second view that includes only resources that are tagged with \"ENV\" and \"PRODUCTION\".

" }, "ViewArnList":{ "type":"list", "member":{"shape":"String"} }, "ViewList":{ "type":"list", "member":{"shape":"View"} }, "ViewName":{ "type":"string", "pattern":"^[a-zA-Z0-9\\-]{1,64}$" } }, "documentation":"

Amazon Web Services Resource Explorer is a resource search and discovery service. By using Resource Explorer, you can explore your resources using an internet search engine-like experience. Examples of resources include Amazon Relational Database Service (Amazon RDS) instances, Amazon Simple Storage Service (Amazon S3) buckets, or Amazon DynamoDB tables. You can search for your resources using resource metadata like names, tags, and IDs. Resource Explorer can search across all of the Amazon Web Services Regions in your account in which you turn the service on, to simplify your cross-Region workloads.

Resource Explorer scans the resources in each of the Amazon Web Services Regions in your Amazon Web Services account in which you turn on Resource Explorer. Resource Explorer creates and maintains an index in each Region, with the details of that Region's resources.

You can search across all of the indexed Regions in your account by designating one of your Amazon Web Services Regions to contain the aggregator index for the account. When you promote a local index in a Region to become the aggregator index for the account, Resource Explorer automatically replicates the index information from all local indexes in the other Regions to the aggregator index. Therefore, the Region with the aggregator index has a copy of all resource information for all Regions in the account where you turned on Resource Explorer. As a result, views in the aggregator index Region include resources from all of the indexed Regions in your account.

For more information about Amazon Web Services Resource Explorer, including how to enable and configure the service, see the Amazon Web Services Resource Explorer User Guide.

" }