Documentation ¶
Index ¶
- func ConvertToMap(body interface{}) map[string]interface{}
- func FilterHeaders(headers map[string]*string, constraint []*string) (_result map[string]*string)
- func GetContentLength(reqBody []byte) (_result *string)
- func GetContentSHA256(reqBody []byte) (_result *string)
- func GetErrMessage(msg []byte) (_result map[string]interface{}, err error)
- func GetHost(regionId *string, endpoint *string) (_result *string)
- func GetSerializedDecryptRequest(reqBody map[string]interface{}) (_result []byte, err error)
- func GetSerializedEncryptRequest(reqBody map[string]interface{}) (_result []byte, err error)
- func GetSerializedGenerateDataKeyRequest(reqBody map[string]interface{}) (_result []byte, err error)
- func GetSerializedGenerateRandomRequest(reqBody map[string]interface{}) (_result []byte, err error)
- func GetSerializedGetPublicKeyRequest(reqBody map[string]interface{}) (_result []byte, err error)
- func GetSerializedGetSecretValueRequest(reqBody map[string]interface{}) (_result []byte, err error)
- func GetSerializedHashRequest(reqBody map[string]interface{}) (_result []byte, err error)
- func GetSerializedHmacRequest(reqBody map[string]interface{}) (_result []byte, err error)
- func GetSerializedKmsDecryptRequest(reqBody map[string]interface{}) (_result []byte, err error)
- func GetSerializedKmsEncryptRequest(reqBody map[string]interface{}) (_result []byte, err error)
- func GetSerializedSignRequest(reqBody map[string]interface{}) (_result []byte, err error)
- func GetSerializedVerifyRequest(reqBody map[string]interface{}) (_result []byte, err error)
- func GetStringToSign(request *tea.Request) (_result *string)
- func ParseDecryptResponse(resBody []byte) (_result map[string]interface{}, err error)
- func ParseEncryptResponse(resBody []byte) (_result map[string]interface{}, err error)
- func ParseGenerateDataKeyResponse(resBody []byte) (_result map[string]interface{}, err error)
- func ParseGenerateRandomResponse(resBody []byte) (_result map[string]interface{}, err error)
- func ParseGetPublicKeyResponse(resBody []byte) (_result map[string]interface{}, err error)
- func ParseGetSecretValueResponse(resBody []byte) (_result map[string]interface{}, err error)
- func ParseHashResponse(resBody []byte) (_result map[string]interface{}, err error)
- func ParseHmacResponse(resBody []byte) (_result map[string]interface{}, err error)
- func ParseKmsDecryptResponse(resBody []byte) (_result map[string]interface{}, err error)
- func ParseKmsEncryptResponse(resBody []byte) (_result map[string]interface{}, err error)
- func ParseSignResponse(resBody []byte) (_result map[string]interface{}, err error)
- func ParseVerifyResponse(resBody []byte) (_result map[string]interface{}, err error)
- func ToHexString(byteArray []byte) (_result *string)
- type ErrorResponse
- func (s ErrorResponse) GoString() string
- func (s *ErrorResponse) SetErrorCode(v string) *ErrorResponse
- func (s *ErrorResponse) SetErrorMessage(v string) *ErrorResponse
- func (s *ErrorResponse) SetRequestId(v string) *ErrorResponse
- func (s *ErrorResponse) SetStatusCode(v string) *ErrorResponse
- func (s ErrorResponse) String() string
- type RuntimeOptions
- func (s RuntimeOptions) GoString() string
- func (s *RuntimeOptions) SetAutoretry(v bool) *RuntimeOptions
- func (s *RuntimeOptions) SetBackoffPeriod(v int) *RuntimeOptions
- func (s *RuntimeOptions) SetBackoffPolicy(v string) *RuntimeOptions
- func (s *RuntimeOptions) SetConnectTimeout(v int) *RuntimeOptions
- func (s *RuntimeOptions) SetHeaders(v []*string) *RuntimeOptions
- func (s *RuntimeOptions) SetHttpProxy(v string) *RuntimeOptions
- func (s *RuntimeOptions) SetHttpsProxy(v string) *RuntimeOptions
- func (s *RuntimeOptions) SetIgnoreSSL(v bool) *RuntimeOptions
- func (s *RuntimeOptions) SetMaxAttempts(v int) *RuntimeOptions
- func (s *RuntimeOptions) SetMaxIdleConns(v int) *RuntimeOptions
- func (s *RuntimeOptions) SetNoProxy(v string) *RuntimeOptions
- func (s *RuntimeOptions) SetReadTimeout(v int) *RuntimeOptions
- func (s *RuntimeOptions) SetSocks5NetWork(v string) *RuntimeOptions
- func (s *RuntimeOptions) SetSocks5Proxy(v string) *RuntimeOptions
- func (s *RuntimeOptions) SetVerify(v string) *RuntimeOptions
- func (s RuntimeOptions) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToMap ¶
func ConvertToMap(body interface{}) map[string]interface{}
func FilterHeaders ¶
func GetContentLength ¶
func GetContentSHA256 ¶
func GetErrMessage ¶
func GetSerializedGetSecretValueRequest ¶ added in v0.2.1
func GetStringToSign ¶
func ParseDecryptResponse ¶
func ParseEncryptResponse ¶
func ParseGetSecretValueResponse ¶ added in v0.2.1
func ParseHashResponse ¶
func ParseHmacResponse ¶
func ParseKmsDecryptResponse ¶
func ParseKmsEncryptResponse ¶
func ParseSignResponse ¶
func ParseVerifyResponse ¶
func ToHexString ¶
Types ¶
type ErrorResponse ¶
type ErrorResponse struct { StatusCode *string `json:"StatusCode,omitempty" xml:"StatusCode,omitempty" require:"true"` ErrorCode *string `json:"ErrorCode,omitempty" xml:"ErrorCode,omitempty" require:"true"` ErrorMessage *string `json:"ErrorMessage,omitempty" xml:"ErrorMessage,omitempty" require:"true"` RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty" require:"true"` }
func (ErrorResponse) GoString ¶
func (s ErrorResponse) GoString() string
func (*ErrorResponse) SetErrorCode ¶
func (s *ErrorResponse) SetErrorCode(v string) *ErrorResponse
func (*ErrorResponse) SetErrorMessage ¶
func (s *ErrorResponse) SetErrorMessage(v string) *ErrorResponse
func (*ErrorResponse) SetRequestId ¶
func (s *ErrorResponse) SetRequestId(v string) *ErrorResponse
func (*ErrorResponse) SetStatusCode ¶
func (s *ErrorResponse) SetStatusCode(v string) *ErrorResponse
func (ErrorResponse) String ¶
func (s ErrorResponse) String() string
type RuntimeOptions ¶
type RuntimeOptions struct { Autoretry *bool `json:"autoretry,omitempty" xml:"autoretry,omitempty"` IgnoreSSL *bool `json:"ignoreSSL,omitempty" xml:"ignoreSSL,omitempty"` MaxAttempts *int `json:"maxAttempts,omitempty" xml:"maxAttempts,omitempty"` BackoffPolicy *string `json:"backoffPolicy,omitempty" xml:"backoffPolicy,omitempty"` BackoffPeriod *int `json:"backoffPeriod,omitempty" xml:"backoffPeriod,omitempty"` ReadTimeout *int `json:"readTimeout,omitempty" xml:"readTimeout,omitempty"` ConnectTimeout *int `json:"connectTimeout,omitempty" xml:"connectTimeout,omitempty"` HttpProxy *string `json:"httpProxy,omitempty" xml:"httpProxy,omitempty"` HttpsProxy *string `json:"httpsProxy,omitempty" xml:"httpsProxy,omitempty"` NoProxy *string `json:"noProxy,omitempty" xml:"noProxy,omitempty"` MaxIdleConns *int `json:"maxIdleConns,omitempty" xml:"maxIdleConns,omitempty"` Socks5Proxy *string `json:"socks5Proxy,omitempty" xml:"socks5Proxy,omitempty"` Socks5NetWork *string `json:"socks5NetWork,omitempty" xml:"socks5NetWork,omitempty"` Verify *string `json:"verify,omitempty" xml:"verify,omitempty"` Headers []*string `json:"headers,omitempty" xml:"headers,omitempty" type:"Repeated"` }
func (RuntimeOptions) GoString ¶
func (s RuntimeOptions) GoString() string
func (*RuntimeOptions) SetAutoretry ¶
func (s *RuntimeOptions) SetAutoretry(v bool) *RuntimeOptions
func (*RuntimeOptions) SetBackoffPeriod ¶
func (s *RuntimeOptions) SetBackoffPeriod(v int) *RuntimeOptions
func (*RuntimeOptions) SetBackoffPolicy ¶
func (s *RuntimeOptions) SetBackoffPolicy(v string) *RuntimeOptions
func (*RuntimeOptions) SetConnectTimeout ¶
func (s *RuntimeOptions) SetConnectTimeout(v int) *RuntimeOptions
func (*RuntimeOptions) SetHeaders ¶
func (s *RuntimeOptions) SetHeaders(v []*string) *RuntimeOptions
func (*RuntimeOptions) SetHttpProxy ¶
func (s *RuntimeOptions) SetHttpProxy(v string) *RuntimeOptions
func (*RuntimeOptions) SetHttpsProxy ¶
func (s *RuntimeOptions) SetHttpsProxy(v string) *RuntimeOptions
func (*RuntimeOptions) SetIgnoreSSL ¶
func (s *RuntimeOptions) SetIgnoreSSL(v bool) *RuntimeOptions
func (*RuntimeOptions) SetMaxAttempts ¶
func (s *RuntimeOptions) SetMaxAttempts(v int) *RuntimeOptions
func (*RuntimeOptions) SetMaxIdleConns ¶
func (s *RuntimeOptions) SetMaxIdleConns(v int) *RuntimeOptions
func (*RuntimeOptions) SetNoProxy ¶
func (s *RuntimeOptions) SetNoProxy(v string) *RuntimeOptions
func (*RuntimeOptions) SetReadTimeout ¶
func (s *RuntimeOptions) SetReadTimeout(v int) *RuntimeOptions
func (*RuntimeOptions) SetSocks5NetWork ¶
func (s *RuntimeOptions) SetSocks5NetWork(v string) *RuntimeOptions
func (*RuntimeOptions) SetSocks5Proxy ¶
func (s *RuntimeOptions) SetSocks5Proxy(v string) *RuntimeOptions
func (*RuntimeOptions) SetVerify ¶
func (s *RuntimeOptions) SetVerify(v string) *RuntimeOptions
func (RuntimeOptions) String ¶
func (s RuntimeOptions) String() string
Click to show internal directories.
Click to hide internal directories.