@@ -33,8 +33,6 @@ func NewAuthenticatedSessionContextE(ctx context.Context, region string) (*aws.C
3333 return NewAuthenticatedSessionFromDefaultCredentialsContextE (ctx , region )
3434}
3535
36- // NewAuthenticatedSessionContext is a backwards-compatible alias for [NewAuthenticatedSessionContextE].
37- //
3836// Deprecated: Use [NewAuthenticatedSessionContextE] instead.
3937func NewAuthenticatedSessionContext (ctx context.Context , region string ) (* aws.Config , error ) {
4038 return NewAuthenticatedSessionContextE (ctx , region )
@@ -59,8 +57,6 @@ func NewAuthenticatedSessionFromDefaultCredentialsContextE(ctx context.Context,
5957 return & cfg , nil
6058}
6159
62- // NewAuthenticatedSessionFromDefaultCredentialsContext is a backwards-compatible alias for [NewAuthenticatedSessionFromDefaultCredentialsContextE].
63- //
6460// Deprecated: Use [NewAuthenticatedSessionFromDefaultCredentialsContextE] instead.
6561func NewAuthenticatedSessionFromDefaultCredentialsContext (ctx context.Context , region string ) (* aws.Config , error ) {
6662 return NewAuthenticatedSessionFromDefaultCredentialsContextE (ctx , region )
@@ -100,8 +96,6 @@ func NewAuthenticatedSessionFromRoleContextE(ctx context.Context, region string,
10096 }, nil
10197}
10298
103- // NewAuthenticatedSessionFromRoleContext is a backwards-compatible alias for [NewAuthenticatedSessionFromRoleContextE].
104- //
10599// Deprecated: Use [NewAuthenticatedSessionFromRoleContextE] instead.
106100func NewAuthenticatedSessionFromRoleContext (ctx context.Context , region string , roleARN string ) (* aws.Config , error ) {
107101 return NewAuthenticatedSessionFromRoleContextE (ctx , region , roleARN )
@@ -126,8 +120,6 @@ func CreateAwsSessionWithCredsContextE(_ context.Context, region string, accessK
126120 }, nil
127121}
128122
129- // CreateAwsSessionWithCredsContext is a backwards-compatible alias for [CreateAwsSessionWithCredsContextE].
130- //
131123// Deprecated: Use [CreateAwsSessionWithCredsContextE] instead.
132124func CreateAwsSessionWithCredsContext (ctx context.Context , region string , accessKeyID string , secretAccessKey string ) (* aws.Config , error ) {
133125 return CreateAwsSessionWithCredsContextE (ctx , region , accessKeyID , secretAccessKey )
@@ -167,8 +159,6 @@ func CreateAwsSessionWithMfaContextE(ctx context.Context, region string, stsClie
167159 }, nil
168160}
169161
170- // CreateAwsSessionWithMfaContext is a backwards-compatible alias for [CreateAwsSessionWithMfaContextE].
171- //
172162// Deprecated: Use [CreateAwsSessionWithMfaContextE] instead.
173163func CreateAwsSessionWithMfaContext (ctx context.Context , region string , stsClient * sts.Client , mfaDevice * types.VirtualMFADevice ) (* aws.Config , error ) {
174164 return CreateAwsSessionWithMfaContextE (ctx , region , stsClient , mfaDevice )
@@ -204,8 +194,6 @@ func ReadPasswordPolicyMinPasswordLengthContextE(ctx context.Context, iamClient
204194 return int (* output .PasswordPolicy .MinimumPasswordLength ), nil
205195}
206196
207- // ReadPasswordPolicyMinPasswordLengthContext is a backwards-compatible alias for [ReadPasswordPolicyMinPasswordLengthContextE].
208- //
209197// Deprecated: Use [ReadPasswordPolicyMinPasswordLengthContextE] instead.
210198func ReadPasswordPolicyMinPasswordLengthContext (ctx context.Context , iamClient * iam.Client ) (int , error ) {
211199 return ReadPasswordPolicyMinPasswordLengthContextE (ctx , iamClient )
0 commit comments