mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-30 04:20:53 +00:00
Upgrade AWS SDK to the latest version
This commit is contained in:
+181
-202
@@ -1,6 +1,5 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
// Package cloudhsm provides a client for Amazon CloudHSM.
|
||||
package cloudhsm
|
||||
|
||||
import (
|
||||
@@ -15,19 +14,18 @@ const opAddTagsToResource = "AddTagsToResource"
|
||||
|
||||
// AddTagsToResourceRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the AddTagsToResource operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See AddTagsToResource for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the AddTagsToResource method directly
|
||||
// instead.
|
||||
// See AddTagsToResource for more information on using the AddTagsToResource
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the AddTagsToResourceRequest method.
|
||||
// req, resp := client.AddTagsToResourceRequest(params)
|
||||
@@ -103,19 +101,18 @@ const opCreateHapg = "CreateHapg"
|
||||
|
||||
// CreateHapgRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateHapg operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateHapg for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateHapg method directly
|
||||
// instead.
|
||||
// See CreateHapg for more information on using the CreateHapg
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateHapgRequest method.
|
||||
// req, resp := client.CreateHapgRequest(params)
|
||||
@@ -190,19 +187,18 @@ const opCreateHsm = "CreateHsm"
|
||||
|
||||
// CreateHsmRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateHsm operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateHsm for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateHsm method directly
|
||||
// instead.
|
||||
// See CreateHsm for more information on using the CreateHsm
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateHsmRequest method.
|
||||
// req, resp := client.CreateHsmRequest(params)
|
||||
@@ -286,19 +282,18 @@ const opCreateLunaClient = "CreateLunaClient"
|
||||
|
||||
// CreateLunaClientRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateLunaClient operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateLunaClient for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateLunaClient method directly
|
||||
// instead.
|
||||
// See CreateLunaClient for more information on using the CreateLunaClient
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateLunaClientRequest method.
|
||||
// req, resp := client.CreateLunaClientRequest(params)
|
||||
@@ -372,19 +367,18 @@ const opDeleteHapg = "DeleteHapg"
|
||||
|
||||
// DeleteHapgRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteHapg operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteHapg for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteHapg method directly
|
||||
// instead.
|
||||
// See DeleteHapg for more information on using the DeleteHapg
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteHapgRequest method.
|
||||
// req, resp := client.DeleteHapgRequest(params)
|
||||
@@ -458,19 +452,18 @@ const opDeleteHsm = "DeleteHsm"
|
||||
|
||||
// DeleteHsmRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteHsm operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteHsm for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteHsm method directly
|
||||
// instead.
|
||||
// See DeleteHsm for more information on using the DeleteHsm
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteHsmRequest method.
|
||||
// req, resp := client.DeleteHsmRequest(params)
|
||||
@@ -545,19 +538,18 @@ const opDeleteLunaClient = "DeleteLunaClient"
|
||||
|
||||
// DeleteLunaClientRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteLunaClient operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteLunaClient for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteLunaClient method directly
|
||||
// instead.
|
||||
// See DeleteLunaClient for more information on using the DeleteLunaClient
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteLunaClientRequest method.
|
||||
// req, resp := client.DeleteLunaClientRequest(params)
|
||||
@@ -631,19 +623,18 @@ const opDescribeHapg = "DescribeHapg"
|
||||
|
||||
// DescribeHapgRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeHapg operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeHapg for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeHapg method directly
|
||||
// instead.
|
||||
// See DescribeHapg for more information on using the DescribeHapg
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeHapgRequest method.
|
||||
// req, resp := client.DescribeHapgRequest(params)
|
||||
@@ -717,19 +708,18 @@ const opDescribeHsm = "DescribeHsm"
|
||||
|
||||
// DescribeHsmRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeHsm operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeHsm for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeHsm method directly
|
||||
// instead.
|
||||
// See DescribeHsm for more information on using the DescribeHsm
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeHsmRequest method.
|
||||
// req, resp := client.DescribeHsmRequest(params)
|
||||
@@ -804,19 +794,18 @@ const opDescribeLunaClient = "DescribeLunaClient"
|
||||
|
||||
// DescribeLunaClientRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeLunaClient operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeLunaClient for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeLunaClient method directly
|
||||
// instead.
|
||||
// See DescribeLunaClient for more information on using the DescribeLunaClient
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeLunaClientRequest method.
|
||||
// req, resp := client.DescribeLunaClientRequest(params)
|
||||
@@ -890,19 +879,18 @@ const opGetConfig = "GetConfig"
|
||||
|
||||
// GetConfigRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetConfig operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetConfig for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetConfig method directly
|
||||
// instead.
|
||||
// See GetConfig for more information on using the GetConfig
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetConfigRequest method.
|
||||
// req, resp := client.GetConfigRequest(params)
|
||||
@@ -977,19 +965,18 @@ const opListAvailableZones = "ListAvailableZones"
|
||||
|
||||
// ListAvailableZonesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListAvailableZones operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListAvailableZones for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListAvailableZones method directly
|
||||
// instead.
|
||||
// See ListAvailableZones for more information on using the ListAvailableZones
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListAvailableZonesRequest method.
|
||||
// req, resp := client.ListAvailableZonesRequest(params)
|
||||
@@ -1063,19 +1050,18 @@ const opListHapgs = "ListHapgs"
|
||||
|
||||
// ListHapgsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListHapgs operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListHapgs for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListHapgs method directly
|
||||
// instead.
|
||||
// See ListHapgs for more information on using the ListHapgs
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListHapgsRequest method.
|
||||
// req, resp := client.ListHapgsRequest(params)
|
||||
@@ -1154,19 +1140,18 @@ const opListHsms = "ListHsms"
|
||||
|
||||
// ListHsmsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListHsms operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListHsms for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListHsms method directly
|
||||
// instead.
|
||||
// See ListHsms for more information on using the ListHsms
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListHsmsRequest method.
|
||||
// req, resp := client.ListHsmsRequest(params)
|
||||
@@ -1246,19 +1231,18 @@ const opListLunaClients = "ListLunaClients"
|
||||
|
||||
// ListLunaClientsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListLunaClients operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListLunaClients for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListLunaClients method directly
|
||||
// instead.
|
||||
// See ListLunaClients for more information on using the ListLunaClients
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListLunaClientsRequest method.
|
||||
// req, resp := client.ListLunaClientsRequest(params)
|
||||
@@ -1337,19 +1321,18 @@ const opListTagsForResource = "ListTagsForResource"
|
||||
|
||||
// ListTagsForResourceRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ListTagsForResource operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ListTagsForResource for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ListTagsForResource method directly
|
||||
// instead.
|
||||
// See ListTagsForResource for more information on using the ListTagsForResource
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ListTagsForResourceRequest method.
|
||||
// req, resp := client.ListTagsForResourceRequest(params)
|
||||
@@ -1423,19 +1406,18 @@ const opModifyHapg = "ModifyHapg"
|
||||
|
||||
// ModifyHapgRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ModifyHapg operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ModifyHapg for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ModifyHapg method directly
|
||||
// instead.
|
||||
// See ModifyHapg for more information on using the ModifyHapg
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ModifyHapgRequest method.
|
||||
// req, resp := client.ModifyHapgRequest(params)
|
||||
@@ -1509,19 +1491,18 @@ const opModifyHsm = "ModifyHsm"
|
||||
|
||||
// ModifyHsmRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ModifyHsm operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ModifyHsm for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ModifyHsm method directly
|
||||
// instead.
|
||||
// See ModifyHsm for more information on using the ModifyHsm
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ModifyHsmRequest method.
|
||||
// req, resp := client.ModifyHsmRequest(params)
|
||||
@@ -1601,19 +1582,18 @@ const opModifyLunaClient = "ModifyLunaClient"
|
||||
|
||||
// ModifyLunaClientRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the ModifyLunaClient operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See ModifyLunaClient for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the ModifyLunaClient method directly
|
||||
// instead.
|
||||
// See ModifyLunaClient for more information on using the ModifyLunaClient
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the ModifyLunaClientRequest method.
|
||||
// req, resp := client.ModifyLunaClientRequest(params)
|
||||
@@ -1684,19 +1664,18 @@ const opRemoveTagsFromResource = "RemoveTagsFromResource"
|
||||
|
||||
// RemoveTagsFromResourceRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the RemoveTagsFromResource operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See RemoveTagsFromResource for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the RemoveTagsFromResource method directly
|
||||
// instead.
|
||||
// See RemoveTagsFromResource for more information on using the RemoveTagsFromResource
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the RemoveTagsFromResourceRequest method.
|
||||
// req, resp := client.RemoveTagsFromResourceRequest(params)
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
// Package cloudhsmiface provides an interface to enable mocking the Amazon CloudHSM service client
|
||||
// for testing your code.
|
||||
@@ -21,7 +21,7 @@ import (
|
||||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // Amazon CloudHSM.
|
||||
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
// Package cloudhsm provides the client and types for making API
|
||||
// requests to Amazon CloudHSM.
|
||||
//
|
||||
// AWS CloudHSM Service
|
||||
//
|
||||
// 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
|
||||
package cloudhsm
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
package cloudhsm
|
||||
|
||||
|
||||
-471
@@ -1,471 +0,0 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
|
||||
|
||||
package cloudhsm_test
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/session"
|
||||
"github.com/aws/aws-sdk-go/service/cloudhsm"
|
||||
)
|
||||
|
||||
var _ time.Duration
|
||||
var _ bytes.Buffer
|
||||
|
||||
func ExampleCloudHSM_AddTagsToResource() {
|
||||
sess := session.Must(session.NewSession())
|
||||
|
||||
svc := cloudhsm.New(sess)
|
||||
|
||||
params := &cloudhsm.AddTagsToResourceInput{
|
||||
ResourceArn: aws.String("String"), // Required
|
||||
TagList: []*cloudhsm.Tag{ // Required
|
||||
{ // Required
|
||||
Key: aws.String("TagKey"), // Required
|
||||
Value: aws.String("TagValue"), // Required
|
||||
},
|
||||
// More values...
|
||||
},
|
||||
}
|
||||
resp, err := svc.AddTagsToResource(params)
|
||||
|
||||
if err != nil {
|
||||
// Print the error, cast err to awserr.Error to get the Code and
|
||||
// Message from an error.
|
||||
fmt.Println(err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
// Pretty-print the response data.
|
||||
fmt.Println(resp)
|
||||
}
|
||||
|
||||
func ExampleCloudHSM_CreateHapg() {
|
||||
sess := session.Must(session.NewSession())
|
||||
|
||||
svc := cloudhsm.New(sess)
|
||||
|
||||
params := &cloudhsm.CreateHapgInput{
|
||||
Label: aws.String("Label"), // Required
|
||||
}
|
||||
resp, err := svc.CreateHapg(params)
|
||||
|
||||
if err != nil {
|
||||
// Print the error, cast err to awserr.Error to get the Code and
|
||||
// Message from an error.
|
||||
fmt.Println(err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
// Pretty-print the response data.
|
||||
fmt.Println(resp)
|
||||
}
|
||||
|
||||
func ExampleCloudHSM_CreateHsm() {
|
||||
sess := session.Must(session.NewSession())
|
||||
|
||||
svc := cloudhsm.New(sess)
|
||||
|
||||
params := &cloudhsm.CreateHsmInput{
|
||||
IamRoleArn: aws.String("IamRoleArn"), // Required
|
||||
SshKey: aws.String("SshKey"), // Required
|
||||
SubnetId: aws.String("SubnetId"), // Required
|
||||
SubscriptionType: aws.String("SubscriptionType"), // Required
|
||||
ClientToken: aws.String("ClientToken"),
|
||||
EniIp: aws.String("IpAddress"),
|
||||
ExternalId: aws.String("ExternalId"),
|
||||
SyslogIp: aws.String("IpAddress"),
|
||||
}
|
||||
resp, err := svc.CreateHsm(params)
|
||||
|
||||
if err != nil {
|
||||
// Print the error, cast err to awserr.Error to get the Code and
|
||||
// Message from an error.
|
||||
fmt.Println(err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
// Pretty-print the response data.
|
||||
fmt.Println(resp)
|
||||
}
|
||||
|
||||
func ExampleCloudHSM_CreateLunaClient() {
|
||||
sess := session.Must(session.NewSession())
|
||||
|
||||
svc := cloudhsm.New(sess)
|
||||
|
||||
params := &cloudhsm.CreateLunaClientInput{
|
||||
Certificate: aws.String("Certificate"), // Required
|
||||
Label: aws.String("ClientLabel"),
|
||||
}
|
||||
resp, err := svc.CreateLunaClient(params)
|
||||
|
||||
if err != nil {
|
||||
// Print the error, cast err to awserr.Error to get the Code and
|
||||
// Message from an error.
|
||||
fmt.Println(err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
// Pretty-print the response data.
|
||||
fmt.Println(resp)
|
||||
}
|
||||
|
||||
func ExampleCloudHSM_DeleteHapg() {
|
||||
sess := session.Must(session.NewSession())
|
||||
|
||||
svc := cloudhsm.New(sess)
|
||||
|
||||
params := &cloudhsm.DeleteHapgInput{
|
||||
HapgArn: aws.String("HapgArn"), // Required
|
||||
}
|
||||
resp, err := svc.DeleteHapg(params)
|
||||
|
||||
if err != nil {
|
||||
// Print the error, cast err to awserr.Error to get the Code and
|
||||
// Message from an error.
|
||||
fmt.Println(err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
// Pretty-print the response data.
|
||||
fmt.Println(resp)
|
||||
}
|
||||
|
||||
func ExampleCloudHSM_DeleteHsm() {
|
||||
sess := session.Must(session.NewSession())
|
||||
|
||||
svc := cloudhsm.New(sess)
|
||||
|
||||
params := &cloudhsm.DeleteHsmInput{
|
||||
HsmArn: aws.String("HsmArn"), // Required
|
||||
}
|
||||
resp, err := svc.DeleteHsm(params)
|
||||
|
||||
if err != nil {
|
||||
// Print the error, cast err to awserr.Error to get the Code and
|
||||
// Message from an error.
|
||||
fmt.Println(err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
// Pretty-print the response data.
|
||||
fmt.Println(resp)
|
||||
}
|
||||
|
||||
func ExampleCloudHSM_DeleteLunaClient() {
|
||||
sess := session.Must(session.NewSession())
|
||||
|
||||
svc := cloudhsm.New(sess)
|
||||
|
||||
params := &cloudhsm.DeleteLunaClientInput{
|
||||
ClientArn: aws.String("ClientArn"), // Required
|
||||
}
|
||||
resp, err := svc.DeleteLunaClient(params)
|
||||
|
||||
if err != nil {
|
||||
// Print the error, cast err to awserr.Error to get the Code and
|
||||
// Message from an error.
|
||||
fmt.Println(err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
// Pretty-print the response data.
|
||||
fmt.Println(resp)
|
||||
}
|
||||
|
||||
func ExampleCloudHSM_DescribeHapg() {
|
||||
sess := session.Must(session.NewSession())
|
||||
|
||||
svc := cloudhsm.New(sess)
|
||||
|
||||
params := &cloudhsm.DescribeHapgInput{
|
||||
HapgArn: aws.String("HapgArn"), // Required
|
||||
}
|
||||
resp, err := svc.DescribeHapg(params)
|
||||
|
||||
if err != nil {
|
||||
// Print the error, cast err to awserr.Error to get the Code and
|
||||
// Message from an error.
|
||||
fmt.Println(err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
// Pretty-print the response data.
|
||||
fmt.Println(resp)
|
||||
}
|
||||
|
||||
func ExampleCloudHSM_DescribeHsm() {
|
||||
sess := session.Must(session.NewSession())
|
||||
|
||||
svc := cloudhsm.New(sess)
|
||||
|
||||
params := &cloudhsm.DescribeHsmInput{
|
||||
HsmArn: aws.String("HsmArn"),
|
||||
HsmSerialNumber: aws.String("HsmSerialNumber"),
|
||||
}
|
||||
resp, err := svc.DescribeHsm(params)
|
||||
|
||||
if err != nil {
|
||||
// Print the error, cast err to awserr.Error to get the Code and
|
||||
// Message from an error.
|
||||
fmt.Println(err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
// Pretty-print the response data.
|
||||
fmt.Println(resp)
|
||||
}
|
||||
|
||||
func ExampleCloudHSM_DescribeLunaClient() {
|
||||
sess := session.Must(session.NewSession())
|
||||
|
||||
svc := cloudhsm.New(sess)
|
||||
|
||||
params := &cloudhsm.DescribeLunaClientInput{
|
||||
CertificateFingerprint: aws.String("CertificateFingerprint"),
|
||||
ClientArn: aws.String("ClientArn"),
|
||||
}
|
||||
resp, err := svc.DescribeLunaClient(params)
|
||||
|
||||
if err != nil {
|
||||
// Print the error, cast err to awserr.Error to get the Code and
|
||||
// Message from an error.
|
||||
fmt.Println(err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
// Pretty-print the response data.
|
||||
fmt.Println(resp)
|
||||
}
|
||||
|
||||
func ExampleCloudHSM_GetConfig() {
|
||||
sess := session.Must(session.NewSession())
|
||||
|
||||
svc := cloudhsm.New(sess)
|
||||
|
||||
params := &cloudhsm.GetConfigInput{
|
||||
ClientArn: aws.String("ClientArn"), // Required
|
||||
ClientVersion: aws.String("ClientVersion"), // Required
|
||||
HapgList: []*string{ // Required
|
||||
aws.String("HapgArn"), // Required
|
||||
// More values...
|
||||
},
|
||||
}
|
||||
resp, err := svc.GetConfig(params)
|
||||
|
||||
if err != nil {
|
||||
// Print the error, cast err to awserr.Error to get the Code and
|
||||
// Message from an error.
|
||||
fmt.Println(err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
// Pretty-print the response data.
|
||||
fmt.Println(resp)
|
||||
}
|
||||
|
||||
func ExampleCloudHSM_ListAvailableZones() {
|
||||
sess := session.Must(session.NewSession())
|
||||
|
||||
svc := cloudhsm.New(sess)
|
||||
|
||||
var params *cloudhsm.ListAvailableZonesInput
|
||||
resp, err := svc.ListAvailableZones(params)
|
||||
|
||||
if err != nil {
|
||||
// Print the error, cast err to awserr.Error to get the Code and
|
||||
// Message from an error.
|
||||
fmt.Println(err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
// Pretty-print the response data.
|
||||
fmt.Println(resp)
|
||||
}
|
||||
|
||||
func ExampleCloudHSM_ListHapgs() {
|
||||
sess := session.Must(session.NewSession())
|
||||
|
||||
svc := cloudhsm.New(sess)
|
||||
|
||||
params := &cloudhsm.ListHapgsInput{
|
||||
NextToken: aws.String("PaginationToken"),
|
||||
}
|
||||
resp, err := svc.ListHapgs(params)
|
||||
|
||||
if err != nil {
|
||||
// Print the error, cast err to awserr.Error to get the Code and
|
||||
// Message from an error.
|
||||
fmt.Println(err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
// Pretty-print the response data.
|
||||
fmt.Println(resp)
|
||||
}
|
||||
|
||||
func ExampleCloudHSM_ListHsms() {
|
||||
sess := session.Must(session.NewSession())
|
||||
|
||||
svc := cloudhsm.New(sess)
|
||||
|
||||
params := &cloudhsm.ListHsmsInput{
|
||||
NextToken: aws.String("PaginationToken"),
|
||||
}
|
||||
resp, err := svc.ListHsms(params)
|
||||
|
||||
if err != nil {
|
||||
// Print the error, cast err to awserr.Error to get the Code and
|
||||
// Message from an error.
|
||||
fmt.Println(err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
// Pretty-print the response data.
|
||||
fmt.Println(resp)
|
||||
}
|
||||
|
||||
func ExampleCloudHSM_ListLunaClients() {
|
||||
sess := session.Must(session.NewSession())
|
||||
|
||||
svc := cloudhsm.New(sess)
|
||||
|
||||
params := &cloudhsm.ListLunaClientsInput{
|
||||
NextToken: aws.String("PaginationToken"),
|
||||
}
|
||||
resp, err := svc.ListLunaClients(params)
|
||||
|
||||
if err != nil {
|
||||
// Print the error, cast err to awserr.Error to get the Code and
|
||||
// Message from an error.
|
||||
fmt.Println(err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
// Pretty-print the response data.
|
||||
fmt.Println(resp)
|
||||
}
|
||||
|
||||
func ExampleCloudHSM_ListTagsForResource() {
|
||||
sess := session.Must(session.NewSession())
|
||||
|
||||
svc := cloudhsm.New(sess)
|
||||
|
||||
params := &cloudhsm.ListTagsForResourceInput{
|
||||
ResourceArn: aws.String("String"), // Required
|
||||
}
|
||||
resp, err := svc.ListTagsForResource(params)
|
||||
|
||||
if err != nil {
|
||||
// Print the error, cast err to awserr.Error to get the Code and
|
||||
// Message from an error.
|
||||
fmt.Println(err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
// Pretty-print the response data.
|
||||
fmt.Println(resp)
|
||||
}
|
||||
|
||||
func ExampleCloudHSM_ModifyHapg() {
|
||||
sess := session.Must(session.NewSession())
|
||||
|
||||
svc := cloudhsm.New(sess)
|
||||
|
||||
params := &cloudhsm.ModifyHapgInput{
|
||||
HapgArn: aws.String("HapgArn"), // Required
|
||||
Label: aws.String("Label"),
|
||||
PartitionSerialList: []*string{
|
||||
aws.String("PartitionSerial"), // Required
|
||||
// More values...
|
||||
},
|
||||
}
|
||||
resp, err := svc.ModifyHapg(params)
|
||||
|
||||
if err != nil {
|
||||
// Print the error, cast err to awserr.Error to get the Code and
|
||||
// Message from an error.
|
||||
fmt.Println(err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
// Pretty-print the response data.
|
||||
fmt.Println(resp)
|
||||
}
|
||||
|
||||
func ExampleCloudHSM_ModifyHsm() {
|
||||
sess := session.Must(session.NewSession())
|
||||
|
||||
svc := cloudhsm.New(sess)
|
||||
|
||||
params := &cloudhsm.ModifyHsmInput{
|
||||
HsmArn: aws.String("HsmArn"), // Required
|
||||
EniIp: aws.String("IpAddress"),
|
||||
ExternalId: aws.String("ExternalId"),
|
||||
IamRoleArn: aws.String("IamRoleArn"),
|
||||
SubnetId: aws.String("SubnetId"),
|
||||
SyslogIp: aws.String("IpAddress"),
|
||||
}
|
||||
resp, err := svc.ModifyHsm(params)
|
||||
|
||||
if err != nil {
|
||||
// Print the error, cast err to awserr.Error to get the Code and
|
||||
// Message from an error.
|
||||
fmt.Println(err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
// Pretty-print the response data.
|
||||
fmt.Println(resp)
|
||||
}
|
||||
|
||||
func ExampleCloudHSM_ModifyLunaClient() {
|
||||
sess := session.Must(session.NewSession())
|
||||
|
||||
svc := cloudhsm.New(sess)
|
||||
|
||||
params := &cloudhsm.ModifyLunaClientInput{
|
||||
Certificate: aws.String("Certificate"), // Required
|
||||
ClientArn: aws.String("ClientArn"), // Required
|
||||
}
|
||||
resp, err := svc.ModifyLunaClient(params)
|
||||
|
||||
if err != nil {
|
||||
// Print the error, cast err to awserr.Error to get the Code and
|
||||
// Message from an error.
|
||||
fmt.Println(err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
// Pretty-print the response data.
|
||||
fmt.Println(resp)
|
||||
}
|
||||
|
||||
func ExampleCloudHSM_RemoveTagsFromResource() {
|
||||
sess := session.Must(session.NewSession())
|
||||
|
||||
svc := cloudhsm.New(sess)
|
||||
|
||||
params := &cloudhsm.RemoveTagsFromResourceInput{
|
||||
ResourceArn: aws.String("String"), // Required
|
||||
TagKeyList: []*string{ // Required
|
||||
aws.String("TagKey"), // Required
|
||||
// More values...
|
||||
},
|
||||
}
|
||||
resp, err := svc.RemoveTagsFromResource(params)
|
||||
|
||||
if err != nil {
|
||||
// Print the error, cast err to awserr.Error to get the Code and
|
||||
// Message from an error.
|
||||
fmt.Println(err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
// Pretty-print the response data.
|
||||
fmt.Println(resp)
|
||||
}
|
||||
+7
-4
@@ -1,4 +1,4 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
package cloudhsm
|
||||
|
||||
@@ -11,9 +11,12 @@ import (
|
||||
"github.com/aws/aws-sdk-go/private/protocol/jsonrpc"
|
||||
)
|
||||
|
||||
// The service client's operations are safe to be used concurrently.
|
||||
// It is not safe to mutate any of the client's properties though.
|
||||
// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30
|
||||
// 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.
|
||||
type CloudHSM struct {
|
||||
*client.Client
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user