Documentation ¶
Index ¶
- func DeleteResource(ctx context.Context, conn *cloudcontrol.Client, roleARN, typeName, id string, ...) error
- func FindResourceByTypeNameAndID(ctx context.Context, conn *cloudcontrol.Client, roleARN, typeName, id string) (*types.ResourceDescription, error)
- func ListResourcesByTypeName(ctx context.Context, conn *cloudcontrol.Client, roleARN, typeName string) ([]types.ResourceDescription, error)
- func RetryGetResourceRequestStatus(pProgressEvent **types.ProgressEvent) ...
- type Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteResource ¶
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
func RetryGetResourceRequestStatus(pProgressEvent **types.ProgressEvent) func(context.Context, *cloudcontrol.GetResourceRequestStatusInput, *cloudcontrol.GetResourceRequestStatusOutput, error) (bool, error)
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.
Click to show internal directories.
Click to hide internal directories.