Documentation ¶
Index ¶
- Constants
- Variables
- type Client
- type GlueClient
- func (c *GlueClient) GetCrawlersRows(nextToken *string) ([]table.Row, *string, error)
- func (c *GlueClient) GetJobDetails(jobName string) ([]table.Row, error)
- func (c *GlueClient) GetJobRuns(jobName string) ([]table.Row, error)
- func (c *GlueClient) GetJobScript(jobName string) (string, string, error)
- func (c *GlueClient) GetJobsRows(nextToken *string) ([]table.Row, *string, error)
- type IAMClient
- func (c *IAMClient) GetAssumeRolePolicy(roleName string) (string, error)
- func (c *IAMClient) GetInlineRolePolicy(roleName string, policyName string) (string, error)
- func (c *IAMClient) GetInlineUserPolicy(userName string, policyName string) (string, error)
- func (c *IAMClient) GetManagedPolicy(policyArn string) (string, error)
- func (c *IAMClient) GetRolePolicies(roleName string, nextToken *string) ([]table.Row, *string, error)
- func (c *IAMClient) GetRoleTags(roleName string, nextToken *string) ([]table.Row, *string, error)
- func (c *IAMClient) GetRoles(nextToken *string) ([]table.Row, *string, error)
- func (c *IAMClient) GetUserPolicies(userName string, nextToken *string) ([]table.Row, *string, error)
- func (c *IAMClient) GetUserTags(userName string, nextToken *string) ([]table.Row, *string, error)
- func (c *IAMClient) GetUsers(nextToken *string) ([]table.Row, *string, error)
- type LakeFormationClient
- func (c *LakeFormationClient) GetDataLakeLocations(nextToken *string) ([]table.Row, *string, error)
- func (c *LakeFormationClient) GetDatabase(databaseName string) ([][]table.Row, error)
- func (c *LakeFormationClient) GetDatabases(nextToken *string) ([]table.Row, *string, error)
- func (c *LakeFormationClient) GetLFTagPermissions(nextToken *string) ([]table.Row, *string, error)
- func (c *LakeFormationClient) GetLFTags(nextToken *string) ([]table.Row, *string, error)
- func (c *LakeFormationClient) GetTable(tableName string, databaseName string) ([][]table.Row, error)
- func (c *LakeFormationClient) GetTables(nextToken *string) ([]table.Row, *string, error)
- type LambdaClient
- type RDSClient
- func (c *RDSClient) GetDBInstances(nextToken *string) ([]table.Row, *string, error)
- func (c *RDSClient) GetInstanceDetails(instance string) ([]table.Row, error)
- func (c *RDSClient) GetInstanceTags(instance string) ([]table.Row, error)
- func (c *RDSClient) GetMetric(instance string, metricName string) ([]float64, error)
- type S3Client
- func (c *S3Client) GetBucketPolicy(bucket string, region string) (string, error)
- func (c *S3Client) GetBucketTags(bucket string, region string) ([]table.Row, error)
- func (c *S3Client) GetBuckets(nextToken *string) ([]table.Row, *string, error)
- func (c *S3Client) GetObjectProperties(bucket string, key string, region string) ([]table.Row, error)
- func (c *S3Client) GetObjects(bucket string, region string, prefix string, nextToken *string) ([]table.Row, *string, error)
Constants ¶
View Source
const MAX_RESULTS = 32
Variables ¶
View Source
var ISO_8601 = "2006-01-02T15:04:05.000-0700"
YYYY-MM-DDThh:mm:ss.sTZD
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Glue *GlueClient IAM *IAMClient LakeFormation *LakeFormationClient Lambda *LambdaClient RDS *RDSClient S3 *S3Client // contains filtered or unexported fields }
func (*Client) GetCurrentAWSAccountId ¶
type GlueClient ¶
type GlueClient struct {
// contains filtered or unexported fields
}
func NewGlueClient ¶
func (*GlueClient) GetCrawlersRows ¶
func (*GlueClient) GetJobDetails ¶
func (c *GlueClient) GetJobDetails(jobName string) ([]table.Row, error)
func (*GlueClient) GetJobRuns ¶
func (c *GlueClient) GetJobRuns(jobName string) ([]table.Row, error)
func (*GlueClient) GetJobScript ¶
func (c *GlueClient) GetJobScript(jobName string) (string, string, error)
func (*GlueClient) GetJobsRows ¶
type IAMClient ¶
type IAMClient struct {
// contains filtered or unexported fields
}
func (*IAMClient) GetAssumeRolePolicy ¶
func (*IAMClient) GetInlineRolePolicy ¶
func (*IAMClient) GetInlineUserPolicy ¶
func (*IAMClient) GetManagedPolicy ¶
func (*IAMClient) GetRolePolicies ¶
func (*IAMClient) GetRoleTags ¶
func (*IAMClient) GetUserPolicies ¶
func (*IAMClient) GetUserTags ¶
type LakeFormationClient ¶
type LakeFormationClient struct {
// contains filtered or unexported fields
}
func NewLakeFormationClient ¶
func NewLakeFormationClient(ctx context.Context, lf *lakeformation.Client, glue *glue.Client) *LakeFormationClient
func (*LakeFormationClient) GetDataLakeLocations ¶
func (*LakeFormationClient) GetDatabase ¶
func (c *LakeFormationClient) GetDatabase(databaseName string) ([][]table.Row, error)
func (*LakeFormationClient) GetDatabases ¶
func (*LakeFormationClient) GetLFTagPermissions ¶
type LambdaClient ¶
type LambdaClient struct {
// contains filtered or unexported fields
}
func NewLambdaClient ¶
func NewLambdaClient(ctx context.Context, lambda *lambda.Client, cloudwatch *cloudwatch.Client) *LambdaClient
func (*LambdaClient) GetFunctionDetails ¶
func (c *LambdaClient) GetFunctionDetails(functionName string) ([]table.Row, error)
func (*LambdaClient) GetFunctions ¶
type RDSClient ¶
type RDSClient struct {
// contains filtered or unexported fields
}
func NewRDSClient ¶
func (*RDSClient) GetDBInstances ¶
func (*RDSClient) GetInstanceDetails ¶
func (*RDSClient) GetInstanceTags ¶
type S3Client ¶
type S3Client struct {
// contains filtered or unexported fields
}
func (*S3Client) GetBucketPolicy ¶
func (*S3Client) GetBucketTags ¶
func (*S3Client) GetBuckets ¶
func (*S3Client) GetObjectProperties ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.