aws

package
v1.2.37-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudFormationApiClient

type CloudFormationApiClient interface {
	CreateChangeSet(ctx context.Context,
		params *cloudformation.CreateChangeSetInput, optFns ...func(*cloudformation.Options),
	) (*cloudformation.CreateChangeSetOutput, error)

	CreateStack(ctx context.Context,
		params *cloudformation.CreateStackInput, optFns ...func(*cloudformation.Options),
	) (*cloudformation.CreateStackOutput, error)

	DeleteStack(ctx context.Context,
		params *cloudformation.DeleteStackInput, optFns ...func(*cloudformation.Options),
	) (*cloudformation.DeleteStackOutput, error)

	DescribeChangeSet(ctx context.Context,
		params *cloudformation.DescribeChangeSetInput, optFns ...func(*cloudformation.Options),
	) (*cloudformation.DescribeChangeSetOutput, error)

	DescribeStackInstance(ctx context.Context,
		params *cloudformation.DescribeStackInstanceInput, optFns ...func(*cloudformation.Options),
	) (*cloudformation.DescribeStackInstanceOutput, error)

	DescribeStackSetOperation(ctx context.Context,
		params *cloudformation.DescribeStackSetOperationInput, optFns ...func(*cloudformation.Options),
	) (*cloudformation.DescribeStackSetOperationOutput, error)

	DescribeStacks(ctx context.Context,
		params *cloudformation.DescribeStacksInput, optFns ...func(*cloudformation.Options),
	) (*cloudformation.DescribeStacksOutput, error)

	ExecuteChangeSet(ctx context.Context,
		params *cloudformation.ExecuteChangeSetInput, optFns ...func(*cloudformation.Options),
	) (*cloudformation.ExecuteChangeSetOutput, error)

	GetTemplateSummary(ctx context.Context,
		params *cloudformation.GetTemplateSummaryInput, optFns ...func(*cloudformation.Options),
	) (*cloudformation.GetTemplateSummaryOutput, error)

	ListStackInstanceResourceDrifts(ctx context.Context,
		params *cloudformation.ListStackInstanceResourceDriftsInput, optFns ...func(*cloudformation.Options),
	) (*cloudformation.ListStackInstanceResourceDriftsOutput, error)

	ListStackInstances(ctx context.Context,
		params *cloudformation.ListStackInstancesInput, optFns ...func(*cloudformation.Options),
	) (*cloudformation.ListStackInstancesOutput, error)

	ListStackSetOperationResults(ctx context.Context,
		params *cloudformation.ListStackSetOperationResultsInput, optFns ...func(*cloudformation.Options),
	) (*cloudformation.ListStackSetOperationResultsOutput, error)

	ListStackSetOperations(ctx context.Context,
		params *cloudformation.ListStackSetOperationsInput, optFns ...func(*cloudformation.Options),
	) (*cloudformation.ListStackSetOperationsOutput, error)

	ListStacks(ctx context.Context,
		params *cloudformation.ListStacksInput, optFns ...func(*cloudformation.Options),
	) (*cloudformation.ListStacksOutput, error)

	RollbackStack(ctx context.Context,
		params *cloudformation.RollbackStackInput, optFns ...func(*cloudformation.Options),
	) (*cloudformation.RollbackStackOutput, error)

	UpdateStack(ctx context.Context,
		params *cloudformation.UpdateStackInput, optFns ...func(*cloudformation.Options),
	) (*cloudformation.UpdateStackOutput, error)
}

type Ec2ApiClient

type Ec2ApiClient interface {
	DescribeSecurityGroups(ctx context.Context, params *ec2.DescribeSecurityGroupsInput, optFns ...func(*ec2.Options),
	) (*ec2.DescribeSecurityGroupsOutput, error)

	DescribeVpcAttribute(ctx context.Context, params *ec2.DescribeVpcAttributeInput, optFns ...func(*ec2.Options),
	) (*ec2.DescribeVpcAttributeOutput, error)

	DescribeAvailabilityZones(ctx context.Context,
		params *ec2.DescribeAvailabilityZonesInput, optFns ...func(*ec2.Options),
	) (*ec2.DescribeAvailabilityZonesOutput, error)

	DescribeRouteTables(ctx context.Context, params *ec2.DescribeRouteTablesInput, optFns ...func(*ec2.Options),
	) (*ec2.DescribeRouteTablesOutput, error)

	DescribeSubnets(ctx context.Context, params *ec2.DescribeSubnetsInput, optFns ...func(*ec2.Options),
	) (*ec2.DescribeSubnetsOutput, error)

	DescribeInstanceTypeOfferings(ctx context.Context,
		params *ec2.DescribeInstanceTypeOfferingsInput, optFns ...func(*ec2.Options),
	) (*ec2.DescribeInstanceTypeOfferingsOutput, error)
}

type IamApiClient

type IamApiClient interface {
	AttachRolePolicy(ctx context.Context,
		params *iam.AttachRolePolicyInput, optFns ...func(*iam.Options),
	) (*iam.AttachRolePolicyOutput, error)

	ChangePassword(ctx context.Context,
		params *iam.ChangePasswordInput, optFns ...func(*iam.Options),
	) (*iam.ChangePasswordOutput, error)

	CreateAccessKey(ctx context.Context,
		params *iam.CreateAccessKeyInput, optFns ...func(*iam.Options),
	) (*iam.CreateAccessKeyOutput, error)

	CreateOpenIDConnectProvider(ctx context.Context,
		params *iam.CreateOpenIDConnectProviderInput, optFns ...func(*iam.Options),
	) (*iam.CreateOpenIDConnectProviderOutput, error)
	CreatePolicy(ctx context.Context,
		params *iam.CreatePolicyInput, optFns ...func(*iam.Options),
	) (*iam.CreatePolicyOutput, error)
	CreatePolicyVersion(ctx context.Context,
		params *iam.CreatePolicyVersionInput, optFns ...func(*iam.Options),
	) (*iam.CreatePolicyVersionOutput, error)
	CreateRole(ctx context.Context,
		params *iam.CreateRoleInput, optFns ...func(*iam.Options),
	) (*iam.CreateRoleOutput, error)

	CreateUser(ctx context.Context,
		params *iam.CreateUserInput, optFns ...func(*iam.Options),
	) (*iam.CreateUserOutput, error)

	DeleteAccessKey(ctx context.Context,
		params *iam.DeleteAccessKeyInput, optFns ...func(*iam.Options),
	) (*iam.DeleteAccessKeyOutput, error)

	DeleteOpenIDConnectProvider(ctx context.Context,
		params *iam.DeleteOpenIDConnectProviderInput, optFns ...func(*iam.Options),
	) (*iam.DeleteOpenIDConnectProviderOutput, error)

	DeletePolicy(ctx context.Context,
		params *iam.DeletePolicyInput, optFns ...func(*iam.Options),
	) (*iam.DeletePolicyOutput, error)

	DeleteRolePolicy(ctx context.Context,
		params *iam.DeleteRolePolicyInput, optFns ...func(*iam.Options),
	) (*iam.DeleteRolePolicyOutput, error)

	DeletePolicyVersion(ctx context.Context,
		params *iam.DeletePolicyVersionInput, optFns ...func(*iam.Options),
	) (*iam.DeletePolicyVersionOutput, error)
	DeleteRole(ctx context.Context,
		params *iam.DeleteRoleInput, optFns ...func(*iam.Options),
	) (*iam.DeleteRoleOutput, error)
	DeleteRolePermissionsBoundary(ctx context.Context,
		params *iam.DeleteRolePermissionsBoundaryInput, optFns ...func(*iam.Options),
	) (*iam.DeleteRolePermissionsBoundaryOutput, error)

	DetachRolePolicy(ctx context.Context,
		params *iam.DetachRolePolicyInput, optFns ...func(*iam.Options),
	) (*iam.DetachRolePolicyOutput, error)

	GetOpenIDConnectProvider(ctx context.Context,
		params *iam.GetOpenIDConnectProviderInput, optFns ...func(*iam.Options),
	) (*iam.GetOpenIDConnectProviderOutput, error)
	GetPolicy(ctx context.Context,
		params *iam.GetPolicyInput, optFns ...func(*iam.Options),
	) (*iam.GetPolicyOutput, error)
	GetRole(ctx context.Context,
		params *iam.GetRoleInput, optFns ...func(*iam.Options),
	) (*iam.GetRoleOutput, error)
	GetUser(ctx context.Context,
		params *iam.GetUserInput, optFns ...func(*iam.Options),
	) (*iam.GetUserOutput, error)

	GetPolicyVersion(ctx context.Context,
		params *iam.GetPolicyVersionInput, optFns ...func(*iam.Options),
	) (*iam.GetPolicyVersionOutput, error)

	GetRolePolicy(ctx context.Context,
		params *iam.GetRolePolicyInput, optFns ...func(*iam.Options),
	) (*iam.GetRolePolicyOutput, error)

	ListOpenIDConnectProviders(ctx context.Context,
		params *iam.ListOpenIDConnectProvidersInput, optFns ...func(*iam.Options),
	) (*iam.ListOpenIDConnectProvidersOutput, error)

	ListOpenIDConnectProviderTags(ctx context.Context,
		params *iam.ListOpenIDConnectProviderTagsInput, optFns ...func(*iam.Options),
	) (*iam.ListOpenIDConnectProviderTagsOutput, error)

	ListAttachedRolePolicies(ctx context.Context,
		params *iam.ListAttachedRolePoliciesInput, optFns ...func(*iam.Options),
	) (*iam.ListAttachedRolePoliciesOutput, error)
	ListPolicyTags(ctx context.Context,
		params *iam.ListPolicyTagsInput, optFns ...func(*iam.Options),
	) (*iam.ListPolicyTagsOutput, error)
	ListPolicyVersions(ctx context.Context,
		params *iam.ListPolicyVersionsInput, optFns ...func(*iam.Options),
	) (*iam.ListPolicyVersionsOutput, error)
	ListRoles(context.Context,
		*iam.ListRolesInput, ...func(*iam.Options),
	) (*iam.ListRolesOutput, error)

	ListPolicies(ctx context.Context,
		params *iam.ListPoliciesInput, optFns ...func(*iam.Options),
	) (*iam.ListPoliciesOutput, error)

	ListInstanceProfilesForRole(ctx context.Context,
		params *iam.ListInstanceProfilesForRoleInput, optFns ...func(*iam.Options),
	) (*iam.ListInstanceProfilesForRoleOutput, error)

	ListRolePolicies(ctx context.Context,
		params *iam.ListRolePoliciesInput, optFns ...func(*iam.Options),
	) (*iam.ListRolePoliciesOutput, error)
	ListRoleTags(ctx context.Context,
		params *iam.ListRoleTagsInput, optFns ...func(*iam.Options),
	) (*iam.ListRoleTagsOutput, error)

	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)

	PutRolePermissionsBoundary(ctx context.Context,
		params *iam.PutRolePermissionsBoundaryInput, optFns ...func(*iam.Options),
	) (*iam.PutRolePermissionsBoundaryOutput, error)

	PutRolePolicy(ctx context.Context,
		params *iam.PutRolePolicyInput, optFns ...func(*iam.Options),
	) (*iam.PutRolePolicyOutput, error)

	TagPolicy(ctx context.Context,
		params *iam.TagPolicyInput, optFns ...func(*iam.Options),
	) (*iam.TagPolicyOutput, error)

	TagUser(ctx context.Context,
		params *iam.TagUserInput, optFns ...func(*iam.Options),
	) (*iam.TagUserOutput, error)

	TagRole(ctx context.Context,
		params *iam.TagRoleInput, optFns ...func(*iam.Options),
	) (*iam.TagRoleOutput, error)

	UpdateAssumeRolePolicy(ctx context.Context,
		params *iam.UpdateAssumeRolePolicyInput, optFns ...func(*iam.Options),
	) (*iam.UpdateAssumeRolePolicyOutput, error)
}

type OrganizationsApiClient

type OrganizationsApiClient interface {
	CloseAccount(ctx context.Context,
		params *organizations.CloseAccountInput, optFns ...func(*organizations.Options),
	) (*organizations.CloseAccountOutput, error)

	CreateOrganization(ctx context.Context,
		params *organizations.CreateOrganizationInput, optFns ...func(*organizations.Options),
	) (*organizations.CreateOrganizationOutput, error)

	CreatePolicy(ctx context.Context,
		params *organizations.CreatePolicyInput, optFns ...func(*organizations.Options),
	) (*organizations.CreatePolicyOutput, error)

	DeletePolicy(ctx context.Context,
		params *organizations.DeletePolicyInput, optFns ...func(*organizations.Options),
	) (*organizations.DeletePolicyOutput, error)

	DeleteResourcePolicy(ctx context.Context,
		params *organizations.DeleteResourcePolicyInput, optFns ...func(*organizations.Options),
	) (*organizations.DeleteResourcePolicyOutput, error)

	ListPolicies(ctx context.Context,
		params *organizations.ListPoliciesInput, optFns ...func(*organizations.Options),
	) (*organizations.ListPoliciesOutput, error)

	ListTagsForResource(ctx context.Context,
		params *organizations.ListTagsForResourceInput, optFns ...func(*organizations.Options),
	) (*organizations.ListTagsForResourceOutput, error)

	PutResourcePolicy(ctx context.Context,
		params *organizations.PutResourcePolicyInput, optFns ...func(*organizations.Options),
	) (*organizations.PutResourcePolicyOutput, error)

	TagResource(ctx context.Context,
		params *organizations.TagResourceInput, optFns ...func(*organizations.Options),
	) (*organizations.TagResourceOutput, error)

	UntagResource(ctx context.Context,
		params *organizations.UntagResourceInput, optFns ...func(*organizations.Options),
	) (*organizations.UntagResourceOutput, error)
}

type S3ApiClient

type S3ApiClient interface {
	CreateBucket(ctx context.Context,
		params *s3.CreateBucketInput, optFns ...func(*s3.Options),
	) (*s3.CreateBucketOutput, error)

	DeleteBucket(ctx context.Context,
		params *s3.DeleteBucketInput, optFns ...func(*s3.Options),
	) (*s3.DeleteBucketOutput, error)
	DeleteObject(ctx context.Context,
		params *s3.DeleteObjectInput, optFns ...func(*s3.Options),
	) (*s3.DeleteObjectOutput, error)

	HeadBucket(context.Context,
		*s3.HeadBucketInput, ...func(*s3.Options),
	) (*s3.HeadBucketOutput, error)

	ListObjects(ctx context.Context,
		params *s3.ListObjectsInput, optFns ...func(*s3.Options),
	) (*s3.ListObjectsOutput, error)

	PutObject(ctx context.Context,
		params *s3.PutObjectInput, optFns ...func(*s3.Options),
	) (*s3.PutObjectOutput, error)

	PutBucketTagging(ctx context.Context, params *s3.PutBucketTaggingInput, optFns ...func(*s3.Options),
	) (*s3.PutBucketTaggingOutput, error)

	PutPublicAccessBlock(ctx context.Context, params *s3.PutPublicAccessBlockInput, optFns ...func(*s3.Options),
	) (*s3.PutPublicAccessBlockOutput, error)

	PutBucketPolicy(ctx context.Context, params *s3.PutBucketPolicyInput, optFns ...func(*s3.Options),
	) (*s3.PutBucketPolicyOutput, error)
}

type ServiceQuotasApiClient

type ServiceQuotasApiClient interface {
	GetServiceQuota(ctx context.Context,
		params *servicequotas.GetServiceQuotaInput, optFns ...func(*servicequotas.Options),
	) (*servicequotas.GetServiceQuotaOutput, error)

	ListServiceQuotas(ctx context.Context,
		params *servicequotas.ListServiceQuotasInput, optFns ...func(*servicequotas.Options),
	) (*servicequotas.ListServiceQuotasOutput, error)
}

type StsApiClient

type StsApiClient interface {
	AssumeRole(ctx context.Context,
		params *sts.AssumeRoleInput, optFns ...func(*sts.Options),
	) (*sts.AssumeRoleOutput, error)

	AssumeRoleWithWebIdentity(ctx context.Context,
		params *sts.AssumeRoleWithWebIdentityInput, optFns ...func(*sts.Options),
	) (*sts.AssumeRoleWithWebIdentityOutput, error)

	GetCallerIdentity(ctx context.Context,
		params *sts.GetCallerIdentityInput, optFns ...func(*sts.Options),
	) (*sts.GetCallerIdentityOutput, error)
}

Jump to

Keyboard shortcuts

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