amazonka-resource-explorer-v2-2.0: Amazon Resource Explorer SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ResourceExplorer2.UpdateView

Description

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.

Synopsis

Creating a Request

data UpdateView Source #

See: newUpdateView smart constructor.

Constructors

UpdateView' 

Fields

  • filters :: Maybe (Sensitive SearchFilter)

    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 :: Maybe [IncludedProperty]

    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 :: Text

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

Instances

Instances details
ToJSON UpdateView Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.UpdateView

ToHeaders UpdateView Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.UpdateView

Methods

toHeaders :: UpdateView -> [Header] #

ToPath UpdateView Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.UpdateView

ToQuery UpdateView Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.UpdateView

AWSRequest UpdateView Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.UpdateView

Associated Types

type AWSResponse UpdateView #

Generic UpdateView Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.UpdateView

Associated Types

type Rep UpdateView :: Type -> Type #

Show UpdateView Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.UpdateView

NFData UpdateView Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.UpdateView

Methods

rnf :: UpdateView -> () #

Eq UpdateView Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.UpdateView

Hashable UpdateView Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.UpdateView

type AWSResponse UpdateView Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.UpdateView

type Rep UpdateView Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.UpdateView

type Rep UpdateView = D1 ('MetaData "UpdateView" "Amazonka.ResourceExplorer2.UpdateView" "amazonka-resource-explorer-v2-2.0-DYDynTzMYCcKX3QLWjH6Yt" 'False) (C1 ('MetaCons "UpdateView'" 'PrefixI 'True) (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive SearchFilter))) :*: (S1 ('MetaSel ('Just "includedProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [IncludedProperty])) :*: S1 ('MetaSel ('Just "viewArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateView Source #

Arguments

:: Text

UpdateView

-> UpdateView 

Create a value of UpdateView with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

UpdateView, updateView_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 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.

UpdateView, updateView_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.

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

Request Lenses

updateView_filters :: Lens' UpdateView (Maybe SearchFilter) Source #

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.

updateView_includedProperties :: Lens' UpdateView (Maybe [IncludedProperty]) Source #

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.

updateView_viewArn :: Lens' UpdateView Text Source #

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

Destructuring the Response

data UpdateViewResponse Source #

See: newUpdateViewResponse smart constructor.

Constructors

UpdateViewResponse' 

Fields

Instances

Instances details
Generic UpdateViewResponse Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.UpdateView

Associated Types

type Rep UpdateViewResponse :: Type -> Type #

Show UpdateViewResponse Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.UpdateView

NFData UpdateViewResponse Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.UpdateView

Methods

rnf :: UpdateViewResponse -> () #

Eq UpdateViewResponse Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.UpdateView

type Rep UpdateViewResponse Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.UpdateView

type Rep UpdateViewResponse = D1 ('MetaData "UpdateViewResponse" "Amazonka.ResourceExplorer2.UpdateView" "amazonka-resource-explorer-v2-2.0-DYDynTzMYCcKX3QLWjH6Yt" 'False) (C1 ('MetaCons "UpdateViewResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "view") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe View)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateViewResponse Source #

Create a value of UpdateViewResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:view:UpdateViewResponse', updateViewResponse_view - Details about the view that you changed with this operation.

$sel:httpStatus:UpdateViewResponse', updateViewResponse_httpStatus - The response's http status code.

Response Lenses

updateViewResponse_view :: Lens' UpdateViewResponse (Maybe View) Source #

Details about the view that you changed with this operation.