cloudcontrol

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteResource

func DeleteResource(ctx context.Context, conn *cloudcontrol.Client, roleARN, typeName, id string, maxWaitTime time.Duration) error

func FindResourceByTypeNameAndID

func FindResourceByTypeNameAndID(ctx context.Context, conn *cloudcontrol.Client, roleARN, typeName, id string) (*types.ResourceDescription, error)

func ListResourcesByTypeName

func ListResourcesByTypeName(ctx context.Context, conn *cloudcontrol.Client, roleARN, typeName string) ([]types.ResourceDescription, error)

func RetryGetResourceRequestStatus added in v0.0.14

RetryGetResourceRequestStatus returns a custom retryable function for the GetResourceRequestStatus operation.

Types

type Provider

type Provider interface {
	// CloudControlApiClient returns an AWS Cloud Control API client.
	CloudControlApiClient(context.Context) *cloudcontrol.Client

	// Region returns and AWS Cloud Control API client's region
	Region(ctx context.Context) string

	// RoleARN returns an AWS Cloud Control API service role ARN.
	RoleARN(context.Context) string
}

Provider is the interface implemented by AWS Cloud Control API client providers.

Jump to

Keyboard shortcuts

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