Documentation ¶
Overview ¶
Package cloudhsm provides the client and types for making API requests to Amazon CloudHSM.
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 (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (http://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 (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
See https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30 for more information on this service.
See cloudhsm package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/cloudhsm/
Using the Client ¶
To Amazon CloudHSM with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the Amazon CloudHSM client CloudHSM for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/cloudhsm/#New
Index ¶
- Constants
- type AddTagsToResourceInput
- type AddTagsToResourceOutput
- type AddTagsToResourceRequest
- type ClientVersion
- type CloudHSM
- func (c *CloudHSM) AddTagsToResourceRequest(input *AddTagsToResourceInput) AddTagsToResourceRequest
- func (c *CloudHSM) CreateHapgRequest(input *CreateHapgInput) CreateHapgRequest
- func (c *CloudHSM) CreateHsmRequest(input *CreateHsmInput) CreateHsmRequest
- func (c *CloudHSM) CreateLunaClientRequest(input *CreateLunaClientInput) CreateLunaClientRequest
- func (c *CloudHSM) DeleteHapgRequest(input *DeleteHapgInput) DeleteHapgRequest
- func (c *CloudHSM) DeleteHsmRequest(input *DeleteHsmInput) DeleteHsmRequest
- func (c *CloudHSM) DeleteLunaClientRequest(input *DeleteLunaClientInput) DeleteLunaClientRequest
- func (c *CloudHSM) DescribeHapgRequest(input *DescribeHapgInput) DescribeHapgRequest
- func (c *CloudHSM) DescribeHsmRequest(input *DescribeHsmInput) DescribeHsmRequest
- func (c *CloudHSM) DescribeLunaClientRequest(input *DescribeLunaClientInput) DescribeLunaClientRequest
- func (c *CloudHSM) GetConfigRequest(input *GetConfigInput) GetConfigRequest
- func (c *CloudHSM) ListAvailableZonesRequest(input *ListAvailableZonesInput) ListAvailableZonesRequest
- func (c *CloudHSM) ListHapgsRequest(input *ListHapgsInput) ListHapgsRequest
- func (c *CloudHSM) ListHsmsRequest(input *ListHsmsInput) ListHsmsRequest
- func (c *CloudHSM) ListLunaClientsRequest(input *ListLunaClientsInput) ListLunaClientsRequest
- func (c *CloudHSM) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
- func (c *CloudHSM) ModifyHapgRequest(input *ModifyHapgInput) ModifyHapgRequest
- func (c *CloudHSM) ModifyHsmRequest(input *ModifyHsmInput) ModifyHsmRequest
- func (c *CloudHSM) ModifyLunaClientRequest(input *ModifyLunaClientInput) ModifyLunaClientRequest
- func (c *CloudHSM) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) RemoveTagsFromResourceRequest
- type CloudHsmObjectState
- type CreateHapgInput
- type CreateHapgOutput
- type CreateHapgRequest
- type CreateHsmInput
- type CreateHsmOutput
- type CreateHsmRequest
- type CreateLunaClientInput
- type CreateLunaClientOutput
- type CreateLunaClientRequest
- type DeleteHapgInput
- type DeleteHapgOutput
- type DeleteHapgRequest
- type DeleteHsmInput
- type DeleteHsmOutput
- type DeleteHsmRequest
- type DeleteLunaClientInput
- type DeleteLunaClientOutput
- type DeleteLunaClientRequest
- type DescribeHapgInput
- type DescribeHapgOutput
- type DescribeHapgRequest
- type DescribeHsmInput
- type DescribeHsmOutput
- type DescribeHsmRequest
- type DescribeLunaClientInput
- type DescribeLunaClientOutput
- type DescribeLunaClientRequest
- type GetConfigInput
- type GetConfigOutput
- type GetConfigRequest
- type HsmStatus
- type ListAvailableZonesInput
- type ListAvailableZonesOutput
- type ListAvailableZonesRequest
- type ListHapgsInput
- type ListHapgsOutput
- type ListHapgsRequest
- type ListHsmsInput
- type ListHsmsOutput
- type ListHsmsRequest
- type ListLunaClientsInput
- type ListLunaClientsOutput
- type ListLunaClientsRequest
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListTagsForResourceRequest
- type ModifyHapgInput
- type ModifyHapgOutput
- type ModifyHapgRequest
- type ModifyHsmInput
- type ModifyHsmOutput
- type ModifyHsmRequest
- type ModifyLunaClientInput
- type ModifyLunaClientOutput
- type ModifyLunaClientRequest
- type RemoveTagsFromResourceInput
- type RemoveTagsFromResourceOutput
- type RemoveTagsFromResourceRequest
- type SubscriptionType
- type Tag
Constants ¶
const ( // ErrCodeCloudHsmInternalException for service response error code // "CloudHsmInternalException". // // Indicates that an internal error occurred. ErrCodeCloudHsmInternalException = "CloudHsmInternalException" // ErrCodeCloudHsmServiceException for service response error code // "CloudHsmServiceException". // // Indicates that an exception occurred in the AWS CloudHSM service. ErrCodeCloudHsmServiceException = "CloudHsmServiceException" // ErrCodeInvalidRequestException for service response error code // "InvalidRequestException". // // Indicates that one or more of the request parameters are not valid. ErrCodeInvalidRequestException = "InvalidRequestException" )
const ( ServiceName = "cloudhsm" // Service endpoint prefix API calls made to. EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddTagsToResourceInput ¶
type AddTagsToResourceInput struct { // The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag. // // ResourceArn is a required field ResourceArn *string `type:"string" required:"true"` // One or more tags. // // TagList is a required field TagList []Tag `type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/AddTagsToResourceRequest
func (AddTagsToResourceInput) GoString ¶
func (s AddTagsToResourceInput) GoString() string
GoString returns the string representation
func (AddTagsToResourceInput) String ¶
func (s AddTagsToResourceInput) String() string
String returns the string representation
func (*AddTagsToResourceInput) Validate ¶
func (s *AddTagsToResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AddTagsToResourceOutput ¶
type AddTagsToResourceOutput struct { // The status of the operation. // // Status is a required field Status *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/AddTagsToResourceResponse
func (AddTagsToResourceOutput) GoString ¶
func (s AddTagsToResourceOutput) GoString() string
GoString returns the string representation
func (AddTagsToResourceOutput) SDKResponseMetadata ¶
func (s AddTagsToResourceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (AddTagsToResourceOutput) String ¶
func (s AddTagsToResourceOutput) String() string
String returns the string representation
type AddTagsToResourceRequest ¶
type AddTagsToResourceRequest struct { *aws.Request Input *AddTagsToResourceInput Copy func(*AddTagsToResourceInput) AddTagsToResourceRequest }
AddTagsToResourceRequest is a API request type for the AddTagsToResource API operation.
func (AddTagsToResourceRequest) Send ¶
func (r AddTagsToResourceRequest) Send() (*AddTagsToResourceOutput, error)
Send marshals and sends the AddTagsToResource API request.
type ClientVersion ¶
type ClientVersion string
const ( ClientVersion51 ClientVersion = "5.1" ClientVersion53 ClientVersion = "5.3" )
Enum values for ClientVersion
func (ClientVersion) MarshalValue ¶ added in v0.3.0
func (enum ClientVersion) MarshalValue() (string, error)
func (ClientVersion) MarshalValueBuf ¶ added in v0.3.0
func (enum ClientVersion) MarshalValueBuf(b []byte) ([]byte, error)
type CloudHSM ¶
CloudHSM provides the API operation methods for making requests to Amazon CloudHSM. See this package's package overview docs for details on the service.
CloudHSM methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
New creates a new instance of the CloudHSM client with a config.
Example:
// Create a CloudHSM client from just a config. svc := cloudhsm.New(myConfig)
func (*CloudHSM) AddTagsToResourceRequest ¶
func (c *CloudHSM) AddTagsToResourceRequest(input *AddTagsToResourceInput) AddTagsToResourceRequest
AddTagsToResourceRequest returns a request value for making API operation for Amazon CloudHSM.
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 (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (http://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 (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (http://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.
// Example sending a request using the AddTagsToResourceRequest method. req := client.AddTagsToResourceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/AddTagsToResource
func (*CloudHSM) CreateHapgRequest ¶
func (c *CloudHSM) CreateHapgRequest(input *CreateHapgInput) CreateHapgRequest
CreateHapgRequest returns a request value for making API operation for Amazon CloudHSM.
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 (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (http://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 (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (http://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.
// Example sending a request using the CreateHapgRequest method. req := client.CreateHapgRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/CreateHapg
func (*CloudHSM) CreateHsmRequest ¶
func (c *CloudHSM) CreateHsmRequest(input *CreateHsmInput) CreateHsmRequest
CreateHsmRequest returns a request value for making API operation for Amazon CloudHSM.
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 (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (http://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 (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (http://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.
// Example sending a request using the CreateHsmRequest method. req := client.CreateHsmRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/CreateHsm
func (*CloudHSM) CreateLunaClientRequest ¶
func (c *CloudHSM) CreateLunaClientRequest(input *CreateLunaClientInput) CreateLunaClientRequest
CreateLunaClientRequest returns a request value for making API operation for Amazon CloudHSM.
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 (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (http://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 (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
Creates an HSM client.
// Example sending a request using the CreateLunaClientRequest method. req := client.CreateLunaClientRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/CreateLunaClient
func (*CloudHSM) DeleteHapgRequest ¶
func (c *CloudHSM) DeleteHapgRequest(input *DeleteHapgInput) DeleteHapgRequest
DeleteHapgRequest returns a request value for making API operation for Amazon CloudHSM.
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 (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (http://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 (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
Deletes a high-availability partition group.
// Example sending a request using the DeleteHapgRequest method. req := client.DeleteHapgRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DeleteHapg
func (*CloudHSM) DeleteHsmRequest ¶
func (c *CloudHSM) DeleteHsmRequest(input *DeleteHsmInput) DeleteHsmRequest
DeleteHsmRequest returns a request value for making API operation for Amazon CloudHSM.
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 (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (http://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 (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
Deletes an HSM. After completion, this operation cannot be undone and your key material cannot be recovered.
// Example sending a request using the DeleteHsmRequest method. req := client.DeleteHsmRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DeleteHsm
func (*CloudHSM) DeleteLunaClientRequest ¶
func (c *CloudHSM) DeleteLunaClientRequest(input *DeleteLunaClientInput) DeleteLunaClientRequest
DeleteLunaClientRequest returns a request value for making API operation for Amazon CloudHSM.
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 (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (http://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 (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
Deletes a client.
// Example sending a request using the DeleteLunaClientRequest method. req := client.DeleteLunaClientRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DeleteLunaClient
func (*CloudHSM) DescribeHapgRequest ¶
func (c *CloudHSM) DescribeHapgRequest(input *DescribeHapgInput) DescribeHapgRequest
DescribeHapgRequest returns a request value for making API operation for Amazon CloudHSM.
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 (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (http://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 (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
Retrieves information about a high-availability partition group.
// Example sending a request using the DescribeHapgRequest method. req := client.DescribeHapgRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DescribeHapg
func (*CloudHSM) DescribeHsmRequest ¶
func (c *CloudHSM) DescribeHsmRequest(input *DescribeHsmInput) DescribeHsmRequest
DescribeHsmRequest returns a request value for making API operation for Amazon CloudHSM.
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 (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (http://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 (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number.
// Example sending a request using the DescribeHsmRequest method. req := client.DescribeHsmRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DescribeHsm
func (*CloudHSM) DescribeLunaClientRequest ¶
func (c *CloudHSM) DescribeLunaClientRequest(input *DescribeLunaClientInput) DescribeLunaClientRequest
DescribeLunaClientRequest returns a request value for making API operation for Amazon CloudHSM.
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 (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (http://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 (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
Retrieves information about an HSM client.
// Example sending a request using the DescribeLunaClientRequest method. req := client.DescribeLunaClientRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DescribeLunaClient
func (*CloudHSM) GetConfigRequest ¶
func (c *CloudHSM) GetConfigRequest(input *GetConfigInput) GetConfigRequest
GetConfigRequest returns a request value for making API operation for Amazon CloudHSM.
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 (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (http://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 (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (http://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.
// Example sending a request using the GetConfigRequest method. req := client.GetConfigRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/GetConfig
func (*CloudHSM) ListAvailableZonesRequest ¶
func (c *CloudHSM) ListAvailableZonesRequest(input *ListAvailableZonesInput) ListAvailableZonesRequest
ListAvailableZonesRequest returns a request value for making API operation for Amazon CloudHSM.
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 (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (http://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 (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
Lists the Availability Zones that have available AWS CloudHSM capacity.
// Example sending a request using the ListAvailableZonesRequest method. req := client.ListAvailableZonesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListAvailableZones
func (*CloudHSM) ListHapgsRequest ¶
func (c *CloudHSM) ListHapgsRequest(input *ListHapgsInput) ListHapgsRequest
ListHapgsRequest returns a request value for making API operation for Amazon CloudHSM.
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 (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (http://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 (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (http://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.
// Example sending a request using the ListHapgsRequest method. req := client.ListHapgsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListHapgs
func (*CloudHSM) ListHsmsRequest ¶
func (c *CloudHSM) ListHsmsRequest(input *ListHsmsInput) ListHsmsRequest
ListHsmsRequest returns a request value for making API operation for Amazon CloudHSM.
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 (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (http://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 (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (http://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.
// Example sending a request using the ListHsmsRequest method. req := client.ListHsmsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListHsms
func (*CloudHSM) ListLunaClientsRequest ¶
func (c *CloudHSM) ListLunaClientsRequest(input *ListLunaClientsInput) ListLunaClientsRequest
ListLunaClientsRequest returns a request value for making API operation for Amazon CloudHSM.
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 (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (http://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 (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (http://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.
// Example sending a request using the ListLunaClientsRequest method. req := client.ListLunaClientsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListLunaClients
func (*CloudHSM) ListTagsForResourceRequest ¶
func (c *CloudHSM) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
ListTagsForResourceRequest returns a request value for making API operation for Amazon CloudHSM.
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 (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (http://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 (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
Returns a list of all tags for the specified AWS CloudHSM resource.
// Example sending a request using the ListTagsForResourceRequest method. req := client.ListTagsForResourceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListTagsForResource
func (*CloudHSM) ModifyHapgRequest ¶
func (c *CloudHSM) ModifyHapgRequest(input *ModifyHapgInput) ModifyHapgRequest
ModifyHapgRequest returns a request value for making API operation for Amazon CloudHSM.
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 (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (http://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 (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/).
Modifies an existing high-availability partition group.
// Example sending a request using the ModifyHapgRequest method. req := client.ModifyHapgRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ModifyHapg
func (*CloudHSM) ModifyHsmRequest ¶
func (c *CloudHSM) ModifyHsmRequest(input *ModifyHsmInput) ModifyHsmRequest
ModifyHsmRequest returns a request value for making API operation for Amazon CloudHSM.
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 (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (http://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 (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (http://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.
// Example sending a request using the ModifyHsmRequest method. req := client.ModifyHsmRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ModifyHsm
func (*CloudHSM) ModifyLunaClientRequest ¶
func (c *CloudHSM) ModifyLunaClientRequest(input *ModifyLunaClientInput) ModifyLunaClientRequest
ModifyLunaClientRequest returns a request value for making API operation for Amazon CloudHSM.
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 (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (http://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 (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (http://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.
// Example sending a request using the ModifyLunaClientRequest method. req := client.ModifyLunaClientRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ModifyLunaClient
func (*CloudHSM) RemoveTagsFromResourceRequest ¶
func (c *CloudHSM) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) RemoveTagsFromResourceRequest
RemoveTagsFromResourceRequest returns a request value for making API operation for Amazon CloudHSM.
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 (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), and the AWS CloudHSM Classic API Reference (http://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 (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), and the AWS CloudHSM API Reference (http://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.
// Example sending a request using the RemoveTagsFromResourceRequest method. req := client.RemoveTagsFromResourceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/RemoveTagsFromResource
type CloudHsmObjectState ¶
type CloudHsmObjectState string
const ( CloudHsmObjectStateReady CloudHsmObjectState = "READY" CloudHsmObjectStateUpdating CloudHsmObjectState = "UPDATING" CloudHsmObjectStateDegraded CloudHsmObjectState = "DEGRADED" )
Enum values for CloudHsmObjectState
func (CloudHsmObjectState) MarshalValue ¶ added in v0.3.0
func (enum CloudHsmObjectState) MarshalValue() (string, error)
func (CloudHsmObjectState) MarshalValueBuf ¶ added in v0.3.0
func (enum CloudHsmObjectState) MarshalValueBuf(b []byte) ([]byte, error)
type CreateHapgInput ¶
type CreateHapgInput struct { // The label of the new high-availability partition group. // // Label is a required field Label *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the inputs for the CreateHapgRequest action. Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/CreateHapgRequest
func (CreateHapgInput) GoString ¶
func (s CreateHapgInput) GoString() string
GoString returns the string representation
func (CreateHapgInput) String ¶
func (s CreateHapgInput) String() string
String returns the string representation
func (*CreateHapgInput) Validate ¶
func (s *CreateHapgInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateHapgOutput ¶
type CreateHapgOutput struct { // The ARN of the high-availability partition group. HapgArn *string `type:"string"` // contains filtered or unexported fields }
Contains the output of the CreateHAPartitionGroup action. Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/CreateHapgResponse
func (CreateHapgOutput) GoString ¶
func (s CreateHapgOutput) GoString() string
GoString returns the string representation
func (CreateHapgOutput) SDKResponseMetadata ¶
func (s CreateHapgOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateHapgOutput) String ¶
func (s CreateHapgOutput) String() string
String returns the string representation
type CreateHapgRequest ¶
type CreateHapgRequest struct { *aws.Request Input *CreateHapgInput Copy func(*CreateHapgInput) CreateHapgRequest }
CreateHapgRequest is a API request type for the CreateHapg API operation.
func (CreateHapgRequest) Send ¶
func (r CreateHapgRequest) Send() (*CreateHapgOutput, error)
Send marshals and sends the CreateHapg API request.
type CreateHsmInput ¶
type CreateHsmInput struct { // A user-defined token to ensure idempotence. Subsequent calls to this operation // with the same token will be ignored. ClientToken *string `locationName:"ClientToken" type:"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 `locationName:"EniIp" type:"string"` // The external ID from IamRoleArn, if present. ExternalId *string `locationName:"ExternalId" type:"string"` // The ARN of an IAM role to enable the AWS CloudHSM service to allocate an // ENI on your behalf. // // IamRoleArn is a required field IamRoleArn *string `locationName:"IamRoleArn" type:"string" required:"true"` // The SSH public key to install on the HSM. // // SshKey is a required field SshKey *string `locationName:"SshKey" type:"string" required:"true"` // The identifier of the subnet in your VPC in which to place the HSM. // // SubnetId is a required field SubnetId *string `locationName:"SubnetId" type:"string" required:"true"` // 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 is a required field SubscriptionType SubscriptionType `locationName:"SubscriptionType" type:"string" required:"true" enum:"true"` // The IP address for the syslog monitoring server. The AWS CloudHSM service // only supports one syslog monitoring server. SyslogIp *string `locationName:"SyslogIp" type:"string"` // contains filtered or unexported fields }
Contains the inputs for the CreateHsm operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/CreateHsmRequest
func (CreateHsmInput) GoString ¶
func (s CreateHsmInput) GoString() string
GoString returns the string representation
func (CreateHsmInput) String ¶
func (s CreateHsmInput) String() string
String returns the string representation
func (*CreateHsmInput) Validate ¶
func (s *CreateHsmInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateHsmOutput ¶
type CreateHsmOutput struct { // The ARN of the HSM. HsmArn *string `type:"string"` // contains filtered or unexported fields }
Contains the output of the CreateHsm operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/CreateHsmResponse
func (CreateHsmOutput) GoString ¶
func (s CreateHsmOutput) GoString() string
GoString returns the string representation
func (CreateHsmOutput) SDKResponseMetadata ¶
func (s CreateHsmOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateHsmOutput) String ¶
func (s CreateHsmOutput) String() string
String returns the string representation
type CreateHsmRequest ¶
type CreateHsmRequest struct { *aws.Request Input *CreateHsmInput Copy func(*CreateHsmInput) CreateHsmRequest }
CreateHsmRequest is a API request type for the CreateHsm API operation.
func (CreateHsmRequest) Send ¶
func (r CreateHsmRequest) Send() (*CreateHsmOutput, error)
Send marshals and sends the CreateHsm API request.
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 is a required field Certificate *string `min:"600" type:"string" required:"true"` // The label for the client. Label *string `type:"string"` // contains filtered or unexported fields }
Contains the inputs for the CreateLunaClient action. Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/CreateLunaClientRequest
func (CreateLunaClientInput) GoString ¶
func (s CreateLunaClientInput) GoString() string
GoString returns the string representation
func (CreateLunaClientInput) String ¶
func (s CreateLunaClientInput) String() string
String returns the string representation
func (*CreateLunaClientInput) Validate ¶
func (s *CreateLunaClientInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateLunaClientOutput ¶
type CreateLunaClientOutput struct { // The ARN of the client. ClientArn *string `type:"string"` // contains filtered or unexported fields }
Contains the output of the CreateLunaClient action. Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/CreateLunaClientResponse
func (CreateLunaClientOutput) GoString ¶
func (s CreateLunaClientOutput) GoString() string
GoString returns the string representation
func (CreateLunaClientOutput) SDKResponseMetadata ¶
func (s CreateLunaClientOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateLunaClientOutput) String ¶
func (s CreateLunaClientOutput) String() string
String returns the string representation
type CreateLunaClientRequest ¶
type CreateLunaClientRequest struct { *aws.Request Input *CreateLunaClientInput Copy func(*CreateLunaClientInput) CreateLunaClientRequest }
CreateLunaClientRequest is a API request type for the CreateLunaClient API operation.
func (CreateLunaClientRequest) Send ¶
func (r CreateLunaClientRequest) Send() (*CreateLunaClientOutput, error)
Send marshals and sends the CreateLunaClient API request.
type DeleteHapgInput ¶
type DeleteHapgInput struct { // The ARN of the high-availability partition group to delete. // // HapgArn is a required field HapgArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the inputs for the DeleteHapg action. Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DeleteHapgRequest
func (DeleteHapgInput) GoString ¶
func (s DeleteHapgInput) GoString() string
GoString returns the string representation
func (DeleteHapgInput) String ¶
func (s DeleteHapgInput) String() string
String returns the string representation
func (*DeleteHapgInput) Validate ¶
func (s *DeleteHapgInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteHapgOutput ¶
type DeleteHapgOutput struct { // The status of the action. // // Status is a required field Status *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the output of the DeleteHapg action. Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DeleteHapgResponse
func (DeleteHapgOutput) GoString ¶
func (s DeleteHapgOutput) GoString() string
GoString returns the string representation
func (DeleteHapgOutput) SDKResponseMetadata ¶
func (s DeleteHapgOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteHapgOutput) String ¶
func (s DeleteHapgOutput) String() string
String returns the string representation
type DeleteHapgRequest ¶
type DeleteHapgRequest struct { *aws.Request Input *DeleteHapgInput Copy func(*DeleteHapgInput) DeleteHapgRequest }
DeleteHapgRequest is a API request type for the DeleteHapg API operation.
func (DeleteHapgRequest) Send ¶
func (r DeleteHapgRequest) Send() (*DeleteHapgOutput, error)
Send marshals and sends the DeleteHapg API request.
type DeleteHsmInput ¶
type DeleteHsmInput struct { // The ARN of the HSM to delete. // // HsmArn is a required field HsmArn *string `locationName:"HsmArn" type:"string" required:"true"` // contains filtered or unexported fields }
Contains the inputs for the DeleteHsm operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DeleteHsmRequest
func (DeleteHsmInput) GoString ¶
func (s DeleteHsmInput) GoString() string
GoString returns the string representation
func (DeleteHsmInput) String ¶
func (s DeleteHsmInput) String() string
String returns the string representation
func (*DeleteHsmInput) Validate ¶
func (s *DeleteHsmInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteHsmOutput ¶
type DeleteHsmOutput struct { // The status of the operation. // // Status is a required field Status *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the output of the DeleteHsm operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DeleteHsmResponse
func (DeleteHsmOutput) GoString ¶
func (s DeleteHsmOutput) GoString() string
GoString returns the string representation
func (DeleteHsmOutput) SDKResponseMetadata ¶
func (s DeleteHsmOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteHsmOutput) String ¶
func (s DeleteHsmOutput) String() string
String returns the string representation
type DeleteHsmRequest ¶
type DeleteHsmRequest struct { *aws.Request Input *DeleteHsmInput Copy func(*DeleteHsmInput) DeleteHsmRequest }
DeleteHsmRequest is a API request type for the DeleteHsm API operation.
func (DeleteHsmRequest) Send ¶
func (r DeleteHsmRequest) Send() (*DeleteHsmOutput, error)
Send marshals and sends the DeleteHsm API request.
type DeleteLunaClientInput ¶
type DeleteLunaClientInput struct { // The ARN of the client to delete. // // ClientArn is a required field ClientArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DeleteLunaClientRequest
func (DeleteLunaClientInput) GoString ¶
func (s DeleteLunaClientInput) GoString() string
GoString returns the string representation
func (DeleteLunaClientInput) String ¶
func (s DeleteLunaClientInput) String() string
String returns the string representation
func (*DeleteLunaClientInput) Validate ¶
func (s *DeleteLunaClientInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteLunaClientOutput ¶
type DeleteLunaClientOutput struct { // The status of the action. // // Status is a required field Status *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DeleteLunaClientResponse
func (DeleteLunaClientOutput) GoString ¶
func (s DeleteLunaClientOutput) GoString() string
GoString returns the string representation
func (DeleteLunaClientOutput) SDKResponseMetadata ¶
func (s DeleteLunaClientOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteLunaClientOutput) String ¶
func (s DeleteLunaClientOutput) String() string
String returns the string representation
type DeleteLunaClientRequest ¶
type DeleteLunaClientRequest struct { *aws.Request Input *DeleteLunaClientInput Copy func(*DeleteLunaClientInput) DeleteLunaClientRequest }
DeleteLunaClientRequest is a API request type for the DeleteLunaClient API operation.
func (DeleteLunaClientRequest) Send ¶
func (r DeleteLunaClientRequest) Send() (*DeleteLunaClientOutput, error)
Send marshals and sends the DeleteLunaClient API request.
type DescribeHapgInput ¶
type DescribeHapgInput struct { // The ARN of the high-availability partition group to describe. // // HapgArn is a required field HapgArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the inputs for the DescribeHapg action. Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DescribeHapgRequest
func (DescribeHapgInput) GoString ¶
func (s DescribeHapgInput) GoString() string
GoString returns the string representation
func (DescribeHapgInput) String ¶
func (s DescribeHapgInput) String() string
String returns the string representation
func (*DescribeHapgInput) Validate ¶
func (s *DescribeHapgInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeHapgOutput ¶
type DescribeHapgOutput struct { // The ARN of the high-availability partition group. HapgArn *string `type:"string"` // The serial number of the high-availability partition group. HapgSerial *string `type:"string"` // Contains a list of ARNs that identify the HSMs. HsmsLastActionFailed []string `type:"list"` // Contains a list of ARNs that identify the HSMs. HsmsPendingDeletion []string `type:"list"` // Contains a list of ARNs that identify the HSMs. HsmsPendingRegistration []string `type:"list"` // The label for the high-availability partition group. Label *string `type:"string"` // The date and time the high-availability partition group was last modified. LastModifiedTimestamp *string `type:"string"` // The list of partition serial numbers that belong to the high-availability // partition group. PartitionSerialList []string `type:"list"` // The state of the high-availability partition group. State CloudHsmObjectState `type:"string" enum:"true"` // contains filtered or unexported fields }
Contains the output of the DescribeHapg action. Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DescribeHapgResponse
func (DescribeHapgOutput) GoString ¶
func (s DescribeHapgOutput) GoString() string
GoString returns the string representation
func (DescribeHapgOutput) SDKResponseMetadata ¶
func (s DescribeHapgOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeHapgOutput) String ¶
func (s DescribeHapgOutput) String() string
String returns the string representation
type DescribeHapgRequest ¶
type DescribeHapgRequest struct { *aws.Request Input *DescribeHapgInput Copy func(*DescribeHapgInput) DescribeHapgRequest }
DescribeHapgRequest is a API request type for the DescribeHapg API operation.
func (DescribeHapgRequest) Send ¶
func (r DescribeHapgRequest) Send() (*DescribeHapgOutput, error)
Send marshals and sends the DescribeHapg API request.
type DescribeHsmInput ¶
type DescribeHsmInput struct { // The ARN of the HSM. Either the HsmArn or the SerialNumber parameter must // be specified. HsmArn *string `type:"string"` // The serial number of the HSM. Either the HsmArn or the HsmSerialNumber parameter // must be specified. HsmSerialNumber *string `type:"string"` // contains filtered or unexported fields }
Contains the inputs for the DescribeHsm operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DescribeHsmRequest
func (DescribeHsmInput) GoString ¶
func (s DescribeHsmInput) GoString() string
GoString returns the string representation
func (DescribeHsmInput) String ¶
func (s DescribeHsmInput) String() string
String returns the string representation
type DescribeHsmOutput ¶
type DescribeHsmOutput struct { // The Availability Zone that the HSM is in. AvailabilityZone *string `type:"string"` // The identifier of the elastic network interface (ENI) attached to the HSM. EniId *string `type:"string"` // The IP address assigned to the HSM's ENI. EniIp *string `type:"string"` // The ARN of the HSM. HsmArn *string `type:"string"` // The HSM model type. HsmType *string `type:"string"` // The ARN of the IAM role assigned to the HSM. IamRoleArn *string `type:"string"` // The list of partitions on the HSM. Partitions []string `type:"list"` // The serial number of the HSM. SerialNumber *string `type:"string"` // The date and time that the server certificate was last updated. ServerCertLastUpdated *string `type:"string"` // The URI of the certificate server. ServerCertUri *string `type:"string"` // The HSM software version. SoftwareVersion *string `type:"string"` // The date and time that the SSH key was last updated. SshKeyLastUpdated *string `type:"string"` // The public SSH key. SshPublicKey *string `type:"string"` // The status of the HSM. Status HsmStatus `type:"string" enum:"true"` // Contains additional information about the status of the HSM. StatusDetails *string `type:"string"` // The identifier of the subnet that the HSM is in. SubnetId *string `type:"string"` // The subscription end date. SubscriptionEndDate *string `type:"string"` // The subscription start date. SubscriptionStartDate *string `type:"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 SubscriptionType `type:"string" enum:"true"` // The name of the HSM vendor. VendorName *string `type:"string"` // The identifier of the VPC that the HSM is in. VpcId *string `type:"string"` // contains filtered or unexported fields }
Contains the output of the DescribeHsm operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DescribeHsmResponse
func (DescribeHsmOutput) GoString ¶
func (s DescribeHsmOutput) GoString() string
GoString returns the string representation
func (DescribeHsmOutput) SDKResponseMetadata ¶
func (s DescribeHsmOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeHsmOutput) String ¶
func (s DescribeHsmOutput) String() string
String returns the string representation
type DescribeHsmRequest ¶
type DescribeHsmRequest struct { *aws.Request Input *DescribeHsmInput Copy func(*DescribeHsmInput) DescribeHsmRequest }
DescribeHsmRequest is a API request type for the DescribeHsm API operation.
func (DescribeHsmRequest) Send ¶
func (r DescribeHsmRequest) Send() (*DescribeHsmOutput, error)
Send marshals and sends the DescribeHsm API request.
type DescribeLunaClientInput ¶
type DescribeLunaClientInput struct { // The certificate fingerprint. CertificateFingerprint *string `type:"string"` // The ARN of the client. ClientArn *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DescribeLunaClientRequest
func (DescribeLunaClientInput) GoString ¶
func (s DescribeLunaClientInput) GoString() string
GoString returns the string representation
func (DescribeLunaClientInput) String ¶
func (s DescribeLunaClientInput) String() string
String returns the string representation
type DescribeLunaClientOutput ¶
type DescribeLunaClientOutput struct { // The certificate installed on the HSMs used by this client. Certificate *string `min:"600" type:"string"` // The certificate fingerprint. CertificateFingerprint *string `type:"string"` // The ARN of the client. ClientArn *string `type:"string"` // The label of the client. Label *string `type:"string"` // The date and time the client was last modified. LastModifiedTimestamp *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DescribeLunaClientResponse
func (DescribeLunaClientOutput) GoString ¶
func (s DescribeLunaClientOutput) GoString() string
GoString returns the string representation
func (DescribeLunaClientOutput) SDKResponseMetadata ¶
func (s DescribeLunaClientOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeLunaClientOutput) String ¶
func (s DescribeLunaClientOutput) String() string
String returns the string representation
type DescribeLunaClientRequest ¶
type DescribeLunaClientRequest struct { *aws.Request Input *DescribeLunaClientInput Copy func(*DescribeLunaClientInput) DescribeLunaClientRequest }
DescribeLunaClientRequest is a API request type for the DescribeLunaClient API operation.
func (DescribeLunaClientRequest) Send ¶
func (r DescribeLunaClientRequest) Send() (*DescribeLunaClientOutput, error)
Send marshals and sends the DescribeLunaClient API request.
type GetConfigInput ¶
type GetConfigInput struct { // The ARN of the client. // // ClientArn is a required field ClientArn *string `type:"string" required:"true"` // The client version. // // ClientVersion is a required field ClientVersion ClientVersion `type:"string" required:"true" enum:"true"` // A list of ARNs that identify the high-availability partition groups that // are associated with the client. // // HapgList is a required field HapgList []string `type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/GetConfigRequest
func (GetConfigInput) GoString ¶
func (s GetConfigInput) GoString() string
GoString returns the string representation
func (GetConfigInput) String ¶
func (s GetConfigInput) String() string
String returns the string representation
func (*GetConfigInput) Validate ¶
func (s *GetConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetConfigOutput ¶
type GetConfigOutput struct { // The certificate file containing the server.pem files of the HSMs. ConfigCred *string `type:"string"` // The chrystoki.conf configuration file. ConfigFile *string `type:"string"` // The type of credentials. ConfigType *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/GetConfigResponse
func (GetConfigOutput) GoString ¶
func (s GetConfigOutput) GoString() string
GoString returns the string representation
func (GetConfigOutput) SDKResponseMetadata ¶
func (s GetConfigOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetConfigOutput) String ¶
func (s GetConfigOutput) String() string
String returns the string representation
type GetConfigRequest ¶
type GetConfigRequest struct { *aws.Request Input *GetConfigInput Copy func(*GetConfigInput) GetConfigRequest }
GetConfigRequest is a API request type for the GetConfig API operation.
func (GetConfigRequest) Send ¶
func (r GetConfigRequest) Send() (*GetConfigOutput, error)
Send marshals and sends the GetConfig API request.
type HsmStatus ¶
type HsmStatus string
const ( HsmStatusPending HsmStatus = "PENDING" HsmStatusRunning HsmStatus = "RUNNING" HsmStatusUpdating HsmStatus = "UPDATING" HsmStatusSuspended HsmStatus = "SUSPENDED" HsmStatusTerminating HsmStatus = "TERMINATING" HsmStatusTerminated HsmStatus = "TERMINATED" HsmStatusDegraded HsmStatus = "DEGRADED" )
Enum values for HsmStatus
func (HsmStatus) MarshalValue ¶ added in v0.3.0
type ListAvailableZonesInput ¶
type ListAvailableZonesInput struct {
// contains filtered or unexported fields
}
Contains the inputs for the ListAvailableZones action. Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListAvailableZonesRequest
func (ListAvailableZonesInput) GoString ¶
func (s ListAvailableZonesInput) GoString() string
GoString returns the string representation
func (ListAvailableZonesInput) String ¶
func (s ListAvailableZonesInput) String() string
String returns the string representation
type ListAvailableZonesOutput ¶
type ListAvailableZonesOutput struct { // The list of Availability Zones that have available AWS CloudHSM capacity. AZList []string `type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListAvailableZonesResponse
func (ListAvailableZonesOutput) GoString ¶
func (s ListAvailableZonesOutput) GoString() string
GoString returns the string representation
func (ListAvailableZonesOutput) SDKResponseMetadata ¶
func (s ListAvailableZonesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListAvailableZonesOutput) String ¶
func (s ListAvailableZonesOutput) String() string
String returns the string representation
type ListAvailableZonesRequest ¶
type ListAvailableZonesRequest struct { *aws.Request Input *ListAvailableZonesInput Copy func(*ListAvailableZonesInput) ListAvailableZonesRequest }
ListAvailableZonesRequest is a API request type for the ListAvailableZones API operation.
func (ListAvailableZonesRequest) Send ¶
func (r ListAvailableZonesRequest) Send() (*ListAvailableZonesOutput, error)
Send marshals and sends the ListAvailableZones API request.
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:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListHapgsRequest
func (ListHapgsInput) GoString ¶
func (s ListHapgsInput) GoString() string
GoString returns the string representation
func (ListHapgsInput) String ¶
func (s ListHapgsInput) String() string
String returns the string representation
type ListHapgsOutput ¶
type ListHapgsOutput struct { // The list of high-availability partition groups. // // HapgList is a required field HapgList []string `type:"list" required:"true"` // If not null, more results are available. Pass this value to ListHapgs to // retrieve the next set of items. NextToken *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListHapgsResponse
func (ListHapgsOutput) GoString ¶
func (s ListHapgsOutput) GoString() string
GoString returns the string representation
func (ListHapgsOutput) SDKResponseMetadata ¶
func (s ListHapgsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListHapgsOutput) String ¶
func (s ListHapgsOutput) String() string
String returns the string representation
type ListHapgsRequest ¶
type ListHapgsRequest struct { *aws.Request Input *ListHapgsInput Copy func(*ListHapgsInput) ListHapgsRequest }
ListHapgsRequest is a API request type for the ListHapgs API operation.
func (ListHapgsRequest) Send ¶
func (r ListHapgsRequest) Send() (*ListHapgsOutput, error)
Send marshals and sends the ListHapgs API request.
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:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListHsmsRequest
func (ListHsmsInput) GoString ¶
func (s ListHsmsInput) GoString() string
GoString returns the string representation
func (ListHsmsInput) String ¶
func (s ListHsmsInput) String() string
String returns the string representation
type ListHsmsOutput ¶
type ListHsmsOutput struct { // The list of ARNs that identify the HSMs. HsmList []string `type:"list"` // If not null, more results are available. Pass this value to ListHsms to retrieve // the next set of items. NextToken *string `type:"string"` // contains filtered or unexported fields }
Contains the output of the ListHsms operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListHsmsResponse
func (ListHsmsOutput) GoString ¶
func (s ListHsmsOutput) GoString() string
GoString returns the string representation
func (ListHsmsOutput) SDKResponseMetadata ¶
func (s ListHsmsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListHsmsOutput) String ¶
func (s ListHsmsOutput) String() string
String returns the string representation
type ListHsmsRequest ¶
type ListHsmsRequest struct { *aws.Request Input *ListHsmsInput Copy func(*ListHsmsInput) ListHsmsRequest }
ListHsmsRequest is a API request type for the ListHsms API operation.
func (ListHsmsRequest) Send ¶
func (r ListHsmsRequest) Send() (*ListHsmsOutput, error)
Send marshals and sends the ListHsms API request.
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:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListLunaClientsRequest
func (ListLunaClientsInput) GoString ¶
func (s ListLunaClientsInput) GoString() string
GoString returns the string representation
func (ListLunaClientsInput) String ¶
func (s ListLunaClientsInput) String() string
String returns the string representation
type ListLunaClientsOutput ¶
type ListLunaClientsOutput struct { // The list of clients. // // ClientList is a required field ClientList []string `type:"list" required:"true"` // If not null, more results are available. Pass this to ListLunaClients to // retrieve the next set of items. NextToken *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListLunaClientsResponse
func (ListLunaClientsOutput) GoString ¶
func (s ListLunaClientsOutput) GoString() string
GoString returns the string representation
func (ListLunaClientsOutput) SDKResponseMetadata ¶
func (s ListLunaClientsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListLunaClientsOutput) String ¶
func (s ListLunaClientsOutput) String() string
String returns the string representation
type ListLunaClientsRequest ¶
type ListLunaClientsRequest struct { *aws.Request Input *ListLunaClientsInput Copy func(*ListLunaClientsInput) ListLunaClientsRequest }
ListLunaClientsRequest is a API request type for the ListLunaClients API operation.
func (ListLunaClientsRequest) Send ¶
func (r ListLunaClientsRequest) Send() (*ListLunaClientsOutput, error)
Send marshals and sends the ListLunaClients API request.
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) of the AWS CloudHSM resource. // // ResourceArn is a required field ResourceArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListTagsForResourceRequest
func (ListTagsForResourceInput) GoString ¶
func (s ListTagsForResourceInput) GoString() string
GoString returns the string representation
func (ListTagsForResourceInput) String ¶
func (s ListTagsForResourceInput) String() string
String returns the string representation
func (*ListTagsForResourceInput) Validate ¶
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // One or more tags. // // TagList is a required field TagList []Tag `type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListTagsForResourceResponse
func (ListTagsForResourceOutput) GoString ¶
func (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation
func (ListTagsForResourceOutput) SDKResponseMetadata ¶
func (s ListTagsForResourceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListTagsForResourceOutput) String ¶
func (s ListTagsForResourceOutput) String() string
String returns the string representation
type ListTagsForResourceRequest ¶
type ListTagsForResourceRequest struct { *aws.Request Input *ListTagsForResourceInput Copy func(*ListTagsForResourceInput) ListTagsForResourceRequest }
ListTagsForResourceRequest is a API request type for the ListTagsForResource API operation.
func (ListTagsForResourceRequest) Send ¶
func (r ListTagsForResourceRequest) Send() (*ListTagsForResourceOutput, error)
Send marshals and sends the ListTagsForResource API request.
type ModifyHapgInput ¶
type ModifyHapgInput struct { // The ARN of the high-availability partition group to modify. // // HapgArn is a required field HapgArn *string `type:"string" required:"true"` // The new label for the high-availability partition group. Label *string `type:"string"` // The list of partition serial numbers to make members of the high-availability // partition group. PartitionSerialList []string `type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ModifyHapgRequest
func (ModifyHapgInput) GoString ¶
func (s ModifyHapgInput) GoString() string
GoString returns the string representation
func (ModifyHapgInput) String ¶
func (s ModifyHapgInput) String() string
String returns the string representation
func (*ModifyHapgInput) Validate ¶
func (s *ModifyHapgInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyHapgOutput ¶
type ModifyHapgOutput struct { // The ARN of the high-availability partition group. HapgArn *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ModifyHapgResponse
func (ModifyHapgOutput) GoString ¶
func (s ModifyHapgOutput) GoString() string
GoString returns the string representation
func (ModifyHapgOutput) SDKResponseMetadata ¶
func (s ModifyHapgOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ModifyHapgOutput) String ¶
func (s ModifyHapgOutput) String() string
String returns the string representation
type ModifyHapgRequest ¶
type ModifyHapgRequest struct { *aws.Request Input *ModifyHapgInput Copy func(*ModifyHapgInput) ModifyHapgRequest }
ModifyHapgRequest is a API request type for the ModifyHapg API operation.
func (ModifyHapgRequest) Send ¶
func (r ModifyHapgRequest) Send() (*ModifyHapgOutput, error)
Send marshals and sends the ModifyHapg API request.
type ModifyHsmInput ¶
type ModifyHsmInput struct { // 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 `locationName:"EniIp" type:"string"` // The new external ID. ExternalId *string `locationName:"ExternalId" type:"string"` // The ARN of the HSM to modify. // // HsmArn is a required field HsmArn *string `locationName:"HsmArn" type:"string" required:"true"` // The new IAM role ARN. IamRoleArn *string `locationName:"IamRoleArn" type:"string"` // 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 `locationName:"SubnetId" type:"string"` // The new IP address for the syslog monitoring server. The AWS CloudHSM service // only supports one syslog monitoring server. SyslogIp *string `locationName:"SyslogIp" type:"string"` // contains filtered or unexported fields }
Contains the inputs for the ModifyHsm operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ModifyHsmRequest
func (ModifyHsmInput) GoString ¶
func (s ModifyHsmInput) GoString() string
GoString returns the string representation
func (ModifyHsmInput) String ¶
func (s ModifyHsmInput) String() string
String returns the string representation
func (*ModifyHsmInput) Validate ¶
func (s *ModifyHsmInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyHsmOutput ¶
type ModifyHsmOutput struct { // The ARN of the HSM. HsmArn *string `type:"string"` // contains filtered or unexported fields }
Contains the output of the ModifyHsm operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ModifyHsmResponse
func (ModifyHsmOutput) GoString ¶
func (s ModifyHsmOutput) GoString() string
GoString returns the string representation
func (ModifyHsmOutput) SDKResponseMetadata ¶
func (s ModifyHsmOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ModifyHsmOutput) String ¶
func (s ModifyHsmOutput) String() string
String returns the string representation
type ModifyHsmRequest ¶
type ModifyHsmRequest struct { *aws.Request Input *ModifyHsmInput Copy func(*ModifyHsmInput) ModifyHsmRequest }
ModifyHsmRequest is a API request type for the ModifyHsm API operation.
func (ModifyHsmRequest) Send ¶
func (r ModifyHsmRequest) Send() (*ModifyHsmOutput, error)
Send marshals and sends the ModifyHsm API request.
type ModifyLunaClientInput ¶
type ModifyLunaClientInput struct { // The new certificate for the client. // // Certificate is a required field Certificate *string `min:"600" type:"string" required:"true"` // The ARN of the client. // // ClientArn is a required field ClientArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ModifyLunaClientRequest
func (ModifyLunaClientInput) GoString ¶
func (s ModifyLunaClientInput) GoString() string
GoString returns the string representation
func (ModifyLunaClientInput) String ¶
func (s ModifyLunaClientInput) String() string
String returns the string representation
func (*ModifyLunaClientInput) Validate ¶
func (s *ModifyLunaClientInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyLunaClientOutput ¶
type ModifyLunaClientOutput struct { // The ARN of the client. ClientArn *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ModifyLunaClientResponse
func (ModifyLunaClientOutput) GoString ¶
func (s ModifyLunaClientOutput) GoString() string
GoString returns the string representation
func (ModifyLunaClientOutput) SDKResponseMetadata ¶
func (s ModifyLunaClientOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ModifyLunaClientOutput) String ¶
func (s ModifyLunaClientOutput) String() string
String returns the string representation
type ModifyLunaClientRequest ¶
type ModifyLunaClientRequest struct { *aws.Request Input *ModifyLunaClientInput Copy func(*ModifyLunaClientInput) ModifyLunaClientRequest }
ModifyLunaClientRequest is a API request type for the ModifyLunaClient API operation.
func (ModifyLunaClientRequest) Send ¶
func (r ModifyLunaClientRequest) Send() (*ModifyLunaClientOutput, error)
Send marshals and sends the ModifyLunaClient API request.
type RemoveTagsFromResourceInput ¶
type RemoveTagsFromResourceInput struct { // The Amazon Resource Name (ARN) of the AWS CloudHSM resource. // // ResourceArn is a required field ResourceArn *string `type:"string" required:"true"` // 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 is a required field TagKeyList []string `type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/RemoveTagsFromResourceRequest
func (RemoveTagsFromResourceInput) GoString ¶
func (s RemoveTagsFromResourceInput) GoString() string
GoString returns the string representation
func (RemoveTagsFromResourceInput) String ¶
func (s RemoveTagsFromResourceInput) String() string
String returns the string representation
func (*RemoveTagsFromResourceInput) Validate ¶
func (s *RemoveTagsFromResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RemoveTagsFromResourceOutput ¶
type RemoveTagsFromResourceOutput struct { // The status of the operation. // // Status is a required field Status *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/RemoveTagsFromResourceResponse
func (RemoveTagsFromResourceOutput) GoString ¶
func (s RemoveTagsFromResourceOutput) GoString() string
GoString returns the string representation
func (RemoveTagsFromResourceOutput) SDKResponseMetadata ¶
func (s RemoveTagsFromResourceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (RemoveTagsFromResourceOutput) String ¶
func (s RemoveTagsFromResourceOutput) String() string
String returns the string representation
type RemoveTagsFromResourceRequest ¶
type RemoveTagsFromResourceRequest struct { *aws.Request Input *RemoveTagsFromResourceInput Copy func(*RemoveTagsFromResourceInput) RemoveTagsFromResourceRequest }
RemoveTagsFromResourceRequest is a API request type for the RemoveTagsFromResource API operation.
func (RemoveTagsFromResourceRequest) Send ¶
func (r RemoveTagsFromResourceRequest) Send() (*RemoveTagsFromResourceOutput, error)
Send marshals and sends the RemoveTagsFromResource API request.
type SubscriptionType ¶
type SubscriptionType 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.
const (
SubscriptionTypeProduction SubscriptionType = "PRODUCTION"
)
Enum values for SubscriptionType
func (SubscriptionType) MarshalValue ¶ added in v0.3.0
func (enum SubscriptionType) MarshalValue() (string, error)
func (SubscriptionType) MarshalValueBuf ¶ added in v0.3.0
func (enum SubscriptionType) MarshalValueBuf(b []byte) ([]byte, error)
type Tag ¶
type Tag struct { // The key of the tag. // // Key is a required field Key *string `min:"1" type:"string" required:"true"` // The value of the tag. // // Value is a required field Value *string `type:"string" required:"true"` // contains filtered or unexported fields }
A key-value pair that identifies or specifies metadata about an AWS CloudHSM resource. Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/Tag
Directories ¶
Path | Synopsis |
---|---|
Package cloudhsmiface provides an interface to enable mocking the Amazon CloudHSM service client for testing your code.
|
Package cloudhsmiface provides an interface to enable mocking the Amazon CloudHSM service client for testing your code. |