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.AssociateDefaultView

Description

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.

Synopsis

Creating a Request

data AssociateDefaultView Source #

See: newAssociateDefaultView smart constructor.

Constructors

AssociateDefaultView' 

Fields

  • viewArn :: Text

    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.

Instances

Instances details
ToJSON AssociateDefaultView Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.AssociateDefaultView

ToHeaders AssociateDefaultView Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.AssociateDefaultView

ToPath AssociateDefaultView Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.AssociateDefaultView

ToQuery AssociateDefaultView Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.AssociateDefaultView

AWSRequest AssociateDefaultView Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.AssociateDefaultView

Associated Types

type AWSResponse AssociateDefaultView #

Generic AssociateDefaultView Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.AssociateDefaultView

Associated Types

type Rep AssociateDefaultView :: Type -> Type #

Read AssociateDefaultView Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.AssociateDefaultView

Show AssociateDefaultView Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.AssociateDefaultView

NFData AssociateDefaultView Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.AssociateDefaultView

Methods

rnf :: AssociateDefaultView -> () #

Eq AssociateDefaultView Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.AssociateDefaultView

Hashable AssociateDefaultView Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.AssociateDefaultView

type AWSResponse AssociateDefaultView Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.AssociateDefaultView

type Rep AssociateDefaultView Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.AssociateDefaultView

type Rep AssociateDefaultView = D1 ('MetaData "AssociateDefaultView" "Amazonka.ResourceExplorer2.AssociateDefaultView" "amazonka-resource-explorer-v2-2.0-DYDynTzMYCcKX3QLWjH6Yt" 'False) (C1 ('MetaCons "AssociateDefaultView'" 'PrefixI 'True) (S1 ('MetaSel ('Just "viewArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newAssociateDefaultView Source #

Create a value of AssociateDefaultView 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:

AssociateDefaultView, associateDefaultView_viewArn - 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.

Request Lenses

associateDefaultView_viewArn :: Lens' AssociateDefaultView Text Source #

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.

Destructuring the Response

data AssociateDefaultViewResponse Source #

See: newAssociateDefaultViewResponse smart constructor.

Constructors

AssociateDefaultViewResponse' 

Fields

Instances

Instances details
Generic AssociateDefaultViewResponse Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.AssociateDefaultView

Associated Types

type Rep AssociateDefaultViewResponse :: Type -> Type #

Read AssociateDefaultViewResponse Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.AssociateDefaultView

Show AssociateDefaultViewResponse Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.AssociateDefaultView

NFData AssociateDefaultViewResponse Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.AssociateDefaultView

Eq AssociateDefaultViewResponse Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.AssociateDefaultView

type Rep AssociateDefaultViewResponse Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.AssociateDefaultView

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

newAssociateDefaultViewResponse Source #

Create a value of AssociateDefaultViewResponse 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:

AssociateDefaultView, associateDefaultViewResponse_viewArn - 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.

$sel:httpStatus:AssociateDefaultViewResponse', associateDefaultViewResponse_httpStatus - The response's http status code.

Response Lenses

associateDefaultViewResponse_viewArn :: Lens' AssociateDefaultViewResponse (Maybe Text) Source #

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.