amazonka-backup-gateway-2.0: Amazon Backup Gateway SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.BackupGateway.AssociateGatewayToServer

Description

Associates a backup gateway with your server. After you complete the association process, you can back up and restore your VMs through the gateway.

Synopsis

Creating a Request

data AssociateGatewayToServer Source #

See: newAssociateGatewayToServer smart constructor.

Constructors

AssociateGatewayToServer' 

Fields

  • gatewayArn :: Text

    The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

  • serverArn :: Text

    The Amazon Resource Name (ARN) of the server that hosts your virtual machines.

Instances

Instances details
ToJSON AssociateGatewayToServer Source # 
Instance details

Defined in Amazonka.BackupGateway.AssociateGatewayToServer

ToHeaders AssociateGatewayToServer Source # 
Instance details

Defined in Amazonka.BackupGateway.AssociateGatewayToServer

ToPath AssociateGatewayToServer Source # 
Instance details

Defined in Amazonka.BackupGateway.AssociateGatewayToServer

ToQuery AssociateGatewayToServer Source # 
Instance details

Defined in Amazonka.BackupGateway.AssociateGatewayToServer

AWSRequest AssociateGatewayToServer Source # 
Instance details

Defined in Amazonka.BackupGateway.AssociateGatewayToServer

Generic AssociateGatewayToServer Source # 
Instance details

Defined in Amazonka.BackupGateway.AssociateGatewayToServer

Associated Types

type Rep AssociateGatewayToServer :: Type -> Type #

Read AssociateGatewayToServer Source # 
Instance details

Defined in Amazonka.BackupGateway.AssociateGatewayToServer

Show AssociateGatewayToServer Source # 
Instance details

Defined in Amazonka.BackupGateway.AssociateGatewayToServer

NFData AssociateGatewayToServer Source # 
Instance details

Defined in Amazonka.BackupGateway.AssociateGatewayToServer

Eq AssociateGatewayToServer Source # 
Instance details

Defined in Amazonka.BackupGateway.AssociateGatewayToServer

Hashable AssociateGatewayToServer Source # 
Instance details

Defined in Amazonka.BackupGateway.AssociateGatewayToServer

type AWSResponse AssociateGatewayToServer Source # 
Instance details

Defined in Amazonka.BackupGateway.AssociateGatewayToServer

type Rep AssociateGatewayToServer Source # 
Instance details

Defined in Amazonka.BackupGateway.AssociateGatewayToServer

type Rep AssociateGatewayToServer = D1 ('MetaData "AssociateGatewayToServer" "Amazonka.BackupGateway.AssociateGatewayToServer" "amazonka-backup-gateway-2.0-Ee3gVOmXMeV2r3uv4sRO9" 'False) (C1 ('MetaCons "AssociateGatewayToServer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "serverArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newAssociateGatewayToServer Source #

Create a value of AssociateGatewayToServer 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:

AssociateGatewayToServer, associateGatewayToServer_gatewayArn - The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

$sel:serverArn:AssociateGatewayToServer', associateGatewayToServer_serverArn - The Amazon Resource Name (ARN) of the server that hosts your virtual machines.

Request Lenses

associateGatewayToServer_gatewayArn :: Lens' AssociateGatewayToServer Text Source #

The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

associateGatewayToServer_serverArn :: Lens' AssociateGatewayToServer Text Source #

The Amazon Resource Name (ARN) of the server that hosts your virtual machines.

Destructuring the Response

data AssociateGatewayToServerResponse Source #

See: newAssociateGatewayToServerResponse smart constructor.

Constructors

AssociateGatewayToServerResponse' 

Fields

Instances

Instances details
Generic AssociateGatewayToServerResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.AssociateGatewayToServer

Associated Types

type Rep AssociateGatewayToServerResponse :: Type -> Type #

Read AssociateGatewayToServerResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.AssociateGatewayToServer

Show AssociateGatewayToServerResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.AssociateGatewayToServer

NFData AssociateGatewayToServerResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.AssociateGatewayToServer

Eq AssociateGatewayToServerResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.AssociateGatewayToServer

type Rep AssociateGatewayToServerResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.AssociateGatewayToServer

type Rep AssociateGatewayToServerResponse = D1 ('MetaData "AssociateGatewayToServerResponse" "Amazonka.BackupGateway.AssociateGatewayToServer" "amazonka-backup-gateway-2.0-Ee3gVOmXMeV2r3uv4sRO9" 'False) (C1 ('MetaCons "AssociateGatewayToServerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAssociateGatewayToServerResponse Source #

Create a value of AssociateGatewayToServerResponse 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:

AssociateGatewayToServer, associateGatewayToServerResponse_gatewayArn - The Amazon Resource Name (ARN) of a gateway.

$sel:httpStatus:AssociateGatewayToServerResponse', associateGatewayToServerResponse_httpStatus - The response's http status code.

Response Lenses