AWS SDK for C++  1.8.2
AWS SDK for C++
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Aws::AccessManagement::AccessManagementClient Class Reference

#include <AccessManagementClient.h>

Public Types

using PolicyGeneratorFunction = std::function< Aws::String(void) >
 

Public Member Functions

 AccessManagementClient (std::shared_ptr< Aws::IAM::IAMClient > &iamClient, std::shared_ptr< Aws::CognitoIdentity::CognitoIdentityClient > &cognitoClient)
 
 ~AccessManagementClient ()
 
bool GetOrCreateGroup (const Aws::String &groupName, Aws::IAM::Model::Group &groupData)
 
bool GetOrCreatePolicy (const Aws::String &policyName, const PolicyGeneratorFunction &policyGenerator, Aws::IAM::Model::Policy &policyData)
 
bool GetOrCreateRole (const Aws::String &roleName, const PolicyGeneratorFunction &assumedPolicyGenerator, Aws::IAM::Model::Role &roleData)
 
bool GetOrCreateUser (const Aws::String &userName, Aws::IAM::Model::User &userData)
 
Aws::String GetAccountId ()
 
bool AttachPolicyToGroupIfNot (const Aws::IAM::Model::Policy &policyData, const Aws::String &groupName)
 
bool AttachPolicyToRoleIfNot (const Aws::IAM::Model::Policy &policyData, const Aws::String &roleName)
 
bool AttachPolicyToUserIfNot (const Aws::IAM::Model::Policy &policyData, const Aws::String &userName)
 
bool AddUserToGroupIfNot (const Aws::String &userName, const Aws::String &groupName)
 
bool VerifyOrCreateCredentialsFileForUser (const Aws::String &credentialsFilename, const Aws::String &userName)
 
bool GetOrCreateIdentityPool (const Aws::String &poolName, bool allowUnauthenticated, Aws::String &identityPoolId)
 
bool BindRoleToIdentityPoolIfNot (const Aws::String &identityPoolId, const Aws::String &roleArn, IdentityPoolRoleBindingType roleKey)
 
QueryResult GetGroup (const Aws::String &groupName, Aws::IAM::Model::Group &groupData)
 
QueryResult GetPolicy (const Aws::String &policyName, Aws::IAM::Model::Policy &policyData)
 
QueryResult GetRole (const Aws::String &roleName, Aws::IAM::Model::Role &roleData)
 
QueryResult GetUser (const Aws::String &userName, Aws::IAM::Model::User &userData)
 
bool CreateGroup (const Aws::String &groupName, Aws::IAM::Model::Group &groupData)
 
bool CreatePolicy (const Aws::String &policyName, const Aws::String &policyDocument, Aws::IAM::Model::Policy &policyData)
 
bool CreateRole (const Aws::String &roleName, const Aws::String &assumedPolicyDocument, Aws::IAM::Model::Role &roleData)
 
bool CreateUser (const Aws::String &userName, Aws::IAM::Model::User &userData)
 
bool AttachPolicyToGroup (const Aws::String &policyArn, const Aws::String &groupName)
 
bool AttachPolicyToRole (const Aws::String &policyArn, const Aws::String &roleName)
 
bool AttachPolicyToUser (const Aws::String &policyArn, const Aws::String &userName)
 
bool DetachPolicyFromGroup (const Aws::String &policyArn, const Aws::String &groupName)
 
bool DetachPolicyFromRole (const Aws::String &policyArn, const Aws::String &roleName)
 
bool DetachPolicyFromUser (const Aws::String &policyArn, const Aws::String &userName)
 
QueryResult IsPolicyAttachedToGroup (const Aws::String &policyName, const Aws::String &groupName)
 
QueryResult IsPolicyAttachedToRole (const Aws::String &policyName, const Aws::String &roleName)
 
QueryResult IsPolicyAttachedToUser (const Aws::String &policyName, const Aws::String &userName)
 
QueryResult IsUserInGroup (const Aws::String &userName, const Aws::String &groupName)
 
bool AddUserToGroup (const Aws::String &userName, const Aws::String &groupName)
 
bool RemoveUserFromGroup (const Aws::String &userName, const Aws::String &groupName)
 
bool DeleteGroup (const Aws::String &groupName)
 
bool DeletePolicy (const Aws::String &policyName)
 
bool DeleteRole (const Aws::String &roleName)
 
bool DeleteUser (const Aws::String &userName)
 
bool DoesCredentialsFileExist (const Aws::String &credentialsFilename)
 
bool CreateCredentialsFileForUser (const Aws::String &credentialsFilename, const Aws::String &userName)
 
QueryResult GetIdentityPool (const Aws::String &poolName, Aws::String &identityPoolId)
 
bool CreateIdentityPool (const Aws::String &poolName, bool allowUnauthenticated, Aws::String &identityPoolId)
 
bool DeleteIdentityPool (const Aws::String &poolName)
 
QueryResult IsRoleBoundToIdentityPool (const Aws::String &identityPoolId, const Aws::String &roleArn, IdentityPoolRoleBindingType roleKey)
 
bool BindRoleToIdentityPool (const Aws::String &identityPoolId, const Aws::String &roleArn, IdentityPoolRoleBindingType roleKey)
 

Static Public Member Functions

static Aws::String ExtractAccountIdFromArn (const Aws::String &arn)
 

Detailed Description

Definition at line 54 of file AccessManagementClient.h.

Member Typedef Documentation

◆ PolicyGeneratorFunction

Definition at line 61 of file AccessManagementClient.h.

Constructor & Destructor Documentation

◆ AccessManagementClient()

Aws::AccessManagement::AccessManagementClient::AccessManagementClient ( std::shared_ptr< Aws::IAM::IAMClient > &  iamClient,
std::shared_ptr< Aws::CognitoIdentity::CognitoIdentityClient > &  cognitoClient 
)

◆ ~AccessManagementClient()

Aws::AccessManagement::AccessManagementClient::~AccessManagementClient ( )

Member Function Documentation

◆ AddUserToGroup()

bool Aws::AccessManagement::AccessManagementClient::AddUserToGroup ( const Aws::String userName,
const Aws::String groupName 
)

◆ AddUserToGroupIfNot()

bool Aws::AccessManagement::AccessManagementClient::AddUserToGroupIfNot ( const Aws::String userName,
const Aws::String groupName 
)

◆ AttachPolicyToGroup()

bool Aws::AccessManagement::AccessManagementClient::AttachPolicyToGroup ( const Aws::String policyArn,
const Aws::String groupName 
)

◆ AttachPolicyToGroupIfNot()

bool Aws::AccessManagement::AccessManagementClient::AttachPolicyToGroupIfNot ( const Aws::IAM::Model::Policy policyData,
const Aws::String groupName 
)

◆ AttachPolicyToRole()

bool Aws::AccessManagement::AccessManagementClient::AttachPolicyToRole ( const Aws::String policyArn,
const Aws::String roleName 
)

◆ AttachPolicyToRoleIfNot()

bool Aws::AccessManagement::AccessManagementClient::AttachPolicyToRoleIfNot ( const Aws::IAM::Model::Policy policyData,
const Aws::String roleName 
)

◆ AttachPolicyToUser()

bool Aws::AccessManagement::AccessManagementClient::AttachPolicyToUser ( const Aws::String policyArn,
const Aws::String userName 
)

◆ AttachPolicyToUserIfNot()

bool Aws::AccessManagement::AccessManagementClient::AttachPolicyToUserIfNot ( const Aws::IAM::Model::Policy policyData,
const Aws::String userName 
)

◆ BindRoleToIdentityPool()

bool Aws::AccessManagement::AccessManagementClient::BindRoleToIdentityPool ( const Aws::String identityPoolId,
const Aws::String roleArn,
IdentityPoolRoleBindingType  roleKey 
)

◆ BindRoleToIdentityPoolIfNot()

bool Aws::AccessManagement::AccessManagementClient::BindRoleToIdentityPoolIfNot ( const Aws::String identityPoolId,
const Aws::String roleArn,
IdentityPoolRoleBindingType  roleKey 
)

◆ CreateCredentialsFileForUser()

bool Aws::AccessManagement::AccessManagementClient::CreateCredentialsFileForUser ( const Aws::String credentialsFilename,
const Aws::String userName 
)

◆ CreateGroup()

bool Aws::AccessManagement::AccessManagementClient::CreateGroup ( const Aws::String groupName,
Aws::IAM::Model::Group groupData 
)

◆ CreateIdentityPool()

bool Aws::AccessManagement::AccessManagementClient::CreateIdentityPool ( const Aws::String poolName,
bool  allowUnauthenticated,
Aws::String identityPoolId 
)

◆ CreatePolicy()

bool Aws::AccessManagement::AccessManagementClient::CreatePolicy ( const Aws::String policyName,
const Aws::String policyDocument,
Aws::IAM::Model::Policy policyData 
)

◆ CreateRole()

bool Aws::AccessManagement::AccessManagementClient::CreateRole ( const Aws::String roleName,
const Aws::String assumedPolicyDocument,
Aws::IAM::Model::Role roleData 
)

◆ CreateUser()

bool Aws::AccessManagement::AccessManagementClient::CreateUser ( const Aws::String userName,
Aws::IAM::Model::User userData 
)

◆ DeleteGroup()

bool Aws::AccessManagement::AccessManagementClient::DeleteGroup ( const Aws::String groupName)

◆ DeleteIdentityPool()

bool Aws::AccessManagement::AccessManagementClient::DeleteIdentityPool ( const Aws::String poolName)

◆ DeletePolicy()

bool Aws::AccessManagement::AccessManagementClient::DeletePolicy ( const Aws::String policyName)

◆ DeleteRole()

bool Aws::AccessManagement::AccessManagementClient::DeleteRole ( const Aws::String roleName)

◆ DeleteUser()

bool Aws::AccessManagement::AccessManagementClient::DeleteUser ( const Aws::String userName)

◆ DetachPolicyFromGroup()

bool Aws::AccessManagement::AccessManagementClient::DetachPolicyFromGroup ( const Aws::String policyArn,
const Aws::String groupName 
)

◆ DetachPolicyFromRole()

bool Aws::AccessManagement::AccessManagementClient::DetachPolicyFromRole ( const Aws::String policyArn,
const Aws::String roleName 
)

◆ DetachPolicyFromUser()

bool Aws::AccessManagement::AccessManagementClient::DetachPolicyFromUser ( const Aws::String policyArn,
const Aws::String userName 
)

◆ DoesCredentialsFileExist()

bool Aws::AccessManagement::AccessManagementClient::DoesCredentialsFileExist ( const Aws::String credentialsFilename)

◆ ExtractAccountIdFromArn()

static Aws::String Aws::AccessManagement::AccessManagementClient::ExtractAccountIdFromArn ( const Aws::String arn)
static

◆ GetAccountId()

Aws::String Aws::AccessManagement::AccessManagementClient::GetAccountId ( )

◆ GetGroup()

QueryResult Aws::AccessManagement::AccessManagementClient::GetGroup ( const Aws::String groupName,
Aws::IAM::Model::Group groupData 
)

◆ GetIdentityPool()

QueryResult Aws::AccessManagement::AccessManagementClient::GetIdentityPool ( const Aws::String poolName,
Aws::String identityPoolId 
)

◆ GetOrCreateGroup()

bool Aws::AccessManagement::AccessManagementClient::GetOrCreateGroup ( const Aws::String groupName,
Aws::IAM::Model::Group groupData 
)

◆ GetOrCreateIdentityPool()

bool Aws::AccessManagement::AccessManagementClient::GetOrCreateIdentityPool ( const Aws::String poolName,
bool  allowUnauthenticated,
Aws::String identityPoolId 
)

◆ GetOrCreatePolicy()

bool Aws::AccessManagement::AccessManagementClient::GetOrCreatePolicy ( const Aws::String policyName,
const PolicyGeneratorFunction policyGenerator,
Aws::IAM::Model::Policy policyData 
)

◆ GetOrCreateRole()

bool Aws::AccessManagement::AccessManagementClient::GetOrCreateRole ( const Aws::String roleName,
const PolicyGeneratorFunction assumedPolicyGenerator,
Aws::IAM::Model::Role roleData 
)

◆ GetOrCreateUser()

bool Aws::AccessManagement::AccessManagementClient::GetOrCreateUser ( const Aws::String userName,
Aws::IAM::Model::User userData 
)

◆ GetPolicy()

QueryResult Aws::AccessManagement::AccessManagementClient::GetPolicy ( const Aws::String policyName,
Aws::IAM::Model::Policy policyData 
)

◆ GetRole()

QueryResult Aws::AccessManagement::AccessManagementClient::GetRole ( const Aws::String roleName,
Aws::IAM::Model::Role roleData 
)

◆ GetUser()

QueryResult Aws::AccessManagement::AccessManagementClient::GetUser ( const Aws::String userName,
Aws::IAM::Model::User userData 
)

◆ IsPolicyAttachedToGroup()

QueryResult Aws::AccessManagement::AccessManagementClient::IsPolicyAttachedToGroup ( const Aws::String policyName,
const Aws::String groupName 
)

◆ IsPolicyAttachedToRole()

QueryResult Aws::AccessManagement::AccessManagementClient::IsPolicyAttachedToRole ( const Aws::String policyName,
const Aws::String roleName 
)

◆ IsPolicyAttachedToUser()

QueryResult Aws::AccessManagement::AccessManagementClient::IsPolicyAttachedToUser ( const Aws::String policyName,
const Aws::String userName 
)

◆ IsRoleBoundToIdentityPool()

QueryResult Aws::AccessManagement::AccessManagementClient::IsRoleBoundToIdentityPool ( const Aws::String identityPoolId,
const Aws::String roleArn,
IdentityPoolRoleBindingType  roleKey 
)

◆ IsUserInGroup()

QueryResult Aws::AccessManagement::AccessManagementClient::IsUserInGroup ( const Aws::String userName,
const Aws::String groupName 
)

◆ RemoveUserFromGroup()

bool Aws::AccessManagement::AccessManagementClient::RemoveUserFromGroup ( const Aws::String userName,
const Aws::String groupName 
)

◆ VerifyOrCreateCredentialsFileForUser()

bool Aws::AccessManagement::AccessManagementClient::VerifyOrCreateCredentialsFileForUser ( const Aws::String credentialsFilename,
const Aws::String userName 
)

The documentation for this class was generated from the following file: