aws-sdk-go: github.com/aws/aws-sdk-go/service/iam Index | Examples | Files | Directories

package iam

import "github.com/aws/aws-sdk-go/service/iam"

Package iam provides the client and types for making API requests to AWS Identity and Access Management.

AWS Identity and Access Management (IAM) is a web service that you can use to manage users and user permissions under your AWS account. This guide provides descriptions of IAM actions that you can call programmatically. For general information about IAM, see AWS Identity and Access Management (IAM) (http://aws.amazon.com/iam/). For the user guide for IAM, see Using IAM (https://docs.aws.amazon.com/IAM/latest/UserGuide/).

AWS provides SDKs that consist of libraries and sample code for various programming languages and platforms (Java, Ruby, .NET, iOS, Android, etc.). The SDKs provide a convenient way to create programmatic access to IAM and AWS. For example, the SDKs take care of tasks such as cryptographically signing requests (see below), managing errors, and retrying requests automatically. For information about the AWS SDKs, including how to download and install them, see the Tools for Amazon Web Services (http://aws.amazon.com/tools/) page.

We recommend that you use the AWS SDKs to make programmatic API calls to IAM. However, you can also use the IAM Query API to make direct calls to the IAM web service. To learn more about the IAM Query API, see Making Query Requests (https://docs.aws.amazon.com/IAM/latest/UserGuide/IAM_UsingQueryAPI.html) in the Using IAM guide. IAM supports GET and POST requests for all actions. That is, the API does not require you to use GET for some actions and POST for others. However, GET requests are subject to the limitation size of a URL. Therefore, for operations that require larger sizes, use a POST request.

Signing Requests

Requests must be signed using an access key ID and a secret access key. We strongly recommend that you do not use your AWS account access key ID and secret access key for everyday work with IAM. You can use the access key ID and secret access key for an IAM user or you can use the AWS Security Token Service to generate temporary security credentials and use those to sign requests.

To sign requests, we recommend that you use Signature Version 4 (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). If you have an existing application that uses Signature Version 2, you do not have to update it to use Signature Version 4. However, some operations now require Signature Version 4. The documentation for operations that require version 4 indicate this requirement.

Additional Resources

For more information, see the following:

* AWS Security Credentials (https://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html).
This topic provides general information about the types of credentials
used for accessing AWS.

* IAM Best Practices (https://docs.aws.amazon.com/IAM/latest/UserGuide/IAMBestPractices.html).
This topic presents a list of suggestions for using the IAM service to
help secure your AWS resources.

* Signing AWS API Requests (https://docs.aws.amazon.com/general/latest/gr/signing_aws_api_requests.html).
This set of topics walk you through the process of signing a request using
an access key ID and secret access key.

See https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08 for more information on this service.

See iam package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/iam/

Using the Client

To contact AWS Identity and Access Management with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS Identity and Access Management client IAM for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/iam/#New

Index

Examples

Package Files

api.go doc.go errors.go service.go waiters.go

Constants

const (
    // ContextKeyTypeEnumString is a ContextKeyTypeEnum enum value
    ContextKeyTypeEnumString = "string"

    // ContextKeyTypeEnumStringList is a ContextKeyTypeEnum enum value
    ContextKeyTypeEnumStringList = "stringList"

    // ContextKeyTypeEnumNumeric is a ContextKeyTypeEnum enum value
    ContextKeyTypeEnumNumeric = "numeric"

    // ContextKeyTypeEnumNumericList is a ContextKeyTypeEnum enum value
    ContextKeyTypeEnumNumericList = "numericList"

    // ContextKeyTypeEnumBoolean is a ContextKeyTypeEnum enum value
    ContextKeyTypeEnumBoolean = "boolean"

    // ContextKeyTypeEnumBooleanList is a ContextKeyTypeEnum enum value
    ContextKeyTypeEnumBooleanList = "booleanList"

    // ContextKeyTypeEnumIp is a ContextKeyTypeEnum enum value
    ContextKeyTypeEnumIp = "ip"

    // ContextKeyTypeEnumIpList is a ContextKeyTypeEnum enum value
    ContextKeyTypeEnumIpList = "ipList"

    // ContextKeyTypeEnumBinary is a ContextKeyTypeEnum enum value
    ContextKeyTypeEnumBinary = "binary"

    // ContextKeyTypeEnumBinaryList is a ContextKeyTypeEnum enum value
    ContextKeyTypeEnumBinaryList = "binaryList"

    // ContextKeyTypeEnumDate is a ContextKeyTypeEnum enum value
    ContextKeyTypeEnumDate = "date"

    // ContextKeyTypeEnumDateList is a ContextKeyTypeEnum enum value
    ContextKeyTypeEnumDateList = "dateList"
)
const (
    // DeletionTaskStatusTypeSucceeded is a DeletionTaskStatusType enum value
    DeletionTaskStatusTypeSucceeded = "SUCCEEDED"

    // DeletionTaskStatusTypeInProgress is a DeletionTaskStatusType enum value
    DeletionTaskStatusTypeInProgress = "IN_PROGRESS"

    // DeletionTaskStatusTypeFailed is a DeletionTaskStatusType enum value
    DeletionTaskStatusTypeFailed = "FAILED"

    // DeletionTaskStatusTypeNotStarted is a DeletionTaskStatusType enum value
    DeletionTaskStatusTypeNotStarted = "NOT_STARTED"
)
const (
    // EntityTypeUser is a EntityType enum value
    EntityTypeUser = "User"

    // EntityTypeRole is a EntityType enum value
    EntityTypeRole = "Role"

    // EntityTypeGroup is a EntityType enum value
    EntityTypeGroup = "Group"

    // EntityTypeLocalManagedPolicy is a EntityType enum value
    EntityTypeLocalManagedPolicy = "LocalManagedPolicy"

    // EntityTypeAwsmanagedPolicy is a EntityType enum value
    EntityTypeAwsmanagedPolicy = "AWSManagedPolicy"
)
const (
    // PolicyEvaluationDecisionTypeAllowed is a PolicyEvaluationDecisionType enum value
    PolicyEvaluationDecisionTypeAllowed = "allowed"

    // PolicyEvaluationDecisionTypeExplicitDeny is a PolicyEvaluationDecisionType enum value
    PolicyEvaluationDecisionTypeExplicitDeny = "explicitDeny"

    // PolicyEvaluationDecisionTypeImplicitDeny is a PolicyEvaluationDecisionType enum value
    PolicyEvaluationDecisionTypeImplicitDeny = "implicitDeny"
)
const (
    // PolicySourceTypeUser is a PolicySourceType enum value
    PolicySourceTypeUser = "user"

    // PolicySourceTypeGroup is a PolicySourceType enum value
    PolicySourceTypeGroup = "group"

    // PolicySourceTypeRole is a PolicySourceType enum value
    PolicySourceTypeRole = "role"

    // PolicySourceTypeAwsManaged is a PolicySourceType enum value
    PolicySourceTypeAwsManaged = "aws-managed"

    // PolicySourceTypeUserManaged is a PolicySourceType enum value
    PolicySourceTypeUserManaged = "user-managed"

    // PolicySourceTypeResource is a PolicySourceType enum value
    PolicySourceTypeResource = "resource"

    // PolicySourceTypeNone is a PolicySourceType enum value
    PolicySourceTypeNone = "none"
)
const (
    // PolicyUsageTypePermissionsPolicy is a PolicyUsageType enum value
    PolicyUsageTypePermissionsPolicy = "PermissionsPolicy"

    // PolicyUsageTypePermissionsBoundary is a PolicyUsageType enum value
    PolicyUsageTypePermissionsBoundary = "PermissionsBoundary"
)

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

For more information about permissions boundaries, see Permissions Boundaries for IAM Identities (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) in the IAM User Guide.

const (
    // ReportStateTypeStarted is a ReportStateType enum value
    ReportStateTypeStarted = "STARTED"

    // ReportStateTypeInprogress is a ReportStateType enum value
    ReportStateTypeInprogress = "INPROGRESS"

    // ReportStateTypeComplete is a ReportStateType enum value
    ReportStateTypeComplete = "COMPLETE"
)
const (
    // AssignmentStatusTypeAssigned is a assignmentStatusType enum value
    AssignmentStatusTypeAssigned = "Assigned"

    // AssignmentStatusTypeUnassigned is a assignmentStatusType enum value
    AssignmentStatusTypeUnassigned = "Unassigned"

    // AssignmentStatusTypeAny is a assignmentStatusType enum value
    AssignmentStatusTypeAny = "Any"
)
const (
    // EncodingTypeSsh is a encodingType enum value
    EncodingTypeSsh = "SSH"

    // EncodingTypePem is a encodingType enum value
    EncodingTypePem = "PEM"
)
const (
    // GlobalEndpointTokenVersionV1token is a globalEndpointTokenVersion enum value
    GlobalEndpointTokenVersionV1token = "v1Token"

    // GlobalEndpointTokenVersionV2token is a globalEndpointTokenVersion enum value
    GlobalEndpointTokenVersionV2token = "v2Token"
)
const (
    // JobStatusTypeInProgress is a jobStatusType enum value
    JobStatusTypeInProgress = "IN_PROGRESS"

    // JobStatusTypeCompleted is a jobStatusType enum value
    JobStatusTypeCompleted = "COMPLETED"

    // JobStatusTypeFailed is a jobStatusType enum value
    JobStatusTypeFailed = "FAILED"
)
const (
    // PolicyOwnerEntityTypeUser is a policyOwnerEntityType enum value
    PolicyOwnerEntityTypeUser = "USER"

    // PolicyOwnerEntityTypeRole is a policyOwnerEntityType enum value
    PolicyOwnerEntityTypeRole = "ROLE"

    // PolicyOwnerEntityTypeGroup is a policyOwnerEntityType enum value
    PolicyOwnerEntityTypeGroup = "GROUP"
)
const (
    // PolicyScopeTypeAll is a policyScopeType enum value
    PolicyScopeTypeAll = "All"

    // PolicyScopeTypeAws is a policyScopeType enum value
    PolicyScopeTypeAws = "AWS"

    // PolicyScopeTypeLocal is a policyScopeType enum value
    PolicyScopeTypeLocal = "Local"
)
const (
    // PolicyTypeInline is a policyType enum value
    PolicyTypeInline = "INLINE"

    // PolicyTypeManaged is a policyType enum value
    PolicyTypeManaged = "MANAGED"
)
const (
    // SortKeyTypeServiceNamespaceAscending is a sortKeyType enum value
    SortKeyTypeServiceNamespaceAscending = "SERVICE_NAMESPACE_ASCENDING"

    // SortKeyTypeServiceNamespaceDescending is a sortKeyType enum value
    SortKeyTypeServiceNamespaceDescending = "SERVICE_NAMESPACE_DESCENDING"

    // SortKeyTypeLastAuthenticatedTimeAscending is a sortKeyType enum value
    SortKeyTypeLastAuthenticatedTimeAscending = "LAST_AUTHENTICATED_TIME_ASCENDING"

    // SortKeyTypeLastAuthenticatedTimeDescending is a sortKeyType enum value
    SortKeyTypeLastAuthenticatedTimeDescending = "LAST_AUTHENTICATED_TIME_DESCENDING"
)
const (
    // StatusTypeActive is a statusType enum value
    StatusTypeActive = "Active"

    // StatusTypeInactive is a statusType enum value
    StatusTypeInactive = "Inactive"
)
const (
    // SummaryKeyTypeUsers is a summaryKeyType enum value
    SummaryKeyTypeUsers = "Users"

    // SummaryKeyTypeUsersQuota is a summaryKeyType enum value
    SummaryKeyTypeUsersQuota = "UsersQuota"

    // SummaryKeyTypeGroups is a summaryKeyType enum value
    SummaryKeyTypeGroups = "Groups"

    // SummaryKeyTypeGroupsQuota is a summaryKeyType enum value
    SummaryKeyTypeGroupsQuota = "GroupsQuota"

    // SummaryKeyTypeServerCertificates is a summaryKeyType enum value
    SummaryKeyTypeServerCertificates = "ServerCertificates"

    // SummaryKeyTypeServerCertificatesQuota is a summaryKeyType enum value
    SummaryKeyTypeServerCertificatesQuota = "ServerCertificatesQuota"

    // SummaryKeyTypeUserPolicySizeQuota is a summaryKeyType enum value
    SummaryKeyTypeUserPolicySizeQuota = "UserPolicySizeQuota"

    // SummaryKeyTypeGroupPolicySizeQuota is a summaryKeyType enum value
    SummaryKeyTypeGroupPolicySizeQuota = "GroupPolicySizeQuota"

    // SummaryKeyTypeGroupsPerUserQuota is a summaryKeyType enum value
    SummaryKeyTypeGroupsPerUserQuota = "GroupsPerUserQuota"

    // SummaryKeyTypeSigningCertificatesPerUserQuota is a summaryKeyType enum value
    SummaryKeyTypeSigningCertificatesPerUserQuota = "SigningCertificatesPerUserQuota"

    // SummaryKeyTypeAccessKeysPerUserQuota is a summaryKeyType enum value
    SummaryKeyTypeAccessKeysPerUserQuota = "AccessKeysPerUserQuota"

    // SummaryKeyTypeMfadevices is a summaryKeyType enum value
    SummaryKeyTypeMfadevices = "MFADevices"

    // SummaryKeyTypeMfadevicesInUse is a summaryKeyType enum value
    SummaryKeyTypeMfadevicesInUse = "MFADevicesInUse"

    // SummaryKeyTypeAccountMfaenabled is a summaryKeyType enum value
    SummaryKeyTypeAccountMfaenabled = "AccountMFAEnabled"

    // SummaryKeyTypeAccountAccessKeysPresent is a summaryKeyType enum value
    SummaryKeyTypeAccountAccessKeysPresent = "AccountAccessKeysPresent"

    // SummaryKeyTypeAccountSigningCertificatesPresent is a summaryKeyType enum value
    SummaryKeyTypeAccountSigningCertificatesPresent = "AccountSigningCertificatesPresent"

    // SummaryKeyTypeAttachedPoliciesPerGroupQuota is a summaryKeyType enum value
    SummaryKeyTypeAttachedPoliciesPerGroupQuota = "AttachedPoliciesPerGroupQuota"

    // SummaryKeyTypeAttachedPoliciesPerRoleQuota is a summaryKeyType enum value
    SummaryKeyTypeAttachedPoliciesPerRoleQuota = "AttachedPoliciesPerRoleQuota"

    // SummaryKeyTypeAttachedPoliciesPerUserQuota is a summaryKeyType enum value
    SummaryKeyTypeAttachedPoliciesPerUserQuota = "AttachedPoliciesPerUserQuota"

    // SummaryKeyTypePolicies is a summaryKeyType enum value
    SummaryKeyTypePolicies = "Policies"

    // SummaryKeyTypePoliciesQuota is a summaryKeyType enum value
    SummaryKeyTypePoliciesQuota = "PoliciesQuota"

    // SummaryKeyTypePolicySizeQuota is a summaryKeyType enum value
    SummaryKeyTypePolicySizeQuota = "PolicySizeQuota"

    // SummaryKeyTypePolicyVersionsInUse is a summaryKeyType enum value
    SummaryKeyTypePolicyVersionsInUse = "PolicyVersionsInUse"

    // SummaryKeyTypePolicyVersionsInUseQuota is a summaryKeyType enum value
    SummaryKeyTypePolicyVersionsInUseQuota = "PolicyVersionsInUseQuota"

    // SummaryKeyTypeVersionsPerPolicyQuota is a summaryKeyType enum value
    SummaryKeyTypeVersionsPerPolicyQuota = "VersionsPerPolicyQuota"

    // SummaryKeyTypeGlobalEndpointTokenVersion is a summaryKeyType enum value
    SummaryKeyTypeGlobalEndpointTokenVersion = "GlobalEndpointTokenVersion"
)
const (

    // ErrCodeConcurrentModificationException for service response error code
    // "ConcurrentModification".
    //
    // The request was rejected because multiple requests to change this object
    // were submitted simultaneously. Wait a few minutes and submit your request
    // again.
    ErrCodeConcurrentModificationException = "ConcurrentModification"

    // ErrCodeCredentialReportExpiredException for service response error code
    // "ReportExpired".
    //
    // The request was rejected because the most recent credential report has expired.
    // To generate a new credential report, use GenerateCredentialReport. For more
    // information about credential report expiration, see Getting Credential Reports
    // (https://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html)
    // in the IAM User Guide.
    ErrCodeCredentialReportExpiredException = "ReportExpired"

    // ErrCodeCredentialReportNotPresentException for service response error code
    // "ReportNotPresent".
    //
    // The request was rejected because the credential report does not exist. To
    // generate a credential report, use GenerateCredentialReport.
    ErrCodeCredentialReportNotPresentException = "ReportNotPresent"

    // ErrCodeCredentialReportNotReadyException for service response error code
    // "ReportInProgress".
    //
    // The request was rejected because the credential report is still being generated.
    ErrCodeCredentialReportNotReadyException = "ReportInProgress"

    // ErrCodeDeleteConflictException for service response error code
    // "DeleteConflict".
    //
    // The request was rejected because it attempted to delete a resource that has
    // attached subordinate entities. The error message describes these entities.
    ErrCodeDeleteConflictException = "DeleteConflict"

    // ErrCodeDuplicateCertificateException for service response error code
    // "DuplicateCertificate".
    //
    // The request was rejected because the same certificate is associated with
    // an IAM user in the account.
    ErrCodeDuplicateCertificateException = "DuplicateCertificate"

    // ErrCodeDuplicateSSHPublicKeyException for service response error code
    // "DuplicateSSHPublicKey".
    //
    // The request was rejected because the SSH public key is already associated
    // with the specified IAM user.
    ErrCodeDuplicateSSHPublicKeyException = "DuplicateSSHPublicKey"

    // ErrCodeEntityAlreadyExistsException for service response error code
    // "EntityAlreadyExists".
    //
    // The request was rejected because it attempted to create a resource that already
    // exists.
    ErrCodeEntityAlreadyExistsException = "EntityAlreadyExists"

    // ErrCodeEntityTemporarilyUnmodifiableException for service response error code
    // "EntityTemporarilyUnmodifiable".
    //
    // The request was rejected because it referenced an entity that is temporarily
    // unmodifiable, such as a user name that was deleted and then recreated. The
    // error indicates that the request is likely to succeed if you try again after
    // waiting several minutes. The error message describes the entity.
    ErrCodeEntityTemporarilyUnmodifiableException = "EntityTemporarilyUnmodifiable"

    // ErrCodeInvalidAuthenticationCodeException for service response error code
    // "InvalidAuthenticationCode".
    //
    // The request was rejected because the authentication code was not recognized.
    // The error message describes the specific error.
    ErrCodeInvalidAuthenticationCodeException = "InvalidAuthenticationCode"

    // ErrCodeInvalidCertificateException for service response error code
    // "InvalidCertificate".
    //
    // The request was rejected because the certificate is invalid.
    ErrCodeInvalidCertificateException = "InvalidCertificate"

    // ErrCodeInvalidInputException for service response error code
    // "InvalidInput".
    //
    // The request was rejected because an invalid or out-of-range value was supplied
    // for an input parameter.
    ErrCodeInvalidInputException = "InvalidInput"

    // ErrCodeInvalidPublicKeyException for service response error code
    // "InvalidPublicKey".
    //
    // The request was rejected because the public key is malformed or otherwise
    // invalid.
    ErrCodeInvalidPublicKeyException = "InvalidPublicKey"

    // ErrCodeInvalidUserTypeException for service response error code
    // "InvalidUserType".
    //
    // The request was rejected because the type of user for the transaction was
    // incorrect.
    ErrCodeInvalidUserTypeException = "InvalidUserType"

    // ErrCodeKeyPairMismatchException for service response error code
    // "KeyPairMismatch".
    //
    // The request was rejected because the public key certificate and the private
    // key do not match.
    ErrCodeKeyPairMismatchException = "KeyPairMismatch"

    // ErrCodeLimitExceededException for service response error code
    // "LimitExceeded".
    //
    // The request was rejected because it attempted to create resources beyond
    // the current AWS account limits. The error message describes the limit exceeded.
    ErrCodeLimitExceededException = "LimitExceeded"

    // ErrCodeMalformedCertificateException for service response error code
    // "MalformedCertificate".
    //
    // The request was rejected because the certificate was malformed or expired.
    // The error message describes the specific error.
    ErrCodeMalformedCertificateException = "MalformedCertificate"

    // ErrCodeMalformedPolicyDocumentException for service response error code
    // "MalformedPolicyDocument".
    //
    // The request was rejected because the policy document was malformed. The error
    // message describes the specific error.
    ErrCodeMalformedPolicyDocumentException = "MalformedPolicyDocument"

    // ErrCodeNoSuchEntityException for service response error code
    // "NoSuchEntity".
    //
    // The request was rejected because it referenced a resource entity that does
    // not exist. The error message describes the resource.
    ErrCodeNoSuchEntityException = "NoSuchEntity"

    // ErrCodePasswordPolicyViolationException for service response error code
    // "PasswordPolicyViolation".
    //
    // The request was rejected because the provided password did not meet the requirements
    // imposed by the account password policy.
    ErrCodePasswordPolicyViolationException = "PasswordPolicyViolation"

    // ErrCodePolicyEvaluationException for service response error code
    // "PolicyEvaluation".
    //
    // The request failed because a provided policy could not be successfully evaluated.
    // An additional detailed message indicates the source of the failure.
    ErrCodePolicyEvaluationException = "PolicyEvaluation"

    // ErrCodePolicyNotAttachableException for service response error code
    // "PolicyNotAttachable".
    //
    // The request failed because AWS service role policies can only be attached
    // to the service-linked role for that service.
    ErrCodePolicyNotAttachableException = "PolicyNotAttachable"

    // ErrCodeReportGenerationLimitExceededException for service response error code
    // "ReportGenerationLimitExceeded".
    //
    // The request failed because the maximum number of concurrent requests for
    // this account are already running.
    ErrCodeReportGenerationLimitExceededException = "ReportGenerationLimitExceeded"

    // ErrCodeServiceFailureException for service response error code
    // "ServiceFailure".
    //
    // The request processing has failed because of an unknown error, exception
    // or failure.
    ErrCodeServiceFailureException = "ServiceFailure"

    // ErrCodeServiceNotSupportedException for service response error code
    // "NotSupportedService".
    //
    // The specified service does not support service-specific credentials.
    ErrCodeServiceNotSupportedException = "NotSupportedService"

    // ErrCodeUnmodifiableEntityException for service response error code
    // "UnmodifiableEntity".
    //
    // The request was rejected because only the service that depends on the service-linked
    // role can modify or delete the role on your behalf. The error message includes
    // the name of the service that depends on this service-linked role. You must
    // request the change through that service.
    ErrCodeUnmodifiableEntityException = "UnmodifiableEntity"

    // ErrCodeUnrecognizedPublicKeyEncodingException for service response error code
    // "UnrecognizedPublicKeyEncoding".
    //
    // The request was rejected because the public key encoding format is unsupported
    // or unrecognized.
    ErrCodeUnrecognizedPublicKeyEncodingException = "UnrecognizedPublicKeyEncoding"
)
const (
    ServiceName = "iam"       // Name of service.
    EndpointsID = ServiceName // ID to lookup a service endpoint with.
    ServiceID   = "IAM"       // ServiceID is a unique identifer of a specific service.
)

Service information constants

const (
    // PermissionsBoundaryAttachmentTypePermissionsBoundaryPolicy is a PermissionsBoundaryAttachmentType enum value
    PermissionsBoundaryAttachmentTypePermissionsBoundaryPolicy = "PermissionsBoundaryPolicy"
)
const (
    // ReportFormatTypeTextCsv is a ReportFormatType enum value
    ReportFormatTypeTextCsv = "text/csv"
)

type AccessDetail Uses

type AccessDetail struct {

    // The path of the Organizations entity (root, organizational unit, or account)
    // from which an authenticated principal last attempted to access the service.
    // AWS does not report unauthenticated requests.
    //
    // This field is null if no principals (IAM users, IAM roles, or root users)
    // in the reported Organizations entity attempted to access the service within
    // the reporting period (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period).
    EntityPath *string `min:"19" type:"string"`

    // The date and time, in ISO 8601 date-time format (http://www.iso.org/iso/iso8601),
    // when an authenticated principal most recently attempted to access the service.
    // AWS does not report unauthenticated requests.
    //
    // This field is null if no principals in the reported Organizations entity
    // attempted to access the service within the reporting period (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period).
    LastAuthenticatedTime *time.Time `type:"timestamp"`

    // The Region where the last service access attempt occurred.
    //
    // This field is null if no principals in the reported Organizations entity
    // attempted to access the service within the reporting period (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period).
    Region *string `type:"string"`

    // The name of the service in which access was attempted.
    //
    // ServiceName is a required field
    ServiceName *string `type:"string" required:"true"`

    // The namespace of the service in which access was attempted.
    //
    // To learn the service namespace of a service, go to Actions, Resources, and
    // Condition Keys for AWS Services (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_actions-resources-contextkeys.html)
    // in the IAM User Guide. Choose the name of the service to view details for
    // that service. In the first paragraph, find the service prefix. For example,
    // (service prefix: a4b). For more information about service namespaces, see
    // AWS Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces)
    // in the AWS General Reference.
    //
    // ServiceNamespace is a required field
    ServiceNamespace *string `min:"1" type:"string" required:"true"`

    // The number of accounts with authenticated principals (root users, IAM users,
    // and IAM roles) that attempted to access the service in the reporting period.
    TotalAuthenticatedEntities *int64 `type:"integer"`
    // contains filtered or unexported fields
}

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

This data type is a response element in the GetOrganizationsAccessReport operation.

func (AccessDetail) GoString Uses

func (s AccessDetail) GoString() string

GoString returns the string representation

func (*AccessDetail) SetEntityPath Uses

func (s *AccessDetail) SetEntityPath(v string) *AccessDetail

SetEntityPath sets the EntityPath field's value.

func (*AccessDetail) SetLastAuthenticatedTime Uses

func (s *AccessDetail) SetLastAuthenticatedTime(v time.Time) *AccessDetail

SetLastAuthenticatedTime sets the LastAuthenticatedTime field's value.

func (*AccessDetail) SetRegion Uses

func (s *AccessDetail) SetRegion(v string) *AccessDetail

SetRegion sets the Region field's value.

func (*AccessDetail) SetServiceName Uses

func (s *AccessDetail) SetServiceName(v string) *AccessDetail

SetServiceName sets the ServiceName field's value.

func (*AccessDetail) SetServiceNamespace Uses

func (s *AccessDetail) SetServiceNamespace(v string) *AccessDetail

SetServiceNamespace sets the ServiceNamespace field's value.

func (*AccessDetail) SetTotalAuthenticatedEntities Uses

func (s *AccessDetail) SetTotalAuthenticatedEntities(v int64) *AccessDetail

SetTotalAuthenticatedEntities sets the TotalAuthenticatedEntities field's value.

func (AccessDetail) String Uses

func (s AccessDetail) String() string

String returns the string representation

type AccessKey Uses

type AccessKey struct {

    // The ID for this access key.
    //
    // AccessKeyId is a required field
    AccessKeyId *string `min:"16" type:"string" required:"true"`

    // The date when the access key was created.
    CreateDate *time.Time `type:"timestamp"`

    // The secret key used to sign requests.
    //
    // SecretAccessKey is a required field
    SecretAccessKey *string `type:"string" required:"true" sensitive:"true"`

    // The status of the access key. Active means that the key is valid for API
    // calls, while Inactive means it is not.
    //
    // Status is a required field
    Status *string `type:"string" required:"true" enum:"statusType"`

    // The name of the IAM user that the access key is associated with.
    //
    // UserName is a required field
    UserName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains information about an AWS access key.

This data type is used as a response element in the CreateAccessKey and ListAccessKeys operations.

The SecretAccessKey value is returned only in response to CreateAccessKey. You can get a secret access key only when you first create an access key; you cannot recover the secret access key later. If you lose a secret access key, you must create a new access key.

func (AccessKey) GoString Uses

func (s AccessKey) GoString() string

GoString returns the string representation

func (*AccessKey) SetAccessKeyId Uses

func (s *AccessKey) SetAccessKeyId(v string) *AccessKey

SetAccessKeyId sets the AccessKeyId field's value.

func (*AccessKey) SetCreateDate Uses

func (s *AccessKey) SetCreateDate(v time.Time) *AccessKey

SetCreateDate sets the CreateDate field's value.

func (*AccessKey) SetSecretAccessKey Uses

func (s *AccessKey) SetSecretAccessKey(v string) *AccessKey

SetSecretAccessKey sets the SecretAccessKey field's value.

func (*AccessKey) SetStatus Uses

func (s *AccessKey) SetStatus(v string) *AccessKey

SetStatus sets the Status field's value.

func (*AccessKey) SetUserName Uses

func (s *AccessKey) SetUserName(v string) *AccessKey

SetUserName sets the UserName field's value.

func (AccessKey) String Uses

func (s AccessKey) String() string

String returns the string representation

type AccessKeyLastUsed Uses

type AccessKeyLastUsed struct {

    // The date and time, in ISO 8601 date-time format (http://www.iso.org/iso/iso8601),
    // when the access key was most recently used. This field is null in the following
    // situations:
    //
    //    * The user does not have an access key.
    //
    //    * An access key exists but has not been used since IAM began tracking
    //    this information.
    //
    //    * There is no sign-in data associated with the user.
    //
    // LastUsedDate is a required field
    LastUsedDate *time.Time `type:"timestamp" required:"true"`

    // The AWS Region where this access key was most recently used. The value for
    // this field is "N/A" in the following situations:
    //
    //    * The user does not have an access key.
    //
    //    * An access key exists but has not been used since IAM began tracking
    //    this information.
    //
    //    * There is no sign-in data associated with the user.
    //
    // For more information about AWS Regions, see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html)
    // in the Amazon Web Services General Reference.
    //
    // Region is a required field
    Region *string `type:"string" required:"true"`

    // The name of the AWS service with which this access key was most recently
    // used. The value of this field is "N/A" in the following situations:
    //
    //    * The user does not have an access key.
    //
    //    * An access key exists but has not been used since IAM started tracking
    //    this information.
    //
    //    * There is no sign-in data associated with the user.
    //
    // ServiceName is a required field
    ServiceName *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

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

This data type is used as a response element in the GetAccessKeyLastUsed operation.

func (AccessKeyLastUsed) GoString Uses

func (s AccessKeyLastUsed) GoString() string

GoString returns the string representation

func (*AccessKeyLastUsed) SetLastUsedDate Uses

func (s *AccessKeyLastUsed) SetLastUsedDate(v time.Time) *AccessKeyLastUsed

SetLastUsedDate sets the LastUsedDate field's value.

func (*AccessKeyLastUsed) SetRegion Uses

func (s *AccessKeyLastUsed) SetRegion(v string) *AccessKeyLastUsed

SetRegion sets the Region field's value.

func (*AccessKeyLastUsed) SetServiceName Uses

func (s *AccessKeyLastUsed) SetServiceName(v string) *AccessKeyLastUsed

SetServiceName sets the ServiceName field's value.

func (AccessKeyLastUsed) String Uses

func (s AccessKeyLastUsed) String() string

String returns the string representation

type AccessKeyMetadata Uses

type AccessKeyMetadata struct {

    // The ID for this access key.
    AccessKeyId *string `min:"16" type:"string"`

    // The date when the access key was created.
    CreateDate *time.Time `type:"timestamp"`

    // The status of the access key. Active means that the key is valid for API
    // calls; Inactive means it is not.
    Status *string `type:"string" enum:"statusType"`

    // The name of the IAM user that the key is associated with.
    UserName *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

Contains information about an AWS access key, without its secret key.

This data type is used as a response element in the ListAccessKeys operation.

func (AccessKeyMetadata) GoString Uses

func (s AccessKeyMetadata) GoString() string

GoString returns the string representation

func (*AccessKeyMetadata) SetAccessKeyId Uses

func (s *AccessKeyMetadata) SetAccessKeyId(v string) *AccessKeyMetadata

SetAccessKeyId sets the AccessKeyId field's value.

func (*AccessKeyMetadata) SetCreateDate Uses

func (s *AccessKeyMetadata) SetCreateDate(v time.Time) *AccessKeyMetadata

SetCreateDate sets the CreateDate field's value.

func (*AccessKeyMetadata) SetStatus Uses

func (s *AccessKeyMetadata) SetStatus(v string) *AccessKeyMetadata

SetStatus sets the Status field's value.

func (*AccessKeyMetadata) SetUserName Uses

func (s *AccessKeyMetadata) SetUserName(v string) *AccessKeyMetadata

SetUserName sets the UserName field's value.

func (AccessKeyMetadata) String Uses

func (s AccessKeyMetadata) String() string

String returns the string representation

type AddClientIDToOpenIDConnectProviderInput Uses

type AddClientIDToOpenIDConnectProviderInput struct {

    // The client ID (also known as audience) to add to the IAM OpenID Connect provider
    // resource.
    //
    // ClientID is a required field
    ClientID *string `min:"1" type:"string" required:"true"`

    // The Amazon Resource Name (ARN) of the IAM OpenID Connect (OIDC) provider
    // resource to add the client ID to. You can get a list of OIDC provider ARNs
    // by using the ListOpenIDConnectProviders operation.
    //
    // OpenIDConnectProviderArn is a required field
    OpenIDConnectProviderArn *string `min:"20" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AddClientIDToOpenIDConnectProviderInput) GoString Uses

func (s AddClientIDToOpenIDConnectProviderInput) GoString() string

GoString returns the string representation

func (*AddClientIDToOpenIDConnectProviderInput) SetClientID Uses

func (s *AddClientIDToOpenIDConnectProviderInput) SetClientID(v string) *AddClientIDToOpenIDConnectProviderInput

SetClientID sets the ClientID field's value.

func (*AddClientIDToOpenIDConnectProviderInput) SetOpenIDConnectProviderArn Uses

func (s *AddClientIDToOpenIDConnectProviderInput) SetOpenIDConnectProviderArn(v string) *AddClientIDToOpenIDConnectProviderInput

SetOpenIDConnectProviderArn sets the OpenIDConnectProviderArn field's value.

func (AddClientIDToOpenIDConnectProviderInput) String Uses

func (s AddClientIDToOpenIDConnectProviderInput) String() string

String returns the string representation

func (*AddClientIDToOpenIDConnectProviderInput) Validate Uses

func (s *AddClientIDToOpenIDConnectProviderInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AddClientIDToOpenIDConnectProviderOutput Uses

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

func (AddClientIDToOpenIDConnectProviderOutput) GoString Uses

func (s AddClientIDToOpenIDConnectProviderOutput) GoString() string

GoString returns the string representation

func (AddClientIDToOpenIDConnectProviderOutput) String Uses

func (s AddClientIDToOpenIDConnectProviderOutput) String() string

String returns the string representation

type AddRoleToInstanceProfileInput Uses

type AddRoleToInstanceProfileInput struct {

    // The name of the instance profile to update.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // InstanceProfileName is a required field
    InstanceProfileName *string `min:"1" type:"string" required:"true"`

    // The name of the role to add.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // RoleName is a required field
    RoleName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AddRoleToInstanceProfileInput) GoString Uses

func (s AddRoleToInstanceProfileInput) GoString() string

GoString returns the string representation

func (*AddRoleToInstanceProfileInput) SetInstanceProfileName Uses

func (s *AddRoleToInstanceProfileInput) SetInstanceProfileName(v string) *AddRoleToInstanceProfileInput

SetInstanceProfileName sets the InstanceProfileName field's value.

func (*AddRoleToInstanceProfileInput) SetRoleName Uses

func (s *AddRoleToInstanceProfileInput) SetRoleName(v string) *AddRoleToInstanceProfileInput

SetRoleName sets the RoleName field's value.

func (AddRoleToInstanceProfileInput) String Uses

func (s AddRoleToInstanceProfileInput) String() string

String returns the string representation

func (*AddRoleToInstanceProfileInput) Validate Uses

func (s *AddRoleToInstanceProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AddRoleToInstanceProfileOutput Uses

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

func (AddRoleToInstanceProfileOutput) GoString Uses

func (s AddRoleToInstanceProfileOutput) GoString() string

GoString returns the string representation

func (AddRoleToInstanceProfileOutput) String Uses

func (s AddRoleToInstanceProfileOutput) String() string

String returns the string representation

type AddUserToGroupInput Uses

type AddUserToGroupInput struct {

    // The name of the group to update.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // GroupName is a required field
    GroupName *string `min:"1" type:"string" required:"true"`

    // The name of the user to add.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // UserName is a required field
    UserName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AddUserToGroupInput) GoString Uses

func (s AddUserToGroupInput) GoString() string

GoString returns the string representation

func (*AddUserToGroupInput) SetGroupName Uses

func (s *AddUserToGroupInput) SetGroupName(v string) *AddUserToGroupInput

SetGroupName sets the GroupName field's value.

func (*AddUserToGroupInput) SetUserName Uses

func (s *AddUserToGroupInput) SetUserName(v string) *AddUserToGroupInput

SetUserName sets the UserName field's value.

func (AddUserToGroupInput) String Uses

func (s AddUserToGroupInput) String() string

String returns the string representation

func (*AddUserToGroupInput) Validate Uses

func (s *AddUserToGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AddUserToGroupOutput Uses

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

func (AddUserToGroupOutput) GoString Uses

func (s AddUserToGroupOutput) GoString() string

GoString returns the string representation

func (AddUserToGroupOutput) String Uses

func (s AddUserToGroupOutput) String() string

String returns the string representation

type AttachGroupPolicyInput Uses

type AttachGroupPolicyInput struct {

    // The name (friendly name, not ARN) of the group to attach the policy to.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // GroupName is a required field
    GroupName *string `min:"1" type:"string" required:"true"`

    // The Amazon Resource Name (ARN) of the IAM policy you want to attach.
    //
    // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS
    // Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
    // in the AWS General Reference.
    //
    // PolicyArn is a required field
    PolicyArn *string `min:"20" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AttachGroupPolicyInput) GoString Uses

func (s AttachGroupPolicyInput) GoString() string

GoString returns the string representation

func (*AttachGroupPolicyInput) SetGroupName Uses

func (s *AttachGroupPolicyInput) SetGroupName(v string) *AttachGroupPolicyInput

SetGroupName sets the GroupName field's value.

func (*AttachGroupPolicyInput) SetPolicyArn Uses

func (s *AttachGroupPolicyInput) SetPolicyArn(v string) *AttachGroupPolicyInput

SetPolicyArn sets the PolicyArn field's value.

func (AttachGroupPolicyInput) String Uses

func (s AttachGroupPolicyInput) String() string

String returns the string representation

func (*AttachGroupPolicyInput) Validate Uses

func (s *AttachGroupPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AttachGroupPolicyOutput Uses

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

func (AttachGroupPolicyOutput) GoString Uses

func (s AttachGroupPolicyOutput) GoString() string

GoString returns the string representation

func (AttachGroupPolicyOutput) String Uses

func (s AttachGroupPolicyOutput) String() string

String returns the string representation

type AttachRolePolicyInput Uses

type AttachRolePolicyInput struct {

    // The Amazon Resource Name (ARN) of the IAM policy you want to attach.
    //
    // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS
    // Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
    // in the AWS General Reference.
    //
    // PolicyArn is a required field
    PolicyArn *string `min:"20" type:"string" required:"true"`

    // The name (friendly name, not ARN) of the role to attach the policy to.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // RoleName is a required field
    RoleName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AttachRolePolicyInput) GoString Uses

func (s AttachRolePolicyInput) GoString() string

GoString returns the string representation

func (*AttachRolePolicyInput) SetPolicyArn Uses

func (s *AttachRolePolicyInput) SetPolicyArn(v string) *AttachRolePolicyInput

SetPolicyArn sets the PolicyArn field's value.

func (*AttachRolePolicyInput) SetRoleName Uses

func (s *AttachRolePolicyInput) SetRoleName(v string) *AttachRolePolicyInput

SetRoleName sets the RoleName field's value.

func (AttachRolePolicyInput) String Uses

func (s AttachRolePolicyInput) String() string

String returns the string representation

func (*AttachRolePolicyInput) Validate Uses

func (s *AttachRolePolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AttachRolePolicyOutput Uses

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

func (AttachRolePolicyOutput) GoString Uses

func (s AttachRolePolicyOutput) GoString() string

GoString returns the string representation

func (AttachRolePolicyOutput) String Uses

func (s AttachRolePolicyOutput) String() string

String returns the string representation

type AttachUserPolicyInput Uses

type AttachUserPolicyInput struct {

    // The Amazon Resource Name (ARN) of the IAM policy you want to attach.
    //
    // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS
    // Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
    // in the AWS General Reference.
    //
    // PolicyArn is a required field
    PolicyArn *string `min:"20" type:"string" required:"true"`

    // The name (friendly name, not ARN) of the IAM user to attach the policy to.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // UserName is a required field
    UserName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (AttachUserPolicyInput) GoString Uses

func (s AttachUserPolicyInput) GoString() string

GoString returns the string representation

func (*AttachUserPolicyInput) SetPolicyArn Uses

func (s *AttachUserPolicyInput) SetPolicyArn(v string) *AttachUserPolicyInput

SetPolicyArn sets the PolicyArn field's value.

func (*AttachUserPolicyInput) SetUserName Uses

func (s *AttachUserPolicyInput) SetUserName(v string) *AttachUserPolicyInput

SetUserName sets the UserName field's value.

func (AttachUserPolicyInput) String Uses

func (s AttachUserPolicyInput) String() string

String returns the string representation

func (*AttachUserPolicyInput) Validate Uses

func (s *AttachUserPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AttachUserPolicyOutput Uses

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

func (AttachUserPolicyOutput) GoString Uses

func (s AttachUserPolicyOutput) GoString() string

GoString returns the string representation

func (AttachUserPolicyOutput) String Uses

func (s AttachUserPolicyOutput) String() string

String returns the string representation

type AttachedPermissionsBoundary Uses

type AttachedPermissionsBoundary struct {

    // The ARN of the policy used to set the permissions boundary for the user or
    // role.
    PermissionsBoundaryArn *string `min:"20" type:"string"`

    // The permissions boundary usage type that indicates what type of IAM resource
    // is used as the permissions boundary for an entity. This data type can only
    // have a value of Policy.
    PermissionsBoundaryType *string `type:"string" enum:"PermissionsBoundaryAttachmentType"`
    // contains filtered or unexported fields
}

Contains information about an attached permissions boundary.

An attached permissions boundary is a managed policy that has been attached to a user or role to set the permissions boundary.

For more information about permissions boundaries, see Permissions Boundaries for IAM Identities (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) in the IAM User Guide.

func (AttachedPermissionsBoundary) GoString Uses

func (s AttachedPermissionsBoundary) GoString() string

GoString returns the string representation

func (*AttachedPermissionsBoundary) SetPermissionsBoundaryArn Uses

func (s *AttachedPermissionsBoundary) SetPermissionsBoundaryArn(v string) *AttachedPermissionsBoundary

SetPermissionsBoundaryArn sets the PermissionsBoundaryArn field's value.

func (*AttachedPermissionsBoundary) SetPermissionsBoundaryType Uses

func (s *AttachedPermissionsBoundary) SetPermissionsBoundaryType(v string) *AttachedPermissionsBoundary

SetPermissionsBoundaryType sets the PermissionsBoundaryType field's value.

func (AttachedPermissionsBoundary) String Uses

func (s AttachedPermissionsBoundary) String() string

String returns the string representation

type AttachedPolicy Uses

type AttachedPolicy struct {

    // The Amazon Resource Name (ARN). ARNs are unique identifiers for AWS resources.
    //
    // For more information about ARNs, go to Amazon Resource Names (ARNs) and AWS
    // Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
    // in the AWS General Reference.
    PolicyArn *string `min:"20" type:"string"`

    // The friendly name of the attached policy.
    PolicyName *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

Contains information about an attached policy.

An attached policy is a managed policy that has been attached to a user, group, or role. This data type is used as a response element in the ListAttachedGroupPolicies, ListAttachedRolePolicies, ListAttachedUserPolicies, and GetAccountAuthorizationDetails operations.

For more information about managed policies, refer to Managed Policies and Inline Policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) in the Using IAM guide.

func (AttachedPolicy) GoString Uses

func (s AttachedPolicy) GoString() string

GoString returns the string representation

func (*AttachedPolicy) SetPolicyArn Uses

func (s *AttachedPolicy) SetPolicyArn(v string) *AttachedPolicy

SetPolicyArn sets the PolicyArn field's value.

func (*AttachedPolicy) SetPolicyName Uses

func (s *AttachedPolicy) SetPolicyName(v string) *AttachedPolicy

SetPolicyName sets the PolicyName field's value.

func (AttachedPolicy) String Uses

func (s AttachedPolicy) String() string

String returns the string representation

type ChangePasswordInput Uses

type ChangePasswordInput struct {

    // The new password. The new password must conform to the AWS account's password
    // policy, if one exists.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) that is used to validate
    // this parameter is a string of characters. That string can include almost
    // any printable ASCII character from the space (\u0020) through the end of
    // the ASCII character range (\u00FF). You can also include the tab (\u0009),
    // line feed (\u000A), and carriage return (\u000D) characters. Any of these
    // characters are valid in a password. However, many tools, such as the AWS
    // Management Console, might restrict the ability to type certain characters
    // because they have special meaning within that tool.
    //
    // NewPassword is a required field
    NewPassword *string `min:"1" type:"string" required:"true" sensitive:"true"`

    // The IAM user's current password.
    //
    // OldPassword is a required field
    OldPassword *string `min:"1" type:"string" required:"true" sensitive:"true"`
    // contains filtered or unexported fields
}

func (ChangePasswordInput) GoString Uses

func (s ChangePasswordInput) GoString() string

GoString returns the string representation

func (*ChangePasswordInput) SetNewPassword Uses

func (s *ChangePasswordInput) SetNewPassword(v string) *ChangePasswordInput

SetNewPassword sets the NewPassword field's value.

func (*ChangePasswordInput) SetOldPassword Uses

func (s *ChangePasswordInput) SetOldPassword(v string) *ChangePasswordInput

SetOldPassword sets the OldPassword field's value.

func (ChangePasswordInput) String Uses

func (s ChangePasswordInput) String() string

String returns the string representation

func (*ChangePasswordInput) Validate Uses

func (s *ChangePasswordInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ChangePasswordOutput Uses

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

func (ChangePasswordOutput) GoString Uses

func (s ChangePasswordOutput) GoString() string

GoString returns the string representation

func (ChangePasswordOutput) String Uses

func (s ChangePasswordOutput) String() string

String returns the string representation

type ContextEntry Uses

type ContextEntry struct {

    // The full name of a condition context key, including the service prefix. For
    // example, aws:SourceIp or s3:VersionId.
    ContextKeyName *string `min:"5" type:"string"`

    // The data type of the value (or values) specified in the ContextKeyValues
    // parameter.
    ContextKeyType *string `type:"string" enum:"ContextKeyTypeEnum"`

    // The value (or values, if the condition context key supports multiple values)
    // to provide to the simulation when the key is referenced by a Condition element
    // in an input policy.
    ContextKeyValues []*string `type:"list"`
    // contains filtered or unexported fields
}

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.

This data type is used as an input parameter to SimulateCustomPolicy and SimulateCustomPolicy .

func (ContextEntry) GoString Uses

func (s ContextEntry) GoString() string

GoString returns the string representation

func (*ContextEntry) SetContextKeyName Uses

func (s *ContextEntry) SetContextKeyName(v string) *ContextEntry

SetContextKeyName sets the ContextKeyName field's value.

func (*ContextEntry) SetContextKeyType Uses

func (s *ContextEntry) SetContextKeyType(v string) *ContextEntry

SetContextKeyType sets the ContextKeyType field's value.

func (*ContextEntry) SetContextKeyValues Uses

func (s *ContextEntry) SetContextKeyValues(v []*string) *ContextEntry

SetContextKeyValues sets the ContextKeyValues field's value.

func (ContextEntry) String Uses

func (s ContextEntry) String() string

String returns the string representation

func (*ContextEntry) Validate Uses

func (s *ContextEntry) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateAccessKeyInput Uses

type CreateAccessKeyInput struct {

    // The name of the IAM user that the new key will belong to.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    UserName *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (CreateAccessKeyInput) GoString Uses

func (s CreateAccessKeyInput) GoString() string

GoString returns the string representation

func (*CreateAccessKeyInput) SetUserName Uses

func (s *CreateAccessKeyInput) SetUserName(v string) *CreateAccessKeyInput

SetUserName sets the UserName field's value.

func (CreateAccessKeyInput) String Uses

func (s CreateAccessKeyInput) String() string

String returns the string representation

func (*CreateAccessKeyInput) Validate Uses

func (s *CreateAccessKeyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateAccessKeyOutput Uses

type CreateAccessKeyOutput struct {

    // A structure with details about the access key.
    //
    // AccessKey is a required field
    AccessKey *AccessKey `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Contains the response to a successful CreateAccessKey request.

func (CreateAccessKeyOutput) GoString Uses

func (s CreateAccessKeyOutput) GoString() string

GoString returns the string representation

func (*CreateAccessKeyOutput) SetAccessKey Uses

func (s *CreateAccessKeyOutput) SetAccessKey(v *AccessKey) *CreateAccessKeyOutput

SetAccessKey sets the AccessKey field's value.

func (CreateAccessKeyOutput) String Uses

func (s CreateAccessKeyOutput) String() string

String returns the string representation

type CreateAccountAliasInput Uses

type CreateAccountAliasInput struct {

    // The account alias to create.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of lowercase letters, digits, and dashes.
    // You cannot start or finish with a dash, nor can you have two dashes in a
    // row.
    //
    // AccountAlias is a required field
    AccountAlias *string `min:"3" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateAccountAliasInput) GoString Uses

func (s CreateAccountAliasInput) GoString() string

GoString returns the string representation

func (*CreateAccountAliasInput) SetAccountAlias Uses

func (s *CreateAccountAliasInput) SetAccountAlias(v string) *CreateAccountAliasInput

SetAccountAlias sets the AccountAlias field's value.

func (CreateAccountAliasInput) String Uses

func (s CreateAccountAliasInput) String() string

String returns the string representation

func (*CreateAccountAliasInput) Validate Uses

func (s *CreateAccountAliasInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateAccountAliasOutput Uses

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

func (CreateAccountAliasOutput) GoString Uses

func (s CreateAccountAliasOutput) GoString() string

GoString returns the string representation

func (CreateAccountAliasOutput) String Uses

func (s CreateAccountAliasOutput) String() string

String returns the string representation

type CreateGroupInput Uses

type CreateGroupInput struct {

    // The name of the group to create. Do not include the path in this value.
    //
    // IAM user, group, role, and policy names must be unique within the account.
    // Names are not distinguished by case. For example, you cannot create resources
    // named both "MyResource" and "myresource".
    //
    // GroupName is a required field
    GroupName *string `min:"1" type:"string" required:"true"`

    // The path to the group. For more information about paths, see IAM Identifiers
    // (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
    // in the IAM User Guide.
    //
    // This parameter is optional. If it is not included, it defaults to a slash
    // (/).
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of either a forward slash (/) by itself
    // or a string that must begin and end with forward slashes. In addition, it
    // can contain any ASCII character from the ! (\u0021) through the DEL character
    // (\u007F), including most punctuation characters, digits, and upper and lowercased
    // letters.
    Path *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (CreateGroupInput) GoString Uses

func (s CreateGroupInput) GoString() string

GoString returns the string representation

func (*CreateGroupInput) SetGroupName Uses

func (s *CreateGroupInput) SetGroupName(v string) *CreateGroupInput

SetGroupName sets the GroupName field's value.

func (*CreateGroupInput) SetPath Uses

func (s *CreateGroupInput) SetPath(v string) *CreateGroupInput

SetPath sets the Path field's value.

func (CreateGroupInput) String Uses

func (s CreateGroupInput) String() string

String returns the string representation

func (*CreateGroupInput) Validate Uses

func (s *CreateGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateGroupOutput Uses

type CreateGroupOutput struct {

    // A structure containing details about the new group.
    //
    // Group is a required field
    Group *Group `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Contains the response to a successful CreateGroup request.

func (CreateGroupOutput) GoString Uses

func (s CreateGroupOutput) GoString() string

GoString returns the string representation

func (*CreateGroupOutput) SetGroup Uses

func (s *CreateGroupOutput) SetGroup(v *Group) *CreateGroupOutput

SetGroup sets the Group field's value.

func (CreateGroupOutput) String Uses

func (s CreateGroupOutput) String() string

String returns the string representation

type CreateInstanceProfileInput Uses

type CreateInstanceProfileInput struct {

    // The name of the instance profile to create.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // InstanceProfileName is a required field
    InstanceProfileName *string `min:"1" type:"string" required:"true"`

    // The path to the instance profile. For more information about paths, see IAM
    // Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
    // in the IAM User Guide.
    //
    // This parameter is optional. If it is not included, it defaults to a slash
    // (/).
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of either a forward slash (/) by itself
    // or a string that must begin and end with forward slashes. In addition, it
    // can contain any ASCII character from the ! (\u0021) through the DEL character
    // (\u007F), including most punctuation characters, digits, and upper and lowercased
    // letters.
    Path *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (CreateInstanceProfileInput) GoString Uses

func (s CreateInstanceProfileInput) GoString() string

GoString returns the string representation

func (*CreateInstanceProfileInput) SetInstanceProfileName Uses

func (s *CreateInstanceProfileInput) SetInstanceProfileName(v string) *CreateInstanceProfileInput

SetInstanceProfileName sets the InstanceProfileName field's value.

func (*CreateInstanceProfileInput) SetPath Uses

func (s *CreateInstanceProfileInput) SetPath(v string) *CreateInstanceProfileInput

SetPath sets the Path field's value.

func (CreateInstanceProfileInput) String Uses

func (s CreateInstanceProfileInput) String() string

String returns the string representation

func (*CreateInstanceProfileInput) Validate Uses

func (s *CreateInstanceProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateInstanceProfileOutput Uses

type CreateInstanceProfileOutput struct {

    // A structure containing details about the new instance profile.
    //
    // InstanceProfile is a required field
    InstanceProfile *InstanceProfile `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Contains the response to a successful CreateInstanceProfile request.

func (CreateInstanceProfileOutput) GoString Uses

func (s CreateInstanceProfileOutput) GoString() string

GoString returns the string representation

func (*CreateInstanceProfileOutput) SetInstanceProfile Uses

func (s *CreateInstanceProfileOutput) SetInstanceProfile(v *InstanceProfile) *CreateInstanceProfileOutput

SetInstanceProfile sets the InstanceProfile field's value.

func (CreateInstanceProfileOutput) String Uses

func (s CreateInstanceProfileOutput) String() string

String returns the string representation

type CreateLoginProfileInput Uses

type CreateLoginProfileInput struct {

    // The new password for the user.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) that is used to validate
    // this parameter is a string of characters. That string can include almost
    // any printable ASCII character from the space (\u0020) through the end of
    // the ASCII character range (\u00FF). You can also include the tab (\u0009),
    // line feed (\u000A), and carriage return (\u000D) characters. Any of these
    // characters are valid in a password. However, many tools, such as the AWS
    // Management Console, might restrict the ability to type certain characters
    // because they have special meaning within that tool.
    //
    // Password is a required field
    Password *string `min:"1" type:"string" required:"true" sensitive:"true"`

    // Specifies whether the user is required to set a new password on next sign-in.
    PasswordResetRequired *bool `type:"boolean"`

    // The name of the IAM user to create a password for. The user must already
    // exist.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // UserName is a required field
    UserName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateLoginProfileInput) GoString Uses

func (s CreateLoginProfileInput) GoString() string

GoString returns the string representation

func (*CreateLoginProfileInput) SetPassword Uses

func (s *CreateLoginProfileInput) SetPassword(v string) *CreateLoginProfileInput

SetPassword sets the Password field's value.

func (*CreateLoginProfileInput) SetPasswordResetRequired Uses

func (s *CreateLoginProfileInput) SetPasswordResetRequired(v bool) *CreateLoginProfileInput

SetPasswordResetRequired sets the PasswordResetRequired field's value.

func (*CreateLoginProfileInput) SetUserName Uses

func (s *CreateLoginProfileInput) SetUserName(v string) *CreateLoginProfileInput

SetUserName sets the UserName field's value.

func (CreateLoginProfileInput) String Uses

func (s CreateLoginProfileInput) String() string

String returns the string representation

func (*CreateLoginProfileInput) Validate Uses

func (s *CreateLoginProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateLoginProfileOutput Uses

type CreateLoginProfileOutput struct {

    // A structure containing the user name and password create date.
    //
    // LoginProfile is a required field
    LoginProfile *LoginProfile `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Contains the response to a successful CreateLoginProfile request.

func (CreateLoginProfileOutput) GoString Uses

func (s CreateLoginProfileOutput) GoString() string

GoString returns the string representation

func (*CreateLoginProfileOutput) SetLoginProfile Uses

func (s *CreateLoginProfileOutput) SetLoginProfile(v *LoginProfile) *CreateLoginProfileOutput

SetLoginProfile sets the LoginProfile field's value.

func (CreateLoginProfileOutput) String Uses

func (s CreateLoginProfileOutput) String() string

String returns the string representation

type CreateOpenIDConnectProviderInput Uses

type CreateOpenIDConnectProviderInput struct {

    // A list of client IDs (also known as audiences). When a mobile or web app
    // registers with an OpenID Connect provider, they establish a value that identifies
    // the application. (This is the value that's sent as the client_id parameter
    // on OAuth requests.)
    //
    // You can register multiple client IDs with the same provider. For example,
    // you might have multiple applications that use the same OIDC provider. You
    // cannot register more than 100 client IDs with a single IAM OIDC provider.
    //
    // There is no defined format for a client ID. The CreateOpenIDConnectProviderRequest
    // operation accepts client IDs up to 255 characters long.
    ClientIDList []*string `type:"list"`

    // A list of server certificate thumbprints for the OpenID Connect (OIDC) identity
    // provider's server certificates. Typically this list includes only one entry.
    // However, IAM lets you have up to five thumbprints for an OIDC provider. This
    // lets you maintain multiple thumbprints if the identity provider is rotating
    // certificates.
    //
    // The server certificate thumbprint is the hex-encoded SHA-1 hash value of
    // the X.509 certificate used by the domain where the OpenID Connect provider
    // makes its keys available. It is always a 40-character string.
    //
    // You must provide at least one thumbprint when creating an IAM OIDC provider.
    // For example, assume that the OIDC provider is server.example.com and the
    // provider stores its keys at https://keys.server.example.com/openid-connect.
    // In that case, the thumbprint string would be the hex-encoded SHA-1 hash value
    // of the certificate used by https://keys.server.example.com.
    //
    // For more information about obtaining the OIDC provider's thumbprint, see
    // Obtaining the Thumbprint for an OpenID Connect Provider (https://docs.aws.amazon.com/IAM/latest/UserGuide/identity-providers-oidc-obtain-thumbprint.html)
    // in the IAM User Guide.
    //
    // ThumbprintList is a required field
    ThumbprintList []*string `type:"list" required:"true"`

    // The URL of the identity provider. The URL must begin with https:// and should
    // correspond to the iss claim in the provider's OpenID Connect ID tokens. Per
    // the OIDC standard, path components are allowed but query parameters are not.
    // Typically the URL consists of only a hostname, like https://server.example.org
    // or https://example.com.
    //
    // You cannot register the same provider multiple times in a single AWS account.
    // If you try to submit a URL that has already been used for an OpenID Connect
    // provider in the AWS account, you will get an error.
    //
    // Url is a required field
    Url *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateOpenIDConnectProviderInput) GoString Uses

func (s CreateOpenIDConnectProviderInput) GoString() string

GoString returns the string representation

func (*CreateOpenIDConnectProviderInput) SetClientIDList Uses

func (s *CreateOpenIDConnectProviderInput) SetClientIDList(v []*string) *CreateOpenIDConnectProviderInput

SetClientIDList sets the ClientIDList field's value.

func (*CreateOpenIDConnectProviderInput) SetThumbprintList Uses

func (s *CreateOpenIDConnectProviderInput) SetThumbprintList(v []*string) *CreateOpenIDConnectProviderInput

SetThumbprintList sets the ThumbprintList field's value.

func (*CreateOpenIDConnectProviderInput) SetUrl Uses

func (s *CreateOpenIDConnectProviderInput) SetUrl(v string) *CreateOpenIDConnectProviderInput

SetUrl sets the Url field's value.

func (CreateOpenIDConnectProviderInput) String Uses

func (s CreateOpenIDConnectProviderInput) String() string

String returns the string representation

func (*CreateOpenIDConnectProviderInput) Validate Uses

func (s *CreateOpenIDConnectProviderInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateOpenIDConnectProviderOutput Uses

type CreateOpenIDConnectProviderOutput struct {

    // The Amazon Resource Name (ARN) of the new IAM OpenID Connect provider that
    // is created. For more information, see OpenIDConnectProviderListEntry.
    OpenIDConnectProviderArn *string `min:"20" type:"string"`
    // contains filtered or unexported fields
}

Contains the response to a successful CreateOpenIDConnectProvider request.

func (CreateOpenIDConnectProviderOutput) GoString Uses

func (s CreateOpenIDConnectProviderOutput) GoString() string

GoString returns the string representation

func (*CreateOpenIDConnectProviderOutput) SetOpenIDConnectProviderArn Uses

func (s *CreateOpenIDConnectProviderOutput) SetOpenIDConnectProviderArn(v string) *CreateOpenIDConnectProviderOutput

SetOpenIDConnectProviderArn sets the OpenIDConnectProviderArn field's value.

func (CreateOpenIDConnectProviderOutput) String Uses

func (s CreateOpenIDConnectProviderOutput) String() string

String returns the string representation

type CreatePolicyInput Uses

type CreatePolicyInput struct {

    // A friendly description of the policy.
    //
    // Typically used to store information about the permissions defined in the
    // policy. For example, "Grants access to production DynamoDB tables."
    //
    // The policy description is immutable. After a value is assigned, it cannot
    // be changed.
    Description *string `type:"string"`

    // The path for the policy.
    //
    // For more information about paths, see IAM Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
    // in the IAM User Guide.
    //
    // This parameter is optional. If it is not included, it defaults to a slash
    // (/).
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of either a forward slash (/) by itself
    // or a string that must begin and end with forward slashes. In addition, it
    // can contain any ASCII character from the ! (\u0021) through the DEL character
    // (\u007F), including most punctuation characters, digits, and upper and lowercased
    // letters.
    Path *string `min:"1" type:"string"`

    // The JSON policy document that you want to use as the content for the new
    // policy.
    //
    // You must provide policies in JSON format in IAM. However, for AWS CloudFormation
    // templates formatted in YAML, you can provide the policy in JSON or YAML format.
    // AWS CloudFormation always converts a YAML policy to JSON format before submitting
    // it to IAM.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) used to validate this
    // parameter is a string of characters consisting of the following:
    //
    //    * Any printable ASCII character ranging from the space character (\u0020)
    //    through the end of the ASCII character range
    //
    //    * The printable characters in the Basic Latin and Latin-1 Supplement character
    //    set (through \u00FF)
    //
    //    * The special characters tab (\u0009), line feed (\u000A), and carriage
    //    return (\u000D)
    //
    // PolicyDocument is a required field
    PolicyDocument *string `min:"1" type:"string" required:"true"`

    // The friendly name of the policy.
    //
    // IAM user, group, role, and policy names must be unique within the account.
    // Names are not distinguished by case. For example, you cannot create resources
    // named both "MyResource" and "myresource".
    //
    // PolicyName is a required field
    PolicyName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreatePolicyInput) GoString Uses

func (s CreatePolicyInput) GoString() string

GoString returns the string representation

func (*CreatePolicyInput) SetDescription Uses

func (s *CreatePolicyInput) SetDescription(v string) *CreatePolicyInput

SetDescription sets the Description field's value.

func (*CreatePolicyInput) SetPath Uses

func (s *CreatePolicyInput) SetPath(v string) *CreatePolicyInput

SetPath sets the Path field's value.

func (*CreatePolicyInput) SetPolicyDocument Uses

func (s *CreatePolicyInput) SetPolicyDocument(v string) *CreatePolicyInput

SetPolicyDocument sets the PolicyDocument field's value.

func (*CreatePolicyInput) SetPolicyName Uses

func (s *CreatePolicyInput) SetPolicyName(v string) *CreatePolicyInput

SetPolicyName sets the PolicyName field's value.

func (CreatePolicyInput) String Uses

func (s CreatePolicyInput) String() string

String returns the string representation

func (*CreatePolicyInput) Validate Uses

func (s *CreatePolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreatePolicyOutput Uses

type CreatePolicyOutput struct {

    // A structure containing details about the new policy.
    Policy *Policy `type:"structure"`
    // contains filtered or unexported fields
}

Contains the response to a successful CreatePolicy request.

func (CreatePolicyOutput) GoString Uses

func (s CreatePolicyOutput) GoString() string

GoString returns the string representation

func (*CreatePolicyOutput) SetPolicy Uses

func (s *CreatePolicyOutput) SetPolicy(v *Policy) *CreatePolicyOutput

SetPolicy sets the Policy field's value.

func (CreatePolicyOutput) String Uses

func (s CreatePolicyOutput) String() string

String returns the string representation

type CreatePolicyVersionInput Uses

type CreatePolicyVersionInput struct {

    // The Amazon Resource Name (ARN) of the IAM policy to which you want to add
    // a new version.
    //
    // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS
    // Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
    // in the AWS General Reference.
    //
    // PolicyArn is a required field
    PolicyArn *string `min:"20" type:"string" required:"true"`

    // The JSON policy document that you want to use as the content for this new
    // version of the policy.
    //
    // You must provide policies in JSON format in IAM. However, for AWS CloudFormation
    // templates formatted in YAML, you can provide the policy in JSON or YAML format.
    // AWS CloudFormation always converts a YAML policy to JSON format before submitting
    // it to IAM.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) used to validate this
    // parameter is a string of characters consisting of the following:
    //
    //    * Any printable ASCII character ranging from the space character (\u0020)
    //    through the end of the ASCII character range
    //
    //    * The printable characters in the Basic Latin and Latin-1 Supplement character
    //    set (through \u00FF)
    //
    //    * The special characters tab (\u0009), line feed (\u000A), and carriage
    //    return (\u000D)
    //
    // PolicyDocument is a required field
    PolicyDocument *string `min:"1" type:"string" required:"true"`

    // Specifies whether to set this version as the policy's default version.
    //
    // When this parameter is true, the new policy version becomes the operative
    // version. That is, it becomes the version that is in effect for the IAM users,
    // groups, and roles that the policy is attached to.
    //
    // For more information about managed policy versions, see Versioning for Managed
    // Policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html)
    // in the IAM User Guide.
    SetAsDefault *bool `type:"boolean"`
    // contains filtered or unexported fields
}

func (CreatePolicyVersionInput) GoString Uses

func (s CreatePolicyVersionInput) GoString() string

GoString returns the string representation

func (*CreatePolicyVersionInput) SetPolicyArn Uses

func (s *CreatePolicyVersionInput) SetPolicyArn(v string) *CreatePolicyVersionInput

SetPolicyArn sets the PolicyArn field's value.

func (*CreatePolicyVersionInput) SetPolicyDocument Uses

func (s *CreatePolicyVersionInput) SetPolicyDocument(v string) *CreatePolicyVersionInput

SetPolicyDocument sets the PolicyDocument field's value.

func (*CreatePolicyVersionInput) SetSetAsDefault Uses

func (s *CreatePolicyVersionInput) SetSetAsDefault(v bool) *CreatePolicyVersionInput

SetSetAsDefault sets the SetAsDefault field's value.

func (CreatePolicyVersionInput) String Uses

func (s CreatePolicyVersionInput) String() string

String returns the string representation

func (*CreatePolicyVersionInput) Validate Uses

func (s *CreatePolicyVersionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreatePolicyVersionOutput Uses

type CreatePolicyVersionOutput struct {

    // A structure containing details about the new policy version.
    PolicyVersion *PolicyVersion `type:"structure"`
    // contains filtered or unexported fields
}

Contains the response to a successful CreatePolicyVersion request.

func (CreatePolicyVersionOutput) GoString Uses

func (s CreatePolicyVersionOutput) GoString() string

GoString returns the string representation

func (*CreatePolicyVersionOutput) SetPolicyVersion Uses

func (s *CreatePolicyVersionOutput) SetPolicyVersion(v *PolicyVersion) *CreatePolicyVersionOutput

SetPolicyVersion sets the PolicyVersion field's value.

func (CreatePolicyVersionOutput) String Uses

func (s CreatePolicyVersionOutput) String() string

String returns the string representation

type CreateRoleInput Uses

type CreateRoleInput struct {

    // The trust relationship policy document that grants an entity permission to
    // assume the role.
    //
    // In IAM, you must provide a JSON policy that has been converted to a string.
    // However, for AWS CloudFormation templates formatted in YAML, you can provide
    // the policy in JSON or YAML format. AWS CloudFormation always converts a YAML
    // policy to JSON format before submitting it to IAM.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) used to validate this
    // parameter is a string of characters consisting of the following:
    //
    //    * Any printable ASCII character ranging from the space character (\u0020)
    //    through the end of the ASCII character range
    //
    //    * The printable characters in the Basic Latin and Latin-1 Supplement character
    //    set (through \u00FF)
    //
    //    * The special characters tab (\u0009), line feed (\u000A), and carriage
    //    return (\u000D)
    //
    // Upon success, the response includes the same trust policy as a URL-encoded
    // JSON string.
    //
    // AssumeRolePolicyDocument is a required field
    AssumeRolePolicyDocument *string `min:"1" type:"string" required:"true"`

    // A description of the role.
    Description *string `type:"string"`

    // The maximum session duration (in seconds) that you want to set for the specified
    // role. If you do not specify a value for this setting, the default maximum
    // of one hour is applied. This setting can have a value from 1 hour to 12 hours.
    //
    // Anyone who assumes the role from the AWS CLI or API can use the DurationSeconds
    // API parameter or the duration-seconds CLI parameter to request a longer session.
    // The MaxSessionDuration setting determines the maximum duration that can be
    // requested using the DurationSeconds parameter. If users don't specify a value
    // for the DurationSeconds parameter, their security credentials are valid for
    // one hour by default. This applies when you use the AssumeRole* API operations
    // or the assume-role* CLI operations but does not apply when you use those
    // operations to create a console URL. For more information, see Using IAM Roles
    // (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html) in the
    // IAM User Guide.
    MaxSessionDuration *int64 `min:"3600" type:"integer"`

    // The path to the role. For more information about paths, see IAM Identifiers
    // (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
    // in the IAM User Guide.
    //
    // This parameter is optional. If it is not included, it defaults to a slash
    // (/).
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of either a forward slash (/) by itself
    // or a string that must begin and end with forward slashes. In addition, it
    // can contain any ASCII character from the ! (\u0021) through the DEL character
    // (\u007F), including most punctuation characters, digits, and upper and lowercased
    // letters.
    Path *string `min:"1" type:"string"`

    // The ARN of the policy that is used to set the permissions boundary for the
    // role.
    PermissionsBoundary *string `min:"20" type:"string"`

    // The name of the role to create.
    //
    // IAM user, group, role, and policy names must be unique within the account.
    // Names are not distinguished by case. For example, you cannot create resources
    // named both "MyResource" and "myresource".
    //
    // RoleName is a required field
    RoleName *string `min:"1" type:"string" required:"true"`

    // A list of tags that you want to attach to the newly created role. Each tag
    // consists of a key name and an associated value. For more information about
    // tagging, see Tagging IAM Identities (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html)
    // in the IAM User Guide.
    //
    // If any one of the tags is invalid or if you exceed the allowed number of
    // tags per role, then the entire request fails and the role is not created.
    Tags []*Tag `type:"list"`
    // contains filtered or unexported fields
}

func (CreateRoleInput) GoString Uses

func (s CreateRoleInput) GoString() string

GoString returns the string representation

func (*CreateRoleInput) SetAssumeRolePolicyDocument Uses

func (s *CreateRoleInput) SetAssumeRolePolicyDocument(v string) *CreateRoleInput

SetAssumeRolePolicyDocument sets the AssumeRolePolicyDocument field's value.

func (*CreateRoleInput) SetDescription Uses

func (s *CreateRoleInput) SetDescription(v string) *CreateRoleInput

SetDescription sets the Description field's value.

func (*CreateRoleInput) SetMaxSessionDuration Uses

func (s *CreateRoleInput) SetMaxSessionDuration(v int64) *CreateRoleInput

SetMaxSessionDuration sets the MaxSessionDuration field's value.

func (*CreateRoleInput) SetPath Uses

func (s *CreateRoleInput) SetPath(v string) *CreateRoleInput

SetPath sets the Path field's value.

func (*CreateRoleInput) SetPermissionsBoundary Uses

func (s *CreateRoleInput) SetPermissionsBoundary(v string) *CreateRoleInput

SetPermissionsBoundary sets the PermissionsBoundary field's value.

func (*CreateRoleInput) SetRoleName Uses

func (s *CreateRoleInput) SetRoleName(v string) *CreateRoleInput

SetRoleName sets the RoleName field's value.

func (*CreateRoleInput) SetTags Uses

func (s *CreateRoleInput) SetTags(v []*Tag) *CreateRoleInput

SetTags sets the Tags field's value.

func (CreateRoleInput) String Uses

func (s CreateRoleInput) String() string

String returns the string representation

func (*CreateRoleInput) Validate Uses

func (s *CreateRoleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateRoleOutput Uses

type CreateRoleOutput struct {

    // A structure containing details about the new role.
    //
    // Role is a required field
    Role *Role `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Contains the response to a successful CreateRole request.

func (CreateRoleOutput) GoString Uses

func (s CreateRoleOutput) GoString() string

GoString returns the string representation

func (*CreateRoleOutput) SetRole Uses

func (s *CreateRoleOutput) SetRole(v *Role) *CreateRoleOutput

SetRole sets the Role field's value.

func (CreateRoleOutput) String Uses

func (s CreateRoleOutput) String() string

String returns the string representation

type CreateSAMLProviderInput Uses

type CreateSAMLProviderInput struct {

    // The name of the provider to create.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // Name is a required field
    Name *string `min:"1" type:"string" required:"true"`

    // An XML document generated by an identity provider (IdP) that supports SAML
    // 2.0. The document includes the issuer's name, expiration information, and
    // keys that can be used to validate the SAML authentication response (assertions)
    // that are received from the IdP. You must generate the metadata document using
    // the identity management software that is used as your organization's IdP.
    //
    // For more information, see About SAML 2.0-based Federation (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_saml.html)
    // in the IAM User Guide
    //
    // SAMLMetadataDocument is a required field
    SAMLMetadataDocument *string `min:"1000" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateSAMLProviderInput) GoString Uses

func (s CreateSAMLProviderInput) GoString() string

GoString returns the string representation

func (*CreateSAMLProviderInput) SetName Uses

func (s *CreateSAMLProviderInput) SetName(v string) *CreateSAMLProviderInput

SetName sets the Name field's value.

func (*CreateSAMLProviderInput) SetSAMLMetadataDocument Uses

func (s *CreateSAMLProviderInput) SetSAMLMetadataDocument(v string) *CreateSAMLProviderInput

SetSAMLMetadataDocument sets the SAMLMetadataDocument field's value.

func (CreateSAMLProviderInput) String Uses

func (s CreateSAMLProviderInput) String() string

String returns the string representation

func (*CreateSAMLProviderInput) Validate Uses

func (s *CreateSAMLProviderInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateSAMLProviderOutput Uses

type CreateSAMLProviderOutput struct {

    // The Amazon Resource Name (ARN) of the new SAML provider resource in IAM.
    SAMLProviderArn *string `min:"20" type:"string"`
    // contains filtered or unexported fields
}

Contains the response to a successful CreateSAMLProvider request.

func (CreateSAMLProviderOutput) GoString Uses

func (s CreateSAMLProviderOutput) GoString() string

GoString returns the string representation

func (*CreateSAMLProviderOutput) SetSAMLProviderArn Uses

func (s *CreateSAMLProviderOutput) SetSAMLProviderArn(v string) *CreateSAMLProviderOutput

SetSAMLProviderArn sets the SAMLProviderArn field's value.

func (CreateSAMLProviderOutput) String Uses

func (s CreateSAMLProviderOutput) String() string

String returns the string representation

type CreateServiceLinkedRoleInput Uses

type CreateServiceLinkedRoleInput struct {

    // The service principal for the AWS service to which this role is attached.
    // You use a string similar to a URL but without the http:// in front. For example:
    // elasticbeanstalk.amazonaws.com.
    //
    // Service principals are unique and case-sensitive. To find the exact service
    // principal for your service-linked role, see AWS Services That Work with IAM
    // (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-services-that-work-with-iam.html)
    // in the IAM User Guide. Look for the services that have Yes in the Service-Linked
    // Role column. Choose the Yes link to view the service-linked role documentation
    // for that service.
    //
    // AWSServiceName is a required field
    AWSServiceName *string `min:"1" type:"string" required:"true"`

    // A string that you provide, which is combined with the service-provided prefix
    // to form the complete role name. If you make multiple requests for the same
    // service, then you must supply a different CustomSuffix for each request.
    // Otherwise the request fails with a duplicate role name error. For example,
    // you could add -1 or -debug to the suffix.
    //
    // Some services do not support the CustomSuffix parameter. If you provide an
    // optional suffix and the operation fails, try the operation again without
    // the suffix.
    CustomSuffix *string `min:"1" type:"string"`

    // The description of the role.
    Description *string `type:"string"`
    // contains filtered or unexported fields
}

func (CreateServiceLinkedRoleInput) GoString Uses

func (s CreateServiceLinkedRoleInput) GoString() string

GoString returns the string representation

func (*CreateServiceLinkedRoleInput) SetAWSServiceName Uses

func (s *CreateServiceLinkedRoleInput) SetAWSServiceName(v string) *CreateServiceLinkedRoleInput

SetAWSServiceName sets the AWSServiceName field's value.

func (*CreateServiceLinkedRoleInput) SetCustomSuffix Uses

func (s *CreateServiceLinkedRoleInput) SetCustomSuffix(v string) *CreateServiceLinkedRoleInput

SetCustomSuffix sets the CustomSuffix field's value.

func (*CreateServiceLinkedRoleInput) SetDescription Uses

func (s *CreateServiceLinkedRoleInput) SetDescription(v string) *CreateServiceLinkedRoleInput

SetDescription sets the Description field's value.

func (CreateServiceLinkedRoleInput) String Uses

func (s CreateServiceLinkedRoleInput) String() string

String returns the string representation

func (*CreateServiceLinkedRoleInput) Validate Uses

func (s *CreateServiceLinkedRoleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateServiceLinkedRoleOutput Uses

type CreateServiceLinkedRoleOutput struct {

    // A Role object that contains details about the newly created role.
    Role *Role `type:"structure"`
    // contains filtered or unexported fields
}

func (CreateServiceLinkedRoleOutput) GoString Uses

func (s CreateServiceLinkedRoleOutput) GoString() string

GoString returns the string representation

func (*CreateServiceLinkedRoleOutput) SetRole Uses

func (s *CreateServiceLinkedRoleOutput) SetRole(v *Role) *CreateServiceLinkedRoleOutput

SetRole sets the Role field's value.

func (CreateServiceLinkedRoleOutput) String Uses

func (s CreateServiceLinkedRoleOutput) String() string

String returns the string representation

type CreateServiceSpecificCredentialInput Uses

type CreateServiceSpecificCredentialInput struct {

    // The name of the AWS service that is to be associated with the credentials.
    // The service you specify here is the only service that can be accessed using
    // these credentials.
    //
    // ServiceName is a required field
    ServiceName *string `type:"string" required:"true"`

    // The name of the IAM user that is to be associated with the credentials. The
    // new service-specific credentials have the same permissions as the associated
    // user except that they can be used only to access the specified service.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // UserName is a required field
    UserName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateServiceSpecificCredentialInput) GoString Uses

func (s CreateServiceSpecificCredentialInput) GoString() string

GoString returns the string representation

func (*CreateServiceSpecificCredentialInput) SetServiceName Uses

func (s *CreateServiceSpecificCredentialInput) SetServiceName(v string) *CreateServiceSpecificCredentialInput

SetServiceName sets the ServiceName field's value.

func (*CreateServiceSpecificCredentialInput) SetUserName Uses

func (s *CreateServiceSpecificCredentialInput) SetUserName(v string) *CreateServiceSpecificCredentialInput

SetUserName sets the UserName field's value.

func (CreateServiceSpecificCredentialInput) String Uses

func (s CreateServiceSpecificCredentialInput) String() string

String returns the string representation

func (*CreateServiceSpecificCredentialInput) Validate Uses

func (s *CreateServiceSpecificCredentialInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateServiceSpecificCredentialOutput Uses

type CreateServiceSpecificCredentialOutput struct {

    // A structure that contains information about the newly created service-specific
    // credential.
    //
    // This is the only time that the password for this credential set is available.
    // It cannot be recovered later. Instead, you must reset the password with ResetServiceSpecificCredential.
    ServiceSpecificCredential *ServiceSpecificCredential `type:"structure"`
    // contains filtered or unexported fields
}

func (CreateServiceSpecificCredentialOutput) GoString Uses

func (s CreateServiceSpecificCredentialOutput) GoString() string

GoString returns the string representation

func (*CreateServiceSpecificCredentialOutput) SetServiceSpecificCredential Uses

func (s *CreateServiceSpecificCredentialOutput) SetServiceSpecificCredential(v *ServiceSpecificCredential) *CreateServiceSpecificCredentialOutput

SetServiceSpecificCredential sets the ServiceSpecificCredential field's value.

func (CreateServiceSpecificCredentialOutput) String Uses

func (s CreateServiceSpecificCredentialOutput) String() string

String returns the string representation

type CreateUserInput Uses

type CreateUserInput struct {

    // The path for the user name. For more information about paths, see IAM Identifiers
    // (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
    // in the IAM User Guide.
    //
    // This parameter is optional. If it is not included, it defaults to a slash
    // (/).
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of either a forward slash (/) by itself
    // or a string that must begin and end with forward slashes. In addition, it
    // can contain any ASCII character from the ! (\u0021) through the DEL character
    // (\u007F), including most punctuation characters, digits, and upper and lowercased
    // letters.
    Path *string `min:"1" type:"string"`

    // The ARN of the policy that is used to set the permissions boundary for the
    // user.
    PermissionsBoundary *string `min:"20" type:"string"`

    // A list of tags that you want to attach to the newly created user. Each tag
    // consists of a key name and an associated value. For more information about
    // tagging, see Tagging IAM Identities (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html)
    // in the IAM User Guide.
    //
    // If any one of the tags is invalid or if you exceed the allowed number of
    // tags per user, then the entire request fails and the user is not created.
    Tags []*Tag `type:"list"`

    // The name of the user to create.
    //
    // IAM user, group, role, and policy names must be unique within the account.
    // Names are not distinguished by case. For example, you cannot create resources
    // named both "MyResource" and "myresource".
    //
    // UserName is a required field
    UserName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateUserInput) GoString Uses

func (s CreateUserInput) GoString() string

GoString returns the string representation

func (*CreateUserInput) SetPath Uses

func (s *CreateUserInput) SetPath(v string) *CreateUserInput

SetPath sets the Path field's value.

func (*CreateUserInput) SetPermissionsBoundary Uses

func (s *CreateUserInput) SetPermissionsBoundary(v string) *CreateUserInput

SetPermissionsBoundary sets the PermissionsBoundary field's value.

func (*CreateUserInput) SetTags Uses

func (s *CreateUserInput) SetTags(v []*Tag) *CreateUserInput

SetTags sets the Tags field's value.

func (*CreateUserInput) SetUserName Uses

func (s *CreateUserInput) SetUserName(v string) *CreateUserInput

SetUserName sets the UserName field's value.

func (CreateUserInput) String Uses

func (s CreateUserInput) String() string

String returns the string representation

func (*CreateUserInput) Validate Uses

func (s *CreateUserInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateUserOutput Uses

type CreateUserOutput struct {

    // A structure with details about the new IAM user.
    User *User `type:"structure"`
    // contains filtered or unexported fields
}

Contains the response to a successful CreateUser request.

func (CreateUserOutput) GoString Uses

func (s CreateUserOutput) GoString() string

GoString returns the string representation

func (*CreateUserOutput) SetUser Uses

func (s *CreateUserOutput) SetUser(v *User) *CreateUserOutput

SetUser sets the User field's value.

func (CreateUserOutput) String Uses

func (s CreateUserOutput) String() string

String returns the string representation

type CreateVirtualMFADeviceInput Uses

type CreateVirtualMFADeviceInput struct {

    // The path for the virtual MFA device. For more information about paths, see
    // IAM Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
    // in the IAM User Guide.
    //
    // This parameter is optional. If it is not included, it defaults to a slash
    // (/).
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of either a forward slash (/) by itself
    // or a string that must begin and end with forward slashes. In addition, it
    // can contain any ASCII character from the ! (\u0021) through the DEL character
    // (\u007F), including most punctuation characters, digits, and upper and lowercased
    // letters.
    Path *string `min:"1" type:"string"`

    // The name of the virtual MFA device. Use with path to uniquely identify a
    // virtual MFA device.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // VirtualMFADeviceName is a required field
    VirtualMFADeviceName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateVirtualMFADeviceInput) GoString Uses

func (s CreateVirtualMFADeviceInput) GoString() string

GoString returns the string representation

func (*CreateVirtualMFADeviceInput) SetPath Uses

func (s *CreateVirtualMFADeviceInput) SetPath(v string) *CreateVirtualMFADeviceInput

SetPath sets the Path field's value.

func (*CreateVirtualMFADeviceInput) SetVirtualMFADeviceName Uses

func (s *CreateVirtualMFADeviceInput) SetVirtualMFADeviceName(v string) *CreateVirtualMFADeviceInput

SetVirtualMFADeviceName sets the VirtualMFADeviceName field's value.

func (CreateVirtualMFADeviceInput) String Uses

func (s CreateVirtualMFADeviceInput) String() string

String returns the string representation

func (*CreateVirtualMFADeviceInput) Validate Uses

func (s *CreateVirtualMFADeviceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateVirtualMFADeviceOutput Uses

type CreateVirtualMFADeviceOutput struct {

    // A structure containing details about the new virtual MFA device.
    //
    // VirtualMFADevice is a required field
    VirtualMFADevice *VirtualMFADevice `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Contains the response to a successful CreateVirtualMFADevice request.

func (CreateVirtualMFADeviceOutput) GoString Uses

func (s CreateVirtualMFADeviceOutput) GoString() string

GoString returns the string representation

func (*CreateVirtualMFADeviceOutput) SetVirtualMFADevice Uses

func (s *CreateVirtualMFADeviceOutput) SetVirtualMFADevice(v *VirtualMFADevice) *CreateVirtualMFADeviceOutput

SetVirtualMFADevice sets the VirtualMFADevice field's value.

func (CreateVirtualMFADeviceOutput) String Uses

func (s CreateVirtualMFADeviceOutput) String() string

String returns the string representation

type DeactivateMFADeviceInput Uses

type DeactivateMFADeviceInput struct {

    // The serial number that uniquely identifies the MFA device. For virtual MFA
    // devices, the serial number is the device ARN.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: =,.@:/-
    //
    // SerialNumber is a required field
    SerialNumber *string `min:"9" type:"string" required:"true"`

    // The name of the user whose MFA device you want to deactivate.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // UserName is a required field
    UserName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeactivateMFADeviceInput) GoString Uses

func (s DeactivateMFADeviceInput) GoString() string

GoString returns the string representation

func (*DeactivateMFADeviceInput) SetSerialNumber Uses

func (s *DeactivateMFADeviceInput) SetSerialNumber(v string) *DeactivateMFADeviceInput

SetSerialNumber sets the SerialNumber field's value.

func (*DeactivateMFADeviceInput) SetUserName Uses

func (s *DeactivateMFADeviceInput) SetUserName(v string) *DeactivateMFADeviceInput

SetUserName sets the UserName field's value.

func (DeactivateMFADeviceInput) String Uses

func (s DeactivateMFADeviceInput) String() string

String returns the string representation

func (*DeactivateMFADeviceInput) Validate Uses

func (s *DeactivateMFADeviceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeactivateMFADeviceOutput Uses

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

func (DeactivateMFADeviceOutput) GoString Uses

func (s DeactivateMFADeviceOutput) GoString() string

GoString returns the string representation

func (DeactivateMFADeviceOutput) String Uses

func (s DeactivateMFADeviceOutput) String() string

String returns the string representation

type DeleteAccessKeyInput Uses

type DeleteAccessKeyInput struct {

    // The access key ID for the access key ID and secret access key you want to
    // delete.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters that can consist of any upper or lowercased letter
    // or digit.
    //
    // AccessKeyId is a required field
    AccessKeyId *string `min:"16" type:"string" required:"true"`

    // The name of the user whose access key pair you want to delete.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    UserName *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (DeleteAccessKeyInput) GoString Uses

func (s DeleteAccessKeyInput) GoString() string

GoString returns the string representation

func (*DeleteAccessKeyInput) SetAccessKeyId Uses

func (s *DeleteAccessKeyInput) SetAccessKeyId(v string) *DeleteAccessKeyInput

SetAccessKeyId sets the AccessKeyId field's value.

func (*DeleteAccessKeyInput) SetUserName Uses

func (s *DeleteAccessKeyInput) SetUserName(v string) *DeleteAccessKeyInput

SetUserName sets the UserName field's value.

func (DeleteAccessKeyInput) String Uses

func (s DeleteAccessKeyInput) String() string

String returns the string representation

func (*DeleteAccessKeyInput) Validate Uses

func (s *DeleteAccessKeyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteAccessKeyOutput Uses

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

func (DeleteAccessKeyOutput) GoString Uses

func (s DeleteAccessKeyOutput) GoString() string

GoString returns the string representation

func (DeleteAccessKeyOutput) String Uses

func (s DeleteAccessKeyOutput) String() string

String returns the string representation

type DeleteAccountAliasInput Uses

type DeleteAccountAliasInput struct {

    // The name of the account alias to delete.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of lowercase letters, digits, and dashes.
    // You cannot start or finish with a dash, nor can you have two dashes in a
    // row.
    //
    // AccountAlias is a required field
    AccountAlias *string `min:"3" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteAccountAliasInput) GoString Uses

func (s DeleteAccountAliasInput) GoString() string

GoString returns the string representation

func (*DeleteAccountAliasInput) SetAccountAlias Uses

func (s *DeleteAccountAliasInput) SetAccountAlias(v string) *DeleteAccountAliasInput

SetAccountAlias sets the AccountAlias field's value.

func (DeleteAccountAliasInput) String Uses

func (s DeleteAccountAliasInput) String() string

String returns the string representation

func (*DeleteAccountAliasInput) Validate Uses

func (s *DeleteAccountAliasInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteAccountAliasOutput Uses

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

func (DeleteAccountAliasOutput) GoString Uses

func (s DeleteAccountAliasOutput) GoString() string

GoString returns the string representation

func (DeleteAccountAliasOutput) String Uses

func (s DeleteAccountAliasOutput) String() string

String returns the string representation

type DeleteAccountPasswordPolicyInput Uses

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

func (DeleteAccountPasswordPolicyInput) GoString Uses

func (s DeleteAccountPasswordPolicyInput) GoString() string

GoString returns the string representation

func (DeleteAccountPasswordPolicyInput) String Uses

func (s DeleteAccountPasswordPolicyInput) String() string

String returns the string representation

type DeleteAccountPasswordPolicyOutput Uses

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

func (DeleteAccountPasswordPolicyOutput) GoString Uses

func (s DeleteAccountPasswordPolicyOutput) GoString() string

GoString returns the string representation

func (DeleteAccountPasswordPolicyOutput) String Uses

func (s DeleteAccountPasswordPolicyOutput) String() string

String returns the string representation

type DeleteGroupInput Uses

type DeleteGroupInput struct {

    // The name of the IAM group to delete.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // GroupName is a required field
    GroupName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteGroupInput) GoString Uses

func (s DeleteGroupInput) GoString() string

GoString returns the string representation

func (*DeleteGroupInput) SetGroupName Uses

func (s *DeleteGroupInput) SetGroupName(v string) *DeleteGroupInput

SetGroupName sets the GroupName field's value.

func (DeleteGroupInput) String Uses

func (s DeleteGroupInput) String() string

String returns the string representation

func (*DeleteGroupInput) Validate Uses

func (s *DeleteGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteGroupOutput Uses

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

func (DeleteGroupOutput) GoString Uses

func (s DeleteGroupOutput) GoString() string

GoString returns the string representation

func (DeleteGroupOutput) String Uses

func (s DeleteGroupOutput) String() string

String returns the string representation

type DeleteGroupPolicyInput Uses

type DeleteGroupPolicyInput struct {

    // The name (friendly name, not ARN) identifying the group that the policy is
    // embedded in.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // GroupName is a required field
    GroupName *string `min:"1" type:"string" required:"true"`

    // The name identifying the policy document to delete.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // PolicyName is a required field
    PolicyName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteGroupPolicyInput) GoString Uses

func (s DeleteGroupPolicyInput) GoString() string

GoString returns the string representation

func (*DeleteGroupPolicyInput) SetGroupName Uses

func (s *DeleteGroupPolicyInput) SetGroupName(v string) *DeleteGroupPolicyInput

SetGroupName sets the GroupName field's value.

func (*DeleteGroupPolicyInput) SetPolicyName Uses

func (s *DeleteGroupPolicyInput) SetPolicyName(v string) *DeleteGroupPolicyInput

SetPolicyName sets the PolicyName field's value.

func (DeleteGroupPolicyInput) String Uses

func (s DeleteGroupPolicyInput) String() string

String returns the string representation

func (*DeleteGroupPolicyInput) Validate Uses

func (s *DeleteGroupPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteGroupPolicyOutput Uses

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

func (DeleteGroupPolicyOutput) GoString Uses

func (s DeleteGroupPolicyOutput) GoString() string

GoString returns the string representation

func (DeleteGroupPolicyOutput) String Uses

func (s DeleteGroupPolicyOutput) String() string

String returns the string representation

type DeleteInstanceProfileInput Uses

type DeleteInstanceProfileInput struct {

    // The name of the instance profile to delete.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // InstanceProfileName is a required field
    InstanceProfileName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteInstanceProfileInput) GoString Uses

func (s DeleteInstanceProfileInput) GoString() string

GoString returns the string representation

func (*DeleteInstanceProfileInput) SetInstanceProfileName Uses

func (s *DeleteInstanceProfileInput) SetInstanceProfileName(v string) *DeleteInstanceProfileInput

SetInstanceProfileName sets the InstanceProfileName field's value.

func (DeleteInstanceProfileInput) String Uses

func (s DeleteInstanceProfileInput) String() string

String returns the string representation

func (*DeleteInstanceProfileInput) Validate Uses

func (s *DeleteInstanceProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteInstanceProfileOutput Uses

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

func (DeleteInstanceProfileOutput) GoString Uses

func (s DeleteInstanceProfileOutput) GoString() string

GoString returns the string representation

func (DeleteInstanceProfileOutput) String Uses

func (s DeleteInstanceProfileOutput) String() string

String returns the string representation

type DeleteLoginProfileInput Uses

type DeleteLoginProfileInput struct {

    // The name of the user whose password you want to delete.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // UserName is a required field
    UserName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteLoginProfileInput) GoString Uses

func (s DeleteLoginProfileInput) GoString() string

GoString returns the string representation

func (*DeleteLoginProfileInput) SetUserName Uses

func (s *DeleteLoginProfileInput) SetUserName(v string) *DeleteLoginProfileInput

SetUserName sets the UserName field's value.

func (DeleteLoginProfileInput) String Uses

func (s DeleteLoginProfileInput) String() string

String returns the string representation

func (*DeleteLoginProfileInput) Validate Uses

func (s *DeleteLoginProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteLoginProfileOutput Uses

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

func (DeleteLoginProfileOutput) GoString Uses

func (s DeleteLoginProfileOutput) GoString() string

GoString returns the string representation

func (DeleteLoginProfileOutput) String Uses

func (s DeleteLoginProfileOutput) String() string

String returns the string representation

type DeleteOpenIDConnectProviderInput Uses

type DeleteOpenIDConnectProviderInput struct {

    // The Amazon Resource Name (ARN) of the IAM OpenID Connect provider resource
    // object to delete. You can get a list of OpenID Connect provider resource
    // ARNs by using the ListOpenIDConnectProviders operation.
    //
    // OpenIDConnectProviderArn is a required field
    OpenIDConnectProviderArn *string `min:"20" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteOpenIDConnectProviderInput) GoString Uses

func (s DeleteOpenIDConnectProviderInput) GoString() string

GoString returns the string representation

func (*DeleteOpenIDConnectProviderInput) SetOpenIDConnectProviderArn Uses

func (s *DeleteOpenIDConnectProviderInput) SetOpenIDConnectProviderArn(v string) *DeleteOpenIDConnectProviderInput

SetOpenIDConnectProviderArn sets the OpenIDConnectProviderArn field's value.

func (DeleteOpenIDConnectProviderInput) String Uses

func (s DeleteOpenIDConnectProviderInput) String() string

String returns the string representation

func (*DeleteOpenIDConnectProviderInput) Validate Uses

func (s *DeleteOpenIDConnectProviderInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteOpenIDConnectProviderOutput Uses

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

func (DeleteOpenIDConnectProviderOutput) GoString Uses

func (s DeleteOpenIDConnectProviderOutput) GoString() string

GoString returns the string representation

func (DeleteOpenIDConnectProviderOutput) String Uses

func (s DeleteOpenIDConnectProviderOutput) String() string

String returns the string representation

type DeletePolicyInput Uses

type DeletePolicyInput struct {

    // The Amazon Resource Name (ARN) of the IAM policy you want to delete.
    //
    // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS
    // Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
    // in the AWS General Reference.
    //
    // PolicyArn is a required field
    PolicyArn *string `min:"20" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeletePolicyInput) GoString Uses

func (s DeletePolicyInput) GoString() string

GoString returns the string representation

func (*DeletePolicyInput) SetPolicyArn Uses

func (s *DeletePolicyInput) SetPolicyArn(v string) *DeletePolicyInput

SetPolicyArn sets the PolicyArn field's value.

func (DeletePolicyInput) String Uses

func (s DeletePolicyInput) String() string

String returns the string representation

func (*DeletePolicyInput) Validate Uses

func (s *DeletePolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeletePolicyOutput Uses

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

func (DeletePolicyOutput) GoString Uses

func (s DeletePolicyOutput) GoString() string

GoString returns the string representation

func (DeletePolicyOutput) String Uses

func (s DeletePolicyOutput) String() string

String returns the string representation

type DeletePolicyVersionInput Uses

type DeletePolicyVersionInput struct {

    // The Amazon Resource Name (ARN) of the IAM policy from which you want to delete
    // a version.
    //
    // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS
    // Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
    // in the AWS General Reference.
    //
    // PolicyArn is a required field
    PolicyArn *string `min:"20" type:"string" required:"true"`

    // The policy version to delete.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters that consists of the lowercase letter 'v' followed
    // by one or two digits, and optionally followed by a period '.' and a string
    // of letters and digits.
    //
    // For more information about managed policy versions, see Versioning for Managed
    // Policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html)
    // in the IAM User Guide.
    //
    // VersionId is a required field
    VersionId *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeletePolicyVersionInput) GoString Uses

func (s DeletePolicyVersionInput) GoString() string

GoString returns the string representation

func (*DeletePolicyVersionInput) SetPolicyArn Uses

func (s *DeletePolicyVersionInput) SetPolicyArn(v string) *DeletePolicyVersionInput

SetPolicyArn sets the PolicyArn field's value.

func (*DeletePolicyVersionInput) SetVersionId Uses

func (s *DeletePolicyVersionInput) SetVersionId(v string) *DeletePolicyVersionInput

SetVersionId sets the VersionId field's value.

func (DeletePolicyVersionInput) String Uses

func (s DeletePolicyVersionInput) String() string

String returns the string representation

func (*DeletePolicyVersionInput) Validate Uses

func (s *DeletePolicyVersionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeletePolicyVersionOutput Uses

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

func (DeletePolicyVersionOutput) GoString Uses

func (s DeletePolicyVersionOutput) GoString() string

GoString returns the string representation

func (DeletePolicyVersionOutput) String Uses

func (s DeletePolicyVersionOutput) String() string

String returns the string representation

type DeleteRoleInput Uses

type DeleteRoleInput struct {

    // The name of the role to delete.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // RoleName is a required field
    RoleName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteRoleInput) GoString Uses

func (s DeleteRoleInput) GoString() string

GoString returns the string representation

func (*DeleteRoleInput) SetRoleName Uses

func (s *DeleteRoleInput) SetRoleName(v string) *DeleteRoleInput

SetRoleName sets the RoleName field's value.

func (DeleteRoleInput) String Uses

func (s DeleteRoleInput) String() string

String returns the string representation

func (*DeleteRoleInput) Validate Uses

func (s *DeleteRoleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteRoleOutput Uses

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

func (DeleteRoleOutput) GoString Uses

func (s DeleteRoleOutput) GoString() string

GoString returns the string representation

func (DeleteRoleOutput) String Uses

func (s DeleteRoleOutput) String() string

String returns the string representation

type DeleteRolePermissionsBoundaryInput Uses

type DeleteRolePermissionsBoundaryInput struct {

    // The name (friendly name, not ARN) of the IAM role from which you want to
    // remove the permissions boundary.
    //
    // RoleName is a required field
    RoleName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteRolePermissionsBoundaryInput) GoString Uses

func (s DeleteRolePermissionsBoundaryInput) GoString() string

GoString returns the string representation

func (*DeleteRolePermissionsBoundaryInput) SetRoleName Uses

func (s *DeleteRolePermissionsBoundaryInput) SetRoleName(v string) *DeleteRolePermissionsBoundaryInput

SetRoleName sets the RoleName field's value.

func (DeleteRolePermissionsBoundaryInput) String Uses

func (s DeleteRolePermissionsBoundaryInput) String() string

String returns the string representation

func (*DeleteRolePermissionsBoundaryInput) Validate Uses

func (s *DeleteRolePermissionsBoundaryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteRolePermissionsBoundaryOutput Uses

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

func (DeleteRolePermissionsBoundaryOutput) GoString Uses

func (s DeleteRolePermissionsBoundaryOutput) GoString() string

GoString returns the string representation

func (DeleteRolePermissionsBoundaryOutput) String Uses

func (s DeleteRolePermissionsBoundaryOutput) String() string

String returns the string representation

type DeleteRolePolicyInput Uses

type DeleteRolePolicyInput struct {

    // The name of the inline policy to delete from the specified IAM role.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // PolicyName is a required field
    PolicyName *string `min:"1" type:"string" required:"true"`

    // The name (friendly name, not ARN) identifying the role that the policy is
    // embedded in.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // RoleName is a required field
    RoleName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteRolePolicyInput) GoString Uses

func (s DeleteRolePolicyInput) GoString() string

GoString returns the string representation

func (*DeleteRolePolicyInput) SetPolicyName Uses

func (s *DeleteRolePolicyInput) SetPolicyName(v string) *DeleteRolePolicyInput

SetPolicyName sets the PolicyName field's value.

func (*DeleteRolePolicyInput) SetRoleName Uses

func (s *DeleteRolePolicyInput) SetRoleName(v string) *DeleteRolePolicyInput

SetRoleName sets the RoleName field's value.

func (DeleteRolePolicyInput) String Uses

func (s DeleteRolePolicyInput) String() string

String returns the string representation

func (*DeleteRolePolicyInput) Validate Uses

func (s *DeleteRolePolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteRolePolicyOutput Uses

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

func (DeleteRolePolicyOutput) GoString Uses

func (s DeleteRolePolicyOutput) GoString() string

GoString returns the string representation

func (DeleteRolePolicyOutput) String Uses

func (s DeleteRolePolicyOutput) String() string

String returns the string representation

type DeleteSAMLProviderInput Uses

type DeleteSAMLProviderInput struct {

    // The Amazon Resource Name (ARN) of the SAML provider to delete.
    //
    // SAMLProviderArn is a required field
    SAMLProviderArn *string `min:"20" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteSAMLProviderInput) GoString Uses

func (s DeleteSAMLProviderInput) GoString() string

GoString returns the string representation

func (*DeleteSAMLProviderInput) SetSAMLProviderArn Uses

func (s *DeleteSAMLProviderInput) SetSAMLProviderArn(v string) *DeleteSAMLProviderInput

SetSAMLProviderArn sets the SAMLProviderArn field's value.

func (DeleteSAMLProviderInput) String Uses

func (s DeleteSAMLProviderInput) String() string

String returns the string representation

func (*DeleteSAMLProviderInput) Validate Uses

func (s *DeleteSAMLProviderInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteSAMLProviderOutput Uses

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

func (DeleteSAMLProviderOutput) GoString Uses

func (s DeleteSAMLProviderOutput) GoString() string

GoString returns the string representation

func (DeleteSAMLProviderOutput) String Uses

func (s DeleteSAMLProviderOutput) String() string

String returns the string representation

type DeleteSSHPublicKeyInput Uses

type DeleteSSHPublicKeyInput struct {

    // The unique identifier for the SSH public key.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters that can consist of any upper or lowercased letter
    // or digit.
    //
    // SSHPublicKeyId is a required field
    SSHPublicKeyId *string `min:"20" type:"string" required:"true"`

    // The name of the IAM user associated with the SSH public key.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // UserName is a required field
    UserName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteSSHPublicKeyInput) GoString Uses

func (s DeleteSSHPublicKeyInput) GoString() string

GoString returns the string representation

func (*DeleteSSHPublicKeyInput) SetSSHPublicKeyId Uses

func (s *DeleteSSHPublicKeyInput) SetSSHPublicKeyId(v string) *DeleteSSHPublicKeyInput

SetSSHPublicKeyId sets the SSHPublicKeyId field's value.

func (*DeleteSSHPublicKeyInput) SetUserName Uses

func (s *DeleteSSHPublicKeyInput) SetUserName(v string) *DeleteSSHPublicKeyInput

SetUserName sets the UserName field's value.

func (DeleteSSHPublicKeyInput) String Uses

func (s DeleteSSHPublicKeyInput) String() string

String returns the string representation

func (*DeleteSSHPublicKeyInput) Validate Uses

func (s *DeleteSSHPublicKeyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteSSHPublicKeyOutput Uses

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

func (DeleteSSHPublicKeyOutput) GoString Uses

func (s DeleteSSHPublicKeyOutput) GoString() string

GoString returns the string representation

func (DeleteSSHPublicKeyOutput) String Uses

func (s DeleteSSHPublicKeyOutput) String() string

String returns the string representation

type DeleteServerCertificateInput Uses

type DeleteServerCertificateInput struct {

    // The name of the server certificate you want to delete.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // ServerCertificateName is a required field
    ServerCertificateName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteServerCertificateInput) GoString Uses

func (s DeleteServerCertificateInput) GoString() string

GoString returns the string representation

func (*DeleteServerCertificateInput) SetServerCertificateName Uses

func (s *DeleteServerCertificateInput) SetServerCertificateName(v string) *DeleteServerCertificateInput

SetServerCertificateName sets the ServerCertificateName field's value.

func (DeleteServerCertificateInput) String Uses

func (s DeleteServerCertificateInput) String() string

String returns the string representation

func (*DeleteServerCertificateInput) Validate Uses

func (s *DeleteServerCertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteServerCertificateOutput Uses

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

func (DeleteServerCertificateOutput) GoString Uses

func (s DeleteServerCertificateOutput) GoString() string

GoString returns the string representation

func (DeleteServerCertificateOutput) String Uses

func (s DeleteServerCertificateOutput) String() string

String returns the string representation

type DeleteServiceLinkedRoleInput Uses

type DeleteServiceLinkedRoleInput struct {

    // The name of the service-linked role to be deleted.
    //
    // RoleName is a required field
    RoleName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteServiceLinkedRoleInput) GoString Uses

func (s DeleteServiceLinkedRoleInput) GoString() string

GoString returns the string representation

func (*DeleteServiceLinkedRoleInput) SetRoleName Uses

func (s *DeleteServiceLinkedRoleInput) SetRoleName(v string) *DeleteServiceLinkedRoleInput

SetRoleName sets the RoleName field's value.

func (DeleteServiceLinkedRoleInput) String Uses

func (s DeleteServiceLinkedRoleInput) String() string

String returns the string representation

func (*DeleteServiceLinkedRoleInput) Validate Uses

func (s *DeleteServiceLinkedRoleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteServiceLinkedRoleOutput Uses

type DeleteServiceLinkedRoleOutput struct {

    // The deletion task identifier that you can use to check the status of the
    // deletion. This identifier is returned in the format task/aws-service-role/<service-principal-name>/<role-name>/<task-uuid>.
    //
    // DeletionTaskId is a required field
    DeletionTaskId *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteServiceLinkedRoleOutput) GoString Uses

func (s DeleteServiceLinkedRoleOutput) GoString() string

GoString returns the string representation

func (*DeleteServiceLinkedRoleOutput) SetDeletionTaskId Uses

func (s *DeleteServiceLinkedRoleOutput) SetDeletionTaskId(v string) *DeleteServiceLinkedRoleOutput

SetDeletionTaskId sets the DeletionTaskId field's value.

func (DeleteServiceLinkedRoleOutput) String Uses

func (s DeleteServiceLinkedRoleOutput) String() string

String returns the string representation

type DeleteServiceSpecificCredentialInput Uses

type DeleteServiceSpecificCredentialInput struct {

    // The unique identifier of the service-specific credential. You can get this
    // value by calling ListServiceSpecificCredentials.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters that can consist of any upper or lowercased letter
    // or digit.
    //
    // ServiceSpecificCredentialId is a required field
    ServiceSpecificCredentialId *string `min:"20" type:"string" required:"true"`

    // The name of the IAM user associated with the service-specific credential.
    // If this value is not specified, then the operation assumes the user whose
    // credentials are used to call the operation.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    UserName *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (DeleteServiceSpecificCredentialInput) GoString Uses

func (s DeleteServiceSpecificCredentialInput) GoString() string

GoString returns the string representation

func (*DeleteServiceSpecificCredentialInput) SetServiceSpecificCredentialId Uses

func (s *DeleteServiceSpecificCredentialInput) SetServiceSpecificCredentialId(v string) *DeleteServiceSpecificCredentialInput

SetServiceSpecificCredentialId sets the ServiceSpecificCredentialId field's value.

func (*DeleteServiceSpecificCredentialInput) SetUserName Uses

func (s *DeleteServiceSpecificCredentialInput) SetUserName(v string) *DeleteServiceSpecificCredentialInput

SetUserName sets the UserName field's value.

func (DeleteServiceSpecificCredentialInput) String Uses

func (s DeleteServiceSpecificCredentialInput) String() string

String returns the string representation

func (*DeleteServiceSpecificCredentialInput) Validate Uses

func (s *DeleteServiceSpecificCredentialInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteServiceSpecificCredentialOutput Uses

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

func (DeleteServiceSpecificCredentialOutput) GoString Uses

func (s DeleteServiceSpecificCredentialOutput) GoString() string

GoString returns the string representation

func (DeleteServiceSpecificCredentialOutput) String Uses

func (s DeleteServiceSpecificCredentialOutput) String() string

String returns the string representation

type DeleteSigningCertificateInput Uses

type DeleteSigningCertificateInput struct {

    // The ID of the signing certificate to delete.
    //
    // The format of this parameter, as described by its regex (http://wikipedia.org/wiki/regex)
    // pattern, is a string of characters that can be upper- or lower-cased letters
    // or digits.
    //
    // CertificateId is a required field
    CertificateId *string `min:"24" type:"string" required:"true"`

    // The name of the user the signing certificate belongs to.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    UserName *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (DeleteSigningCertificateInput) GoString Uses

func (s DeleteSigningCertificateInput) GoString() string

GoString returns the string representation

func (*DeleteSigningCertificateInput) SetCertificateId Uses

func (s *DeleteSigningCertificateInput) SetCertificateId(v string) *DeleteSigningCertificateInput

SetCertificateId sets the CertificateId field's value.

func (*DeleteSigningCertificateInput) SetUserName Uses

func (s *DeleteSigningCertificateInput) SetUserName(v string) *DeleteSigningCertificateInput

SetUserName sets the UserName field's value.

func (DeleteSigningCertificateInput) String Uses

func (s DeleteSigningCertificateInput) String() string

String returns the string representation

func (*DeleteSigningCertificateInput) Validate Uses

func (s *DeleteSigningCertificateInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteSigningCertificateOutput Uses

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

func (DeleteSigningCertificateOutput) GoString Uses

func (s DeleteSigningCertificateOutput) GoString() string

GoString returns the string representation

func (DeleteSigningCertificateOutput) String Uses

func (s DeleteSigningCertificateOutput) String() string

String returns the string representation

type DeleteUserInput Uses

type DeleteUserInput struct {

    // The name of the user to delete.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // UserName is a required field
    UserName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteUserInput) GoString Uses

func (s DeleteUserInput) GoString() string

GoString returns the string representation

func (*DeleteUserInput) SetUserName Uses

func (s *DeleteUserInput) SetUserName(v string) *DeleteUserInput

SetUserName sets the UserName field's value.

func (DeleteUserInput) String Uses

func (s DeleteUserInput) String() string

String returns the string representation

func (*DeleteUserInput) Validate Uses

func (s *DeleteUserInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteUserOutput Uses

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

func (DeleteUserOutput) GoString Uses

func (s DeleteUserOutput) GoString() string

GoString returns the string representation

func (DeleteUserOutput) String Uses

func (s DeleteUserOutput) String() string

String returns the string representation

type DeleteUserPermissionsBoundaryInput Uses

type DeleteUserPermissionsBoundaryInput struct {

    // The name (friendly name, not ARN) of the IAM user from which you want to
    // remove the permissions boundary.
    //
    // UserName is a required field
    UserName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteUserPermissionsBoundaryInput) GoString Uses

func (s DeleteUserPermissionsBoundaryInput) GoString() string

GoString returns the string representation

func (*DeleteUserPermissionsBoundaryInput) SetUserName Uses

func (s *DeleteUserPermissionsBoundaryInput) SetUserName(v string) *DeleteUserPermissionsBoundaryInput

SetUserName sets the UserName field's value.

func (DeleteUserPermissionsBoundaryInput) String Uses

func (s DeleteUserPermissionsBoundaryInput) String() string

String returns the string representation

func (*DeleteUserPermissionsBoundaryInput) Validate Uses

func (s *DeleteUserPermissionsBoundaryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteUserPermissionsBoundaryOutput Uses

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

func (DeleteUserPermissionsBoundaryOutput) GoString Uses

func (s DeleteUserPermissionsBoundaryOutput) GoString() string

GoString returns the string representation

func (DeleteUserPermissionsBoundaryOutput) String Uses

func (s DeleteUserPermissionsBoundaryOutput) String() string

String returns the string representation

type DeleteUserPolicyInput Uses

type DeleteUserPolicyInput struct {

    // The name identifying the policy document to delete.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // PolicyName is a required field
    PolicyName *string `min:"1" type:"string" required:"true"`

    // The name (friendly name, not ARN) identifying the user that the policy is
    // embedded in.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // UserName is a required field
    UserName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteUserPolicyInput) GoString Uses

func (s DeleteUserPolicyInput) GoString() string

GoString returns the string representation

func (*DeleteUserPolicyInput) SetPolicyName Uses

func (s *DeleteUserPolicyInput) SetPolicyName(v string) *DeleteUserPolicyInput

SetPolicyName sets the PolicyName field's value.

func (*DeleteUserPolicyInput) SetUserName Uses

func (s *DeleteUserPolicyInput) SetUserName(v string) *DeleteUserPolicyInput

SetUserName sets the UserName field's value.

func (DeleteUserPolicyInput) String Uses

func (s DeleteUserPolicyInput) String() string

String returns the string representation

func (*DeleteUserPolicyInput) Validate Uses

func (s *DeleteUserPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteUserPolicyOutput Uses

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

func (DeleteUserPolicyOutput) GoString Uses

func (s DeleteUserPolicyOutput) GoString() string

GoString returns the string representation

func (DeleteUserPolicyOutput) String Uses

func (s DeleteUserPolicyOutput) String() string

String returns the string representation

type DeleteVirtualMFADeviceInput Uses

type DeleteVirtualMFADeviceInput struct {

    // The serial number that uniquely identifies the MFA device. For virtual MFA
    // devices, the serial number is the same as the ARN.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: =,.@:/-
    //
    // SerialNumber is a required field
    SerialNumber *string `min:"9" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DeleteVirtualMFADeviceInput) GoString Uses

func (s DeleteVirtualMFADeviceInput) GoString() string

GoString returns the string representation

func (*DeleteVirtualMFADeviceInput) SetSerialNumber Uses

func (s *DeleteVirtualMFADeviceInput) SetSerialNumber(v string) *DeleteVirtualMFADeviceInput

SetSerialNumber sets the SerialNumber field's value.

func (DeleteVirtualMFADeviceInput) String Uses

func (s DeleteVirtualMFADeviceInput) String() string

String returns the string representation

func (*DeleteVirtualMFADeviceInput) Validate Uses

func (s *DeleteVirtualMFADeviceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteVirtualMFADeviceOutput Uses

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

func (DeleteVirtualMFADeviceOutput) GoString Uses

func (s DeleteVirtualMFADeviceOutput) GoString() string

GoString returns the string representation

func (DeleteVirtualMFADeviceOutput) String Uses

func (s DeleteVirtualMFADeviceOutput) String() string

String returns the string representation

type DeletionTaskFailureReasonType Uses

type DeletionTaskFailureReasonType struct {

    // A short description of the reason that the service-linked role deletion failed.
    Reason *string `type:"string"`

    // A list of objects that contains details about the service-linked role deletion
    // failure, if that information is returned by the service. If the service-linked
    // role has active sessions or if any resources that were used by the role have
    // not been deleted from the linked service, the role can't be deleted. This
    // parameter includes a list of the resources that are associated with the role
    // and the Region in which the resources are being used.
    RoleUsageList []*RoleUsageType `type:"list"`
    // contains filtered or unexported fields
}

The reason that the service-linked role deletion failed.

This data type is used as a response element in the GetServiceLinkedRoleDeletionStatus operation.

func (DeletionTaskFailureReasonType) GoString Uses

func (s DeletionTaskFailureReasonType) GoString() string

GoString returns the string representation

func (*DeletionTaskFailureReasonType) SetReason Uses

func (s *DeletionTaskFailureReasonType) SetReason(v string) *DeletionTaskFailureReasonType

SetReason sets the Reason field's value.

func (*DeletionTaskFailureReasonType) SetRoleUsageList Uses

func (s *DeletionTaskFailureReasonType) SetRoleUsageList(v []*RoleUsageType) *DeletionTaskFailureReasonType

SetRoleUsageList sets the RoleUsageList field's value.

func (DeletionTaskFailureReasonType) String Uses

func (s DeletionTaskFailureReasonType) String() string

String returns the string representation

type DetachGroupPolicyInput Uses

type DetachGroupPolicyInput struct {

    // The name (friendly name, not ARN) of the IAM group to detach the policy from.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // GroupName is a required field
    GroupName *string `min:"1" type:"string" required:"true"`

    // The Amazon Resource Name (ARN) of the IAM policy you want to detach.
    //
    // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS
    // Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
    // in the AWS General Reference.
    //
    // PolicyArn is a required field
    PolicyArn *string `min:"20" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DetachGroupPolicyInput) GoString Uses

func (s DetachGroupPolicyInput) GoString() string

GoString returns the string representation

func (*DetachGroupPolicyInput) SetGroupName Uses

func (s *DetachGroupPolicyInput) SetGroupName(v string) *DetachGroupPolicyInput

SetGroupName sets the GroupName field's value.

func (*DetachGroupPolicyInput) SetPolicyArn Uses

func (s *DetachGroupPolicyInput) SetPolicyArn(v string) *DetachGroupPolicyInput

SetPolicyArn sets the PolicyArn field's value.

func (DetachGroupPolicyInput) String Uses

func (s DetachGroupPolicyInput) String() string

String returns the string representation

func (*DetachGroupPolicyInput) Validate Uses

func (s *DetachGroupPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DetachGroupPolicyOutput Uses

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

func (DetachGroupPolicyOutput) GoString Uses

func (s DetachGroupPolicyOutput) GoString() string

GoString returns the string representation

func (DetachGroupPolicyOutput) String Uses

func (s DetachGroupPolicyOutput) String() string

String returns the string representation

type DetachRolePolicyInput Uses

type DetachRolePolicyInput struct {

    // The Amazon Resource Name (ARN) of the IAM policy you want to detach.
    //
    // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS
    // Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
    // in the AWS General Reference.
    //
    // PolicyArn is a required field
    PolicyArn *string `min:"20" type:"string" required:"true"`

    // The name (friendly name, not ARN) of the IAM role to detach the policy from.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // RoleName is a required field
    RoleName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DetachRolePolicyInput) GoString Uses

func (s DetachRolePolicyInput) GoString() string

GoString returns the string representation

func (*DetachRolePolicyInput) SetPolicyArn Uses

func (s *DetachRolePolicyInput) SetPolicyArn(v string) *DetachRolePolicyInput

SetPolicyArn sets the PolicyArn field's value.

func (*DetachRolePolicyInput) SetRoleName Uses

func (s *DetachRolePolicyInput) SetRoleName(v string) *DetachRolePolicyInput

SetRoleName sets the RoleName field's value.

func (DetachRolePolicyInput) String Uses

func (s DetachRolePolicyInput) String() string

String returns the string representation

func (*DetachRolePolicyInput) Validate Uses

func (s *DetachRolePolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DetachRolePolicyOutput Uses

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

func (DetachRolePolicyOutput) GoString Uses

func (s DetachRolePolicyOutput) GoString() string

GoString returns the string representation

func (DetachRolePolicyOutput) String Uses

func (s DetachRolePolicyOutput) String() string

String returns the string representation

type DetachUserPolicyInput Uses

type DetachUserPolicyInput struct {

    // The Amazon Resource Name (ARN) of the IAM policy you want to detach.
    //
    // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS
    // Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
    // in the AWS General Reference.
    //
    // PolicyArn is a required field
    PolicyArn *string `min:"20" type:"string" required:"true"`

    // The name (friendly name, not ARN) of the IAM user to detach the policy from.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // UserName is a required field
    UserName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (DetachUserPolicyInput) GoString Uses

func (s DetachUserPolicyInput) GoString() string

GoString returns the string representation

func (*DetachUserPolicyInput) SetPolicyArn Uses

func (s *DetachUserPolicyInput) SetPolicyArn(v string) *DetachUserPolicyInput

SetPolicyArn sets the PolicyArn field's value.

func (*DetachUserPolicyInput) SetUserName Uses

func (s *DetachUserPolicyInput) SetUserName(v string) *DetachUserPolicyInput

SetUserName sets the UserName field's value.

func (DetachUserPolicyInput) String Uses

func (s DetachUserPolicyInput) String() string

String returns the string representation

func (*DetachUserPolicyInput) Validate Uses

func (s *DetachUserPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DetachUserPolicyOutput Uses

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

func (DetachUserPolicyOutput) GoString Uses

func (s DetachUserPolicyOutput) GoString() string

GoString returns the string representation

func (DetachUserPolicyOutput) String Uses

func (s DetachUserPolicyOutput) String() string

String returns the string representation

type EnableMFADeviceInput Uses

type EnableMFADeviceInput struct {

    // An authentication code emitted by the device.
    //
    // The format for this parameter is a string of six digits.
    //
    // Submit your request immediately after generating the authentication codes.
    // If you generate the codes and then wait too long to submit the request, the
    // MFA device successfully associates with the user but the MFA device becomes
    // out of sync. This happens because time-based one-time passwords (TOTP) expire
    // after a short period of time. If this happens, you can resync the device
    // (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_mfa_sync.html).
    //
    // AuthenticationCode1 is a required field
    AuthenticationCode1 *string `min:"6" type:"string" required:"true"`

    // A subsequent authentication code emitted by the device.
    //
    // The format for this parameter is a string of six digits.
    //
    // Submit your request immediately after generating the authentication codes.
    // If you generate the codes and then wait too long to submit the request, the
    // MFA device successfully associates with the user but the MFA device becomes
    // out of sync. This happens because time-based one-time passwords (TOTP) expire
    // after a short period of time. If this happens, you can resync the device
    // (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_mfa_sync.html).
    //
    // AuthenticationCode2 is a required field
    AuthenticationCode2 *string `min:"6" type:"string" required:"true"`

    // The serial number that uniquely identifies the MFA device. For virtual MFA
    // devices, the serial number is the device ARN.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: =,.@:/-
    //
    // SerialNumber is a required field
    SerialNumber *string `min:"9" type:"string" required:"true"`

    // The name of the IAM user for whom you want to enable the MFA device.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters consisting of upper and lowercase alphanumeric characters
    // with no spaces. You can also include any of the following characters: _+=,.@-
    //
    // UserName is a required field
    UserName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (EnableMFADeviceInput) GoString Uses

func (s EnableMFADeviceInput) GoString() string

GoString returns the string representation

func (*EnableMFADeviceInput) SetAuthenticationCode1 Uses

func (s *EnableMFADeviceInput) SetAuthenticationCode1(v string) *EnableMFADeviceInput

SetAuthenticationCode1 sets the AuthenticationCode1 field's value.

func (*EnableMFADeviceInput) SetAuthenticationCode2 Uses

func (s *EnableMFADeviceInput) SetAuthenticationCode2(v string) *EnableMFADeviceInput

SetAuthenticationCode2 sets the AuthenticationCode2 field's value.

func (*EnableMFADeviceInput) SetSerialNumber Uses

func (s *EnableMFADeviceInput) SetSerialNumber(v string) *EnableMFADeviceInput

SetSerialNumber sets the SerialNumber field's value.

func (*EnableMFADeviceInput) SetUserName Uses

func (s *EnableMFADeviceInput) SetUserName(v string) *EnableMFADeviceInput

SetUserName sets the UserName field's value.

func (EnableMFADeviceInput) String Uses

func (s EnableMFADeviceInput) String() string

String returns the string representation

func (*EnableMFADeviceInput) Validate Uses

func (s *EnableMFADeviceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type EnableMFADeviceOutput Uses

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

func (EnableMFADeviceOutput) GoString Uses

func (s EnableMFADeviceOutput) GoString() string

GoString returns the string representation

func (EnableMFADeviceOutput) String Uses

func (s EnableMFADeviceOutput) String() string

String returns the string representation

type EntityDetails Uses

type EntityDetails struct {

    // The EntityInfo object that contains details about the entity (user or role).
    //
    // EntityInfo is a required field
    EntityInfo *EntityInfo `type:"structure" required:"true"`

    // The date and time, in ISO 8601 date-time format (http://www.iso.org/iso/iso8601),
    // when the authenticated entity last attempted to access AWS. AWS does not
    // report unauthenticated requests.
    //
    // This field is null if no IAM entities attempted to access the service within
    // the reporting period (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period).
    LastAuthenticated *time.Time `type:"timestamp"`
    // contains filtered or unexported fields
}

An object that contains details about when the IAM entities (users or roles) were last used in an attempt to access the specified AWS service.

This data type is a response element in the GetServiceLastAccessedDetailsWithEntities operation.

func (EntityDetails) GoString Uses

func (s EntityDetails) GoString() string

GoString returns the string representation

func (*EntityDetails) SetEntityInfo Uses

func (s *EntityDetails) SetEntityInfo(v *EntityInfo) *EntityDetails

SetEntityInfo sets the EntityInfo field's value.

func (*EntityDetails) SetLastAuthenticated Uses

func (s *EntityDetails) SetLastAuthenticated(v time.Time) *EntityDetails

SetLastAuthenticated sets the LastAuthenticated field's value.

func (EntityDetails) String Uses

func (s EntityDetails) String() string

String returns the string representation

type EntityInfo Uses

type EntityInfo struct {

    // The Amazon Resource Name (ARN). ARNs are unique identifiers for AWS resources.
    //
    // For more information about ARNs, go to Amazon Resource Names (ARNs) and AWS
    // Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
    // in the AWS General Reference.
    //
    // Arn is a required field
    Arn *string `min:"20" type:"string" required:"true"`

    // The identifier of the entity (user or role).
    //
    // Id is a required field
    Id  *string `min:"16" type:"string" required:"true"`

    // The name of the entity (user or role).
    //
    // Name is a required field
    Name *string `min:"1" type:"string" required:"true"`

    // The path to the entity (user or role). For more information about paths,
    // see IAM Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
    // in the Using IAM guide.
    Path *string `min:"1" type:"string"`

    // The type of entity (user or role).
    //
    // Type is a required field
    Type *string `type:"string" required:"true" enum:"policyOwnerEntityType"`
    // contains filtered or unexported fields
}

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

This data type is an element of the EntityDetails object.

func (EntityInfo) GoString Uses

func (s EntityInfo) GoString() string

GoString returns the string representation

func (*EntityInfo) SetArn Uses

func (s *EntityInfo) SetArn(v string) *EntityInfo

SetArn sets the Arn field's value.

func (*EntityInfo) SetId Uses

func (s *EntityInfo) SetId(v string) *EntityInfo

SetId sets the Id field's value.

func (*EntityInfo) SetName Uses

func (s *EntityInfo) SetName(v string) *EntityInfo

SetName sets the Name field's value.

func (*EntityInfo) SetPath Uses

func (s *EntityInfo) SetPath(v string) *EntityInfo

SetPath sets the Path field's value.

func (*EntityInfo) SetType Uses

func (s *EntityInfo) SetType(v string) *EntityInfo

SetType sets the Type field's value.

func (EntityInfo) String Uses

func (s EntityInfo) String() string

String returns the string representation

type ErrorDetails Uses

type ErrorDetails struct {

    // The error code associated with the operation failure.
    //
    // Code is a required field
    Code *string `type:"string" required:"true"`

    // Detailed information about the reason that the operation failed.
    //
    // Message is a required field
    Message *string `type:"string" required:"true"`
    // contains filtered or unexported fields
}

Contains information about the reason that the operation failed.

This data type is used as a response element in the GetOrganizationsAccessReport, GetServiceLastAccessedDetails, and GetServiceLastAccessedDetailsWithEntities operations.

func (ErrorDetails) GoString Uses

func (s ErrorDetails) GoString() string

GoString returns the string representation

func (*ErrorDetails) SetCode Uses

func (s *ErrorDetails) SetCode(v string) *ErrorDetails

SetCode sets the Code field's value.

func (*ErrorDetails) SetMessage Uses

func (s *ErrorDetails) SetMessage(v string) *ErrorDetails

SetMessage sets the Message field's value.

func (ErrorDetails) String Uses

func (s ErrorDetails) String() string

String returns the string representation

type EvaluationResult Uses

type EvaluationResult struct {

    // The name of the API operation tested on the indicated resource.
    //
    // EvalActionName is a required field
    EvalActionName *string `min:"3" type:"string" required:"true"`

    // The result of the simulation.
    //
    // EvalDecision is a required field
    EvalDecision *string `type:"string" required:"true" enum:"PolicyEvaluationDecisionType"`

    // Additional details about the results of the evaluation decision. When there
    // are both IAM policies and resource policies, this parameter explains how
    // each set of policies contributes to the final evaluation decision. When simulating
    // cross-account access to a resource, both the resource-based policy and the
    // caller's IAM policy must grant access. See How IAM Roles Differ from Resource-based
    // Policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_compare-resource-policies.html)
    EvalDecisionDetails map[string]*string `type:"map"`

    // The ARN of the resource that the indicated API operation was tested on.
    EvalResourceName *string `min:"1" type:"string"`

    // A list of the statements in the input policies that determine the result
    // for this scenario. Remember that even if multiple statements allow the operation
    // on the resource, if only one statement denies that operation, then the explicit
    // deny overrides any allow. In addition, the deny statement is the only entry
    // included in the result.
    MatchedStatements []*Statement `type:"list"`

    // A list of context keys that are required by the included input policies but
    // that were not provided by one of the input parameters. This list is used
    // when the resource in a simulation is "*", either explicitly, or when the
    // ResourceArns parameter blank. If you include a list of resources, then any
    // missing context values are instead included under the ResourceSpecificResults
    // section. To discover the context keys used by a set of policies, you can
    // call GetContextKeysForCustomPolicy or GetContextKeysForPrincipalPolicy.
    MissingContextValues []*string `type:"list"`

    // A structure that details how Organizations and its service control policies
    // affect the results of the simulation. Only applies if the simulated user's
    // account is part of an organization.
    OrganizationsDecisionDetail *OrganizationsDecisionDetail `type:"structure"`

    // The individual results of the simulation of the API operation specified in
    // EvalActionName on each resource.
    ResourceSpecificResults []*ResourceSpecificResult `type:"list"`
    // contains filtered or unexported fields
}

Contains the results of a simulation.

This data type is used by the return parameter of SimulateCustomPolicy and SimulatePrincipalPolicy .

func (EvaluationResult) GoString Uses

func (s EvaluationResult) GoString() string

GoString returns the string representation

func (*EvaluationResult) SetEvalActionName Uses

func (s *EvaluationResult) SetEvalActionName(v string) *EvaluationResult

SetEvalActionName sets the EvalActionName field's value.

func (*EvaluationResult) SetEvalDecision Uses

func (s *EvaluationResult) SetEvalDecision(v string) *EvaluationResult

SetEvalDecision sets the EvalDecision field's value.

func (*EvaluationResult) SetEvalDecisionDetails Uses

func (s *EvaluationResult) SetEvalDecisionDetails(v map[string]*string) *EvaluationResult

SetEvalDecisionDetails sets the EvalDecisionDetails field's value.

func (*EvaluationResult) SetEvalResourceName Uses

func (s *EvaluationResult) SetEvalResourceName(v string) *EvaluationResult

SetEvalResourceName sets the EvalResourceName field's value.

func (*EvaluationResult) SetMatchedStatements Uses

func (s *EvaluationResult) SetMatchedStatements(v []*Statement) *EvaluationResult

SetMatchedStatements sets the MatchedStatements field's value.

func (*EvaluationResult) SetMissingContextValues Uses

func (s *EvaluationResult) SetMissingContextValues(v []*string) *EvaluationResult

SetMissingContextValues sets the MissingContextValues field's value.

func (*EvaluationResult) SetOrganizationsDecisionDetail Uses

func (s *EvaluationResult) SetOrganizationsDecisionDetail(v *OrganizationsDecisionDetail) *EvaluationResult

SetOrganizationsDecisionDetail sets the OrganizationsDecisionDetail field's value.

func (*EvaluationResult) SetResourceSpecificResults Uses

func (s *EvaluationResult) SetResourceSpecificResults(v []*ResourceSpecificResult) *EvaluationResult

SetResourceSpecificResults sets the ResourceSpecificResults field's value.

func (EvaluationResult) String Uses

func (s EvaluationResult) String() string

String returns the string representation

type GenerateCredentialReportInput Uses

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

func (GenerateCredentialReportInput) GoString Uses

func (s GenerateCredentialReportInput) GoString() string

GoString returns the string representation

func (GenerateCredentialReportInput) String Uses

func (s GenerateCredentialReportInput) String() string

String returns the string representation

type GenerateCredentialReportOutput Uses

type GenerateCredentialReportOutput struct {

    // Information about the credential report.
    Description *string `type:"string"`

    // Information about the state of the credential report.
    State *string `type:"string" enum:"ReportStateType"`
    // contains filtered or unexported fields
}

Contains the response to a successful GenerateCredentialReport request.

func (GenerateCredentialReportOutput) GoString Uses

func (s GenerateCredentialReportOutput) GoString() string

GoString returns the string representation

func (*GenerateCredentialReportOutput) SetDescription Uses

func (s *GenerateCredentialReportOutput) SetDescription(v string) *GenerateCredentialReportOutput

SetDescription sets the Description field's value.

func (*GenerateCredentialReportOutput) SetState Uses

func (s *GenerateCredentialReportOutput) SetState(v string) *GenerateCredentialReportOutput

SetState sets the State field's value.

func (GenerateCredentialReportOutput) String Uses

func (s GenerateCredentialReportOutput) String() string

String returns the string representation

type GenerateOrganizationsAccessReportInput Uses

type GenerateOrganizationsAccessReportInput struct {

    // The path of the AWS Organizations entity (root, OU, or account). You can
    // build an entity path using the known structure of your organization. For
    // example, assume that your account ID is 123456789012 and its parent OU ID
    // is ou-rge0-awsabcde. The organization root ID is r-f6g7h8i9j0example and
    // your organization ID is o-a1b2c3d4e5. Your entity path is o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-rge0-awsabcde/123456789012.
    //
    // EntityPath is a required field
    EntityPath *string `min:"19" type:"string" required:"true"`

    // The identifier of the AWS Organizations service control policy (SCP). This
    // parameter is optional.
    //
    // This ID is used to generate information about when an account principal that
    // is limited by the SCP attempted to access an AWS service.
    OrganizationsPolicyId *string `type:"string"`
    // contains filtered or unexported fields
}

func (GenerateOrganizationsAccessReportInput) GoString Uses

func (s GenerateOrganizationsAccessReportInput) GoString() string

GoString returns the string representation

func (*GenerateOrganizationsAccessReportInput) SetEntityPath Uses

func (s *GenerateOrganizationsAccessReportInput) SetEntityPath(v string) *GenerateOrganizationsAccessReportInput

SetEntityPath sets the EntityPath field's value.

func (*GenerateOrganizationsAccessReportInput) SetOrganizationsPolicyId Uses

func (s *GenerateOrganizationsAccessReportInput) SetOrganizationsPolicyId(v string) *GenerateOrganizationsAccessReportInput

SetOrganizationsPolicyId sets the OrganizationsPolicyId field's value.

func (GenerateOrganizationsAccessReportInput) String Uses

func (s GenerateOrganizationsAccessReportInput) String() string

String returns the string representation

func (*GenerateOrganizationsAccessReportInput) Validate Uses

func (s *GenerateOrganizationsAccessReportInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GenerateOrganizationsAccessReportOutput Uses

type GenerateOrganizationsAccessReportOutput struct {

    // The job identifier that you can use in the GetOrganizationsAccessReport operation.
    JobId *string `min:"36" type:"string"`
    // contains filtered or unexported fields
}

func (GenerateOrganizationsAccessReportOutput) GoString Uses

func (s GenerateOrganizationsAccessReportOutput) GoString() string

GoString returns the string representation

func (*GenerateOrganizationsAccessReportOutput) SetJobId Uses

func (s *GenerateOrganizationsAccessReportOutput) SetJobId(v string) *GenerateOrganizationsAccessReportOutput

SetJobId sets the JobId field's value.

func (GenerateOrganizationsAccessReportOutput) String Uses

func (s GenerateOrganizationsAccessReportOutput) String() string

String returns the string representation

type GenerateServiceLastAccessedDetailsInput Uses

type GenerateServiceLastAccessedDetailsInput struct {

    // The ARN of the IAM resource (user, group, role, or managed policy) used to
    // generate information about when the resource was last used in an attempt
    // to access an AWS service.
    //
    // Arn is a required field
    Arn *string `min:"20" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GenerateServiceLastAccessedDetailsInput) GoString Uses

func (s GenerateServiceLastAccessedDetailsInput) GoString() string

GoString returns the string representation

func (*GenerateServiceLastAccessedDetailsInput) SetArn Uses

func (s *GenerateServiceLastAccessedDetailsInput) SetArn(v string) *GenerateServiceLastAccessedDetailsInput

SetArn sets the Arn field's value.

func (GenerateServiceLastAccessedDetailsInput) String Uses

func (s GenerateServiceLastAccessedDetailsInput) String() string

String returns the string representation

func (*GenerateServiceLastAccessedDetailsInput) Validate Uses

func (s *GenerateServiceLastAccessedDetailsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GenerateServiceLastAccessedDetailsOutput Uses

type GenerateServiceLastAccessedDetailsOutput struct {

    // The job ID that you can use in the GetServiceLastAccessedDetails or GetServiceLastAccessedDetailsWithEntities
    // operations.
    JobId *string `min:"36" type:"string"`
    // contains filtered or unexported fields
}

func (GenerateServiceLastAccessedDetailsOutput) GoString Uses

func (s GenerateServiceLastAccessedDetailsOutput) GoString() string

GoString returns the string representation

func (*GenerateServiceLastAccessedDetailsOutput) SetJobId Uses

func (s *GenerateServiceLastAccessedDetailsOutput) SetJobId(v string) *GenerateServiceLastAccessedDetailsOutput

SetJobId sets the JobId field's value.

func (GenerateServiceLastAccessedDetailsOutput) String Uses

func (s GenerateServiceLastAccessedDetailsOutput) String() string

String returns the string representation

type GetAccessKeyLastUsedInput Uses

type GetAccessKeyLastUsedInput struct {

    // The identifier of an access key.
    //
    // This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
    // a string of characters that can consist of any upper or lowercased letter
    // or digit.
    //
    // AccessKeyId is a required field
    AccessKeyId *string `min:"16" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetAccessKeyLastUsedInput) GoString Uses

func (s GetAccessKeyLastUsedInput) GoString() string

GoString returns the string representation

func (*GetAccessKeyLastUsedInput) SetAccessKeyId Uses

func (s *GetAccessKeyLastUsedInput) SetAccessKeyId(v string) *GetAccessKeyLastUsedInput

SetAccessKeyId sets the AccessKeyId field's value.

func (GetAccessKeyLastUsedInput) String Uses

func (s GetAccessKeyLastUsedInput) String() string

String returns the string representation

func (*GetAccessKeyLastUsedInput) Validate Uses

func (s *GetAccessKeyLastUsedInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetAccessKeyLastUsedOutput Uses

type GetAccessKeyLastUsedOutput struct {

    // Contains information about the last time the access key was used.
    AccessKeyLastUsed *AccessKeyLastUsed `type:"structure"`

    // The name of the AWS IAM user that owns this access key.
    UserName *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

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

func (GetAccessKeyLastUsedOutput) GoString Uses

func (s GetAccessKeyLastUsedOutput) GoString() string

GoString returns the string representation

func (*GetAccessKeyLastUsedOutput) SetAccessKeyLastUsed Uses

func (s *GetAccessKeyLastUsedOutput) SetAccessKeyLastUsed(v *AccessKeyLastUsed) *GetAccessKeyLastUsedOutput

SetAccessKeyLastUsed sets the AccessKeyLastUsed field's value.

func (*GetAccessKeyLastUsedOutput) SetUserName Uses

func (s *GetAccessKeyLastUsedOutput) SetUserName(v string) *GetAccessKeyLastUsedOutput

SetUserName sets the UserName field's value.

func (GetAccessKeyLastUsedOutput) String Uses

func (s GetAccessKeyLastUsedOutput) String() string

String returns the string representation

type GetAccountAuthorizationDetailsInput Uses

type GetAccountAuthorizationDetailsInput struct {

    // A list of entity types used to filter the results. Only the entities that
    // match the types you specify are included in the output. Use the value LocalManagedPolicy
    // to include customer managed policies.
    //
    // The format for this parameter is a comma-separated (if more than one) list
    // of strings. Each string value in the list must be one of the valid values
    // listed below.
    Filter []*string `type:"list"`

    // Use this parameter only when paginating results and only after you receive
    // a response indicating that the results are truncated. Set it to the value
    // of the Marker element in the response that you received to indicate where
    // the next call should start.
    Marker *string `min:"1" type:"string"`

    // Use this only when paginating results to indicate the maximum number of items
    // you want in the response. If additional items exist beyond the maximum you
    // specify, the IsTruncated response element is true.
    //
    // If you do not include this parameter, the number of items defaults to 100.
    // Note that IAM might return fewer results, even when there are more results
    // available. In that case, the IsTruncated response element returns true, and
    // Marker contains a value to include in the subsequent call that tells the
    // service where to continue from.
    MaxItems *int64 `min:"1" type:"integer"`
    // contains filtered or unexported fields
}

func (GetAccountAuthorizationDetailsInput) GoString Uses

func (s GetAccountAuthorizationDetailsInput) GoString() string

GoString returns the string representation

func (*GetAccountAuthorizationDetailsInput) SetFilter Uses

func (s *GetAccountAuthorizationDetailsInput) SetFilter(v []*string) *GetAccountAuthorizationDetailsInput

SetFilter sets the Filter field's value.

func (*GetAccountAuthorizationDetailsInput) SetMarker Uses

func (s *GetAccountAuthorizationDetailsInput) SetMarker(v string) *GetAccountAuthorizationDetailsInput

SetMarker sets the Marker field's value.

func (*GetAccountAuthorizationDetailsInput) SetMaxItems Uses

func (s *GetAccountAuthorizationDetailsInput) SetMaxItems(v int64) *GetAccountAuthorizationDetailsInput

SetMaxItems sets the MaxItems field's value.

func (GetAccountAuthorizationDetailsInput) String Uses

func (s GetAccountAuthorizationDetailsInput) String() string

String returns the string representation

func (*GetAccountAuthorizationDetailsInput) Validate Uses

func (s *GetAccountAuthorizationDetailsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetAccountAuthorizationDetailsOutput Uses

type GetAccountAuthorizationDetailsOutput struct {

    // A list containing information about IAM groups.
    GroupDetailList []*GroupDetail `type:"list"`

    // A flag that indicates whether there are more items to return. If your results
    // were truncated, you can make a subsequent pagination request using the Marker
    // request parameter to retrieve more items. Note that IAM might return fewer
    // than the MaxItems number of results even when there are more results available.
    // We recommend that you check IsTruncated after every call to ensure that you
    // receive all your results.
    IsTruncated *bool `type:"boolean"`

    // When IsTruncated is true, this element is present and contains the value
    // to use for the Marker parameter in a subsequent pagination request.
    Marker *string `type:"string"`

    // A list containing information about managed policies.
    Policies []*ManagedPolicyDetail `type:"list"`

    // A list containing information about IAM roles.
    RoleDetailList []*RoleDetail `type:"list"`

    // A list containing information about IAM users.
    UserDetailList []*UserDetail `type:"list"`
    // contains filtered or unexported fields
}

Contains the response to a successful GetAccountAuthorizationDetails request.

func (GetAccountAuthorizationDetailsOutput) GoString Uses

func (s GetAccountAuthorizationDetailsOutput) GoString() string

GoString returns the string representation

func (*GetAccountAuthorizationDetailsOutput) SetGroupDetailList Uses

func (s *GetAccountAuthorizationDetailsOutput) SetGroupDetailList(v []*GroupDetail) *GetAccountAuthorizationDetailsOutput

SetGroupDetailList sets the GroupDetailList field's value.

func (*GetAccountAuthorizationDetailsOutput) SetIsTruncated Uses

func (s *GetAccountAuthorizationDetailsOutput) SetIsTruncated(v bool) *GetAccountAuthorizationDetailsOutput

SetIsTruncated sets the IsTruncated field's value.

func (*GetAccountAuthorizationDetailsOutput) SetMarker Uses

func (s *GetAccountAuthorizationDetailsOutput) SetMarker(v string) *GetAccountAuthorizationDetailsOutput

SetMarker sets the Marker field's value.

func (*GetAccountAuthorizationDetailsOutput) SetPolicies Uses

func (s *GetAccountAuthorizationDetailsOutput) SetPolicies(v []*ManagedPolicyDetail) *GetAccountAuthorizationDetailsOutput

SetPolicies sets the Policies field's value.

func (*GetAccountAuthorizationDetailsOutput) SetRoleDetailList Uses

func (s *GetAccountAuthorizationDetailsOutput) SetRoleDetailList(v []*RoleDetail) *GetAccountAuthorizationDetailsOutput

SetRoleDetailList sets the RoleDetailList field's value.

func (*GetAccountAuthorizationDetailsOutput) SetUserDetailList Uses

func (s *GetAccountAuthorizationDetailsOutput) SetUserDetailList(v []*UserDetail) *GetAccountAuthorizationDetailsOutput

SetUserDetailList sets the UserDetailList field's value.

func (GetAccountAuthorizationDetailsOutput) String Uses

func (s GetAccountAuthorizationDetailsOutput) String() string

String returns the string representation

type GetAccountPasswordPolicyInput Uses

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

func (GetAccountPasswordPolicyInput) GoString Uses

func (s GetAccountPasswordPolicyInput) GoString() string

GoString returns the string representation

func (GetAccountPasswordPolicyInput) String Uses

func (s GetAccountPasswordPolicyInput) String() string

String returns the string representation

type GetAccountPasswordPolicyOutput Uses

type GetAccountPasswordPolicyOutput struct {

    // A structure that contains details about the account's password policy.
    //
    // PasswordPolicy is a required field
    PasswordPolicy *PasswordPolicy `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

Contains the response to a successful GetAccountPasswordPolicy request.

func (GetAccountPasswordPolicyOutput) GoString Uses

func (s GetAccountPasswordPolicyOutput) GoString() string

GoString returns the string representation

func (*GetAccountPasswordPolicyOutput) SetPasswordPolicy Uses

func (s *GetAccountPasswordPolicyOutput) SetPasswordPolicy(v *PasswordPolicy) *GetAccountPasswordPolicyOutput

SetPasswordPolicy sets the PasswordPolicy field's value.

func (GetAccountPasswordPolicyOutput) String Uses

func (s GetAccountPasswordPolicyOutput) String() string

String returns the string representation

type GetAccountSummaryInput Uses

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

func (GetAccountSummaryInput) GoString Uses

func (s GetAccountSummaryInput) GoString() string

GoString returns the string representation

func (GetAccountSummaryInput) String Uses

func (s GetAccountSummaryInput) String() string

String returns the string representation

type GetAccountSummaryOutput Uses

type GetAccountSummaryOutput struct {

    // A set of key–value pairs containing information about IAM entity usage
    // and IAM quotas.
    SummaryMap map[string]*int64 `type:"map"`
    // contains filtered or unexported fields
}

Contains the response to a successful GetAccountSummary request.

func (GetAccountSummaryOutput) GoString Uses

func (s GetAccountSummaryOutput) GoString() string

GoString returns the string representation

func (*GetAccountSummaryOutput) SetSummaryMap Uses

func (s *GetAccountSummaryOutput) SetSummaryMap(v map[string]*int64) *GetAccountSummaryOutput

SetSummaryMap sets the SummaryMap field's value.

func (GetAccountSummaryOutput) String Uses

func (s GetAccountSummaryOutput) String() string

String returns the string representation

type GetContextKeysForCustomPolicyInput Uses

type GetContextKeysForCustomPolicyInput struct {

    // A list of policies for which you want the list of context keys referenced
    // in those policies. Each document is specified as a string containing the
    // complete, valid JSON text of an IAM policy.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) used to validate this
    // parameter is a string of characters consisting of the following:
    //
    //    * Any printable ASCII character ranging from the space character (\u0020)
    //    through the end of the ASCII character range
    //
    //    * The printable characters in the Basic Latin and Latin-1 Supplement character
    //    set (through \u00FF)
    //
    //    * The special characters tab (\u0009), line feed (\u000A), and carriage
    //    return (\u000D)
    //
    // PolicyInputList is a required field
    PolicyInputList []*string `type:"list" required:"true"`
    // contains filtered or unexported fields
}

func (GetContextKeysForCustomPolicyInput) GoString Uses

func (s GetContextKeysForCustomPolicyInput) GoString() string

GoString returns the string representation

func (*GetContextKeysForCustomPolicyInput) SetPolicyInputList Uses

func (s *GetContextKeysForCustomPolicyInput) SetPolicyInputList(v []*string) *GetContextKeysForCustomPolicyInput

SetPolicyInputList sets the PolicyInputList field's value.

func (GetContextKeysForCustomPolicyInput) String Uses

func (s GetContextKeysForCustomPolicyInput) String() string

String returns the string representation

func (*GetContextKeysForCustomPolicyInput) Validate Uses

func (s *GetContextKeysForCustomPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetContextKeysForPolicyResponse Uses

type GetContextKeysForPolicyResponse struct {

    // The list of context keys that are referenced in the input policies.
    ContextKeyNames []*string `type:"list"`
    // contains filtered or unexported fields
}

Contains the response to a successful GetContextKeysForPrincipalPolicy or GetContextKeysForCustomPolicy request.

func (GetContextKeysForPolicyResponse) GoString Uses

func (s GetContextKeysForPolicyResponse) GoString() string

GoString returns the string representation

func (*GetContextKeysForPolicyResponse) SetContextKeyNames Uses

func (s *GetContextKeysForPolicyResponse) SetContextKeyNames(v []*string) *GetContextKeysForPolicyResponse

SetContextKeyNames sets the ContextKeyNames field's value.

func (GetContextKeysForPolicyResponse) String Uses

func (s GetContextKeysForPolicyResponse) String() string

String returns the string representation

type GetContextKeysForPrincipalPolicyInput Uses

type GetContextKeysForPrincipalPolicyInput struct {

    // An optional list of additional policies for which you want the list of context
    // keys that are referenced.
    //
    // The regex pattern (http://wikipedia.org/wiki/regex) used to validate this
    // parameter is a string of characters consisting of the following:
    //
    //    * Any printable ASCII character ranging from the space character (\u0020)
    //    through the end of the ASCII character range
    //
    //    * The printable characters in the Basic Latin and Latin-1 Supplement character
    //    set (through \u00FF)
    //
    //    * The special characters tab (\u0009), line feed (\u000A), and carriage
    //    return (\u000D)
    PolicyInputList []*string `type:"list"`

    // The ARN of a user, group, or role whose policies contain the context keys
    // that you want listed. If you specify a user, the list includes context keys
    // that are found in all policies that are attached to the user. The list also
    // includes all groups that the user is a member of. If you pick a group or
    // a role, then it includes only those context keys that are found in policies
    // attached to that entity. Note that all parameters are shown in unencoded
    // form here for clarity, but must be URL encoded to be included as a part of
    // a real HTML request.
    //
    // For more information about ARNs, see Amazon Resource Names (ARNs) and AWS
    // Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
    // in the AWS General Reference.
    //
    // PolicySourceArn is a required field
    PolicySourceArn *string `min:"20" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (GetContextKeysForPrincipalPolicyInput) GoString Uses

func (s GetContextKeysForPrincipalPolicyInput) GoString() string

GoString returns the string representation

func (*GetContextKeysForPrincipalPolicyInput) SetPolicyInputList Uses

func (s *GetContextKeysForPrincipalPolicyInput) SetPolicyInputList(v []*string) *GetContextKeysForPrincipalPolicyInput

SetPolicyInputList sets the PolicyInputList field's value.

func (*GetContextKeysForPrincipalPolicyInput) SetPolicySourceArn Uses

func (s *GetContextKeysForPrincipalPolicyInput) SetPolicySourceArn(v string) *GetContextKeysForPrincipalPolicyInput

SetPolicySourceArn sets the PolicySourceArn field's value.

func (GetContextKeysForPrincipalPolicyInput) String Uses

func (s GetContextKeysForPrincipalPolicyInput) String() string

String returns the string representation

func (*GetContextKeysForPrincipalPolicyInput) Validate Uses

func (s *GetContextKeysForPrincipalPolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetCredentialReportInput