amazonka-amplifybackend-2.0: Amazon AmplifyBackend 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.AmplifyBackend.CreateBackendStorage

Description

Creates a backend storage resource.

Synopsis

Creating a Request

data CreateBackendStorage Source #

The request body for CreateBackendStorage.

See: newCreateBackendStorage smart constructor.

Constructors

CreateBackendStorage' 

Fields

Instances

Instances details
ToJSON CreateBackendStorage Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendStorage

ToHeaders CreateBackendStorage Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendStorage

ToPath CreateBackendStorage Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendStorage

ToQuery CreateBackendStorage Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendStorage

AWSRequest CreateBackendStorage Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendStorage

Associated Types

type AWSResponse CreateBackendStorage #

Generic CreateBackendStorage Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendStorage

Associated Types

type Rep CreateBackendStorage :: Type -> Type #

Read CreateBackendStorage Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendStorage

Show CreateBackendStorage Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendStorage

NFData CreateBackendStorage Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendStorage

Methods

rnf :: CreateBackendStorage -> () #

Eq CreateBackendStorage Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendStorage

Hashable CreateBackendStorage Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendStorage

type AWSResponse CreateBackendStorage Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendStorage

type Rep CreateBackendStorage Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendStorage

type Rep CreateBackendStorage = D1 ('MetaData "CreateBackendStorage" "Amazonka.AmplifyBackend.CreateBackendStorage" "amazonka-amplifybackend-2.0-KAbme26dIsGHSomQ2pZcRc" 'False) (C1 ('MetaCons "CreateBackendStorage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "backendEnvironmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CreateBackendStorageResourceConfig))))

newCreateBackendStorage Source #

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

CreateBackendStorage, createBackendStorage_appId - The app ID.

$sel:resourceName:CreateBackendStorage', createBackendStorage_resourceName - The name of the storage resource.

CreateBackendStorage, createBackendStorage_backendEnvironmentName - The name of the backend environment.

$sel:resourceConfig:CreateBackendStorage', createBackendStorage_resourceConfig - The resource configuration for creating backend storage.

Request Lenses

Destructuring the Response

data CreateBackendStorageResponse Source #

See: newCreateBackendStorageResponse smart constructor.

Constructors

CreateBackendStorageResponse' 

Fields

Instances

Instances details
Generic CreateBackendStorageResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendStorage

Associated Types

type Rep CreateBackendStorageResponse :: Type -> Type #

Read CreateBackendStorageResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendStorage

Show CreateBackendStorageResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendStorage

NFData CreateBackendStorageResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendStorage

Eq CreateBackendStorageResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendStorage

type Rep CreateBackendStorageResponse Source # 
Instance details

Defined in Amazonka.AmplifyBackend.CreateBackendStorage

type Rep CreateBackendStorageResponse = D1 ('MetaData "CreateBackendStorageResponse" "Amazonka.AmplifyBackend.CreateBackendStorage" "amazonka-amplifybackend-2.0-KAbme26dIsGHSomQ2pZcRc" 'False) (C1 ('MetaCons "CreateBackendStorageResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "backendEnvironmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCreateBackendStorageResponse Source #

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

CreateBackendStorage, createBackendStorageResponse_appId - The app ID.

CreateBackendStorage, createBackendStorageResponse_backendEnvironmentName - The name of the backend environment.

CreateBackendStorageResponse, createBackendStorageResponse_jobId - The ID for the job.

CreateBackendStorageResponse, createBackendStorageResponse_status - The current status of the request.

$sel:httpStatus:CreateBackendStorageResponse', createBackendStorageResponse_httpStatus - The response's http status code.

Response Lenses