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 11import { chain as providerChain } from "@smithy/property-provider" ;
22
3- // JS SDK v3 switched to credential providers to functions instead of objects .
3+ // JS SDK v3 switched credential providers from classes to functions .
44// The CredentialProviderChain is now a chain of providers.
55// Reference: https://www.npmjs.com/package/@aws -sdk/credential-providers
66providerChain ( providers ) ;
Original file line number Diff line number Diff line change 11import { fromTemporaryCredentials } from "@aws-sdk/credential-providers" ;
22
3- // JS SDK v3 switched to credential providers to functions instead of objects .
3+ // JS SDK v3 switched credential providers from classes to functions .
44// This is the closest approximation from codemod of what your application needs.
55// Reference: https://www.npmjs.com/package/@aws -sdk/credential-providers
66fromTemporaryCredentials ( {
Original file line number Diff line number Diff line change 11import { fromCognitoIdentity } from "@aws-sdk/credential-providers" ;
22
3- // JS SDK v3 switched to credential providers to functions instead of objects .
3+ // JS SDK v3 switched credential providers from classes to functions .
44// This is the closest approximation from codemod of what your application needs.
55// Reference: https://www.npmjs.com/package/@aws -sdk/credential-providers
66fromCognitoIdentity ( ) ;
Original file line number Diff line number Diff line change 11import { fromInstanceMetadata } from "@aws-sdk/credential-providers" ;
22
3- // JS SDK v3 switched to credential providers to functions instead of objects .
3+ // JS SDK v3 switched credential providers from classes to functions .
44// This is the closest approximation from codemod of what your application needs.
55// Reference: https://www.npmjs.com/package/@aws -sdk/credential-providers
66fromInstanceMetadata ( ) ;
Original file line number Diff line number Diff line change 11import { fromContainerMetadata } from "@aws-sdk/credential-providers" ;
22
3- // JS SDK v3 switched to credential providers to functions instead of objects .
3+ // JS SDK v3 switched credential providers from classes to functions .
44// This is the closest approximation from codemod of what your application needs.
55// Reference: https://www.npmjs.com/package/@aws -sdk/credential-providers
66fromContainerMetadata ( ) ;
Original file line number Diff line number Diff line change 11import { fromEnv } from "@aws-sdk/credential-providers" ;
22
3- // JS SDK v3 switched to credential providers to functions instead of objects .
3+ // JS SDK v3 switched credential providers from classes to functions .
44// This is the closest approximation from codemod of what your application needs.
55// Reference: https://www.npmjs.com/package/@aws -sdk/credential-providers
66fromEnv ( "AWS" ) ;
Original file line number Diff line number Diff line change 11import { fromIni } from "@aws-sdk/credential-providers" ;
22
3- // JS SDK v3 switched to credential providers to functions instead of objects .
3+ // JS SDK v3 switched credential providers from classes to functions .
44// This is the closest approximation from codemod of what your application needs.
55// Reference: https://www.npmjs.com/package/@aws -sdk/credential-providers
66fromIni ( { profile : "profile-name" } ) ;
Original file line number Diff line number Diff line change 11import { fromProcess } from "@aws-sdk/credential-providers" ;
22
3- // JS SDK v3 switched to credential providers to functions instead of objects .
3+ // JS SDK v3 switched credential providers from classes to functions .
44// This is the closest approximation from codemod of what your application needs.
55// Reference: https://www.npmjs.com/package/@aws -sdk/credential-providers
66fromProcess ( { profile : "profile-name" } ) ;
Original file line number Diff line number Diff line change 11import { fromContainerMetadata } from "@aws-sdk/credential-providers" ;
22
3- // JS SDK v3 switched to credential providers to functions instead of objects .
3+ // JS SDK v3 switched credential providers from classes to functions .
44// This is the closest approximation from codemod of what your application needs.
55// Reference: https://www.npmjs.com/package/@aws -sdk/credential-providers
66fromContainerMetadata ( ) ;
Original file line number Diff line number Diff line change 11import { fromSSO } from "@aws-sdk/credential-providers" ;
22
3- // JS SDK v3 switched to credential providers to functions instead of objects .
3+ // JS SDK v3 switched credential providers from classes to functions .
44// This is the closest approximation from codemod of what your application needs.
55// Reference: https://www.npmjs.com/package/@aws -sdk/credential-providers
66fromSSO ( { profile : "profile-name" } ) ;
You can’t perform that action at this time.
0 commit comments