Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Updates a data source.
Synopsis
- data UpdateDataSource = UpdateDataSource' {}
- newUpdateDataSource :: Text -> Text -> Text -> UpdateDataSource
- updateDataSource_dataSourceParameters :: Lens' UpdateDataSource (Maybe DataSourceParameters)
- updateDataSource_sslProperties :: Lens' UpdateDataSource (Maybe SslProperties)
- updateDataSource_credentials :: Lens' UpdateDataSource (Maybe DataSourceCredentials)
- updateDataSource_vpcConnectionProperties :: Lens' UpdateDataSource (Maybe VpcConnectionProperties)
- updateDataSource_awsAccountId :: Lens' UpdateDataSource Text
- updateDataSource_dataSourceId :: Lens' UpdateDataSource Text
- updateDataSource_name :: Lens' UpdateDataSource Text
- data UpdateDataSourceResponse = UpdateDataSourceResponse' {
- requestId :: Maybe Text
- arn :: Maybe Text
- dataSourceId :: Maybe Text
- updateStatus :: Maybe ResourceStatus
- status :: Int
- newUpdateDataSourceResponse :: Int -> UpdateDataSourceResponse
- updateDataSourceResponse_requestId :: Lens' UpdateDataSourceResponse (Maybe Text)
- updateDataSourceResponse_arn :: Lens' UpdateDataSourceResponse (Maybe Text)
- updateDataSourceResponse_dataSourceId :: Lens' UpdateDataSourceResponse (Maybe Text)
- updateDataSourceResponse_updateStatus :: Lens' UpdateDataSourceResponse (Maybe ResourceStatus)
- updateDataSourceResponse_status :: Lens' UpdateDataSourceResponse Int
Creating a Request
data UpdateDataSource Source #
See: newUpdateDataSource
smart constructor.
UpdateDataSource' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> UpdateDataSource |
Create a value of UpdateDataSource
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:dataSourceParameters:UpdateDataSource'
, updateDataSource_dataSourceParameters
- The parameters that Amazon QuickSight uses to connect to your underlying
source.
$sel:sslProperties:UpdateDataSource'
, updateDataSource_sslProperties
- Secure Socket Layer (SSL) properties that apply when Amazon QuickSight
connects to your underlying source.
$sel:credentials:UpdateDataSource'
, updateDataSource_credentials
- The credentials that Amazon QuickSight that uses to connect to your
underlying source. Currently, only credentials based on user name and
password are supported.
$sel:vpcConnectionProperties:UpdateDataSource'
, updateDataSource_vpcConnectionProperties
- Use this parameter only when you want Amazon QuickSight to use a VPC
connection when connecting to your underlying source.
$sel:awsAccountId:UpdateDataSource'
, updateDataSource_awsAccountId
- The Amazon Web Services account ID.
$sel:dataSourceId:UpdateDataSource'
, updateDataSource_dataSourceId
- The ID of the data source. This ID is unique per Amazon Web Services
Region for each Amazon Web Services account.
$sel:name:UpdateDataSource'
, updateDataSource_name
- A display name for the data source.
Request Lenses
updateDataSource_dataSourceParameters :: Lens' UpdateDataSource (Maybe DataSourceParameters) Source #
The parameters that Amazon QuickSight uses to connect to your underlying source.
updateDataSource_sslProperties :: Lens' UpdateDataSource (Maybe SslProperties) Source #
Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying source.
updateDataSource_credentials :: Lens' UpdateDataSource (Maybe DataSourceCredentials) Source #
The credentials that Amazon QuickSight that uses to connect to your underlying source. Currently, only credentials based on user name and password are supported.
updateDataSource_vpcConnectionProperties :: Lens' UpdateDataSource (Maybe VpcConnectionProperties) Source #
Use this parameter only when you want Amazon QuickSight to use a VPC connection when connecting to your underlying source.
updateDataSource_awsAccountId :: Lens' UpdateDataSource Text Source #
The Amazon Web Services account ID.
updateDataSource_dataSourceId :: Lens' UpdateDataSource Text Source #
The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
updateDataSource_name :: Lens' UpdateDataSource Text Source #
A display name for the data source.
Destructuring the Response
data UpdateDataSourceResponse Source #
See: newUpdateDataSourceResponse
smart constructor.
UpdateDataSourceResponse' | |
|
Instances
newUpdateDataSourceResponse Source #
Create a value of UpdateDataSourceResponse
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:UpdateDataSourceResponse'
, updateDataSourceResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:arn:UpdateDataSourceResponse'
, updateDataSourceResponse_arn
- The Amazon Resource Name (ARN) of the data source.
$sel:dataSourceId:UpdateDataSource'
, updateDataSourceResponse_dataSourceId
- The ID of the data source. This ID is unique per Amazon Web Services
Region for each Amazon Web Services account.
$sel:updateStatus:UpdateDataSourceResponse'
, updateDataSourceResponse_updateStatus
- The update status of the data source's last update.
$sel:status:UpdateDataSourceResponse'
, updateDataSourceResponse_status
- The HTTP status of the request.
Response Lenses
updateDataSourceResponse_requestId :: Lens' UpdateDataSourceResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
updateDataSourceResponse_arn :: Lens' UpdateDataSourceResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the data source.
updateDataSourceResponse_dataSourceId :: Lens' UpdateDataSourceResponse (Maybe Text) Source #
The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
updateDataSourceResponse_updateStatus :: Lens' UpdateDataSourceResponse (Maybe ResourceStatus) Source #
The update status of the data source's last update.
updateDataSourceResponse_status :: Lens' UpdateDataSourceResponse Int Source #
The HTTP status of the request.