Skip to content

Commit

Permalink
feat: Re-export SmithyIdentity components to hide Smithy dependency (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jbelkins authored Aug 23, 2024
1 parent bfa6819 commit 0ff31e4
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// Copyright Amazon.com Inc. or its affiliates.
// All Rights Reserved.
//
// SPDX-License-Identifier: Apache-2.0
//

import struct SmithyIdentity.AWSCredentialIdentity

/// A type representing AWS credentials for authenticating with an AWS service
///
/// For more information see [AWS security credentials](https://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html#AccessKeys)
public typealias AWSCredentialIdentity = SmithyIdentity.AWSCredentialIdentity
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
//
// Copyright Amazon.com Inc. or its affiliates.
// All Rights Reserved.
//
// SPDX-License-Identifier: Apache-2.0
//

import struct SmithyIdentity.CustomAWSCredentialIdentityResolver

/// A credential identity resolver that provides a fixed set of credentials
public typealias CustomAWSCredentialIdentityResolver = SmithyIdentity.CustomAWSCredentialIdentityResolver
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
//
// Copyright Amazon.com Inc. or its affiliates.
// All Rights Reserved.
//
// SPDX-License-Identifier: Apache-2.0
//

import struct SmithyIdentity.StaticAWSCredentialIdentityResolver

/// A credential identity resolver that provides a fixed set of credentials
public typealias StaticAWSCredentialIdentityResolver = SmithyIdentity.StaticAWSCredentialIdentityResolver

0 comments on commit 0ff31e4

Please sign in to comment.