package
1.55.6
Repository: https://github.com/aws/aws-sdk-go.git
Documentation: pkg.go.dev

# Packages

Package iamiface provides an interface to enable mocking the AWS Identity and Access Management service client for testing your code.

# Functions

AccessAdvisorUsageGranularityType_Values returns all elements of the AccessAdvisorUsageGranularityType enum.
AssignmentStatusType_Values returns all elements of the AssignmentStatusType enum.
ContextKeyTypeEnum_Values returns all elements of the ContextKeyTypeEnum enum.
DeletionTaskStatusType_Values returns all elements of the DeletionTaskStatusType enum.
EncodingType_Values returns all elements of the EncodingType enum.
EntityType_Values returns all elements of the EntityType enum.
GlobalEndpointTokenVersion_Values returns all elements of the GlobalEndpointTokenVersion enum.
JobStatusType_Values returns all elements of the JobStatusType enum.
New creates a new instance of the IAM client with a session.
PermissionsBoundaryAttachmentType_Values returns all elements of the PermissionsBoundaryAttachmentType enum.
PolicyEvaluationDecisionType_Values returns all elements of the PolicyEvaluationDecisionType enum.
PolicyOwnerEntityType_Values returns all elements of the PolicyOwnerEntityType enum.
PolicyScopeType_Values returns all elements of the PolicyScopeType enum.
PolicySourceType_Values returns all elements of the PolicySourceType enum.
PolicyType_Values returns all elements of the PolicyType enum.
PolicyUsageType_Values returns all elements of the PolicyUsageType enum.
ReportFormatType_Values returns all elements of the ReportFormatType enum.
ReportStateType_Values returns all elements of the ReportStateType enum.
SortKeyType_Values returns all elements of the SortKeyType enum.
StatusType_Values returns all elements of the StatusType enum.
SummaryKeyType_Values returns all elements of the SummaryKeyType enum.

# Constants

AccessAdvisorUsageGranularityTypeActionLevel is a AccessAdvisorUsageGranularityType enum value.
AccessAdvisorUsageGranularityTypeServiceLevel is a AccessAdvisorUsageGranularityType enum value.
AssignmentStatusTypeAny is a AssignmentStatusType enum value.
AssignmentStatusTypeAssigned is a AssignmentStatusType enum value.
AssignmentStatusTypeUnassigned is a AssignmentStatusType enum value.
ContextKeyTypeEnumBinary is a ContextKeyTypeEnum enum value.
ContextKeyTypeEnumBinaryList is a ContextKeyTypeEnum enum value.
ContextKeyTypeEnumBoolean is a ContextKeyTypeEnum enum value.
ContextKeyTypeEnumBooleanList is a ContextKeyTypeEnum enum value.
ContextKeyTypeEnumDate is a ContextKeyTypeEnum enum value.
ContextKeyTypeEnumDateList is a ContextKeyTypeEnum enum value.
ContextKeyTypeEnumIp is a ContextKeyTypeEnum enum value.
ContextKeyTypeEnumIpList is a ContextKeyTypeEnum enum value.
ContextKeyTypeEnumNumeric is a ContextKeyTypeEnum enum value.
ContextKeyTypeEnumNumericList is a ContextKeyTypeEnum enum value.
ContextKeyTypeEnumString is a ContextKeyTypeEnum enum value.
ContextKeyTypeEnumStringList is a ContextKeyTypeEnum enum value.
DeletionTaskStatusTypeFailed is a DeletionTaskStatusType enum value.
DeletionTaskStatusTypeInProgress is a DeletionTaskStatusType enum value.
DeletionTaskStatusTypeNotStarted is a DeletionTaskStatusType enum value.
DeletionTaskStatusTypeSucceeded is a DeletionTaskStatusType enum value.
EncodingTypePem is a EncodingType enum value.
EncodingTypeSsh is a EncodingType enum value.
ID to lookup a service endpoint with.
EntityTypeAwsmanagedPolicy is a EntityType enum value.
EntityTypeGroup is a EntityType enum value.
EntityTypeLocalManagedPolicy is a EntityType enum value.
EntityTypeRole is a EntityType enum value.
EntityTypeUser is a EntityType enum value.
ErrCodeConcurrentModificationException for service response error code "ConcurrentModification".
ErrCodeCredentialReportExpiredException for service response error code "ReportExpired".
ErrCodeCredentialReportNotPresentException for service response error code "ReportNotPresent".
ErrCodeCredentialReportNotReadyException for service response error code "ReportInProgress".
ErrCodeDeleteConflictException for service response error code "DeleteConflict".
ErrCodeDuplicateCertificateException for service response error code "DuplicateCertificate".
ErrCodeDuplicateSSHPublicKeyException for service response error code "DuplicateSSHPublicKey".
ErrCodeEntityAlreadyExistsException for service response error code "EntityAlreadyExists".
ErrCodeEntityTemporarilyUnmodifiableException for service response error code "EntityTemporarilyUnmodifiable".
ErrCodeInvalidAuthenticationCodeException for service response error code "InvalidAuthenticationCode".
ErrCodeInvalidCertificateException for service response error code "InvalidCertificate".
ErrCodeInvalidInputException for service response error code "InvalidInput".
ErrCodeInvalidPublicKeyException for service response error code "InvalidPublicKey".
ErrCodeInvalidUserTypeException for service response error code "InvalidUserType".
ErrCodeKeyPairMismatchException for service response error code "KeyPairMismatch".
ErrCodeLimitExceededException for service response error code "LimitExceeded".
ErrCodeMalformedCertificateException for service response error code "MalformedCertificate".
ErrCodeMalformedPolicyDocumentException for service response error code "MalformedPolicyDocument".
ErrCodeNoSuchEntityException for service response error code "NoSuchEntity".
ErrCodeOpenIdIdpCommunicationErrorException for service response error code "OpenIdIdpCommunicationError".
ErrCodePasswordPolicyViolationException for service response error code "PasswordPolicyViolation".
ErrCodePolicyEvaluationException for service response error code "PolicyEvaluation".
ErrCodePolicyNotAttachableException for service response error code "PolicyNotAttachable".
ErrCodeReportGenerationLimitExceededException for service response error code "ReportGenerationLimitExceeded".
ErrCodeServiceFailureException for service response error code "ServiceFailure".
ErrCodeServiceNotSupportedException for service response error code "NotSupportedService".
ErrCodeUnmodifiableEntityException for service response error code "UnmodifiableEntity".
ErrCodeUnrecognizedPublicKeyEncodingException for service response error code "UnrecognizedPublicKeyEncoding".
GlobalEndpointTokenVersionV1token is a GlobalEndpointTokenVersion enum value.
GlobalEndpointTokenVersionV2token is a GlobalEndpointTokenVersion enum value.
JobStatusTypeCompleted is a JobStatusType enum value.
JobStatusTypeFailed is a JobStatusType enum value.
JobStatusTypeInProgress is a JobStatusType enum value.
PermissionsBoundaryAttachmentTypePermissionsBoundaryPolicy is a PermissionsBoundaryAttachmentType enum value.
PolicyEvaluationDecisionTypeAllowed is a PolicyEvaluationDecisionType enum value.
PolicyEvaluationDecisionTypeExplicitDeny is a PolicyEvaluationDecisionType enum value.
PolicyEvaluationDecisionTypeImplicitDeny is a PolicyEvaluationDecisionType enum value.
PolicyOwnerEntityTypeGroup is a PolicyOwnerEntityType enum value.
PolicyOwnerEntityTypeRole is a PolicyOwnerEntityType enum value.
PolicyOwnerEntityTypeUser is a PolicyOwnerEntityType enum value.
PolicyScopeTypeAll is a PolicyScopeType enum value.
PolicyScopeTypeAws is a PolicyScopeType enum value.
PolicyScopeTypeLocal is a PolicyScopeType enum value.
PolicySourceTypeAwsManaged is a PolicySourceType enum value.
PolicySourceTypeGroup is a PolicySourceType enum value.
PolicySourceTypeNone is a PolicySourceType enum value.
PolicySourceTypeResource is a PolicySourceType enum value.
PolicySourceTypeRole is a PolicySourceType enum value.
PolicySourceTypeUser is a PolicySourceType enum value.
PolicySourceTypeUserManaged is a PolicySourceType enum value.
PolicyTypeInline is a PolicyType enum value.
PolicyTypeManaged is a PolicyType enum value.
PolicyUsageTypePermissionsBoundary is a PolicyUsageType enum value.
PolicyUsageTypePermissionsPolicy is a PolicyUsageType enum value.
ReportFormatTypeTextCsv is a ReportFormatType enum value.
ReportStateTypeComplete is a ReportStateType enum value.
ReportStateTypeInprogress is a ReportStateType enum value.
ReportStateTypeStarted is a ReportStateType enum value.
ServiceID is a unique identifier of a specific service.
Name of service.
SortKeyTypeLastAuthenticatedTimeAscending is a SortKeyType enum value.
SortKeyTypeLastAuthenticatedTimeDescending is a SortKeyType enum value.
SortKeyTypeServiceNamespaceAscending is a SortKeyType enum value.
SortKeyTypeServiceNamespaceDescending is a SortKeyType enum value.
StatusTypeActive is a StatusType enum value.
StatusTypeInactive is a StatusType enum value.
SummaryKeyTypeAccessKeysPerUserQuota is a SummaryKeyType enum value.
SummaryKeyTypeAccountAccessKeysPresent is a SummaryKeyType enum value.
SummaryKeyTypeAccountMfaenabled is a SummaryKeyType enum value.
SummaryKeyTypeAccountSigningCertificatesPresent is a SummaryKeyType enum value.
SummaryKeyTypeAttachedPoliciesPerGroupQuota is a SummaryKeyType enum value.
SummaryKeyTypeAttachedPoliciesPerRoleQuota is a SummaryKeyType enum value.
SummaryKeyTypeAttachedPoliciesPerUserQuota is a SummaryKeyType enum value.
SummaryKeyTypeGlobalEndpointTokenVersion is a SummaryKeyType enum value.
SummaryKeyTypeGroupPolicySizeQuota is a SummaryKeyType enum value.
SummaryKeyTypeGroups is a SummaryKeyType enum value.
SummaryKeyTypeGroupsPerUserQuota is a SummaryKeyType enum value.
SummaryKeyTypeGroupsQuota is a SummaryKeyType enum value.
SummaryKeyTypeMfadevices is a SummaryKeyType enum value.
SummaryKeyTypeMfadevicesInUse is a SummaryKeyType enum value.
SummaryKeyTypePolicies is a SummaryKeyType enum value.
SummaryKeyTypePoliciesQuota is a SummaryKeyType enum value.
SummaryKeyTypePolicySizeQuota is a SummaryKeyType enum value.
SummaryKeyTypePolicyVersionsInUse is a SummaryKeyType enum value.
SummaryKeyTypePolicyVersionsInUseQuota is a SummaryKeyType enum value.
SummaryKeyTypeServerCertificates is a SummaryKeyType enum value.
SummaryKeyTypeServerCertificatesQuota is a SummaryKeyType enum value.
SummaryKeyTypeSigningCertificatesPerUserQuota is a SummaryKeyType enum value.
SummaryKeyTypeUserPolicySizeQuota is a SummaryKeyType enum value.
SummaryKeyTypeUsers is a SummaryKeyType enum value.
SummaryKeyTypeUsersQuota is a SummaryKeyType enum value.
SummaryKeyTypeVersionsPerPolicyQuota is a SummaryKeyType enum value.

# Structs

An object that contains details about when a principal in the reported Organizations entity last attempted to access an Amazon Web Services service.
Contains information about an Amazon Web Services access key.
Contains information about the last time an Amazon Web Services access key was used since IAM began tracking this information on April 22, 2015.
Contains information about an Amazon Web Services access key, without its secret key.
Contains information about an attached permissions boundary.
Contains information about an attached policy.
Contains information about a condition context key.
Contains the response to a successful CreateAccessKey request.
Contains the response to a successful CreateGroup request.
Contains the response to a successful CreateInstanceProfile request.
Contains the response to a successful CreateLoginProfile request.
Contains the response to a successful CreateOpenIDConnectProvider request.
Contains the response to a successful CreatePolicy request.
Contains the response to a successful CreatePolicyVersion request.
Contains the response to a successful CreateRole request.
Contains the response to a successful CreateSAMLProvider request.
Contains the response to a successful CreateUser request.
Contains the response to a successful CreateVirtualMFADevice request.
The reason that the service-linked role deletion failed.
An object that contains details about when the IAM entities (users or roles) were last used in an attempt to access the specified Amazon Web Services service.
Contains details about the specified entity (user or role).
Contains information about the reason that the operation failed.
Contains the results of a simulation.
Contains the response to a successful GenerateCredentialReport request.
Contains the response to a successful GetAccessKeyLastUsed request.
Contains the response to a successful GetAccountAuthorizationDetails request.
Contains the response to a successful GetAccountPasswordPolicy request.
Contains the response to a successful GetAccountSummary request.
Contains the response to a successful GetContextKeysForPrincipalPolicy or GetContextKeysForCustomPolicy request.
Contains the response to a successful GetCredentialReport request.
Contains the response to a successful GetGroup request.
Contains the response to a successful GetGroupPolicy request.
Contains the response to a successful GetInstanceProfile request.
Contains the response to a successful GetLoginProfile request.
Contains the response to a successful GetOpenIDConnectProvider request.
Contains the response to a successful GetPolicy request.
Contains the response to a successful GetPolicyVersion request.
Contains the response to a successful GetRole request.
Contains the response to a successful GetRolePolicy request.
Contains the response to a successful GetSAMLProvider request.
Contains the response to a successful GetServerCertificate request.
Contains the response to a successful GetSSHPublicKey request.
Contains the response to a successful GetUser request.
Contains the response to a successful GetUserPolicy request.
Contains information about an IAM group entity.
Contains information about an IAM group, including all of the group's policies.
IAM provides the API operation methods for making requests to AWS Identity and Access Management.
Contains information about an instance profile.
Contains the response to a successful ListAccessKeys request.
Contains the response to a successful ListAccountAliases request.
Contains the response to a successful ListAttachedGroupPolicies request.
Contains the response to a successful ListAttachedRolePolicies request.
Contains the response to a successful ListAttachedUserPolicies request.
Contains the response to a successful ListEntitiesForPolicy request.
Contains the response to a successful ListGroupPolicies request.
Contains the response to a successful ListGroupsForUser request.
Contains the response to a successful ListGroups request.
Contains the response to a successful ListInstanceProfilesForRole request.
Contains the response to a successful ListInstanceProfiles request.
Contains the response to a successful ListMFADevices request.
Contains the response to a successful ListOpenIDConnectProviders request.
Contains details about the permissions policies that are attached to the specified identity (user, group, or role).
Contains the response to a successful ListPolicies request.
Contains the response to a successful ListPolicyVersions request.
Contains the response to a successful ListRolePolicies request.
Contains the response to a successful ListRoles request.
Contains the response to a successful ListSAMLProviders request.
Contains the response to a successful ListServerCertificates request.
Contains the response to a successful ListSigningCertificates request.
Contains the response to a successful ListSSHPublicKeys request.
Contains the response to a successful ListUserPolicies request.
Contains the response to a successful ListUsers request.
Contains the response to a successful ListVirtualMFADevices request.
Contains the user name and password create date for a user.
Contains information about a managed policy, including the policy's ARN, versions, and the number of principal entities (users, groups, and roles) that the policy is attached to.
Contains information about an MFA device.
Contains the Amazon Resource Name (ARN) for an IAM OpenID Connect provider.
Contains information about the effect that Organizations has on a policy simulation.
Contains information about the account password policy.
Contains information about the effect that a permissions boundary has on a policy simulation when the boundary is applied to an IAM entity.
Contains information about a managed policy.
Contains information about an IAM policy, including the policy document.
Contains details about the permissions policies that are attached to the specified identity (user, group, or role).
Contains information about a group that a managed policy is attached to.
Contains information about a role that a managed policy is attached to.
Contains information about a user that a managed policy is attached to.
Contains information about a version of a managed policy.
Contains the row and column of a location of a Statement element in a policy document.
Contains the result of the simulation of a single API operation call on a single resource.
Contains information about an IAM role.
Contains information about an IAM role, including all of the role's policies.
Contains information about the last time that an IAM role was used.
An object that contains details about how a service-linked role is used, if that information is returned by the service.
Contains the list of SAML providers for this account.
Contains information about a server certificate.
Contains information about a server certificate without its certificate body, certificate chain, and private key.
Contains details about the most recent attempt to access the service.
Contains the details of a service-specific credential.
Contains additional details about a service-specific credential.
Contains information about an X.509 signing certificate.
Contains the response to a successful SimulatePrincipalPolicy or SimulateCustomPolicy request.
Contains information about an SSH public key.
Contains information about an SSH public key, without the key's body or fingerprint.
Contains a reference to a Statement element in a policy document that determines the result of the simulation.
A structure that represents user-provided metadata that can be associated with an IAM resource.
Contains details about the most recent attempt to access an action within the service.
Contains the response to a successful UpdateSAMLProvider request.
Contains the response to a successful UploadServerCertificate request.
Contains the response to a successful UploadSigningCertificate request.
Contains the response to a successful UploadSSHPublicKey request.
Contains information about an IAM user entity.
Contains information about an IAM user, including all the user's policies and all the IAM groups the user is in.
Contains information about a virtual MFA device.