libZSservicesZSamazonka-lightsailZSamazonka-lightsail
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.Lightsail.StartRelationalDatabase

Description

Starts a specific database from a stopped state in Amazon Lightsail. To restart a database, use the reboot relational database operation.

The start relational database operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.

Synopsis

Creating a Request

data StartRelationalDatabase Source #

See: newStartRelationalDatabase smart constructor.

Constructors

StartRelationalDatabase' 

Fields

Instances

Instances details
Eq StartRelationalDatabase Source # 
Instance details

Defined in Amazonka.Lightsail.StartRelationalDatabase

Read StartRelationalDatabase Source # 
Instance details

Defined in Amazonka.Lightsail.StartRelationalDatabase

Show StartRelationalDatabase Source # 
Instance details

Defined in Amazonka.Lightsail.StartRelationalDatabase

Generic StartRelationalDatabase Source # 
Instance details

Defined in Amazonka.Lightsail.StartRelationalDatabase

Associated Types

type Rep StartRelationalDatabase :: Type -> Type #

NFData StartRelationalDatabase Source # 
Instance details

Defined in Amazonka.Lightsail.StartRelationalDatabase

Methods

rnf :: StartRelationalDatabase -> () #

Hashable StartRelationalDatabase Source # 
Instance details

Defined in Amazonka.Lightsail.StartRelationalDatabase

ToJSON StartRelationalDatabase Source # 
Instance details

Defined in Amazonka.Lightsail.StartRelationalDatabase

AWSRequest StartRelationalDatabase Source # 
Instance details

Defined in Amazonka.Lightsail.StartRelationalDatabase

ToHeaders StartRelationalDatabase Source # 
Instance details

Defined in Amazonka.Lightsail.StartRelationalDatabase

ToPath StartRelationalDatabase Source # 
Instance details

Defined in Amazonka.Lightsail.StartRelationalDatabase

ToQuery StartRelationalDatabase Source # 
Instance details

Defined in Amazonka.Lightsail.StartRelationalDatabase

type Rep StartRelationalDatabase Source # 
Instance details

Defined in Amazonka.Lightsail.StartRelationalDatabase

type Rep StartRelationalDatabase = D1 ('MetaData "StartRelationalDatabase" "Amazonka.Lightsail.StartRelationalDatabase" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "StartRelationalDatabase'" 'PrefixI 'True) (S1 ('MetaSel ('Just "relationalDatabaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse StartRelationalDatabase Source # 
Instance details

Defined in Amazonka.Lightsail.StartRelationalDatabase

newStartRelationalDatabase Source #

Create a value of StartRelationalDatabase 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:relationalDatabaseName:StartRelationalDatabase', startRelationalDatabase_relationalDatabaseName - The name of your database to start.

Request Lenses

Destructuring the Response

data StartRelationalDatabaseResponse Source #

See: newStartRelationalDatabaseResponse smart constructor.

Constructors

StartRelationalDatabaseResponse' 

Fields

  • operations :: Maybe [Operation]

    An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq StartRelationalDatabaseResponse Source # 
Instance details

Defined in Amazonka.Lightsail.StartRelationalDatabase

Read StartRelationalDatabaseResponse Source # 
Instance details

Defined in Amazonka.Lightsail.StartRelationalDatabase

Show StartRelationalDatabaseResponse Source # 
Instance details

Defined in Amazonka.Lightsail.StartRelationalDatabase

Generic StartRelationalDatabaseResponse Source # 
Instance details

Defined in Amazonka.Lightsail.StartRelationalDatabase

Associated Types

type Rep StartRelationalDatabaseResponse :: Type -> Type #

NFData StartRelationalDatabaseResponse Source # 
Instance details

Defined in Amazonka.Lightsail.StartRelationalDatabase

type Rep StartRelationalDatabaseResponse Source # 
Instance details

Defined in Amazonka.Lightsail.StartRelationalDatabase

type Rep StartRelationalDatabaseResponse = D1 ('MetaData "StartRelationalDatabaseResponse" "Amazonka.Lightsail.StartRelationalDatabase" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "StartRelationalDatabaseResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Operation])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStartRelationalDatabaseResponse Source #

Create a value of StartRelationalDatabaseResponse 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:operations:StartRelationalDatabaseResponse', startRelationalDatabaseResponse_operations - An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

$sel:httpStatus:StartRelationalDatabaseResponse', startRelationalDatabaseResponse_httpStatus - The response's http status code.

Response Lenses

startRelationalDatabaseResponse_operations :: Lens' StartRelationalDatabaseResponse (Maybe [Operation]) Source #

An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.