amazonka-backupstorage-2.0: Amazon Backup Storage 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.BackupStorage.StartObject

Description

Start upload containing one or many chunks.

Synopsis

Creating a Request

data StartObject Source #

See: newStartObject smart constructor.

Constructors

StartObject' 

Fields

Instances

Instances details
ToJSON StartObject Source # 
Instance details

Defined in Amazonka.BackupStorage.StartObject

ToHeaders StartObject Source # 
Instance details

Defined in Amazonka.BackupStorage.StartObject

Methods

toHeaders :: StartObject -> [Header] #

ToPath StartObject Source # 
Instance details

Defined in Amazonka.BackupStorage.StartObject

ToQuery StartObject Source # 
Instance details

Defined in Amazonka.BackupStorage.StartObject

AWSRequest StartObject Source # 
Instance details

Defined in Amazonka.BackupStorage.StartObject

Associated Types

type AWSResponse StartObject #

Generic StartObject Source # 
Instance details

Defined in Amazonka.BackupStorage.StartObject

Associated Types

type Rep StartObject :: Type -> Type #

Read StartObject Source # 
Instance details

Defined in Amazonka.BackupStorage.StartObject

Show StartObject Source # 
Instance details

Defined in Amazonka.BackupStorage.StartObject

NFData StartObject Source # 
Instance details

Defined in Amazonka.BackupStorage.StartObject

Methods

rnf :: StartObject -> () #

Eq StartObject Source # 
Instance details

Defined in Amazonka.BackupStorage.StartObject

Hashable StartObject Source # 
Instance details

Defined in Amazonka.BackupStorage.StartObject

type AWSResponse StartObject Source # 
Instance details

Defined in Amazonka.BackupStorage.StartObject

type Rep StartObject Source # 
Instance details

Defined in Amazonka.BackupStorage.StartObject

type Rep StartObject = D1 ('MetaData "StartObject" "Amazonka.BackupStorage.StartObject" "amazonka-backupstorage-2.0-LZ4MZsHhisz8sYMq4uJ5tw" 'False) (C1 ('MetaCons "StartObject'" 'PrefixI 'True) (S1 ('MetaSel ('Just "throwOnDuplicate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "backupJobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "objectName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newStartObject Source #

Create a value of StartObject 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:throwOnDuplicate:StartObject', startObject_throwOnDuplicate - Throw an exception if Object name is already exist.

$sel:backupJobId:StartObject', startObject_backupJobId - Backup job Id for the in-progress backup

$sel:objectName:StartObject', startObject_objectName - Name for the object.

Request Lenses

startObject_throwOnDuplicate :: Lens' StartObject (Maybe Bool) Source #

Throw an exception if Object name is already exist.

startObject_backupJobId :: Lens' StartObject Text Source #

Backup job Id for the in-progress backup

Destructuring the Response

data StartObjectResponse Source #

See: newStartObjectResponse smart constructor.

Constructors

StartObjectResponse' 

Fields

Instances

Instances details
Generic StartObjectResponse Source # 
Instance details

Defined in Amazonka.BackupStorage.StartObject

Associated Types

type Rep StartObjectResponse :: Type -> Type #

Read StartObjectResponse Source # 
Instance details

Defined in Amazonka.BackupStorage.StartObject

Show StartObjectResponse Source # 
Instance details

Defined in Amazonka.BackupStorage.StartObject

NFData StartObjectResponse Source # 
Instance details

Defined in Amazonka.BackupStorage.StartObject

Methods

rnf :: StartObjectResponse -> () #

Eq StartObjectResponse Source # 
Instance details

Defined in Amazonka.BackupStorage.StartObject

type Rep StartObjectResponse Source # 
Instance details

Defined in Amazonka.BackupStorage.StartObject

type Rep StartObjectResponse = D1 ('MetaData "StartObjectResponse" "Amazonka.BackupStorage.StartObject" "amazonka-backupstorage-2.0-LZ4MZsHhisz8sYMq4uJ5tw" 'False) (C1 ('MetaCons "StartObjectResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "uploadId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newStartObjectResponse Source #

Create a value of StartObjectResponse 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:httpStatus:StartObjectResponse', startObjectResponse_httpStatus - The response's http status code.

$sel:uploadId:StartObjectResponse', startObjectResponse_uploadId - Upload Id for a given upload.

Response Lenses