service_views
Creates, updates, deletes, gets or lists a service_views resource.
Overview
| Name | service_views |
| Type | Resource |
| Id | aws.resource_explorer_2.service_views |
Fields
The following fields are returned by SELECT queries:
- get_service_view
- list_service_views
| Name | Datatype | Description |
|---|---|---|
filters | object | A search filter defines which resources can be part of a search query result set. |
included_properties | array | A list of additional resource properties that are included in this view for search and filtering purposes. |
scope_type | string | The scope type of the service view, which determines what resources are included. |
service_linked_recorder | object | Information about the service-linked recorder associated with this service view. When a service view is paired with a service-linked recorder, Resource Explorer uses the recorder's resource type list to filter search results and streaming data. |
service_view_arn | string | The Amazon Resource Name (ARN) of the service view. |
service_view_name | string | The name of the service view. (pattern: <code>[a-zA-Z0-9-]{1,64}</code>) |
streaming_access_for_service | string | The Amazon Web Services service that has streaming access to this view's data. |
| Name | Datatype | Description |
|---|---|---|
service_view | string | A list of Amazon Resource Names (ARNs) for the service views available in the current Amazon Web Services account. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_service_view | select | region | Retrieves details about a specific Resource Explorer service view. This operation returns the configuration and properties of the specified view. | |
list_service_views | select | region | Lists all Resource Explorer service views available in the current Amazon Web Services account. This operation returns the ARNs of available service views. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_service_view
- list_service_views
Retrieves details about a specific Resource Explorer service view. This operation returns the configuration and properties of the specified view.
SELECT
filters,
included_properties,
scope_type,
service_linked_recorder,
service_view_arn,
service_view_name,
streaming_access_for_service
FROM aws.resource_explorer_2.service_views
WHERE region = '{{ region }}' -- required
;
Lists all Resource Explorer service views available in the current Amazon Web Services account. This operation returns the ARNs of available service views.
SELECT
service_view
FROM aws.resource_explorer_2.service_views
WHERE region = '{{ region }}' -- required
;