@aws-sdk/client-amplifybackend 3.41.0 → 3.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/AmplifyBackend.js +90 -0
  3. package/dist-cjs/commands/CreateBackendStorageCommand.js +36 -0
  4. package/dist-cjs/commands/DeleteBackendStorageCommand.js +36 -0
  5. package/dist-cjs/commands/GetBackendStorageCommand.js +36 -0
  6. package/dist-cjs/commands/ImportBackendStorageCommand.js +36 -0
  7. package/dist-cjs/commands/ListS3BucketsCommand.js +36 -0
  8. package/dist-cjs/commands/UpdateBackendStorageCommand.js +36 -0
  9. package/dist-cjs/commands/index.js +6 -0
  10. package/dist-cjs/endpoints.js +1 -0
  11. package/dist-cjs/models/models_0.js +121 -2
  12. package/dist-cjs/protocols/Aws_restJson1.js +937 -101
  13. package/dist-cjs/runtimeConfig.js +0 -2
  14. package/dist-es/AmplifyBackend.js +90 -0
  15. package/dist-es/commands/CreateBackendStorageCommand.js +39 -0
  16. package/dist-es/commands/DeleteBackendStorageCommand.js +39 -0
  17. package/dist-es/commands/GetBackendStorageCommand.js +39 -0
  18. package/dist-es/commands/ImportBackendStorageCommand.js +39 -0
  19. package/dist-es/commands/ListS3BucketsCommand.js +39 -0
  20. package/dist-es/commands/UpdateBackendStorageCommand.js +39 -0
  21. package/dist-es/commands/index.js +6 -0
  22. package/dist-es/endpoints.js +1 -0
  23. package/dist-es/models/models_0.js +84 -0
  24. package/dist-es/protocols/Aws_restJson1.js +1008 -86
  25. package/dist-es/runtimeConfig.js +0 -2
  26. package/dist-types/AmplifyBackend.d.ts +42 -0
  27. package/dist-types/AmplifyBackendClient.d.ts +8 -2
  28. package/dist-types/commands/CreateBackendStorageCommand.d.ts +35 -0
  29. package/dist-types/commands/DeleteBackendStorageCommand.d.ts +35 -0
  30. package/dist-types/commands/GetBackendStorageCommand.d.ts +35 -0
  31. package/dist-types/commands/ImportBackendStorageCommand.d.ts +35 -0
  32. package/dist-types/commands/ListS3BucketsCommand.d.ts +35 -0
  33. package/dist-types/commands/UpdateBackendStorageCommand.d.ts +35 -0
  34. package/dist-types/commands/index.d.ts +6 -0
  35. package/dist-types/models/models_0.d.ts +403 -1
  36. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  37. package/dist-types/ts3.4/AmplifyBackend.d.ts +30 -0
  38. package/dist-types/ts3.4/AmplifyBackendClient.d.ts +8 -2
  39. package/dist-types/ts3.4/commands/CreateBackendStorageCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/DeleteBackendStorageCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/GetBackendStorageCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/ImportBackendStorageCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/ListS3BucketsCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/UpdateBackendStorageCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  46. package/dist-types/ts3.4/models/models_0.d.ts +236 -0
  47. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +18 -0
  48. package/package.json +36 -43
@@ -12,10 +12,8 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
12
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
15
  export var getRuntimeConfig = function (config) {
17
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
- emitWarningIfUnsupportedVersion(process.version);
19
17
  var clientSharedValues = getSharedRuntimeConfig(config);
20
18
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
21
19
  };
@@ -5,10 +5,12 @@ import { CreateBackendAPICommandInput, CreateBackendAPICommandOutput } from "./c
5
5
  import { CreateBackendAuthCommandInput, CreateBackendAuthCommandOutput } from "./commands/CreateBackendAuthCommand";
6
6
  import { CreateBackendCommandInput, CreateBackendCommandOutput } from "./commands/CreateBackendCommand";
7
7
  import { CreateBackendConfigCommandInput, CreateBackendConfigCommandOutput } from "./commands/CreateBackendConfigCommand";
8
+ import { CreateBackendStorageCommandInput, CreateBackendStorageCommandOutput } from "./commands/CreateBackendStorageCommand";
8
9
  import { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand";
9
10
  import { DeleteBackendAPICommandInput, DeleteBackendAPICommandOutput } from "./commands/DeleteBackendAPICommand";
10
11
  import { DeleteBackendAuthCommandInput, DeleteBackendAuthCommandOutput } from "./commands/DeleteBackendAuthCommand";
11
12
  import { DeleteBackendCommandInput, DeleteBackendCommandOutput } from "./commands/DeleteBackendCommand";
13
+ import { DeleteBackendStorageCommandInput, DeleteBackendStorageCommandOutput } from "./commands/DeleteBackendStorageCommand";
12
14
  import { DeleteTokenCommandInput, DeleteTokenCommandOutput } from "./commands/DeleteTokenCommand";
13
15
  import { GenerateBackendAPIModelsCommandInput, GenerateBackendAPIModelsCommandOutput } from "./commands/GenerateBackendAPIModelsCommand";
14
16
  import { GetBackendAPICommandInput, GetBackendAPICommandOutput } from "./commands/GetBackendAPICommand";
@@ -16,15 +18,19 @@ import { GetBackendAPIModelsCommandInput, GetBackendAPIModelsCommandOutput } fro
16
18
  import { GetBackendAuthCommandInput, GetBackendAuthCommandOutput } from "./commands/GetBackendAuthCommand";
17
19
  import { GetBackendCommandInput, GetBackendCommandOutput } from "./commands/GetBackendCommand";
18
20
  import { GetBackendJobCommandInput, GetBackendJobCommandOutput } from "./commands/GetBackendJobCommand";
21
+ import { GetBackendStorageCommandInput, GetBackendStorageCommandOutput } from "./commands/GetBackendStorageCommand";
19
22
  import { GetTokenCommandInput, GetTokenCommandOutput } from "./commands/GetTokenCommand";
20
23
  import { ImportBackendAuthCommandInput, ImportBackendAuthCommandOutput } from "./commands/ImportBackendAuthCommand";
24
+ import { ImportBackendStorageCommandInput, ImportBackendStorageCommandOutput } from "./commands/ImportBackendStorageCommand";
21
25
  import { ListBackendJobsCommandInput, ListBackendJobsCommandOutput } from "./commands/ListBackendJobsCommand";
26
+ import { ListS3BucketsCommandInput, ListS3BucketsCommandOutput } from "./commands/ListS3BucketsCommand";
22
27
  import { RemoveAllBackendsCommandInput, RemoveAllBackendsCommandOutput } from "./commands/RemoveAllBackendsCommand";
23
28
  import { RemoveBackendConfigCommandInput, RemoveBackendConfigCommandOutput } from "./commands/RemoveBackendConfigCommand";
24
29
  import { UpdateBackendAPICommandInput, UpdateBackendAPICommandOutput } from "./commands/UpdateBackendAPICommand";
25
30
  import { UpdateBackendAuthCommandInput, UpdateBackendAuthCommandOutput } from "./commands/UpdateBackendAuthCommand";
26
31
  import { UpdateBackendConfigCommandInput, UpdateBackendConfigCommandOutput } from "./commands/UpdateBackendConfigCommand";
27
32
  import { UpdateBackendJobCommandInput, UpdateBackendJobCommandOutput } from "./commands/UpdateBackendJobCommand";
33
+ import { UpdateBackendStorageCommandInput, UpdateBackendStorageCommandOutput } from "./commands/UpdateBackendStorageCommand";
28
34
  /**
29
35
  * <p>AWS Amplify Admin API</p>
30
36
  */
@@ -59,6 +65,12 @@ export declare class AmplifyBackend extends AmplifyBackendClient {
59
65
  createBackendConfig(args: CreateBackendConfigCommandInput, options?: __HttpHandlerOptions): Promise<CreateBackendConfigCommandOutput>;
60
66
  createBackendConfig(args: CreateBackendConfigCommandInput, cb: (err: any, data?: CreateBackendConfigCommandOutput) => void): void;
61
67
  createBackendConfig(args: CreateBackendConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBackendConfigCommandOutput) => void): void;
68
+ /**
69
+ * <p>Creates a backend storage resource.</p>
70
+ */
71
+ createBackendStorage(args: CreateBackendStorageCommandInput, options?: __HttpHandlerOptions): Promise<CreateBackendStorageCommandOutput>;
72
+ createBackendStorage(args: CreateBackendStorageCommandInput, cb: (err: any, data?: CreateBackendStorageCommandOutput) => void): void;
73
+ createBackendStorage(args: CreateBackendStorageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBackendStorageCommandOutput) => void): void;
62
74
  /**
63
75
  * <p>Generates a one-time challenge code to authenticate a user into your Amplify Admin UI.</p>
64
76
  */
@@ -83,6 +95,12 @@ export declare class AmplifyBackend extends AmplifyBackendClient {
83
95
  deleteBackendAuth(args: DeleteBackendAuthCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBackendAuthCommandOutput>;
84
96
  deleteBackendAuth(args: DeleteBackendAuthCommandInput, cb: (err: any, data?: DeleteBackendAuthCommandOutput) => void): void;
85
97
  deleteBackendAuth(args: DeleteBackendAuthCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBackendAuthCommandOutput) => void): void;
98
+ /**
99
+ * <p>Removes the specified backend storage resource.</p>
100
+ */
101
+ deleteBackendStorage(args: DeleteBackendStorageCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBackendStorageCommandOutput>;
102
+ deleteBackendStorage(args: DeleteBackendStorageCommandInput, cb: (err: any, data?: DeleteBackendStorageCommandOutput) => void): void;
103
+ deleteBackendStorage(args: DeleteBackendStorageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBackendStorageCommandOutput) => void): void;
86
104
  /**
87
105
  * <p>Deletes the challenge token based on the given appId and sessionId.</p>
88
106
  */
@@ -125,6 +143,12 @@ export declare class AmplifyBackend extends AmplifyBackendClient {
125
143
  getBackendJob(args: GetBackendJobCommandInput, options?: __HttpHandlerOptions): Promise<GetBackendJobCommandOutput>;
126
144
  getBackendJob(args: GetBackendJobCommandInput, cb: (err: any, data?: GetBackendJobCommandOutput) => void): void;
127
145
  getBackendJob(args: GetBackendJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBackendJobCommandOutput) => void): void;
146
+ /**
147
+ * <p>Gets details for a backend storage resource.</p>
148
+ */
149
+ getBackendStorage(args: GetBackendStorageCommandInput, options?: __HttpHandlerOptions): Promise<GetBackendStorageCommandOutput>;
150
+ getBackendStorage(args: GetBackendStorageCommandInput, cb: (err: any, data?: GetBackendStorageCommandOutput) => void): void;
151
+ getBackendStorage(args: GetBackendStorageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBackendStorageCommandOutput) => void): void;
128
152
  /**
129
153
  * <p>Gets the challenge token based on the given appId and sessionId.</p>
130
154
  */
@@ -137,12 +161,24 @@ export declare class AmplifyBackend extends AmplifyBackendClient {
137
161
  importBackendAuth(args: ImportBackendAuthCommandInput, options?: __HttpHandlerOptions): Promise<ImportBackendAuthCommandOutput>;
138
162
  importBackendAuth(args: ImportBackendAuthCommandInput, cb: (err: any, data?: ImportBackendAuthCommandOutput) => void): void;
139
163
  importBackendAuth(args: ImportBackendAuthCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportBackendAuthCommandOutput) => void): void;
164
+ /**
165
+ * <p>Imports an existing backend storage resource.</p>
166
+ */
167
+ importBackendStorage(args: ImportBackendStorageCommandInput, options?: __HttpHandlerOptions): Promise<ImportBackendStorageCommandOutput>;
168
+ importBackendStorage(args: ImportBackendStorageCommandInput, cb: (err: any, data?: ImportBackendStorageCommandOutput) => void): void;
169
+ importBackendStorage(args: ImportBackendStorageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportBackendStorageCommandOutput) => void): void;
140
170
  /**
141
171
  * <p>Lists the jobs for the backend of an Amplify app.</p>
142
172
  */
143
173
  listBackendJobs(args: ListBackendJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListBackendJobsCommandOutput>;
144
174
  listBackendJobs(args: ListBackendJobsCommandInput, cb: (err: any, data?: ListBackendJobsCommandOutput) => void): void;
145
175
  listBackendJobs(args: ListBackendJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBackendJobsCommandOutput) => void): void;
176
+ /**
177
+ * <p>The list of S3 buckets in your account.</p>
178
+ */
179
+ listS3Buckets(args: ListS3BucketsCommandInput, options?: __HttpHandlerOptions): Promise<ListS3BucketsCommandOutput>;
180
+ listS3Buckets(args: ListS3BucketsCommandInput, cb: (err: any, data?: ListS3BucketsCommandOutput) => void): void;
181
+ listS3Buckets(args: ListS3BucketsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListS3BucketsCommandOutput) => void): void;
146
182
  /**
147
183
  * <p>Removes all backend environments from your Amplify project.</p>
148
184
  */
@@ -179,4 +215,10 @@ export declare class AmplifyBackend extends AmplifyBackendClient {
179
215
  updateBackendJob(args: UpdateBackendJobCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBackendJobCommandOutput>;
180
216
  updateBackendJob(args: UpdateBackendJobCommandInput, cb: (err: any, data?: UpdateBackendJobCommandOutput) => void): void;
181
217
  updateBackendJob(args: UpdateBackendJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBackendJobCommandOutput) => void): void;
218
+ /**
219
+ * <p>Updates an existing backend storage resource.</p>
220
+ */
221
+ updateBackendStorage(args: UpdateBackendStorageCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBackendStorageCommandOutput>;
222
+ updateBackendStorage(args: UpdateBackendStorageCommandInput, cb: (err: any, data?: UpdateBackendStorageCommandOutput) => void): void;
223
+ updateBackendStorage(args: UpdateBackendStorageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBackendStorageCommandOutput) => void): void;
182
224
  }
@@ -11,10 +11,12 @@ import { CreateBackendAPICommandInput, CreateBackendAPICommandOutput } from "./c
11
11
  import { CreateBackendAuthCommandInput, CreateBackendAuthCommandOutput } from "./commands/CreateBackendAuthCommand";
12
12
  import { CreateBackendCommandInput, CreateBackendCommandOutput } from "./commands/CreateBackendCommand";
13
13
  import { CreateBackendConfigCommandInput, CreateBackendConfigCommandOutput } from "./commands/CreateBackendConfigCommand";
14
+ import { CreateBackendStorageCommandInput, CreateBackendStorageCommandOutput } from "./commands/CreateBackendStorageCommand";
14
15
  import { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand";
15
16
  import { DeleteBackendAPICommandInput, DeleteBackendAPICommandOutput } from "./commands/DeleteBackendAPICommand";
16
17
  import { DeleteBackendAuthCommandInput, DeleteBackendAuthCommandOutput } from "./commands/DeleteBackendAuthCommand";
17
18
  import { DeleteBackendCommandInput, DeleteBackendCommandOutput } from "./commands/DeleteBackendCommand";
19
+ import { DeleteBackendStorageCommandInput, DeleteBackendStorageCommandOutput } from "./commands/DeleteBackendStorageCommand";
18
20
  import { DeleteTokenCommandInput, DeleteTokenCommandOutput } from "./commands/DeleteTokenCommand";
19
21
  import { GenerateBackendAPIModelsCommandInput, GenerateBackendAPIModelsCommandOutput } from "./commands/GenerateBackendAPIModelsCommand";
20
22
  import { GetBackendAPICommandInput, GetBackendAPICommandOutput } from "./commands/GetBackendAPICommand";
@@ -22,17 +24,21 @@ import { GetBackendAPIModelsCommandInput, GetBackendAPIModelsCommandOutput } fro
22
24
  import { GetBackendAuthCommandInput, GetBackendAuthCommandOutput } from "./commands/GetBackendAuthCommand";
23
25
  import { GetBackendCommandInput, GetBackendCommandOutput } from "./commands/GetBackendCommand";
24
26
  import { GetBackendJobCommandInput, GetBackendJobCommandOutput } from "./commands/GetBackendJobCommand";
27
+ import { GetBackendStorageCommandInput, GetBackendStorageCommandOutput } from "./commands/GetBackendStorageCommand";
25
28
  import { GetTokenCommandInput, GetTokenCommandOutput } from "./commands/GetTokenCommand";
26
29
  import { ImportBackendAuthCommandInput, ImportBackendAuthCommandOutput } from "./commands/ImportBackendAuthCommand";
30
+ import { ImportBackendStorageCommandInput, ImportBackendStorageCommandOutput } from "./commands/ImportBackendStorageCommand";
27
31
  import { ListBackendJobsCommandInput, ListBackendJobsCommandOutput } from "./commands/ListBackendJobsCommand";
32
+ import { ListS3BucketsCommandInput, ListS3BucketsCommandOutput } from "./commands/ListS3BucketsCommand";
28
33
  import { RemoveAllBackendsCommandInput, RemoveAllBackendsCommandOutput } from "./commands/RemoveAllBackendsCommand";
29
34
  import { RemoveBackendConfigCommandInput, RemoveBackendConfigCommandOutput } from "./commands/RemoveBackendConfigCommand";
30
35
  import { UpdateBackendAPICommandInput, UpdateBackendAPICommandOutput } from "./commands/UpdateBackendAPICommand";
31
36
  import { UpdateBackendAuthCommandInput, UpdateBackendAuthCommandOutput } from "./commands/UpdateBackendAuthCommand";
32
37
  import { UpdateBackendConfigCommandInput, UpdateBackendConfigCommandOutput } from "./commands/UpdateBackendConfigCommand";
33
38
  import { UpdateBackendJobCommandInput, UpdateBackendJobCommandOutput } from "./commands/UpdateBackendJobCommand";
34
- 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;
35
- 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;
39
+ import { UpdateBackendStorageCommandInput, UpdateBackendStorageCommandOutput } from "./commands/UpdateBackendStorageCommand";
40
+ 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;
41
+ 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;
36
42
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
37
43
  /**
38
44
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AmplifyBackendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyBackendClient";
4
+ import { CreateBackendStorageRequest, CreateBackendStorageResponse } from "../models/models_0";
5
+ export interface CreateBackendStorageCommandInput extends CreateBackendStorageRequest {
6
+ }
7
+ export interface CreateBackendStorageCommandOutput extends CreateBackendStorageResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Creates a backend storage resource.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { AmplifyBackendClient, CreateBackendStorageCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
15
+ * // const { AmplifyBackendClient, CreateBackendStorageCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
16
+ * const client = new AmplifyBackendClient(config);
17
+ * const command = new CreateBackendStorageCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link CreateBackendStorageCommandInput} for command's `input` shape.
22
+ * @see {@link CreateBackendStorageCommandOutput} for command's `response` shape.
23
+ * @see {@link AmplifyBackendClientResolvedConfig | config} for AmplifyBackendClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class CreateBackendStorageCommand extends $Command<CreateBackendStorageCommandInput, CreateBackendStorageCommandOutput, AmplifyBackendClientResolvedConfig> {
27
+ readonly input: CreateBackendStorageCommandInput;
28
+ constructor(input: CreateBackendStorageCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateBackendStorageCommandInput, CreateBackendStorageCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AmplifyBackendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyBackendClient";
4
+ import { DeleteBackendStorageRequest, DeleteBackendStorageResponse } from "../models/models_0";
5
+ export interface DeleteBackendStorageCommandInput extends DeleteBackendStorageRequest {
6
+ }
7
+ export interface DeleteBackendStorageCommandOutput extends DeleteBackendStorageResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Removes the specified backend storage resource.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { AmplifyBackendClient, DeleteBackendStorageCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
15
+ * // const { AmplifyBackendClient, DeleteBackendStorageCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
16
+ * const client = new AmplifyBackendClient(config);
17
+ * const command = new DeleteBackendStorageCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link DeleteBackendStorageCommandInput} for command's `input` shape.
22
+ * @see {@link DeleteBackendStorageCommandOutput} for command's `response` shape.
23
+ * @see {@link AmplifyBackendClientResolvedConfig | config} for AmplifyBackendClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class DeleteBackendStorageCommand extends $Command<DeleteBackendStorageCommandInput, DeleteBackendStorageCommandOutput, AmplifyBackendClientResolvedConfig> {
27
+ readonly input: DeleteBackendStorageCommandInput;
28
+ constructor(input: DeleteBackendStorageCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteBackendStorageCommandInput, DeleteBackendStorageCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AmplifyBackendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyBackendClient";
4
+ import { GetBackendStorageRequest, GetBackendStorageResponse } from "../models/models_0";
5
+ export interface GetBackendStorageCommandInput extends GetBackendStorageRequest {
6
+ }
7
+ export interface GetBackendStorageCommandOutput extends GetBackendStorageResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Gets details for a backend storage resource.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { AmplifyBackendClient, GetBackendStorageCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
15
+ * // const { AmplifyBackendClient, GetBackendStorageCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
16
+ * const client = new AmplifyBackendClient(config);
17
+ * const command = new GetBackendStorageCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetBackendStorageCommandInput} for command's `input` shape.
22
+ * @see {@link GetBackendStorageCommandOutput} for command's `response` shape.
23
+ * @see {@link AmplifyBackendClientResolvedConfig | config} for AmplifyBackendClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetBackendStorageCommand extends $Command<GetBackendStorageCommandInput, GetBackendStorageCommandOutput, AmplifyBackendClientResolvedConfig> {
27
+ readonly input: GetBackendStorageCommandInput;
28
+ constructor(input: GetBackendStorageCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetBackendStorageCommandInput, GetBackendStorageCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AmplifyBackendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyBackendClient";
4
+ import { ImportBackendStorageRequest, ImportBackendStorageResponse } from "../models/models_0";
5
+ export interface ImportBackendStorageCommandInput extends ImportBackendStorageRequest {
6
+ }
7
+ export interface ImportBackendStorageCommandOutput extends ImportBackendStorageResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Imports an existing backend storage resource.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { AmplifyBackendClient, ImportBackendStorageCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
15
+ * // const { AmplifyBackendClient, ImportBackendStorageCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
16
+ * const client = new AmplifyBackendClient(config);
17
+ * const command = new ImportBackendStorageCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ImportBackendStorageCommandInput} for command's `input` shape.
22
+ * @see {@link ImportBackendStorageCommandOutput} for command's `response` shape.
23
+ * @see {@link AmplifyBackendClientResolvedConfig | config} for AmplifyBackendClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ImportBackendStorageCommand extends $Command<ImportBackendStorageCommandInput, ImportBackendStorageCommandOutput, AmplifyBackendClientResolvedConfig> {
27
+ readonly input: ImportBackendStorageCommandInput;
28
+ constructor(input: ImportBackendStorageCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ImportBackendStorageCommandInput, ImportBackendStorageCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AmplifyBackendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyBackendClient";
4
+ import { ListS3BucketsRequest, ListS3BucketsResponse } from "../models/models_0";
5
+ export interface ListS3BucketsCommandInput extends ListS3BucketsRequest {
6
+ }
7
+ export interface ListS3BucketsCommandOutput extends ListS3BucketsResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>The list of S3 buckets in your account.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { AmplifyBackendClient, ListS3BucketsCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
15
+ * // const { AmplifyBackendClient, ListS3BucketsCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
16
+ * const client = new AmplifyBackendClient(config);
17
+ * const command = new ListS3BucketsCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListS3BucketsCommandInput} for command's `input` shape.
22
+ * @see {@link ListS3BucketsCommandOutput} for command's `response` shape.
23
+ * @see {@link AmplifyBackendClientResolvedConfig | config} for AmplifyBackendClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListS3BucketsCommand extends $Command<ListS3BucketsCommandInput, ListS3BucketsCommandOutput, AmplifyBackendClientResolvedConfig> {
27
+ readonly input: ListS3BucketsCommandInput;
28
+ constructor(input: ListS3BucketsCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListS3BucketsCommandInput, ListS3BucketsCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AmplifyBackendClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmplifyBackendClient";
4
+ import { UpdateBackendStorageRequest, UpdateBackendStorageResponse } from "../models/models_0";
5
+ export interface UpdateBackendStorageCommandInput extends UpdateBackendStorageRequest {
6
+ }
7
+ export interface UpdateBackendStorageCommandOutput extends UpdateBackendStorageResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Updates an existing backend storage resource.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { AmplifyBackendClient, UpdateBackendStorageCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
15
+ * // const { AmplifyBackendClient, UpdateBackendStorageCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
16
+ * const client = new AmplifyBackendClient(config);
17
+ * const command = new UpdateBackendStorageCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link UpdateBackendStorageCommandInput} for command's `input` shape.
22
+ * @see {@link UpdateBackendStorageCommandOutput} for command's `response` shape.
23
+ * @see {@link AmplifyBackendClientResolvedConfig | config} for AmplifyBackendClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class UpdateBackendStorageCommand extends $Command<UpdateBackendStorageCommandInput, UpdateBackendStorageCommandOutput, AmplifyBackendClientResolvedConfig> {
27
+ readonly input: UpdateBackendStorageCommandInput;
28
+ constructor(input: UpdateBackendStorageCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateBackendStorageCommandInput, UpdateBackendStorageCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -3,10 +3,12 @@ export * from "./CreateBackendAPICommand";
3
3
  export * from "./CreateBackendAuthCommand";
4
4
  export * from "./CreateBackendCommand";
5
5
  export * from "./CreateBackendConfigCommand";
6
+ export * from "./CreateBackendStorageCommand";
6
7
  export * from "./CreateTokenCommand";
7
8
  export * from "./DeleteBackendAPICommand";
8
9
  export * from "./DeleteBackendAuthCommand";
9
10
  export * from "./DeleteBackendCommand";
11
+ export * from "./DeleteBackendStorageCommand";
10
12
  export * from "./DeleteTokenCommand";
11
13
  export * from "./GenerateBackendAPIModelsCommand";
12
14
  export * from "./GetBackendAPICommand";
@@ -14,12 +16,16 @@ export * from "./GetBackendAPIModelsCommand";
14
16
  export * from "./GetBackendAuthCommand";
15
17
  export * from "./GetBackendCommand";
16
18
  export * from "./GetBackendJobCommand";
19
+ export * from "./GetBackendStorageCommand";
17
20
  export * from "./GetTokenCommand";
18
21
  export * from "./ImportBackendAuthCommand";
22
+ export * from "./ImportBackendStorageCommand";
19
23
  export * from "./ListBackendJobsCommand";
24
+ export * from "./ListS3BucketsCommand";
20
25
  export * from "./RemoveAllBackendsCommand";
21
26
  export * from "./RemoveBackendConfigCommand";
22
27
  export * from "./UpdateBackendAPICommand";
23
28
  export * from "./UpdateBackendAuthCommand";
24
29
  export * from "./UpdateBackendConfigCommand";
25
30
  export * from "./UpdateBackendJobCommand";
31
+ export * from "./UpdateBackendStorageCommand";