Documentation ¶
Index ¶
- type Account
- type AwsAccountExternalId
- type CreateAWSAccountExternalIdInput
- type CreateAWSAccountExternalIdOutput
- type CreateAccountInput
- type CreateAccountOutput
- type Credentials
- type DeleteAccountInput
- type DeleteAccountOutput
- type ReadAWSAccountExternalIdInput
- type ReadAWSAccountExternalIdOutput
- type ReadAccountInput
- type ReadAccountOutput
- type ReadCredentialsInput
- type ReadCredentialsOutput
- type Service
- type ServiceOp
- func (s *ServiceOp) CreateAWSAccountExternalId(ctx context.Context, input *CreateAWSAccountExternalIdInput) (*CreateAWSAccountExternalIdOutput, error)
- func (s *ServiceOp) CreateAccount(ctx context.Context, input *CreateAccountInput) (*CreateAccountOutput, error)
- func (s *ServiceOp) Credentials(ctx context.Context, input *SetCredentialsInput) (*SetCredentialsOutput, error)
- func (s *ServiceOp) DeleteAccount(ctx context.Context, input *DeleteAccountInput) (*DeleteAccountOutput, error)
- func (s *ServiceOp) ReadAWSAccountExternalId(ctx context.Context, input *ReadAWSAccountExternalIdInput) (*ReadAWSAccountExternalIdOutput, error)
- func (s *ServiceOp) ReadAccount(ctx context.Context, input *ReadAccountInput) (*ReadAccountOutput, error)
- func (s *ServiceOp) ReadCredentials(ctx context.Context, input *ReadCredentialsInput) (*ReadCredentialsOutput, error)
- type SetCredentialsInput
- type SetCredentialsOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` OrganizationId *string `json:"organizationId,omitempty"` AccountId *string `json:"accountId,omitempty"` CloudProvider *string `json:"cloudProvider,omitempty"` ProviderExternalId *string `json:"providerExternalId,omitempty"` // Read-only fields. CreatedAt *time.Time `json:"createdAt,omitempty"` // contains filtered or unexported fields }
func (Account) MarshalJSON ¶
type AwsAccountExternalId ¶
type AwsAccountExternalId struct { AccountId *string `json:"accountId,omitempty"` ExternalId *string `json:"externalId,omitempty"` // contains filtered or unexported fields }
func (AwsAccountExternalId) MarshalJSON ¶
func (o AwsAccountExternalId) MarshalJSON() ([]byte, error)
func (*AwsAccountExternalId) SetAccountId ¶
func (o *AwsAccountExternalId) SetAccountId(v *string) *AwsAccountExternalId
func (*AwsAccountExternalId) SetExternalId ¶
func (o *AwsAccountExternalId) SetExternalId(v *string) *AwsAccountExternalId
type CreateAWSAccountExternalIdInput ¶
type CreateAWSAccountExternalIdInput struct {
AccountID *string `json:"accountId,omitempty"`
}
type CreateAWSAccountExternalIdOutput ¶
type CreateAWSAccountExternalIdOutput struct {
AWSAccountExternalId *AwsAccountExternalId `json:"AWSAccountExternalId,omitempty"`
}
type CreateAccountInput ¶
type CreateAccountInput struct {
Account *Account `json:"account,omitempty"`
}
type CreateAccountOutput ¶
type CreateAccountOutput struct {
Account *Account `json:"account,omitempty"`
}
type Credentials ¶ added in v1.177.0
type Credentials struct { IamRole *string `json:"iamRole,omitempty"` AccountId *string `json:"accountId,omitempty"` // contains filtered or unexported fields }
func (Credentials) MarshalJSON ¶ added in v1.177.0
func (o Credentials) MarshalJSON() ([]byte, error)
func (*Credentials) SetAccountId ¶ added in v1.177.0
func (o *Credentials) SetAccountId(v *string) *Credentials
func (*Credentials) SetIamRole ¶ added in v1.177.0
func (o *Credentials) SetIamRole(v *string) *Credentials
type DeleteAccountInput ¶
type DeleteAccountInput struct {
AccountID *string `json:"accountId,omitempty"`
}
type DeleteAccountOutput ¶
type DeleteAccountOutput struct{}
type ReadAWSAccountExternalIdInput ¶
type ReadAWSAccountExternalIdInput struct {
AccountID *string `json:"account,omitempty"`
}
type ReadAWSAccountExternalIdOutput ¶
type ReadAWSAccountExternalIdOutput struct {
AwsAccountExternalId *AwsAccountExternalId `json:"externalId,omitempty"`
}
type ReadAccountInput ¶
type ReadAccountInput struct {
AccountID *string `json:"account,omitempty"`
}
type ReadAccountOutput ¶
type ReadAccountOutput struct {
Account *Account `json:"account,omitempty"`
}
type ReadCredentialsInput ¶ added in v1.177.0
type ReadCredentialsInput struct {
AccountId *string `json:"accountId,omitempty"`
}
type ReadCredentialsOutput ¶ added in v1.177.0
type ReadCredentialsOutput struct {
Credentials *Credentials `json:"Credentials,omitempty"`
}
type Service ¶
type Service interface {
// contains filtered or unexported methods
}
Service provides the API operation methods for making requests to endpoints of the Spotinst API. See this package's package overview docs for details on the service.
type ServiceOp ¶
func (*ServiceOp) CreateAWSAccountExternalId ¶
func (s *ServiceOp) CreateAWSAccountExternalId(ctx context.Context, input *CreateAWSAccountExternalIdInput) (*CreateAWSAccountExternalIdOutput, error)
func (*ServiceOp) CreateAccount ¶
func (s *ServiceOp) CreateAccount(ctx context.Context, input *CreateAccountInput) (*CreateAccountOutput, error)
func (*ServiceOp) Credentials ¶ added in v1.177.0
func (s *ServiceOp) Credentials(ctx context.Context, input *SetCredentialsInput) (*SetCredentialsOutput, error)
func (*ServiceOp) DeleteAccount ¶
func (s *ServiceOp) DeleteAccount(ctx context.Context, input *DeleteAccountInput) (*DeleteAccountOutput, error)
func (*ServiceOp) ReadAWSAccountExternalId ¶
func (s *ServiceOp) ReadAWSAccountExternalId(ctx context.Context, input *ReadAWSAccountExternalIdInput) (*ReadAWSAccountExternalIdOutput, error)
func (*ServiceOp) ReadAccount ¶
func (s *ServiceOp) ReadAccount(ctx context.Context, input *ReadAccountInput) (*ReadAccountOutput, error)
func (*ServiceOp) ReadCredentials ¶ added in v1.177.0
func (s *ServiceOp) ReadCredentials(ctx context.Context, input *ReadCredentialsInput) (*ReadCredentialsOutput, error)
type SetCredentialsInput ¶ added in v1.177.0
type SetCredentialsInput struct {
Credentials *Credentials `json:"credentials,omitempty"`
}
type SetCredentialsOutput ¶ added in v1.177.0
type SetCredentialsOutput struct {
Credentials *Credentials `json:"Credentials,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.