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 |
Synopsis
- data RelationalDatabaseSnapshot = RelationalDatabaseSnapshot' {
- engineVersion :: Maybe Text
- state :: Maybe Text
- fromRelationalDatabaseName :: Maybe Text
- resourceType :: Maybe ResourceType
- fromRelationalDatabaseBlueprintId :: Maybe Text
- arn :: Maybe Text
- createdAt :: Maybe POSIX
- location :: Maybe ResourceLocation
- engine :: Maybe Text
- name :: Maybe Text
- sizeInGb :: Maybe Int
- supportCode :: Maybe Text
- fromRelationalDatabaseArn :: Maybe Text
- fromRelationalDatabaseBundleId :: Maybe Text
- tags :: Maybe [Tag]
- newRelationalDatabaseSnapshot :: RelationalDatabaseSnapshot
- relationalDatabaseSnapshot_engineVersion :: Lens' RelationalDatabaseSnapshot (Maybe Text)
- relationalDatabaseSnapshot_state :: Lens' RelationalDatabaseSnapshot (Maybe Text)
- relationalDatabaseSnapshot_fromRelationalDatabaseName :: Lens' RelationalDatabaseSnapshot (Maybe Text)
- relationalDatabaseSnapshot_resourceType :: Lens' RelationalDatabaseSnapshot (Maybe ResourceType)
- relationalDatabaseSnapshot_fromRelationalDatabaseBlueprintId :: Lens' RelationalDatabaseSnapshot (Maybe Text)
- relationalDatabaseSnapshot_arn :: Lens' RelationalDatabaseSnapshot (Maybe Text)
- relationalDatabaseSnapshot_createdAt :: Lens' RelationalDatabaseSnapshot (Maybe UTCTime)
- relationalDatabaseSnapshot_location :: Lens' RelationalDatabaseSnapshot (Maybe ResourceLocation)
- relationalDatabaseSnapshot_engine :: Lens' RelationalDatabaseSnapshot (Maybe Text)
- relationalDatabaseSnapshot_name :: Lens' RelationalDatabaseSnapshot (Maybe Text)
- relationalDatabaseSnapshot_sizeInGb :: Lens' RelationalDatabaseSnapshot (Maybe Int)
- relationalDatabaseSnapshot_supportCode :: Lens' RelationalDatabaseSnapshot (Maybe Text)
- relationalDatabaseSnapshot_fromRelationalDatabaseArn :: Lens' RelationalDatabaseSnapshot (Maybe Text)
- relationalDatabaseSnapshot_fromRelationalDatabaseBundleId :: Lens' RelationalDatabaseSnapshot (Maybe Text)
- relationalDatabaseSnapshot_tags :: Lens' RelationalDatabaseSnapshot (Maybe [Tag])
Documentation
data RelationalDatabaseSnapshot Source #
Describes a database snapshot.
See: newRelationalDatabaseSnapshot
smart constructor.
RelationalDatabaseSnapshot' | |
|
Instances
newRelationalDatabaseSnapshot :: RelationalDatabaseSnapshot Source #
Create a value of RelationalDatabaseSnapshot
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:engineVersion:RelationalDatabaseSnapshot'
, relationalDatabaseSnapshot_engineVersion
- The database engine version for the database snapshot (for example,
5.7.23
).
$sel:state:RelationalDatabaseSnapshot'
, relationalDatabaseSnapshot_state
- The state of the database snapshot.
$sel:fromRelationalDatabaseName:RelationalDatabaseSnapshot'
, relationalDatabaseSnapshot_fromRelationalDatabaseName
- The name of the source database from which the database snapshot was
created.
$sel:resourceType:RelationalDatabaseSnapshot'
, relationalDatabaseSnapshot_resourceType
- The Lightsail resource type.
$sel:fromRelationalDatabaseBlueprintId:RelationalDatabaseSnapshot'
, relationalDatabaseSnapshot_fromRelationalDatabaseBlueprintId
- The blueprint ID of the database from which the database snapshot was
created. A blueprint describes the major engine version of a database.
$sel:arn:RelationalDatabaseSnapshot'
, relationalDatabaseSnapshot_arn
- The Amazon Resource Name (ARN) of the database snapshot.
$sel:createdAt:RelationalDatabaseSnapshot'
, relationalDatabaseSnapshot_createdAt
- The timestamp when the database snapshot was created.
$sel:location:RelationalDatabaseSnapshot'
, relationalDatabaseSnapshot_location
- The Region name and Availability Zone where the database snapshot is
located.
$sel:engine:RelationalDatabaseSnapshot'
, relationalDatabaseSnapshot_engine
- The software of the database snapshot (for example, MySQL
)
$sel:name:RelationalDatabaseSnapshot'
, relationalDatabaseSnapshot_name
- The name of the database snapshot.
$sel:sizeInGb:RelationalDatabaseSnapshot'
, relationalDatabaseSnapshot_sizeInGb
- The size of the disk in GB (for example, 32
) for the database
snapshot.
$sel:supportCode:RelationalDatabaseSnapshot'
, relationalDatabaseSnapshot_supportCode
- The support code for the database snapshot. Include this code in your
email to support when you have questions about a database snapshot in
Lightsail. This code enables our support team to look up your Lightsail
information more easily.
$sel:fromRelationalDatabaseArn:RelationalDatabaseSnapshot'
, relationalDatabaseSnapshot_fromRelationalDatabaseArn
- The Amazon Resource Name (ARN) of the database from which the database
snapshot was created.
$sel:fromRelationalDatabaseBundleId:RelationalDatabaseSnapshot'
, relationalDatabaseSnapshot_fromRelationalDatabaseBundleId
- The bundle ID of the database from which the database snapshot was
created.
$sel:tags:RelationalDatabaseSnapshot'
, relationalDatabaseSnapshot_tags
- The tag keys and optional values for the resource. For more information
about tags in Lightsail, see the
Amazon Lightsail Developer Guide.
relationalDatabaseSnapshot_engineVersion :: Lens' RelationalDatabaseSnapshot (Maybe Text) Source #
The database engine version for the database snapshot (for example,
5.7.23
).
relationalDatabaseSnapshot_state :: Lens' RelationalDatabaseSnapshot (Maybe Text) Source #
The state of the database snapshot.
relationalDatabaseSnapshot_fromRelationalDatabaseName :: Lens' RelationalDatabaseSnapshot (Maybe Text) Source #
The name of the source database from which the database snapshot was created.
relationalDatabaseSnapshot_resourceType :: Lens' RelationalDatabaseSnapshot (Maybe ResourceType) Source #
The Lightsail resource type.
relationalDatabaseSnapshot_fromRelationalDatabaseBlueprintId :: Lens' RelationalDatabaseSnapshot (Maybe Text) Source #
The blueprint ID of the database from which the database snapshot was created. A blueprint describes the major engine version of a database.
relationalDatabaseSnapshot_arn :: Lens' RelationalDatabaseSnapshot (Maybe Text) Source #
The Amazon Resource Name (ARN) of the database snapshot.
relationalDatabaseSnapshot_createdAt :: Lens' RelationalDatabaseSnapshot (Maybe UTCTime) Source #
The timestamp when the database snapshot was created.
relationalDatabaseSnapshot_location :: Lens' RelationalDatabaseSnapshot (Maybe ResourceLocation) Source #
The Region name and Availability Zone where the database snapshot is located.
relationalDatabaseSnapshot_engine :: Lens' RelationalDatabaseSnapshot (Maybe Text) Source #
The software of the database snapshot (for example, MySQL
)
relationalDatabaseSnapshot_name :: Lens' RelationalDatabaseSnapshot (Maybe Text) Source #
The name of the database snapshot.
relationalDatabaseSnapshot_sizeInGb :: Lens' RelationalDatabaseSnapshot (Maybe Int) Source #
The size of the disk in GB (for example, 32
) for the database
snapshot.
relationalDatabaseSnapshot_supportCode :: Lens' RelationalDatabaseSnapshot (Maybe Text) Source #
The support code for the database snapshot. Include this code in your email to support when you have questions about a database snapshot in Lightsail. This code enables our support team to look up your Lightsail information more easily.
relationalDatabaseSnapshot_fromRelationalDatabaseArn :: Lens' RelationalDatabaseSnapshot (Maybe Text) Source #
The Amazon Resource Name (ARN) of the database from which the database snapshot was created.
relationalDatabaseSnapshot_fromRelationalDatabaseBundleId :: Lens' RelationalDatabaseSnapshot (Maybe Text) Source #
The bundle ID of the database from which the database snapshot was created.
relationalDatabaseSnapshot_tags :: Lens' RelationalDatabaseSnapshot (Maybe [Tag]) Source #
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.