AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the CreateView operation.
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.
Namespace: Amazon.ResourceExplorer2.Model
Assembly: AWSSDK.ResourceExplorer2.dll
Version: 3.x.y.z
public class CreateViewRequest : AmazonResourceExplorer2Request IAmazonWebServiceRequest
The CreateViewRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
CreateViewRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
ClientToken | System.String |
Gets and sets the property ClientToken. 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. |
![]() |
Filters | Amazon.ResourceExplorer2.Model.SearchFilter |
Gets and sets the property Filters.
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 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 |
![]() |
IncludedProperties | System.Collections.Generic.List<Amazon.ResourceExplorer2.Model.IncludedProperty> |
Gets and sets the property IncludedProperties. 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 | System.String |
Gets and sets the property Scope. The root ARN of the account, an organizational unit (OU), or an organization ARN. If left empty, the default is account. |
![]() |
Tags | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property Tags. Tag key and value pairs that are attached to the view. |
![]() |
ViewName | System.String |
Gets and sets the property ViewName. 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. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5