libZSservicesZSamazonka-quicksightZSamazonka-quicksight
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.QuickSight.DeleteDataSource

Description

Deletes the data source permanently. This operation breaks all the datasets that reference the deleted data source.

Synopsis

Creating a Request

data DeleteDataSource Source #

See: newDeleteDataSource smart constructor.

Constructors

DeleteDataSource' 

Fields

  • awsAccountId :: Text

    The Amazon Web Services account ID.

  • dataSourceId :: Text

    The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

Instances

Instances details
Eq DeleteDataSource Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteDataSource

Read DeleteDataSource Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteDataSource

Show DeleteDataSource Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteDataSource

Generic DeleteDataSource Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteDataSource

Associated Types

type Rep DeleteDataSource :: Type -> Type #

NFData DeleteDataSource Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteDataSource

Methods

rnf :: DeleteDataSource -> () #

Hashable DeleteDataSource Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteDataSource

AWSRequest DeleteDataSource Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteDataSource

Associated Types

type AWSResponse DeleteDataSource #

ToHeaders DeleteDataSource Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteDataSource

ToPath DeleteDataSource Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteDataSource

ToQuery DeleteDataSource Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteDataSource

type Rep DeleteDataSource Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteDataSource

type Rep DeleteDataSource = D1 ('MetaData "DeleteDataSource" "Amazonka.QuickSight.DeleteDataSource" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "DeleteDataSource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "dataSourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteDataSource Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteDataSource

newDeleteDataSource Source #

Create a value of DeleteDataSource 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:awsAccountId:DeleteDataSource', deleteDataSource_awsAccountId - The Amazon Web Services account ID.

$sel:dataSourceId:DeleteDataSource', deleteDataSource_dataSourceId - The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

Request Lenses

deleteDataSource_awsAccountId :: Lens' DeleteDataSource Text Source #

The Amazon Web Services account ID.

deleteDataSource_dataSourceId :: Lens' DeleteDataSource Text Source #

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

Destructuring the Response

data DeleteDataSourceResponse Source #

See: newDeleteDataSourceResponse smart constructor.

Constructors

DeleteDataSourceResponse' 

Fields

  • requestId :: Maybe Text

    The Amazon Web Services request ID for this operation.

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the data source that you deleted.

  • dataSourceId :: Maybe Text

    The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

  • status :: Int

    The HTTP status of the request.

Instances

Instances details
Eq DeleteDataSourceResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteDataSource

Read DeleteDataSourceResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteDataSource

Show DeleteDataSourceResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteDataSource

Generic DeleteDataSourceResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteDataSource

Associated Types

type Rep DeleteDataSourceResponse :: Type -> Type #

NFData DeleteDataSourceResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteDataSource

type Rep DeleteDataSourceResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteDataSource

type Rep DeleteDataSourceResponse = D1 ('MetaData "DeleteDataSourceResponse" "Amazonka.QuickSight.DeleteDataSource" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "DeleteDataSourceResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "dataSourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDeleteDataSourceResponse Source #

Create a value of DeleteDataSourceResponse 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:requestId:DeleteDataSourceResponse', deleteDataSourceResponse_requestId - The Amazon Web Services request ID for this operation.

$sel:arn:DeleteDataSourceResponse', deleteDataSourceResponse_arn - The Amazon Resource Name (ARN) of the data source that you deleted.

$sel:dataSourceId:DeleteDataSource', deleteDataSourceResponse_dataSourceId - The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

$sel:status:DeleteDataSourceResponse', deleteDataSourceResponse_status - The HTTP status of the request.

Response Lenses

deleteDataSourceResponse_requestId :: Lens' DeleteDataSourceResponse (Maybe Text) Source #

The Amazon Web Services request ID for this operation.

deleteDataSourceResponse_arn :: Lens' DeleteDataSourceResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the data source that you deleted.

deleteDataSourceResponse_dataSourceId :: Lens' DeleteDataSourceResponse (Maybe Text) Source #

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.