Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/client-amplifybackend

Package Overview
Dependencies
Maintainers
7
Versions
367
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-amplifybackend - npm Package Compare versions

Comparing version 3.41.0 to 3.42.0

dist-cjs/commands/CreateBackendStorageCommand.js

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
### Features
* **clients:** update clients as of 11/18/2021 ([#3039](https://github.com/aws/aws-sdk-js-v3/issues/3039)) ([d2b2c45](https://github.com/aws/aws-sdk-js-v3/commit/d2b2c453315fc7bff798c1fb97c792e59274b4d6))
# [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)

@@ -8,0 +19,0 @@

@@ -10,2 +10,3 @@ "use strict";

const CreateBackendConfigCommand_1 = require("./commands/CreateBackendConfigCommand");
const CreateBackendStorageCommand_1 = require("./commands/CreateBackendStorageCommand");
const CreateTokenCommand_1 = require("./commands/CreateTokenCommand");

@@ -15,2 +16,3 @@ const DeleteBackendAPICommand_1 = require("./commands/DeleteBackendAPICommand");

const DeleteBackendCommand_1 = require("./commands/DeleteBackendCommand");
const DeleteBackendStorageCommand_1 = require("./commands/DeleteBackendStorageCommand");
const DeleteTokenCommand_1 = require("./commands/DeleteTokenCommand");

@@ -23,5 +25,8 @@ const GenerateBackendAPIModelsCommand_1 = require("./commands/GenerateBackendAPIModelsCommand");

const GetBackendJobCommand_1 = require("./commands/GetBackendJobCommand");
const GetBackendStorageCommand_1 = require("./commands/GetBackendStorageCommand");
const GetTokenCommand_1 = require("./commands/GetTokenCommand");
const ImportBackendAuthCommand_1 = require("./commands/ImportBackendAuthCommand");
const ImportBackendStorageCommand_1 = require("./commands/ImportBackendStorageCommand");
const ListBackendJobsCommand_1 = require("./commands/ListBackendJobsCommand");
const ListS3BucketsCommand_1 = require("./commands/ListS3BucketsCommand");
const RemoveAllBackendsCommand_1 = require("./commands/RemoveAllBackendsCommand");

@@ -33,2 +38,3 @@ const RemoveBackendConfigCommand_1 = require("./commands/RemoveBackendConfigCommand");

const UpdateBackendJobCommand_1 = require("./commands/UpdateBackendJobCommand");
const UpdateBackendStorageCommand_1 = require("./commands/UpdateBackendStorageCommand");
class AmplifyBackend extends AmplifyBackendClient_1.AmplifyBackendClient {

@@ -105,2 +111,16 @@ cloneBackend(args, optionsOrCb, cb) {

}
createBackendStorage(args, optionsOrCb, cb) {
const command = new CreateBackendStorageCommand_1.CreateBackendStorageCommand(args);
if (typeof optionsOrCb === "function") {
this.send(command, optionsOrCb);
}
else if (typeof cb === "function") {
if (typeof optionsOrCb !== "object")
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
this.send(command, optionsOrCb || {}, cb);
}
else {
return this.send(command, optionsOrCb);
}
}
createToken(args, optionsOrCb, cb) {

@@ -162,2 +182,16 @@ const command = new CreateTokenCommand_1.CreateTokenCommand(args);

}
deleteBackendStorage(args, optionsOrCb, cb) {
const command = new DeleteBackendStorageCommand_1.DeleteBackendStorageCommand(args);
if (typeof optionsOrCb === "function") {
this.send(command, optionsOrCb);
}
else if (typeof cb === "function") {
if (typeof optionsOrCb !== "object")
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
this.send(command, optionsOrCb || {}, cb);
}
else {
return this.send(command, optionsOrCb);
}
}
deleteToken(args, optionsOrCb, cb) {

@@ -261,2 +295,16 @@ const command = new DeleteTokenCommand_1.DeleteTokenCommand(args);

}
getBackendStorage(args, optionsOrCb, cb) {
const command = new GetBackendStorageCommand_1.GetBackendStorageCommand(args);
if (typeof optionsOrCb === "function") {
this.send(command, optionsOrCb);
}
else if (typeof cb === "function") {
if (typeof optionsOrCb !== "object")
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
this.send(command, optionsOrCb || {}, cb);
}
else {
return this.send(command, optionsOrCb);
}
}
getToken(args, optionsOrCb, cb) {

@@ -290,2 +338,16 @@ const command = new GetTokenCommand_1.GetTokenCommand(args);

}
importBackendStorage(args, optionsOrCb, cb) {
const command = new ImportBackendStorageCommand_1.ImportBackendStorageCommand(args);
if (typeof optionsOrCb === "function") {
this.send(command, optionsOrCb);
}
else if (typeof cb === "function") {
if (typeof optionsOrCb !== "object")
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
this.send(command, optionsOrCb || {}, cb);
}
else {
return this.send(command, optionsOrCb);
}
}
listBackendJobs(args, optionsOrCb, cb) {

@@ -305,2 +367,16 @@ const command = new ListBackendJobsCommand_1.ListBackendJobsCommand(args);

}
listS3Buckets(args, optionsOrCb, cb) {
const command = new ListS3BucketsCommand_1.ListS3BucketsCommand(args);
if (typeof optionsOrCb === "function") {
this.send(command, optionsOrCb);
}
else if (typeof cb === "function") {
if (typeof optionsOrCb !== "object")
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
this.send(command, optionsOrCb || {}, cb);
}
else {
return this.send(command, optionsOrCb);
}
}
removeAllBackends(args, optionsOrCb, cb) {

@@ -390,3 +466,17 @@ const command = new RemoveAllBackendsCommand_1.RemoveAllBackendsCommand(args);

}
updateBackendStorage(args, optionsOrCb, cb) {
const command = new UpdateBackendStorageCommand_1.UpdateBackendStorageCommand(args);
if (typeof optionsOrCb === "function") {
this.send(command, optionsOrCb);
}
else if (typeof cb === "function") {
if (typeof optionsOrCb !== "object")
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
this.send(command, optionsOrCb || {}, cb);
}
else {
return this.send(command, optionsOrCb);
}
}
}
exports.AmplifyBackend = AmplifyBackend;

@@ -9,2 +9,3 @@ "use strict";

tslib_1.__exportStar(require("./CreateBackendConfigCommand"), exports);
tslib_1.__exportStar(require("./CreateBackendStorageCommand"), exports);
tslib_1.__exportStar(require("./CreateTokenCommand"), exports);

@@ -14,2 +15,3 @@ tslib_1.__exportStar(require("./DeleteBackendAPICommand"), exports);

tslib_1.__exportStar(require("./DeleteBackendCommand"), exports);
tslib_1.__exportStar(require("./DeleteBackendStorageCommand"), exports);
tslib_1.__exportStar(require("./DeleteTokenCommand"), exports);

@@ -22,5 +24,8 @@ tslib_1.__exportStar(require("./GenerateBackendAPIModelsCommand"), exports);

tslib_1.__exportStar(require("./GetBackendJobCommand"), exports);
tslib_1.__exportStar(require("./GetBackendStorageCommand"), exports);
tslib_1.__exportStar(require("./GetTokenCommand"), exports);
tslib_1.__exportStar(require("./ImportBackendAuthCommand"), exports);
tslib_1.__exportStar(require("./ImportBackendStorageCommand"), exports);
tslib_1.__exportStar(require("./ListBackendJobsCommand"), exports);
tslib_1.__exportStar(require("./ListS3BucketsCommand"), exports);
tslib_1.__exportStar(require("./RemoveAllBackendsCommand"), exports);

@@ -32,1 +37,2 @@ tslib_1.__exportStar(require("./RemoveBackendConfigCommand"), exports);

tslib_1.__exportStar(require("./UpdateBackendJobCommand"), exports);
tslib_1.__exportStar(require("./UpdateBackendStorageCommand"), exports);

123

dist-cjs/models/models_0.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeleteBackendAPIResponse = exports.DeleteBackendAPIRequest = exports.DeleteBackendResponse = exports.DeleteBackendRequest = exports.CreateTokenResponse = exports.CreateTokenRequest = exports.CreateBackendConfigResponse = exports.CreateBackendConfigRequest = exports.CreateBackendAuthResponse = exports.CreateBackendAuthRequest = exports.CreateBackendAuthResourceConfig = exports.CreateBackendAuthUserPoolConfig = exports.SignInMethod = exports.RequiredSignUpAttributesElement = exports.CreateBackendAuthPasswordPolicyConfig = exports.CreateBackendAuthOAuthConfig = exports.SocialProviderSettings = exports.BackendAuthAppleProviderConfig = exports.BackendAuthSocialProviderConfig = exports.OAuthScopesElement = exports.OAuthGrantType = exports.CreateBackendAuthMFAConfig = exports.Settings = exports.MfaTypesElement = exports.MFAMode = exports.CreateBackendAuthForgotPasswordConfig = exports.SmsSettings = exports.EmailSettings = exports.DeliveryMethod = exports.Service = exports.CreateBackendAuthIdentityPoolConfig = exports.AuthResources = exports.CreateBackendAPIResponse = exports.CreateBackendAPIRequest = exports.BackendAPIResourceConfig = exports.BackendAPIConflictResolution = exports.ResolutionStrategy = exports.BackendAPIAuthType = exports.BackendAPIAppSyncAuthSettings = exports.Mode = exports.CreateBackendResponse = exports.CreateBackendRequest = exports.ResourceConfig = exports.TooManyRequestsException = exports.NotFoundException = exports.GatewayTimeoutException = exports.CloneBackendResponse = exports.CloneBackendRequest = exports.BadRequestException = exports.AdditionalConstraintsElement = void 0;
exports.UpdateBackendJobResponse = exports.UpdateBackendJobRequest = exports.UpdateBackendConfigResponse = exports.UpdateBackendConfigRequest = exports.LoginAuthConfigReqObj = exports.UpdateBackendAuthResponse = exports.UpdateBackendAuthRequest = exports.UpdateBackendAuthResourceConfig = exports.UpdateBackendAuthUserPoolConfig = exports.UpdateBackendAuthPasswordPolicyConfig = exports.UpdateBackendAuthOAuthConfig = exports.UpdateBackendAuthMFAConfig = exports.UpdateBackendAuthForgotPasswordConfig = exports.UpdateBackendAuthIdentityPoolConfig = exports.UpdateBackendAPIResponse = exports.UpdateBackendAPIRequest = exports.RemoveBackendConfigResponse = exports.RemoveBackendConfigRequest = exports.RemoveAllBackendsResponse = exports.RemoveAllBackendsRequest = exports.ListBackendJobsResponse = exports.BackendJobRespObj = exports.ListBackendJobsRequest = exports.ImportBackendAuthResponse = exports.ImportBackendAuthRequest = exports.GetTokenResponse = exports.GetTokenRequest = exports.GetBackendJobResponse = exports.GetBackendJobRequest = exports.GetBackendAuthResponse = exports.GetBackendAuthRequest = exports.GetBackendAPIModelsResponse = exports.Status = exports.GetBackendAPIModelsRequest = exports.GetBackendAPIResponse = exports.GetBackendAPIRequest = exports.GetBackendResponse = exports.GetBackendRequest = exports.GenerateBackendAPIModelsResponse = exports.GenerateBackendAPIModelsRequest = exports.DeleteTokenResponse = exports.DeleteTokenRequest = exports.DeleteBackendAuthResponse = exports.DeleteBackendAuthRequest = void 0;
exports.CreateBackendStorageRequest = exports.CreateBackendStorageResourceConfig = exports.ServiceName = exports.BackendStoragePermissions = exports.UnAuthenticatedElement = exports.AuthenticatedElement = exports.CreateBackendConfigResponse = exports.CreateBackendConfigRequest = exports.CreateBackendAuthResponse = exports.CreateBackendAuthRequest = exports.CreateBackendAuthResourceConfig = exports.CreateBackendAuthUserPoolConfig = exports.SignInMethod = exports.RequiredSignUpAttributesElement = exports.CreateBackendAuthPasswordPolicyConfig = exports.CreateBackendAuthOAuthConfig = exports.SocialProviderSettings = exports.BackendAuthAppleProviderConfig = exports.BackendAuthSocialProviderConfig = exports.OAuthScopesElement = exports.OAuthGrantType = exports.CreateBackendAuthMFAConfig = exports.Settings = exports.MfaTypesElement = exports.MFAMode = exports.CreateBackendAuthForgotPasswordConfig = exports.SmsSettings = exports.EmailSettings = exports.DeliveryMethod = exports.Service = exports.CreateBackendAuthIdentityPoolConfig = exports.AuthResources = exports.CreateBackendAPIResponse = exports.CreateBackendAPIRequest = exports.BackendAPIResourceConfig = exports.BackendAPIConflictResolution = exports.ResolutionStrategy = exports.BackendAPIAuthType = exports.BackendAPIAppSyncAuthSettings = exports.Mode = exports.CreateBackendResponse = exports.CreateBackendRequest = exports.ResourceConfig = exports.TooManyRequestsException = exports.NotFoundException = exports.GatewayTimeoutException = exports.CloneBackendResponse = exports.CloneBackendRequest = exports.BadRequestException = exports.AdditionalConstraintsElement = void 0;
exports.UpdateBackendAuthMFAConfig = exports.UpdateBackendAuthForgotPasswordConfig = exports.UpdateBackendAuthIdentityPoolConfig = exports.UpdateBackendAPIResponse = exports.UpdateBackendAPIRequest = exports.RemoveBackendConfigResponse = exports.RemoveBackendConfigRequest = exports.RemoveAllBackendsResponse = exports.RemoveAllBackendsRequest = exports.ListS3BucketsResponse = exports.S3BucketInfo = exports.ListS3BucketsRequest = exports.ListBackendJobsResponse = exports.BackendJobRespObj = exports.ListBackendJobsRequest = exports.ImportBackendStorageResponse = exports.ImportBackendStorageRequest = exports.ImportBackendAuthResponse = exports.ImportBackendAuthRequest = exports.GetTokenResponse = exports.GetTokenRequest = exports.GetBackendStorageResponse = exports.GetBackendStorageResourceConfig = exports.GetBackendStorageRequest = exports.GetBackendJobResponse = exports.GetBackendJobRequest = exports.GetBackendAuthResponse = exports.GetBackendAuthRequest = exports.GetBackendAPIModelsResponse = exports.Status = exports.GetBackendAPIModelsRequest = exports.GetBackendAPIResponse = exports.GetBackendAPIRequest = exports.GetBackendResponse = exports.GetBackendRequest = exports.GenerateBackendAPIModelsResponse = exports.GenerateBackendAPIModelsRequest = exports.DeleteTokenResponse = exports.DeleteTokenRequest = exports.DeleteBackendStorageResponse = exports.DeleteBackendStorageRequest = exports.DeleteBackendAuthResponse = exports.DeleteBackendAuthRequest = exports.DeleteBackendAPIResponse = exports.DeleteBackendAPIRequest = exports.DeleteBackendResponse = exports.DeleteBackendRequest = exports.CreateTokenResponse = exports.CreateTokenRequest = exports.CreateBackendStorageResponse = void 0;
exports.UpdateBackendStorageResponse = exports.UpdateBackendStorageRequest = exports.UpdateBackendStorageResourceConfig = exports.UpdateBackendJobResponse = exports.UpdateBackendJobRequest = exports.UpdateBackendConfigResponse = exports.UpdateBackendConfigRequest = exports.LoginAuthConfigReqObj = exports.UpdateBackendAuthResponse = exports.UpdateBackendAuthRequest = exports.UpdateBackendAuthResourceConfig = exports.UpdateBackendAuthUserPoolConfig = exports.UpdateBackendAuthPasswordPolicyConfig = exports.UpdateBackendAuthOAuthConfig = void 0;
var AdditionalConstraintsElement;

@@ -283,2 +284,42 @@ (function (AdditionalConstraintsElement) {

})(CreateBackendConfigResponse = exports.CreateBackendConfigResponse || (exports.CreateBackendConfigResponse = {}));
var AuthenticatedElement;
(function (AuthenticatedElement) {
AuthenticatedElement["CREATE_AND_UPDATE"] = "CREATE_AND_UPDATE";
AuthenticatedElement["DELETE"] = "DELETE";
AuthenticatedElement["READ"] = "READ";
})(AuthenticatedElement = exports.AuthenticatedElement || (exports.AuthenticatedElement = {}));
var UnAuthenticatedElement;
(function (UnAuthenticatedElement) {
UnAuthenticatedElement["CREATE_AND_UPDATE"] = "CREATE_AND_UPDATE";
UnAuthenticatedElement["DELETE"] = "DELETE";
UnAuthenticatedElement["READ"] = "READ";
})(UnAuthenticatedElement = exports.UnAuthenticatedElement || (exports.UnAuthenticatedElement = {}));
var BackendStoragePermissions;
(function (BackendStoragePermissions) {
BackendStoragePermissions.filterSensitiveLog = (obj) => ({
...obj,
});
})(BackendStoragePermissions = exports.BackendStoragePermissions || (exports.BackendStoragePermissions = {}));
var ServiceName;
(function (ServiceName) {
ServiceName["S3"] = "S3";
})(ServiceName = exports.ServiceName || (exports.ServiceName = {}));
var CreateBackendStorageResourceConfig;
(function (CreateBackendStorageResourceConfig) {
CreateBackendStorageResourceConfig.filterSensitiveLog = (obj) => ({
...obj,
});
})(CreateBackendStorageResourceConfig = exports.CreateBackendStorageResourceConfig || (exports.CreateBackendStorageResourceConfig = {}));
var CreateBackendStorageRequest;
(function (CreateBackendStorageRequest) {
CreateBackendStorageRequest.filterSensitiveLog = (obj) => ({
...obj,
});
})(CreateBackendStorageRequest = exports.CreateBackendStorageRequest || (exports.CreateBackendStorageRequest = {}));
var CreateBackendStorageResponse;
(function (CreateBackendStorageResponse) {
CreateBackendStorageResponse.filterSensitiveLog = (obj) => ({
...obj,
});
})(CreateBackendStorageResponse = exports.CreateBackendStorageResponse || (exports.CreateBackendStorageResponse = {}));
var CreateTokenRequest;

@@ -332,2 +373,14 @@ (function (CreateTokenRequest) {

})(DeleteBackendAuthResponse = exports.DeleteBackendAuthResponse || (exports.DeleteBackendAuthResponse = {}));
var DeleteBackendStorageRequest;
(function (DeleteBackendStorageRequest) {
DeleteBackendStorageRequest.filterSensitiveLog = (obj) => ({
...obj,
});
})(DeleteBackendStorageRequest = exports.DeleteBackendStorageRequest || (exports.DeleteBackendStorageRequest = {}));
var DeleteBackendStorageResponse;
(function (DeleteBackendStorageResponse) {
DeleteBackendStorageResponse.filterSensitiveLog = (obj) => ({
...obj,
});
})(DeleteBackendStorageResponse = exports.DeleteBackendStorageResponse || (exports.DeleteBackendStorageResponse = {}));
var DeleteTokenRequest;

@@ -422,2 +475,20 @@ (function (DeleteTokenRequest) {

})(GetBackendJobResponse = exports.GetBackendJobResponse || (exports.GetBackendJobResponse = {}));
var GetBackendStorageRequest;
(function (GetBackendStorageRequest) {
GetBackendStorageRequest.filterSensitiveLog = (obj) => ({
...obj,
});
})(GetBackendStorageRequest = exports.GetBackendStorageRequest || (exports.GetBackendStorageRequest = {}));
var GetBackendStorageResourceConfig;
(function (GetBackendStorageResourceConfig) {
GetBackendStorageResourceConfig.filterSensitiveLog = (obj) => ({
...obj,
});
})(GetBackendStorageResourceConfig = exports.GetBackendStorageResourceConfig || (exports.GetBackendStorageResourceConfig = {}));
var GetBackendStorageResponse;
(function (GetBackendStorageResponse) {
GetBackendStorageResponse.filterSensitiveLog = (obj) => ({
...obj,
});
})(GetBackendStorageResponse = exports.GetBackendStorageResponse || (exports.GetBackendStorageResponse = {}));
var GetTokenRequest;

@@ -447,2 +518,14 @@ (function (GetTokenRequest) {

})(ImportBackendAuthResponse = exports.ImportBackendAuthResponse || (exports.ImportBackendAuthResponse = {}));
var ImportBackendStorageRequest;
(function (ImportBackendStorageRequest) {
ImportBackendStorageRequest.filterSensitiveLog = (obj) => ({
...obj,
});
})(ImportBackendStorageRequest = exports.ImportBackendStorageRequest || (exports.ImportBackendStorageRequest = {}));
var ImportBackendStorageResponse;
(function (ImportBackendStorageResponse) {
ImportBackendStorageResponse.filterSensitiveLog = (obj) => ({
...obj,
});
})(ImportBackendStorageResponse = exports.ImportBackendStorageResponse || (exports.ImportBackendStorageResponse = {}));
var ListBackendJobsRequest;

@@ -466,2 +549,20 @@ (function (ListBackendJobsRequest) {

})(ListBackendJobsResponse = exports.ListBackendJobsResponse || (exports.ListBackendJobsResponse = {}));
var ListS3BucketsRequest;
(function (ListS3BucketsRequest) {
ListS3BucketsRequest.filterSensitiveLog = (obj) => ({
...obj,
});
})(ListS3BucketsRequest = exports.ListS3BucketsRequest || (exports.ListS3BucketsRequest = {}));
var S3BucketInfo;
(function (S3BucketInfo) {
S3BucketInfo.filterSensitiveLog = (obj) => ({
...obj,
});
})(S3BucketInfo = exports.S3BucketInfo || (exports.S3BucketInfo = {}));
var ListS3BucketsResponse;
(function (ListS3BucketsResponse) {
ListS3BucketsResponse.filterSensitiveLog = (obj) => ({
...obj,
});
})(ListS3BucketsResponse = exports.ListS3BucketsResponse || (exports.ListS3BucketsResponse = {}));
var RemoveAllBackendsRequest;

@@ -587,1 +688,19 @@ (function (RemoveAllBackendsRequest) {

})(UpdateBackendJobResponse = exports.UpdateBackendJobResponse || (exports.UpdateBackendJobResponse = {}));
var UpdateBackendStorageResourceConfig;
(function (UpdateBackendStorageResourceConfig) {
UpdateBackendStorageResourceConfig.filterSensitiveLog = (obj) => ({
...obj,
});
})(UpdateBackendStorageResourceConfig = exports.UpdateBackendStorageResourceConfig || (exports.UpdateBackendStorageResourceConfig = {}));
var UpdateBackendStorageRequest;
(function (UpdateBackendStorageRequest) {
UpdateBackendStorageRequest.filterSensitiveLog = (obj) => ({
...obj,
});
})(UpdateBackendStorageRequest = exports.UpdateBackendStorageRequest || (exports.UpdateBackendStorageRequest = {}));
var UpdateBackendStorageResponse;
(function (UpdateBackendStorageResponse) {
UpdateBackendStorageResponse.filterSensitiveLog = (obj) => ({
...obj,
});
})(UpdateBackendStorageResponse = exports.UpdateBackendStorageResponse || (exports.UpdateBackendStorageResponse = {}));

@@ -8,2 +8,3 @@ import { __extends } from "tslib";

import { CreateBackendConfigCommand, } from "./commands/CreateBackendConfigCommand";
import { CreateBackendStorageCommand, } from "./commands/CreateBackendStorageCommand";
import { CreateTokenCommand } from "./commands/CreateTokenCommand";

@@ -13,2 +14,3 @@ import { DeleteBackendAPICommand, } from "./commands/DeleteBackendAPICommand";

import { DeleteBackendCommand, } from "./commands/DeleteBackendCommand";
import { DeleteBackendStorageCommand, } from "./commands/DeleteBackendStorageCommand";
import { DeleteTokenCommand } from "./commands/DeleteTokenCommand";

@@ -21,5 +23,8 @@ import { GenerateBackendAPIModelsCommand, } from "./commands/GenerateBackendAPIModelsCommand";

import { GetBackendJobCommand, } from "./commands/GetBackendJobCommand";
import { GetBackendStorageCommand, } from "./commands/GetBackendStorageCommand";
import { GetTokenCommand } from "./commands/GetTokenCommand";
import { ImportBackendAuthCommand, } from "./commands/ImportBackendAuthCommand";
import { ImportBackendStorageCommand, } from "./commands/ImportBackendStorageCommand";
import { ListBackendJobsCommand, } from "./commands/ListBackendJobsCommand";
import { ListS3BucketsCommand, } from "./commands/ListS3BucketsCommand";
import { RemoveAllBackendsCommand, } from "./commands/RemoveAllBackendsCommand";

@@ -31,2 +36,3 @@ import { RemoveBackendConfigCommand, } from "./commands/RemoveBackendConfigCommand";

import { UpdateBackendJobCommand, } from "./commands/UpdateBackendJobCommand";
import { UpdateBackendStorageCommand, } from "./commands/UpdateBackendStorageCommand";
var AmplifyBackend = (function (_super) {

@@ -107,2 +113,16 @@ __extends(AmplifyBackend, _super);

};
AmplifyBackend.prototype.createBackendStorage = function (args, optionsOrCb, cb) {
var command = new CreateBackendStorageCommand(args);
if (typeof optionsOrCb === "function") {
this.send(command, optionsOrCb);
}
else if (typeof cb === "function") {
if (typeof optionsOrCb !== "object")
throw new Error("Expect http options but get " + typeof optionsOrCb);
this.send(command, optionsOrCb || {}, cb);
}
else {
return this.send(command, optionsOrCb);
}
};
AmplifyBackend.prototype.createToken = function (args, optionsOrCb, cb) {

@@ -164,2 +184,16 @@ var command = new CreateTokenCommand(args);

};
AmplifyBackend.prototype.deleteBackendStorage = function (args, optionsOrCb, cb) {
var command = new DeleteBackendStorageCommand(args);
if (typeof optionsOrCb === "function") {
this.send(command, optionsOrCb);
}
else if (typeof cb === "function") {
if (typeof optionsOrCb !== "object")
throw new Error("Expect http options but get " + typeof optionsOrCb);
this.send(command, optionsOrCb || {}, cb);
}
else {
return this.send(command, optionsOrCb);
}
};
AmplifyBackend.prototype.deleteToken = function (args, optionsOrCb, cb) {

@@ -263,2 +297,16 @@ var command = new DeleteTokenCommand(args);

};
AmplifyBackend.prototype.getBackendStorage = function (args, optionsOrCb, cb) {
var command = new GetBackendStorageCommand(args);
if (typeof optionsOrCb === "function") {
this.send(command, optionsOrCb);
}
else if (typeof cb === "function") {
if (typeof optionsOrCb !== "object")
throw new Error("Expect http options but get " + typeof optionsOrCb);
this.send(command, optionsOrCb || {}, cb);
}
else {
return this.send(command, optionsOrCb);
}
};
AmplifyBackend.prototype.getToken = function (args, optionsOrCb, cb) {

@@ -292,2 +340,16 @@ var command = new GetTokenCommand(args);

};
AmplifyBackend.prototype.importBackendStorage = function (args, optionsOrCb, cb) {
var command = new ImportBackendStorageCommand(args);
if (typeof optionsOrCb === "function") {
this.send(command, optionsOrCb);
}
else if (typeof cb === "function") {
if (typeof optionsOrCb !== "object")
throw new Error("Expect http options but get " + typeof optionsOrCb);
this.send(command, optionsOrCb || {}, cb);
}
else {
return this.send(command, optionsOrCb);
}
};
AmplifyBackend.prototype.listBackendJobs = function (args, optionsOrCb, cb) {

@@ -307,2 +369,16 @@ var command = new ListBackendJobsCommand(args);

};
AmplifyBackend.prototype.listS3Buckets = function (args, optionsOrCb, cb) {
var command = new ListS3BucketsCommand(args);
if (typeof optionsOrCb === "function") {
this.send(command, optionsOrCb);
}
else if (typeof cb === "function") {
if (typeof optionsOrCb !== "object")
throw new Error("Expect http options but get " + typeof optionsOrCb);
this.send(command, optionsOrCb || {}, cb);
}
else {
return this.send(command, optionsOrCb);
}
};
AmplifyBackend.prototype.removeAllBackends = function (args, optionsOrCb, cb) {

@@ -392,4 +468,18 @@ var command = new RemoveAllBackendsCommand(args);

};
AmplifyBackend.prototype.updateBackendStorage = function (args, optionsOrCb, cb) {
var command = new UpdateBackendStorageCommand(args);
if (typeof optionsOrCb === "function") {
this.send(command, optionsOrCb);
}
else if (typeof cb === "function") {
if (typeof optionsOrCb !== "object")
throw new Error("Expect http options but get " + typeof optionsOrCb);
this.send(command, optionsOrCb || {}, cb);
}
else {
return this.send(command, optionsOrCb);
}
};
return AmplifyBackend;
}(AmplifyBackendClient));
export { AmplifyBackend };

@@ -6,2 +6,3 @@ export * from "./CloneBackendCommand";

export * from "./CreateBackendConfigCommand";
export * from "./CreateBackendStorageCommand";
export * from "./CreateTokenCommand";

@@ -11,2 +12,3 @@ export * from "./DeleteBackendAPICommand";

export * from "./DeleteBackendCommand";
export * from "./DeleteBackendStorageCommand";
export * from "./DeleteTokenCommand";

@@ -19,5 +21,8 @@ export * from "./GenerateBackendAPIModelsCommand";

export * from "./GetBackendJobCommand";
export * from "./GetBackendStorageCommand";
export * from "./GetTokenCommand";
export * from "./ImportBackendAuthCommand";
export * from "./ImportBackendStorageCommand";
export * from "./ListBackendJobsCommand";
export * from "./ListS3BucketsCommand";
export * from "./RemoveAllBackendsCommand";

@@ -29,1 +34,2 @@ export * from "./RemoveBackendConfigCommand";

export * from "./UpdateBackendJobCommand";
export * from "./UpdateBackendStorageCommand";

@@ -216,2 +216,34 @@ import { __assign } from "tslib";

})(CreateBackendConfigResponse || (CreateBackendConfigResponse = {}));
export var AuthenticatedElement;
(function (AuthenticatedElement) {
AuthenticatedElement["CREATE_AND_UPDATE"] = "CREATE_AND_UPDATE";
AuthenticatedElement["DELETE"] = "DELETE";
AuthenticatedElement["READ"] = "READ";
})(AuthenticatedElement || (AuthenticatedElement = {}));
export var UnAuthenticatedElement;
(function (UnAuthenticatedElement) {
UnAuthenticatedElement["CREATE_AND_UPDATE"] = "CREATE_AND_UPDATE";
UnAuthenticatedElement["DELETE"] = "DELETE";
UnAuthenticatedElement["READ"] = "READ";
})(UnAuthenticatedElement || (UnAuthenticatedElement = {}));
export var BackendStoragePermissions;
(function (BackendStoragePermissions) {
BackendStoragePermissions.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
})(BackendStoragePermissions || (BackendStoragePermissions = {}));
export var ServiceName;
(function (ServiceName) {
ServiceName["S3"] = "S3";
})(ServiceName || (ServiceName = {}));
export var CreateBackendStorageResourceConfig;
(function (CreateBackendStorageResourceConfig) {
CreateBackendStorageResourceConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
})(CreateBackendStorageResourceConfig || (CreateBackendStorageResourceConfig = {}));
export var CreateBackendStorageRequest;
(function (CreateBackendStorageRequest) {
CreateBackendStorageRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
})(CreateBackendStorageRequest || (CreateBackendStorageRequest = {}));
export var CreateBackendStorageResponse;
(function (CreateBackendStorageResponse) {
CreateBackendStorageResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
})(CreateBackendStorageResponse || (CreateBackendStorageResponse = {}));
export var CreateTokenRequest;

@@ -249,2 +281,10 @@ (function (CreateTokenRequest) {

})(DeleteBackendAuthResponse || (DeleteBackendAuthResponse = {}));
export var DeleteBackendStorageRequest;
(function (DeleteBackendStorageRequest) {
DeleteBackendStorageRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
})(DeleteBackendStorageRequest || (DeleteBackendStorageRequest = {}));
export var DeleteBackendStorageResponse;
(function (DeleteBackendStorageResponse) {
DeleteBackendStorageResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
})(DeleteBackendStorageResponse || (DeleteBackendStorageResponse = {}));
export var DeleteTokenRequest;

@@ -311,2 +351,14 @@ (function (DeleteTokenRequest) {

})(GetBackendJobResponse || (GetBackendJobResponse = {}));
export var GetBackendStorageRequest;
(function (GetBackendStorageRequest) {
GetBackendStorageRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
})(GetBackendStorageRequest || (GetBackendStorageRequest = {}));
export var GetBackendStorageResourceConfig;
(function (GetBackendStorageResourceConfig) {
GetBackendStorageResourceConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
})(GetBackendStorageResourceConfig || (GetBackendStorageResourceConfig = {}));
export var GetBackendStorageResponse;
(function (GetBackendStorageResponse) {
GetBackendStorageResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
})(GetBackendStorageResponse || (GetBackendStorageResponse = {}));
export var GetTokenRequest;

@@ -328,2 +380,10 @@ (function (GetTokenRequest) {

})(ImportBackendAuthResponse || (ImportBackendAuthResponse = {}));
export var ImportBackendStorageRequest;
(function (ImportBackendStorageRequest) {
ImportBackendStorageRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
})(ImportBackendStorageRequest || (ImportBackendStorageRequest = {}));
export var ImportBackendStorageResponse;
(function (ImportBackendStorageResponse) {
ImportBackendStorageResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
})(ImportBackendStorageResponse || (ImportBackendStorageResponse = {}));
export var ListBackendJobsRequest;

@@ -341,2 +401,14 @@ (function (ListBackendJobsRequest) {

})(ListBackendJobsResponse || (ListBackendJobsResponse = {}));
export var ListS3BucketsRequest;
(function (ListS3BucketsRequest) {
ListS3BucketsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
})(ListS3BucketsRequest || (ListS3BucketsRequest = {}));
export var S3BucketInfo;
(function (S3BucketInfo) {
S3BucketInfo.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
})(S3BucketInfo || (S3BucketInfo = {}));
export var ListS3BucketsResponse;
(function (ListS3BucketsResponse) {
ListS3BucketsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
})(ListS3BucketsResponse || (ListS3BucketsResponse = {}));
export var RemoveAllBackendsRequest;

@@ -422,1 +494,13 @@ (function (RemoveAllBackendsRequest) {

})(UpdateBackendJobResponse || (UpdateBackendJobResponse = {}));
export var UpdateBackendStorageResourceConfig;
(function (UpdateBackendStorageResourceConfig) {
UpdateBackendStorageResourceConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
})(UpdateBackendStorageResourceConfig || (UpdateBackendStorageResourceConfig = {}));
export var UpdateBackendStorageRequest;
(function (UpdateBackendStorageRequest) {
UpdateBackendStorageRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
})(UpdateBackendStorageRequest || (UpdateBackendStorageRequest = {}));
export var UpdateBackendStorageResponse;
(function (UpdateBackendStorageResponse) {
UpdateBackendStorageResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
})(UpdateBackendStorageResponse || (UpdateBackendStorageResponse = {}));

@@ -8,2 +8,3 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";

import { CreateBackendConfigCommandInput, CreateBackendConfigCommandOutput } from "./commands/CreateBackendConfigCommand";
import { CreateBackendStorageCommandInput, CreateBackendStorageCommandOutput } from "./commands/CreateBackendStorageCommand";
import { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand";

@@ -13,2 +14,3 @@ import { DeleteBackendAPICommandInput, DeleteBackendAPICommandOutput } from "./commands/DeleteBackendAPICommand";

import { DeleteBackendCommandInput, DeleteBackendCommandOutput } from "./commands/DeleteBackendCommand";
import { DeleteBackendStorageCommandInput, DeleteBackendStorageCommandOutput } from "./commands/DeleteBackendStorageCommand";
import { DeleteTokenCommandInput, DeleteTokenCommandOutput } from "./commands/DeleteTokenCommand";

@@ -21,5 +23,8 @@ import { GenerateBackendAPIModelsCommandInput, GenerateBackendAPIModelsCommandOutput } from "./commands/GenerateBackendAPIModelsCommand";

import { GetBackendJobCommandInput, GetBackendJobCommandOutput } from "./commands/GetBackendJobCommand";
import { GetBackendStorageCommandInput, GetBackendStorageCommandOutput } from "./commands/GetBackendStorageCommand";
import { GetTokenCommandInput, GetTokenCommandOutput } from "./commands/GetTokenCommand";
import { ImportBackendAuthCommandInput, ImportBackendAuthCommandOutput } from "./commands/ImportBackendAuthCommand";
import { ImportBackendStorageCommandInput, ImportBackendStorageCommandOutput } from "./commands/ImportBackendStorageCommand";
import { ListBackendJobsCommandInput, ListBackendJobsCommandOutput } from "./commands/ListBackendJobsCommand";
import { ListS3BucketsCommandInput, ListS3BucketsCommandOutput } from "./commands/ListS3BucketsCommand";
import { RemoveAllBackendsCommandInput, RemoveAllBackendsCommandOutput } from "./commands/RemoveAllBackendsCommand";

@@ -31,2 +36,3 @@ import { RemoveBackendConfigCommandInput, RemoveBackendConfigCommandOutput } from "./commands/RemoveBackendConfigCommand";

import { UpdateBackendJobCommandInput, UpdateBackendJobCommandOutput } from "./commands/UpdateBackendJobCommand";
import { UpdateBackendStorageCommandInput, UpdateBackendStorageCommandOutput } from "./commands/UpdateBackendStorageCommand";
/**

@@ -67,2 +73,8 @@ * <p>AWS Amplify Admin API</p>

/**
* <p>Creates a backend storage resource.</p>
*/
createBackendStorage(args: CreateBackendStorageCommandInput, options?: __HttpHandlerOptions): Promise<CreateBackendStorageCommandOutput>;
createBackendStorage(args: CreateBackendStorageCommandInput, cb: (err: any, data?: CreateBackendStorageCommandOutput) => void): void;
createBackendStorage(args: CreateBackendStorageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBackendStorageCommandOutput) => void): void;
/**
* <p>Generates a one-time challenge code to authenticate a user into your Amplify Admin UI.</p>

@@ -92,2 +104,8 @@ */

/**
* <p>Removes the specified backend storage resource.</p>
*/
deleteBackendStorage(args: DeleteBackendStorageCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBackendStorageCommandOutput>;
deleteBackendStorage(args: DeleteBackendStorageCommandInput, cb: (err: any, data?: DeleteBackendStorageCommandOutput) => void): void;
deleteBackendStorage(args: DeleteBackendStorageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBackendStorageCommandOutput) => void): void;
/**
* <p>Deletes the challenge token based on the given appId and sessionId.</p>

@@ -135,2 +153,8 @@ */

/**
* <p>Gets details for a backend storage resource.</p>
*/
getBackendStorage(args: GetBackendStorageCommandInput, options?: __HttpHandlerOptions): Promise<GetBackendStorageCommandOutput>;
getBackendStorage(args: GetBackendStorageCommandInput, cb: (err: any, data?: GetBackendStorageCommandOutput) => void): void;
getBackendStorage(args: GetBackendStorageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBackendStorageCommandOutput) => void): void;
/**
* <p>Gets the challenge token based on the given appId and sessionId.</p>

@@ -148,2 +172,8 @@ */

/**
* <p>Imports an existing backend storage resource.</p>
*/
importBackendStorage(args: ImportBackendStorageCommandInput, options?: __HttpHandlerOptions): Promise<ImportBackendStorageCommandOutput>;
importBackendStorage(args: ImportBackendStorageCommandInput, cb: (err: any, data?: ImportBackendStorageCommandOutput) => void): void;
importBackendStorage(args: ImportBackendStorageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportBackendStorageCommandOutput) => void): void;
/**
* <p>Lists the jobs for the backend of an Amplify app.</p>

@@ -155,2 +185,8 @@ */

/**
* <p>The list of S3 buckets in your account.</p>
*/
listS3Buckets(args: ListS3BucketsCommandInput, options?: __HttpHandlerOptions): Promise<ListS3BucketsCommandOutput>;
listS3Buckets(args: ListS3BucketsCommandInput, cb: (err: any, data?: ListS3BucketsCommandOutput) => void): void;
listS3Buckets(args: ListS3BucketsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListS3BucketsCommandOutput) => void): void;
/**
* <p>Removes all backend environments from your Amplify project.</p>

@@ -191,2 +227,8 @@ */

updateBackendJob(args: UpdateBackendJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBackendJobCommandOutput) => void): void;
/**
* <p>Updates an existing backend storage resource.</p>
*/
updateBackendStorage(args: UpdateBackendStorageCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBackendStorageCommandOutput>;
updateBackendStorage(args: UpdateBackendStorageCommandInput, cb: (err: any, data?: UpdateBackendStorageCommandOutput) => void): void;
updateBackendStorage(args: UpdateBackendStorageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBackendStorageCommandOutput) => void): void;
}

10

dist-types/AmplifyBackendClient.d.ts

@@ -14,2 +14,3 @@ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";

import { CreateBackendConfigCommandInput, CreateBackendConfigCommandOutput } from "./commands/CreateBackendConfigCommand";
import { CreateBackendStorageCommandInput, CreateBackendStorageCommandOutput } from "./commands/CreateBackendStorageCommand";
import { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand";

@@ -19,2 +20,3 @@ import { DeleteBackendAPICommandInput, DeleteBackendAPICommandOutput } from "./commands/DeleteBackendAPICommand";

import { DeleteBackendCommandInput, DeleteBackendCommandOutput } from "./commands/DeleteBackendCommand";
import { DeleteBackendStorageCommandInput, DeleteBackendStorageCommandOutput } from "./commands/DeleteBackendStorageCommand";
import { DeleteTokenCommandInput, DeleteTokenCommandOutput } from "./commands/DeleteTokenCommand";

@@ -27,5 +29,8 @@ import { GenerateBackendAPIModelsCommandInput, GenerateBackendAPIModelsCommandOutput } from "./commands/GenerateBackendAPIModelsCommand";

import { GetBackendJobCommandInput, GetBackendJobCommandOutput } from "./commands/GetBackendJobCommand";
import { GetBackendStorageCommandInput, GetBackendStorageCommandOutput } from "./commands/GetBackendStorageCommand";
import { GetTokenCommandInput, GetTokenCommandOutput } from "./commands/GetTokenCommand";
import { ImportBackendAuthCommandInput, ImportBackendAuthCommandOutput } from "./commands/ImportBackendAuthCommand";
import { ImportBackendStorageCommandInput, ImportBackendStorageCommandOutput } from "./commands/ImportBackendStorageCommand";
import { ListBackendJobsCommandInput, ListBackendJobsCommandOutput } from "./commands/ListBackendJobsCommand";
import { ListS3BucketsCommandInput, ListS3BucketsCommandOutput } from "./commands/ListS3BucketsCommand";
import { RemoveAllBackendsCommandInput, RemoveAllBackendsCommandOutput } from "./commands/RemoveAllBackendsCommand";

@@ -37,4 +42,5 @@ import { RemoveBackendConfigCommandInput, RemoveBackendConfigCommandOutput } from "./commands/RemoveBackendConfigCommand";

import { UpdateBackendJobCommandInput, UpdateBackendJobCommandOutput } from "./commands/UpdateBackendJobCommand";
export declare type ServiceInputTypes = CloneBackendCommandInput | CreateBackendAPICommandInput | CreateBackendAuthCommandInput | CreateBackendCommandInput | CreateBackendConfigCommandInput | CreateTokenCommandInput | DeleteBackendAPICommandInput | DeleteBackendAuthCommandInput | DeleteBackendCommandInput | DeleteTokenCommandInput | GenerateBackendAPIModelsCommandInput | GetBackendAPICommandInput | GetBackendAPIModelsCommandInput | GetBackendAuthCommandInput | GetBackendCommandInput | GetBackendJobCommandInput | GetTokenCommandInput | ImportBackendAuthCommandInput | ListBackendJobsCommandInput | RemoveAllBackendsCommandInput | RemoveBackendConfigCommandInput | UpdateBackendAPICommandInput | UpdateBackendAuthCommandInput | UpdateBackendConfigCommandInput | UpdateBackendJobCommandInput;
export declare type ServiceOutputTypes = CloneBackendCommandOutput | CreateBackendAPICommandOutput | CreateBackendAuthCommandOutput | CreateBackendCommandOutput | CreateBackendConfigCommandOutput | CreateTokenCommandOutput | DeleteBackendAPICommandOutput | DeleteBackendAuthCommandOutput | DeleteBackendCommandOutput | DeleteTokenCommandOutput | GenerateBackendAPIModelsCommandOutput | GetBackendAPICommandOutput | GetBackendAPIModelsCommandOutput | GetBackendAuthCommandOutput | GetBackendCommandOutput | GetBackendJobCommandOutput | GetTokenCommandOutput | ImportBackendAuthCommandOutput | ListBackendJobsCommandOutput | RemoveAllBackendsCommandOutput | RemoveBackendConfigCommandOutput | UpdateBackendAPICommandOutput | UpdateBackendAuthCommandOutput | UpdateBackendConfigCommandOutput | UpdateBackendJobCommandOutput;
import { UpdateBackendStorageCommandInput, UpdateBackendStorageCommandOutput } from "./commands/UpdateBackendStorageCommand";
export declare type ServiceInputTypes = CloneBackendCommandInput | CreateBackendAPICommandInput | CreateBackendAuthCommandInput | CreateBackendCommandInput | CreateBackendConfigCommandInput | CreateBackendStorageCommandInput | CreateTokenCommandInput | DeleteBackendAPICommandInput | DeleteBackendAuthCommandInput | DeleteBackendCommandInput | DeleteBackendStorageCommandInput | DeleteTokenCommandInput | GenerateBackendAPIModelsCommandInput | GetBackendAPICommandInput | GetBackendAPIModelsCommandInput | GetBackendAuthCommandInput | GetBackendCommandInput | GetBackendJobCommandInput | GetBackendStorageCommandInput | GetTokenCommandInput | ImportBackendAuthCommandInput | ImportBackendStorageCommandInput | ListBackendJobsCommandInput | ListS3BucketsCommandInput | RemoveAllBackendsCommandInput | RemoveBackendConfigCommandInput | UpdateBackendAPICommandInput | UpdateBackendAuthCommandInput | UpdateBackendConfigCommandInput | UpdateBackendJobCommandInput | UpdateBackendStorageCommandInput;
export declare type ServiceOutputTypes = CloneBackendCommandOutput | CreateBackendAPICommandOutput | CreateBackendAuthCommandOutput | CreateBackendCommandOutput | CreateBackendConfigCommandOutput | CreateBackendStorageCommandOutput | CreateTokenCommandOutput | DeleteBackendAPICommandOutput | DeleteBackendAuthCommandOutput | DeleteBackendCommandOutput | DeleteBackendStorageCommandOutput | DeleteTokenCommandOutput | GenerateBackendAPIModelsCommandOutput | GetBackendAPICommandOutput | GetBackendAPIModelsCommandOutput | GetBackendAuthCommandOutput | GetBackendCommandOutput | GetBackendJobCommandOutput | GetBackendStorageCommandOutput | GetTokenCommandOutput | ImportBackendAuthCommandOutput | ImportBackendStorageCommandOutput | ListBackendJobsCommandOutput | ListS3BucketsCommandOutput | RemoveAllBackendsCommandOutput | RemoveBackendConfigCommandOutput | UpdateBackendAPICommandOutput | UpdateBackendAuthCommandOutput | UpdateBackendConfigCommandOutput | UpdateBackendJobCommandOutput | UpdateBackendStorageCommandOutput;
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {

@@ -41,0 +47,0 @@ /**

@@ -6,2 +6,3 @@ export * from "./CloneBackendCommand";

export * from "./CreateBackendConfigCommand";
export * from "./CreateBackendStorageCommand";
export * from "./CreateTokenCommand";

@@ -11,2 +12,3 @@ export * from "./DeleteBackendAPICommand";

export * from "./DeleteBackendCommand";
export * from "./DeleteBackendStorageCommand";
export * from "./DeleteTokenCommand";

@@ -19,5 +21,8 @@ export * from "./GenerateBackendAPIModelsCommand";

export * from "./GetBackendJobCommand";
export * from "./GetBackendStorageCommand";
export * from "./GetTokenCommand";
export * from "./ImportBackendAuthCommand";
export * from "./ImportBackendStorageCommand";
export * from "./ListBackendJobsCommand";
export * from "./ListS3BucketsCommand";
export * from "./RemoveAllBackendsCommand";

@@ -29,1 +34,2 @@ export * from "./RemoveBackendConfigCommand";

export * from "./UpdateBackendJobCommand";
export * from "./UpdateBackendStorageCommand";

@@ -8,2 +8,3 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";

import { CreateBackendConfigCommandInput, CreateBackendConfigCommandOutput } from "../commands/CreateBackendConfigCommand";
import { CreateBackendStorageCommandInput, CreateBackendStorageCommandOutput } from "../commands/CreateBackendStorageCommand";
import { CreateTokenCommandInput, CreateTokenCommandOutput } from "../commands/CreateTokenCommand";

@@ -13,2 +14,3 @@ import { DeleteBackendAPICommandInput, DeleteBackendAPICommandOutput } from "../commands/DeleteBackendAPICommand";

import { DeleteBackendCommandInput, DeleteBackendCommandOutput } from "../commands/DeleteBackendCommand";
import { DeleteBackendStorageCommandInput, DeleteBackendStorageCommandOutput } from "../commands/DeleteBackendStorageCommand";
import { DeleteTokenCommandInput, DeleteTokenCommandOutput } from "../commands/DeleteTokenCommand";

@@ -21,5 +23,8 @@ import { GenerateBackendAPIModelsCommandInput, GenerateBackendAPIModelsCommandOutput } from "../commands/GenerateBackendAPIModelsCommand";

import { GetBackendJobCommandInput, GetBackendJobCommandOutput } from "../commands/GetBackendJobCommand";
import { GetBackendStorageCommandInput, GetBackendStorageCommandOutput } from "../commands/GetBackendStorageCommand";
import { GetTokenCommandInput, GetTokenCommandOutput } from "../commands/GetTokenCommand";
import { ImportBackendAuthCommandInput, ImportBackendAuthCommandOutput } from "../commands/ImportBackendAuthCommand";
import { ImportBackendStorageCommandInput, ImportBackendStorageCommandOutput } from "../commands/ImportBackendStorageCommand";
import { ListBackendJobsCommandInput, ListBackendJobsCommandOutput } from "../commands/ListBackendJobsCommand";
import { ListS3BucketsCommandInput, ListS3BucketsCommandOutput } from "../commands/ListS3BucketsCommand";
import { RemoveAllBackendsCommandInput, RemoveAllBackendsCommandOutput } from "../commands/RemoveAllBackendsCommand";

@@ -31,2 +36,3 @@ import { RemoveBackendConfigCommandInput, RemoveBackendConfigCommandOutput } from "../commands/RemoveBackendConfigCommand";

import { UpdateBackendJobCommandInput, UpdateBackendJobCommandOutput } from "../commands/UpdateBackendJobCommand";
import { UpdateBackendStorageCommandInput, UpdateBackendStorageCommandOutput } from "../commands/UpdateBackendStorageCommand";
export declare const serializeAws_restJson1CloneBackendCommand: (input: CloneBackendCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;

@@ -37,2 +43,3 @@ export declare const serializeAws_restJson1CreateBackendCommand: (input: CreateBackendCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;

export declare const serializeAws_restJson1CreateBackendConfigCommand: (input: CreateBackendConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
export declare const serializeAws_restJson1CreateBackendStorageCommand: (input: CreateBackendStorageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
export declare const serializeAws_restJson1CreateTokenCommand: (input: CreateTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;

@@ -42,2 +49,3 @@ export declare const serializeAws_restJson1DeleteBackendCommand: (input: DeleteBackendCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;

export declare const serializeAws_restJson1DeleteBackendAuthCommand: (input: DeleteBackendAuthCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
export declare const serializeAws_restJson1DeleteBackendStorageCommand: (input: DeleteBackendStorageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
export declare const serializeAws_restJson1DeleteTokenCommand: (input: DeleteTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;

@@ -50,5 +58,8 @@ export declare const serializeAws_restJson1GenerateBackendAPIModelsCommand: (input: GenerateBackendAPIModelsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;

export declare const serializeAws_restJson1GetBackendJobCommand: (input: GetBackendJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
export declare const serializeAws_restJson1GetBackendStorageCommand: (input: GetBackendStorageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
export declare const serializeAws_restJson1GetTokenCommand: (input: GetTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
export declare const serializeAws_restJson1ImportBackendAuthCommand: (input: ImportBackendAuthCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
export declare const serializeAws_restJson1ImportBackendStorageCommand: (input: ImportBackendStorageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
export declare const serializeAws_restJson1ListBackendJobsCommand: (input: ListBackendJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
export declare const serializeAws_restJson1ListS3BucketsCommand: (input: ListS3BucketsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
export declare const serializeAws_restJson1RemoveAllBackendsCommand: (input: RemoveAllBackendsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;

@@ -60,2 +71,3 @@ export declare const serializeAws_restJson1RemoveBackendConfigCommand: (input: RemoveBackendConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;

export declare const serializeAws_restJson1UpdateBackendJobCommand: (input: UpdateBackendJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
export declare const serializeAws_restJson1UpdateBackendStorageCommand: (input: UpdateBackendStorageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
export declare const deserializeAws_restJson1CloneBackendCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CloneBackendCommandOutput>;

@@ -66,2 +78,3 @@ export declare const deserializeAws_restJson1CreateBackendCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateBackendCommandOutput>;

export declare const deserializeAws_restJson1CreateBackendConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateBackendConfigCommandOutput>;
export declare const deserializeAws_restJson1CreateBackendStorageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateBackendStorageCommandOutput>;
export declare const deserializeAws_restJson1CreateTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateTokenCommandOutput>;

@@ -71,2 +84,3 @@ export declare const deserializeAws_restJson1DeleteBackendCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteBackendCommandOutput>;

export declare const deserializeAws_restJson1DeleteBackendAuthCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteBackendAuthCommandOutput>;
export declare const deserializeAws_restJson1DeleteBackendStorageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteBackendStorageCommandOutput>;
export declare const deserializeAws_restJson1DeleteTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteTokenCommandOutput>;

@@ -79,5 +93,8 @@ export declare const deserializeAws_restJson1GenerateBackendAPIModelsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GenerateBackendAPIModelsCommandOutput>;

export declare const deserializeAws_restJson1GetBackendJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBackendJobCommandOutput>;
export declare const deserializeAws_restJson1GetBackendStorageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBackendStorageCommandOutput>;
export declare const deserializeAws_restJson1GetTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTokenCommandOutput>;
export declare const deserializeAws_restJson1ImportBackendAuthCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportBackendAuthCommandOutput>;
export declare const deserializeAws_restJson1ImportBackendStorageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportBackendStorageCommandOutput>;
export declare const deserializeAws_restJson1ListBackendJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListBackendJobsCommandOutput>;
export declare const deserializeAws_restJson1ListS3BucketsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListS3BucketsCommandOutput>;
export declare const deserializeAws_restJson1RemoveAllBackendsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RemoveAllBackendsCommandOutput>;

@@ -89,1 +106,2 @@ export declare const deserializeAws_restJson1RemoveBackendConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RemoveBackendConfigCommandOutput>;

export declare const deserializeAws_restJson1UpdateBackendJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateBackendJobCommandOutput>;
export declare const deserializeAws_restJson1UpdateBackendStorageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateBackendStorageCommandOutput>;

@@ -8,2 +8,3 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";

import { CreateBackendConfigCommandInput, CreateBackendConfigCommandOutput } from "./commands/CreateBackendConfigCommand";
import { CreateBackendStorageCommandInput, CreateBackendStorageCommandOutput } from "./commands/CreateBackendStorageCommand";
import { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand";

@@ -13,2 +14,3 @@ import { DeleteBackendAPICommandInput, DeleteBackendAPICommandOutput } from "./commands/DeleteBackendAPICommand";

import { DeleteBackendCommandInput, DeleteBackendCommandOutput } from "./commands/DeleteBackendCommand";
import { DeleteBackendStorageCommandInput, DeleteBackendStorageCommandOutput } from "./commands/DeleteBackendStorageCommand";
import { DeleteTokenCommandInput, DeleteTokenCommandOutput } from "./commands/DeleteTokenCommand";

@@ -21,5 +23,8 @@ import { GenerateBackendAPIModelsCommandInput, GenerateBackendAPIModelsCommandOutput } from "./commands/GenerateBackendAPIModelsCommand";

import { GetBackendJobCommandInput, GetBackendJobCommandOutput } from "./commands/GetBackendJobCommand";
import { GetBackendStorageCommandInput, GetBackendStorageCommandOutput } from "./commands/GetBackendStorageCommand";
import { GetTokenCommandInput, GetTokenCommandOutput } from "./commands/GetTokenCommand";
import { ImportBackendAuthCommandInput, ImportBackendAuthCommandOutput } from "./commands/ImportBackendAuthCommand";
import { ImportBackendStorageCommandInput, ImportBackendStorageCommandOutput } from "./commands/ImportBackendStorageCommand";
import { ListBackendJobsCommandInput, ListBackendJobsCommandOutput } from "./commands/ListBackendJobsCommand";
import { ListS3BucketsCommandInput, ListS3BucketsCommandOutput } from "./commands/ListS3BucketsCommand";
import { RemoveAllBackendsCommandInput, RemoveAllBackendsCommandOutput } from "./commands/RemoveAllBackendsCommand";

@@ -31,2 +36,3 @@ import { RemoveBackendConfigCommandInput, RemoveBackendConfigCommandOutput } from "./commands/RemoveBackendConfigCommand";

import { UpdateBackendJobCommandInput, UpdateBackendJobCommandOutput } from "./commands/UpdateBackendJobCommand";
import { UpdateBackendStorageCommandInput, UpdateBackendStorageCommandOutput } from "./commands/UpdateBackendStorageCommand";

@@ -55,2 +61,6 @@ export declare class AmplifyBackend extends AmplifyBackendClient {

createBackendStorage(args: CreateBackendStorageCommandInput, options?: __HttpHandlerOptions): Promise<CreateBackendStorageCommandOutput>;
createBackendStorage(args: CreateBackendStorageCommandInput, cb: (err: any, data?: CreateBackendStorageCommandOutput) => void): void;
createBackendStorage(args: CreateBackendStorageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBackendStorageCommandOutput) => void): void;
createToken(args: CreateTokenCommandInput, options?: __HttpHandlerOptions): Promise<CreateTokenCommandOutput>;

@@ -72,2 +82,6 @@ createToken(args: CreateTokenCommandInput, cb: (err: any, data?: CreateTokenCommandOutput) => void): void;

deleteBackendStorage(args: DeleteBackendStorageCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBackendStorageCommandOutput>;
deleteBackendStorage(args: DeleteBackendStorageCommandInput, cb: (err: any, data?: DeleteBackendStorageCommandOutput) => void): void;
deleteBackendStorage(args: DeleteBackendStorageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBackendStorageCommandOutput) => void): void;
deleteToken(args: DeleteTokenCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTokenCommandOutput>;

@@ -101,2 +115,6 @@ deleteToken(args: DeleteTokenCommandInput, cb: (err: any, data?: DeleteTokenCommandOutput) => void): void;

getBackendStorage(args: GetBackendStorageCommandInput, options?: __HttpHandlerOptions): Promise<GetBackendStorageCommandOutput>;
getBackendStorage(args: GetBackendStorageCommandInput, cb: (err: any, data?: GetBackendStorageCommandOutput) => void): void;
getBackendStorage(args: GetBackendStorageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBackendStorageCommandOutput) => void): void;
getToken(args: GetTokenCommandInput, options?: __HttpHandlerOptions): Promise<GetTokenCommandOutput>;

@@ -110,2 +128,6 @@ getToken(args: GetTokenCommandInput, cb: (err: any, data?: GetTokenCommandOutput) => void): void;

importBackendStorage(args: ImportBackendStorageCommandInput, options?: __HttpHandlerOptions): Promise<ImportBackendStorageCommandOutput>;
importBackendStorage(args: ImportBackendStorageCommandInput, cb: (err: any, data?: ImportBackendStorageCommandOutput) => void): void;
importBackendStorage(args: ImportBackendStorageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportBackendStorageCommandOutput) => void): void;
listBackendJobs(args: ListBackendJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListBackendJobsCommandOutput>;

@@ -115,2 +137,6 @@ listBackendJobs(args: ListBackendJobsCommandInput, cb: (err: any, data?: ListBackendJobsCommandOutput) => void): void;

listS3Buckets(args: ListS3BucketsCommandInput, options?: __HttpHandlerOptions): Promise<ListS3BucketsCommandOutput>;
listS3Buckets(args: ListS3BucketsCommandInput, cb: (err: any, data?: ListS3BucketsCommandOutput) => void): void;
listS3Buckets(args: ListS3BucketsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListS3BucketsCommandOutput) => void): void;
removeAllBackends(args: RemoveAllBackendsCommandInput, options?: __HttpHandlerOptions): Promise<RemoveAllBackendsCommandOutput>;

@@ -139,2 +165,6 @@ removeAllBackends(args: RemoveAllBackendsCommandInput, cb: (err: any, data?: RemoveAllBackendsCommandOutput) => void): void;

updateBackendJob(args: UpdateBackendJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBackendJobCommandOutput) => void): void;
updateBackendStorage(args: UpdateBackendStorageCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBackendStorageCommandOutput>;
updateBackendStorage(args: UpdateBackendStorageCommandInput, cb: (err: any, data?: UpdateBackendStorageCommandOutput) => void): void;
updateBackendStorage(args: UpdateBackendStorageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBackendStorageCommandOutput) => void): void;
}

@@ -14,2 +14,3 @@ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";

import { CreateBackendConfigCommandInput, CreateBackendConfigCommandOutput } from "./commands/CreateBackendConfigCommand";
import { CreateBackendStorageCommandInput, CreateBackendStorageCommandOutput } from "./commands/CreateBackendStorageCommand";
import { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand";

@@ -19,2 +20,3 @@ import { DeleteBackendAPICommandInput, DeleteBackendAPICommandOutput } from "./commands/DeleteBackendAPICommand";

import { DeleteBackendCommandInput, DeleteBackendCommandOutput } from "./commands/DeleteBackendCommand";
import { DeleteBackendStorageCommandInput, DeleteBackendStorageCommandOutput } from "./commands/DeleteBackendStorageCommand";
import { DeleteTokenCommandInput, DeleteTokenCommandOutput } from "./commands/DeleteTokenCommand";

@@ -27,5 +29,8 @@ import { GenerateBackendAPIModelsCommandInput, GenerateBackendAPIModelsCommandOutput } from "./commands/GenerateBackendAPIModelsCommand";

import { GetBackendJobCommandInput, GetBackendJobCommandOutput } from "./commands/GetBackendJobCommand";
import { GetBackendStorageCommandInput, GetBackendStorageCommandOutput } from "./commands/GetBackendStorageCommand";
import { GetTokenCommandInput, GetTokenCommandOutput } from "./commands/GetTokenCommand";
import { ImportBackendAuthCommandInput, ImportBackendAuthCommandOutput } from "./commands/ImportBackendAuthCommand";
import { ImportBackendStorageCommandInput, ImportBackendStorageCommandOutput } from "./commands/ImportBackendStorageCommand";
import { ListBackendJobsCommandInput, ListBackendJobsCommandOutput } from "./commands/ListBackendJobsCommand";
import { ListS3BucketsCommandInput, ListS3BucketsCommandOutput } from "./commands/ListS3BucketsCommand";
import { RemoveAllBackendsCommandInput, RemoveAllBackendsCommandOutput } from "./commands/RemoveAllBackendsCommand";

@@ -37,4 +42,5 @@ import { RemoveBackendConfigCommandInput, RemoveBackendConfigCommandOutput } from "./commands/RemoveBackendConfigCommand";

import { UpdateBackendJobCommandInput, UpdateBackendJobCommandOutput } from "./commands/UpdateBackendJobCommand";
export declare type ServiceInputTypes = CloneBackendCommandInput | CreateBackendAPICommandInput | CreateBackendAuthCommandInput | CreateBackendCommandInput | CreateBackendConfigCommandInput | CreateTokenCommandInput | DeleteBackendAPICommandInput | DeleteBackendAuthCommandInput | DeleteBackendCommandInput | DeleteTokenCommandInput | GenerateBackendAPIModelsCommandInput | GetBackendAPICommandInput | GetBackendAPIModelsCommandInput | GetBackendAuthCommandInput | GetBackendCommandInput | GetBackendJobCommandInput | GetTokenCommandInput | ImportBackendAuthCommandInput | ListBackendJobsCommandInput | RemoveAllBackendsCommandInput | RemoveBackendConfigCommandInput | UpdateBackendAPICommandInput | UpdateBackendAuthCommandInput | UpdateBackendConfigCommandInput | UpdateBackendJobCommandInput;
export declare type ServiceOutputTypes = CloneBackendCommandOutput | CreateBackendAPICommandOutput | CreateBackendAuthCommandOutput | CreateBackendCommandOutput | CreateBackendConfigCommandOutput | CreateTokenCommandOutput | DeleteBackendAPICommandOutput | DeleteBackendAuthCommandOutput | DeleteBackendCommandOutput | DeleteTokenCommandOutput | GenerateBackendAPIModelsCommandOutput | GetBackendAPICommandOutput | GetBackendAPIModelsCommandOutput | GetBackendAuthCommandOutput | GetBackendCommandOutput | GetBackendJobCommandOutput | GetTokenCommandOutput | ImportBackendAuthCommandOutput | ListBackendJobsCommandOutput | RemoveAllBackendsCommandOutput | RemoveBackendConfigCommandOutput | UpdateBackendAPICommandOutput | UpdateBackendAuthCommandOutput | UpdateBackendConfigCommandOutput | UpdateBackendJobCommandOutput;
import { UpdateBackendStorageCommandInput, UpdateBackendStorageCommandOutput } from "./commands/UpdateBackendStorageCommand";
export declare type ServiceInputTypes = CloneBackendCommandInput | CreateBackendAPICommandInput | CreateBackendAuthCommandInput | CreateBackendCommandInput | CreateBackendConfigCommandInput | CreateBackendStorageCommandInput | CreateTokenCommandInput | DeleteBackendAPICommandInput | DeleteBackendAuthCommandInput | DeleteBackendCommandInput | DeleteBackendStorageCommandInput | DeleteTokenCommandInput | GenerateBackendAPIModelsCommandInput | GetBackendAPICommandInput | GetBackendAPIModelsCommandInput | GetBackendAuthCommandInput | GetBackendCommandInput | GetBackendJobCommandInput | GetBackendStorageCommandInput | GetTokenCommandInput | ImportBackendAuthCommandInput | ImportBackendStorageCommandInput | ListBackendJobsCommandInput | ListS3BucketsCommandInput | RemoveAllBackendsCommandInput | RemoveBackendConfigCommandInput | UpdateBackendAPICommandInput | UpdateBackendAuthCommandInput | UpdateBackendConfigCommandInput | UpdateBackendJobCommandInput | UpdateBackendStorageCommandInput;
export declare type ServiceOutputTypes = CloneBackendCommandOutput | CreateBackendAPICommandOutput | CreateBackendAuthCommandOutput | CreateBackendCommandOutput | CreateBackendConfigCommandOutput | CreateBackendStorageCommandOutput | CreateTokenCommandOutput | DeleteBackendAPICommandOutput | DeleteBackendAuthCommandOutput | DeleteBackendCommandOutput | DeleteBackendStorageCommandOutput | DeleteTokenCommandOutput | GenerateBackendAPIModelsCommandOutput | GetBackendAPICommandOutput | GetBackendAPIModelsCommandOutput | GetBackendAuthCommandOutput | GetBackendCommandOutput | GetBackendJobCommandOutput | GetBackendStorageCommandOutput | GetTokenCommandOutput | ImportBackendAuthCommandOutput | ImportBackendStorageCommandOutput | ListBackendJobsCommandOutput | ListS3BucketsCommandOutput | RemoveAllBackendsCommandOutput | RemoveBackendConfigCommandOutput | UpdateBackendAPICommandOutput | UpdateBackendAuthCommandOutput | UpdateBackendConfigCommandOutput | UpdateBackendJobCommandOutput | UpdateBackendStorageCommandOutput;
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {

@@ -41,0 +47,0 @@

@@ -6,2 +6,3 @@ export * from "./CloneBackendCommand";

export * from "./CreateBackendConfigCommand";
export * from "./CreateBackendStorageCommand";
export * from "./CreateTokenCommand";

@@ -11,2 +12,3 @@ export * from "./DeleteBackendAPICommand";

export * from "./DeleteBackendCommand";
export * from "./DeleteBackendStorageCommand";
export * from "./DeleteTokenCommand";

@@ -19,5 +21,8 @@ export * from "./GenerateBackendAPIModelsCommand";

export * from "./GetBackendJobCommand";
export * from "./GetBackendStorageCommand";
export * from "./GetTokenCommand";
export * from "./ImportBackendAuthCommand";
export * from "./ImportBackendStorageCommand";
export * from "./ListBackendJobsCommand";
export * from "./ListS3BucketsCommand";
export * from "./RemoveAllBackendsCommand";

@@ -29,1 +34,2 @@ export * from "./RemoveBackendConfigCommand";

export * from "./UpdateBackendJobCommand";
export * from "./UpdateBackendStorageCommand";

@@ -523,2 +523,68 @@ import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";

}
export declare enum AuthenticatedElement {
CREATE_AND_UPDATE = "CREATE_AND_UPDATE",
DELETE = "DELETE",
READ = "READ"
}
export declare enum UnAuthenticatedElement {
CREATE_AND_UPDATE = "CREATE_AND_UPDATE",
DELETE = "DELETE",
READ = "READ"
}
export interface BackendStoragePermissions {
Authenticated: (AuthenticatedElement | string)[] | undefined;
UnAuthenticated?: (UnAuthenticatedElement | string)[];
}
export declare namespace BackendStoragePermissions {
const filterSensitiveLog: (obj: BackendStoragePermissions) => any;
}
export declare enum ServiceName {
S3 = "S3"
}
export interface CreateBackendStorageResourceConfig {
BucketName?: string;
Permissions: BackendStoragePermissions | undefined;
ServiceName: ServiceName | string | undefined;
}
export declare namespace CreateBackendStorageResourceConfig {
const filterSensitiveLog: (obj: CreateBackendStorageResourceConfig) => any;
}
export interface CreateBackendStorageRequest {
AppId: string | undefined;
BackendEnvironmentName: string | undefined;
ResourceConfig: CreateBackendStorageResourceConfig | undefined;
ResourceName: string | undefined;
}
export declare namespace CreateBackendStorageRequest {
const filterSensitiveLog: (obj: CreateBackendStorageRequest) => any;
}
export interface CreateBackendStorageResponse {
AppId?: string;
BackendEnvironmentName?: string;
JobId?: string;
Status?: string;
}
export declare namespace CreateBackendStorageResponse {
const filterSensitiveLog: (obj: CreateBackendStorageResponse) => any;
}
export interface CreateTokenRequest {

@@ -638,2 +704,31 @@

}
export interface DeleteBackendStorageRequest {
AppId: string | undefined;
BackendEnvironmentName: string | undefined;
ResourceName: string | undefined;
ServiceName: ServiceName | string | undefined;
}
export declare namespace DeleteBackendStorageRequest {
const filterSensitiveLog: (obj: DeleteBackendStorageRequest) => any;
}
export interface DeleteBackendStorageResponse {
AppId?: string;
BackendEnvironmentName?: string;
JobId?: string;
Status?: string;
}
export declare namespace DeleteBackendStorageResponse {
const filterSensitiveLog: (obj: DeleteBackendStorageResponse) => any;
}
export interface DeleteTokenRequest {

@@ -840,2 +935,44 @@

}
export interface GetBackendStorageRequest {
AppId: string | undefined;
BackendEnvironmentName: string | undefined;
ResourceName: string | undefined;
}
export declare namespace GetBackendStorageRequest {
const filterSensitiveLog: (obj: GetBackendStorageRequest) => any;
}
export interface GetBackendStorageResourceConfig {
BucketName?: string;
Imported: boolean | undefined;
Permissions?: BackendStoragePermissions;
ServiceName: ServiceName | string | undefined;
}
export declare namespace GetBackendStorageResourceConfig {
const filterSensitiveLog: (obj: GetBackendStorageResourceConfig) => any;
}
export interface GetBackendStorageResponse {
AppId?: string;
BackendEnvironmentName?: string;
ResourceConfig?: GetBackendStorageResourceConfig;
ResourceName?: string;
}
export declare namespace GetBackendStorageResponse {
const filterSensitiveLog: (obj: GetBackendStorageResponse) => any;
}
export interface GetTokenRequest {

@@ -903,2 +1040,31 @@

export interface ImportBackendStorageRequest {
AppId: string | undefined;
BackendEnvironmentName: string | undefined;
BucketName?: string;
ServiceName: ServiceName | string | undefined;
}
export declare namespace ImportBackendStorageRequest {
const filterSensitiveLog: (obj: ImportBackendStorageRequest) => any;
}
export interface ImportBackendStorageResponse {
AppId?: string;
BackendEnvironmentName?: string;
JobId?: string;
Status?: string;
}
export declare namespace ImportBackendStorageResponse {
const filterSensitiveLog: (obj: ImportBackendStorageResponse) => any;
}
export interface ListBackendJobsRequest {

@@ -958,2 +1124,32 @@

export interface ListS3BucketsRequest {
NextToken?: string;
}
export declare namespace ListS3BucketsRequest {
const filterSensitiveLog: (obj: ListS3BucketsRequest) => any;
}
export interface S3BucketInfo {
CreationDate?: string;
Name?: string;
}
export declare namespace S3BucketInfo {
const filterSensitiveLog: (obj: S3BucketInfo) => any;
}
export interface ListS3BucketsResponse {
Buckets?: S3BucketInfo[];
NextToken?: string;
}
export declare namespace ListS3BucketsResponse {
const filterSensitiveLog: (obj: ListS3BucketsResponse) => any;
}
export interface RemoveAllBackendsRequest {

@@ -1239,1 +1435,41 @@

}
export interface UpdateBackendStorageResourceConfig {
Permissions: BackendStoragePermissions | undefined;
ServiceName: ServiceName | string | undefined;
}
export declare namespace UpdateBackendStorageResourceConfig {
const filterSensitiveLog: (obj: UpdateBackendStorageResourceConfig) => any;
}
export interface UpdateBackendStorageRequest {
AppId: string | undefined;
BackendEnvironmentName: string | undefined;
ResourceConfig: UpdateBackendStorageResourceConfig | undefined;
ResourceName: string | undefined;
}
export declare namespace UpdateBackendStorageRequest {
const filterSensitiveLog: (obj: UpdateBackendStorageRequest) => any;
}
export interface UpdateBackendStorageResponse {
AppId?: string;
BackendEnvironmentName?: string;
JobId?: string;
Status?: string;
}
export declare namespace UpdateBackendStorageResponse {
const filterSensitiveLog: (obj: UpdateBackendStorageResponse) => any;
}

@@ -8,2 +8,3 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";

import { CreateBackendConfigCommandInput, CreateBackendConfigCommandOutput } from "../commands/CreateBackendConfigCommand";
import { CreateBackendStorageCommandInput, CreateBackendStorageCommandOutput } from "../commands/CreateBackendStorageCommand";
import { CreateTokenCommandInput, CreateTokenCommandOutput } from "../commands/CreateTokenCommand";

@@ -13,2 +14,3 @@ import { DeleteBackendAPICommandInput, DeleteBackendAPICommandOutput } from "../commands/DeleteBackendAPICommand";

import { DeleteBackendCommandInput, DeleteBackendCommandOutput } from "../commands/DeleteBackendCommand";
import { DeleteBackendStorageCommandInput, DeleteBackendStorageCommandOutput } from "../commands/DeleteBackendStorageCommand";
import { DeleteTokenCommandInput, DeleteTokenCommandOutput } from "../commands/DeleteTokenCommand";

@@ -21,5 +23,8 @@ import { GenerateBackendAPIModelsCommandInput, GenerateBackendAPIModelsCommandOutput } from "../commands/GenerateBackendAPIModelsCommand";

import { GetBackendJobCommandInput, GetBackendJobCommandOutput } from "../commands/GetBackendJobCommand";
import { GetBackendStorageCommandInput, GetBackendStorageCommandOutput } from "../commands/GetBackendStorageCommand";
import { GetTokenCommandInput, GetTokenCommandOutput } from "../commands/GetTokenCommand";
import { ImportBackendAuthCommandInput, ImportBackendAuthCommandOutput } from "../commands/ImportBackendAuthCommand";
import { ImportBackendStorageCommandInput, ImportBackendStorageCommandOutput } from "../commands/ImportBackendStorageCommand";
import { ListBackendJobsCommandInput, ListBackendJobsCommandOutput } from "../commands/ListBackendJobsCommand";
import { ListS3BucketsCommandInput, ListS3BucketsCommandOutput } from "../commands/ListS3BucketsCommand";
import { RemoveAllBackendsCommandInput, RemoveAllBackendsCommandOutput } from "../commands/RemoveAllBackendsCommand";

@@ -31,2 +36,3 @@ import { RemoveBackendConfigCommandInput, RemoveBackendConfigCommandOutput } from "../commands/RemoveBackendConfigCommand";

import { UpdateBackendJobCommandInput, UpdateBackendJobCommandOutput } from "../commands/UpdateBackendJobCommand";
import { UpdateBackendStorageCommandInput, UpdateBackendStorageCommandOutput } from "../commands/UpdateBackendStorageCommand";
export declare const serializeAws_restJson1CloneBackendCommand: (input: CloneBackendCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;

@@ -37,2 +43,3 @@ export declare const serializeAws_restJson1CreateBackendCommand: (input: CreateBackendCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;

export declare const serializeAws_restJson1CreateBackendConfigCommand: (input: CreateBackendConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
export declare const serializeAws_restJson1CreateBackendStorageCommand: (input: CreateBackendStorageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
export declare const serializeAws_restJson1CreateTokenCommand: (input: CreateTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;

@@ -42,2 +49,3 @@ export declare const serializeAws_restJson1DeleteBackendCommand: (input: DeleteBackendCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;

export declare const serializeAws_restJson1DeleteBackendAuthCommand: (input: DeleteBackendAuthCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
export declare const serializeAws_restJson1DeleteBackendStorageCommand: (input: DeleteBackendStorageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
export declare const serializeAws_restJson1DeleteTokenCommand: (input: DeleteTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;

@@ -50,5 +58,8 @@ export declare const serializeAws_restJson1GenerateBackendAPIModelsCommand: (input: GenerateBackendAPIModelsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;

export declare const serializeAws_restJson1GetBackendJobCommand: (input: GetBackendJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
export declare const serializeAws_restJson1GetBackendStorageCommand: (input: GetBackendStorageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
export declare const serializeAws_restJson1GetTokenCommand: (input: GetTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
export declare const serializeAws_restJson1ImportBackendAuthCommand: (input: ImportBackendAuthCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
export declare const serializeAws_restJson1ImportBackendStorageCommand: (input: ImportBackendStorageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
export declare const serializeAws_restJson1ListBackendJobsCommand: (input: ListBackendJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
export declare const serializeAws_restJson1ListS3BucketsCommand: (input: ListS3BucketsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
export declare const serializeAws_restJson1RemoveAllBackendsCommand: (input: RemoveAllBackendsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;

@@ -60,2 +71,3 @@ export declare const serializeAws_restJson1RemoveBackendConfigCommand: (input: RemoveBackendConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;

export declare const serializeAws_restJson1UpdateBackendJobCommand: (input: UpdateBackendJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
export declare const serializeAws_restJson1UpdateBackendStorageCommand: (input: UpdateBackendStorageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
export declare const deserializeAws_restJson1CloneBackendCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CloneBackendCommandOutput>;

@@ -66,2 +78,3 @@ export declare const deserializeAws_restJson1CreateBackendCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateBackendCommandOutput>;

export declare const deserializeAws_restJson1CreateBackendConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateBackendConfigCommandOutput>;
export declare const deserializeAws_restJson1CreateBackendStorageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateBackendStorageCommandOutput>;
export declare const deserializeAws_restJson1CreateTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateTokenCommandOutput>;

@@ -71,2 +84,3 @@ export declare const deserializeAws_restJson1DeleteBackendCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteBackendCommandOutput>;

export declare const deserializeAws_restJson1DeleteBackendAuthCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteBackendAuthCommandOutput>;
export declare const deserializeAws_restJson1DeleteBackendStorageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteBackendStorageCommandOutput>;
export declare const deserializeAws_restJson1DeleteTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteTokenCommandOutput>;

@@ -79,5 +93,8 @@ export declare const deserializeAws_restJson1GenerateBackendAPIModelsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GenerateBackendAPIModelsCommandOutput>;

export declare const deserializeAws_restJson1GetBackendJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBackendJobCommandOutput>;
export declare const deserializeAws_restJson1GetBackendStorageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBackendStorageCommandOutput>;
export declare const deserializeAws_restJson1GetTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTokenCommandOutput>;
export declare const deserializeAws_restJson1ImportBackendAuthCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportBackendAuthCommandOutput>;
export declare const deserializeAws_restJson1ImportBackendStorageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportBackendStorageCommandOutput>;
export declare const deserializeAws_restJson1ListBackendJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListBackendJobsCommandOutput>;
export declare const deserializeAws_restJson1ListS3BucketsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListS3BucketsCommandOutput>;
export declare const deserializeAws_restJson1RemoveAllBackendsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RemoveAllBackendsCommandOutput>;

@@ -89,1 +106,2 @@ export declare const deserializeAws_restJson1RemoveBackendConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RemoveBackendConfigCommandOutput>;

export declare const deserializeAws_restJson1UpdateBackendJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateBackendJobCommandOutput>;
export declare const deserializeAws_restJson1UpdateBackendStorageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateBackendStorageCommandOutput>;
{
"name": "@aws-sdk/client-amplifybackend",
"description": "AWS SDK for JavaScript Amplifybackend Client for Node.js, Browser and React Native",
"version": "3.41.0",
"version": "3.42.0",
"scripts": {

@@ -24,3 +24,3 @@ "build": "yarn build:cjs && yarn build:es && yarn build:types",

"@aws-crypto/sha256-js": "2.0.0",
"@aws-sdk/client-sts": "3.41.0",
"@aws-sdk/client-sts": "3.42.0",
"@aws-sdk/config-resolver": "3.40.0",

@@ -27,0 +27,0 @@ "@aws-sdk/credential-provider-node": "3.41.0",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc