File tree Expand file tree Collapse file tree 13 files changed +13
-13
lines changed Expand file tree Collapse file tree 13 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 1
1
import { chain as providerChain } from "@smithy/property-provider" ;
2
2
3
- // JS SDK v3 switched to credential providers to functions instead of objects .
3
+ // JS SDK v3 switched credential providers from classes to functions .
4
4
// The CredentialProviderChain is now a chain of providers.
5
5
// Reference: https://www.npmjs.com/package/@aws -sdk/credential-providers
6
6
providerChain ( providers ) ;
Original file line number Diff line number Diff line change 1
1
import { fromTemporaryCredentials } from "@aws-sdk/credential-providers" ;
2
2
3
- // JS SDK v3 switched to credential providers to functions instead of objects .
3
+ // JS SDK v3 switched credential providers from classes to functions .
4
4
// This is the closest approximation from codemod of what your application needs.
5
5
// Reference: https://www.npmjs.com/package/@aws -sdk/credential-providers
6
6
fromTemporaryCredentials ( {
Original file line number Diff line number Diff line change 1
1
import { fromCognitoIdentity } from "@aws-sdk/credential-providers" ;
2
2
3
- // JS SDK v3 switched to credential providers to functions instead of objects .
3
+ // JS SDK v3 switched credential providers from classes to functions .
4
4
// This is the closest approximation from codemod of what your application needs.
5
5
// Reference: https://www.npmjs.com/package/@aws -sdk/credential-providers
6
6
fromCognitoIdentity ( ) ;
Original file line number Diff line number Diff line change 1
1
import { fromInstanceMetadata } from "@aws-sdk/credential-providers" ;
2
2
3
- // JS SDK v3 switched to credential providers to functions instead of objects .
3
+ // JS SDK v3 switched credential providers from classes to functions .
4
4
// This is the closest approximation from codemod of what your application needs.
5
5
// Reference: https://www.npmjs.com/package/@aws -sdk/credential-providers
6
6
fromInstanceMetadata ( ) ;
Original file line number Diff line number Diff line change 1
1
import { fromContainerMetadata } from "@aws-sdk/credential-providers" ;
2
2
3
- // JS SDK v3 switched to credential providers to functions instead of objects .
3
+ // JS SDK v3 switched credential providers from classes to functions .
4
4
// This is the closest approximation from codemod of what your application needs.
5
5
// Reference: https://www.npmjs.com/package/@aws -sdk/credential-providers
6
6
fromContainerMetadata ( ) ;
Original file line number Diff line number Diff line change 1
1
import { fromEnv } from "@aws-sdk/credential-providers" ;
2
2
3
- // JS SDK v3 switched to credential providers to functions instead of objects .
3
+ // JS SDK v3 switched credential providers from classes to functions .
4
4
// This is the closest approximation from codemod of what your application needs.
5
5
// Reference: https://www.npmjs.com/package/@aws -sdk/credential-providers
6
6
fromEnv ( "AWS" ) ;
Original file line number Diff line number Diff line change 1
1
import { fromIni } from "@aws-sdk/credential-providers" ;
2
2
3
- // JS SDK v3 switched to credential providers to functions instead of objects .
3
+ // JS SDK v3 switched credential providers from classes to functions .
4
4
// This is the closest approximation from codemod of what your application needs.
5
5
// Reference: https://www.npmjs.com/package/@aws -sdk/credential-providers
6
6
fromIni ( { profile : "profile-name" } ) ;
Original file line number Diff line number Diff line change 1
1
import { fromProcess } from "@aws-sdk/credential-providers" ;
2
2
3
- // JS SDK v3 switched to credential providers to functions instead of objects .
3
+ // JS SDK v3 switched credential providers from classes to functions .
4
4
// This is the closest approximation from codemod of what your application needs.
5
5
// Reference: https://www.npmjs.com/package/@aws -sdk/credential-providers
6
6
fromProcess ( { profile : "profile-name" } ) ;
Original file line number Diff line number Diff line change 1
1
import { fromContainerMetadata } from "@aws-sdk/credential-providers" ;
2
2
3
- // JS SDK v3 switched to credential providers to functions instead of objects .
3
+ // JS SDK v3 switched credential providers from classes to functions .
4
4
// This is the closest approximation from codemod of what your application needs.
5
5
// Reference: https://www.npmjs.com/package/@aws -sdk/credential-providers
6
6
fromContainerMetadata ( ) ;
Original file line number Diff line number Diff line change 1
1
import { fromSSO } from "@aws-sdk/credential-providers" ;
2
2
3
- // JS SDK v3 switched to credential providers to functions instead of objects .
3
+ // JS SDK v3 switched credential providers from classes to functions .
4
4
// This is the closest approximation from codemod of what your application needs.
5
5
// Reference: https://www.npmjs.com/package/@aws -sdk/credential-providers
6
6
fromSSO ( { profile : "profile-name" } ) ;
You can’t perform that action at this time.
0 commit comments