codestarnotifications

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package codestarnotifications provides the client and types for making API requests to AWS CodeStar Notifications.

This AWS CodeStar Notifications API Reference provides descriptions and usage examples of the operations and data types for the AWS CodeStar Notifications API. You can use the AWS CodeStar Notifications API to work with the following objects:

Notification rules, by calling the following:

  • CreateNotificationRule, which creates a notification rule for a resource in your account.

  • DeleteNotificationRule, which deletes a notification rule.

  • DescribeNotificationRule, which provides information about a notification rule.

  • ListNotificationRules, which lists the notification rules associated with your account.

  • UpdateNotificationRule, which changes the name, events, or targets associated with a notification rule.

  • Subscribe, which subscribes a target to a notification rule.

  • Unsubscribe, which removes a target from a notification rule.

Targets, by calling the following:

  • DeleteTarget, which removes a notification rule target from a notification rule.

  • ListTargets, which lists the targets associated with a notification rule.

Events, by calling the following:

  • ListEventTypes, which lists the event types you can include in a notification rule.

Tags, by calling the following:

  • ListTagsForResource, which lists the tags already associated with a notification rule in your account.

  • TagResource, which associates a tag you provide with a notification rule in your account.

  • UntagResource, which removes a tag from a notification rule in your account.

For information about how to use AWS CodeStar Notifications, see the Amazon Web Services Developer Tools Console User Guide (https://docs.aws.amazon.com/dtconsole/latest/userguide/what-is-dtconsole.html).

See https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15 for more information on this service.

See codestarnotifications package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/codestarnotifications/

Using the Client

To contact AWS CodeStar Notifications with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS CodeStar Notifications client CodeStarNotifications for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/codestarnotifications/#New

Index

Constants

View Source
const (
	// DetailTypeBasic is a DetailType enum value
	DetailTypeBasic = "BASIC"

	// DetailTypeFull is a DetailType enum value
	DetailTypeFull = "FULL"
)
View Source
const (
	// ListEventTypesFilterNameResourceType is a ListEventTypesFilterName enum value
	ListEventTypesFilterNameResourceType = "RESOURCE_TYPE"

	// ListEventTypesFilterNameServiceName is a ListEventTypesFilterName enum value
	ListEventTypesFilterNameServiceName = "SERVICE_NAME"
)
View Source
const (
	// ListNotificationRulesFilterNameEventTypeId is a ListNotificationRulesFilterName enum value
	ListNotificationRulesFilterNameEventTypeId = "EVENT_TYPE_ID"

	// ListNotificationRulesFilterNameCreatedBy is a ListNotificationRulesFilterName enum value
	ListNotificationRulesFilterNameCreatedBy = "CREATED_BY"

	// ListNotificationRulesFilterNameResource is a ListNotificationRulesFilterName enum value
	ListNotificationRulesFilterNameResource = "RESOURCE"

	// ListNotificationRulesFilterNameTargetAddress is a ListNotificationRulesFilterName enum value
	ListNotificationRulesFilterNameTargetAddress = "TARGET_ADDRESS"
)
View Source
const (
	// ListTargetsFilterNameTargetType is a ListTargetsFilterName enum value
	ListTargetsFilterNameTargetType = "TARGET_TYPE"

	// ListTargetsFilterNameTargetAddress is a ListTargetsFilterName enum value
	ListTargetsFilterNameTargetAddress = "TARGET_ADDRESS"

	// ListTargetsFilterNameTargetStatus is a ListTargetsFilterName enum value
	ListTargetsFilterNameTargetStatus = "TARGET_STATUS"
)
View Source
const (
	// NotificationRuleStatusEnabled is a NotificationRuleStatus enum value
	NotificationRuleStatusEnabled = "ENABLED"

	// NotificationRuleStatusDisabled is a NotificationRuleStatus enum value
	NotificationRuleStatusDisabled = "DISABLED"
)
View Source
const (
	// TargetStatusPending is a TargetStatus enum value
	TargetStatusPending = "PENDING"

	// TargetStatusActive is a TargetStatus enum value
	TargetStatusActive = "ACTIVE"

	// TargetStatusUnreachable is a TargetStatus enum value
	TargetStatusUnreachable = "UNREACHABLE"

	// TargetStatusInactive is a TargetStatus enum value
	TargetStatusInactive = "INACTIVE"

	// TargetStatusDeactivated is a TargetStatus enum value
	TargetStatusDeactivated = "DEACTIVATED"
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// AWS CodeStar Notifications can't create the notification rule because you
	// do not have sufficient permissions.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeConcurrentModificationException for service response error code
	// "ConcurrentModificationException".
	//
	// AWS CodeStar Notifications can't complete the request because the resource
	// is being modified by another process. Wait a few minutes and try again.
	ErrCodeConcurrentModificationException = "ConcurrentModificationException"

	// ErrCodeConfigurationException for service response error code
	// "ConfigurationException".
	//
	// Some or all of the configuration is incomplete, missing, or not valid.
	ErrCodeConfigurationException = "ConfigurationException"

	// ErrCodeInvalidNextTokenException for service response error code
	// "InvalidNextTokenException".
	//
	// The value for the enumeration token used in the request to return the next
	// batch of the results is not valid.
	ErrCodeInvalidNextTokenException = "InvalidNextTokenException"

	// ErrCodeLimitExceededException for service response error code
	// "LimitExceededException".
	//
	// 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.
	ErrCodeLimitExceededException = "LimitExceededException"

	// ErrCodeResourceAlreadyExistsException for service response error code
	// "ResourceAlreadyExistsException".
	//
	// A resource with the same name or ID already exists. Notification rule names
	// must be unique in your Amazon Web Services account.
	ErrCodeResourceAlreadyExistsException = "ResourceAlreadyExistsException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// AWS CodeStar Notifications can't find a resource that matches the provided
	// ARN.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// One or more parameter values are not valid.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "codestar notifications" // Name of service.
	EndpointsID = "codestar-notifications" // ID to lookup a service endpoint with.
	ServiceID   = "codestar notifications" // ServiceID is a unique identifier of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

func DetailType_Values

func DetailType_Values() []string

DetailType_Values returns all elements of the DetailType enum

func ListEventTypesFilterName_Values

func ListEventTypesFilterName_Values() []string

ListEventTypesFilterName_Values returns all elements of the ListEventTypesFilterName enum

func ListNotificationRulesFilterName_Values

func ListNotificationRulesFilterName_Values() []string

ListNotificationRulesFilterName_Values returns all elements of the ListNotificationRulesFilterName enum

func ListTargetsFilterName_Values

func ListTargetsFilterName_Values() []string

ListTargetsFilterName_Values returns all elements of the ListTargetsFilterName enum

func NotificationRuleStatus_Values

func NotificationRuleStatus_Values() []string

NotificationRuleStatus_Values returns all elements of the NotificationRuleStatus enum

func TargetStatus_Values

func TargetStatus_Values() []string

TargetStatus_Values returns all elements of the TargetStatus enum

Types

type AccessDeniedException

type AccessDeniedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" min:"1" type:"string"`
	// contains filtered or unexported fields
}

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

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CodeStarNotifications

type CodeStarNotifications struct {
	*client.Client
}

CodeStarNotifications provides the API operation methods for making requests to AWS CodeStar Notifications. See this package's package overview docs for details on the service.

CodeStarNotifications methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

New creates a new instance of the CodeStarNotifications client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a CodeStarNotifications client from just a session.
svc := codestarnotifications.New(mySession)

// Create a CodeStarNotifications client with additional configuration
svc := codestarnotifications.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*CodeStarNotifications) CreateNotificationRule

CreateNotificationRule API operation for AWS CodeStar Notifications.

Creates a notification rule for a resource. The rule specifies the events you want notifications about and the targets (such as Chatbot topics or Chatbot clients configured for Slack) where you want to receive them.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeStar Notifications's API operation CreateNotificationRule for usage and error information.

Returned Error Types:

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

  • ValidationException One or more parameter values are not valid.

  • LimitExceededException 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.

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/CreateNotificationRule

func (*CodeStarNotifications) CreateNotificationRuleRequest

func (c *CodeStarNotifications) CreateNotificationRuleRequest(input *CreateNotificationRuleInput) (req *request.Request, output *CreateNotificationRuleOutput)

CreateNotificationRuleRequest generates a "aws/request.Request" representing the client's request for the CreateNotificationRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateNotificationRule for more information on using the CreateNotificationRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateNotificationRuleRequest method.
req, resp := client.CreateNotificationRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/CreateNotificationRule

func (*CodeStarNotifications) CreateNotificationRuleWithContext

func (c *CodeStarNotifications) CreateNotificationRuleWithContext(ctx aws.Context, input *CreateNotificationRuleInput, opts ...request.Option) (*CreateNotificationRuleOutput, error)

CreateNotificationRuleWithContext is the same as CreateNotificationRule with the addition of the ability to pass a context and additional request options.

See CreateNotificationRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeStarNotifications) DeleteNotificationRule

DeleteNotificationRule API operation for AWS CodeStar Notifications.

Deletes a notification rule for a resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeStar Notifications's API operation DeleteNotificationRule for usage and error information.

Returned Error Types:

  • ValidationException One or more parameter values are not valid.

  • LimitExceededException 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.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/DeleteNotificationRule

func (*CodeStarNotifications) DeleteNotificationRuleRequest

func (c *CodeStarNotifications) DeleteNotificationRuleRequest(input *DeleteNotificationRuleInput) (req *request.Request, output *DeleteNotificationRuleOutput)

DeleteNotificationRuleRequest generates a "aws/request.Request" representing the client's request for the DeleteNotificationRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteNotificationRule for more information on using the DeleteNotificationRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteNotificationRuleRequest method.
req, resp := client.DeleteNotificationRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/DeleteNotificationRule

func (*CodeStarNotifications) DeleteNotificationRuleWithContext

func (c *CodeStarNotifications) DeleteNotificationRuleWithContext(ctx aws.Context, input *DeleteNotificationRuleInput, opts ...request.Option) (*DeleteNotificationRuleOutput, error)

DeleteNotificationRuleWithContext is the same as DeleteNotificationRule with the addition of the ability to pass a context and additional request options.

See DeleteNotificationRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeStarNotifications) DeleteTarget

DeleteTarget API operation for AWS CodeStar Notifications.

Deletes a specified target for notifications.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeStar Notifications's API operation DeleteTarget for usage and error information.

Returned Error Types:

  • ValidationException One or more parameter values are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/DeleteTarget

func (*CodeStarNotifications) DeleteTargetRequest

func (c *CodeStarNotifications) DeleteTargetRequest(input *DeleteTargetInput) (req *request.Request, output *DeleteTargetOutput)

DeleteTargetRequest generates a "aws/request.Request" representing the client's request for the DeleteTarget operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteTarget for more information on using the DeleteTarget API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteTargetRequest method.
req, resp := client.DeleteTargetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/DeleteTarget

func (*CodeStarNotifications) DeleteTargetWithContext

func (c *CodeStarNotifications) DeleteTargetWithContext(ctx aws.Context, input *DeleteTargetInput, opts ...request.Option) (*DeleteTargetOutput, error)

DeleteTargetWithContext is the same as DeleteTarget with the addition of the ability to pass a context and additional request options.

See DeleteTarget for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeStarNotifications) DescribeNotificationRule

DescribeNotificationRule API operation for AWS CodeStar Notifications.

Returns information about a specified notification rule.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeStar Notifications's API operation DescribeNotificationRule for usage and error information.

Returned Error Types:

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

  • ValidationException One or more parameter values are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/DescribeNotificationRule

func (*CodeStarNotifications) DescribeNotificationRuleRequest

func (c *CodeStarNotifications) DescribeNotificationRuleRequest(input *DescribeNotificationRuleInput) (req *request.Request, output *DescribeNotificationRuleOutput)

DescribeNotificationRuleRequest generates a "aws/request.Request" representing the client's request for the DescribeNotificationRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeNotificationRule for more information on using the DescribeNotificationRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeNotificationRuleRequest method.
req, resp := client.DescribeNotificationRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/DescribeNotificationRule

func (*CodeStarNotifications) DescribeNotificationRuleWithContext

func (c *CodeStarNotifications) DescribeNotificationRuleWithContext(ctx aws.Context, input *DescribeNotificationRuleInput, opts ...request.Option) (*DescribeNotificationRuleOutput, error)

DescribeNotificationRuleWithContext is the same as DescribeNotificationRule with the addition of the ability to pass a context and additional request options.

See DescribeNotificationRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeStarNotifications) ListEventTypes

ListEventTypes API operation for AWS CodeStar Notifications.

Returns information about the event types available for configuring notifications.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeStar Notifications's API operation ListEventTypes for usage and error information.

Returned Error Types:

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

  • ValidationException One or more parameter values are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/ListEventTypes

func (*CodeStarNotifications) ListEventTypesPages

func (c *CodeStarNotifications) ListEventTypesPages(input *ListEventTypesInput, fn func(*ListEventTypesOutput, bool) bool) error

ListEventTypesPages iterates over the pages of a ListEventTypes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListEventTypes method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListEventTypes operation.
pageNum := 0
err := client.ListEventTypesPages(params,
    func(page *codestarnotifications.ListEventTypesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeStarNotifications) ListEventTypesPagesWithContext

func (c *CodeStarNotifications) ListEventTypesPagesWithContext(ctx aws.Context, input *ListEventTypesInput, fn func(*ListEventTypesOutput, bool) bool, opts ...request.Option) error

ListEventTypesPagesWithContext same as ListEventTypesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeStarNotifications) ListEventTypesRequest

func (c *CodeStarNotifications) ListEventTypesRequest(input *ListEventTypesInput) (req *request.Request, output *ListEventTypesOutput)

ListEventTypesRequest generates a "aws/request.Request" representing the client's request for the ListEventTypes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListEventTypes for more information on using the ListEventTypes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListEventTypesRequest method.
req, resp := client.ListEventTypesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/ListEventTypes

func (*CodeStarNotifications) ListEventTypesWithContext

func (c *CodeStarNotifications) ListEventTypesWithContext(ctx aws.Context, input *ListEventTypesInput, opts ...request.Option) (*ListEventTypesOutput, error)

ListEventTypesWithContext is the same as ListEventTypes with the addition of the ability to pass a context and additional request options.

See ListEventTypes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeStarNotifications) ListNotificationRules

ListNotificationRules API operation for AWS CodeStar Notifications.

Returns a list of the notification rules for an Amazon Web Services account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeStar Notifications's API operation ListNotificationRules for usage and error information.

Returned Error Types:

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

  • ValidationException One or more parameter values are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/ListNotificationRules

func (*CodeStarNotifications) ListNotificationRulesPages

func (c *CodeStarNotifications) ListNotificationRulesPages(input *ListNotificationRulesInput, fn func(*ListNotificationRulesOutput, bool) bool) error

ListNotificationRulesPages iterates over the pages of a ListNotificationRules operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListNotificationRules method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListNotificationRules operation.
pageNum := 0
err := client.ListNotificationRulesPages(params,
    func(page *codestarnotifications.ListNotificationRulesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeStarNotifications) ListNotificationRulesPagesWithContext

func (c *CodeStarNotifications) ListNotificationRulesPagesWithContext(ctx aws.Context, input *ListNotificationRulesInput, fn func(*ListNotificationRulesOutput, bool) bool, opts ...request.Option) error

ListNotificationRulesPagesWithContext same as ListNotificationRulesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeStarNotifications) ListNotificationRulesRequest

func (c *CodeStarNotifications) ListNotificationRulesRequest(input *ListNotificationRulesInput) (req *request.Request, output *ListNotificationRulesOutput)

ListNotificationRulesRequest generates a "aws/request.Request" representing the client's request for the ListNotificationRules operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListNotificationRules for more information on using the ListNotificationRules API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListNotificationRulesRequest method.
req, resp := client.ListNotificationRulesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/ListNotificationRules

func (*CodeStarNotifications) ListNotificationRulesWithContext

func (c *CodeStarNotifications) ListNotificationRulesWithContext(ctx aws.Context, input *ListNotificationRulesInput, opts ...request.Option) (*ListNotificationRulesOutput, error)

ListNotificationRulesWithContext is the same as ListNotificationRules with the addition of the ability to pass a context and additional request options.

See ListNotificationRules for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeStarNotifications) ListTagsForResource

ListTagsForResource API operation for AWS CodeStar Notifications.

Returns a list of the tags associated with a notification rule.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeStar Notifications's API operation ListTagsForResource for usage and error information.

Returned Error Types:

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

  • ValidationException One or more parameter values are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/ListTagsForResource

func (*CodeStarNotifications) ListTagsForResourceRequest

func (c *CodeStarNotifications) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/ListTagsForResource

func (*CodeStarNotifications) ListTagsForResourceWithContext

func (c *CodeStarNotifications) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeStarNotifications) ListTargets

ListTargets API operation for AWS CodeStar Notifications.

Returns a list of the notification rule targets for an Amazon Web Services account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeStar Notifications's API operation ListTargets for usage and error information.

Returned Error Types:

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

  • ValidationException One or more parameter values are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/ListTargets

func (*CodeStarNotifications) ListTargetsPages

func (c *CodeStarNotifications) ListTargetsPages(input *ListTargetsInput, fn func(*ListTargetsOutput, bool) bool) error

ListTargetsPages iterates over the pages of a ListTargets operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListTargets method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListTargets operation.
pageNum := 0
err := client.ListTargetsPages(params,
    func(page *codestarnotifications.ListTargetsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CodeStarNotifications) ListTargetsPagesWithContext

func (c *CodeStarNotifications) ListTargetsPagesWithContext(ctx aws.Context, input *ListTargetsInput, fn func(*ListTargetsOutput, bool) bool, opts ...request.Option) error

ListTargetsPagesWithContext same as ListTargetsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeStarNotifications) ListTargetsRequest

func (c *CodeStarNotifications) ListTargetsRequest(input *ListTargetsInput) (req *request.Request, output *ListTargetsOutput)

ListTargetsRequest generates a "aws/request.Request" representing the client's request for the ListTargets operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTargets for more information on using the ListTargets API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTargetsRequest method.
req, resp := client.ListTargetsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/ListTargets

func (*CodeStarNotifications) ListTargetsWithContext

func (c *CodeStarNotifications) ListTargetsWithContext(ctx aws.Context, input *ListTargetsInput, opts ...request.Option) (*ListTargetsOutput, error)

ListTargetsWithContext is the same as ListTargets with the addition of the ability to pass a context and additional request options.

See ListTargets for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeStarNotifications) Subscribe

func (c *CodeStarNotifications) Subscribe(input *SubscribeInput) (*SubscribeOutput, error)

Subscribe API operation for AWS CodeStar Notifications.

Creates an association between a notification rule and an Chatbot topic or Chatbot client so that the associated target can receive notifications when the events described in the rule are triggered.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeStar Notifications's API operation Subscribe for usage and error information.

Returned Error Types:

  • ValidationException One or more parameter values are not valid.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/Subscribe

func (*CodeStarNotifications) SubscribeRequest

func (c *CodeStarNotifications) SubscribeRequest(input *SubscribeInput) (req *request.Request, output *SubscribeOutput)

SubscribeRequest generates a "aws/request.Request" representing the client's request for the Subscribe operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See Subscribe for more information on using the Subscribe API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SubscribeRequest method.
req, resp := client.SubscribeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/Subscribe

func (*CodeStarNotifications) SubscribeWithContext

func (c *CodeStarNotifications) SubscribeWithContext(ctx aws.Context, input *SubscribeInput, opts ...request.Option) (*SubscribeOutput, error)

SubscribeWithContext is the same as Subscribe with the addition of the ability to pass a context and additional request options.

See Subscribe for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeStarNotifications) TagResource

TagResource API operation for AWS CodeStar Notifications.

Associates a set of provided tags with a notification rule.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeStar Notifications's API operation TagResource for usage and error information.

Returned Error Types:

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

  • LimitExceededException 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.

  • ValidationException One or more parameter values are not valid.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/TagResource

func (*CodeStarNotifications) TagResourceRequest

func (c *CodeStarNotifications) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/TagResource

func (*CodeStarNotifications) TagResourceWithContext

func (c *CodeStarNotifications) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeStarNotifications) Unsubscribe

Unsubscribe API operation for AWS CodeStar Notifications.

Removes an association between a notification rule and an Chatbot topic so that subscribers to that topic stop receiving notifications when the events described in the rule are triggered.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeStar Notifications's API operation Unsubscribe for usage and error information.

Returned Error Types:

  • ValidationException One or more parameter values are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/Unsubscribe

func (*CodeStarNotifications) UnsubscribeRequest

func (c *CodeStarNotifications) UnsubscribeRequest(input *UnsubscribeInput) (req *request.Request, output *UnsubscribeOutput)

UnsubscribeRequest generates a "aws/request.Request" representing the client's request for the Unsubscribe operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See Unsubscribe for more information on using the Unsubscribe API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UnsubscribeRequest method.
req, resp := client.UnsubscribeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/Unsubscribe

func (*CodeStarNotifications) UnsubscribeWithContext

func (c *CodeStarNotifications) UnsubscribeWithContext(ctx aws.Context, input *UnsubscribeInput, opts ...request.Option) (*UnsubscribeOutput, error)

UnsubscribeWithContext is the same as Unsubscribe with the addition of the ability to pass a context and additional request options.

See Unsubscribe for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeStarNotifications) UntagResource

UntagResource API operation for AWS CodeStar Notifications.

Removes the association between one or more provided tags and a notification rule.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeStar Notifications's API operation UntagResource for usage and error information.

Returned Error Types:

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

  • LimitExceededException 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.

  • ValidationException One or more parameter values are not valid.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/UntagResource

func (*CodeStarNotifications) UntagResourceRequest

func (c *CodeStarNotifications) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/UntagResource

func (*CodeStarNotifications) UntagResourceWithContext

func (c *CodeStarNotifications) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CodeStarNotifications) UpdateNotificationRule

UpdateNotificationRule API operation for AWS CodeStar Notifications.

Updates a notification rule for a resource. You can change the events that trigger the notification rule, the status of the rule, and the targets that receive the notifications.

To add or remove tags for a notification rule, you must use TagResource and UntagResource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CodeStar Notifications's API operation UpdateNotificationRule for usage and error information.

Returned Error Types:

  • ValidationException One or more parameter values are not valid.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/UpdateNotificationRule

func (*CodeStarNotifications) UpdateNotificationRuleRequest

func (c *CodeStarNotifications) UpdateNotificationRuleRequest(input *UpdateNotificationRuleInput) (req *request.Request, output *UpdateNotificationRuleOutput)

UpdateNotificationRuleRequest generates a "aws/request.Request" representing the client's request for the UpdateNotificationRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateNotificationRule for more information on using the UpdateNotificationRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateNotificationRuleRequest method.
req, resp := client.UpdateNotificationRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/UpdateNotificationRule

func (*CodeStarNotifications) UpdateNotificationRuleWithContext

func (c *CodeStarNotifications) UpdateNotificationRuleWithContext(ctx aws.Context, input *UpdateNotificationRuleInput, opts ...request.Option) (*UpdateNotificationRuleOutput, error)

UpdateNotificationRuleWithContext is the same as UpdateNotificationRule with the addition of the ability to pass a context and additional request options.

See UpdateNotificationRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type ConcurrentModificationException

type ConcurrentModificationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" min:"1" type:"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) Code

Code returns the exception type name.

func (*ConcurrentModificationException) Error

func (ConcurrentModificationException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConcurrentModificationException) Message

Message returns the exception's message.

func (*ConcurrentModificationException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConcurrentModificationException) RequestID

func (s *ConcurrentModificationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConcurrentModificationException) StatusCode

func (s *ConcurrentModificationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConcurrentModificationException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ConfigurationException

type ConfigurationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" min:"1" type:"string"`
	// contains filtered or unexported fields
}

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

func (*ConfigurationException) Code

func (s *ConfigurationException) Code() string

Code returns the exception type name.

func (*ConfigurationException) Error

func (s *ConfigurationException) Error() string

func (ConfigurationException) GoString

func (s ConfigurationException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConfigurationException) Message

func (s *ConfigurationException) Message() string

Message returns the exception's message.

func (*ConfigurationException) OrigErr

func (s *ConfigurationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConfigurationException) RequestID

func (s *ConfigurationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConfigurationException) StatusCode

func (s *ConfigurationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConfigurationException) String

func (s ConfigurationException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateNotificationRuleInput

type CreateNotificationRuleInput struct {

	// A unique, client-generated idempotency token that, when provided in a request,
	// ensures the request cannot be repeated with a changed parameter. If a request
	// with the same parameters is received and a token is included, the request
	// returns information about the initial request that used that token.
	//
	// The Amazon Web Services SDKs prepopulate client request tokens. If you are
	// using an Amazon Web Services SDK, an idempotency token is created for you.
	ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"`

	// The level of detail to include in the notifications for this resource. BASIC
	// will include only the contents of the event as it would appear in Amazon
	// CloudWatch. FULL will include any supplemental information provided by AWS
	// CodeStar Notifications and/or the service for the resource for which the
	// notification is created.
	//
	// DetailType is a required field
	DetailType *string `type:"string" required:"true" enum:"DetailType"`

	// A list of event types associated with this notification rule. For a list
	// of allowed events, see EventTypeSummary.
	//
	// EventTypeIds is a required field
	EventTypeIds []*string `type:"list" required:"true"`

	// The name for the notification rule. Notification rule names must be unique
	// in your Amazon Web Services account.
	//
	// Name is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreateNotificationRuleInput's
	// String and GoString methods.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true" sensitive:"true"`

	// The Amazon Resource Name (ARN) of the resource to associate with the notification
	// rule. Supported resources include pipelines in CodePipeline, repositories
	// in CodeCommit, and build projects in CodeBuild.
	//
	// Resource is a required field
	Resource *string `type:"string" required:"true"`

	// The status of the notification rule. The default value is ENABLED. If the
	// status is set to DISABLED, notifications aren't sent for the notification
	// rule.
	Status *string `type:"string" enum:"NotificationRuleStatus"`

	// A list of tags to apply to this notification rule. Key names cannot start
	// with "aws".
	Tags map[string]*string `type:"map"`

	// A list of Amazon Resource Names (ARNs) of Amazon Simple Notification Service
	// topics and Chatbot clients to associate with the notification rule.
	//
	// Targets is a required field
	Targets []*Target `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (CreateNotificationRuleInput) GoString

func (s CreateNotificationRuleInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateNotificationRuleInput) SetClientRequestToken

func (s *CreateNotificationRuleInput) SetClientRequestToken(v string) *CreateNotificationRuleInput

SetClientRequestToken sets the ClientRequestToken field's value.

func (*CreateNotificationRuleInput) SetDetailType

SetDetailType sets the DetailType field's value.

func (*CreateNotificationRuleInput) SetEventTypeIds

SetEventTypeIds sets the EventTypeIds field's value.

func (*CreateNotificationRuleInput) SetName

SetName sets the Name field's value.

func (*CreateNotificationRuleInput) SetResource

SetResource sets the Resource field's value.

func (*CreateNotificationRuleInput) SetStatus

SetStatus sets the Status field's value.

func (*CreateNotificationRuleInput) SetTags

SetTags sets the Tags field's value.

func (*CreateNotificationRuleInput) SetTargets

SetTargets sets the Targets field's value.

func (CreateNotificationRuleInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateNotificationRuleInput) Validate

func (s *CreateNotificationRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateNotificationRuleOutput

type CreateNotificationRuleOutput struct {

	// The Amazon Resource Name (ARN) of the notification rule.
	Arn *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateNotificationRuleOutput) GoString

func (s CreateNotificationRuleOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateNotificationRuleOutput) SetArn

SetArn sets the Arn field's value.

func (CreateNotificationRuleOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteNotificationRuleInput

type DeleteNotificationRuleInput struct {

	// The Amazon Resource Name (ARN) of the notification rule you want to delete.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteNotificationRuleInput) GoString

func (s DeleteNotificationRuleInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteNotificationRuleInput) SetArn

SetArn sets the Arn field's value.

func (DeleteNotificationRuleInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteNotificationRuleInput) Validate

func (s *DeleteNotificationRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteNotificationRuleOutput

type DeleteNotificationRuleOutput struct {

	// The Amazon Resource Name (ARN) of the deleted notification rule.
	Arn *string `type:"string"`
	// contains filtered or unexported fields
}

func (DeleteNotificationRuleOutput) GoString

func (s DeleteNotificationRuleOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteNotificationRuleOutput) SetArn

SetArn sets the Arn field's value.

func (DeleteNotificationRuleOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteTargetInput

type DeleteTargetInput struct {

	// A Boolean value that can be used to delete all associations with this Chatbot
	// topic. The default value is FALSE. If set to TRUE, all associations between
	// that target and every notification rule in your Amazon Web Services account
	// are deleted.
	ForceUnsubscribeAll *bool `type:"boolean"`

	// The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client to
	// delete.
	//
	// TargetAddress is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by DeleteTargetInput's
	// String and GoString methods.
	//
	// TargetAddress is a required field
	TargetAddress *string `min:"1" type:"string" required:"true" sensitive:"true"`
	// contains filtered or unexported fields
}

func (DeleteTargetInput) GoString

func (s DeleteTargetInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteTargetInput) SetForceUnsubscribeAll

func (s *DeleteTargetInput) SetForceUnsubscribeAll(v bool) *DeleteTargetInput

SetForceUnsubscribeAll sets the ForceUnsubscribeAll field's value.

func (*DeleteTargetInput) SetTargetAddress

func (s *DeleteTargetInput) SetTargetAddress(v string) *DeleteTargetInput

SetTargetAddress sets the TargetAddress field's value.

func (DeleteTargetInput) String

func (s DeleteTargetInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteTargetInput) Validate

func (s *DeleteTargetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteTargetOutput

type DeleteTargetOutput struct {
	// contains filtered or unexported fields
}

func (DeleteTargetOutput) GoString

func (s DeleteTargetOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteTargetOutput) String

func (s DeleteTargetOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeNotificationRuleInput

type DescribeNotificationRuleInput struct {

	// The Amazon Resource Name (ARN) of the notification rule.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeNotificationRuleInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeNotificationRuleInput) SetArn

SetArn sets the Arn field's value.

func (DescribeNotificationRuleInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeNotificationRuleInput) Validate

func (s *DescribeNotificationRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeNotificationRuleOutput

type DescribeNotificationRuleOutput struct {

	// The Amazon Resource Name (ARN) of the notification rule.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`

	// The name or email alias of the person who created the notification rule.
	CreatedBy *string `min:"1" type:"string"`

	// The date and time the notification rule was created, in timestamp format.
	CreatedTimestamp *time.Time `type:"timestamp"`

	// The level of detail included in the notifications for this resource. BASIC
	// will include only the contents of the event as it would appear in Amazon
	// CloudWatch. FULL will include any supplemental information provided by AWS
	// CodeStar Notifications and/or the service for the resource for which the
	// notification is created.
	DetailType *string `type:"string" enum:"DetailType"`

	// A list of the event types associated with the notification rule.
	EventTypes []*EventTypeSummary `type:"list"`

	// The date and time the notification rule was most recently updated, in timestamp
	// format.
	LastModifiedTimestamp *time.Time `type:"timestamp"`

	// The name of the notification rule.
	//
	// Name is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by DescribeNotificationRuleOutput's
	// String and GoString methods.
	Name *string `min:"1" type:"string" sensitive:"true"`

	// The Amazon Resource Name (ARN) of the resource associated with the notification
	// rule.
	Resource *string `type:"string"`

	// The status of the notification rule. Valid statuses are on (sending notifications)
	// or off (not sending notifications).
	Status *string `type:"string" enum:"NotificationRuleStatus"`

	// The tags associated with the notification rule.
	Tags map[string]*string `type:"map"`

	// A list of the Chatbot topics and Chatbot clients associated with the notification
	// rule.
	Targets []*TargetSummary `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeNotificationRuleOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeNotificationRuleOutput) SetArn

SetArn sets the Arn field's value.

func (*DescribeNotificationRuleOutput) SetCreatedBy

SetCreatedBy sets the CreatedBy field's value.

func (*DescribeNotificationRuleOutput) SetCreatedTimestamp

SetCreatedTimestamp sets the CreatedTimestamp field's value.

func (*DescribeNotificationRuleOutput) SetDetailType

SetDetailType sets the DetailType field's value.

func (*DescribeNotificationRuleOutput) SetEventTypes

SetEventTypes sets the EventTypes field's value.

func (*DescribeNotificationRuleOutput) SetLastModifiedTimestamp

SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value.

func (*DescribeNotificationRuleOutput) SetName

SetName sets the Name field's value.

func (*DescribeNotificationRuleOutput) SetResource

SetResource sets the Resource field's value.

func (*DescribeNotificationRuleOutput) SetStatus

SetStatus sets the Status field's value.

func (*DescribeNotificationRuleOutput) SetTags

SetTags sets the Tags field's value.

func (*DescribeNotificationRuleOutput) SetTargets

SetTargets sets the Targets field's value.

func (DescribeNotificationRuleOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 `min:"1" type:"string"`

	// The name of the event.
	EventTypeName *string `type:"string"`

	// The resource type of the event.
	ResourceType *string `min:"1" type:"string"`

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

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

func (EventTypeSummary) GoString

func (s EventTypeSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*EventTypeSummary) SetEventTypeId

func (s *EventTypeSummary) SetEventTypeId(v string) *EventTypeSummary

SetEventTypeId sets the EventTypeId field's value.

func (*EventTypeSummary) SetEventTypeName

func (s *EventTypeSummary) SetEventTypeName(v string) *EventTypeSummary

SetEventTypeName sets the EventTypeName field's value.

func (*EventTypeSummary) SetResourceType

func (s *EventTypeSummary) SetResourceType(v string) *EventTypeSummary

SetResourceType sets the ResourceType field's value.

func (*EventTypeSummary) SetServiceName

func (s *EventTypeSummary) SetServiceName(v string) *EventTypeSummary

SetServiceName sets the ServiceName field's value.

func (EventTypeSummary) String

func (s EventTypeSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InvalidNextTokenException

type InvalidNextTokenException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" min:"1" type:"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) Code

Code returns the exception type name.

func (*InvalidNextTokenException) Error

func (s *InvalidNextTokenException) Error() string

func (InvalidNextTokenException) GoString

func (s InvalidNextTokenException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InvalidNextTokenException) Message

func (s *InvalidNextTokenException) Message() string

Message returns the exception's message.

func (*InvalidNextTokenException) OrigErr

func (s *InvalidNextTokenException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidNextTokenException) RequestID

func (s *InvalidNextTokenException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidNextTokenException) StatusCode

func (s *InvalidNextTokenException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidNextTokenException) String

func (s InvalidNextTokenException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type LimitExceededException

type LimitExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" min:"1" type:"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) Code

func (s *LimitExceededException) Code() string

Code returns the exception type name.

func (*LimitExceededException) Error

func (s *LimitExceededException) Error() string

func (LimitExceededException) GoString

func (s LimitExceededException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*LimitExceededException) Message

func (s *LimitExceededException) Message() string

Message returns the exception's message.

func (*LimitExceededException) OrigErr

func (s *LimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*LimitExceededException) RequestID

func (s *LimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*LimitExceededException) StatusCode

func (s *LimitExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (LimitExceededException) String

func (s LimitExceededException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListEventTypesFilter

type ListEventTypesFilter struct {

	// The system-generated name of the filter type you want to filter by.
	//
	// Name is a required field
	Name *string `type:"string" required:"true" enum:"ListEventTypesFilterName"`

	// The name of the resource type (for example, pipeline) or service name (for
	// example, CodePipeline) that you want to filter by.
	//
	// Value is a required field
	Value *string `type:"string" required:"true"`
	// 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.

func (ListEventTypesFilter) GoString

func (s ListEventTypesFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListEventTypesFilter) SetName

SetName sets the Name field's value.

func (*ListEventTypesFilter) SetValue

SetValue sets the Value field's value.

func (ListEventTypesFilter) String

func (s ListEventTypesFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListEventTypesFilter) Validate

func (s *ListEventTypesFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListEventTypesInput

type ListEventTypesInput struct {

	// The filters to use to return information by service or resource type.
	Filters []*ListEventTypesFilter `type:"list"`

	// A non-negative integer used to limit the number of returned results. The
	// default number is 50. The maximum number of results that can be returned
	// is 100.
	MaxResults *int64 `min:"1" type:"integer"`

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListEventTypesInput) GoString

func (s ListEventTypesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListEventTypesInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListEventTypesInput) SetMaxResults

func (s *ListEventTypesInput) SetMaxResults(v int64) *ListEventTypesInput

SetMaxResults sets the MaxResults field's value.

func (*ListEventTypesInput) SetNextToken

func (s *ListEventTypesInput) SetNextToken(v string) *ListEventTypesInput

SetNextToken sets the NextToken field's value.

func (ListEventTypesInput) String

func (s ListEventTypesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListEventTypesInput) Validate

func (s *ListEventTypesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListEventTypesOutput

type ListEventTypesOutput struct {

	// Information about each event, including service name, resource type, event
	// ID, and event name.
	EventTypes []*EventTypeSummary `type:"list"`

	// An enumeration token that can be used in a request to return the next batch
	// of the results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListEventTypesOutput) GoString

func (s ListEventTypesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListEventTypesOutput) SetEventTypes

SetEventTypes sets the EventTypes field's value.

func (*ListEventTypesOutput) SetNextToken

func (s *ListEventTypesOutput) SetNextToken(v string) *ListEventTypesOutput

SetNextToken sets the NextToken field's value.

func (ListEventTypesOutput) String

func (s ListEventTypesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListNotificationRulesFilter

type ListNotificationRulesFilter struct {

	// The name of the attribute you want to use to filter the returned notification
	// rules.
	//
	// Name is a required field
	Name *string `type:"string" required:"true" enum:"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.
	//
	// Value is a required field
	Value *string `type:"string" required:"true"`
	// 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.

func (ListNotificationRulesFilter) GoString

func (s ListNotificationRulesFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListNotificationRulesFilter) SetName

SetName sets the Name field's value.

func (*ListNotificationRulesFilter) SetValue

SetValue sets the Value field's value.

func (ListNotificationRulesFilter) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListNotificationRulesFilter) Validate

func (s *ListNotificationRulesFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListNotificationRulesInput

type ListNotificationRulesInput struct {

	// The filters to use to return information by service or resource type. For
	// valid values, see ListNotificationRulesFilter.
	//
	// A filter with the same name can appear more than once when used with OR statements.
	// Filters with different names should be applied with AND statements.
	Filters []*ListNotificationRulesFilter `type:"list"`

	// A non-negative integer used to limit the number of returned results. The
	// maximum number of results that can be returned is 100.
	MaxResults *int64 `min:"1" type:"integer"`

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListNotificationRulesInput) GoString

func (s ListNotificationRulesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListNotificationRulesInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListNotificationRulesInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListNotificationRulesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListNotificationRulesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListNotificationRulesInput) Validate

func (s *ListNotificationRulesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListNotificationRulesOutput

type ListNotificationRulesOutput struct {

	// An enumeration token that can be used in a request to return the next batch
	// of the results.
	NextToken *string `type:"string"`

	// The list of notification rules for the Amazon Web Services account, by Amazon
	// Resource Name (ARN) and ID.
	NotificationRules []*NotificationRuleSummary `type:"list"`
	// contains filtered or unexported fields
}

func (ListNotificationRulesOutput) GoString

func (s ListNotificationRulesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListNotificationRulesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListNotificationRulesOutput) SetNotificationRules

SetNotificationRules sets the NotificationRules field's value.

func (ListNotificationRulesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) for the notification rule.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) SetArn

SetArn sets the Arn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// The tags associated with the notification rule.
	Tags map[string]*string `type:"map"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListTargetsFilter

type ListTargetsFilter struct {

	// The name of the attribute you want to use to filter the returned targets.
	//
	// Name is a required field
	Name *string `type:"string" required:"true" enum:"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.
	//
	// Value is a required field
	Value *string `type:"string" required:"true"`
	// 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.

func (ListTargetsFilter) GoString

func (s ListTargetsFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTargetsFilter) SetName

SetName sets the Name field's value.

func (*ListTargetsFilter) SetValue

func (s *ListTargetsFilter) SetValue(v string) *ListTargetsFilter

SetValue sets the Value field's value.

func (ListTargetsFilter) String

func (s ListTargetsFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTargetsFilter) Validate

func (s *ListTargetsFilter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTargetsInput

type ListTargetsInput struct {

	// The filters to use to return information by service or resource type. Valid
	// filters include target type, target address, and target status.
	//
	// A filter with the same name can appear more than once when used with OR statements.
	// Filters with different names should be applied with AND statements.
	Filters []*ListTargetsFilter `type:"list"`

	// A non-negative integer used to limit the number of returned results. The
	// maximum number of results that can be returned is 100.
	MaxResults *int64 `min:"1" type:"integer"`

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListTargetsInput) GoString

func (s ListTargetsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTargetsInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListTargetsInput) SetMaxResults

func (s *ListTargetsInput) SetMaxResults(v int64) *ListTargetsInput

SetMaxResults sets the MaxResults field's value.

func (*ListTargetsInput) SetNextToken

func (s *ListTargetsInput) SetNextToken(v string) *ListTargetsInput

SetNextToken sets the NextToken field's value.

func (ListTargetsInput) String

func (s ListTargetsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTargetsInput) Validate

func (s *ListTargetsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTargetsOutput

type ListTargetsOutput struct {

	// An enumeration token that can be used in a request to return the next batch
	// of results.
	NextToken *string `type:"string"`

	// The list of notification rule targets.
	Targets []*TargetSummary `type:"list"`
	// contains filtered or unexported fields
}

func (ListTargetsOutput) GoString

func (s ListTargetsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTargetsOutput) SetNextToken

func (s *ListTargetsOutput) SetNextToken(v string) *ListTargetsOutput

SetNextToken sets the NextToken field's value.

func (*ListTargetsOutput) SetTargets

func (s *ListTargetsOutput) SetTargets(v []*TargetSummary) *ListTargetsOutput

SetTargets sets the Targets field's value.

func (ListTargetsOutput) String

func (s ListTargetsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type NotificationRuleSummary

type NotificationRuleSummary struct {

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

	// The unique ID of the notification rule.
	Id *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Information about a specified notification rule.

func (NotificationRuleSummary) GoString

func (s NotificationRuleSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*NotificationRuleSummary) SetArn

SetArn sets the Arn field's value.

func (*NotificationRuleSummary) SetId

SetId sets the Id field's value.

func (NotificationRuleSummary) String

func (s NotificationRuleSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceAlreadyExistsException

type ResourceAlreadyExistsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" min:"1" type:"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) Code

Code returns the exception type name.

func (*ResourceAlreadyExistsException) Error

func (ResourceAlreadyExistsException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceAlreadyExistsException) Message

Message returns the exception's message.

func (*ResourceAlreadyExistsException) OrigErr

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceAlreadyExistsException) RequestID

func (s *ResourceAlreadyExistsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceAlreadyExistsException) StatusCode

func (s *ResourceAlreadyExistsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceAlreadyExistsException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceNotFoundException

type ResourceNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" min:"1" type:"string"`
	// contains filtered or unexported fields
}

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

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SubscribeInput

type SubscribeInput struct {

	// The Amazon Resource Name (ARN) of the notification rule for which you want
	// to create the association.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`

	// An enumeration token that, when provided in a request, returns the next batch
	// of the results.
	ClientRequestToken *string `min:"1" type:"string"`

	// Information about the Chatbot topics or Chatbot clients associated with a
	// notification rule.
	//
	// Target is a required field
	Target *Target `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (SubscribeInput) GoString

func (s SubscribeInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SubscribeInput) SetArn

func (s *SubscribeInput) SetArn(v string) *SubscribeInput

SetArn sets the Arn field's value.

func (*SubscribeInput) SetClientRequestToken

func (s *SubscribeInput) SetClientRequestToken(v string) *SubscribeInput

SetClientRequestToken sets the ClientRequestToken field's value.

func (*SubscribeInput) SetTarget

func (s *SubscribeInput) SetTarget(v *Target) *SubscribeInput

SetTarget sets the Target field's value.

func (SubscribeInput) String

func (s SubscribeInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SubscribeInput) Validate

func (s *SubscribeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SubscribeOutput

type SubscribeOutput struct {

	// The Amazon Resource Name (ARN) of the notification rule for which you have
	// created assocations.
	Arn *string `type:"string"`
	// contains filtered or unexported fields
}

func (SubscribeOutput) GoString

func (s SubscribeOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SubscribeOutput) SetArn

func (s *SubscribeOutput) SetArn(v string) *SubscribeOutput

SetArn sets the Arn field's value.

func (SubscribeOutput) String

func (s SubscribeOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TagResourceInput

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) of the notification rule to tag.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`

	// The list of tags to associate with the resource. Tag key names cannot start
	// with "aws".
	//
	// Tags is a required field
	Tags map[string]*string `type:"map" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) SetArn

SetArn sets the Arn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput

type TagResourceOutput struct {

	// The list of tags associated with the resource.
	Tags map[string]*string `type:"map"`
	// contains filtered or unexported fields
}

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceOutput) SetTags

func (s *TagResourceOutput) SetTags(v map[string]*string) *TagResourceOutput

SetTags sets the Tags field's value.

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Target

type Target struct {

	// The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.
	//
	// TargetAddress is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by Target's
	// String and GoString methods.
	TargetAddress *string `min:"1" type:"string" sensitive:"true"`

	// 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 `type:"string"`
	// contains filtered or unexported fields
}

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

func (Target) GoString

func (s Target) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Target) SetTargetAddress

func (s *Target) SetTargetAddress(v string) *Target

SetTargetAddress sets the TargetAddress field's value.

func (*Target) SetTargetType

func (s *Target) SetTargetType(v string) *Target

SetTargetType sets the TargetType field's value.

func (Target) String

func (s Target) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Target) Validate

func (s *Target) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TargetSummary

type TargetSummary struct {

	// The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.
	//
	// TargetAddress is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by TargetSummary's
	// String and GoString methods.
	TargetAddress *string `min:"1" type:"string" sensitive:"true"`

	// The status of the target.
	TargetStatus *string `type:"string" enum:"TargetStatus"`

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

Information about the targets specified for a notification rule.

func (TargetSummary) GoString

func (s TargetSummary) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TargetSummary) SetTargetAddress

func (s *TargetSummary) SetTargetAddress(v string) *TargetSummary

SetTargetAddress sets the TargetAddress field's value.

func (*TargetSummary) SetTargetStatus

func (s *TargetSummary) SetTargetStatus(v string) *TargetSummary

SetTargetStatus sets the TargetStatus field's value.

func (*TargetSummary) SetTargetType

func (s *TargetSummary) SetTargetType(v string) *TargetSummary

SetTargetType sets the TargetType field's value.

func (TargetSummary) String

func (s TargetSummary) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UnsubscribeInput

type UnsubscribeInput struct {

	// The Amazon Resource Name (ARN) of the notification rule.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`

	// The ARN of the Chatbot topic to unsubscribe from the notification rule.
	//
	// TargetAddress is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UnsubscribeInput's
	// String and GoString methods.
	//
	// TargetAddress is a required field
	TargetAddress *string `min:"1" type:"string" required:"true" sensitive:"true"`
	// contains filtered or unexported fields
}

func (UnsubscribeInput) GoString

func (s UnsubscribeInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UnsubscribeInput) SetArn

SetArn sets the Arn field's value.

func (*UnsubscribeInput) SetTargetAddress

func (s *UnsubscribeInput) SetTargetAddress(v string) *UnsubscribeInput

SetTargetAddress sets the TargetAddress field's value.

func (UnsubscribeInput) String

func (s UnsubscribeInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UnsubscribeInput) Validate

func (s *UnsubscribeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UnsubscribeOutput

type UnsubscribeOutput struct {

	// The Amazon Resource Name (ARN) of the the notification rule from which you
	// have removed a subscription.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UnsubscribeOutput) GoString

func (s UnsubscribeOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UnsubscribeOutput) SetArn

SetArn sets the Arn field's value.

func (UnsubscribeOutput) String

func (s UnsubscribeOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UntagResourceInput

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) of the notification rule from which to remove
	// the tags.
	//
	// Arn is a required field
	Arn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`

	// The key names of the tags to remove.
	//
	// TagKeys is a required field
	TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) SetArn

SetArn sets the Arn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateNotificationRuleInput

type UpdateNotificationRuleInput struct {

	// The Amazon Resource Name (ARN) of the notification rule.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`

	// The level of detail to include in the notifications for this resource. BASIC
	// will include only the contents of the event as it would appear in Amazon
	// CloudWatch. FULL will include any supplemental information provided by AWS
	// CodeStar Notifications and/or the service for the resource for which the
	// notification is created.
	DetailType *string `type:"string" enum:"DetailType"`

	// A list of event types associated with this notification rule. 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.
	EventTypeIds []*string `type:"list"`

	// The name of the notification rule.
	//
	// Name is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateNotificationRuleInput's
	// String and GoString methods.
	Name *string `min:"1" type:"string" sensitive:"true"`

	// The status of the notification rule. Valid statuses include enabled (sending
	// notifications) or disabled (not sending notifications).
	Status *string `type:"string" enum:"NotificationRuleStatus"`

	// The address and type of the targets to receive notifications from this notification
	// rule.
	Targets []*Target `type:"list"`
	// contains filtered or unexported fields
}

func (UpdateNotificationRuleInput) GoString

func (s UpdateNotificationRuleInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateNotificationRuleInput) SetArn

SetArn sets the Arn field's value.

func (*UpdateNotificationRuleInput) SetDetailType

SetDetailType sets the DetailType field's value.

func (*UpdateNotificationRuleInput) SetEventTypeIds

SetEventTypeIds sets the EventTypeIds field's value.

func (*UpdateNotificationRuleInput) SetName

SetName sets the Name field's value.

func (*UpdateNotificationRuleInput) SetStatus

SetStatus sets the Status field's value.

func (*UpdateNotificationRuleInput) SetTargets

SetTargets sets the Targets field's value.

func (UpdateNotificationRuleInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateNotificationRuleInput) Validate

func (s *UpdateNotificationRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateNotificationRuleOutput

type UpdateNotificationRuleOutput struct {
	// contains filtered or unexported fields
}

func (UpdateNotificationRuleOutput) GoString

func (s UpdateNotificationRuleOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UpdateNotificationRuleOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidationException

type ValidationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" min:"1" type:"string"`
	// contains filtered or unexported fields
}

One or more parameter values are not valid.

func (*ValidationException) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

Directories

Path Synopsis
Package codestarnotificationsiface provides an interface to enable mocking the AWS CodeStar Notifications service client for testing your code.
Package codestarnotificationsiface provides an interface to enable mocking the AWS CodeStar Notifications service client for testing your code.

Jump to

Keyboard shortcuts

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