subscriber

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateSubscriberRequest

type CreateSubscriberRequest struct {
	// Name of the subscriber.
	Name string `json:"name,omitempty"`
	// The Vendor ID.
	VendorId string    `json:"vendorId,omitempty"`
	Endpoint *Endpoint `json:"endpoint,omitempty"`
}

type Endpoint

type Endpoint struct {
	// Uri of the endpoint that receives the notification.
	Uri           string                 `json:"uri,omitempty"`
	Authorization *EndpointAuthorization `json:"authorization,omitempty"`
}

type EndpointAuthorization

type EndpointAuthorization struct {
	Type_ string `json:"type,omitempty"`
}

EndpointAuthorization Authorization information to be able to publish notification to specified endpoint.

type ListSubscribersResponse

type ListSubscribersResponse struct {
	Links     *smapiv0.Links `json:"_links,omitempty"`
	NextToken string         `json:"nextToken,omitempty"`
	// List containing subscriber summary.
	Subscribers []*SubscriberSummary `json:"subscribers,omitempty"`
}

type SubscriberInfo

type SubscriberInfo struct {
	// Unique identifier of the subscriber resource.
	SubscriberId string `json:"subscriberId,omitempty"`
	// Name of the subscriber.
	Name     string    `json:"name,omitempty"`
	Endpoint *Endpoint `json:"endpoint,omitempty"`
}

SubscriberInfo Information about the subscriber.

type SubscriberStatus

type SubscriberStatus string

SubscriberStatus Status of the subscriber. This enum may get extended with new values in future. Clients are expected to gracefully handle any unknown values.

func SubscriberStatus_ACTIVE

func SubscriberStatus_ACTIVE() SubscriberStatus

func SubscriberStatus_INACTIVE

func SubscriberStatus_INACTIVE() SubscriberStatus

type SubscriberSummary

type SubscriberSummary struct {
	// Unique identifier of the subscriber resource.
	SubscriberId string `json:"subscriberId,omitempty"`
	// Name of the subscriber.
	Name   string            `json:"name,omitempty"`
	Status *SubscriberStatus `json:"status,omitempty"`
	// Client Id of the subscriber resource.
	ClientId string    `json:"clientId,omitempty"`
	Endpoint *Endpoint `json:"endpoint,omitempty"`
}

type UpdateSubscriberRequest

type UpdateSubscriberRequest struct {
	// Name of the subscriber.
	Name     string    `json:"name,omitempty"`
	Endpoint *Endpoint `json:"endpoint,omitempty"`
}

Jump to

Keyboard shortcuts

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