package cloudhsm
import "github.com/aws/aws-sdk-go-v2/service/cloudhsm"
Index ¶
- Constants
- func AddResolveEndpointMiddleware(stack *middleware.Stack, options ResolveEndpointMiddlewareOptions)
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func RemoveResolveEndpointMiddleware(stack *middleware.Stack) error
- type AddTagsToResourceInput
- type AddTagsToResourceOutput
- type Client
- func New(options Options, optFns ...func(*Options)) *Client
- func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client
- func (c *Client) AddTagsToResource(ctx context.Context, params *AddTagsToResourceInput, optFns ...func(*Options)) (*AddTagsToResourceOutput, error)
- func (c *Client) CreateHapg(ctx context.Context, params *CreateHapgInput, optFns ...func(*Options)) (*CreateHapgOutput, error)
- func (c *Client) CreateHsm(ctx context.Context, params *CreateHsmInput, optFns ...func(*Options)) (*CreateHsmOutput, error)
- func (c *Client) CreateLunaClient(ctx context.Context, params *CreateLunaClientInput, optFns ...func(*Options)) (*CreateLunaClientOutput, error)
- func (c *Client) DeleteHapg(ctx context.Context, params *DeleteHapgInput, optFns ...func(*Options)) (*DeleteHapgOutput, error)
- func (c *Client) DeleteHsm(ctx context.Context, params *DeleteHsmInput, optFns ...func(*Options)) (*DeleteHsmOutput, error)
- func (c *Client) DeleteLunaClient(ctx context.Context, params *DeleteLunaClientInput, optFns ...func(*Options)) (*DeleteLunaClientOutput, error)
- func (c *Client) DescribeHapg(ctx context.Context, params *DescribeHapgInput, optFns ...func(*Options)) (*DescribeHapgOutput, error)
- func (c *Client) DescribeHsm(ctx context.Context, params *DescribeHsmInput, optFns ...func(*Options)) (*DescribeHsmOutput, error)
- func (c *Client) DescribeLunaClient(ctx context.Context, params *DescribeLunaClientInput, optFns ...func(*Options)) (*DescribeLunaClientOutput, error)
- func (c *Client) GetConfig(ctx context.Context, params *GetConfigInput, optFns ...func(*Options)) (*GetConfigOutput, error)
- func (c *Client) ListAvailableZones(ctx context.Context, params *ListAvailableZonesInput, optFns ...func(*Options)) (*ListAvailableZonesOutput, error)
- func (c *Client) ListHapgs(ctx context.Context, params *ListHapgsInput, optFns ...func(*Options)) (*ListHapgsOutput, error)
- func (c *Client) ListHsms(ctx context.Context, params *ListHsmsInput, optFns ...func(*Options)) (*ListHsmsOutput, error)
- func (c *Client) ListLunaClients(ctx context.Context, params *ListLunaClientsInput, optFns ...func(*Options)) (*ListLunaClientsOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
- func (c *Client) ModifyHapg(ctx context.Context, params *ModifyHapgInput, optFns ...func(*Options)) (*ModifyHapgOutput, error)
- func (c *Client) ModifyHsm(ctx context.Context, params *ModifyHsmInput, optFns ...func(*Options)) (*ModifyHsmOutput, error)
- func (c *Client) ModifyLunaClient(ctx context.Context, params *ModifyLunaClientInput, optFns ...func(*Options)) (*ModifyLunaClientOutput, error)
- func (c *Client) RemoveTagsFromResource(ctx context.Context, params *RemoveTagsFromResourceInput, optFns ...func(*Options)) (*RemoveTagsFromResourceOutput, error)
- type CreateHapgInput
- type CreateHapgOutput
- type CreateHsmInput
- type CreateHsmOutput
- type CreateLunaClientInput
- type CreateLunaClientOutput
- type DeleteHapgInput
- type DeleteHapgOutput
- type DeleteHsmInput
- type DeleteHsmOutput
- type DeleteLunaClientInput
- type DeleteLunaClientOutput
- type DescribeHapgInput
- type DescribeHapgOutput
- type DescribeHsmInput
- type DescribeHsmOutput
- type DescribeLunaClientInput
- type DescribeLunaClientOutput
- type EndpointResolver
- type EndpointResolverFunc
- type GetConfigInput
- type GetConfigOutput
- type HTTPClient
- type HTTPSignerV4
- type ListAvailableZonesInput
- type ListAvailableZonesOutput
- type ListHapgsInput
- type ListHapgsOutput
- type ListHsmsInput
- type ListHsmsOutput
- type ListLunaClientsInput
- type ListLunaClientsOutput
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ModifyHapgInput
- type ModifyHapgOutput
- type ModifyHsmInput
- type ModifyHsmOutput
- type ModifyLunaClientInput
- type ModifyLunaClientOutput
- type Options
- func (o Options) Copy() Options
- func (o Options) GetCredentials() aws.CredentialsProvider
- func (o Options) GetEndpointOptions() ResolverOptions
- func (o Options) GetEndpointResolver() EndpointResolver
- func (o Options) GetHTTPSignerV4() HTTPSignerV4
- func (o Options) GetRegion() string
- func (o Options) GetRetryer() retry.Retryer
- type RemoveTagsFromResourceInput
- type RemoveTagsFromResourceOutput
- type ResolveEndpoint
- func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
- func (*ResolveEndpoint) ID() string
- type ResolveEndpointMiddlewareOptions
- type ResolverOptions
Constants ¶
const ServiceAPIVersion = "2014-05-30"
const ServiceID = "CloudHSM"
Functions ¶
func AddResolveEndpointMiddleware ¶
func AddResolveEndpointMiddleware(stack *middleware.Stack, options ResolveEndpointMiddlewareOptions)
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func RemoveResolveEndpointMiddleware ¶
func RemoveResolveEndpointMiddleware(stack *middleware.Stack) error
Types ¶
type AddTagsToResourceInput ¶
type AddTagsToResourceInput struct { // The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag. ResourceArn *string // One or more tags. TagList []*types.Tag }
type AddTagsToResourceOutput ¶
type AddTagsToResourceOutput struct { // The status of the operation. Status *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
AWS CloudHSM Service This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). For information about the current version of AWS CloudHSM, see AWS CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) AddTagsToResource ¶
func (c *Client) AddTagsToResource(ctx context.Context, params *AddTagsToResourceInput, optFns ...func(*Options)) (*AddTagsToResourceOutput, error)
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). For information about the current version of AWS CloudHSM, see AWS CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). Adds or overwrites one or more tags for the specified AWS CloudHSM resource. Each tag consists of a key and a value. Tag keys must be unique to each resource.
func (*Client) CreateHapg ¶
func (c *Client) CreateHapg(ctx context.Context, params *CreateHapgInput, optFns ...func(*Options)) (*CreateHapgOutput, error)
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). For information about the current version of AWS CloudHSM, see AWS CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). Creates a high-availability partition group. A high-availability partition group is a group of partitions that spans multiple physical HSMs.
func (*Client) CreateHsm ¶
func (c *Client) CreateHsm(ctx context.Context, params *CreateHsmInput, optFns ...func(*Options)) (*CreateHsmOutput, error)
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). For information about the current version of AWS CloudHSM, see AWS CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). Creates an uninitialized HSM instance. There is an upfront fee charged for each HSM instance that you create with the CreateHsm operation. If you accidentally provision an HSM and want to request a refund, delete the instance using the DeleteHsm () operation, go to the AWS Support Center (https://console.aws.amazon.com/support/home), create a new case, and select Account and Billing Support. It can take up to 20 minutes to create and provision an HSM. You can monitor the status of the HSM with the DescribeHsm () operation. The HSM is ready to be initialized when the status changes to RUNNING.
func (*Client) CreateLunaClient ¶
func (c *Client) CreateLunaClient(ctx context.Context, params *CreateLunaClientInput, optFns ...func(*Options)) (*CreateLunaClientOutput, error)
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). For information about the current version of AWS CloudHSM, see AWS CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). Creates an HSM client.
func (*Client) DeleteHapg ¶
func (c *Client) DeleteHapg(ctx context.Context, params *DeleteHapgInput, optFns ...func(*Options)) (*DeleteHapgOutput, error)
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). For information about the current version of AWS CloudHSM, see AWS CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). Deletes a high-availability partition group.
func (*Client) DeleteHsm ¶
func (c *Client) DeleteHsm(ctx context.Context, params *DeleteHsmInput, optFns ...func(*Options)) (*DeleteHsmOutput, error)
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). For information about the current version of AWS CloudHSM, see AWS CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). Deletes an HSM. After completion, this operation cannot be undone and your key material cannot be recovered.
func (*Client) DeleteLunaClient ¶
func (c *Client) DeleteLunaClient(ctx context.Context, params *DeleteLunaClientInput, optFns ...func(*Options)) (*DeleteLunaClientOutput, error)
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). For information about the current version of AWS CloudHSM, see AWS CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). Deletes a client.
func (*Client) DescribeHapg ¶
func (c *Client) DescribeHapg(ctx context.Context, params *DescribeHapgInput, optFns ...func(*Options)) (*DescribeHapgOutput, error)
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). For information about the current version of AWS CloudHSM, see AWS CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). Retrieves information about a high-availability partition group.
func (*Client) DescribeHsm ¶
func (c *Client) DescribeHsm(ctx context.Context, params *DescribeHsmInput, optFns ...func(*Options)) (*DescribeHsmOutput, error)
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). For information about the current version of AWS CloudHSM, see AWS CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number.
func (*Client) DescribeLunaClient ¶
func (c *Client) DescribeLunaClient(ctx context.Context, params *DescribeLunaClientInput, optFns ...func(*Options)) (*DescribeLunaClientOutput, error)
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). For information about the current version of AWS CloudHSM, see AWS CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). Retrieves information about an HSM client.
func (*Client) GetConfig ¶
func (c *Client) GetConfig(ctx context.Context, params *GetConfigInput, optFns ...func(*Options)) (*GetConfigOutput, error)
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). For information about the current version of AWS CloudHSM, see AWS CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). Gets the configuration files necessary to connect to all high availability partition groups the client is associated with.
func (*Client) ListAvailableZones ¶
func (c *Client) ListAvailableZones(ctx context.Context, params *ListAvailableZonesInput, optFns ...func(*Options)) (*ListAvailableZonesOutput, error)
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). For information about the current version of AWS CloudHSM, see AWS CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). Lists the Availability Zones that have available AWS CloudHSM capacity.
func (*Client) ListHapgs ¶
func (c *Client) ListHapgs(ctx context.Context, params *ListHapgsInput, optFns ...func(*Options)) (*ListHapgsOutput, error)
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). For information about the current version of AWS CloudHSM, see AWS CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). Lists the high-availability partition groups for the account. This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListHapgs to retrieve the next set of items.
func (*Client) ListHsms ¶
func (c *Client) ListHsms(ctx context.Context, params *ListHsmsInput, optFns ...func(*Options)) (*ListHsmsOutput, error)
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). For information about the current version of AWS CloudHSM, see AWS CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). Retrieves the identifiers of all of the HSMs provisioned for the current customer. This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListHsms to retrieve the next set of items.
func (*Client) ListLunaClients ¶
func (c *Client) ListLunaClients(ctx context.Context, params *ListLunaClientsInput, optFns ...func(*Options)) (*ListLunaClientsOutput, error)
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). For information about the current version of AWS CloudHSM, see AWS CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). Lists all of the clients. This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListLunaClients to retrieve the next set of items.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). For information about the current version of AWS CloudHSM, see AWS CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). Returns a list of all tags for the specified AWS CloudHSM resource.
func (*Client) ModifyHapg ¶
func (c *Client) ModifyHapg(ctx context.Context, params *ModifyHapgInput, optFns ...func(*Options)) (*ModifyHapgOutput, error)
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). For information about the current version of AWS CloudHSM, see AWS CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). Modifies an existing high-availability partition group.
func (*Client) ModifyHsm ¶
func (c *Client) ModifyHsm(ctx context.Context, params *ModifyHsmInput, optFns ...func(*Options)) (*ModifyHsmOutput, error)
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). For information about the current version of AWS CloudHSM, see AWS CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). Modifies an HSM. This operation can result in the HSM being offline for up to 15 minutes while the AWS CloudHSM service is reconfigured. If you are modifying a production HSM, you should ensure that your AWS CloudHSM service is configured for high availability, and consider executing this operation during a maintenance window.
func (*Client) ModifyLunaClient ¶
func (c *Client) ModifyLunaClient(ctx context.Context, params *ModifyLunaClientInput, optFns ...func(*Options)) (*ModifyLunaClientOutput, error)
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). For information about the current version of AWS CloudHSM, see AWS CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). Modifies the certificate used by the client. This action can potentially start a workflow to install the new certificate on the client's HSMs.
func (*Client) RemoveTagsFromResource ¶
func (c *Client) RemoveTagsFromResource(ctx context.Context, params *RemoveTagsFromResourceInput, optFns ...func(*Options)) (*RemoveTagsFromResourceOutput, error)
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). For information about the current version of AWS CloudHSM, see AWS CloudHSM (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). Removes one or more tags from the specified AWS CloudHSM resource. To remove a tag, specify only the tag key to remove (not the value). To overwrite the value for an existing tag, use AddTagsToResource ().
type CreateHapgInput ¶
type CreateHapgInput struct { // The label of the new high-availability partition group. Label *string }
Contains the inputs for the CreateHapgRequest () action.
type CreateHapgOutput ¶
type CreateHapgOutput struct { // The ARN of the high-availability partition group. HapgArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Contains the output of the CreateHAPartitionGroup () action.
type CreateHsmInput ¶
type CreateHsmInput struct { // The identifier of the subnet in your VPC in which to place the HSM. SubnetId *string // The IP address for the syslog monitoring server. The AWS CloudHSM service only // supports one syslog monitoring server. SyslogIp *string // The ARN of an IAM role to enable the AWS CloudHSM service to allocate an ENI on // your behalf. IamRoleArn *string // The IP address to assign to the HSM's ENI. If an IP address is not specified, an // IP address will be randomly chosen from the CIDR range of the subnet. EniIp *string // The external ID from IamRoleArn, if present. ExternalId *string // The SSH public key to install on the HSM. SshKey *string // Specifies the type of subscription for the HSM. // // * PRODUCTION - The HSM is // being used in a production environment. // // * TRIAL - The HSM is being used in // a product trial. SubscriptionType types.SubscriptionType // A user-defined token to ensure idempotence. Subsequent calls to this operation // with the same token will be ignored. ClientToken *string }
Contains the inputs for the CreateHsm operation.
type CreateHsmOutput ¶
type CreateHsmOutput struct { // The ARN of the HSM. HsmArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Contains the output of the CreateHsm operation.
type CreateLunaClientInput ¶
type CreateLunaClientInput struct { // The contents of a Base64-Encoded X.509 v3 certificate to be installed on the // HSMs used by this client. Certificate *string // The label for the client. Label *string }
Contains the inputs for the CreateLunaClient () action.
type CreateLunaClientOutput ¶
type CreateLunaClientOutput struct { // The ARN of the client. ClientArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Contains the output of the CreateLunaClient () action.
type DeleteHapgInput ¶
type DeleteHapgInput struct { // The ARN of the high-availability partition group to delete. HapgArn *string }
Contains the inputs for the DeleteHapg () action.
type DeleteHapgOutput ¶
type DeleteHapgOutput struct { // The status of the action. Status *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Contains the output of the DeleteHapg () action.
type DeleteHsmInput ¶
type DeleteHsmInput struct { // The ARN of the HSM to delete. HsmArn *string }
Contains the inputs for the DeleteHsm () operation.
type DeleteHsmOutput ¶
type DeleteHsmOutput struct { // The status of the operation. Status *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Contains the output of the DeleteHsm () operation.
type DeleteLunaClientInput ¶
type DeleteLunaClientInput struct { // The ARN of the client to delete. ClientArn *string }
type DeleteLunaClientOutput ¶
type DeleteLunaClientOutput struct { // The status of the action. Status *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DescribeHapgInput ¶
type DescribeHapgInput struct { // The ARN of the high-availability partition group to describe. HapgArn *string }
Contains the inputs for the DescribeHapg () action.
type DescribeHapgOutput ¶
type DescribeHapgOutput struct { // The list of partition serial numbers that belong to the high-availability // partition group. PartitionSerialList []*string // The serial number of the high-availability partition group. HapgSerial *string // HsmsPendingDeletion []*string // The label for the high-availability partition group. Label *string // The date and time the high-availability partition group was last modified. LastModifiedTimestamp *string // The ARN of the high-availability partition group. HapgArn *string // HsmsLastActionFailed []*string // HsmsPendingRegistration []*string // The state of the high-availability partition group. State types.CloudHsmObjectState // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Contains the output of the DescribeHapg () action.
type DescribeHsmInput ¶
type DescribeHsmInput struct { // The serial number of the HSM. Either the HsmArn or the HsmSerialNumber parameter // must be specified. HsmSerialNumber *string // The ARN of the HSM. Either the HsmArn or the SerialNumber parameter must be // specified. HsmArn *string }
Contains the inputs for the DescribeHsm () operation.
type DescribeHsmOutput ¶
type DescribeHsmOutput struct { // The subscription start date. SubscriptionStartDate *string // The name of the HSM vendor. VendorName *string // The identifier of the subnet that the HSM is in. SubnetId *string // The ARN of the IAM role assigned to the HSM. IamRoleArn *string // Contains additional information about the status of the HSM. StatusDetails *string // The identifier of the elastic network interface (ENI) attached to the HSM. EniId *string // The identifier of the VPC that the HSM is in. VpcId *string // The Availability Zone that the HSM is in. AvailabilityZone *string // The date and time that the SSH key was last updated. SshKeyLastUpdated *string // The public SSH key. SshPublicKey *string // The HSM software version. SoftwareVersion *string // The date and time that the server certificate was last updated. ServerCertLastUpdated *string // The subscription end date. SubscriptionEndDate *string // The ARN of the HSM. HsmArn *string // Specifies the type of subscription for the HSM. // // * PRODUCTION - The HSM is // being used in a production environment. // // * TRIAL - The HSM is being used in // a product trial. SubscriptionType types.SubscriptionType // The HSM model type. HsmType *string // The URI of the certificate server. ServerCertUri *string // The list of partitions on the HSM. Partitions []*string // The status of the HSM. Status types.HsmStatus // The IP address assigned to the HSM's ENI. EniIp *string // The serial number of the HSM. SerialNumber *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Contains the output of the DescribeHsm () operation.
type DescribeLunaClientInput ¶
type DescribeLunaClientInput struct { // The ARN of the client. ClientArn *string // The certificate fingerprint. CertificateFingerprint *string }
type DescribeLunaClientOutput ¶
type DescribeLunaClientOutput struct { // The label of the client. Label *string // The certificate fingerprint. CertificateFingerprint *string // The ARN of the client. ClientArn *string // The date and time the client was last modified. LastModifiedTimestamp *string // The certificate installed on the HSMs used by this client. Certificate *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type EndpointResolver ¶
type EndpointResolver interface { ResolveEndpoint(region string, options ResolverOptions) (aws.Endpoint, error) }
EndpointResolver interface for resolving service endpoints.
func WithEndpointResolver ¶
func WithEndpointResolver(awsResolver aws.EndpointResolver, fallbackResolver EndpointResolver) EndpointResolver
WithEndpointResolver returns an EndpointResolver that first delegates endpoint resolution to the awsResolver. If awsResolver returns aws.EndpointNotFoundError error, the resolver will use the the provided fallbackResolver for resolution. awsResolver and fallbackResolver must not be nil
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options ResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options ResolverOptions) (endpoint aws.Endpoint, err error)
type GetConfigInput ¶
type GetConfigInput struct { // The ARN of the client. ClientArn *string // A list of ARNs that identify the high-availability partition groups that are // associated with the client. HapgList []*string // The client version. ClientVersion types.ClientVersion }
type GetConfigOutput ¶
type GetConfigOutput struct { // The type of credentials. ConfigType *string // The certificate file containing the server.pem files of the HSMs. ConfigCred *string // The chrystoki.conf configuration file. ConfigFile *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type HTTPClient ¶
type HTTPSignerV4 ¶
type HTTPSignerV4 interface { SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time) error }
type ListAvailableZonesInput ¶
type ListAvailableZonesInput struct { }
Contains the inputs for the ListAvailableZones () action.
type ListAvailableZonesOutput ¶
type ListAvailableZonesOutput struct { // The list of Availability Zones that have available AWS CloudHSM capacity. AZList []*string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListHapgsInput ¶
type ListHapgsInput struct { // The NextToken value from a previous call to ListHapgs. Pass null if this is the // first call. NextToken *string }
type ListHapgsOutput ¶
type ListHapgsOutput struct { // If not null, more results are available. Pass this value to ListHapgs to // retrieve the next set of items. NextToken *string // The list of high-availability partition groups. HapgList []*string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListHsmsInput ¶
type ListHsmsInput struct { // The NextToken value from a previous call to ListHsms. Pass null if this is the // first call. NextToken *string }
type ListHsmsOutput ¶
type ListHsmsOutput struct { // If not null, more results are available. Pass this value to ListHsms to retrieve // the next set of items. NextToken *string // The list of ARNs that identify the HSMs. HsmList []*string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Contains the output of the ListHsms operation.
type ListLunaClientsInput ¶
type ListLunaClientsInput struct { // The NextToken value from a previous call to ListLunaClients. Pass null if this // is the first call. NextToken *string }
type ListLunaClientsOutput ¶
type ListLunaClientsOutput struct { // If not null, more results are available. Pass this to ListLunaClients to // retrieve the next set of items. NextToken *string // The list of clients. ClientList []*string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) of the AWS CloudHSM resource. ResourceArn *string }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // One or more tags. TagList []*types.Tag // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ModifyHapgInput ¶
type ModifyHapgInput struct { // The list of partition serial numbers to make members of the high-availability // partition group. PartitionSerialList []*string // The new label for the high-availability partition group. Label *string // The ARN of the high-availability partition group to modify. HapgArn *string }
type ModifyHapgOutput ¶
type ModifyHapgOutput struct { // The ARN of the high-availability partition group. HapgArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ModifyHsmInput ¶
type ModifyHsmInput struct { // The new identifier of the subnet that the HSM is in. The new subnet must be in // the same Availability Zone as the current subnet. SubnetId *string // The new external ID. ExternalId *string // The new IP address for the elastic network interface (ENI) attached to the HSM. // If the HSM is moved to a different subnet, and an IP address is not specified, // an IP address will be randomly chosen from the CIDR range of the new subnet. EniIp *string // The ARN of the HSM to modify. HsmArn *string // The new IAM role ARN. IamRoleArn *string // The new IP address for the syslog monitoring server. The AWS CloudHSM service // only supports one syslog monitoring server. SyslogIp *string }
Contains the inputs for the ModifyHsm () operation.
type ModifyHsmOutput ¶
type ModifyHsmOutput struct { // The ARN of the HSM. HsmArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Contains the output of the ModifyHsm () operation.
type ModifyLunaClientInput ¶
type ModifyLunaClientInput struct { // The ARN of the client. ClientArn *string // The new certificate for the client. Certificate *string }
type ModifyLunaClientOutput ¶
type ModifyLunaClientOutput struct { // The ARN of the client. ClientArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions ResolverOptions // The service endpoint resolver. EndpointResolver EndpointResolver // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The region to send requests to. (Required) Region string // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. Retryer retry.Retryer // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient }
func (Options) Copy ¶
Copy creates a clone where the APIOptions list is deep copied.
func (Options) GetCredentials ¶
func (o Options) GetCredentials() aws.CredentialsProvider
func (Options) GetEndpointOptions ¶
func (o Options) GetEndpointOptions() ResolverOptions
func (Options) GetEndpointResolver ¶
func (o Options) GetEndpointResolver() EndpointResolver
func (Options) GetHTTPSignerV4 ¶
func (o Options) GetHTTPSignerV4() HTTPSignerV4
func (Options) GetRegion ¶
func (Options) GetRetryer ¶
type RemoveTagsFromResourceInput ¶
type RemoveTagsFromResourceInput struct { // The tag key or keys to remove. Specify only the tag key to remove (not the // value). To overwrite the value for an existing tag, use AddTagsToResource (). TagKeyList []*string // The Amazon Resource Name (ARN) of the AWS CloudHSM resource. ResourceArn *string }
type RemoveTagsFromResourceOutput ¶
type RemoveTagsFromResourceOutput struct { // The status of the operation. Status *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options ResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type ResolveEndpointMiddlewareOptions ¶
type ResolveEndpointMiddlewareOptions interface { GetEndpointResolver() EndpointResolver GetEndpointOptions() ResolverOptions }
type ResolverOptions ¶
type ResolverOptions = internalendpoints.Options
ResolverOptions is the service endpoint resolver options
Source Files ¶
api_client.go api_op_AddTagsToResource.go api_op_CreateHapg.go api_op_CreateHsm.go api_op_CreateLunaClient.go api_op_DeleteHapg.go api_op_DeleteHsm.go api_op_DeleteLunaClient.go api_op_DescribeHapg.go api_op_DescribeHsm.go api_op_DescribeLunaClient.go api_op_GetConfig.go api_op_ListAvailableZones.go api_op_ListHapgs.go api_op_ListHsms.go api_op_ListLunaClients.go api_op_ListTagsForResource.go api_op_ModifyHapg.go api_op_ModifyHsm.go api_op_ModifyLunaClient.go api_op_RemoveTagsFromResource.go deserializers.go endpoints.go serializers.go validators.go
Directories ¶
Path | Synopsis |
---|---|
internal | |
types |
- Version
- v0.1.0
- Published
- Sep 29, 2020
- Platform
- js/wasm
- Imports
- 24 packages
- Last checked
- now –
Tools for package owners.