maintenance

package
v0.2.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	APIVersion = "2025-03-10"
	SERVICE    = "maintenance"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(config *common.Config, secretKeyId, secretKeyPassword string) (client *Client, err error)

func NewClientWithSecretKey

func NewClientWithSecretKey(secretKeyId, secretKeyPassword string) (client *Client, err error)

func (*Client) DescribeMaintenanceAlerts

func (c *Client) DescribeMaintenanceAlerts(request *DescribeMaintenanceAlertsRequest) (response *DescribeMaintenanceAlertsResponse, err error)

type DescribeMaintenanceAlertsRequest

type DescribeMaintenanceAlertsRequest struct {
	*common.BaseRequest

	Product string `json:"product,omitempty"`
}

func NewDescribeMaintenanceAlertsRequest

func NewDescribeMaintenanceAlertsRequest() (request *DescribeMaintenanceAlertsRequest)

type DescribeMaintenanceAlertsResponse

type DescribeMaintenanceAlertsResponse struct {
	*common.BaseResponse

	RequestId string `json:"requestId,omitempty"`

	Response *DescribeMaintenanceAlertsResponseParams `json:"response"`
}

func NewDescribeMaintenanceAlertsResponse

func NewDescribeMaintenanceAlertsResponse() (response *DescribeMaintenanceAlertsResponse)

type DescribeMaintenanceAlertsResponseParams

type DescribeMaintenanceAlertsResponseParams struct {
	RequestId string `json:"requestId,omitempty"`

	DataList []*MaintenanceAlertInfo `json:"dataList,omitempty"`
}

type MaintenanceAlertInfo

type MaintenanceAlertInfo struct {
	InstanceId string `json:"instanceId,omitempty"`
	Location   string `json:"location,omitempty"`
	Impact     string `json:"impact,omitempty"`
	StartTime  string `json:"startTime,omitempty"`
	EndTime    string `json:"endTime,omitempty"`
	Status     string `json:"status,omitempty"`
}

Jump to

Keyboard shortcuts

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