/
doc.go
260 lines (259 loc) · 5.66 KB
/
doc.go
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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package resourcegroupstaggingapi provides the client and types for making API
// requests to AWS Resource Groups Tagging API.
//
// This guide describes the API operations for the resource groups tagging.
//
// A tag is a label that you assign to an AWS resource. A tag consists of a
// key and a value, both of which you define. For example, if you have two Amazon
// EC2 instances, you might assign both a tag key of "Stack." But the value
// of "Stack" might be "Testing" for one and "Production" for the other.
//
// Tagging can help you organize your resources and enables you to simplify
// resource management, access management and cost allocation.
//
// You can use the resource groups tagging API operations to complete the following
// tasks:
//
// * Tag and untag supported resources located in the specified Region for
// the AWS account.
//
// * Use tag-based filters to search for resources located in the specified
// Region for the AWS account.
//
// * List all existing tag keys in the specified Region for the AWS account.
//
// * List all existing values for the specified key in the specified Region
// for the AWS account.
//
// To use resource groups tagging API operations, you must add the following
// permissions to your IAM policy:
//
// * tag:GetResources
//
// * tag:TagResources
//
// * tag:UntagResources
//
// * tag:GetTagKeys
//
// * tag:GetTagValues
//
// You'll also need permissions to access the resources of individual services
// so that you can tag and untag those resources.
//
// For more information on IAM policies, see Managing IAM Policies (http://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_manage.html)
// in the IAM User Guide.
//
// You can use the Resource Groups Tagging API to tag resources for the following
// AWS services.
//
// * Alexa for Business (a4b)
//
// * API Gateway
//
// * Amazon AppStream
//
// * AWS AppSync
//
// * AWS App Mesh
//
// * Amazon Athena
//
// * Amazon Aurora
//
// * AWS Backup
//
// * AWS Certificate Manager
//
// * AWS Certificate Manager Private CA
//
// * Amazon Cloud Directory
//
// * AWS CloudFormation
//
// * Amazon CloudFront
//
// * AWS CloudHSM
//
// * AWS CloudTrail
//
// * Amazon CloudWatch (alarms only)
//
// * Amazon CloudWatch Events
//
// * Amazon CloudWatch Logs
//
// * AWS CodeBuild
//
// * AWS CodeCommit
//
// * AWS CodePipeline
//
// * AWS CodeStar
//
// * Amazon Cognito Identity
//
// * Amazon Cognito User Pools
//
// * Amazon Comprehend
//
// * AWS Config
//
// * AWS Data Exchange
//
// * AWS Data Pipeline
//
// * AWS Database Migration Service
//
// * AWS DataSync
//
// * AWS Device Farm
//
// * AWS Direct Connect
//
// * AWS Directory Service
//
// * Amazon DynamoDB
//
// * Amazon EBS
//
// * Amazon EC2
//
// * Amazon ECR
//
// * Amazon ECS
//
// * Amazon EKS
//
// * AWS Elastic Beanstalk
//
// * Amazon Elastic File System
//
// * Elastic Load Balancing
//
// * Amazon ElastiCache
//
// * Amazon Elasticsearch Service
//
// * AWS Elemental MediaLive
//
// * AWS Elemental MediaPackage
//
// * AWS Elemental MediaTailor
//
// * Amazon EMR
//
// * Amazon FSx
//
// * Amazon S3 Glacier
//
// * AWS Glue
//
// * Amazon GuardDuty
//
// * Amazon Inspector
//
// * AWS IoT Analytics
//
// * AWS IoT Core
//
// * AWS IoT Device Defender
//
// * AWS IoT Device Management
//
// * AWS IoT Events
//
// * AWS IoT Greengrass
//
// * AWS IoT 1-Click
//
// * AWS Key Management Service
//
// * Amazon Kinesis
//
// * Amazon Kinesis Data Analytics
//
// * Amazon Kinesis Data Firehose
//
// * AWS Lambda
//
// * AWS License Manager
//
// * Amazon Machine Learning
//
// * Amazon MQ
//
// * Amazon MSK
//
// * Amazon Neptune
//
// * AWS OpsWorks
//
// * AWS Organizations
//
// * Amazon Quantum Ledger Database (QLDB)
//
// * Amazon RDS
//
// * Amazon Redshift
//
// * AWS Resource Access Manager
//
// * AWS Resource Groups
//
// * AWS RoboMaker
//
// * Amazon Route 53
//
// * Amazon Route 53 Resolver
//
// * Amazon S3 (buckets only)
//
// * Amazon SageMaker
//
// * AWS Secrets Manager
//
// * AWS Security Hub
//
// * AWS Service Catalog
//
// * Amazon Simple Notification Service (SNS)
//
// * Amazon Simple Queue Service (SQS)
//
// * Amazon Simple Workflow Service
//
// * AWS Step Functions
//
// * AWS Storage Gateway
//
// * AWS Systems Manager
//
// * AWS Transfer for SFTP
//
// * Amazon VPC
//
// * Amazon WorkSpaces
//
// See https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26 for more information on this service.
//
// See resourcegroupstaggingapi package documentation for more information.
// https://docs.aws.amazon.com/sdk-for-go/api/service/resourcegroupstaggingapi/
//
// Using the Client
//
// To contact AWS Resource Groups Tagging API 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 Resource Groups Tagging API client ResourceGroupsTaggingAPI for more
// information on creating client for this service.
// https://docs.aws.amazon.com/sdk-for-go/api/service/resourcegroupstaggingapi/#New
package resourcegroupstaggingapi