types

package
v1.22.4 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

AWS CodeStar Notifications can't create the notification rule because you do not have sufficient permissions.

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 ConcurrentModificationException

type ConcurrentModificationException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

AWS CodeStar Notifications can't complete the request because the resource is being modified by another process. Wait a few minutes and try again.

func (*ConcurrentModificationException) Error

func (*ConcurrentModificationException) ErrorCode

func (e *ConcurrentModificationException) ErrorCode() string

func (*ConcurrentModificationException) ErrorFault

func (*ConcurrentModificationException) ErrorMessage

func (e *ConcurrentModificationException) ErrorMessage() string

type ConfigurationException

type ConfigurationException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Some or all of the configuration is incomplete, missing, or not valid.

func (*ConfigurationException) Error

func (e *ConfigurationException) Error() string

func (*ConfigurationException) ErrorCode

func (e *ConfigurationException) ErrorCode() string

func (*ConfigurationException) ErrorFault

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

func (*ConfigurationException) ErrorMessage

func (e *ConfigurationException) ErrorMessage() string

type DetailType

type DetailType string
const (
	DetailTypeBasic DetailType = "BASIC"
	DetailTypeFull  DetailType = "FULL"
)

Enum values for DetailType

func (DetailType) Values added in v0.29.0

func (DetailType) Values() []DetailType

Values returns all known values for DetailType. 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 EventTypeSummary

type EventTypeSummary struct {

	// The system-generated ID of the event. For a complete list of event types and
	// IDs, see Notification concepts (https://docs.aws.amazon.com/codestar-notifications/latest/userguide/concepts.html#concepts-api)
	// in the Developer Tools Console User Guide.
	EventTypeId *string

	// The name of the event.
	EventTypeName *string

	// The resource type of the event.
	ResourceType *string

	// The name of the service for which the event applies.
	ServiceName *string
	// contains filtered or unexported fields
}

Returns information about an event that has triggered a notification rule.

type InvalidNextTokenException

type InvalidNextTokenException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The value for the enumeration token used in the request to return the next batch of the results is not valid.

func (*InvalidNextTokenException) Error

func (e *InvalidNextTokenException) Error() string

func (*InvalidNextTokenException) ErrorCode

func (e *InvalidNextTokenException) ErrorCode() string

func (*InvalidNextTokenException) ErrorFault

func (*InvalidNextTokenException) ErrorMessage

func (e *InvalidNextTokenException) ErrorMessage() string

type LimitExceededException

type LimitExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

One of the AWS CodeStar Notifications limits has been exceeded. Limits apply to accounts, notification rules, notifications, resources, and targets. For more information, see Limits.

func (*LimitExceededException) Error

func (e *LimitExceededException) Error() string

func (*LimitExceededException) ErrorCode

func (e *LimitExceededException) ErrorCode() string

func (*LimitExceededException) ErrorFault

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

func (*LimitExceededException) ErrorMessage

func (e *LimitExceededException) ErrorMessage() string

type ListEventTypesFilter

type ListEventTypesFilter struct {

	// The system-generated name of the filter type you want to filter by.
	//
	// This member is required.
	Name ListEventTypesFilterName

	// The name of the resource type (for example, pipeline) or service name (for
	// example, CodePipeline) that you want to filter by.
	//
	// This member is required.
	Value *string
	// contains filtered or unexported fields
}

Information about a filter to apply to the list of returned event types. You can filter by resource type or service name.

type ListEventTypesFilterName

type ListEventTypesFilterName string
const (
	ListEventTypesFilterNameResourceType ListEventTypesFilterName = "RESOURCE_TYPE"
	ListEventTypesFilterNameServiceName  ListEventTypesFilterName = "SERVICE_NAME"
)

Enum values for ListEventTypesFilterName

func (ListEventTypesFilterName) Values added in v0.29.0

Values returns all known values for ListEventTypesFilterName. 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 ListNotificationRulesFilter

type ListNotificationRulesFilter struct {

	// The name of the attribute you want to use to filter the returned notification
	// rules.
	//
	// This member is required.
	Name ListNotificationRulesFilterName

	// The value of the attribute you want to use to filter the returned notification
	// rules. For example, if you specify filtering by RESOURCE in Name, you might
	// specify the ARN of a pipeline in CodePipeline for the value.
	//
	// This member is required.
	Value *string
	// contains filtered or unexported fields
}

Information about a filter to apply to the list of returned notification rules. You can filter by event type, owner, resource, or target.

type ListNotificationRulesFilterName

type ListNotificationRulesFilterName string
const (
	ListNotificationRulesFilterNameEventTypeId   ListNotificationRulesFilterName = "EVENT_TYPE_ID"
	ListNotificationRulesFilterNameCreatedBy     ListNotificationRulesFilterName = "CREATED_BY"
	ListNotificationRulesFilterNameResource      ListNotificationRulesFilterName = "RESOURCE"
	ListNotificationRulesFilterNameTargetAddress ListNotificationRulesFilterName = "TARGET_ADDRESS"
)

Enum values for ListNotificationRulesFilterName

func (ListNotificationRulesFilterName) Values added in v0.29.0

Values returns all known values for ListNotificationRulesFilterName. 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 ListTargetsFilter

type ListTargetsFilter struct {

	// The name of the attribute you want to use to filter the returned targets.
	//
	// This member is required.
	Name ListTargetsFilterName

	// The value of the attribute you want to use to filter the returned targets. For
	// example, if you specify SNS for the Target type, you could specify an Amazon
	// Resource Name (ARN) for a topic as the value.
	//
	// This member is required.
	Value *string
	// contains filtered or unexported fields
}

Information about a filter to apply to the list of returned targets. You can filter by target type, address, or status. For example, to filter results to notification rules that have active Chatbot topics as targets, you could specify a ListTargetsFilter Name as TargetType and a Value of SNS , and a Name of TARGET_STATUS and a Value of ACTIVE .

type ListTargetsFilterName

type ListTargetsFilterName string
const (
	ListTargetsFilterNameTargetType    ListTargetsFilterName = "TARGET_TYPE"
	ListTargetsFilterNameTargetAddress ListTargetsFilterName = "TARGET_ADDRESS"
	ListTargetsFilterNameTargetStatus  ListTargetsFilterName = "TARGET_STATUS"
)

Enum values for ListTargetsFilterName

func (ListTargetsFilterName) Values added in v0.29.0

Values returns all known values for ListTargetsFilterName. 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 NotificationRuleStatus

type NotificationRuleStatus string
const (
	NotificationRuleStatusEnabled  NotificationRuleStatus = "ENABLED"
	NotificationRuleStatusDisabled NotificationRuleStatus = "DISABLED"
)

Enum values for NotificationRuleStatus

func (NotificationRuleStatus) Values added in v0.29.0

Values returns all known values for NotificationRuleStatus. 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 NotificationRuleSummary

type NotificationRuleSummary struct {

	// The Amazon Resource Name (ARN) of the notification rule.
	Arn *string

	// The unique ID of the notification rule.
	Id *string
	// contains filtered or unexported fields
}

Information about a specified notification rule.

type ResourceAlreadyExistsException

type ResourceAlreadyExistsException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

A resource with the same name or ID already exists. Notification rule names must be unique in your Amazon Web Services account.

func (*ResourceAlreadyExistsException) Error

func (*ResourceAlreadyExistsException) ErrorCode

func (e *ResourceAlreadyExistsException) ErrorCode() string

func (*ResourceAlreadyExistsException) ErrorFault

func (*ResourceAlreadyExistsException) ErrorMessage

func (e *ResourceAlreadyExistsException) ErrorMessage() string

type ResourceNotFoundException

type ResourceNotFoundException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

AWS CodeStar Notifications can't find a resource that matches the provided ARN.

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 Target

type Target struct {

	// The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.
	TargetAddress *string

	// The target type. Can be an Chatbot topic or Chatbot client.
	//   - Chatbot topics are specified as SNS .
	//   - Chatbot clients are specified as AWSChatbotSlack .
	TargetType *string
	// contains filtered or unexported fields
}

Information about the Chatbot topics or Chatbot clients associated with a notification rule.

type TargetStatus

type TargetStatus string
const (
	TargetStatusPending     TargetStatus = "PENDING"
	TargetStatusActive      TargetStatus = "ACTIVE"
	TargetStatusUnreachable TargetStatus = "UNREACHABLE"
	TargetStatusInactive    TargetStatus = "INACTIVE"
	TargetStatusDeactivated TargetStatus = "DEACTIVATED"
)

Enum values for TargetStatus

func (TargetStatus) Values added in v0.29.0

func (TargetStatus) Values() []TargetStatus

Values returns all known values for TargetStatus. 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 TargetSummary

type TargetSummary struct {

	// The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.
	TargetAddress *string

	// The status of the target.
	TargetStatus TargetStatus

	// The type of the target (for example, SNS ).
	//   - Chatbot topics are specified as SNS .
	//   - Chatbot clients are specified as AWSChatbotSlack .
	TargetType *string
	// contains filtered or unexported fields
}

Information about the targets specified for a notification rule.

type ValidationException

type ValidationException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

One or more parameter values are not valid.

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

Jump to

Keyboard shortcuts

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