iam

package
v0.0.0-...-62343dc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_fetching_file.tmpl

AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_resource_file.tmpl

AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_helpers_file.tmpl

AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_resource_file.tmpl

AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_referenced_resource_file.tmpl

AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_fetching_file.tmpl

AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_resource_file.tmpl

AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_fetching_file.tmpl

AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_resource_file.tmpl

AUTOGENERATED CODE DO NOT EDIT

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertTags

func ConvertTags(tags []types.Tag) map[string]string

func PostProcessGroup

func PostProcessGroup(ctx context.Context, params *localAws.AwsFetchInput, model *Group) error

func PostProcessRole

func PostProcessRole(ctx context.Context, params *localAws.AwsFetchInput, model *Role) error

func PostProcessUser

func PostProcessUser(ctx context.Context, params *localAws.AwsFetchInput, model *User) error

Types

type AccessKeyMetadata

type AccessKeyMetadata struct {
	AccessKeyId string `` /* 203-byte string literal not displayed */
	CreateDate  int64  `` /* 198-byte string literal not displayed */
	Status      string `` /* 161-byte string literal not displayed */
}

type AttachedPermissionsBoundary

type AttachedPermissionsBoundary struct {
	PermissionsBoundaryArn  string `` /* 269-byte string literal not displayed */
	PermissionsBoundaryType string `` /* 275-byte string literal not displayed */
}

type AttachedPolicy

type AttachedPolicy struct {
	PolicyArn  string `` /* 185-byte string literal not displayed */
	PolicyName string `` /* 191-byte string literal not displayed */
}

type Group

type Group struct {
	Arn              string            `` /* 143-byte string literal not displayed */
	CreateDate       int64             `` /* 198-byte string literal not displayed */
	GroupId          string            `` /* 213-byte string literal not displayed */
	GroupName        string            `` /* 185-byte string literal not displayed */
	Path             string            `` /* 149-byte string literal not displayed */
	AccountId        string            `` /* 185-byte string literal not displayed */
	Region           string            `` /* 161-byte string literal not displayed */
	ReportTime       int64             `` /* 208-byte string literal not displayed */
	InventoryUUID    string            `` /* 152-byte string literal not displayed */
	InlinePolicies   []string          `` /* 253-byte string literal not displayed */
	UserIds          []string          `` /* 211-byte string literal not displayed */
	AttachedPolicies []*AttachedPolicy `` /* 220-byte string literal not displayed */
}

func FetchGroups

func FetchGroups(ctx context.Context, params *aws.AwsFetchInput) ([]*Group, *aws.AwsFetchOutputMetadata)

type LoginProfile

type LoginProfile struct {
	CreateDate            int64 `` /* 198-byte string literal not displayed */
	PasswordResetRequired bool  `` /* 231-byte string literal not displayed */
}

type Policy

type Policy struct {
	Arn                           string            `` /* 143-byte string literal not displayed */
	AttachmentCount               int32             `` /* 197-byte string literal not displayed */
	CreateDate                    int64             `` /* 198-byte string literal not displayed */
	DefaultVersionId              string            `` /* 233-byte string literal not displayed */
	Description                   string            `` /* 191-byte string literal not displayed */
	IsAttachable                  bool              `` /* 171-byte string literal not displayed */
	Path                          string            `` /* 149-byte string literal not displayed */
	PermissionsBoundaryUsageCount int32             `` /* 293-byte string literal not displayed */
	PolicyId                      string            `` /* 219-byte string literal not displayed */
	PolicyName                    string            `` /* 191-byte string literal not displayed */
	Tags                          map[string]string `` /* 209-byte string literal not displayed */
	UpdateDate                    int64             `` /* 198-byte string literal not displayed */
	AccountId                     string            `` /* 185-byte string literal not displayed */
	Region                        string            `` /* 161-byte string literal not displayed */
	ReportTime                    int64             `` /* 208-byte string literal not displayed */
	InventoryUUID                 string            `` /* 152-byte string literal not displayed */
}

func FetchPolicies

func FetchPolicies(ctx context.Context, params *aws.AwsFetchInput) ([]*Policy, *aws.AwsFetchOutputMetadata)

type Role

type Role struct {
	Arn                 string                       `` /* 143-byte string literal not displayed */
	CreateDate          int64                        `` /* 198-byte string literal not displayed */
	Path                string                       `` /* 149-byte string literal not displayed */
	RoleId              string                       `` /* 207-byte string literal not displayed */
	RoleName            string                       `` /* 179-byte string literal not displayed */
	Description         string                       `` /* 191-byte string literal not displayed */
	MaxSessionDuration  int32                        `` /* 221-byte string literal not displayed */
	PermissionsBoundary *AttachedPermissionsBoundary `` /* 210-byte string literal not displayed */
	RoleLastUsed        *RoleLastUsed                `` /* 174-byte string literal not displayed */
	Tags                map[string]string            `` /* 209-byte string literal not displayed */
	AccountId           string                       `` /* 185-byte string literal not displayed */
	Region              string                       `` /* 161-byte string literal not displayed */
	ReportTime          int64                        `` /* 208-byte string literal not displayed */
	InventoryUUID       string                       `` /* 152-byte string literal not displayed */
	InlinePolicies      []string                     `` /* 253-byte string literal not displayed */
	AttachedPolicies    []*AttachedPolicy            `` /* 220-byte string literal not displayed */
}

func FetchRoles

func FetchRoles(ctx context.Context, params *aws.AwsFetchInput) ([]*Role, *aws.AwsFetchOutputMetadata)

type RoleLastUsed

type RoleLastUsed struct {
	LastUsedDate int64  `` /* 216-byte string literal not displayed */
	Region       string `` /* 161-byte string literal not displayed */
}

type Tag

type Tag struct {
	Key   string `` /* 143-byte string literal not displayed */
	Value string `` /* 155-byte string literal not displayed */
}

type User

type User struct {
	Arn                 string                       `` /* 143-byte string literal not displayed */
	CreateDate          int64                        `` /* 198-byte string literal not displayed */
	Path                string                       `` /* 149-byte string literal not displayed */
	UserId              string                       `` /* 207-byte string literal not displayed */
	UserName            string                       `` /* 179-byte string literal not displayed */
	PasswordLastUsed    int64                        `` /* 240-byte string literal not displayed */
	PermissionsBoundary *AttachedPermissionsBoundary `` /* 210-byte string literal not displayed */
	Tags                map[string]string            `` /* 209-byte string literal not displayed */
	AccountId           string                       `` /* 185-byte string literal not displayed */
	Region              string                       `` /* 161-byte string literal not displayed */
	ReportTime          int64                        `` /* 208-byte string literal not displayed */
	InventoryUUID       string                       `` /* 152-byte string literal not displayed */
	InlinePolicies      []string                     `` /* 253-byte string literal not displayed */
	GroupIds            []string                     `` /* 217-byte string literal not displayed */
	AccessKeys          []*AccessKeyMetadata         `` /* 184-byte string literal not displayed */
	LoginProfile        *LoginProfile                `` /* 168-byte string literal not displayed */
	AttachedPolicies    []*AttachedPolicy            `` /* 220-byte string literal not displayed */
}

func FetchUsers

func FetchUsers(ctx context.Context, params *aws.AwsFetchInput) ([]*User, *aws.AwsFetchOutputMetadata)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL