sdk

package
v1.13.4 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: MIT Imports: 100 Imported by: 0

Documentation

Index

Constants

View Source
const DESCRIBE_IMAGES_TEST_FILE = "./test-data/ec2-describeImages.json"
View Source
const DESCRIBE_INSTANCES_TEST_FILE = "./test-data/ec2-describeInstances.json"
View Source
const DESCRIBE_NETWORK_INTEFACES_TEST_FILE = "./test-data/describe-network-interfaces.json"
View Source
const DESCRIBE_SNAPSHOTS_TEST_FILE = "./test-data/ec2-describeSnapshots.json"
View Source
const DESCRIBE_STACKS_TEST_FILE = "./test-data/cloudformation-describestacks.json"
View Source
const DESCRIBE_TASKS_TEST_FILE = "./test-data/describe-tasks.json"
View Source
const DESCRIBE_VOLUMES_TEST_FILE = "./test-data/ec2-describeVolumes.json"
View Source
const TEMPLATE_BODY_TEST_FILE = "./test-data/cloudformation-getTemplate.json"

Variables

This section is empty.

Functions

func CachedAPIGatewayv2GetAPIs

func CachedAPIGatewayv2GetAPIs(client APIGatewayv2ClientInterface, accountID string, region string) ([]apiGatwayV2Types.Api, error)

func CachedAPIGatewayv2GetApiMappings added in v1.13.0

func CachedAPIGatewayv2GetApiMappings(client APIGatewayv2ClientInterface, accountID string, region string, domain string) ([]apiGatwayV2Types.ApiMapping, error)

func CachedAPIGatewayv2GetDomainNames added in v1.13.0

func CachedAPIGatewayv2GetDomainNames(client APIGatewayv2ClientInterface, accountID string, region string) ([]domainName, error)

func CachedAPIGatewayv2GetRoutes added in v1.13.0

func CachedAPIGatewayv2GetRoutes(client APIGatewayv2ClientInterface, accountID string, region string, apiID string) ([]apiGatwayV2Types.Route, error)

func CachedAPIGatewayv2GetStages added in v1.13.0

func CachedAPIGatewayv2GetStages(client APIGatewayv2ClientInterface, accountID string, region string, apiID string) ([]apiGatwayV2Types.Stage, error)

func CachedApiGatewayGetBasePathMappings added in v1.13.0

func CachedApiGatewayGetBasePathMappings(client APIGatewayClientInterface, accountID string, region string, domain *string) ([]apiGatewayTypes.BasePathMapping, error)

create a CachedApiGatewayGetBasePathMappings function that accepts a client, account id, region. Make sure it handles caching, the region option and pagination if needed

func CachedApiGatewayGetDomainNames added in v1.13.0

func CachedApiGatewayGetDomainNames(client APIGatewayClientInterface, accountID string, region string) ([]apiGatewayTypes.DomainName, error)

create a CachedApiGatewayGetDomainNames function that accepts a client, account id, region. Make sure it handles caching, the region option and pagination if needed

func CachedApiGatewayGetMethod added in v1.13.0

func CachedApiGatewayGetMethod(client APIGatewayClientInterface, accountID string, region string, restAPIID string, resourceID string, method string) (*apigateway.GetMethodOutput, error)

create a CachedApiGatewayGetMethod function that accepts a client, account id, region, rest api id, and resource id. Make sure it handles caching, the region option and pagination if needed

func CachedApiGatewayGetResources added in v1.13.0

func CachedApiGatewayGetResources(client APIGatewayClientInterface, accountID string, region string, restAPIID string) ([]apiGatewayTypes.Resource, error)

create a CachedApiGatewayGetResources function that accepts a client, account id, region, and rest api id. Make sure it handles caching, the region option and pagination

func CachedApiGatewayGetRestAPIs

func CachedApiGatewayGetRestAPIs(client APIGatewayClientInterface, accountID string, region string) ([]apiGatewayTypes.RestApi, error)

create a CachedApiGatewayGetRestAPIs function that accepts a client, account id, region. Make sure it handles caching, the region option and pagination

func CachedApiGatewayGetStages added in v1.13.0

func CachedApiGatewayGetStages(client APIGatewayClientInterface, accountID string, region string, restAPIID string) (*apigateway.GetStagesOutput, error)

create a CachedApiGatewayGetStages function that accepts a client, account id, region, and rest api id. Make sure it handles caching, the region option and pagination

func CachedApiGatewayGetUsagePlanKeys added in v1.13.0

func CachedApiGatewayGetUsagePlanKeys(client APIGatewayClientInterface, accountID string, region string, usagePlanID string) ([]apiGatewayTypes.UsagePlanKey, error)

create a CachedApiGatewayGetUsagePlanKeys function that accepts a client, account id, region, and usage plan id. Make sure it handles caching, the region option and pagination if needed

func CachedApiGatewayGetUsagePlans added in v1.13.0

func CachedApiGatewayGetUsagePlans(client APIGatewayClientInterface, accountID string, region string) ([]apiGatewayTypes.UsagePlan, error)

create a CachedApiGatewayGetUsagePlans function that accepts a client, account id, region. Make sure it handles caching, the region option and pagination if needed

func CachedAppRunnerListServices

func CachedAppRunnerListServices(client AppRunnerClientInterface, accountID string, region string) ([]apprunnerTypes.ServiceSummary, error)

func CachedAthenaListDataCatalogs added in v1.12.0

func CachedAthenaListDataCatalogs(client AWSAthenaClientInterface, accountID string, region string) ([]athenaTypes.DataCatalogSummary, error)

func CachedAthenaListDatabases added in v1.12.0

func CachedAthenaListDatabases(client AWSAthenaClientInterface, accountID string, region string, catalogName string) ([]string, error)

func CachedCloud9DescribeEnvironments added in v1.12.3

func CachedCloud9DescribeEnvironments(client AWSCloud9ClientInterface, accountID string, region string, environmentIDs []string) ([]cloud9Types.Environment, error)

func CachedCloud9ListEnvironments added in v1.12.3

func CachedCloud9ListEnvironments(client AWSCloud9ClientInterface, accountID string, region string) ([]string, error)

func CachedCloudFormationDescribeStacks

func CachedCloudFormationDescribeStacks(client CloudFormationClientInterface, accountID string, region string) ([]cloudFormationTypes.Stack, error)

func CachedCloudFormationGetTemplate

func CachedCloudFormationGetTemplate(client CloudFormationClientInterface, accountID string, region string, stackName string) (string, error)

func CachedCloudFormationListStacks

func CachedCloudFormationListStacks(client CloudFormationClientInterface, accountID string, region string) ([]cloudFormationTypes.StackSummary, error)

func CachedCloudFrontListDistributions added in v1.12.0

func CachedCloudFrontListDistributions(CloudFrontClient AWSCloudFrontClientInterface, accountID string) ([]cloudfrontTypes.DistributionSummary, error)

func CachedCodeArtifactListDomains added in v1.12.0

func CachedCodeArtifactListDomains(client AWSCodeArtifactClientInterface, accountID string, region string) ([]codeArtifactTypes.DomainSummary, error)

func CachedCodeArtifactListRepositories added in v1.12.0

func CachedCodeArtifactListRepositories(client AWSCodeArtifactClientInterface, accountID string, region string) ([]codeArtifactTypes.RepositorySummary, error)

func CachedCodeBuildBatchGetProjects

func CachedCodeBuildBatchGetProjects(CodeBuildClient CodeBuildClientInterface, accountID string, region string, projectID string) (codeBuildTypes.Project, error)

create a CachedCodeBuildBatchGetProjects function that accepts a codebuild client, account id, region, and a single projectId. Make sure it handles the region option and pagination

func CachedCodeBuildGetResourcePolicy

func CachedCodeBuildGetResourcePolicy(CodeBuildClient CodeBuildClientInterface, accountID string, region string, projectID string) (string, error)

create a CachedCodeBuildGetResourcePolicy function that accepts a codebuild client, account id, region, and a single projectId. Make sure it handles the region option and pagination

func CachedCodeBuildListProjects

func CachedCodeBuildListProjects(CodeBuildClient CodeBuildClientInterface, accountID string, region string) ([]string, error)

create a CachedCodeBuildListProjects function that accepts a codebuild client, account id, and region. Make sure it handles the region option and pagination

func CachedCodeCommitListRepositories added in v1.12.0

func CachedCodeCommitListRepositories(client AWSCodeCommitClientInterface, accountID string, region string) ([]codeCommitTypes.RepositoryNameIdPair, error)

func CachedCodeDeployGetApplication added in v1.12.0

func CachedCodeDeployGetApplication(client AWSCodeDeployClientInterface, accountID string, region string, applicationName string) (codeDeployTypes.ApplicationInfo, error)

func CachedCodeDeployGetDeployment added in v1.12.0

func CachedCodeDeployGetDeployment(client AWSCodeDeployClientInterface, accountID string, region string, deploymentID string) (codeDeployTypes.DeploymentInfo, error)

func CachedCodeDeployGetDeploymentConfig added in v1.12.0

func CachedCodeDeployGetDeploymentConfig(client AWSCodeDeployClientInterface, accountID string, region string, deploymentConfigName string) (codeDeployTypes.DeploymentConfigInfo, error)

func CachedCodeDeployListApplications added in v1.12.0

func CachedCodeDeployListApplications(client AWSCodeDeployClientInterface, accountID string, region string) ([]string, error)

func CachedCodeDeployListDeploymentConfigs added in v1.12.0

func CachedCodeDeployListDeploymentConfigs(client AWSCodeDeployClientInterface, accountID string, region string) ([]string, error)

func CachedCodeDeployListDeployments added in v1.12.0

func CachedCodeDeployListDeployments(client AWSCodeDeployClientInterface, accountID string, region string) ([]string, error)

func CachedDataPipelineListPipelines added in v1.12.0

func CachedDataPipelineListPipelines(client AWSDataPipelineClientInterface, accountID string, region string) ([]dataPipelineTypes.PipelineIdName, error)

func CachedDescribeAccessPoints

func CachedDescribeAccessPoints(EFSClient AWSEFSClientInterface, accountID string, r string, filesystemId string) ([]efsTypes.AccessPointDescription, error)

func CachedDescribeFileSystemPolicy

func CachedDescribeFileSystemPolicy(EFSClient AWSEFSClientInterface, filesystemId string, r string, accountID string) (policy.Policy, error)

func CachedDescribeFileSystems

func CachedDescribeFileSystems(EFSClient AWSEFSClientInterface, accountID string, r string) ([]efsTypes.FileSystemDescription, error)

func CachedDescribeMountTargets

func CachedDescribeMountTargets(EFSClient AWSEFSClientInterface, accountID string, r string, filesystemId string) ([]efsTypes.MountTargetDescription, error)

func CachedDocDBDescribeDBClusters

func CachedDocDBDescribeDBClusters(client DocDBClientInterface, accountID string, region string) ([]docdbTypes.DBCluster, error)

func CachedDocDBDescribeDBInstances

func CachedDocDBDescribeDBInstances(client DocDBClientInterface, accountID string, region string) ([]docdbTypes.DBInstance, error)

func CachedDocDBDescribeGlobalClusters

func CachedDocDBDescribeGlobalClusters(client DocDBClientInterface, accountID string, region string) ([]docdbTypes.GlobalCluster, error)

func CachedDynamoDBDescribeTable

func CachedDynamoDBDescribeTable(client DynamoDBClientInterface, accountID string, region string, tableName string) (dynamoDBTypes.TableDescription, error)

func CachedDynamoDBListTables

func CachedDynamoDBListTables(client DynamoDBClientInterface, accountID string, region string) ([]string, error)

func CachedEC2DescribeImages added in v1.12.0

func CachedEC2DescribeImages(client AWSEC2ClientInterface, accountID string, region string) ([]ec2Types.Image, error)

func CachedEC2DescribeInstanceAttributeUserData added in v1.12.3

func CachedEC2DescribeInstanceAttributeUserData(client AWSEC2ClientInterface, accountID string, region string, instanceID string) (string, error)

func CachedEC2DescribeInstances

func CachedEC2DescribeInstances(client AWSEC2ClientInterface, accountID string, region string) ([]ec2Types.Instance, error)

func CachedEC2DescribeNetworkInterfaces added in v1.12.0

func CachedEC2DescribeNetworkInterfaces(client AWSEC2ClientInterface, accountID string, region string) ([]ec2Types.NetworkInterface, error)

func CachedEC2DescribeSnapshots added in v1.12.0

func CachedEC2DescribeSnapshots(client AWSEC2ClientInterface, accountID string, region string) ([]ec2Types.Snapshot, error)

func CachedEC2DescribeVolumes added in v1.12.0

func CachedEC2DescribeVolumes(client AWSEC2ClientInterface, accountID string, region string) ([]ec2Types.Volume, error)

func CachedECRDescribeImages

func CachedECRDescribeImages(ECRClient AWSECRClientInterface, accountID string, region string, repositoryName string) ([]ecrTypes.ImageDetail, error)

create a CachedECRDescribeImages function that uses go-cache line the other Cached* functions. It should accept a ecr client, account id, and region. Make sure it handles the region option and pagination if needed

func CachedECRDescribeRepositories

func CachedECRDescribeRepositories(ECRClient AWSECRClientInterface, accountID string, region string) ([]ecrTypes.Repository, error)

create a CachedECRDescribeRepositories function that uses go-cache line the other Cached* functions. It should accept a ecr client, account id, and region. Make sure it handles the region option and pagination if needed

func CachedECRGetRepositoryPolicy

func CachedECRGetRepositoryPolicy(ECRClient AWSECRClientInterface, accountID string, region string, repositoryName string) (string, error)

create a CachedECRGetRepositoryPolicy function that uses go-cache line the other Cached* functions. It should accept a ecr client, account id, and region. Make sure it handles the region option and pagination if needed

func CachedECSDescribeTaskDefinition added in v1.12.0

func CachedECSDescribeTaskDefinition(ECSClient AWSECSClientInterface, accountID string, region string, taskDefinition string) (ecsTypes.TaskDefinition, error)

func CachedECSDescribeTasks added in v1.12.0

func CachedECSDescribeTasks(ECSClient AWSECSClientInterface, accountID string, region string, cluster string, tasks []string) ([]ecsTypes.Task, error)

func CachedECSListClusters added in v1.12.0

func CachedECSListClusters(ECSClient AWSECSClientInterface, accountID string, region string) ([]string, error)

func CachedECSListServices added in v1.12.0

func CachedECSListServices(ECSClient AWSECSClientInterface, accountID string, region string, cluster string) ([]string, error)

func CachedECSListTasks added in v1.12.0

func CachedECSListTasks(ECSClient AWSECSClientInterface, accountID string, region string, cluster string) ([]string, error)

func CachedEKSDescribeCluster

func CachedEKSDescribeCluster(client EKSClientInterface, accountID string, clusterName string, region string) (eksTypes.Cluster, error)

func CachedEKSDescribeNodeGroup

func CachedEKSDescribeNodeGroup(client EKSClientInterface, accountID string, region string, clusterName string, nodeGroupName string) (eksTypes.Nodegroup, error)

func CachedEKSListClusters

func CachedEKSListClusters(client EKSClientInterface, accountID string, region string) ([]string, error)

func CachedEKSListNodeGroups

func CachedEKSListNodeGroups(client EKSClientInterface, accountID string, region string, clusterName string) ([]string, error)

func CachedELBDescribeLoadBalancers

func CachedELBDescribeLoadBalancers(client ELBClientInterface, accountID string, region string) ([]elbTypes.LoadBalancerDescription, error)

func CachedELBv2DescribeLoadBalancers

func CachedELBv2DescribeLoadBalancers(client ELBv2ClientInterface, accountID string, region string) ([]elbV2Types.LoadBalancer, error)

func CachedEMRListClusters added in v1.12.0

func CachedEMRListClusters(client AWSEMRClientInterface, accountID string, region string) ([]emrTypes.ClusterSummary, error)

func CachedEMRListInstances added in v1.12.0

func CachedEMRListInstances(client AWSEMRClientInterface, accountID string, region string, clusterID string) ([]emrTypes.Instance, error)

func CachedElastiCacheDescribeCacheClusters added in v1.12.0

func CachedElastiCacheDescribeCacheClusters(client AWSElastiCacheClientInterface, accountID string, region string) ([]elasticacheTypes.CacheCluster, error)

func CachedElasticBeanstalkDescribeApplications added in v1.12.0

func CachedElasticBeanstalkDescribeApplications(client AWSElasticBeanstalkClientInterface, accountID string, region string) ([]elasticbeanstalkTypes.ApplicationDescription, error)

func CachedGetBucketLocation

func CachedGetBucketLocation(S3Client AWSS3ClientInterface, accountID string, bucketName string) (string, error)

func CachedGetBucketPolicy

func CachedGetBucketPolicy(S3Client AWSS3ClientInterface, accountID string, r string, bucketName string) (string, error)

func CachedGetPublicAccessBlock

func CachedGetPublicAccessBlock(S3Client AWSS3ClientInterface, accountID string, r string, bucketName string) (*s3Types.PublicAccessBlockConfiguration, error)

func CachedGlueGetDatabases added in v1.12.0

func CachedGlueGetDatabases(GlueClient AWSGlueClientInterface, accountID string, region string) ([]glueTypes.Database, error)

func CachedGlueGetResourcePolicies added in v1.12.3

func CachedGlueGetResourcePolicies(GlueClient AWSGlueClientInterface, accountID string, region string) ([]policy.Policy, error)

func CachedGlueGetTables added in v1.12.0

func CachedGlueGetTables(GlueClient AWSGlueClientInterface, accountID string, region string, dbName string) ([]glueTypes.Table, error)

func CachedGlueListDevEndpoints added in v1.12.0

func CachedGlueListDevEndpoints(GlueClient AWSGlueClientInterface, accountID string, region string) ([]string, error)

func CachedGlueListJobs added in v1.12.0

func CachedGlueListJobs(GlueClient AWSGlueClientInterface, accountID string, region string) ([]string, error)

func CachedGrafanaListWorkspaces

func CachedGrafanaListWorkspaces(client GrafanaClientInterface, accountID string, region string) ([]grafanaTypes.WorkspaceSummary, error)

func CachedIAMGetAccountAuthorizationDetails

func CachedIAMGetAccountAuthorizationDetails(IAMClient AWSIAMClientInterface, accountID string) (customGAADOutput, error)

func CachedIamGetInstanceProfile added in v1.13.0

func CachedIamGetInstanceProfile(IAMClient AWSIAMClientInterface, accountID string, instanceProfileName string) (iamTypes.InstanceProfile, error)

func CachedIamListAccessKeys

func CachedIamListAccessKeys(IAMClient AWSIAMClientInterface, accountID string, userName string) ([]iamTypes.AccessKeyMetadata, error)

func CachedIamListGroups added in v1.12.0

func CachedIamListGroups(IAMClient AWSIAMClientInterface, accountID string) ([]iamTypes.Group, error)

func CachedIamListRoles

func CachedIamListRoles(IAMClient AWSIAMClientInterface, accountID string) ([]iamTypes.Role, error)

func CachedIamListUsers

func CachedIamListUsers(IAMClient AWSIAMClientInterface, accountID string) ([]iamTypes.User, error)

func CachedIamSimulatePrincipalPolicy

func CachedIamSimulatePrincipalPolicy(IAMClient AWSIAMClientInterface, accountID string, principal *string, actionNames []string, resourceArns []string) ([]iamTypes.EvaluationResult, error)

func CachedKinesisListStreams added in v1.12.0

func CachedKinesisListStreams(client AWSKinesisClientInterface, accountID string, region string) ([]string, error)

func CachedLambdaGetFunctionUrlConfig

func CachedLambdaGetFunctionUrlConfig(client LambdaClientInterface, accountID string, region string, functionName string) (customGetFuntionURLOutput, error)

create a CachedLambdaGetFunctionUrlConfig function that accepts a lambda client, account id, region, and function name. Make sure it uses go-cache and handles the region option

func CachedLambdaListFunctions

func CachedLambdaListFunctions(client LambdaClientInterface, accountID string, region string) ([]lambdaTypes.FunctionConfiguration, error)

create a CachedLambdaListFunctions function that accepts a lambda client, account id, region. Make sure it uses go-cache and handles the region option and pagination

func CachedLightsailGetContainerServices

func CachedLightsailGetContainerServices(client lightsailClientInterface, accountID string, region string) ([]lightsailTypes.ContainerService, error)

func CachedLightsailGetInstances

func CachedLightsailGetInstances(client lightsailClientInterface, accountID string, region string) ([]lightsailTypes.Instance, error)

func CachedListBuckets

func CachedListBuckets(S3Client AWSS3ClientInterface, accountID string) ([]s3Types.Bucket, error)

func CachedMQListBrokers

func CachedMQListBrokers(client MQClientInterface, accountID string, region string) ([]mqTypes.BrokerSummary, error)

create CachedMQListBrokers function that uses go-cache and pagination

func CachedNeptuneDescribeDBClusters added in v1.13.4

func CachedNeptuneDescribeDBClusters(client NeptuneClientInterface, accountID string, region string) ([]neptuneTypes.DBCluster, error)

func CachedOpenSearchDescribeDomain added in v1.12.0

func CachedOpenSearchDescribeDomain(client OpenSearchClientInterface, accountID string, region string, domainName string) (openSearchTypes.DomainStatus, error)

create CachedOpenSearchDescribeDomain function that uses go-cache and pagination and supports region option

func CachedOpenSearchDescribeDomainConfig

func CachedOpenSearchDescribeDomainConfig(client OpenSearchClientInterface, accountID string, region string, domainName string) (openSearchTypes.DomainConfig, error)

create CachedOpenSearchDescribeDomainConfig function that uses go-cache and pagination and supports region option

func CachedOpenSearchListDomainNames

func CachedOpenSearchListDomainNames(client OpenSearchClientInterface, accountID string, region string) ([]openSearchTypes.DomainInfo, error)

create CachedOpenSearchListDomainNames function that uses go-cache and pagination

func CachedOrganizationsDescribeOrganization

func CachedOrganizationsDescribeOrganization(client OrganizationsClientInterface, accountID string) (*orgTypes.Organization, error)

create a CachedOrganizationsDescribeOrganization function that uses go-cache and returns an organization

func CachedOrganizationsListAccounts

func CachedOrganizationsListAccounts(client OrganizationsClientInterface, accountID string) ([]orgTypes.Account, error)

create a CachedOrganizationsListAccounts function that uses go-cache and pagination and returns a list of accounts

func CachedRDSDescribeDBClusters added in v1.13.4

func CachedRDSDescribeDBClusters(client RDSClientInterface, accountID string, region string) ([]rdsTypes.DBCluster, error)

func CachedRDSDescribeDBInstances

func CachedRDSDescribeDBInstances(client RDSClientInterface, accountID string, region string) ([]rdsTypes.DBInstance, error)

func CachedRedShiftDescribeClusters

func CachedRedShiftDescribeClusters(client AWSRedShiftClientInterface, accountID string, region string) ([]redshiftTypes.Cluster, error)

func CachedRoute53ListHostedZones added in v1.12.0

func CachedRoute53ListHostedZones(client AWSRoute53ClientInterface, accountID string) ([]route53types.HostedZone, error)

func CachedRoute53ListResourceRecordSets added in v1.12.0

func CachedRoute53ListResourceRecordSets(client AWSRoute53ClientInterface, accountID string, hostedZoneID string) ([]route53types.ResourceRecordSet, error)

func CachedSNSGetTopicAttributes added in v1.12.0

func CachedSNSGetTopicAttributes(SNSClient AWSSNSClientInterface, accountID string, region string, topicArn string) (map[string]string, error)

func CachedSNSListSubscriptions added in v1.12.0

func CachedSNSListSubscriptions(SNSClient AWSSNSClientInterface, accountID string, region string) ([]string, error)

func CachedSNSListSubscriptionsByTopic added in v1.12.0

func CachedSNSListSubscriptionsByTopic(SNSClient AWSSNSClientInterface, accountID string, region string, topicArn string) ([]string, error)

func CachedSNSListTopics added in v1.12.0

func CachedSNSListTopics(SNSClient AWSSNSClientInterface, accountID string, region string) ([]string, error)

func CachedSQSListQueues added in v1.12.0

func CachedSQSListQueues(SQSClient AWSSQSClientInterface, accountID string, region string) ([]string, error)

func CachedSSMDescribeParameters added in v1.12.0

func CachedSSMDescribeParameters(SSMClient AWSSSMClientInterface, accountID string, region string) ([]types.ParameterMetadata, error)

create a CachedSSMDescribeParameters function that uses go-cache line the other Cached* functions. It should accept a ssm client, account id, and region. Make sure it handles the region option and pagination if needed

func CachedSecretsManagerGetResourcePolicy added in v1.12.3

func CachedSecretsManagerGetResourcePolicy(client SecretsManagerClientInterface, secretId string, region string, accountID string) (policy.Policy, error)

func CachedSecretsManagerListSecrets

func CachedSecretsManagerListSecrets(client SecretsManagerClientInterface, accountID string, region string) ([]secretsmanagerTypes.SecretListEntry, error)

func CachedStepFunctionsListStateMachines

func CachedStepFunctionsListStateMachines(client StepFunctionsClientInterface, accountID string, region string) ([]sfnTypes.StateMachineListItem, error)

Types

type AWSAthenaClientInterface added in v1.12.0

type AWSAthenaClientInterface interface {
	ListDataCatalogs(context.Context, *athena.ListDataCatalogsInput, ...func(*athena.Options)) (*athena.ListDataCatalogsOutput, error)
	ListDatabases(context.Context, *athena.ListDatabasesInput, ...func(*athena.Options)) (*athena.ListDatabasesOutput, error)
}

type AWSCloud9ClientInterface added in v1.12.3

type AWSCloud9ClientInterface interface {
	ListEnvironments(context.Context, *cloud9.ListEnvironmentsInput, ...func(*cloud9.Options)) (*cloud9.ListEnvironmentsOutput, error)
	DescribeEnvironments(context.Context, *cloud9.DescribeEnvironmentsInput, ...func(*cloud9.Options)) (*cloud9.DescribeEnvironmentsOutput, error)
}

type AWSCloudFrontClientInterface added in v1.12.0

type AWSCloudFrontClientInterface interface {
	ListDistributions(ctx context.Context, params *cloudfront.ListDistributionsInput, optFns ...func(*cloudfront.Options)) (*cloudfront.ListDistributionsOutput, error)
}

type AWSCodeArtifactClientInterface added in v1.12.0

type AWSCodeArtifactClientInterface interface {
	ListDomains(context.Context, *codeartifact.ListDomainsInput, ...func(*codeartifact.Options)) (*codeartifact.ListDomainsOutput, error)
	ListRepositories(context.Context, *codeartifact.ListRepositoriesInput, ...func(*codeartifact.Options)) (*codeartifact.ListRepositoriesOutput, error)
}

type AWSCodeCommitClientInterface added in v1.12.0

type AWSCodeCommitClientInterface interface {
	ListRepositories(context.Context, *codecommit.ListRepositoriesInput, ...func(*codecommit.Options)) (*codecommit.ListRepositoriesOutput, error)
}

type AWSDataPipelineClientInterface added in v1.12.0

type AWSDataPipelineClientInterface interface {
	ListPipelines(ctx context.Context, input *datapipeline.ListPipelinesInput, opts ...func(*datapipeline.Options)) (*datapipeline.ListPipelinesOutput, error)
}

type AWSECRClientInterface

type AWSECRClientInterface interface {
	DescribeRepositories(ctx context.Context, params *ecr.DescribeRepositoriesInput, optFns ...func(*ecr.Options)) (*ecr.DescribeRepositoriesOutput, error)
	DescribeImages(ctx context.Context, params *ecr.DescribeImagesInput, optFns ...func(*ecr.Options)) (*ecr.DescribeImagesOutput, error)
	GetRepositoryPolicy(ctx context.Context, params *ecr.GetRepositoryPolicyInput, optFns ...func(*ecr.Options)) (*ecr.GetRepositoryPolicyOutput, error)
}

type AWSECSClientInterface added in v1.12.0

type AWSECSClientInterface interface {
	ListClusters(ctx context.Context, params *ecs.ListClustersInput, optFns ...func(*ecs.Options)) (*ecs.ListClustersOutput, error)
	ListTasks(ctx context.Context, params *ecs.ListTasksInput, optFns ...func(*ecs.Options)) (*ecs.ListTasksOutput, error)
	ListServices(ctx context.Context, params *ecs.ListServicesInput, optFns ...func(*ecs.Options)) (*ecs.ListServicesOutput, error)
	DescribeTasks(ctx context.Context, params *ecs.DescribeTasksInput, optFns ...func(*ecs.Options)) (*ecs.DescribeTasksOutput, error)
	DescribeTaskDefinition(ctx context.Context, params *ecs.DescribeTaskDefinitionInput, optFns ...func(*ecs.Options)) (*ecs.DescribeTaskDefinitionOutput, error)
}

type AWSEFSClientInterface

type AWSEFSClientInterface interface {
	DescribeFileSystems(ctx context.Context, params *efs.DescribeFileSystemsInput, optFns ...func(*efs.Options)) (*efs.DescribeFileSystemsOutput, error)
	DescribeMountTargets(ctx context.Context, params *efs.DescribeMountTargetsInput, optFns ...func(*efs.Options)) (*efs.DescribeMountTargetsOutput, error)
	DescribeAccessPoints(ctx context.Context, params *efs.DescribeAccessPointsInput, optFns ...func(*efs.Options)) (*efs.DescribeAccessPointsOutput, error)
	DescribeFileSystemPolicy(ctx context.Context, params *efs.DescribeFileSystemPolicyInput, optFns ...func(*efs.Options)) (*efs.DescribeFileSystemPolicyOutput, error)
}

type AWSEMRClientInterface added in v1.12.0

type AWSEMRClientInterface interface {
	ListClusters(context.Context, *emr.ListClustersInput, ...func(*emr.Options)) (*emr.ListClustersOutput, error)
	ListInstances(context.Context, *emr.ListInstancesInput, ...func(*emr.Options)) (*emr.ListInstancesOutput, error)
}

type AWSElastiCacheClientInterface added in v1.12.0

type AWSElastiCacheClientInterface interface {
	DescribeCacheClusters(context.Context, *elasticache.DescribeCacheClustersInput, ...func(*elasticache.Options)) (*elasticache.DescribeCacheClustersOutput, error)
}

type AWSElasticBeanstalkClientInterface added in v1.12.0

type AWSElasticBeanstalkClientInterface interface {
	DescribeApplications(context.Context, *elasticbeanstalk.DescribeApplicationsInput, ...func(*elasticbeanstalk.Options)) (*elasticbeanstalk.DescribeApplicationsOutput, error)
}

type AWSGlueClientInterface added in v1.12.0

type AWSGlueClientInterface interface {
	ListDevEndpoints(ctx context.Context, params *glue.ListDevEndpointsInput, optFns ...func(*glue.Options)) (*glue.ListDevEndpointsOutput, error)
	ListJobs(ctx context.Context, params *glue.ListJobsInput, optFns ...func(*glue.Options)) (*glue.ListJobsOutput, error)
	GetTables(ctx context.Context, params *glue.GetTablesInput, optFns ...func(*glue.Options)) (*glue.GetTablesOutput, error)
	GetDatabases(ctx context.Context, params *glue.GetDatabasesInput, optFns ...func(*glue.Options)) (*glue.GetDatabasesOutput, error)
	GetResourcePolicies(ctx context.Context, params *glue.GetResourcePoliciesInput, optFns ...func(*glue.Options)) (*glue.GetResourcePoliciesOutput, error)
}

type AWSIAMClientInterface

type AWSIAMClientInterface interface {
	ListUsers(ctx context.Context, params *iam.ListUsersInput, optFns ...func(*iam.Options)) (*iam.ListUsersOutput, error)
	ListAccessKeys(ctx context.Context, params *iam.ListAccessKeysInput, optFns ...func(*iam.Options)) (*iam.ListAccessKeysOutput, error)
	ListRoles(ctx context.Context, params *iam.ListRolesInput, optFns ...func(*iam.Options)) (*iam.ListRolesOutput, error)
	GetAccountAuthorizationDetails(ctx context.Context, params *iam.GetAccountAuthorizationDetailsInput, optFns ...func(*iam.Options)) (*iam.GetAccountAuthorizationDetailsOutput, error)
	SimulatePrincipalPolicy(ctx context.Context, params *iam.SimulatePrincipalPolicyInput, optFns ...func(*iam.Options)) (*iam.SimulatePrincipalPolicyOutput, error)
	ListInstanceProfiles(ctx context.Context, params *iam.ListInstanceProfilesInput, optFns ...func(*iam.Options)) (*iam.ListInstanceProfilesOutput, error)
	ListGroups(ctx context.Context, params *iam.ListGroupsInput, optFns ...func(*iam.Options)) (*iam.ListGroupsOutput, error)
	GetInstanceProfile(ctx context.Context, params *iam.GetInstanceProfileInput, optFns ...func(*iam.Options)) (*iam.GetInstanceProfileOutput, error)
}

type AWSKinesisClientInterface added in v1.12.0

type AWSKinesisClientInterface interface {
	ListStreams(context.Context, *kinesis.ListStreamsInput, ...func(*kinesis.Options)) (*kinesis.ListStreamsOutput, error)
}

type AWSRedShiftClientInterface added in v1.12.0

type AWSRedShiftClientInterface interface {
	DescribeClusters(context.Context, *redshift.DescribeClustersInput, ...func(*redshift.Options)) (*redshift.DescribeClustersOutput, error)
}

type AWSRoute53ClientInterface added in v1.12.0

type AWSRoute53ClientInterface interface {
	ListHostedZones(context.Context, *route53.ListHostedZonesInput, ...func(*route53.Options)) (*route53.ListHostedZonesOutput, error)
	ListResourceRecordSets(context.Context, *route53.ListResourceRecordSetsInput, ...func(*route53.Options)) (*route53.ListResourceRecordSetsOutput, error)
}

type AWSS3ClientInterface

type AWSS3ClientInterface interface {
	ListBuckets(ctx context.Context, params *s3.ListBucketsInput, optFns ...func(*s3.Options)) (*s3.ListBucketsOutput, error)
	GetBucketPolicy(ctx context.Context, params *s3.GetBucketPolicyInput, optFns ...func(*s3.Options)) (*s3.GetBucketPolicyOutput, error)
	GetBucketLocation(ctx context.Context, params *s3.GetBucketLocationInput, optFns ...func(*s3.Options)) (*s3.GetBucketLocationOutput, error)
	GetPublicAccessBlock(ctx context.Context, params *s3.GetPublicAccessBlockInput, optFns ...func(*s3.Options)) (*s3.GetPublicAccessBlockOutput, error)
}

type AWSSNSClientInterface added in v1.12.0

type AWSSNSClientInterface interface {
	ListTopics(ctx context.Context, params *sns.ListTopicsInput, optFns ...func(*sns.Options)) (*sns.ListTopicsOutput, error)
	ListSubscriptions(ctx context.Context, params *sns.ListSubscriptionsInput, optFns ...func(*sns.Options)) (*sns.ListSubscriptionsOutput, error)
	ListSubscriptionsByTopic(ctx context.Context, params *sns.ListSubscriptionsByTopicInput, optFns ...func(*sns.Options)) (*sns.ListSubscriptionsByTopicOutput, error)
	GetTopicAttributes(ctx context.Context, params *sns.GetTopicAttributesInput, optFns ...func(*sns.Options)) (*sns.GetTopicAttributesOutput, error)
}

type AWSSQSClientInterface added in v1.12.0

type AWSSQSClientInterface interface {
	ListQueues(ctx context.Context, params *sqs.ListQueuesInput, optFns ...func(*sqs.Options)) (*sqs.ListQueuesOutput, error)
}

type AWSSSMClientInterface added in v1.12.0

type AWSSSMClientInterface interface {
	DescribeParameters(ctx context.Context, params *ssm.DescribeParametersInput, optFns ...func(*ssm.Options)) (*ssm.DescribeParametersOutput, error)
}

type AppRunnerClientInterface

type AppRunnerClientInterface interface {
	ListServices(context.Context, *apprunner.ListServicesInput, ...func(*apprunner.Options)) (*apprunner.ListServicesOutput, error)
}

type CachedGetMethodOutput added in v1.13.4

type CachedGetMethodOutput struct {
	ApiKeyRequired      *bool
	AuthorizationScopes []string
	AuthorizationType   *string
	AuthorizerId        *string
	HttpMethod          *string
	MethodIntegration   *apiGatewayTypes.Integration
	MethodResponses     map[string]apiGatewayTypes.MethodResponse
	OperationName       *string
	RequestModels       map[string]string
	RequestParameters   map[string]bool
	RequestValidatorId  *string
	ResourceId          *string
}

type CachedGetStagesOutput added in v1.13.4

type CachedGetStagesOutput struct {
	Item []apiGatewayTypes.Stage
}

type CodeBuildClientInterface

type CodeBuildClientInterface interface {
	ListProjects(ctx context.Context, params *codebuild.ListProjectsInput, optFns ...func(*codebuild.Options)) (*codebuild.ListProjectsOutput, error)
	BatchGetProjects(ctx context.Context, params *codebuild.BatchGetProjectsInput, optFns ...func(*codebuild.Options)) (*codebuild.BatchGetProjectsOutput, error)
	GetResourcePolicy(ctx context.Context, params *codebuild.GetResourcePolicyInput, optFns ...func(*codebuild.Options)) (*codebuild.GetResourcePolicyOutput, error)
}

type DescribeImages added in v1.12.0

type DescribeImages struct {
	Images []struct {
		Architecture        string `json:"Architecture"`
		BlockDeviceMappings []struct {
			DeviceName string `json:"DeviceName"`
			Ebs        struct {
				DeleteOnTermination bool   `json:"DeleteOnTermination"`
				SnapshotID          string `json:"SnapshotId"`
				VolumeSize          int    `json:"VolumeSize"`
				VolumeType          string `json:"VolumeType"`
			} `json:"Ebs"`
		} `json:"BlockDeviceMappings"`
		CreationDate  string `json:"CreationDate"`
		Description   string `json:"Description"`
		EnaSupport    bool   `json:"EnaSupport"`
		Hypervisor    string `json:"Hypervisor"`
		ImageID       string `json:"ImageId"`
		ImageLocation string `json:"ImageLocation"`
		ImageType     string `json:"ImageType"`
		KernelID      string `json:"KernelId"`
		Name          string `json:"Name"`
		OwnerAlias    string `json:"OwnerAlias"`
		OwnerID       string `json:"OwnerId"`
		Platform      string `json:"Platform"`
		ProductCodes  []struct {
			ProductCodeID   string `json:"ProductCodeId"`
			ProductCodeType string `json:"ProductCodeType"`
		} `json:"ProductCodes"`
		Public          bool   `json:"Public"`
		RamdiskID       string `json:"RamdiskId"`
		RootDeviceName  string `json:"RootDeviceName"`
		RootDeviceType  string `json:"RootDeviceType"`
		SriovNetSupport string `json:"SriovNetSupport"`
		State           string `json:"State"`
		StateReason     struct {
			Code    string `json:"Code"`
			Message string `json:"Message"`
		} `json:"StateReason"`
		Tags []struct {
			Key   string `json:"Key"`
			Value string `json:"Value"`
		} `json:"Tags"`
		VirtualizationType string `json:"VirtualizationType"`
	} `json:"Images"`
	NextToken string `json:"NextToken"`
}

type DescribeInstanceAttribute added in v1.12.3

type DescribeInstanceAttribute struct {
	UserData   string `json:"UserData"`
	InstanceID string `json:"InstanceId"`
}

DescribeInstanceAttribute is a struct for the DescribeInstanceAttribute function - include userdata

type DescribeInstances added in v1.12.0

type DescribeInstances struct {
	Reservations []struct {
		Instances []struct {
			AmiLaunchIndex int    `json:"AmiLaunchIndex"`
			ImageID        string `json:"ImageId"`
			InstanceID     string `json:"InstanceId"`
			InstanceType   string `json:"InstanceType"`
			KernelID       string `json:"KernelId"`
			KeyName        string `json:"KeyName"`
			LaunchTime     string `json:"LaunchTime"`
			Monitoring     struct {
				State string `json:"State"`
			} `json:"Monitoring"`
			Placement struct {
				AvailabilityZone string `json:"AvailabilityZone"`
				GroupName        string `json:"GroupName"`
				Tenancy          string `json:"Tenancy"`
			} `json:"Placement"`
			Platform            string `json:"Platform"`
			PrivateDNS          string `json:"PrivateDnsName"`
			PrivateIP           string `json:"PrivateIpAddress"`
			PublicDNS           string `json:"PublicDnsName"`
			PublicIP            string `json:"PublicIpAddress"`
			State               string `json:"State"`
			SubnetID            string `json:"SubnetId"`
			VpcID               string `json:"VpcId"`
			Architecture        string `json:"Architecture"`
			BlockDeviceMappings []struct {
				DeviceName string `json:"DeviceName"`
				Ebs        struct {
					AttachTime          time.Time `json:"AttachTime"`
					DeleteOnTermination bool      `json:"DeleteOnTermination"`
					Status              string    `json:"Status"`
					VolumeID            string    `json:"VolumeId"`
				} `json:"Ebs"`
			} `json:"BlockDeviceMappings"`
			ClientToken        string `json:"ClientToken"`
			EbsOptimized       bool   `json:"EbsOptimized"`
			Hypervisor         string `json:"Hypervisor"`
			IamInstanceProfile struct {
				Arn string `json:"Arn"`
				ID  string `json:"Id"`
			} `json:"IamInstanceProfile"`
			NetworkInterfaces []struct {
				Attachment struct {
					AttachTime          time.Time `json:"AttachTime"`
					AttachmentID        string    `json:"AttachmentId"`
					DeleteOnTermination bool      `json:"DeleteOnTermination"`
					DeviceIndex         int       `json:"DeviceIndex"`
					Status              string    `json:"Status"`
				} `json:"Attachment"`
				Description string `json:"Description"`
				Groups      []struct {
					GroupName string `json:"GroupName"`
					GroupID   string `json:"GroupId"`
				} `json:"Groups"`
				MacAddress         string `json:"MacAddress"`
				NetworkInterfaceID string `json:"NetworkInterfaceId"`
				OwnerID            string `json:"OwnerId"`
				PrivateDNSName     string `json:"PrivateDnsName"`
				PrivateIPAddress   string `json:"PrivateIpAddress"`
				PrivateIPAddresses []struct {
					Association struct {
						IPOwnerID     string `json:"IpOwnerId"`
						PublicDNSName string `json:"PublicDnsName"`
						PublicIP      string `json:"PublicIp"`
					} `json:"Association"`
					Primary          bool   `json:"Primary"`
					PrivateDNSName   string `json:"PrivateDnsName"`
					PrivateIPAddress string `json:"PrivateIpAddress"`
				} `json:"PrivateIpAddresses"`
				SourceDestCheck bool   `json:"SourceDestCheck"`
				Status          string `json:"Status"`
				SubnetID        string `json:"SubnetId"`
				VpcID           string `json:"VpcId"`
			} `json:"NetworkInterfaces"`
			RootDeviceName string `json:"RootDeviceName"`
			RootDeviceType string `json:"RootDeviceType"`
			SecurityGroups []struct {
				GroupName string `json:"GroupName"`
				GroupID   string `json:"GroupId"`
			} `json:"SecurityGroups"`
			SourceDestCheck bool `json:"SourceDestCheck"`
			StateReason     struct {
				Code    string `json:"Code"`
				Message string `json:"Message"`
			} `json:"StateReason"`
			Tags []struct {
				Key   string `json:"Key"`
				Value string `json:"Value"`
			} `json:"Tags"`
			VirtualizationType string `json:"VirtualizationType"`
		} `json:"Instances"`
		OwnerID       string `json:"OwnerId"`
		RequesterID   string `json:"RequesterId"`
		ReservationID string `json:"ReservationId"`
	} `json:"Reservations"`
}

type DescribeNetworkInterfaces added in v1.12.0

type DescribeNetworkInterfaces struct {
	NetworkInterfaces []struct {
		Status          string `json:"Status"`
		MacAddress      string `json:"MacAddress"`
		SourceDestCheck bool   `json:"SourceDestCheck"`
		VpcID           string `json:"VpcId"`
		Description     string `json:"Description"`
		Association     struct {
			PublicIP      string `json:"PublicIp"`
			AssociationID string `json:"AssociationId"`
			PublicDNSName string `json:"PublicDnsName"`
			IPOwnerID     string `json:"IpOwnerId"`
		} `json:"Association"`
		NetworkInterfaceID string `json:"NetworkInterfaceId"`
		PrivateIPAddresses []struct {
			PrivateDNSName string `json:"PrivateDnsName"`
			Association    struct {
				PublicIP      string `json:"PublicIp"`
				AssociationID string `json:"AssociationId"`
				PublicDNSName string `json:"PublicDnsName"`
				IPOwnerID     string `json:"IpOwnerId"`
			} `json:"Association"`
			Primary          bool   `json:"Primary"`
			PrivateIPAddress string `json:"PrivateIpAddress"`
		} `json:"PrivateIpAddresses"`
		RequesterManaged bool          `json:"RequesterManaged"`
		Ipv6Addresses    []interface{} `json:"Ipv6Addresses"`
		PrivateDNSName   string        `json:"PrivateDnsName,omitempty"`
		AvailabilityZone string        `json:"AvailabilityZone"`
		Attachment       struct {
			Status              string    `json:"Status"`
			DeviceIndex         int       `json:"DeviceIndex"`
			AttachTime          time.Time `json:"AttachTime"`
			InstanceID          string    `json:"InstanceId"`
			DeleteOnTermination bool      `json:"DeleteOnTermination"`
			AttachmentID        string    `json:"AttachmentId"`
			InstanceOwnerID     string    `json:"InstanceOwnerId"`
		} `json:"Attachment"`
		Groups []struct {
			GroupName string `json:"GroupName"`
			GroupID   string `json:"GroupId"`
		} `json:"Groups"`
		SubnetID         string        `json:"SubnetId"`
		OwnerID          string        `json:"OwnerId"`
		TagSet           []interface{} `json:"TagSet"`
		PrivateIPAddress string        `json:"PrivateIpAddress"`
	} `json:"NetworkInterfaces"`
}

type DescribeSnapshots added in v1.12.0

type DescribeSnapshots struct {
	Snapshots []struct {
		DataEncryptionKeyID string    `json:"DataEncryptionKeyId"`
		Description         string    `json:"Description"`
		Encrypted           bool      `json:"Encrypted"`
		KMSKeyID            string    `json:"KmsKeyId"`
		OwnerAlias          string    `json:"OwnerAlias"`
		OwnerID             string    `json:"OwnerId"`
		Progress            string    `json:"Progress"`
		SnapshotID          string    `json:"SnapshotId"`
		StartTime           time.Time `json:"StartTime"`
		State               string    `json:"State"`
		StateMessage        string    `json:"StateMessage"`
		TagSet              []struct {
			Key   string `json:"Key"`
			Value string `json:"Value"`
		} `json:"Tags"`
		VolumeID   string `json:"VolumeId"`
		VolumeSize int    `json:"VolumeSize"`
	} `json:"Snapshots"`
}

type DescribeTasks added in v1.12.0

type DescribeTasks struct {
	Tasks []struct {
		Attachments []struct {
			ID      string `json:"id"`
			Type    string `json:"type"`
			Status  string `json:"status"`
			Details []struct {
				Name  string `json:"name"`
				Value string `json:"value"`
			} `json:"details"`
		} `json:"attachments"`
		Attributes []struct {
			Name  string `json:"name"`
			Value string `json:"value"`
		} `json:"attributes"`
		AvailabilityZone string `json:"availabilityZone"`
		ClusterArn       string `json:"clusterArn"`
		Connectivity     string `json:"connectivity"`
		ConnectivityAt   string `json:"connectivityAt"`
		Containers       []struct {
			ContainerArn      string        `json:"containerArn"`
			TaskArn           string        `json:"taskArn"`
			Name              string        `json:"name"`
			Image             string        `json:"image"`
			RuntimeID         string        `json:"runtimeId"`
			LastStatus        string        `json:"lastStatus"`
			NetworkBindings   []interface{} `json:"networkBindings"`
			NetworkInterfaces []struct {
				AttachmentID       string `json:"attachmentId"`
				PrivateIpv4Address string `json:"privateIpv4Address"`
			} `json:"networkInterfaces"`
			HealthStatus string `json:"healthStatus"`
			CPU          string `json:"cpu"`
			Memory       string `json:"memory"`
		} `json:"containers"`
		CPU                  string `json:"cpu"`
		CreatedAt            string `json:"createdAt"`
		DesiredStatus        string `json:"desiredStatus"`
		EnableExecuteCommand bool   `json:"enableExecuteCommand"`
		Group                string `json:"group"`
		HealthStatus         string `json:"healthStatus"`
		LastStatus           string `json:"lastStatus"`
		LaunchType           string `json:"launchType"`
		Memory               string `json:"memory"`
		Overrides            struct {
			ContainerOverrides []struct {
				Name string `json:"name"`
			} `json:"containerOverrides"`
			InferenceAcceleratorOverrides []interface{} `json:"inferenceAcceleratorOverrides"`
		} `json:"overrides"`
		PlatformVersion   string        `json:"platformVersion"`
		PlatformFamily    string        `json:"platformFamily"`
		PullStartedAt     string        `json:"pullStartedAt"`
		PullStoppedAt     string        `json:"pullStoppedAt"`
		StartedAt         string        `json:"startedAt"`
		StartedBy         string        `json:"startedBy"`
		Tags              []interface{} `json:"tags"`
		TaskArn           string        `json:"taskArn"`
		TaskDefinitionArn string        `json:"taskDefinitionArn"`
		Version           int           `json:"version"`
		EphemeralStorage  struct {
			SizeInGiB int `json:"sizeInGiB"`
		} `json:"ephemeralStorage"`
	} `json:"tasks"`
	Failures []interface{} `json:"failures"`
}

type DescribeVolumes added in v1.12.0

type DescribeVolumes struct {
	Volumes []struct {
		Attachments []struct {
			AttachTime          time.Time `json:"AttachTime"`
			DeleteOnTermination bool      `json:"DeleteOnTermination"`
			Device              string    `json:"Device"`
			InstanceID          string    `json:"InstanceId"`
			State               string    `json:"State"`
			VolumeID            string    `json:"VolumeId"`
		} `json:"Attachments"`
		AvailabilityZone string `json:"AvailabilityZone"`
		CreateTime       string `json:"CreateTime"`
		Encrypted        bool   `json:"Encrypted"`
		KMSKeyID         string `json:"KmsKeyId"`
		Size             int    `json:"Size"`
		SnapshotID       string `json:"SnapshotId"`
		State            string `json:"State"`
		VolumeID         string `json:"VolumeId"`
	} `json:"Volumes"`
}

type DynamoDBClientInterface

type DynamoDBClientInterface interface {
	ListTables(context.Context, *dynamodb.ListTablesInput, ...func(*dynamodb.Options)) (*dynamodb.ListTablesOutput, error)
	DescribeTable(context.Context, *dynamodb.DescribeTableInput, ...func(*dynamodb.Options)) (*dynamodb.DescribeTableOutput, error)
}

type EKSClientInterface

type EKSClientInterface interface {
	DescribeCluster(context.Context, *eks.DescribeClusterInput, ...func(*eks.Options)) (*eks.DescribeClusterOutput, error)
	ListClusters(context.Context, *eks.ListClustersInput, ...func(*eks.Options)) (*eks.ListClustersOutput, error)
	DescribeNodegroup(context.Context, *eks.DescribeNodegroupInput, ...func(*eks.Options)) (*eks.DescribeNodegroupOutput, error)
	ListNodegroups(context.Context, *eks.ListNodegroupsInput, ...func(*eks.Options)) (*eks.ListNodegroupsOutput, error)
}

type GrafanaClientInterface

type GrafanaClientInterface interface {
	ListWorkspaces(context.Context, *grafana.ListWorkspacesInput, ...func(*grafana.Options)) (*grafana.ListWorkspacesOutput, error)
}

type ListTasks added in v1.12.0

type ListTasks struct {
	TaskArns []string `json:"taskArns"`
}

type MQClientInterface

type MQClientInterface interface {
	ListBrokers(context.Context, *mq.ListBrokersInput, ...func(*mq.Options)) (*mq.ListBrokersOutput, error)
}

type MockedAWSAPIGatewayClient added in v1.12.0

type MockedAWSAPIGatewayClient struct {
}

func (*MockedAWSAPIGatewayClient) GetBasePathMappings added in v1.13.1

func (*MockedAWSAPIGatewayClient) GetDomainNames added in v1.13.1

func (*MockedAWSAPIGatewayClient) GetMethod added in v1.13.1

func (*MockedAWSAPIGatewayClient) GetResources added in v1.13.1

func (*MockedAWSAPIGatewayClient) GetRestApis added in v1.12.0

func (*MockedAWSAPIGatewayClient) GetStages added in v1.13.1

func (*MockedAWSAPIGatewayClient) GetUsagePlanKeys added in v1.13.1

func (*MockedAWSAPIGatewayClient) GetUsagePlans added in v1.13.1

type MockedAWSAPIGatewayv2Client added in v1.12.0

type MockedAWSAPIGatewayv2Client struct {
}

func (*MockedAWSAPIGatewayv2Client) GetApiMappings added in v1.13.1

func (*MockedAWSAPIGatewayv2Client) GetApis added in v1.12.0

func (*MockedAWSAPIGatewayv2Client) GetDomainNames added in v1.13.1

func (*MockedAWSAPIGatewayv2Client) GetRoutes added in v1.13.1

func (*MockedAWSAPIGatewayv2Client) GetStages added in v1.13.1

type MockedAWSAthenaClient added in v1.12.0

type MockedAWSAthenaClient struct {
}

func (*MockedAWSAthenaClient) ListDataCatalogs added in v1.12.0

func (m *MockedAWSAthenaClient) ListDataCatalogs(ctx context.Context, input *athena.ListDataCatalogsInput, options ...func(*athena.Options)) (*athena.ListDataCatalogsOutput, error)

func (*MockedAWSAthenaClient) ListDatabases added in v1.12.0

func (m *MockedAWSAthenaClient) ListDatabases(ctx context.Context, input *athena.ListDatabasesInput, options ...func(*athena.Options)) (*athena.ListDatabasesOutput, error)

type MockedAWSCloud9Client added in v1.12.3

type MockedAWSCloud9Client struct {
}

func (*MockedAWSCloud9Client) DescribeEnvironments added in v1.12.3

func (m *MockedAWSCloud9Client) DescribeEnvironments(ctx context.Context, input *cloud9.DescribeEnvironmentsInput, options ...func(*cloud9.Options)) (*cloud9.DescribeEnvironmentsOutput, error)

func (*MockedAWSCloud9Client) ListEnvironments added in v1.12.3

func (m *MockedAWSCloud9Client) ListEnvironments(ctx context.Context, input *cloud9.ListEnvironmentsInput, options ...func(*cloud9.Options)) (*cloud9.ListEnvironmentsOutput, error)

type MockedAWSCloudFrontClient added in v1.12.0

type MockedAWSCloudFrontClient struct {
}

func (*MockedAWSCloudFrontClient) ListDistributions added in v1.12.0

type MockedAWSCodeArtifactClient added in v1.12.0

type MockedAWSCodeArtifactClient struct {
}

func (*MockedAWSCodeArtifactClient) ListDomains added in v1.12.0

func (*MockedAWSCodeArtifactClient) ListRepositories added in v1.12.0

type MockedAWSCodeCommitClient added in v1.12.0

type MockedAWSCodeCommitClient struct {
}

func (*MockedAWSCodeCommitClient) ListRepositories added in v1.12.0

type MockedAWSDocsDBClient added in v1.12.0

type MockedAWSDocsDBClient struct {
}

func (*MockedAWSDocsDBClient) DescribeDBClusters added in v1.12.0

func (m *MockedAWSDocsDBClient) DescribeDBClusters(ctx context.Context, input *docdb.DescribeDBClustersInput, options ...func(*docdb.Options)) (*docdb.DescribeDBClustersOutput, error)

type MockedAWSDynamoDBClient added in v1.12.0

type MockedAWSDynamoDBClient struct {
}

func (*MockedAWSDynamoDBClient) DescribeTable added in v1.12.0

func (*MockedAWSDynamoDBClient) ListTables added in v1.12.0

type MockedAWSEksClient added in v1.12.0

type MockedAWSEksClient struct {
}

func (*MockedAWSEksClient) DescribeCluster added in v1.12.0

func (m *MockedAWSEksClient) DescribeCluster(ctx context.Context, input *eks.DescribeClusterInput, options ...func(*eks.Options)) (*eks.DescribeClusterOutput, error)

func (*MockedAWSEksClient) DescribeNodegroup added in v1.12.0

func (m *MockedAWSEksClient) DescribeNodegroup(ctx context.Context, input *eks.DescribeNodegroupInput, options ...func(*eks.Options)) (*eks.DescribeNodegroupOutput, error)

func (*MockedAWSEksClient) ListClusters added in v1.12.0

func (m *MockedAWSEksClient) ListClusters(ctx context.Context, input *eks.ListClustersInput, options ...func(*eks.Options)) (*eks.ListClustersOutput, error)

func (*MockedAWSEksClient) ListNodegroups added in v1.12.0

func (m *MockedAWSEksClient) ListNodegroups(ctx context.Context, input *eks.ListNodegroupsInput, options ...func(*eks.Options)) (*eks.ListNodegroupsOutput, error)

type MockedAppRunnerClient added in v1.12.0

type MockedAppRunnerClient struct {
}

func (*MockedAppRunnerClient) ListServices added in v1.12.0

type MockedCloudformationClient added in v1.12.0

type MockedCloudformationClient struct {
	// contains filtered or unexported fields
}

func (*MockedCloudformationClient) DescribeStacks added in v1.12.0

func (*MockedCloudformationClient) GetTemplate added in v1.12.0

func (*MockedCloudformationClient) ListStacks added in v1.12.0

type MockedCodeBuildClient added in v1.12.0

type MockedCodeBuildClient struct {
}

func (*MockedCodeBuildClient) GetResourcePolicy added in v1.12.3

func (*MockedCodeBuildClient) ListProjects added in v1.12.0

type MockedCodedeployClient added in v1.12.0

type MockedCodedeployClient struct {
}

func (*MockedCodedeployClient) GetApplication added in v1.12.0

func (*MockedCodedeployClient) GetDeployment added in v1.12.0

func (*MockedCodedeployClient) GetDeploymentConfig added in v1.12.0

func (*MockedCodedeployClient) ListApplications added in v1.12.0

func (*MockedCodedeployClient) ListDeploymentConfigs added in v1.12.0

func (*MockedCodedeployClient) ListDeployments added in v1.12.0

type MockedDataPipelineClient added in v1.12.0

type MockedDataPipelineClient struct {
}

func (*MockedDataPipelineClient) ListPipelines added in v1.12.0

type MockedEC2Client2 added in v1.12.0

type MockedEC2Client2 struct {
	// contains filtered or unexported fields
}

func (*MockedEC2Client2) DescribeImages added in v1.12.0

func (c *MockedEC2Client2) DescribeImages(ctx context.Context, input *ec2.DescribeImagesInput, f ...func(o *ec2.Options)) (*ec2.DescribeImagesOutput, error)

func (*MockedEC2Client2) DescribeInstanceAttribute added in v1.12.3

func (c *MockedEC2Client2) DescribeInstanceAttribute(ctx context.Context, input *ec2.DescribeInstanceAttributeInput, f ...func(o *ec2.Options)) (*ec2.DescribeInstanceAttributeOutput, error)

func (*MockedEC2Client2) DescribeInstances added in v1.12.0

func (c *MockedEC2Client2) DescribeInstances(ctx context.Context, input *ec2.DescribeInstancesInput, f ...func(o *ec2.Options)) (*ec2.DescribeInstancesOutput, error)

func (*MockedEC2Client2) DescribeNetworkInterfaces added in v1.12.0

func (c *MockedEC2Client2) DescribeNetworkInterfaces(ctx context.Context, input *ec2.DescribeNetworkInterfacesInput, f ...func(o *ec2.Options)) (*ec2.DescribeNetworkInterfacesOutput, error)

func (*MockedEC2Client2) DescribeSnapshots added in v1.12.0

func (c *MockedEC2Client2) DescribeSnapshots(ctx context.Context, input *ec2.DescribeSnapshotsInput, f ...func(o *ec2.Options)) (*ec2.DescribeSnapshotsOutput, error)

func (*MockedEC2Client2) DescribeVolumes added in v1.12.0

func (c *MockedEC2Client2) DescribeVolumes(ctx context.Context, input *ec2.DescribeVolumesInput, f ...func(o *ec2.Options)) (*ec2.DescribeVolumesOutput, error)

type MockedECRClient added in v1.12.0

type MockedECRClient struct {
}

func (*MockedECRClient) DescribeImages added in v1.12.0

func (m *MockedECRClient) DescribeImages(ctx context.Context, input *ecr.DescribeImagesInput, options ...func(*ecr.Options)) (*ecr.DescribeImagesOutput, error)

func (*MockedECRClient) DescribeRepositories added in v1.12.0

func (m *MockedECRClient) DescribeRepositories(ctx context.Context, input *ecr.DescribeRepositoriesInput, options ...func(*ecr.Options)) (*ecr.DescribeRepositoriesOutput, error)

func (*MockedECRClient) GetRepositoryPolicy added in v1.12.0

func (m *MockedECRClient) GetRepositoryPolicy(ctx context.Context, input *ecr.GetRepositoryPolicyInput, options ...func(*ecr.Options)) (*ecr.GetRepositoryPolicyOutput, error)

type MockedECSClient added in v1.12.0

type MockedECSClient struct {
	// contains filtered or unexported fields
}

func (*MockedECSClient) DescribeTaskDefinition added in v1.12.0

func (c *MockedECSClient) DescribeTaskDefinition(ctx context.Context, input *ecs.DescribeTaskDefinitionInput, f ...func(o *ecs.Options)) (*ecs.DescribeTaskDefinitionOutput, error)

func (*MockedECSClient) DescribeTasks added in v1.12.0

func (c *MockedECSClient) DescribeTasks(ctx context.Context, input *ecs.DescribeTasksInput, f ...func(*ecs.Options)) (*ecs.DescribeTasksOutput, error)

func (*MockedECSClient) ListClusters added in v1.12.0

func (*MockedECSClient) ListServices added in v1.12.0

func (c *MockedECSClient) ListServices(ctx context.Context, input *ecs.ListServicesInput, f ...func(*ecs.Options)) (*ecs.ListServicesOutput, error)

func (*MockedECSClient) ListTasks added in v1.12.0

func (c *MockedECSClient) ListTasks(ctx context.Context, input *ecs.ListTasksInput, f ...func(*ecs.Options)) (*ecs.ListTasksOutput, error)

type MockedEMRClient added in v1.12.0

type MockedEMRClient struct {
}

func (*MockedEMRClient) ListClusters added in v1.12.0

func (m *MockedEMRClient) ListClusters(ctx context.Context, input *emr.ListClustersInput, options ...func(*emr.Options)) (*emr.ListClustersOutput, error)

func (*MockedEMRClient) ListInstances added in v1.12.0

func (m *MockedEMRClient) ListInstances(ctx context.Context, input *emr.ListInstancesInput, options ...func(*emr.Options)) (*emr.ListInstancesOutput, error)

type MockedEfsClient added in v1.12.0

type MockedEfsClient struct {
}

func (*MockedEfsClient) DescribeAccessPoints added in v1.12.0

func (m *MockedEfsClient) DescribeAccessPoints(ctx context.Context, input *efs.DescribeAccessPointsInput, options ...func(*efs.Options)) (*efs.DescribeAccessPointsOutput, error)

func (*MockedEfsClient) DescribeFileSystems added in v1.12.0

func (m *MockedEfsClient) DescribeFileSystems(ctx context.Context, input *efs.DescribeFileSystemsInput, options ...func(*efs.Options)) (*efs.DescribeFileSystemsOutput, error)

func (*MockedEfsClient) DescribeMountTargets added in v1.12.0

func (m *MockedEfsClient) DescribeMountTargets(ctx context.Context, input *efs.DescribeMountTargetsInput, options ...func(*efs.Options)) (*efs.DescribeMountTargetsOutput, error)

type MockedElasticBeanstalkClient added in v1.12.0

type MockedElasticBeanstalkClient struct {
}

func (*MockedElasticBeanstalkClient) DescribeApplications added in v1.12.0

type MockedElasticacheClient added in v1.12.0

type MockedElasticacheClient struct {
}

func (*MockedElasticacheClient) DescribeCacheClusters added in v1.12.0

type MockedElbClient added in v1.12.0

type MockedElbClient struct {
}

func (*MockedElbClient) DescribeLoadBalancers added in v1.12.0

type MockedElbv2Client added in v1.12.0

type MockedElbv2Client struct {
}

func (*MockedElbv2Client) DescribeLoadBalancers added in v1.12.0

type MockedGlueClient added in v1.12.0

type MockedGlueClient struct {
}

func (*MockedGlueClient) GetDatabases added in v1.12.0

func (m *MockedGlueClient) GetDatabases(ctx context.Context, input *glue.GetDatabasesInput, options ...func(*glue.Options)) (*glue.GetDatabasesOutput, error)

func (*MockedGlueClient) GetTables added in v1.12.0

func (m *MockedGlueClient) GetTables(ctx context.Context, input *glue.GetTablesInput, options ...func(*glue.Options)) (*glue.GetTablesOutput, error)

func (*MockedGlueClient) ListDevEndpoints added in v1.12.0

func (m *MockedGlueClient) ListDevEndpoints(ctx context.Context, input *glue.ListDevEndpointsInput, options ...func(*glue.Options)) (*glue.ListDevEndpointsOutput, error)

func (*MockedGlueClient) ListJobs added in v1.12.0

func (m *MockedGlueClient) ListJobs(ctx context.Context, input *glue.ListJobsInput, options ...func(*glue.Options)) (*glue.ListJobsOutput, error)

type MockedGrafanaClient added in v1.12.0

type MockedGrafanaClient struct {
}

func (*MockedGrafanaClient) ListWorkspaces added in v1.12.0

func (m *MockedGrafanaClient) ListWorkspaces(ctx context.Context, input *grafana.ListWorkspacesInput, options ...func(*grafana.Options)) (*grafana.ListWorkspacesOutput, error)

type MockedIAMClient added in v1.12.0

type MockedIAMClient struct {
}

func (*MockedIAMClient) GetAccountAuthorizationDetails added in v1.12.0

func (m *MockedIAMClient) GetAccountAuthorizationDetails(ctx context.Context, params *iam.GetAccountAuthorizationDetailsInput, optFns ...func(*iam.Options)) (*iam.GetAccountAuthorizationDetailsOutput, error)

func (*MockedIAMClient) ListAccessKeys added in v1.12.0

func (m *MockedIAMClient) ListAccessKeys(ctx context.Context, input *iam.ListAccessKeysInput, options ...func(*iam.Options)) (*iam.ListAccessKeysOutput, error)

func (*MockedIAMClient) ListGroups added in v1.12.0

func (m *MockedIAMClient) ListGroups(ctx context.Context, input *iam.ListGroupsInput, options ...func(*iam.Options)) (*iam.ListGroupsOutput, error)

func (*MockedIAMClient) ListInstanceProfiles added in v1.12.0

func (m *MockedIAMClient) ListInstanceProfiles(ctx context.Context, params *iam.ListInstanceProfilesInput, optFns ...func(*iam.Options)) (*iam.ListInstanceProfilesOutput, error)

func (*MockedIAMClient) ListRoles added in v1.12.0

func (m *MockedIAMClient) ListRoles(ctx context.Context, input *iam.ListRolesInput, options ...func(*iam.Options)) (*iam.ListRolesOutput, error)

func (*MockedIAMClient) ListUsers added in v1.12.0

func (m *MockedIAMClient) ListUsers(ctx context.Context, input *iam.ListUsersInput, options ...func(*iam.Options)) (*iam.ListUsersOutput, error)

func (*MockedIAMClient) SimulatePrincipalPolicy added in v1.12.0

func (m *MockedIAMClient) SimulatePrincipalPolicy(ctx context.Context, params *iam.SimulatePrincipalPolicyInput, optFns ...func(*iam.Options)) (*iam.SimulatePrincipalPolicyOutput, error)

type MockedKinesisClient added in v1.12.0

type MockedKinesisClient struct {
}

func (*MockedKinesisClient) ListStreams added in v1.12.0

func (m *MockedKinesisClient) ListStreams(ctx context.Context, input *kinesis.ListStreamsInput, options ...func(*kinesis.Options)) (*kinesis.ListStreamsOutput, error)

type MockedLambdaClient added in v1.12.0

type MockedLambdaClient struct {
}

func (*MockedLambdaClient) GetFunction added in v1.12.0

func (m *MockedLambdaClient) GetFunction(ctx context.Context, input *lambda.GetFunctionInput, options ...func(*lambda.Options)) (*lambda.GetFunctionOutput, error)

func (*MockedLambdaClient) GetFunctionUrlConfig added in v1.12.0

func (m *MockedLambdaClient) GetFunctionUrlConfig(ctx context.Context, input *lambda.GetFunctionInput, options ...func(*lambda.Options)) (*lambda.GetFunctionUrlConfigOutput, error)

func (*MockedLambdaClient) ListFunctions added in v1.12.0

func (m *MockedLambdaClient) ListFunctions(ctx context.Context, input *lambda.ListFunctionsInput, options ...func(*lambda.Options)) (*lambda.ListFunctionsOutput, error)

type MockedLightsailClient added in v1.12.0

type MockedLightsailClient struct {
}

func (*MockedLightsailClient) GetContainerServices added in v1.12.0

func (*MockedLightsailClient) GetInstances added in v1.12.0

type MockedMQClient added in v1.12.0

type MockedMQClient struct {
}

func (*MockedMQClient) ListBrokers added in v1.12.0

func (m *MockedMQClient) ListBrokers(ctx context.Context, input *mq.ListBrokersInput, options ...func(*mq.Options)) (*mq.ListBrokersOutput, error)

type MockedNeptuneClient added in v1.13.4

type MockedNeptuneClient struct {
}

func (*MockedNeptuneClient) DescribeDBClusters added in v1.13.4

func (m *MockedNeptuneClient) DescribeDBClusters(ctx context.Context, params *neptune.DescribeDBClustersInput, optFns ...func(*neptune.Options)) (*neptune.DescribeDBClustersOutput, error)

type MockedOpenSearchClient added in v1.12.0

type MockedOpenSearchClient struct {
}

func (*MockedOpenSearchClient) DescribeDomain added in v1.12.0

func (*MockedOpenSearchClient) DescribeDomainConfig added in v1.12.0

func (*MockedOpenSearchClient) ListDomainNames added in v1.12.0

type MockedOrgClient added in v1.12.0

type MockedOrgClient struct {
}

func (*MockedOrgClient) DescribeOrganization added in v1.12.0

func (*MockedOrgClient) ListAccounts added in v1.12.0

type MockedRDSClient added in v1.13.4

type MockedRDSClient struct {
}

func (*MockedRDSClient) DescribeDBClusters added in v1.13.4

func (m *MockedRDSClient) DescribeDBClusters(ctx context.Context, input *rds.DescribeDBClustersInput, options ...func(*rds.Options)) (*rds.DescribeDBClustersOutput, error)

func (*MockedRDSClient) DescribeDBInstances added in v1.13.4

func (m *MockedRDSClient) DescribeDBInstances(ctx context.Context, input *rds.DescribeDBInstancesInput, options ...func(*rds.Options)) (*rds.DescribeDBInstancesOutput, error)

type MockedRedshiftClient added in v1.12.0

type MockedRedshiftClient struct {
}

func (*MockedRedshiftClient) DescribeClusters added in v1.12.0

type MockedRoute53Client added in v1.12.0

type MockedRoute53Client struct {
}

func (*MockedRoute53Client) ListHostedZones added in v1.12.0

func (m *MockedRoute53Client) ListHostedZones(ctx context.Context, input *route53.ListHostedZonesInput, options ...func(*route53.Options)) (*route53.ListHostedZonesOutput, error)

func (*MockedRoute53Client) ListResourceRecordSets added in v1.12.0

type MockedS3Client added in v1.12.0

type MockedS3Client struct {
}

func (*MockedS3Client) GetBucketLocation added in v1.12.0

func (m *MockedS3Client) GetBucketLocation(ctx context.Context, input *s3.GetBucketLocationInput, options ...func(*s3.Options)) (*s3.GetBucketLocationOutput, error)

func (*MockedS3Client) GetBucketPolicy added in v1.12.0

func (m *MockedS3Client) GetBucketPolicy(ctx context.Context, input *s3.GetBucketPolicyInput, options ...func(*s3.Options)) (*s3.GetBucketPolicyOutput, error)

func (*MockedS3Client) GetPublicAccessBlock added in v1.12.0

func (m *MockedS3Client) GetPublicAccessBlock(ctx context.Context, input *s3.GetPublicAccessBlockInput, options ...func(*s3.Options)) (*s3.GetPublicAccessBlockOutput, error)

func (*MockedS3Client) ListBuckets added in v1.12.0

func (m *MockedS3Client) ListBuckets(ctx context.Context, input *s3.ListBucketsInput, options ...func(*s3.Options)) (*s3.ListBucketsOutput, error)

type MockedSNSClient added in v1.12.0

type MockedSNSClient struct {
}

func (*MockedSNSClient) GetTopicAttributes added in v1.12.0

func (m *MockedSNSClient) GetTopicAttributes(ctx context.Context, input *sns.GetTopicAttributesInput, options ...func(*sns.Options)) (*sns.GetTopicAttributesOutput, error)

func (*MockedSNSClient) ListSubscriptions added in v1.12.0

func (m *MockedSNSClient) ListSubscriptions(ctx context.Context, input *sns.ListSubscriptionsInput, options ...func(*sns.Options)) (*sns.ListSubscriptionsOutput, error)

func (*MockedSNSClient) ListSubscriptionsByTopic added in v1.12.0

func (m *MockedSNSClient) ListSubscriptionsByTopic(ctx context.Context, input *sns.ListSubscriptionsByTopicInput, options ...func(*sns.Options)) (*sns.ListSubscriptionsByTopicOutput, error)

func (*MockedSNSClient) ListTopics added in v1.12.0

func (m *MockedSNSClient) ListTopics(ctx context.Context, input *sns.ListTopicsInput, options ...func(*sns.Options)) (*sns.ListTopicsOutput, error)

type MockedSQSClient added in v1.12.0

type MockedSQSClient struct {
}

func (*MockedSQSClient) GetQueueAttributes added in v1.12.0

func (m *MockedSQSClient) GetQueueAttributes(ctx context.Context, input *sqs.GetQueueAttributesInput, options ...func(*sqs.Options)) (*sqs.GetQueueAttributesOutput, error)

func (*MockedSQSClient) ListQueues added in v1.12.0

func (m *MockedSQSClient) ListQueues(ctx context.Context, input *sqs.ListQueuesInput, options ...func(*sqs.Options)) (*sqs.ListQueuesOutput, error)

type MockedSSMClient added in v1.12.0

type MockedSSMClient struct {
}

func (*MockedSSMClient) DescribeParameters added in v1.12.0

func (m *MockedSSMClient) DescribeParameters(ctx context.Context, input *ssm.DescribeParametersInput, options ...func(*ssm.Options)) (*ssm.DescribeParametersOutput, error)

type MockedSecretsManagerClient added in v1.12.0

type MockedSecretsManagerClient struct {
}

func (*MockedSecretsManagerClient) GetResourcePolicy added in v1.12.3

func (*MockedSecretsManagerClient) ListSecrets added in v1.12.0

type MockedStepFunctionsClient added in v1.12.0

type MockedStepFunctionsClient struct {
}

func (*MockedStepFunctionsClient) ListStateMachines added in v1.12.0

func (m *MockedStepFunctionsClient) ListStateMachines(ctx context.Context, input *sfn.ListStateMachinesInput, options ...func(*sfn.Options)) (*sfn.ListStateMachinesOutput, error)

type NeptuneClientInterface added in v1.13.4

type NeptuneClientInterface interface {
	DescribeDBClusters(ctx context.Context, params *neptune.DescribeDBClustersInput, optFns ...func(*neptune.Options)) (*neptune.DescribeDBClustersOutput, error)
}

type OrganizationsClientInterface

type OrganizationsClientInterface interface {
	ListAccounts(ctx context.Context, params *organizations.ListAccountsInput, optFns ...func(*organizations.Options)) (*organizations.ListAccountsOutput, error)
	DescribeOrganization(ctx context.Context, params *organizations.DescribeOrganizationInput, optFns ...func(*organizations.Options)) (*organizations.DescribeOrganizationOutput, error)
}

type RDSClientInterface

type RDSClientInterface interface {
	DescribeDBInstances(context.Context, *rds.DescribeDBInstancesInput, ...func(*rds.Options)) (*rds.DescribeDBInstancesOutput, error)
	DescribeDBClusters(context.Context, *rds.DescribeDBClustersInput, ...func(*rds.Options)) (*rds.DescribeDBClustersOutput, error)
}

type Stacks added in v1.12.0

type Stacks struct {
	Stacks []struct {
		StackID           string            `json:"StackId"`
		Description       string            `json:"Description"`
		Tags              []interface{}     `json:"Tags"`
		Outputs           []types.Output    `json:"Outputs"`
		Parameters        []types.Parameter `json:"Parameters"`
		StackStatusReason interface{}       `json:"StackStatusReason"`
		CreationTime      time.Time         `json:"CreationTime"`
		Capabilities      []interface{}     `json:"Capabilities"`
		StackName         string            `json:"StackName"`
		RoleArn           string            `json:"RoleArn"`
		StackStatus       string            `json:"StackStatus"`
		DisableRollback   bool              `json:"DisableRollback"`
	} `json:"Stacks"`
}

type StepFunctionsClientInterface

type StepFunctionsClientInterface interface {
	ListStateMachines(context.Context, *sfn.ListStateMachinesInput, ...func(*sfn.Options)) (*sfn.ListStateMachinesOutput, error)
}

type TemplateBody added in v1.12.0

type TemplateBody struct {
	TemplateBody string `json:"TemplateBody"`
}

Jump to

Keyboard shortcuts

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