cloudcontrolservice

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: Apache-2.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	// CreateResource creates the specified resource from its desired state.
	CreateResource(
		ctx context.Context,
		params *cloudcontrol.CreateResourceInput,
		optFns ...func(*cloudcontrol.Options),
	) (*cloudcontrol.CreateResourceOutput, error)

	// UpdateResource updates the specified resource by applying a JSON Patch document.
	UpdateResource(
		ctx context.Context,
		params *cloudcontrol.UpdateResourceInput,
		optFns ...func(*cloudcontrol.Options),
	) (*cloudcontrol.UpdateResourceOutput, error)

	// GetResource returns the current state of the specified resource.
	GetResource(
		ctx context.Context,
		params *cloudcontrol.GetResourceInput,
		optFns ...func(*cloudcontrol.Options),
	) (*cloudcontrol.GetResourceOutput, error)

	// ListResources returns the resource descriptions for the resources of the
	// specified type. Cloud Control offers no server-side property filtering, so
	// callers paginate and filter client-side.
	ListResources(
		ctx context.Context,
		params *cloudcontrol.ListResourcesInput,
		optFns ...func(*cloudcontrol.Options),
	) (*cloudcontrol.ListResourcesOutput, error)

	// DeleteResource deletes the specified resource.
	DeleteResource(
		ctx context.Context,
		params *cloudcontrol.DeleteResourceInput,
		optFns ...func(*cloudcontrol.Options),
	) (*cloudcontrol.DeleteResourceOutput, error)

	// GetResourceRequestStatus returns the current status of a resource operation request.
	GetResourceRequestStatus(
		ctx context.Context,
		params *cloudcontrol.GetResourceRequestStatusInput,
		optFns ...func(*cloudcontrol.Options),
	) (*cloudcontrol.GetResourceRequestStatusOutput, error)
}

Service is an interface that represents the functionality of the AWS Cloud Control API used by the generic Cloud Control–backed resource engine.

func NewService

func NewService(awsConfig *aws.Config, providerContext provider.Context) Service

NewService creates a new instance of the AWS Cloud Control API service based on the provided AWS configuration.

Jump to

Keyboard shortcuts

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