@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
@@ -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
  requestHandler?: __HttpHandler;
@@ -0,0 +1,17 @@
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
+ export declare class CreateBackendStorageCommand extends $Command<CreateBackendStorageCommandInput, CreateBackendStorageCommandOutput, AmplifyBackendClientResolvedConfig> {
11
+ readonly input: CreateBackendStorageCommandInput;
12
+ constructor(input: CreateBackendStorageCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateBackendStorageCommandInput, CreateBackendStorageCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
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
+ export declare class DeleteBackendStorageCommand extends $Command<DeleteBackendStorageCommandInput, DeleteBackendStorageCommandOutput, AmplifyBackendClientResolvedConfig> {
11
+ readonly input: DeleteBackendStorageCommandInput;
12
+ constructor(input: DeleteBackendStorageCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteBackendStorageCommandInput, DeleteBackendStorageCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
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
+ export declare class GetBackendStorageCommand extends $Command<GetBackendStorageCommandInput, GetBackendStorageCommandOutput, AmplifyBackendClientResolvedConfig> {
11
+ readonly input: GetBackendStorageCommandInput;
12
+ constructor(input: GetBackendStorageCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetBackendStorageCommandInput, GetBackendStorageCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
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
+ export declare class ImportBackendStorageCommand extends $Command<ImportBackendStorageCommandInput, ImportBackendStorageCommandOutput, AmplifyBackendClientResolvedConfig> {
11
+ readonly input: ImportBackendStorageCommandInput;
12
+ constructor(input: ImportBackendStorageCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ImportBackendStorageCommandInput, ImportBackendStorageCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
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
+ export declare class ListS3BucketsCommand extends $Command<ListS3BucketsCommandInput, ListS3BucketsCommandOutput, AmplifyBackendClientResolvedConfig> {
11
+ readonly input: ListS3BucketsCommandInput;
12
+ constructor(input: ListS3BucketsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListS3BucketsCommandInput, ListS3BucketsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
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
+ export declare class UpdateBackendStorageCommand extends $Command<UpdateBackendStorageCommandInput, UpdateBackendStorageCommandOutput, AmplifyBackendClientResolvedConfig> {
11
+ readonly input: UpdateBackendStorageCommandInput;
12
+ constructor(input: UpdateBackendStorageCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmplifyBackendClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateBackendStorageCommandInput, UpdateBackendStorageCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -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";
@@ -520,6 +520,72 @@ export declare namespace CreateBackendConfigResponse {
520
520
 
521
521
  const filterSensitiveLog: (obj: CreateBackendConfigResponse) => any;
522
522
  }
523
+ export declare enum AuthenticatedElement {
524
+ CREATE_AND_UPDATE = "CREATE_AND_UPDATE",
525
+ DELETE = "DELETE",
526
+ READ = "READ"
527
+ }
528
+ export declare enum UnAuthenticatedElement {
529
+ CREATE_AND_UPDATE = "CREATE_AND_UPDATE",
530
+ DELETE = "DELETE",
531
+ READ = "READ"
532
+ }
533
+
534
+ export interface BackendStoragePermissions {
535
+
536
+ Authenticated: (AuthenticatedElement | string)[] | undefined;
537
+
538
+ UnAuthenticated?: (UnAuthenticatedElement | string)[];
539
+ }
540
+ export declare namespace BackendStoragePermissions {
541
+
542
+ const filterSensitiveLog: (obj: BackendStoragePermissions) => any;
543
+ }
544
+ export declare enum ServiceName {
545
+ S3 = "S3"
546
+ }
547
+
548
+ export interface CreateBackendStorageResourceConfig {
549
+
550
+ BucketName?: string;
551
+
552
+ Permissions: BackendStoragePermissions | undefined;
553
+
554
+ ServiceName: ServiceName | string | undefined;
555
+ }
556
+ export declare namespace CreateBackendStorageResourceConfig {
557
+
558
+ const filterSensitiveLog: (obj: CreateBackendStorageResourceConfig) => any;
559
+ }
560
+
561
+ export interface CreateBackendStorageRequest {
562
+
563
+ AppId: string | undefined;
564
+
565
+ BackendEnvironmentName: string | undefined;
566
+
567
+ ResourceConfig: CreateBackendStorageResourceConfig | undefined;
568
+
569
+ ResourceName: string | undefined;
570
+ }
571
+ export declare namespace CreateBackendStorageRequest {
572
+
573
+ const filterSensitiveLog: (obj: CreateBackendStorageRequest) => any;
574
+ }
575
+ export interface CreateBackendStorageResponse {
576
+
577
+ AppId?: string;
578
+
579
+ BackendEnvironmentName?: string;
580
+
581
+ JobId?: string;
582
+
583
+ Status?: string;
584
+ }
585
+ export declare namespace CreateBackendStorageResponse {
586
+
587
+ const filterSensitiveLog: (obj: CreateBackendStorageResponse) => any;
588
+ }
523
589
  export interface CreateTokenRequest {
524
590
 
525
591
  AppId: string | undefined;
@@ -634,6 +700,35 @@ export declare namespace DeleteBackendAuthResponse {
634
700
 
635
701
  const filterSensitiveLog: (obj: DeleteBackendAuthResponse) => any;
636
702
  }
703
+
704
+ export interface DeleteBackendStorageRequest {
705
+
706
+ AppId: string | undefined;
707
+
708
+ BackendEnvironmentName: string | undefined;
709
+
710
+ ResourceName: string | undefined;
711
+
712
+ ServiceName: ServiceName | string | undefined;
713
+ }
714
+ export declare namespace DeleteBackendStorageRequest {
715
+
716
+ const filterSensitiveLog: (obj: DeleteBackendStorageRequest) => any;
717
+ }
718
+ export interface DeleteBackendStorageResponse {
719
+
720
+ AppId?: string;
721
+
722
+ BackendEnvironmentName?: string;
723
+
724
+ JobId?: string;
725
+
726
+ Status?: string;
727
+ }
728
+ export declare namespace DeleteBackendStorageResponse {
729
+
730
+ const filterSensitiveLog: (obj: DeleteBackendStorageResponse) => any;
731
+ }
637
732
  export interface DeleteTokenRequest {
638
733
 
639
734
  AppId: string | undefined;
@@ -835,6 +930,48 @@ export declare namespace GetBackendJobResponse {
835
930
 
836
931
  const filterSensitiveLog: (obj: GetBackendJobResponse) => any;
837
932
  }
933
+
934
+ export interface GetBackendStorageRequest {
935
+
936
+ AppId: string | undefined;
937
+
938
+ BackendEnvironmentName: string | undefined;
939
+
940
+ ResourceName: string | undefined;
941
+ }
942
+ export declare namespace GetBackendStorageRequest {
943
+
944
+ const filterSensitiveLog: (obj: GetBackendStorageRequest) => any;
945
+ }
946
+
947
+ export interface GetBackendStorageResourceConfig {
948
+
949
+ BucketName?: string;
950
+
951
+ Imported: boolean | undefined;
952
+
953
+ Permissions?: BackendStoragePermissions;
954
+
955
+ ServiceName: ServiceName | string | undefined;
956
+ }
957
+ export declare namespace GetBackendStorageResourceConfig {
958
+
959
+ const filterSensitiveLog: (obj: GetBackendStorageResourceConfig) => any;
960
+ }
961
+ export interface GetBackendStorageResponse {
962
+
963
+ AppId?: string;
964
+
965
+ BackendEnvironmentName?: string;
966
+
967
+ ResourceConfig?: GetBackendStorageResourceConfig;
968
+
969
+ ResourceName?: string;
970
+ }
971
+ export declare namespace GetBackendStorageResponse {
972
+
973
+ const filterSensitiveLog: (obj: GetBackendStorageResponse) => any;
974
+ }
838
975
  export interface GetTokenRequest {
839
976
 
840
977
  AppId: string | undefined;
@@ -897,6 +1034,35 @@ export declare namespace ImportBackendAuthResponse {
897
1034
  const filterSensitiveLog: (obj: ImportBackendAuthResponse) => any;
898
1035
  }
899
1036
 
1037
+ export interface ImportBackendStorageRequest {
1038
+
1039
+ AppId: string | undefined;
1040
+
1041
+ BackendEnvironmentName: string | undefined;
1042
+
1043
+ BucketName?: string;
1044
+
1045
+ ServiceName: ServiceName | string | undefined;
1046
+ }
1047
+ export declare namespace ImportBackendStorageRequest {
1048
+
1049
+ const filterSensitiveLog: (obj: ImportBackendStorageRequest) => any;
1050
+ }
1051
+ export interface ImportBackendStorageResponse {
1052
+
1053
+ AppId?: string;
1054
+
1055
+ BackendEnvironmentName?: string;
1056
+
1057
+ JobId?: string;
1058
+
1059
+ Status?: string;
1060
+ }
1061
+ export declare namespace ImportBackendStorageResponse {
1062
+
1063
+ const filterSensitiveLog: (obj: ImportBackendStorageResponse) => any;
1064
+ }
1065
+
900
1066
  export interface ListBackendJobsRequest {
901
1067
 
902
1068
  AppId: string | undefined;
@@ -951,6 +1117,36 @@ export declare namespace ListBackendJobsResponse {
951
1117
  const filterSensitiveLog: (obj: ListBackendJobsResponse) => any;
952
1118
  }
953
1119
 
1120
+ export interface ListS3BucketsRequest {
1121
+
1122
+ NextToken?: string;
1123
+ }
1124
+ export declare namespace ListS3BucketsRequest {
1125
+
1126
+ const filterSensitiveLog: (obj: ListS3BucketsRequest) => any;
1127
+ }
1128
+
1129
+ export interface S3BucketInfo {
1130
+
1131
+ CreationDate?: string;
1132
+
1133
+ Name?: string;
1134
+ }
1135
+ export declare namespace S3BucketInfo {
1136
+
1137
+ const filterSensitiveLog: (obj: S3BucketInfo) => any;
1138
+ }
1139
+ export interface ListS3BucketsResponse {
1140
+
1141
+ Buckets?: S3BucketInfo[];
1142
+
1143
+ NextToken?: string;
1144
+ }
1145
+ export declare namespace ListS3BucketsResponse {
1146
+
1147
+ const filterSensitiveLog: (obj: ListS3BucketsResponse) => any;
1148
+ }
1149
+
954
1150
  export interface RemoveAllBackendsRequest {
955
1151
 
956
1152
  AppId: string | undefined;
@@ -1231,3 +1427,43 @@ export declare namespace UpdateBackendJobResponse {
1231
1427
 
1232
1428
  const filterSensitiveLog: (obj: UpdateBackendJobResponse) => any;
1233
1429
  }
1430
+
1431
+ export interface UpdateBackendStorageResourceConfig {
1432
+
1433
+ Permissions: BackendStoragePermissions | undefined;
1434
+
1435
+ ServiceName: ServiceName | string | undefined;
1436
+ }
1437
+ export declare namespace UpdateBackendStorageResourceConfig {
1438
+
1439
+ const filterSensitiveLog: (obj: UpdateBackendStorageResourceConfig) => any;
1440
+ }
1441
+
1442
+ export interface UpdateBackendStorageRequest {
1443
+
1444
+ AppId: string | undefined;
1445
+
1446
+ BackendEnvironmentName: string | undefined;
1447
+
1448
+ ResourceConfig: UpdateBackendStorageResourceConfig | undefined;
1449
+
1450
+ ResourceName: string | undefined;
1451
+ }
1452
+ export declare namespace UpdateBackendStorageRequest {
1453
+
1454
+ const filterSensitiveLog: (obj: UpdateBackendStorageRequest) => any;
1455
+ }
1456
+ export interface UpdateBackendStorageResponse {
1457
+
1458
+ AppId?: string;
1459
+
1460
+ BackendEnvironmentName?: string;
1461
+
1462
+ JobId?: string;
1463
+
1464
+ Status?: string;
1465
+ }
1466
+ export declare namespace UpdateBackendStorageResponse {
1467
+
1468
+ const filterSensitiveLog: (obj: UpdateBackendStorageResponse) => any;
1469
+ }
@@ -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>;