File: types.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.30.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 662,428 kB
  • sloc: java: 16,875; makefile: 432; sh: 175
file content (168 lines) | stat: -rw-r--r-- 5,291 bytes parent folder | download | duplicates (3)
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

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

// Use this structure to optionally create filters that specify that only some
// metric namespaces or log groups are to be shared from the source account to the
// monitoring account.
type LinkConfiguration struct {

	// Use this structure to filter which log groups are to send log events from the
	// source account to the monitoring account.
	LogGroupConfiguration *LogGroupConfiguration

	// Use this structure to filter which metric namespaces are to be shared from the
	// source account to the monitoring account.
	MetricConfiguration *MetricConfiguration

	noSmithyDocumentSerde
}

// A structure that contains information about one link attached to this
// monitoring account sink.
type ListAttachedLinksItem struct {

	// The label that was assigned to this link at creation, with the variables
	// resolved to their actual values.
	Label *string

	// The ARN of the link.
	LinkArn *string

	// The resource types supported by this link.
	ResourceTypes []string

	noSmithyDocumentSerde
}

// A structure that contains information about one of this source account's links
// to a monitoring account.
type ListLinksItem struct {

	// The ARN of the link.
	Arn *string

	// The random ID string that Amazon Web Services generated as part of the link ARN.
	Id *string

	// The label that was assigned to this link at creation, with the variables
	// resolved to their actual values.
	Label *string

	// The resource types supported by this link.
	ResourceTypes []string

	// The ARN of the sink that this link is attached to.
	SinkArn *string

	noSmithyDocumentSerde
}

// A structure that contains information about one of this monitoring account's
// sinks.
type ListSinksItem struct {

	// The ARN of the sink.
	Arn *string

	// The random ID string that Amazon Web Services generated as part of the sink ARN.
	Id *string

	// The name of the sink.
	Name *string

	noSmithyDocumentSerde
}

// This structure contains the Filter parameter which you can use to specify which
// log groups are to share log events from this source account to the monitoring
// account.
type LogGroupConfiguration struct {

	// Use this field to specify which log groups are to share their log events with
	// the monitoring account. Use the term LogGroupName and one or more of the
	// following operands. Use single quotation marks (') around log group names. The
	// matching of log group names is case sensitive. Each filter has a limit of five
	// conditional operands. Conditional operands are AND and OR .
	//
	//   - = and !=
	//
	//   - AND
	//
	//   - OR
	//
	//   - LIKE and NOT LIKE . These can be used only as prefix searches. Include a %
	//   at the end of the string that you want to search for and include.
	//
	//   - IN and NOT IN , using parentheses ( )
	//
	// Examples:
	//
	//   - LogGroupName IN ('This-Log-Group', 'Other-Log-Group') includes only the log
	//   groups with names This-Log-Group and Other-Log-Group .
	//
	//   - LogGroupName NOT IN ('Private-Log-Group', 'Private-Log-Group-2') includes
	//   all log groups except the log groups with names Private-Log-Group and
	//   Private-Log-Group-2 .
	//
	//   - LogGroupName LIKE 'aws/lambda/%' OR LogGroupName LIKE 'AWSLogs%' includes
	//   all log groups that have names that start with aws/lambda/ or AWSLogs .
	//
	// If you are updating a link that uses filters, you can specify * as the only
	// value for the filter parameter to delete the filter and share all log groups
	// with the monitoring account.
	//
	// This member is required.
	Filter *string

	noSmithyDocumentSerde
}

// This structure contains the Filter parameter which you can use to specify which
// metric namespaces are to be shared from this source account to the monitoring
// account.
type MetricConfiguration struct {

	// Use this field to specify which metrics are to be shared with the monitoring
	// account. Use the term Namespace and one or more of the following operands. Use
	// single quotation marks (') around namespace names. The matching of namespace
	// names is case sensitive. Each filter has a limit of five conditional operands.
	// Conditional operands are AND and OR .
	//
	//   - = and !=
	//
	//   - AND
	//
	//   - OR
	//
	//   - LIKE and NOT LIKE . These can be used only as prefix searches. Include a %
	//   at the end of the string that you want to search for and include.
	//
	//   - IN and NOT IN , using parentheses ( )
	//
	// Examples:
	//
	//   - Namespace NOT LIKE 'AWS/%' includes only namespaces that don't start with
	//   AWS/ , such as custom namespaces.
	//
	//   - Namespace IN ('AWS/EC2', 'AWS/ELB', 'AWS/S3') includes only the metrics in
	//   the EC2, Elastic Load Balancing, and Amazon S3 namespaces.
	//
	//   - Namespace = 'AWS/EC2' OR Namespace NOT LIKE 'AWS/%' includes only the EC2
	//   namespace and your custom namespaces.
	//
	// If you are updating a link that uses filters, you can specify * as the only
	// value for the filter parameter to delete the filter and share all metric
	// namespaces with the monitoring account.
	//
	// This member is required.
	Filter *string

	noSmithyDocumentSerde
}

type noSmithyDocumentSerde = smithydocument.NoSerde