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 an AWS Cloud Control API client's region Region(ctx context.Context) string // RegisterLogger places the configured logger into Context so it can be used via `tflog`. RegisterLogger(ctx context.Context) context.Context // 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. It's role is similar to terraform-aws-provider's 'conns.AWSClient'.
Click to show internal directories.
Click to hide internal directories.