code.dwrz.net

Go monorepo.
Log | Files | Refs

types.go (1972B)


      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
     30 	// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html)
     31 	// in the AWS IAM User Guide.
     32 	AccessKeyId *string
     33 
     34 	// The date on which temporary security credentials expire.
     35 	Expiration int64
     36 
     37 	// The key that is used to sign the request. For more information, see Using
     38 	// Temporary Security Credentials to Request Access to AWS Resources
     39 	// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html)
     40 	// in the AWS IAM User Guide.
     41 	SecretAccessKey *string
     42 
     43 	// The token used for temporary credentials. For more information, see Using
     44 	// Temporary Security Credentials to Request Access to AWS Resources
     45 	// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html)
     46 	// in the AWS IAM User Guide.
     47 	SessionToken *string
     48 
     49 	noSmithyDocumentSerde
     50 }
     51 
     52 // Provides information about the role that is assigned to the user.
     53 type RoleInfo struct {
     54 
     55 	// The identifier of the AWS account assigned to the user.
     56 	AccountId *string
     57 
     58 	// The friendly name of the role that is assigned to the user.
     59 	RoleName *string
     60 
     61 	noSmithyDocumentSerde
     62 }
     63 
     64 type noSmithyDocumentSerde = smithydocument.NoSerde