-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c9fa804
commit 1a4150c
Showing
888 changed files
with
70,524 additions
and
25,335 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
|
@@ -10,6 +10,7 @@ Release | |
*# | ||
*.iml | ||
tags | ||
.vscode | ||
|
||
# CI Artifacts | ||
BuildSpec.json | ||
|
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
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
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
2,697 changes: 1,681 additions & 1,016 deletions
2,697
generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/S3CrtClient.h
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
36 changes: 36 additions & 0 deletions
36
generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/S3CrtIdentityProviderAdapter.h
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,36 @@ | ||
/** | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0. | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include <aws/s3/s3express_credentials_provider.h> | ||
#include <aws/s3-crt/S3ExpressIdentityProvider.h> | ||
|
||
namespace Aws { | ||
namespace S3Crt { | ||
/** | ||
* Factory for a CRT aws_s3express_credentials_provider. Cannot subclass or instantiate, | ||
* only for building a crt provider to be used in crt configuration. | ||
*/ | ||
class S3CrtIdentityProviderAdapter final { | ||
public: | ||
S3CrtIdentityProviderAdapter() = delete; | ||
S3CrtIdentityProviderAdapter(const S3CrtIdentityProviderAdapter &other) = delete; | ||
S3CrtIdentityProviderAdapter(S3CrtIdentityProviderAdapter &&other) noexcept = delete; | ||
S3CrtIdentityProviderAdapter& operator=(const S3CrtIdentityProviderAdapter &other) = delete; | ||
S3CrtIdentityProviderAdapter& operator=(S3CrtIdentityProviderAdapter &&other) noexcept = delete; | ||
|
||
/** | ||
* Returns a c style function pointer that can be used in CRT configuration for | ||
* the delegation of the identity provider for S3 Express requests. | ||
*/ | ||
static aws_s3express_credentials_provider* ProviderFactory(struct aws_allocator* allocator, | ||
struct aws_s3_client* client, | ||
aws_simple_completion_callback on_provider_shutdown_callback, | ||
void* shutdown_user_data, | ||
void* factory_user_data); | ||
}; | ||
} | ||
} |
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
52 changes: 52 additions & 0 deletions
52
generated/src/aws-cpp-sdk-s3-crt/include/aws/s3-crt/S3ExpressIdentity.h
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,52 @@ | ||
/** | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0. | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include <aws/core/utils/memory/stl/AWSString.h> | ||
#include <aws/core/utils/DateTime.h> | ||
|
||
#include <utility> | ||
|
||
namespace Aws { | ||
namespace S3Crt { | ||
class S3ExpressIdentity final { | ||
public: | ||
S3ExpressIdentity() = default; | ||
|
||
inline S3ExpressIdentity(String accessKeyId, | ||
String secretKeyId, | ||
String sessionToken, | ||
const Utils::DateTime &expiration) : | ||
m_accessKeyId(std::move(accessKeyId)), | ||
m_secretKeyId(std::move(secretKeyId)), | ||
m_sessionToken(std::move(sessionToken)), | ||
m_expiration(expiration) {} | ||
|
||
const String &getAccessKeyId() const { | ||
return m_accessKeyId; | ||
} | ||
|
||
const String &getSecretKeyId() const { | ||
return m_secretKeyId; | ||
} | ||
|
||
const String &getSessionToken() const { | ||
return m_sessionToken; | ||
} | ||
|
||
const Utils::DateTime &getExpiration() const { | ||
return m_expiration; | ||
} | ||
|
||
|
||
private: | ||
Aws::String m_accessKeyId; | ||
Aws::String m_secretKeyId; | ||
Aws::String m_sessionToken; | ||
Aws::Utils::DateTime m_expiration; | ||
}; | ||
} | ||
} |
Oops, something went wrong.