1 // Code generated by smithy-go-codegen DO NOT EDIT. 2 3 package types 4 5 import ( 6 smithydocument "github.com/aws/smithy-go/document" 7 ) 8 9 // Provides information about your AWS account. 10 type AccountInfo struct { 11 12 // The identifier of the AWS account that is assigned to the user. 13 AccountId *string 14 15 // The display name of the AWS account that is assigned to the user. 16 AccountName *string 17 18 // The email address of the AWS account that is assigned to the user. 19 EmailAddress *string 20 21 noSmithyDocumentSerde 22 } 23 24 // Provides information about the role credentials that are assigned to the user. 25 type RoleCredentials struct { 26 27 // The identifier used for the temporary security credentials. For more 28 // information, see Using Temporary Security Credentials to Request Access to AWS 29 // Resources (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html) 30 // in the AWS IAM User Guide. 31 AccessKeyId *string 32 33 // The date on which temporary security credentials expire. 34 Expiration int64 35 36 // The key that is used to sign the request. For more information, see Using 37 // Temporary Security Credentials to Request Access to AWS Resources (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html) 38 // in the AWS IAM User Guide. 39 SecretAccessKey *string 40 41 // The token used for temporary credentials. For more information, see Using 42 // Temporary Security Credentials to Request Access to AWS Resources (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html) 43 // in the AWS IAM User Guide. 44 SessionToken *string 45 46 noSmithyDocumentSerde 47 } 48 49 // Provides information about the role that is assigned to the user. 50 type RoleInfo struct { 51 52 // The identifier of the AWS account assigned to the user. 53 AccountId *string 54 55 // The friendly name of the role that is assigned to the user. 56 RoleName *string 57 58 noSmithyDocumentSerde 59 } 60 61 type noSmithyDocumentSerde = smithydocument.NoSerde 62