Documentation ¶
Index ¶
Constants ¶
const ( ServiceName = "iam" // Name of service. EndpointsID = ServiceName // ID to lookup a service endpoint with. ServiceID = "Vault" // ServiceID is a unique identifier of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
AccountData *AccountData `type:"structure" locationName:"data"`
}
Account contains information about an Vault account.
type AccountData ¶
type AccountData struct { Arn *string `locationName:"arn"` Name *string `locationName:"name"` Email *string `locationName:"emailAddress"` ID *string `locationName:"id"` QuotaMax *int64 `locationName:"quotaMax"` CreateDate *time.Time `locationName:"createDate"` CanonicalID *string `locationName:"canonicalId"` AliasList []*string `locationName:"aliasList"` }
type CreateAccountInput ¶
type CreateAccountInput struct { Name *string `locationName:"name"` Email *string `locationName:"emailAddress"` QuotaMax *int64 `locationName:"quotaMax"` }
func (*CreateAccountInput) SetEmail ¶
func (s *CreateAccountInput) SetEmail(v string) *CreateAccountInput
SetEmail sets the Email field's value.
func (*CreateAccountInput) SetName ¶
func (s *CreateAccountInput) SetName(v string) *CreateAccountInput
SetName sets the Name field's value.
func (*CreateAccountInput) SetQuotaMax ¶
func (s *CreateAccountInput) SetQuotaMax(v int64) *CreateAccountInput
SetQuotaMax sets the QuotaMax field's value.
func (CreateAccountInput) String ¶
func (s CreateAccountInput) String() string
String returns the string representation
func (*CreateAccountInput) Validate ¶
func (s *CreateAccountInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateAccountOutput ¶
type CreateAccountOutput struct {
Account *Account `type:"structure" locationName:"account"`
}
CreateAccountOutput contains the response to a successful CreateAccount request.
func (CreateAccountOutput) GetAccount ¶
func (s CreateAccountOutput) GetAccount() *AccountData
GetAccount returns AccountData
func (CreateAccountOutput) String ¶
func (s CreateAccountOutput) String() string
String returns the string representation
type Vault ¶
Vault provides the API operation methods for making requests to Vault.
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *Vault
New creates a new instance of the Vault client with a session.
func (*Vault) CreateAccount ¶
func (c *Vault) CreateAccount(input *CreateAccountInput) (*CreateAccountOutput, error)
CreateAccount API operation creates a new Vault account
func (*Vault) CreateAccountRequest ¶
func (c *Vault) CreateAccountRequest(input *CreateAccountInput) (req *request.Request, output *CreateAccountOutput)
CreateAccountRequest generates a "aws/request.Request" representing the client's request for the CreateAccount operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.