awsapi

package
v0.1.74 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IAMAPI

type IAMAPI interface {
	AddRoleToInstanceProfile(ctx context.Context, input *iamv2.AddRoleToInstanceProfileInput, optFns ...func(*iamv2.Options)) (*iamv2.AddRoleToInstanceProfileOutput, error)
	AttachRolePolicy(ctx context.Context, input *iamv2.AttachRolePolicyInput, optFns ...func(*iamv2.Options)) (*iamv2.AttachRolePolicyOutput, error)
	CreateInstanceProfile(ctx context.Context, input *iamv2.CreateInstanceProfileInput, optFns ...func(*iamv2.Options)) (*iamv2.CreateInstanceProfileOutput, error)
	CreateOpenIDConnectProvider(ctx context.Context, input *iamv2.CreateOpenIDConnectProviderInput, optFns ...func(*iamv2.Options)) (*iamv2.CreateOpenIDConnectProviderOutput, error)
	CreateRole(ctx context.Context, input *iamv2.CreateRoleInput, optFns ...func(*iamv2.Options)) (*iamv2.CreateRoleOutput, error)
	DeleteInstanceProfile(ctx context.Context, input *iamv2.DeleteInstanceProfileInput, optFns ...func(*iamv2.Options)) (*iamv2.DeleteInstanceProfileOutput, error)
	DeleteOpenIDConnectProvider(ctx context.Context, input *iamv2.DeleteOpenIDConnectProviderInput, optFns ...func(*iamv2.Options)) (*iamv2.DeleteOpenIDConnectProviderOutput, error)
	DeleteRole(ctx context.Context, input *iamv2.DeleteRoleInput, optFns ...func(*iamv2.Options)) (*iamv2.DeleteRoleOutput, error)
	DeleteRolePolicy(ctx context.Context, input *iamv2.DeleteRolePolicyInput, optFns ...func(*iamv2.Options)) (*iamv2.DeleteRolePolicyOutput, error)
	DetachRolePolicy(ctx context.Context, input *iamv2.DetachRolePolicyInput, optFns ...func(*iamv2.Options)) (*iamv2.DetachRolePolicyOutput, error)
	GetInstanceProfile(ctx context.Context, input *iamv2.GetInstanceProfileInput, optFns ...func(*iamv2.Options)) (*iamv2.GetInstanceProfileOutput, error)
	GetRole(ctx context.Context, input *iamv2.GetRoleInput, optFns ...func(*iamv2.Options)) (*iamv2.GetRoleOutput, error)
	GetRolePolicy(ctx context.Context, input *iamv2.GetRolePolicyInput, optFns ...func(*iamv2.Options)) (*iamv2.GetRolePolicyOutput, error)
	ListAttachedRolePolicies(ctx context.Context, input *iamv2.ListAttachedRolePoliciesInput, optFns ...func(*iamv2.Options)) (*iamv2.ListAttachedRolePoliciesOutput, error)
	ListOpenIDConnectProviders(ctx context.Context, input *iamv2.ListOpenIDConnectProvidersInput, optFns ...func(*iamv2.Options)) (*iamv2.ListOpenIDConnectProvidersOutput, error)
	ListRolePolicies(ctx context.Context, input *iamv2.ListRolePoliciesInput, optFns ...func(*iamv2.Options)) (*iamv2.ListRolePoliciesOutput, error)
	PutRolePolicy(ctx context.Context, input *iamv2.PutRolePolicyInput, optFns ...func(*iamv2.Options)) (*iamv2.PutRolePolicyOutput, error)
	RemoveRoleFromInstanceProfile(ctx context.Context, input *iamv2.RemoveRoleFromInstanceProfileInput, optFns ...func(*iamv2.Options)) (*iamv2.RemoveRoleFromInstanceProfileOutput, error)
}

IAMAPI defines the IAM operations used by HyperShift. Generated from: cmd/infra/aws/iam.go + delegatingclientgenerator extendedAPIs

This interface includes methods from IAM delegation policies as well as additional methods used by CLI tools with full credentials. Only the delegated subset is implemented by the delegating client; non-delegated methods will panic if called through the delegating path (matching v1 behavior).

type ROUTE53API

type ROUTE53API interface {
	AssociateVPCWithHostedZone(ctx context.Context, input *route53v2.AssociateVPCWithHostedZoneInput, optFns ...func(*route53v2.Options)) (*route53v2.AssociateVPCWithHostedZoneOutput, error)
	ChangeResourceRecordSets(ctx context.Context, input *route53v2.ChangeResourceRecordSetsInput, optFns ...func(*route53v2.Options)) (*route53v2.ChangeResourceRecordSetsOutput, error)
	CreateHostedZone(ctx context.Context, input *route53v2.CreateHostedZoneInput, optFns ...func(*route53v2.Options)) (*route53v2.CreateHostedZoneOutput, error)
	CreateVPCAssociationAuthorization(ctx context.Context, input *route53v2.CreateVPCAssociationAuthorizationInput, optFns ...func(*route53v2.Options)) (*route53v2.CreateVPCAssociationAuthorizationOutput, error)
	DeleteHostedZone(ctx context.Context, input *route53v2.DeleteHostedZoneInput, optFns ...func(*route53v2.Options)) (*route53v2.DeleteHostedZoneOutput, error)
	DisassociateVPCFromHostedZone(ctx context.Context, input *route53v2.DisassociateVPCFromHostedZoneInput, optFns ...func(*route53v2.Options)) (*route53v2.DisassociateVPCFromHostedZoneOutput, error)
	GetHostedZone(ctx context.Context, input *route53v2.GetHostedZoneInput, optFns ...func(*route53v2.Options)) (*route53v2.GetHostedZoneOutput, error)
	ListHostedZones(ctx context.Context, input *route53v2.ListHostedZonesInput, optFns ...func(*route53v2.Options)) (*route53v2.ListHostedZonesOutput, error)
	ListHostedZonesByVPC(ctx context.Context, input *route53v2.ListHostedZonesByVPCInput, optFns ...func(*route53v2.Options)) (*route53v2.ListHostedZonesByVPCOutput, error)
	ListResourceRecordSets(ctx context.Context, input *route53v2.ListResourceRecordSetsInput, optFns ...func(*route53v2.Options)) (*route53v2.ListResourceRecordSetsOutput, error)
}

ROUTE53API defines the ROUTE53 operations used by HyperShift. Generated from: cmd/infra/aws/iam.go + delegatingclientgenerator extendedAPIs

This interface includes methods from IAM delegation policies as well as additional methods used by CLI tools with full credentials. Only the delegated subset is implemented by the delegating client; non-delegated methods will panic if called through the delegating path (matching v1 behavior).

type S3API

type S3API interface {
	AbortMultipartUpload(ctx context.Context, input *s3v2.AbortMultipartUploadInput, optFns ...func(*s3v2.Options)) (*s3v2.AbortMultipartUploadOutput, error)
	CreateBucket(ctx context.Context, input *s3v2.CreateBucketInput, optFns ...func(*s3v2.Options)) (*s3v2.CreateBucketOutput, error)
	DeleteBucket(ctx context.Context, input *s3v2.DeleteBucketInput, optFns ...func(*s3v2.Options)) (*s3v2.DeleteBucketOutput, error)
	DeleteObject(ctx context.Context, input *s3v2.DeleteObjectInput, optFns ...func(*s3v2.Options)) (*s3v2.DeleteObjectOutput, error)
	DeleteObjects(ctx context.Context, input *s3v2.DeleteObjectsInput, optFns ...func(*s3v2.Options)) (*s3v2.DeleteObjectsOutput, error)
	GetBucketEncryption(ctx context.Context, input *s3v2.GetBucketEncryptionInput, optFns ...func(*s3v2.Options)) (*s3v2.GetBucketEncryptionOutput, error)
	GetBucketLifecycleConfiguration(ctx context.Context, input *s3v2.GetBucketLifecycleConfigurationInput, optFns ...func(*s3v2.Options)) (*s3v2.GetBucketLifecycleConfigurationOutput, error)
	GetBucketLocation(ctx context.Context, input *s3v2.GetBucketLocationInput, optFns ...func(*s3v2.Options)) (*s3v2.GetBucketLocationOutput, error)
	GetBucketTagging(ctx context.Context, input *s3v2.GetBucketTaggingInput, optFns ...func(*s3v2.Options)) (*s3v2.GetBucketTaggingOutput, error)
	GetObject(ctx context.Context, input *s3v2.GetObjectInput, optFns ...func(*s3v2.Options)) (*s3v2.GetObjectOutput, error)
	GetPublicAccessBlock(ctx context.Context, input *s3v2.GetPublicAccessBlockInput, optFns ...func(*s3v2.Options)) (*s3v2.GetPublicAccessBlockOutput, error)
	ListBuckets(ctx context.Context, input *s3v2.ListBucketsInput, optFns ...func(*s3v2.Options)) (*s3v2.ListBucketsOutput, error)
	ListMultipartUploads(ctx context.Context, input *s3v2.ListMultipartUploadsInput, optFns ...func(*s3v2.Options)) (*s3v2.ListMultipartUploadsOutput, error)
	ListObjectsV2(ctx context.Context, input *s3v2.ListObjectsV2Input, optFns ...func(*s3v2.Options)) (*s3v2.ListObjectsV2Output, error)
	PutBucketEncryption(ctx context.Context, input *s3v2.PutBucketEncryptionInput, optFns ...func(*s3v2.Options)) (*s3v2.PutBucketEncryptionOutput, error)
	PutBucketLifecycleConfiguration(ctx context.Context, input *s3v2.PutBucketLifecycleConfigurationInput, optFns ...func(*s3v2.Options)) (*s3v2.PutBucketLifecycleConfigurationOutput, error)
	PutBucketTagging(ctx context.Context, input *s3v2.PutBucketTaggingInput, optFns ...func(*s3v2.Options)) (*s3v2.PutBucketTaggingOutput, error)
	PutObject(ctx context.Context, input *s3v2.PutObjectInput, optFns ...func(*s3v2.Options)) (*s3v2.PutObjectOutput, error)
	PutPublicAccessBlock(ctx context.Context, input *s3v2.PutPublicAccessBlockInput, optFns ...func(*s3v2.Options)) (*s3v2.PutPublicAccessBlockOutput, error)
}

S3API defines the S3 operations allowed by IAM policies. Generated from: cmd/infra/aws/iam.go

This interface includes all methods corresponding to IAM permissions granted to HyperShift. Some IAM permissions map to multiple SDK methods (e.g., s3:ListBucket covers both ListBuckets and ListObjectsV2). See delegatingclientgenerator for mapping rules.

Jump to

Keyboard shortcuts

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