File tree Expand file tree Collapse file tree
amplify-provider-awscloudformation Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77import { $TSAny } from ' @aws-amplify/amplify-cli-core' ;
88import { $TSContext } from ' @aws-amplify/amplify-cli-core' ;
99import { $TSObject } from ' @aws-amplify/amplify-cli-core' ;
10- import * as AWS_2 from ' aws-sdk' ;
1110import { CognitoIdentityProviderClient } from ' @aws-sdk/client-cognito-identity-provider' ;
1211import { IAmplifyResource } from ' @aws-amplify/amplify-cli-core' ;
1312import { LocationClient } from ' @aws-sdk/client-location' ;
13+ import { NodeHttpHandler } from ' @smithy/node-http-handler' ;
14+ import { SSMClient } from ' @aws-sdk/client-ssm' ;
1415import { Template } from ' @aws-amplify/amplify-cli-core' ;
1516
1617// @public (undocumented)
@@ -26,6 +27,8 @@ export interface AwsSdkConfig {
2627 // (undocumented)
2728 region: string ;
2829 // (undocumented)
30+ requestHandler? : NodeHttpHandler ;
31+ // (undocumented)
2932 secretAccessKey: string ;
3033 // (undocumented)
3134 sessionToken? : string ;
Original file line number Diff line number Diff line change 6868 "amplify-codegen" : " ^4.10.3" ,
6969 "archiver" : " ^7.0.1" ,
7070 "aws-cdk-lib" : " ~2.189.1" ,
71+ "aws-sdk" : " ^2.1464.0" ,
7172 "bottleneck" : " 2.19.5" ,
7273 "chalk" : " ^4.1.1" ,
7374 "cloudform-types" : " ^4.2.0" ,
Original file line number Diff line number Diff line change 44
55``` ts
66
7- import { Buckets } from ' aws-sdk/clients/ s3' ;
7+ import { Bucket } from ' @ aws-sdk/client- s3' ;
88import { GetUserPoolMfaConfigResponse } from ' @aws-sdk/client-cognito-identity-provider' ;
99import { IdentityPool } from ' @aws-sdk/client-cognito-identity' ;
1010import { IdentityPoolShortDescription } from ' @aws-sdk/client-cognito-identity' ;
1111import { IdentityProviderType } from ' @aws-sdk/client-cognito-identity-provider' ;
12- import { TableDescription } from ' aws-sdk/clients/dynamodb' ;
13- import { TableName } from ' aws-sdk/clients/dynamodb' ;
12+ import { TableDescription } from ' @aws-sdk/client-dynamodb' ;
1413import { UserPoolClientType } from ' @aws-sdk/client-cognito-identity-provider' ;
1514import { UserPoolDescriptionType } from ' @aws-sdk/client-cognito-identity-provider' ;
1615import { UserPoolType } from ' @aws-sdk/client-cognito-identity-provider' ;
@@ -34,7 +33,7 @@ export interface IDynamoDBService {
3433 // (undocumented)
3534 getTableDetails(tableName : string ): Promise <TableDescription >;
3635 // (undocumented)
37- listTables(): Promise <TableName []>;
36+ listTables(): Promise <string []>;
3837 // (undocumented)
3938 tableExists(tableName : string ): Promise <boolean >;
4039}
@@ -61,7 +60,7 @@ export interface IS3Service {
6160 // (undocumented)
6261 getBucketLocation(bucketName : string ): Promise <string >;
6362 // (undocumented)
64- listBuckets(): Promise <Buckets >;
63+ listBuckets(): Promise <Bucket [] >;
6564}
6665
6766// (No @packageDocumentation comment for this package)
You can’t perform that action at this time.
0 commit comments