-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Re-export SmithyIdentity components to hide Smithy dependency (#…
- Loading branch information
Showing
3 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/AWSCredentialIdentity.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
11 changes: 11 additions & 0 deletions
11
...s/AWSSDKIdentity/AWSCredentialIdentityResolvers/CustomAWSCredentialIdentityResolver.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
11 changes: 11 additions & 0 deletions
11
...s/AWSSDKIdentity/AWSCredentialIdentityResolvers/StaticAWSCredentialIdentityResolver.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |