@aws-sdk/client-amplifybackend 3.40.0 → 3.45.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 (71) hide show
  1. package/CHANGELOG.md +41 -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 +9 -0
  11. package/dist-cjs/models/models_0.js +121 -2
  12. package/dist-cjs/protocols/Aws_restJson1.js +937 -101
  13. package/dist-es/AmplifyBackend.js +90 -0
  14. package/dist-es/commands/CreateBackendStorageCommand.js +39 -0
  15. package/dist-es/commands/DeleteBackendStorageCommand.js +39 -0
  16. package/dist-es/commands/GetBackendStorageCommand.js +39 -0
  17. package/dist-es/commands/ImportBackendStorageCommand.js +39 -0
  18. package/dist-es/commands/ListS3BucketsCommand.js +39 -0
  19. package/dist-es/commands/UpdateBackendStorageCommand.js +39 -0
  20. package/dist-es/commands/index.js +6 -0
  21. package/dist-es/endpoints.js +9 -0
  22. package/dist-es/models/models_0.js +84 -0
  23. package/dist-es/protocols/Aws_restJson1.js +1008 -86
  24. package/dist-types/AmplifyBackend.d.ts +42 -0
  25. package/dist-types/AmplifyBackendClient.d.ts +8 -2
  26. package/dist-types/commands/CloneBackendCommand.d.ts +1 -1
  27. package/dist-types/commands/CreateBackendAPICommand.d.ts +1 -1
  28. package/dist-types/commands/CreateBackendAuthCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateBackendCommand.d.ts +1 -1
  30. package/dist-types/commands/CreateBackendConfigCommand.d.ts +1 -1
  31. package/dist-types/commands/CreateBackendStorageCommand.d.ts +35 -0
  32. package/dist-types/commands/CreateTokenCommand.d.ts +1 -1
  33. package/dist-types/commands/DeleteBackendAPICommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteBackendAuthCommand.d.ts +1 -1
  35. package/dist-types/commands/DeleteBackendCommand.d.ts +1 -1
  36. package/dist-types/commands/DeleteBackendStorageCommand.d.ts +35 -0
  37. package/dist-types/commands/DeleteTokenCommand.d.ts +1 -1
  38. package/dist-types/commands/GenerateBackendAPIModelsCommand.d.ts +1 -1
  39. package/dist-types/commands/GetBackendAPICommand.d.ts +1 -1
  40. package/dist-types/commands/GetBackendAPIModelsCommand.d.ts +1 -1
  41. package/dist-types/commands/GetBackendAuthCommand.d.ts +1 -1
  42. package/dist-types/commands/GetBackendCommand.d.ts +1 -1
  43. package/dist-types/commands/GetBackendJobCommand.d.ts +1 -1
  44. package/dist-types/commands/GetBackendStorageCommand.d.ts +35 -0
  45. package/dist-types/commands/GetTokenCommand.d.ts +1 -1
  46. package/dist-types/commands/ImportBackendAuthCommand.d.ts +1 -1
  47. package/dist-types/commands/ImportBackendStorageCommand.d.ts +35 -0
  48. package/dist-types/commands/ListBackendJobsCommand.d.ts +1 -1
  49. package/dist-types/commands/ListS3BucketsCommand.d.ts +35 -0
  50. package/dist-types/commands/RemoveAllBackendsCommand.d.ts +1 -1
  51. package/dist-types/commands/RemoveBackendConfigCommand.d.ts +1 -1
  52. package/dist-types/commands/UpdateBackendAPICommand.d.ts +1 -1
  53. package/dist-types/commands/UpdateBackendAuthCommand.d.ts +1 -1
  54. package/dist-types/commands/UpdateBackendConfigCommand.d.ts +1 -1
  55. package/dist-types/commands/UpdateBackendJobCommand.d.ts +1 -1
  56. package/dist-types/commands/UpdateBackendStorageCommand.d.ts +35 -0
  57. package/dist-types/commands/index.d.ts +6 -0
  58. package/dist-types/models/models_0.d.ts +403 -1
  59. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  60. package/dist-types/ts3.4/AmplifyBackend.d.ts +30 -0
  61. package/dist-types/ts3.4/AmplifyBackendClient.d.ts +8 -2
  62. package/dist-types/ts3.4/commands/CreateBackendStorageCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/DeleteBackendStorageCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/GetBackendStorageCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/ImportBackendStorageCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/ListS3BucketsCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/UpdateBackendStorageCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  69. package/dist-types/ts3.4/models/models_0.d.ts +236 -0
  70. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +18 -0
  71. package/package.json +6 -6
@@ -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";
@@ -164,7 +164,7 @@ export interface CreateBackendRequest {
164
164
  */
165
165
  BackendEnvironmentName: string | undefined;
166
166
  /**
167
- * <p>The resource configuration for the create backend request.</p>
167
+ * <p>The resource configuration for creating backend storage.</p>
168
168
  */
169
169
  ResourceConfig?: ResourceConfig;
170
170
  /**
@@ -858,6 +858,112 @@ export declare namespace CreateBackendConfigResponse {
858
858
  */
859
859
  const filterSensitiveLog: (obj: CreateBackendConfigResponse) => any;
860
860
  }
861
+ export declare enum AuthenticatedElement {
862
+ CREATE_AND_UPDATE = "CREATE_AND_UPDATE",
863
+ DELETE = "DELETE",
864
+ READ = "READ"
865
+ }
866
+ export declare enum UnAuthenticatedElement {
867
+ CREATE_AND_UPDATE = "CREATE_AND_UPDATE",
868
+ DELETE = "DELETE",
869
+ READ = "READ"
870
+ }
871
+ /**
872
+ * <p>Describes the read, write, and delete permissions users have against your storage S3 bucket.</p>
873
+ */
874
+ export interface BackendStoragePermissions {
875
+ /**
876
+ * <p>Lists all authenticated user read, write, and delete permissions for your S3 bucket.</p>
877
+ */
878
+ Authenticated: (AuthenticatedElement | string)[] | undefined;
879
+ /**
880
+ * <p>Lists all unauthenticated user read, write, and delete permissions for your S3 bucket.</p>
881
+ */
882
+ UnAuthenticated?: (UnAuthenticatedElement | string)[];
883
+ }
884
+ export declare namespace BackendStoragePermissions {
885
+ /**
886
+ * @internal
887
+ */
888
+ const filterSensitiveLog: (obj: BackendStoragePermissions) => any;
889
+ }
890
+ export declare enum ServiceName {
891
+ S3 = "S3"
892
+ }
893
+ /**
894
+ * <p>The resource configuration for creating backend storage.</p>
895
+ */
896
+ export interface CreateBackendStorageResourceConfig {
897
+ /**
898
+ * <p>The name of the S3 bucket.</p>
899
+ */
900
+ BucketName?: string;
901
+ /**
902
+ * <p>The authorization configuration for the storage S3 bucket.</p>
903
+ */
904
+ Permissions: BackendStoragePermissions | undefined;
905
+ /**
906
+ * <p>The name of the storage service.</p>
907
+ */
908
+ ServiceName: ServiceName | string | undefined;
909
+ }
910
+ export declare namespace CreateBackendStorageResourceConfig {
911
+ /**
912
+ * @internal
913
+ */
914
+ const filterSensitiveLog: (obj: CreateBackendStorageResourceConfig) => any;
915
+ }
916
+ /**
917
+ * <p>The request body for CreateBackendStorage.</p>
918
+ */
919
+ export interface CreateBackendStorageRequest {
920
+ /**
921
+ * <p>The app ID.</p>
922
+ */
923
+ AppId: string | undefined;
924
+ /**
925
+ * <p>The name of the backend environment.</p>
926
+ */
927
+ BackendEnvironmentName: string | undefined;
928
+ /**
929
+ * <p>The resource configuration for creating backend storage.</p>
930
+ */
931
+ ResourceConfig: CreateBackendStorageResourceConfig | undefined;
932
+ /**
933
+ * <p>The name of the storage resource.</p>
934
+ */
935
+ ResourceName: string | undefined;
936
+ }
937
+ export declare namespace CreateBackendStorageRequest {
938
+ /**
939
+ * @internal
940
+ */
941
+ const filterSensitiveLog: (obj: CreateBackendStorageRequest) => any;
942
+ }
943
+ export interface CreateBackendStorageResponse {
944
+ /**
945
+ * <p>The app ID.</p>
946
+ */
947
+ AppId?: string;
948
+ /**
949
+ * <p>The name of the backend environment.</p>
950
+ */
951
+ BackendEnvironmentName?: string;
952
+ /**
953
+ * <p>The ID for the job.</p>
954
+ */
955
+ JobId?: string;
956
+ /**
957
+ * <p>The current status of the request.</p>
958
+ */
959
+ Status?: string;
960
+ }
961
+ export declare namespace CreateBackendStorageResponse {
962
+ /**
963
+ * @internal
964
+ */
965
+ const filterSensitiveLog: (obj: CreateBackendStorageResponse) => any;
966
+ }
861
967
  export interface CreateTokenRequest {
862
968
  /**
863
969
  * <p>The app ID.</p>
@@ -1056,6 +1162,57 @@ export declare namespace DeleteBackendAuthResponse {
1056
1162
  */
1057
1163
  const filterSensitiveLog: (obj: DeleteBackendAuthResponse) => any;
1058
1164
  }
1165
+ /**
1166
+ * <p>The request body for DeleteBackendStorage.</p>
1167
+ */
1168
+ export interface DeleteBackendStorageRequest {
1169
+ /**
1170
+ * <p>The app ID.</p>
1171
+ */
1172
+ AppId: string | undefined;
1173
+ /**
1174
+ * <p>The name of the backend environment.</p>
1175
+ */
1176
+ BackendEnvironmentName: string | undefined;
1177
+ /**
1178
+ * <p>The name of the storage resource.</p>
1179
+ */
1180
+ ResourceName: string | undefined;
1181
+ /**
1182
+ * <p>The name of the storage service.</p>
1183
+ */
1184
+ ServiceName: ServiceName | string | undefined;
1185
+ }
1186
+ export declare namespace DeleteBackendStorageRequest {
1187
+ /**
1188
+ * @internal
1189
+ */
1190
+ const filterSensitiveLog: (obj: DeleteBackendStorageRequest) => any;
1191
+ }
1192
+ export interface DeleteBackendStorageResponse {
1193
+ /**
1194
+ * <p>The app ID.</p>
1195
+ */
1196
+ AppId?: string;
1197
+ /**
1198
+ * <p>The name of the backend environment.</p>
1199
+ */
1200
+ BackendEnvironmentName?: string;
1201
+ /**
1202
+ * <p>The ID for the job.</p>
1203
+ */
1204
+ JobId?: string;
1205
+ /**
1206
+ * <p>The current status of the request.</p>
1207
+ */
1208
+ Status?: string;
1209
+ }
1210
+ export declare namespace DeleteBackendStorageResponse {
1211
+ /**
1212
+ * @internal
1213
+ */
1214
+ const filterSensitiveLog: (obj: DeleteBackendStorageResponse) => any;
1215
+ }
1059
1216
  export interface DeleteTokenRequest {
1060
1217
  /**
1061
1218
  * <p>The app ID.</p>
@@ -1403,6 +1560,80 @@ export declare namespace GetBackendJobResponse {
1403
1560
  */
1404
1561
  const filterSensitiveLog: (obj: GetBackendJobResponse) => any;
1405
1562
  }
1563
+ /**
1564
+ * <p>The request body for GetBackendStorage.</p>
1565
+ */
1566
+ export interface GetBackendStorageRequest {
1567
+ /**
1568
+ * <p>The app ID.</p>
1569
+ */
1570
+ AppId: string | undefined;
1571
+ /**
1572
+ * <p>The name of the backend environment.</p>
1573
+ */
1574
+ BackendEnvironmentName: string | undefined;
1575
+ /**
1576
+ * <p>The name of the storage resource.</p>
1577
+ */
1578
+ ResourceName: string | undefined;
1579
+ }
1580
+ export declare namespace GetBackendStorageRequest {
1581
+ /**
1582
+ * @internal
1583
+ */
1584
+ const filterSensitiveLog: (obj: GetBackendStorageRequest) => any;
1585
+ }
1586
+ /**
1587
+ * <p>The details for a backend storage resource.</p>
1588
+ */
1589
+ export interface GetBackendStorageResourceConfig {
1590
+ /**
1591
+ * <p>The name of the S3 bucket.</p>
1592
+ */
1593
+ BucketName?: string;
1594
+ /**
1595
+ * <p>Returns True if the storage resource has been imported.</p>
1596
+ */
1597
+ Imported: boolean | undefined;
1598
+ /**
1599
+ * <p>The authorization configuration for the storage S3 bucket.</p>
1600
+ */
1601
+ Permissions?: BackendStoragePermissions;
1602
+ /**
1603
+ * <p>The name of the storage service.</p>
1604
+ */
1605
+ ServiceName: ServiceName | string | undefined;
1606
+ }
1607
+ export declare namespace GetBackendStorageResourceConfig {
1608
+ /**
1609
+ * @internal
1610
+ */
1611
+ const filterSensitiveLog: (obj: GetBackendStorageResourceConfig) => any;
1612
+ }
1613
+ export interface GetBackendStorageResponse {
1614
+ /**
1615
+ * <p>The app ID.</p>
1616
+ */
1617
+ AppId?: string;
1618
+ /**
1619
+ * <p>The name of the backend environment.</p>
1620
+ */
1621
+ BackendEnvironmentName?: string;
1622
+ /**
1623
+ * <p>The resource configuration for the backend storage resource.</p>
1624
+ */
1625
+ ResourceConfig?: GetBackendStorageResourceConfig;
1626
+ /**
1627
+ * <p>The name of the storage resource.</p>
1628
+ */
1629
+ ResourceName?: string;
1630
+ }
1631
+ export declare namespace GetBackendStorageResponse {
1632
+ /**
1633
+ * @internal
1634
+ */
1635
+ const filterSensitiveLog: (obj: GetBackendStorageResponse) => any;
1636
+ }
1406
1637
  export interface GetTokenRequest {
1407
1638
  /**
1408
1639
  * <p>The app ID.</p>
@@ -1510,6 +1741,57 @@ export declare namespace ImportBackendAuthResponse {
1510
1741
  */
1511
1742
  const filterSensitiveLog: (obj: ImportBackendAuthResponse) => any;
1512
1743
  }
1744
+ /**
1745
+ * <p>The request body for ImportBackendStorage.</p>
1746
+ */
1747
+ export interface ImportBackendStorageRequest {
1748
+ /**
1749
+ * <p>The app ID.</p>
1750
+ */
1751
+ AppId: string | undefined;
1752
+ /**
1753
+ * <p>The name of the backend environment.</p>
1754
+ */
1755
+ BackendEnvironmentName: string | undefined;
1756
+ /**
1757
+ * <p>The name of the S3 bucket.</p>
1758
+ */
1759
+ BucketName?: string;
1760
+ /**
1761
+ * <p>The name of the storage service.</p>
1762
+ */
1763
+ ServiceName: ServiceName | string | undefined;
1764
+ }
1765
+ export declare namespace ImportBackendStorageRequest {
1766
+ /**
1767
+ * @internal
1768
+ */
1769
+ const filterSensitiveLog: (obj: ImportBackendStorageRequest) => any;
1770
+ }
1771
+ export interface ImportBackendStorageResponse {
1772
+ /**
1773
+ * <p>The app ID.</p>
1774
+ */
1775
+ AppId?: string;
1776
+ /**
1777
+ * <p>The name of the backend environment.</p>
1778
+ */
1779
+ BackendEnvironmentName?: string;
1780
+ /**
1781
+ * <p>The ID for the job.</p>
1782
+ */
1783
+ JobId?: string;
1784
+ /**
1785
+ * <p>The current status of the request.</p>
1786
+ */
1787
+ Status?: string;
1788
+ }
1789
+ export declare namespace ImportBackendStorageResponse {
1790
+ /**
1791
+ * @internal
1792
+ */
1793
+ const filterSensitiveLog: (obj: ImportBackendStorageResponse) => any;
1794
+ }
1513
1795
  /**
1514
1796
  * <p>The request body for ListBackendJobs.</p>
1515
1797
  */
@@ -1608,6 +1890,56 @@ export declare namespace ListBackendJobsResponse {
1608
1890
  */
1609
1891
  const filterSensitiveLog: (obj: ListBackendJobsResponse) => any;
1610
1892
  }
1893
+ /**
1894
+ * <p>The request body for S3Buckets.</p>
1895
+ */
1896
+ export interface ListS3BucketsRequest {
1897
+ /**
1898
+ * <p>Reserved for future use.</p>
1899
+ */
1900
+ NextToken?: string;
1901
+ }
1902
+ export declare namespace ListS3BucketsRequest {
1903
+ /**
1904
+ * @internal
1905
+ */
1906
+ const filterSensitiveLog: (obj: ListS3BucketsRequest) => any;
1907
+ }
1908
+ /**
1909
+ * <p>Describes the metadata of the S3 bucket.</p>
1910
+ */
1911
+ export interface S3BucketInfo {
1912
+ /**
1913
+ * <p>The creation date of the S3 bucket.</p>
1914
+ */
1915
+ CreationDate?: string;
1916
+ /**
1917
+ * <p>The name of the S3 bucket.</p>
1918
+ */
1919
+ Name?: string;
1920
+ }
1921
+ export declare namespace S3BucketInfo {
1922
+ /**
1923
+ * @internal
1924
+ */
1925
+ const filterSensitiveLog: (obj: S3BucketInfo) => any;
1926
+ }
1927
+ export interface ListS3BucketsResponse {
1928
+ /**
1929
+ * <p>The list of S3 buckets.</p>
1930
+ */
1931
+ Buckets?: S3BucketInfo[];
1932
+ /**
1933
+ * <p>Reserved for future use.</p>
1934
+ */
1935
+ NextToken?: string;
1936
+ }
1937
+ export declare namespace ListS3BucketsResponse {
1938
+ /**
1939
+ * @internal
1940
+ */
1941
+ const filterSensitiveLog: (obj: ListS3BucketsResponse) => any;
1942
+ }
1611
1943
  /**
1612
1944
  * <p>The request body for RemoveAllBackends.</p>
1613
1945
  */
@@ -2103,3 +2435,73 @@ export declare namespace UpdateBackendJobResponse {
2103
2435
  */
2104
2436
  const filterSensitiveLog: (obj: UpdateBackendJobResponse) => any;
2105
2437
  }
2438
+ /**
2439
+ * <p>The resource configuration for updating backend storage.</p>
2440
+ */
2441
+ export interface UpdateBackendStorageResourceConfig {
2442
+ /**
2443
+ * <p>The authorization configuration for the storage S3 bucket.</p>
2444
+ */
2445
+ Permissions: BackendStoragePermissions | undefined;
2446
+ /**
2447
+ * <p>The name of the storage service.</p>
2448
+ */
2449
+ ServiceName: ServiceName | string | undefined;
2450
+ }
2451
+ export declare namespace UpdateBackendStorageResourceConfig {
2452
+ /**
2453
+ * @internal
2454
+ */
2455
+ const filterSensitiveLog: (obj: UpdateBackendStorageResourceConfig) => any;
2456
+ }
2457
+ /**
2458
+ * <p>The request body for UpdateBackendStorage.</p>
2459
+ */
2460
+ export interface UpdateBackendStorageRequest {
2461
+ /**
2462
+ * <p>The app ID.</p>
2463
+ */
2464
+ AppId: string | undefined;
2465
+ /**
2466
+ * <p>The name of the backend environment.</p>
2467
+ */
2468
+ BackendEnvironmentName: string | undefined;
2469
+ /**
2470
+ * <p>The resource configuration for updating backend storage.</p>
2471
+ */
2472
+ ResourceConfig: UpdateBackendStorageResourceConfig | undefined;
2473
+ /**
2474
+ * <p>The name of the storage resource.</p>
2475
+ */
2476
+ ResourceName: string | undefined;
2477
+ }
2478
+ export declare namespace UpdateBackendStorageRequest {
2479
+ /**
2480
+ * @internal
2481
+ */
2482
+ const filterSensitiveLog: (obj: UpdateBackendStorageRequest) => any;
2483
+ }
2484
+ export interface UpdateBackendStorageResponse {
2485
+ /**
2486
+ * <p>The app ID.</p>
2487
+ */
2488
+ AppId?: string;
2489
+ /**
2490
+ * <p>The name of the backend environment.</p>
2491
+ */
2492
+ BackendEnvironmentName?: string;
2493
+ /**
2494
+ * <p>The ID for the job.</p>
2495
+ */
2496
+ JobId?: string;
2497
+ /**
2498
+ * <p>The current status of the request.</p>
2499
+ */
2500
+ Status?: string;
2501
+ }
2502
+ export declare namespace UpdateBackendStorageResponse {
2503
+ /**
2504
+ * @internal
2505
+ */
2506
+ const filterSensitiveLog: (obj: UpdateBackendStorageResponse) => any;
2507
+ }
@@ -5,10 +5,12 @@ import { CreateBackendAPICommandInput, CreateBackendAPICommandOutput } from "../
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,24 +18,30 @@ 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
  export declare const serializeAws_restJson1CloneBackendCommand: (input: CloneBackendCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
29
35
  export declare const serializeAws_restJson1CreateBackendCommand: (input: CreateBackendCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
30
36
  export declare const serializeAws_restJson1CreateBackendAPICommand: (input: CreateBackendAPICommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
31
37
  export declare const serializeAws_restJson1CreateBackendAuthCommand: (input: CreateBackendAuthCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
32
38
  export declare const serializeAws_restJson1CreateBackendConfigCommand: (input: CreateBackendConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
39
+ export declare const serializeAws_restJson1CreateBackendStorageCommand: (input: CreateBackendStorageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
40
  export declare const serializeAws_restJson1CreateTokenCommand: (input: CreateTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
34
41
  export declare const serializeAws_restJson1DeleteBackendCommand: (input: DeleteBackendCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
35
42
  export declare const serializeAws_restJson1DeleteBackendAPICommand: (input: DeleteBackendAPICommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
36
43
  export declare const serializeAws_restJson1DeleteBackendAuthCommand: (input: DeleteBackendAuthCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
44
+ export declare const serializeAws_restJson1DeleteBackendStorageCommand: (input: DeleteBackendStorageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
37
45
  export declare const serializeAws_restJson1DeleteTokenCommand: (input: DeleteTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
38
46
  export declare const serializeAws_restJson1GenerateBackendAPIModelsCommand: (input: GenerateBackendAPIModelsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
39
47
  export declare const serializeAws_restJson1GetBackendCommand: (input: GetBackendCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -41,24 +49,30 @@ export declare const serializeAws_restJson1GetBackendAPICommand: (input: GetBack
41
49
  export declare const serializeAws_restJson1GetBackendAPIModelsCommand: (input: GetBackendAPIModelsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
42
50
  export declare const serializeAws_restJson1GetBackendAuthCommand: (input: GetBackendAuthCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
43
51
  export declare const serializeAws_restJson1GetBackendJobCommand: (input: GetBackendJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
52
+ export declare const serializeAws_restJson1GetBackendStorageCommand: (input: GetBackendStorageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
44
53
  export declare const serializeAws_restJson1GetTokenCommand: (input: GetTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
45
54
  export declare const serializeAws_restJson1ImportBackendAuthCommand: (input: ImportBackendAuthCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
55
+ export declare const serializeAws_restJson1ImportBackendStorageCommand: (input: ImportBackendStorageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
46
56
  export declare const serializeAws_restJson1ListBackendJobsCommand: (input: ListBackendJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
57
+ export declare const serializeAws_restJson1ListS3BucketsCommand: (input: ListS3BucketsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
47
58
  export declare const serializeAws_restJson1RemoveAllBackendsCommand: (input: RemoveAllBackendsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
48
59
  export declare const serializeAws_restJson1RemoveBackendConfigCommand: (input: RemoveBackendConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
49
60
  export declare const serializeAws_restJson1UpdateBackendAPICommand: (input: UpdateBackendAPICommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
50
61
  export declare const serializeAws_restJson1UpdateBackendAuthCommand: (input: UpdateBackendAuthCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
51
62
  export declare const serializeAws_restJson1UpdateBackendConfigCommand: (input: UpdateBackendConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
52
63
  export declare const serializeAws_restJson1UpdateBackendJobCommand: (input: UpdateBackendJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
64
+ export declare const serializeAws_restJson1UpdateBackendStorageCommand: (input: UpdateBackendStorageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
53
65
  export declare const deserializeAws_restJson1CloneBackendCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CloneBackendCommandOutput>;
54
66
  export declare const deserializeAws_restJson1CreateBackendCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateBackendCommandOutput>;
55
67
  export declare const deserializeAws_restJson1CreateBackendAPICommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateBackendAPICommandOutput>;
56
68
  export declare const deserializeAws_restJson1CreateBackendAuthCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateBackendAuthCommandOutput>;
57
69
  export declare const deserializeAws_restJson1CreateBackendConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateBackendConfigCommandOutput>;
70
+ export declare const deserializeAws_restJson1CreateBackendStorageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateBackendStorageCommandOutput>;
58
71
  export declare const deserializeAws_restJson1CreateTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateTokenCommandOutput>;
59
72
  export declare const deserializeAws_restJson1DeleteBackendCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteBackendCommandOutput>;
60
73
  export declare const deserializeAws_restJson1DeleteBackendAPICommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteBackendAPICommandOutput>;
61
74
  export declare const deserializeAws_restJson1DeleteBackendAuthCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteBackendAuthCommandOutput>;
75
+ export declare const deserializeAws_restJson1DeleteBackendStorageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteBackendStorageCommandOutput>;
62
76
  export declare const deserializeAws_restJson1DeleteTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteTokenCommandOutput>;
63
77
  export declare const deserializeAws_restJson1GenerateBackendAPIModelsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GenerateBackendAPIModelsCommandOutput>;
64
78
  export declare const deserializeAws_restJson1GetBackendCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBackendCommandOutput>;
@@ -66,12 +80,16 @@ export declare const deserializeAws_restJson1GetBackendAPICommand: (output: __Ht
66
80
  export declare const deserializeAws_restJson1GetBackendAPIModelsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBackendAPIModelsCommandOutput>;
67
81
  export declare const deserializeAws_restJson1GetBackendAuthCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBackendAuthCommandOutput>;
68
82
  export declare const deserializeAws_restJson1GetBackendJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBackendJobCommandOutput>;
83
+ export declare const deserializeAws_restJson1GetBackendStorageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBackendStorageCommandOutput>;
69
84
  export declare const deserializeAws_restJson1GetTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTokenCommandOutput>;
70
85
  export declare const deserializeAws_restJson1ImportBackendAuthCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportBackendAuthCommandOutput>;
86
+ export declare const deserializeAws_restJson1ImportBackendStorageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportBackendStorageCommandOutput>;
71
87
  export declare const deserializeAws_restJson1ListBackendJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListBackendJobsCommandOutput>;
88
+ export declare const deserializeAws_restJson1ListS3BucketsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListS3BucketsCommandOutput>;
72
89
  export declare const deserializeAws_restJson1RemoveAllBackendsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RemoveAllBackendsCommandOutput>;
73
90
  export declare const deserializeAws_restJson1RemoveBackendConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RemoveBackendConfigCommandOutput>;
74
91
  export declare const deserializeAws_restJson1UpdateBackendAPICommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateBackendAPICommandOutput>;
75
92
  export declare const deserializeAws_restJson1UpdateBackendAuthCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateBackendAuthCommandOutput>;
76
93
  export declare const deserializeAws_restJson1UpdateBackendConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateBackendConfigCommandOutput>;
77
94
  export declare const deserializeAws_restJson1UpdateBackendJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateBackendJobCommandOutput>;
95
+ export declare const deserializeAws_restJson1UpdateBackendStorageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateBackendStorageCommandOutput>;