Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Registers an Amazon RDS instance with a stack.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
Synopsis
- data RegisterRdsDbInstance = RegisterRdsDbInstance' {
- stackId :: Text
- rdsDbInstanceArn :: Text
- dbUser :: Text
- dbPassword :: Text
- newRegisterRdsDbInstance :: Text -> Text -> Text -> Text -> RegisterRdsDbInstance
- registerRdsDbInstance_stackId :: Lens' RegisterRdsDbInstance Text
- registerRdsDbInstance_rdsDbInstanceArn :: Lens' RegisterRdsDbInstance Text
- registerRdsDbInstance_dbUser :: Lens' RegisterRdsDbInstance Text
- registerRdsDbInstance_dbPassword :: Lens' RegisterRdsDbInstance Text
- data RegisterRdsDbInstanceResponse = RegisterRdsDbInstanceResponse' {
- newRegisterRdsDbInstanceResponse :: RegisterRdsDbInstanceResponse
Creating a Request
data RegisterRdsDbInstance Source #
See: newRegisterRdsDbInstance
smart constructor.
RegisterRdsDbInstance' | |
|
Instances
newRegisterRdsDbInstance Source #
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> RegisterRdsDbInstance |
Create a value of RegisterRdsDbInstance
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:
RegisterRdsDbInstance
, registerRdsDbInstance_stackId
- The stack ID.
RegisterRdsDbInstance
, registerRdsDbInstance_rdsDbInstanceArn
- The Amazon RDS instance's ARN.
RegisterRdsDbInstance
, registerRdsDbInstance_dbUser
- The database's master user name.
RegisterRdsDbInstance
, registerRdsDbInstance_dbPassword
- The database password.
Request Lenses
registerRdsDbInstance_stackId :: Lens' RegisterRdsDbInstance Text Source #
The stack ID.
registerRdsDbInstance_rdsDbInstanceArn :: Lens' RegisterRdsDbInstance Text Source #
The Amazon RDS instance's ARN.
registerRdsDbInstance_dbUser :: Lens' RegisterRdsDbInstance Text Source #
The database's master user name.
registerRdsDbInstance_dbPassword :: Lens' RegisterRdsDbInstance Text Source #
The database password.
Destructuring the Response
data RegisterRdsDbInstanceResponse Source #
See: newRegisterRdsDbInstanceResponse
smart constructor.
Instances
newRegisterRdsDbInstanceResponse :: RegisterRdsDbInstanceResponse Source #
Create a value of RegisterRdsDbInstanceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.