Documentation ¶
Overview ¶
This file is auto-generated, don't edit it. Thanks.
Index ¶
- func ConvertToMap(body interface{}) (_result map[string]interface{})
- func DefaultBoolean(bool1 *bool, bool2 *bool) (_result *bool)
- func GetCaCertFromFile(reqBody *string) (_result *string, _err error)
- func GetCanonicalizedHeaders(headers map[string]*string) (_result *string, _err error)
- func GetCanonicalizedResource(pathname *string, query map[string]*string) (_result *string, _err error)
- func GetContentLength(reqBody []byte) (_result *string, _err error)
- func GetErrMessage(msg []byte) (_result map[string]interface{}, _err error)
- func GetPrivatePemFromPk12(privateKeyData []byte, password *string) (_result []*string, _err error)
- func GetSerializedAdvanceDecryptRequest(reqBody map[string]interface{}) (_result []byte, _err error)
- func GetSerializedAdvanceEncryptRequest(reqBody map[string]interface{}) (_result []byte, _err error)
- func GetSerializedAdvanceGenerateDataKeyRequest(reqBody map[string]interface{}) (_result []byte, _err error)
- 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 GetSerializedSignRequest(reqBody map[string]interface{}) (_result []byte, _err error)
- func GetSerializedVerifyRequest(reqBody map[string]interface{}) (_result []byte, _err error)
- func GetStringToSign(method *string, pathname *string, headers map[string]*string, ...) (_result *string, _err error)
- func ParseAdvanceDecryptResponse(resBody []byte) (_result map[string]interface{}, _err error)
- func ParseAdvanceEncryptResponse(resBody []byte) (_result map[string]interface{}, _err error)
- func ParseAdvanceGenerateDataKeyResponse(resBody []byte) (_result map[string]interface{}, _err error)
- 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 ParseSignResponse(resBody []byte) (_result map[string]interface{}, _err error)
- func ParseVerifyResponse(resBody []byte) (_result map[string]interface{}, _err error)
- func ReadJsonFile(jsonFile *string) (_result map[string]interface{}, _err error)
- func SignString(stringToSign *string, accessKeySecret *string) (_result *string, _err error)
- 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{}) (_result map[string]interface{})
func DefaultBoolean ¶ added in v0.4.0
func GetCaCertFromFile ¶ added in v0.4.0
func GetCanonicalizedHeaders ¶ added in v0.4.0
func GetCanonicalizedResource ¶ added in v0.4.0
func GetContentLength ¶
func GetErrMessage ¶
func GetPrivatePemFromPk12 ¶ added in v0.4.0
func GetSerializedAdvanceDecryptRequest ¶ added in v0.3.0
func GetSerializedAdvanceEncryptRequest ¶ added in v0.3.0
func GetSerializedAdvanceGenerateDataKeyRequest ¶ added in v0.3.0
func GetSerializedGetSecretValueRequest ¶ added in v0.2.1
func GetStringToSign ¶
func ParseAdvanceDecryptResponse ¶ added in v0.3.0
func ParseAdvanceEncryptResponse ¶ added in v0.3.0
func ParseAdvanceGenerateDataKeyResponse ¶ added in v0.3.0
func ParseDecryptResponse ¶
func ParseEncryptResponse ¶
func ParseGetSecretValueResponse ¶ added in v0.2.1
func ParseSignResponse ¶
func ParseVerifyResponse ¶
func ReadJsonFile ¶ added in v0.4.0
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"` // 是否忽略SSL认证 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"` // http代理 HttpProxy *string `json:"httpProxy,omitempty" xml:"httpProxy,omitempty"` // https代理 HttpsProxy *string `json:"httpsProxy,omitempty" xml:"httpsProxy,omitempty"` // 无代理 NoProxy *string `json:"noProxy,omitempty" xml:"noProxy,omitempty"` // 最大闲置连接数 MaxIdleConns *int `json:"maxIdleConns,omitempty" xml:"maxIdleConns,omitempty"` // socks5代理 Socks5Proxy *string `json:"socks5Proxy,omitempty" xml:"socks5Proxy,omitempty"` // socks5代理协议 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.