/
doc.go
327 lines (326 loc) · 12 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
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
// 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.
//
// Do not store personally identifiable information (PII) or other confidential
// or sensitive information in tags. We use tags to provide you with billing
// and administration services. Tags are not intended to be used for private
// or sensitive data.
//
// 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.
//
// Services that support the Resource Groups Tagging API
//
// You can use the Resource Groups Tagging API to tag resources for the following
// AWS services.
//
// * Alexa for Business (a4b) (https://docs.aws.amazon.com/a4b)
//
// * API Gateway (https://docs.aws.amazon.com/apigateway)
//
// * Amazon AppStream (https://docs.aws.amazon.com/appstream2)
//
// * AWS AppSync (https://docs.aws.amazon.com/appsync)
//
// * AWS App Mesh (https://docs.aws.amazon.com/app-mesh)
//
// * Amazon Athena (https://docs.aws.amazon.com/athena)
//
// * Amazon Aurora (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide)
//
// * AWS Backup (https://docs.aws.amazon.com/aws-backup)
//
// * AWS Certificate Manager (https://docs.aws.amazon.com/acm)
//
// * AWS Certificate Manager Private CA (https://docs.aws.amazon.com/acm)
//
// * Amazon Cloud Directory (https://docs.aws.amazon.com/clouddirectory)
//
// * AWS Cloud Map (https://docs.aws.amazon.com/cloud-map)
//
// * AWS CloudFormation (https://docs.aws.amazon.com/cloudformation)
//
// * Amazon CloudFront (https://docs.aws.amazon.com/cloudfront)
//
// * AWS CloudHSM (https://docs.aws.amazon.com/cloudhsm)
//
// * AWS CloudTrail (https://docs.aws.amazon.com/cloudtrail)
//
// * Amazon CloudWatch (alarms only) (https://docs.aws.amazon.com/cloudwatch)
//
// * Amazon CloudWatch Events (https://docs.aws.amazon.com/cloudwatch/?id=docs_gateway#amazon-cloudwatch-events)
//
// * Amazon CloudWatch Logs (https://docs.aws.amazon.com/cloudwatch/?id=docs_gateway#amazon-cloudwatch-logs)
//
// * Amazon Cloudwatch Synthetics (https://docs.aws.amazon.com/cloudwatch)
//
// * AWS CodeBuild (https://docs.aws.amazon.com/codebuild)
//
// * AWS CodeCommit (https://docs.aws.amazon.com/codecommit)
//
// * AWS CodeGuru Profiler (https://docs.aws.amazon.com/codeguru/latest/profiler-ug/)
//
// * AWS CodePipeline (https://docs.aws.amazon.com/codepipeline)
//
// * AWS CodeStar (https://docs.aws.amazon.com/codestar)
//
// * AWS CodeStar Connections (https://docs.aws.amazon.com/codestar-connections/latest/APIReference/)
//
// * Amazon Cognito Identity (https://docs.aws.amazon.com/cognito)
//
// * Amazon Cognito User Pools (https://docs.aws.amazon.com/cognito)
//
// * Amazon Comprehend (https://docs.aws.amazon.com/comprehend)
//
// * AWS Config (https://docs.aws.amazon.com/config)
//
// * Amazon Connect (http://aws.amazon.com/connect/resources/?whats-new-cards#Documentation)
//
// * AWS Data Exchange (https://docs.aws.amazon.com/data-exchange)
//
// * AWS Data Pipeline (https://docs.aws.amazon.com/data-pipeline)
//
// * AWS Database Migration Service (https://docs.aws.amazon.com/dms)
//
// * AWS DataSync (https://docs.aws.amazon.com/datasync)
//
// * AWS Device Farm (https://docs.aws.amazon.com/devicefarm)
//
// * AWS Direct Connect (https://docs.aws.amazon.com/directconnect)
//
// * AWS Directory Service (https://docs.aws.amazon.com/directory-service)
//
// * Amazon DynamoDB (https://docs.aws.amazon.com/dynamodb)
//
// * Amazon EBS (https://docs.aws.amazon.com/ebs)
//
// * Amazon EC2 (https://docs.aws.amazon.com/ec2)
//
// * EC2 Image Builder (https://docs.aws.amazon.com/imagebuilder)
//
// * Amazon ECR (https://docs.aws.amazon.com/ecr)
//
// * Amazon ECS (https://docs.aws.amazon.com/ecs)
//
// * Amazon EKS (https://docs.aws.amazon.com/eks)
//
// * AWS Elastic Beanstalk (https://docs.aws.amazon.com/elastic-beanstalk)
//
// * Amazon Elastic File System (https://docs.aws.amazon.com/efs)
//
// * Elastic Load Balancing (https://docs.aws.amazon.com/elasticloadbalancing)
//
// * Amazon Elastic Inference (https://docs.aws.amazon.com/elastic-inference)
//
// * Amazon ElastiCache (https://docs.aws.amazon.com/elasticache)
//
// * Amazon Elasticsearch Service (https://docs.aws.amazon.com/elasticsearch-service)
//
// * AWS Elemental MediaLive (https://docs.aws.amazon.com/medialive)
//
// * AWS Elemental MediaPackage (https://docs.aws.amazon.com/mediapackage)
//
// * AWS Elemental MediaPackage VoD (https://docs.aws.amazon.com/mediapackage)
//
// * AWS Elemental MediaTailor (https://docs.aws.amazon.com/mediatailor)
//
// * Amazon EMR (https://docs.aws.amazon.com/emr)
//
// * Amazon EventBridge Schema (https://docs.aws.amazon.com/eventbridge)
//
// * AWS Firewall Manager (https://docs.aws.amazon.com/firewall-manager)
//
// * Amazon Forecast (https://docs.aws.amazon.com/forecast)
//
// * Amazon Fraud Detector (https://docs.aws.amazon.com/frauddetector)
//
// * Amazon FSx (https://docs.aws.amazon.com/fsx)
//
// * Amazon S3 Glacier (https://docs.aws.amazon.com/s3/?id=docs_gateway#amazon-s3-glacier)
//
// * AWS Global Accelerator (https://docs.aws.amazon.com/global-accelerator)
//
// * AWS Ground Station (https://docs.aws.amazon.com/ground-station)
//
// * AWS Glue (https://docs.aws.amazon.com/glue)
//
// * Amazon GuardDuty (https://docs.aws.amazon.com/guardduty)
//
// * Amazon Inspector (https://docs.aws.amazon.com/inspector)
//
// * Amazon Interactive Video Service (https://docs.aws.amazon.com/ivs)
//
// * AWS IoT Analytics (https://docs.aws.amazon.com/iotanalytics)
//
// * AWS IoT Core (https://docs.aws.amazon.com/iot)
//
// * AWS IoT Device Defender (https://docs.aws.amazon.com/iot-device-defender)
//
// * AWS IoT Device Management (https://docs.aws.amazon.com/iot-device-management)
//
// * AWS IoT Events (https://docs.aws.amazon.com/iotevents)
//
// * AWS IoT Greengrass (https://docs.aws.amazon.com/greengrass)
//
// * AWS IoT 1-Click (https://docs.aws.amazon.com/iot-1-click)
//
// * AWS IoT Sitewise (https://docs.aws.amazon.com/iot-sitewise)
//
// * AWS IoT Things Graph (https://docs.aws.amazon.com/thingsgraph)
//
// * Amazon Kendra (https://docs.aws.amazon.com/kendra)
//
// * AWS Key Management Service (https://docs.aws.amazon.com/kms)
//
// * Amazon Kinesis (https://docs.aws.amazon.com/kinesis)
//
// * Amazon Kinesis Data Analytics (https://docs.aws.amazon.com/kinesis/?id=docs_gateway#amazon-kinesis-data-analytics)
//
// * Amazon Kinesis Data Firehose (https://docs.aws.amazon.com/kinesis/?id=docs_gateway#amazon-kinesis-data-firehose)
//
// * AWS Lambda (https://docs.aws.amazon.com/lambda)
//
// * Amazon Lex (https://docs.aws.amazon.com/lex)
//
// * AWS License Manager (https://docs.aws.amazon.com/license-manager)
//
// * Amazon Lightsail (https://docs.aws.amazon.com/lightsail)
//
// * Amazon Macie (https://docs.aws.amazon.com/macie)
//
// * Amazon Machine Learning (https://docs.aws.amazon.com/machine-learning)
//
// * Amazon MQ (https://docs.aws.amazon.com/amazon-mq)
//
// * Amazon MSK (https://docs.aws.amazon.com/msk)
//
// * Amazon MSK (https://docs.aws.amazon.com/msk)
//
// * Amazon Neptune (https://docs.aws.amazon.com/neptune)
//
// * AWS Network Manager (https://docs.aws.amazon.com/vpc/latest/tgw/what-is-network-manager.html)
//
// * AWS OpsWorks (https://docs.aws.amazon.com/opsworks)
//
// * AWS OpsWorks CM (https://docs.aws.amazon.com/opsworks)
//
// * AWS Organizations (https://docs.aws.amazon.com/organizations)
//
// * Amazon Pinpoint (https://docs.aws.amazon.com/pinpoint)
//
// * Amazon Quantum Ledger Database (QLDB) (https://docs.aws.amazon.com/qldb)
//
// * Amazon RDS (https://docs.aws.amazon.com/rds)
//
// * Amazon Redshift (https://docs.aws.amazon.com/redshift)
//
// * AWS Resource Access Manager (https://docs.aws.amazon.com/ram)
//
// * AWS Resource Groups (https://docs.aws.amazon.com/ARG)
//
// * AWS RoboMaker (https://docs.aws.amazon.com/robomaker)
//
// * Amazon Route 53 (https://docs.aws.amazon.com/route53)
//
// * Amazon Route 53 Resolver (https://docs.aws.amazon.com/route53)
//
// * Amazon S3 (buckets only) (https://docs.aws.amazon.com/s3)
//
// * Amazon SageMaker (https://docs.aws.amazon.com/sagemaker)
//
// * Savings Plans (https://docs.aws.amazon.com/savingsplans)
//
// * AWS Secrets Manager (https://docs.aws.amazon.com/secretsmanager)
//
// * AWS Security Hub (https://docs.aws.amazon.com/securityhub)
//
// * AWS Service Catalog (https://docs.aws.amazon.com/servicecatalog)
//
// * Amazon Simple Email Service (SES) (https://docs.aws.amazon.com/ses)
//
// * Amazon Simple Notification Service (SNS) (https://docs.aws.amazon.com/sns)
//
// * Amazon Simple Queue Service (SQS) (https://docs.aws.amazon.com/sqs)
//
// * Amazon Simple Workflow Service (https://docs.aws.amazon.com/swf)
//
// * AWS Step Functions (https://docs.aws.amazon.com/step-functions)
//
// * AWS Storage Gateway (https://docs.aws.amazon.com/storagegateway)
//
// * AWS Systems Manager (https://docs.aws.amazon.com/systems-manager)
//
// * AWS Transfer for SFTP (https://docs.aws.amazon.com/transfer)
//
// * Amazon VPC (https://docs.aws.amazon.com/vpc)
//
// * AWS WAF (https://docs.aws.amazon.com/waf)
//
// * AWS WAF Regional (https://docs.aws.amazon.com/waf)
//
// * Amazon WorkLink (https://docs.aws.amazon.com/worklink)
//
// * Amazon WorkSpaces (https://docs.aws.amazon.com/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