types

package
v1.14.8 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: Apache-2.0 Imports: 4 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessDeniedException

type AccessDeniedException struct {
	Message *string
	// contains filtered or unexported fields
}

User does not have sufficient access to perform this action.

func (*AccessDeniedException) Error

func (e *AccessDeniedException) Error() string

func (*AccessDeniedException) ErrorCode

func (e *AccessDeniedException) ErrorCode() string

func (*AccessDeniedException) ErrorFault

func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault

func (*AccessDeniedException) ErrorMessage

func (e *AccessDeniedException) ErrorMessage() string

type AlertManagerDefinitionDescription added in v1.6.0

type AlertManagerDefinitionDescription struct {

	// The time when the alert manager definition was created.
	//
	// This member is required.
	CreatedAt *time.Time

	// The alert manager definition.
	//
	// This member is required.
	Data []byte

	// The time when the alert manager definition was modified.
	//
	// This member is required.
	ModifiedAt *time.Time

	// The status of alert manager definition.
	//
	// This member is required.
	Status *AlertManagerDefinitionStatus
	// contains filtered or unexported fields
}

Represents the properties of an alert manager definition.

type AlertManagerDefinitionStatus added in v1.6.0

type AlertManagerDefinitionStatus struct {

	// Status code of this definition.
	//
	// This member is required.
	StatusCode AlertManagerDefinitionStatusCode

	// The reason for failure if any.
	StatusReason *string
	// contains filtered or unexported fields
}

Represents the status of a definition.

type AlertManagerDefinitionStatusCode added in v1.6.0

type AlertManagerDefinitionStatusCode string
const (
	// Definition is being created. Update/Deletion is disallowed until definition is
	// ACTIVE and workspace status is ACTIVE.
	AlertManagerDefinitionStatusCodeCreating AlertManagerDefinitionStatusCode = "CREATING"
	// Definition has been created/updated. Update/Deletion is disallowed until
	// definition is ACTIVE and workspace status is ACTIVE.
	AlertManagerDefinitionStatusCodeActive AlertManagerDefinitionStatusCode = "ACTIVE"
	// Definition is being updated. Update/Deletion is disallowed until definition is
	// ACTIVE and workspace status is ACTIVE.
	AlertManagerDefinitionStatusCodeUpdating AlertManagerDefinitionStatusCode = "UPDATING"
	// Definition is being deleting. Update/Deletion is disallowed until definition is
	// ACTIVE and workspace status is ACTIVE.
	AlertManagerDefinitionStatusCodeDeleting AlertManagerDefinitionStatusCode = "DELETING"
	// Definition creation failed.
	AlertManagerDefinitionStatusCodeCreationFailed AlertManagerDefinitionStatusCode = "CREATION_FAILED"
	// Definition update failed.
	AlertManagerDefinitionStatusCodeUpdateFailed AlertManagerDefinitionStatusCode = "UPDATE_FAILED"
)

Enum values for AlertManagerDefinitionStatusCode

func (AlertManagerDefinitionStatusCode) Values added in v1.6.0

Values returns all known values for AlertManagerDefinitionStatusCode. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ConflictException

type ConflictException struct {
	Message *string

	ResourceId   *string
	ResourceType *string
	// contains filtered or unexported fields
}

Updating or deleting a resource can cause an inconsistent state.

func (*ConflictException) Error

func (e *ConflictException) Error() string

func (*ConflictException) ErrorCode

func (e *ConflictException) ErrorCode() string

func (*ConflictException) ErrorFault

func (e *ConflictException) ErrorFault() smithy.ErrorFault

func (*ConflictException) ErrorMessage

func (e *ConflictException) ErrorMessage() string

type InternalServerException

type InternalServerException struct {
	Message *string

	RetryAfterSeconds *int32
	// contains filtered or unexported fields
}

Unexpected error during processing of request.

func (*InternalServerException) Error

func (e *InternalServerException) Error() string

func (*InternalServerException) ErrorCode

func (e *InternalServerException) ErrorCode() string

func (*InternalServerException) ErrorFault

func (e *InternalServerException) ErrorFault() smithy.ErrorFault

func (*InternalServerException) ErrorMessage

func (e *InternalServerException) ErrorMessage() string

type ResourceNotFoundException

type ResourceNotFoundException struct {
	Message *string

	ResourceId   *string
	ResourceType *string
	// contains filtered or unexported fields
}

Request references a resource which does not exist.

func (*ResourceNotFoundException) Error

func (e *ResourceNotFoundException) Error() string

func (*ResourceNotFoundException) ErrorCode

func (e *ResourceNotFoundException) ErrorCode() string

func (*ResourceNotFoundException) ErrorFault

func (*ResourceNotFoundException) ErrorMessage

func (e *ResourceNotFoundException) ErrorMessage() string

type RuleGroupsNamespaceDescription added in v1.6.0

type RuleGroupsNamespaceDescription struct {

	// The Amazon Resource Name (ARN) of this rule groups namespace.
	//
	// This member is required.
	Arn *string

	// The time when the rule groups namespace was created.
	//
	// This member is required.
	CreatedAt *time.Time

	// The rule groups namespace data.
	//
	// This member is required.
	Data []byte

	// The time when the rule groups namespace was modified.
	//
	// This member is required.
	ModifiedAt *time.Time

	// The rule groups namespace name.
	//
	// This member is required.
	Name *string

	// The status of rule groups namespace.
	//
	// This member is required.
	Status *RuleGroupsNamespaceStatus

	// The tags of this rule groups namespace.
	Tags map[string]string
	// contains filtered or unexported fields
}

Represents a description of the rule groups namespace.

type RuleGroupsNamespaceStatus added in v1.6.0

type RuleGroupsNamespaceStatus struct {

	// Status code of this namespace.
	//
	// This member is required.
	StatusCode RuleGroupsNamespaceStatusCode

	// The reason for failure if any.
	StatusReason *string
	// contains filtered or unexported fields
}

Represents the status of a namespace.

type RuleGroupsNamespaceStatusCode added in v1.6.0

type RuleGroupsNamespaceStatusCode string
const (
	// Namespace is being created. Update/Deletion is disallowed until namespace is
	// ACTIVE and workspace status is ACTIVE.
	RuleGroupsNamespaceStatusCodeCreating RuleGroupsNamespaceStatusCode = "CREATING"
	// Namespace has been created/updated. Update/Deletion is disallowed until
	// namespace is ACTIVE and workspace status is ACTIVE.
	RuleGroupsNamespaceStatusCodeActive RuleGroupsNamespaceStatusCode = "ACTIVE"
	// Namespace is being updated. Update/Deletion is disallowed until namespace is
	// ACTIVE and workspace status is ACTIVE.
	RuleGroupsNamespaceStatusCodeUpdating RuleGroupsNamespaceStatusCode = "UPDATING"
	// Namespace is being deleting. Update/Deletion is disallowed until namespace is
	// ACTIVE and workspace status is ACTIVE.
	RuleGroupsNamespaceStatusCodeDeleting RuleGroupsNamespaceStatusCode = "DELETING"
	// Namespace creation failed.
	RuleGroupsNamespaceStatusCodeCreationFailed RuleGroupsNamespaceStatusCode = "CREATION_FAILED"
	// Namespace update failed.
	RuleGroupsNamespaceStatusCodeUpdateFailed RuleGroupsNamespaceStatusCode = "UPDATE_FAILED"
)

Enum values for RuleGroupsNamespaceStatusCode

func (RuleGroupsNamespaceStatusCode) Values added in v1.6.0

Values returns all known values for RuleGroupsNamespaceStatusCode. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type RuleGroupsNamespaceSummary added in v1.6.0

type RuleGroupsNamespaceSummary struct {

	// The Amazon Resource Name (ARN) of this rule groups namespace.
	//
	// This member is required.
	Arn *string

	// The time when the rule groups namespace was created.
	//
	// This member is required.
	CreatedAt *time.Time

	// The time when the rule groups namespace was modified.
	//
	// This member is required.
	ModifiedAt *time.Time

	// The rule groups namespace name.
	//
	// This member is required.
	Name *string

	// The status of rule groups namespace.
	//
	// This member is required.
	Status *RuleGroupsNamespaceStatus

	// The tags of this rule groups namespace.
	Tags map[string]string
	// contains filtered or unexported fields
}

Represents a summary of the rule groups namespace.

type ServiceQuotaExceededException

type ServiceQuotaExceededException struct {
	Message *string

	ResourceId   *string
	ResourceType *string
	ServiceCode  *string
	QuotaCode    *string
	// contains filtered or unexported fields
}

Request would cause a service quota to be exceeded.

func (*ServiceQuotaExceededException) Error

func (*ServiceQuotaExceededException) ErrorCode

func (e *ServiceQuotaExceededException) ErrorCode() string

func (*ServiceQuotaExceededException) ErrorFault

func (*ServiceQuotaExceededException) ErrorMessage

func (e *ServiceQuotaExceededException) ErrorMessage() string

type ThrottlingException

type ThrottlingException struct {
	Message *string

	ServiceCode       *string
	QuotaCode         *string
	RetryAfterSeconds *int32
	// contains filtered or unexported fields
}

Request was denied due to request throttling.

func (*ThrottlingException) Error

func (e *ThrottlingException) Error() string

func (*ThrottlingException) ErrorCode

func (e *ThrottlingException) ErrorCode() string

func (*ThrottlingException) ErrorFault

func (e *ThrottlingException) ErrorFault() smithy.ErrorFault

func (*ThrottlingException) ErrorMessage

func (e *ThrottlingException) ErrorMessage() string

type ValidationException

type ValidationException struct {
	Message *string

	Reason    ValidationExceptionReason
	FieldList []ValidationExceptionField
	// contains filtered or unexported fields
}

The input fails to satisfy the constraints specified by an AWS service.

func (*ValidationException) Error

func (e *ValidationException) Error() string

func (*ValidationException) ErrorCode

func (e *ValidationException) ErrorCode() string

func (*ValidationException) ErrorFault

func (e *ValidationException) ErrorFault() smithy.ErrorFault

func (*ValidationException) ErrorMessage

func (e *ValidationException) ErrorMessage() string

type ValidationExceptionField

type ValidationExceptionField struct {

	// Message describing why the field failed validation.
	//
	// This member is required.
	Message *string

	// The field name.
	//
	// This member is required.
	Name *string
	// contains filtered or unexported fields
}

Stores information about a field passed inside a request that resulted in an exception.

type ValidationExceptionReason

type ValidationExceptionReason string
const (
	ValidationExceptionReasonUnknownOperation      ValidationExceptionReason = "UNKNOWN_OPERATION"
	ValidationExceptionReasonCannotParse           ValidationExceptionReason = "CANNOT_PARSE"
	ValidationExceptionReasonFieldValidationFailed ValidationExceptionReason = "FIELD_VALIDATION_FAILED"
	ValidationExceptionReasonOther                 ValidationExceptionReason = "OTHER"
)

Enum values for ValidationExceptionReason

func (ValidationExceptionReason) Values

Values returns all known values for ValidationExceptionReason. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type WorkspaceDescription

type WorkspaceDescription struct {

	// The Amazon Resource Name (ARN) of this workspace.
	//
	// This member is required.
	Arn *string

	// The time when the workspace was created.
	//
	// This member is required.
	CreatedAt *time.Time

	// The status of this workspace.
	//
	// This member is required.
	Status *WorkspaceStatus

	// Unique string identifying this workspace.
	//
	// This member is required.
	WorkspaceId *string

	// Alias of this workspace.
	Alias *string

	// Prometheus endpoint URI.
	PrometheusEndpoint *string

	// The tags of this workspace.
	Tags map[string]string
	// contains filtered or unexported fields
}

Represents the properties of a workspace.

type WorkspaceStatus

type WorkspaceStatus struct {

	// Status code of this workspace.
	//
	// This member is required.
	StatusCode WorkspaceStatusCode
	// contains filtered or unexported fields
}

Represents the status of a workspace.

type WorkspaceStatusCode

type WorkspaceStatusCode string
const (
	// Workspace is being created. Deletion is disallowed until status is ACTIVE.
	WorkspaceStatusCodeCreating WorkspaceStatusCode = "CREATING"
	// Workspace has been created and is usable.
	WorkspaceStatusCodeActive WorkspaceStatusCode = "ACTIVE"
	// Workspace is being updated. Updates are allowed only when status is ACTIVE.
	WorkspaceStatusCodeUpdating WorkspaceStatusCode = "UPDATING"
	// Workspace is being deleted. Deletions are allowed only when status is ACTIVE.
	WorkspaceStatusCodeDeleting WorkspaceStatusCode = "DELETING"
	// Workspace creation failed. Refer to WorkspaceStatus.failureReason for more
	// details.
	WorkspaceStatusCodeCreationFailed WorkspaceStatusCode = "CREATION_FAILED"
)

Enum values for WorkspaceStatusCode

func (WorkspaceStatusCode) Values

Values returns all known values for WorkspaceStatusCode. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type WorkspaceSummary

type WorkspaceSummary struct {

	// The AmazonResourceName of this workspace.
	//
	// This member is required.
	Arn *string

	// The time when the workspace was created.
	//
	// This member is required.
	CreatedAt *time.Time

	// The status of this workspace.
	//
	// This member is required.
	Status *WorkspaceStatus

	// Unique string identifying this workspace.
	//
	// This member is required.
	WorkspaceId *string

	// Alias of this workspace.
	Alias *string

	// The tags of this workspace.
	Tags map[string]string
	// contains filtered or unexported fields
}

Represents a summary of the properties of a workspace.

Jump to

Keyboard shortcuts

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