subscription

package
v1.126.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2022 License: Apache-2.0 Imports: 9 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateSubscriptionInput

type CreateSubscriptionInput struct {
	Subscription *Subscription `json:"subscription,omitempty"`
}

type CreateSubscriptionOutput

type CreateSubscriptionOutput struct {
	Subscription *Subscription `json:"subscription,omitempty"`
}

type DeleteSubscriptionInput

type DeleteSubscriptionInput struct {
	SubscriptionID *string `json:"subscriptionId,omitempty"`
}

type DeleteSubscriptionOutput

type DeleteSubscriptionOutput struct{}

type ListSubscriptionsInput

type ListSubscriptionsInput struct{}

type ListSubscriptionsOutput

type ListSubscriptionsOutput struct {
	Subscriptions []*Subscription `json:"subscriptions,omitempty"`
}

type ReadSubscriptionInput

type ReadSubscriptionInput struct {
	SubscriptionID *string `json:"subscriptionId,omitempty"`
}

type ReadSubscriptionOutput

type ReadSubscriptionOutput struct {
	Subscription *Subscription `json:"subscription,omitempty"`
}

type Service

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) Create

func (*ServiceOp) Delete

func (*ServiceOp) List

func (*ServiceOp) Read

func (*ServiceOp) Update

type Subscription

type Subscription struct {
	ID         *string                `json:"id,omitempty"`
	ResourceID *string                `json:"resourceId,omitempty"`
	EventType  *string                `json:"eventType,omitempty"`
	Protocol   *string                `json:"protocol,omitempty"`
	Endpoint   *string                `json:"endpoint,omitempty"`
	Format     map[string]interface{} `json:"eventFormat,omitempty"`
	// contains filtered or unexported fields
}

func (Subscription) MarshalJSON

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

func (*Subscription) SetEndpoint

func (o *Subscription) SetEndpoint(v *string) *Subscription

func (*Subscription) SetEventType

func (o *Subscription) SetEventType(v *string) *Subscription

func (*Subscription) SetFormat

func (o *Subscription) SetFormat(v map[string]interface{}) *Subscription

func (*Subscription) SetId

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

func (*Subscription) SetProtocol

func (o *Subscription) SetProtocol(v *string) *Subscription

func (*Subscription) SetResourceId

func (o *Subscription) SetResourceId(v *string) *Subscription

type UpdateSubscriptionInput

type UpdateSubscriptionInput struct {
	Subscription *Subscription `json:"subscription,omitempty"`
}

type UpdateSubscriptionOutput

type UpdateSubscriptionOutput struct {
	Subscription *Subscription `json:"subscription,omitempty"`
}

Jump to

Keyboard shortcuts

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