Skip to main content

service_views

Creates, updates, deletes, gets or lists a service_views resource.

Overview​

Nameservice_views
TypeResource
Idaws.resource_explorer_2.service_views

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
filtersobjectA search filter defines which resources can be part of a search query result set.
included_propertiesarrayA list of additional resource properties that are included in this view for search and filtering purposes.
scope_typestringThe scope type of the service view, which determines what resources are included.
service_linked_recorderobjectInformation 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_arnstringThe Amazon Resource Name (ARN) of the service view.
service_view_namestringThe name of the service view. (pattern: <code>[a-zA-Z0-9-]{1,64}</code>)
streaming_access_for_servicestringThe Amazon Web Services service that has streaming access to this view's data.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_service_viewselectregionRetrieves details about a specific Resource Explorer service view. This operation returns the configuration and properties of the specified view.
list_service_viewsselectregionLists 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples​

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
;