-
Notifications
You must be signed in to change notification settings - Fork 0
/
broker_configuration_revisions.go
60 lines (57 loc) · 1.59 KB
/
broker_configuration_revisions.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
// Code generated by codegen; DO NOT EDIT.
package mq
import (
"github.com/OpsHelmInc/cloudquery/client"
"github.com/cloudquery/plugin-sdk/schema"
)
func BrokerConfigurationRevisions() *schema.Table {
return &schema.Table{
Name: "aws_mq_broker_configuration_revisions",
Description: `https://docs.aws.amazon.com/amazon-mq/latest/api-reference/configurations-configuration-id-revisions.html`,
Resolver: fetchMqBrokerConfigurationRevisions,
PreResourceResolver: getMqBrokerConfigurationRevision,
Multiplex: client.ServiceAccountRegionMultiplexer("mq"),
Columns: []schema.Column{
{
Name: "account_id",
Type: schema.TypeString,
Resolver: client.ResolveAWSAccount,
},
{
Name: "region",
Type: schema.TypeString,
Resolver: client.ResolveAWSRegion,
},
{
Name: "broker_configuration_arn",
Type: schema.TypeString,
Resolver: schema.ParentColumnResolver("arn"),
},
{
Name: "data",
Type: schema.TypeJSON,
Resolver: resolveBrokerConfigurationRevisionsData,
},
{
Name: "configuration_id",
Type: schema.TypeString,
Resolver: schema.PathResolver("ConfigurationId"),
},
{
Name: "created",
Type: schema.TypeTimestamp,
Resolver: schema.PathResolver("Created"),
},
{
Name: "description",
Type: schema.TypeString,
Resolver: schema.PathResolver("Description"),
},
{
Name: "result_metadata",
Type: schema.TypeJSON,
Resolver: schema.PathResolver("ResultMetadata"),
},
},
}
}