Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Usage

import * as mod from "https://aws-api.deno.dev/v0.4/services/iam.ts?docs=full";

§Classes

IAM

§Interfaces

AccessDetail

An object that contains details about when a principal in the reported Organizations entity last attempted to access an Amazon Web Services service. A principal can be an IAM user, an IAM role, or the Amazon Web Services account root user within the reported Organizations entity.

AccessKey

Contains information about an Amazon Web Services access key.

AccessKeyLastUsed

Contains information about the last time an Amazon Web Services access key was used since IAM began tracking this information on April 22, 2015.

AccessKeyMetadata

Contains information about an Amazon Web Services access key, without its secret key.

AddClientIDToOpenIDConnectProviderRequest
AddRoleToInstanceProfileRequest
AddUserToGroupRequest
AttachedPermissionsBoundary

Contains information about an attached permissions boundary.

AttachedPolicy

Contains information about an attached policy.

AttachGroupPolicyRequest
AttachRolePolicyRequest
AttachUserPolicyRequest
ChangePasswordRequest
ContextEntry

Contains information about a condition context key. It includes the name of the key and specifies the value (or values, if the context key supports multiple values) to use in the simulation. This information is used when evaluating the Condition elements of the input policies.

CreateAccessKeyRequest
CreateAccessKeyResponse

Contains the response to a successful "CreateAccessKey" request.

CreateAccountAliasRequest
CreateGroupRequest
CreateGroupResponse

Contains the response to a successful "CreateGroup" request.

CreateInstanceProfileRequest
CreateInstanceProfileResponse

Contains the response to a successful "CreateInstanceProfile" request.

CreateLoginProfileRequest
CreateLoginProfileResponse

Contains the response to a successful "CreateLoginProfile" request.

CreateOpenIDConnectProviderRequest
CreateOpenIDConnectProviderResponse

Contains the response to a successful "CreateOpenIDConnectProvider" request.

CreatePolicyRequest
CreatePolicyResponse

Contains the response to a successful "CreatePolicy" request.

CreatePolicyVersionRequest
CreatePolicyVersionResponse

Contains the response to a successful "CreatePolicyVersion" request.

CreateRoleRequest
CreateRoleResponse

Contains the response to a successful "CreateRole" request.

CreateSAMLProviderRequest
CreateSAMLProviderResponse

Contains the response to a successful "CreateSAMLProvider" request.

CreateServiceLinkedRoleRequest
CreateServiceLinkedRoleResponse
CreateServiceSpecificCredentialRequest
CreateServiceSpecificCredentialResponse
CreateUserRequest
CreateUserResponse

Contains the response to a successful "CreateUser" request.

CreateVirtualMFADeviceRequest
CreateVirtualMFADeviceResponse

Contains the response to a successful "CreateVirtualMFADevice" request.

DeactivateMFADeviceRequest
DeleteAccessKeyRequest
DeleteAccountAliasRequest
DeleteGroupPolicyRequest
DeleteGroupRequest
DeleteInstanceProfileRequest
DeleteLoginProfileRequest
DeleteOpenIDConnectProviderRequest
DeletePolicyRequest
DeletePolicyVersionRequest
DeleteRolePermissionsBoundaryRequest
DeleteRolePolicyRequest
DeleteRoleRequest
DeleteSAMLProviderRequest
DeleteServerCertificateRequest
DeleteServiceLinkedRoleRequest
DeleteServiceLinkedRoleResponse
DeleteServiceSpecificCredentialRequest
DeleteSigningCertificateRequest
DeleteSSHPublicKeyRequest
DeleteUserPermissionsBoundaryRequest
DeleteUserPolicyRequest
DeleteUserRequest
DeleteVirtualMFADeviceRequest
DeletionTaskFailureReasonType

The reason that the service-linked role deletion failed.

DetachGroupPolicyRequest
DetachRolePolicyRequest
DetachUserPolicyRequest
EnableMFADeviceRequest
EntityDetails

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.

EntityInfo

Contains details about the specified entity (user or role).

ErrorDetails

Contains information about the reason that the operation failed.

EvaluationResult

Contains the results of a simulation.

GenerateCredentialReportResponse

Contains the response to a successful "GenerateCredentialReport" request.

GenerateOrganizationsAccessReportRequest
GenerateOrganizationsAccessReportResponse
GenerateServiceLastAccessedDetailsRequest
GenerateServiceLastAccessedDetailsResponse
GetAccessKeyLastUsedRequest
GetAccessKeyLastUsedResponse

Contains the response to a successful "GetAccessKeyLastUsed" request. It is also returned as a member of the "AccessKeyMetaData" structure returned by the "ListAccessKeys" action.

GetAccountAuthorizationDetailsRequest
GetAccountAuthorizationDetailsResponse

Contains the response to a successful "GetAccountAuthorizationDetails" request.

GetAccountPasswordPolicyResponse

Contains the response to a successful "GetAccountPasswordPolicy" request.

GetAccountSummaryResponse

Contains the response to a successful "GetAccountSummary" request.

GetContextKeysForCustomPolicyRequest
GetContextKeysForPolicyResponse

Contains the response to a successful "GetContextKeysForPrincipalPolicy" or "GetContextKeysForCustomPolicy" request.

GetContextKeysForPrincipalPolicyRequest
GetCredentialReportResponse

Contains the response to a successful "GetCredentialReport" request.

GetGroupPolicyRequest
GetGroupPolicyResponse

Contains the response to a successful "GetGroupPolicy" request.

GetGroupRequest
GetGroupResponse

Contains the response to a successful "GetGroup" request.

GetInstanceProfileRequest
GetInstanceProfileResponse

Contains the response to a successful "GetInstanceProfile" request.

GetLoginProfileRequest
GetLoginProfileResponse

Contains the response to a successful "GetLoginProfile" request.

GetOpenIDConnectProviderRequest
GetOpenIDConnectProviderResponse

Contains the response to a successful "GetOpenIDConnectProvider" request.

GetOrganizationsAccessReportRequest
GetOrganizationsAccessReportResponse
GetPolicyRequest
GetPolicyResponse

Contains the response to a successful "GetPolicy" request.

GetPolicyVersionRequest
GetPolicyVersionResponse

Contains the response to a successful "GetPolicyVersion" request.

GetRolePolicyRequest
GetRolePolicyResponse

Contains the response to a successful "GetRolePolicy" request.

GetRoleRequest
GetRoleResponse

Contains the response to a successful "GetRole" request.

GetSAMLProviderRequest
GetSAMLProviderResponse

Contains the response to a successful "GetSAMLProvider" request.

GetServerCertificateRequest
GetServerCertificateResponse

Contains the response to a successful "GetServerCertificate" request.

GetServiceLastAccessedDetailsRequest
GetServiceLastAccessedDetailsResponse
GetServiceLastAccessedDetailsWithEntitiesRequest
GetServiceLastAccessedDetailsWithEntitiesResponse
GetServiceLinkedRoleDeletionStatusRequest
GetServiceLinkedRoleDeletionStatusResponse
GetSSHPublicKeyRequest
GetSSHPublicKeyResponse

Contains the response to a successful "GetSSHPublicKey" request.

GetUserPolicyRequest
GetUserPolicyResponse

Contains the response to a successful "GetUserPolicy" request.

GetUserRequest
GetUserResponse

Contains the response to a successful "GetUser" request.

Group

Contains information about an IAM group entity.

GroupDetail

Contains information about an IAM group, including all of the group's policies.

InstanceProfile

Contains information about an instance profile.

ListAccessKeysRequest
ListAccessKeysResponse

Contains the response to a successful "ListAccessKeys" request.

ListAccountAliasesRequest
ListAccountAliasesResponse

Contains the response to a successful "ListAccountAliases" request.

ListAttachedGroupPoliciesRequest
ListAttachedGroupPoliciesResponse

Contains the response to a successful "ListAttachedGroupPolicies" request.

ListAttachedRolePoliciesRequest
ListAttachedRolePoliciesResponse

Contains the response to a successful "ListAttachedRolePolicies" request.

ListAttachedUserPoliciesRequest
ListAttachedUserPoliciesResponse

Contains the response to a successful "ListAttachedUserPolicies" request.

ListEntitiesForPolicyRequest
ListEntitiesForPolicyResponse

Contains the response to a successful "ListEntitiesForPolicy" request.

ListGroupPoliciesRequest
ListGroupPoliciesResponse

Contains the response to a successful "ListGroupPolicies" request.

ListGroupsForUserRequest
ListGroupsForUserResponse

Contains the response to a successful "ListGroupsForUser" request.

ListGroupsRequest
ListGroupsResponse

Contains the response to a successful "ListGroups" request.

ListInstanceProfilesForRoleRequest
ListInstanceProfilesForRoleResponse

Contains the response to a successful "ListInstanceProfilesForRole" request.

ListInstanceProfilesRequest
ListInstanceProfilesResponse

Contains the response to a successful "ListInstanceProfiles" request.

ListInstanceProfileTagsRequest
ListInstanceProfileTagsResponse
ListMFADevicesRequest
ListMFADevicesResponse

Contains the response to a successful "ListMFADevices" request.

ListMFADeviceTagsRequest
ListMFADeviceTagsResponse
ListOpenIDConnectProvidersResponse

Contains the response to a successful "ListOpenIDConnectProviders" request.

ListOpenIDConnectProviderTagsRequest
ListOpenIDConnectProviderTagsResponse
ListPoliciesGrantingServiceAccessEntry

Contains details about the permissions policies that are attached to the specified identity (user, group, or role).

ListPoliciesGrantingServiceAccessRequest
ListPoliciesGrantingServiceAccessResponse
ListPoliciesRequest
ListPoliciesResponse

Contains the response to a successful "ListPolicies" request.

ListPolicyTagsRequest
ListPolicyTagsResponse
ListPolicyVersionsRequest
ListPolicyVersionsResponse

Contains the response to a successful "ListPolicyVersions" request.

ListRolePoliciesRequest
ListRolePoliciesResponse

Contains the response to a successful "ListRolePolicies" request.

ListRolesRequest
ListRolesResponse

Contains the response to a successful "ListRoles" request.

ListRoleTagsRequest
ListRoleTagsResponse
ListSAMLProvidersResponse

Contains the response to a successful "ListSAMLProviders" request.

ListSAMLProviderTagsRequest
ListSAMLProviderTagsResponse
ListServerCertificatesRequest
ListServerCertificatesResponse

Contains the response to a successful "ListServerCertificates" request.

ListServerCertificateTagsRequest
ListServerCertificateTagsResponse
ListServiceSpecificCredentialsRequest
ListServiceSpecificCredentialsResponse
ListSigningCertificatesRequest
ListSigningCertificatesResponse

Contains the response to a successful "ListSigningCertificates" request.

ListSSHPublicKeysRequest
ListSSHPublicKeysResponse

Contains the response to a successful "ListSSHPublicKeys" request.

ListUserPoliciesRequest
ListUserPoliciesResponse

Contains the response to a successful "ListUserPolicies" request.

ListUsersRequest
ListUsersResponse

Contains the response to a successful "ListUsers" request.

ListUserTagsRequest
ListUserTagsResponse
ListVirtualMFADevicesRequest
ListVirtualMFADevicesResponse

Contains the response to a successful "ListVirtualMFADevices" request.

LoginProfile

Contains the user name and password create date for a user.

ManagedPolicyDetail

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.

MFADevice

Contains information about an MFA device.

OpenIDConnectProviderListEntry

Contains the Amazon Resource Name (ARN) for an IAM OpenID Connect provider.

OrganizationsDecisionDetail

Contains information about the effect that Organizations has on a policy simulation.

PasswordPolicy

Contains information about the account password policy.

PermissionsBoundaryDecisionDetail

Contains information about the effect that a permissions boundary has on a policy simulation when the boundary is applied to an IAM entity.

Policy

Contains information about a managed policy.

PolicyDetail

Contains information about an IAM policy, including the policy document.

PolicyGrantingServiceAccess

Contains details about the permissions policies that are attached to the specified identity (user, group, or role).

PolicyGroup

Contains information about a group that a managed policy is attached to.

PolicyRole

Contains information about a role that a managed policy is attached to.

PolicyUser

Contains information about a user that a managed policy is attached to.

PolicyVersion

Contains information about a version of a managed policy.

Position

Contains the row and column of a location of a Statement element in a policy document.

PutGroupPolicyRequest
PutRolePermissionsBoundaryRequest
PutRolePolicyRequest
PutUserPermissionsBoundaryRequest
PutUserPolicyRequest
RemoveClientIDFromOpenIDConnectProviderRequest
RemoveRoleFromInstanceProfileRequest
RemoveUserFromGroupRequest
ResetServiceSpecificCredentialRequest
ResetServiceSpecificCredentialResponse
ResourceSpecificResult

Contains the result of the simulation of a single API operation call on a single resource.

ResyncMFADeviceRequest
Role

Contains information about an IAM role. This structure is returned as a response element in several API operations that interact with roles.

RoleDetail

Contains information about an IAM role, including all of the role's policies.

RoleLastUsed

Contains information about the last time that an IAM role was used. This includes the date and time and the Region in which the role was last used. Activity is only reported for the trailing 400 days. This period can be shorter if your Region began supporting these features within the last year. The role might have been used more than 400 days ago. For more information, see Regions where data is tracked in the IAM User Guide.

RoleUsageType

An object that contains details about how a service-linked role is used, if that information is returned by the service.

SAMLProviderListEntry

Contains the list of SAML providers for this account.

ServerCertificate

Contains information about a server certificate.

ServerCertificateMetadata

Contains information about a server certificate without its certificate body, certificate chain, and private key.

ServiceLastAccessed

Contains details about the most recent attempt to access the service.

ServiceSpecificCredential

Contains the details of a service-specific credential.

ServiceSpecificCredentialMetadata

Contains additional details about a service-specific credential.

SetDefaultPolicyVersionRequest
SetSecurityTokenServicePreferencesRequest
SigningCertificate

Contains information about an X.509 signing certificate.

SimulateCustomPolicyRequest
SimulatePolicyResponse

Contains the response to a successful "SimulatePrincipalPolicy" or "SimulateCustomPolicy" request.

SimulatePrincipalPolicyRequest
SSHPublicKey

Contains information about an SSH public key.

SSHPublicKeyMetadata

Contains information about an SSH public key, without the key's body or fingerprint.

Statement

Contains a reference to a Statement element in a policy document that determines the result of the simulation.

Tag

A structure that represents user-provided metadata that can be associated with an IAM resource. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

TagInstanceProfileRequest
TagMFADeviceRequest
TagOpenIDConnectProviderRequest
TagPolicyRequest
TagRoleRequest
TagSAMLProviderRequest
TagServerCertificateRequest
TagUserRequest
TrackedActionLastAccessed

Contains details about the most recent attempt to access an action within the service.

UntagInstanceProfileRequest
UntagMFADeviceRequest
UntagOpenIDConnectProviderRequest
UntagPolicyRequest
UntagRoleRequest
UntagSAMLProviderRequest
UntagServerCertificateRequest
UntagUserRequest
UpdateAccessKeyRequest
UpdateAccountPasswordPolicyRequest
UpdateAssumeRolePolicyRequest
UpdateGroupRequest
UpdateLoginProfileRequest
UpdateOpenIDConnectProviderThumbprintRequest
UpdateRoleDescriptionRequest
UpdateRoleDescriptionResponse
UpdateRoleRequest
UpdateSAMLProviderRequest
UpdateSAMLProviderResponse

Contains the response to a successful "UpdateSAMLProvider" request.

UpdateServerCertificateRequest
UpdateServiceSpecificCredentialRequest
UpdateSigningCertificateRequest
UpdateSSHPublicKeyRequest
UpdateUserRequest
UploadServerCertificateRequest
UploadServerCertificateResponse

Contains the response to a successful "UploadServerCertificate" request.

UploadSigningCertificateRequest
UploadSigningCertificateResponse

Contains the response to a successful "UploadSigningCertificate" request.

UploadSSHPublicKeyRequest
UploadSSHPublicKeyResponse

Contains the response to a successful "UploadSSHPublicKey" request.

User

Contains information about an IAM user entity.

UserDetail

Contains information about an IAM user, including all the user's policies and all the IAM groups the user is in.

VirtualMFADevice

Contains information about a virtual MFA device.

§Type Aliases

AccessAdvisorUsageGranularityType
assignmentStatusType
ContextKeyTypeEnum
DeletionTaskStatusType
encodingType
EntityType
globalEndpointTokenVersion
jobStatusType
PermissionsBoundaryAttachmentType
PolicyEvaluationDecisionType
policyOwnerEntityType
policyScopeType
PolicySourceType
policyType
PolicyUsageType

The policy usage type that indicates whether the policy is used as a permissions policy or as the permissions boundary for an entity.

ReportFormatType
ReportStateType
sortKeyType
statusType
summaryKeyType