aws

package
v1.186.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

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

func (o Account) MarshalJSON() ([]byte, error)

func (*Account) SetId

func (o *Account) SetId(v *string) *Account

func (*Account) SetName

func (o *Account) SetName(v *string) *Account

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

type ServiceOp struct {
	Client *client.Client
}

func New

func New(sess *session.Session, cfgs ...*spotinst.Config) *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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL