iam

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Activities

type Activities struct {
	// contains filtered or unexported fields
}

func NewActivities

func NewActivities(sess *session.Session, config ...*aws.Config) *Activities

func NewActivitiesWithSessionFactory

func NewActivitiesWithSessionFactory(sessionFactory SessionFactory) *Activities

func (*Activities) AddRoleToInstanceProfile

func (*Activities) AddUserToGroup

func (a *Activities) AddUserToGroup(ctx context.Context, input *iam.AddUserToGroupInput) (*iam.AddUserToGroupOutput, error)

func (*Activities) AttachGroupPolicy

func (a *Activities) AttachGroupPolicy(ctx context.Context, input *iam.AttachGroupPolicyInput) (*iam.AttachGroupPolicyOutput, error)

func (*Activities) AttachRolePolicy

func (a *Activities) AttachRolePolicy(ctx context.Context, input *iam.AttachRolePolicyInput) (*iam.AttachRolePolicyOutput, error)

func (*Activities) AttachUserPolicy

func (a *Activities) AttachUserPolicy(ctx context.Context, input *iam.AttachUserPolicyInput) (*iam.AttachUserPolicyOutput, error)

func (*Activities) ChangePassword

func (a *Activities) ChangePassword(ctx context.Context, input *iam.ChangePasswordInput) (*iam.ChangePasswordOutput, error)

func (*Activities) CreateAccessKey

func (a *Activities) CreateAccessKey(ctx context.Context, input *iam.CreateAccessKeyInput) (*iam.CreateAccessKeyOutput, error)

func (*Activities) CreateAccountAlias

func (a *Activities) CreateAccountAlias(ctx context.Context, input *iam.CreateAccountAliasInput) (*iam.CreateAccountAliasOutput, error)

func (*Activities) CreateGroup

func (a *Activities) CreateGroup(ctx context.Context, input *iam.CreateGroupInput) (*iam.CreateGroupOutput, error)

func (*Activities) CreateInstanceProfile

func (*Activities) CreateLoginProfile

func (a *Activities) CreateLoginProfile(ctx context.Context, input *iam.CreateLoginProfileInput) (*iam.CreateLoginProfileOutput, error)

func (*Activities) CreatePolicy

func (a *Activities) CreatePolicy(ctx context.Context, input *iam.CreatePolicyInput) (*iam.CreatePolicyOutput, error)

func (*Activities) CreatePolicyVersion

func (a *Activities) CreatePolicyVersion(ctx context.Context, input *iam.CreatePolicyVersionInput) (*iam.CreatePolicyVersionOutput, error)

func (*Activities) CreateRole

func (a *Activities) CreateRole(ctx context.Context, input *iam.CreateRoleInput) (*iam.CreateRoleOutput, error)

func (*Activities) CreateSAMLProvider

func (a *Activities) CreateSAMLProvider(ctx context.Context, input *iam.CreateSAMLProviderInput) (*iam.CreateSAMLProviderOutput, error)

func (*Activities) CreateServiceLinkedRole

func (*Activities) CreateUser

func (a *Activities) CreateUser(ctx context.Context, input *iam.CreateUserInput) (*iam.CreateUserOutput, error)

func (*Activities) CreateVirtualMFADevice

func (*Activities) DeactivateMFADevice

func (a *Activities) DeactivateMFADevice(ctx context.Context, input *iam.DeactivateMFADeviceInput) (*iam.DeactivateMFADeviceOutput, error)

func (*Activities) DeleteAccessKey

func (a *Activities) DeleteAccessKey(ctx context.Context, input *iam.DeleteAccessKeyInput) (*iam.DeleteAccessKeyOutput, error)

func (*Activities) DeleteAccountAlias

func (a *Activities) DeleteAccountAlias(ctx context.Context, input *iam.DeleteAccountAliasInput) (*iam.DeleteAccountAliasOutput, error)

func (*Activities) DeleteGroup

func (a *Activities) DeleteGroup(ctx context.Context, input *iam.DeleteGroupInput) (*iam.DeleteGroupOutput, error)

func (*Activities) DeleteGroupPolicy

func (a *Activities) DeleteGroupPolicy(ctx context.Context, input *iam.DeleteGroupPolicyInput) (*iam.DeleteGroupPolicyOutput, error)

func (*Activities) DeleteInstanceProfile

func (*Activities) DeleteLoginProfile

func (a *Activities) DeleteLoginProfile(ctx context.Context, input *iam.DeleteLoginProfileInput) (*iam.DeleteLoginProfileOutput, error)

func (*Activities) DeletePolicy

func (a *Activities) DeletePolicy(ctx context.Context, input *iam.DeletePolicyInput) (*iam.DeletePolicyOutput, error)

func (*Activities) DeletePolicyVersion

func (a *Activities) DeletePolicyVersion(ctx context.Context, input *iam.DeletePolicyVersionInput) (*iam.DeletePolicyVersionOutput, error)

func (*Activities) DeleteRole

func (a *Activities) DeleteRole(ctx context.Context, input *iam.DeleteRoleInput) (*iam.DeleteRoleOutput, error)

func (*Activities) DeleteRolePolicy

func (a *Activities) DeleteRolePolicy(ctx context.Context, input *iam.DeleteRolePolicyInput) (*iam.DeleteRolePolicyOutput, error)

func (*Activities) DeleteSAMLProvider

func (a *Activities) DeleteSAMLProvider(ctx context.Context, input *iam.DeleteSAMLProviderInput) (*iam.DeleteSAMLProviderOutput, error)

func (*Activities) DeleteSSHPublicKey

func (a *Activities) DeleteSSHPublicKey(ctx context.Context, input *iam.DeleteSSHPublicKeyInput) (*iam.DeleteSSHPublicKeyOutput, error)

func (*Activities) DeleteServerCertificate

func (*Activities) DeleteServiceLinkedRole

func (*Activities) DeleteSigningCertificate

func (*Activities) DeleteUser

func (a *Activities) DeleteUser(ctx context.Context, input *iam.DeleteUserInput) (*iam.DeleteUserOutput, error)

func (*Activities) DeleteUserPolicy

func (a *Activities) DeleteUserPolicy(ctx context.Context, input *iam.DeleteUserPolicyInput) (*iam.DeleteUserPolicyOutput, error)

func (*Activities) DeleteVirtualMFADevice

func (*Activities) DetachGroupPolicy

func (a *Activities) DetachGroupPolicy(ctx context.Context, input *iam.DetachGroupPolicyInput) (*iam.DetachGroupPolicyOutput, error)

func (*Activities) DetachRolePolicy

func (a *Activities) DetachRolePolicy(ctx context.Context, input *iam.DetachRolePolicyInput) (*iam.DetachRolePolicyOutput, error)

func (*Activities) DetachUserPolicy

func (a *Activities) DetachUserPolicy(ctx context.Context, input *iam.DetachUserPolicyInput) (*iam.DetachUserPolicyOutput, error)

func (*Activities) EnableMFADevice

func (a *Activities) EnableMFADevice(ctx context.Context, input *iam.EnableMFADeviceInput) (*iam.EnableMFADeviceOutput, error)

func (*Activities) GenerateCredentialReport

func (*Activities) GetAccessKeyLastUsed

func (*Activities) GetAccountPasswordPolicy

func (*Activities) GetAccountSummary

func (a *Activities) GetAccountSummary(ctx context.Context, input *iam.GetAccountSummaryInput) (*iam.GetAccountSummaryOutput, error)

func (*Activities) GetCredentialReport

func (a *Activities) GetCredentialReport(ctx context.Context, input *iam.GetCredentialReportInput) (*iam.GetCredentialReportOutput, error)

func (*Activities) GetGroup

func (a *Activities) GetGroup(ctx context.Context, input *iam.GetGroupInput) (*iam.GetGroupOutput, error)

func (*Activities) GetGroupPolicy

func (a *Activities) GetGroupPolicy(ctx context.Context, input *iam.GetGroupPolicyInput) (*iam.GetGroupPolicyOutput, error)

func (*Activities) GetInstanceProfile

func (a *Activities) GetInstanceProfile(ctx context.Context, input *iam.GetInstanceProfileInput) (*iam.GetInstanceProfileOutput, error)

func (*Activities) GetLoginProfile

func (a *Activities) GetLoginProfile(ctx context.Context, input *iam.GetLoginProfileInput) (*iam.GetLoginProfileOutput, error)

func (*Activities) GetOpenIDConnectProvider

func (*Activities) GetPolicy

func (a *Activities) GetPolicy(ctx context.Context, input *iam.GetPolicyInput) (*iam.GetPolicyOutput, error)

func (*Activities) GetPolicyVersion

func (a *Activities) GetPolicyVersion(ctx context.Context, input *iam.GetPolicyVersionInput) (*iam.GetPolicyVersionOutput, error)

func (*Activities) GetRole

func (a *Activities) GetRole(ctx context.Context, input *iam.GetRoleInput) (*iam.GetRoleOutput, error)

func (*Activities) GetRolePolicy

func (a *Activities) GetRolePolicy(ctx context.Context, input *iam.GetRolePolicyInput) (*iam.GetRolePolicyOutput, error)

func (*Activities) GetSAMLProvider

func (a *Activities) GetSAMLProvider(ctx context.Context, input *iam.GetSAMLProviderInput) (*iam.GetSAMLProviderOutput, error)

func (*Activities) GetSSHPublicKey

func (a *Activities) GetSSHPublicKey(ctx context.Context, input *iam.GetSSHPublicKeyInput) (*iam.GetSSHPublicKeyOutput, error)

func (*Activities) GetServerCertificate

func (*Activities) GetUser

func (a *Activities) GetUser(ctx context.Context, input *iam.GetUserInput) (*iam.GetUserOutput, error)

func (*Activities) GetUserPolicy

func (a *Activities) GetUserPolicy(ctx context.Context, input *iam.GetUserPolicyInput) (*iam.GetUserPolicyOutput, error)

func (*Activities) ListAccessKeys

func (a *Activities) ListAccessKeys(ctx context.Context, input *iam.ListAccessKeysInput) (*iam.ListAccessKeysOutput, error)

func (*Activities) ListAccountAliases

func (a *Activities) ListAccountAliases(ctx context.Context, input *iam.ListAccountAliasesInput) (*iam.ListAccountAliasesOutput, error)

func (*Activities) ListAttachedGroupPolicies

func (*Activities) ListAttachedRolePolicies

func (*Activities) ListAttachedUserPolicies

func (*Activities) ListEntitiesForPolicy

func (*Activities) ListGroupPolicies

func (a *Activities) ListGroupPolicies(ctx context.Context, input *iam.ListGroupPoliciesInput) (*iam.ListGroupPoliciesOutput, error)

func (*Activities) ListGroups

func (a *Activities) ListGroups(ctx context.Context, input *iam.ListGroupsInput) (*iam.ListGroupsOutput, error)

func (*Activities) ListGroupsForUser

func (a *Activities) ListGroupsForUser(ctx context.Context, input *iam.ListGroupsForUserInput) (*iam.ListGroupsForUserOutput, error)

func (*Activities) ListInstanceProfiles

func (*Activities) ListMFADevices

func (a *Activities) ListMFADevices(ctx context.Context, input *iam.ListMFADevicesInput) (*iam.ListMFADevicesOutput, error)

func (*Activities) ListOpenIDConnectProviders

func (*Activities) ListPolicies

func (a *Activities) ListPolicies(ctx context.Context, input *iam.ListPoliciesInput) (*iam.ListPoliciesOutput, error)

func (*Activities) ListPolicyVersions

func (a *Activities) ListPolicyVersions(ctx context.Context, input *iam.ListPolicyVersionsInput) (*iam.ListPolicyVersionsOutput, error)

func (*Activities) ListRolePolicies

func (a *Activities) ListRolePolicies(ctx context.Context, input *iam.ListRolePoliciesInput) (*iam.ListRolePoliciesOutput, error)

func (*Activities) ListRoleTags

func (a *Activities) ListRoleTags(ctx context.Context, input *iam.ListRoleTagsInput) (*iam.ListRoleTagsOutput, error)

func (*Activities) ListRoles

func (a *Activities) ListRoles(ctx context.Context, input *iam.ListRolesInput) (*iam.ListRolesOutput, error)

func (*Activities) ListSAMLProviders

func (a *Activities) ListSAMLProviders(ctx context.Context, input *iam.ListSAMLProvidersInput) (*iam.ListSAMLProvidersOutput, error)

func (*Activities) ListSSHPublicKeys

func (a *Activities) ListSSHPublicKeys(ctx context.Context, input *iam.ListSSHPublicKeysInput) (*iam.ListSSHPublicKeysOutput, error)

func (*Activities) ListServerCertificates

func (*Activities) ListSigningCertificates

func (*Activities) ListUserPolicies

func (a *Activities) ListUserPolicies(ctx context.Context, input *iam.ListUserPoliciesInput) (*iam.ListUserPoliciesOutput, error)

func (*Activities) ListUserTags

func (a *Activities) ListUserTags(ctx context.Context, input *iam.ListUserTagsInput) (*iam.ListUserTagsOutput, error)

func (*Activities) ListUsers

func (a *Activities) ListUsers(ctx context.Context, input *iam.ListUsersInput) (*iam.ListUsersOutput, error)

func (*Activities) ListVirtualMFADevices

func (*Activities) PutGroupPolicy

func (a *Activities) PutGroupPolicy(ctx context.Context, input *iam.PutGroupPolicyInput) (*iam.PutGroupPolicyOutput, error)

func (*Activities) PutRolePermissionsBoundary

func (*Activities) PutRolePolicy

func (a *Activities) PutRolePolicy(ctx context.Context, input *iam.PutRolePolicyInput) (*iam.PutRolePolicyOutput, error)

func (*Activities) PutUserPermissionsBoundary

func (*Activities) PutUserPolicy

func (a *Activities) PutUserPolicy(ctx context.Context, input *iam.PutUserPolicyInput) (*iam.PutUserPolicyOutput, error)

func (*Activities) RemoveUserFromGroup

func (a *Activities) RemoveUserFromGroup(ctx context.Context, input *iam.RemoveUserFromGroupInput) (*iam.RemoveUserFromGroupOutput, error)

func (*Activities) ResyncMFADevice

func (a *Activities) ResyncMFADevice(ctx context.Context, input *iam.ResyncMFADeviceInput) (*iam.ResyncMFADeviceOutput, error)

func (*Activities) SetDefaultPolicyVersion

func (*Activities) SimulateCustomPolicy

func (a *Activities) SimulateCustomPolicy(ctx context.Context, input *iam.SimulateCustomPolicyInput) (*iam.SimulatePolicyResponse, error)

func (*Activities) SimulatePrincipalPolicy

func (a *Activities) SimulatePrincipalPolicy(ctx context.Context, input *iam.SimulatePrincipalPolicyInput) (*iam.SimulatePolicyResponse, error)

func (*Activities) TagRole

func (a *Activities) TagRole(ctx context.Context, input *iam.TagRoleInput) (*iam.TagRoleOutput, error)

func (*Activities) TagUser

func (a *Activities) TagUser(ctx context.Context, input *iam.TagUserInput) (*iam.TagUserOutput, error)

func (*Activities) UntagRole

func (a *Activities) UntagRole(ctx context.Context, input *iam.UntagRoleInput) (*iam.UntagRoleOutput, error)

func (*Activities) UntagUser

func (a *Activities) UntagUser(ctx context.Context, input *iam.UntagUserInput) (*iam.UntagUserOutput, error)

func (*Activities) UpdateAccessKey

func (a *Activities) UpdateAccessKey(ctx context.Context, input *iam.UpdateAccessKeyInput) (*iam.UpdateAccessKeyOutput, error)

func (*Activities) UpdateAssumeRolePolicy

func (*Activities) UpdateGroup

func (a *Activities) UpdateGroup(ctx context.Context, input *iam.UpdateGroupInput) (*iam.UpdateGroupOutput, error)

func (*Activities) UpdateLoginProfile

func (a *Activities) UpdateLoginProfile(ctx context.Context, input *iam.UpdateLoginProfileInput) (*iam.UpdateLoginProfileOutput, error)

func (*Activities) UpdateRole

func (a *Activities) UpdateRole(ctx context.Context, input *iam.UpdateRoleInput) (*iam.UpdateRoleOutput, error)

func (*Activities) UpdateRoleDescription

func (*Activities) UpdateSAMLProvider

func (a *Activities) UpdateSAMLProvider(ctx context.Context, input *iam.UpdateSAMLProviderInput) (*iam.UpdateSAMLProviderOutput, error)

func (*Activities) UpdateSSHPublicKey

func (a *Activities) UpdateSSHPublicKey(ctx context.Context, input *iam.UpdateSSHPublicKeyInput) (*iam.UpdateSSHPublicKeyOutput, error)

func (*Activities) UpdateServerCertificate

func (*Activities) UpdateSigningCertificate

func (*Activities) UpdateUser

func (a *Activities) UpdateUser(ctx context.Context, input *iam.UpdateUserInput) (*iam.UpdateUserOutput, error)

func (*Activities) UploadSSHPublicKey

func (a *Activities) UploadSSHPublicKey(ctx context.Context, input *iam.UploadSSHPublicKeyInput) (*iam.UploadSSHPublicKeyOutput, error)

func (*Activities) UploadServerCertificate

func (*Activities) UploadSigningCertificate

func (*Activities) WaitUntilInstanceProfileExists

func (a *Activities) WaitUntilInstanceProfileExists(ctx context.Context, input *iam.GetInstanceProfileInput) error

func (*Activities) WaitUntilPolicyExists

func (a *Activities) WaitUntilPolicyExists(ctx context.Context, input *iam.GetPolicyInput) error

func (*Activities) WaitUntilRoleExists

func (a *Activities) WaitUntilRoleExists(ctx context.Context, input *iam.GetRoleInput) error

func (*Activities) WaitUntilUserExists

func (a *Activities) WaitUntilUserExists(ctx context.Context, input *iam.GetUserInput) error

type SessionFactory

type SessionFactory interface {
	Session(ctx context.Context) (*session.Session, error)
}

SessionFactory returns an aws.Session based on the activity context.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL