1// Code generated by smithy-go-codegen DO NOT EDIT.
2
3package types
4
5// Returns information about an event that has triggered a notification rule.
6type EventTypeSummary struct {
7
8	// The system-generated ID of the event.
9	EventTypeId *string
10
11	// The name of the event.
12	EventTypeName *string
13
14	// The resource type of the event.
15	ResourceType *string
16
17	// The name of the service for which the event applies.
18	ServiceName *string
19}
20
21// Information about a filter to apply to the list of returned event types. You can
22// filter by resource type or service name.
23type ListEventTypesFilter struct {
24
25	// The system-generated name of the filter type you want to filter by.
26	//
27	// This member is required.
28	Name ListEventTypesFilterName
29
30	// The name of the resource type (for example, pipeline) or service name (for
31	// example, CodePipeline) that you want to filter by.
32	//
33	// This member is required.
34	Value *string
35}
36
37// Information about a filter to apply to the list of returned notification rules.
38// You can filter by event type, owner, resource, or target.
39type ListNotificationRulesFilter struct {
40
41	// The name of the attribute you want to use to filter the returned notification
42	// rules.
43	//
44	// This member is required.
45	Name ListNotificationRulesFilterName
46
47	// The value of the attribute you want to use to filter the returned notification
48	// rules. For example, if you specify filtering by RESOURCE in Name, you might
49	// specify the ARN of a pipeline in AWS CodePipeline for the value.
50	//
51	// This member is required.
52	Value *string
53}
54
55// Information about a filter to apply to the list of returned targets. You can
56// filter by target type, address, or status. For example, to filter results to
57// notification rules that have active Amazon SNS topics as targets, you could
58// specify a ListTargetsFilter Name as TargetType and a Value of SNS, and a Name of
59// TARGET_STATUS and a Value of ACTIVE.
60type ListTargetsFilter struct {
61
62	// The name of the attribute you want to use to filter the returned targets.
63	//
64	// This member is required.
65	Name ListTargetsFilterName
66
67	// The value of the attribute you want to use to filter the returned targets. For
68	// example, if you specify SNS for the Target type, you could specify an Amazon
69	// Resource Name (ARN) for a topic as the value.
70	//
71	// This member is required.
72	Value *string
73}
74
75// Information about a specified notification rule.
76type NotificationRuleSummary struct {
77
78	// The Amazon Resource Name (ARN) of the notification rule.
79	Arn *string
80
81	// The unique ID of the notification rule.
82	Id *string
83}
84
85// Information about the SNS topics associated with a notification rule.
86type Target struct {
87
88	// The Amazon Resource Name (ARN) of the SNS topic.
89	TargetAddress *string
90
91	// The target type. Can be an Amazon SNS topic.
92	TargetType *string
93}
94
95// Information about the targets specified for a notification rule.
96type TargetSummary struct {
97
98	// The Amazon Resource Name (ARN) of the SNS topic.
99	TargetAddress *string
100
101	// The status of the target.
102	TargetStatus TargetStatus
103
104	// The type of the target (for example, SNS).
105	TargetType *string
106}
107