File: types.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.24.1-2~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 554,032 kB
  • sloc: java: 15,941; makefile: 419; sh: 175
file content (133 lines) | stat: -rw-r--r-- 3,919 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

import (
	smithydocument "github.com/aws/smithy-go/document"
)

// Returns information about an event that has triggered a notification rule.
type EventTypeSummary struct {

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

	// The name of the event.
	EventTypeName *string

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

	// The name of the service for which the event applies.
	ServiceName *string

	noSmithyDocumentSerde
}

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

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

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

	noSmithyDocumentSerde
}

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

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

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

	noSmithyDocumentSerde
}

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

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

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

	noSmithyDocumentSerde
}

// Information about a specified notification rule.
type NotificationRuleSummary struct {

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

	// The unique ID of the notification rule.
	Id *string

	noSmithyDocumentSerde
}

// Information about the Chatbot topics or Chatbot clients associated with a
// notification rule.
type Target struct {

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

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

	noSmithyDocumentSerde
}

// Information about the targets specified for a notification rule.
type TargetSummary struct {

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

	// The status of the target.
	TargetStatus TargetStatus

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

	noSmithyDocumentSerde
}

type noSmithyDocumentSerde = smithydocument.NoSerde