v20200820

package
v3.0.609+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// CAM signature/authentication error
	AUTHFAILURE = "AuthFailure"

	// The DryRun operation means that the request will be successful, but an extra DryRun parameter is passed.
	DRYRUNOPERATION = "DryRunOperation"

	// Operation failed
	FAILEDOPERATION = "FailedOperation"

	// Failed to enable the logging feature. Please submit a ticket.
	FAILEDOPERATION_CLSFAILEDOPERATION = "FailedOperation.CLSFailedOperation"

	// Frequency limit. The interval between the player's repeated request for matchmaking shall not be less than 100 ms.
	FAILEDOPERATION_FREQUENCYSAMEPLAYERLIMITED = "FailedOperation.FrequencySamePlayerLimited"

	// The number of the created matches exceeds the limit.
	FAILEDOPERATION_LIMITMATCHCOUNT = "FailedOperation.LimitMatchCount"

	// The number of the created rules exceeds the limit.
	FAILEDOPERATION_LIMITRULECOUNT = "FailedOperation.LimitRuleCount"

	// System error. If you cannot solve the problem, please submit a ticket.
	FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"

	// The tagging operation failed
	FAILEDOPERATION_TAGSOPEARTIONFAILED = "FailedOperation.TagsOpeartionFailed"

	// Internal error
	INTERNALERROR = "InternalError"

	// The API does not exist.
	INVALIDACTION = "InvalidAction"

	// Parameter error
	INVALIDPARAMETER = "InvalidParameter"

	// Invalid parameter value
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// A GameServerSession is in progress. Start another session until this one is completed.
	INVALIDPARAMETERVALUE_GAMESERVERSESSIONREPEATED = "InvalidParameterValue.GameServerSessionRepeated"

	// Incorrect rule script
	INVALIDPARAMETERVALUE_INVALIDRULESCRIPT = "InvalidParameterValue.InvalidRuleScript"

	// MatchCode does not exist.
	INVALIDPARAMETERVALUE_MATCHCODENOTFOUND = "InvalidParameterValue.MatchCodeNotFound"

	// The length of field value exceeds the limit.
	INVALIDPARAMETERVALUE_MATCHFEILDVALUELIMIT = "InvalidParameterValue.MatchFeildValueLimit"

	// Field contains invalid characters.
	INVALIDPARAMETERVALUE_MATCHINVALIDCHARACTERS = "InvalidParameterValue.MatchInvalidCharacters"

	// The matchmaking does not exist.
	INVALIDPARAMETERVALUE_MATCHNOTFOUND = "InvalidParameterValue.MatchNotFound"

	// The number of players exceeds the limit.
	INVALIDPARAMETERVALUE_MATCHPLAYERSLIMIT = "InvalidParameterValue.MatchPlayersLimit"

	// The player ID already exists.
	INVALIDPARAMETERVALUE_MATCHPLAYERSREPEATED = "InvalidParameterValue.MatchPlayersRepeated"

	// The matchmaking cannot be canceled under the current status.
	INVALIDPARAMETERVALUE_MATCHSTATUSNOTPERMITCANCEL = "InvalidParameterValue.MatchStatusNotPermitCancel"

	// The MatchTicket ID does not exist.
	INVALIDPARAMETERVALUE_MATCHTICKETIDNOTFOUND = "InvalidParameterValue.MatchTicketIdNotFound"

	// The MatchTicket ID already exists.
	INVALIDPARAMETERVALUE_MATCHTICKETIDREPEATED = "InvalidParameterValue.MatchTicketIdRepeated"

	// The length of MatchTicket list exceeds the limit.
	INVALIDPARAMETERVALUE_MATCHTICKETLIMIT = "InvalidParameterValue.MatchTicketLimit"

	// There is a match associated with the rule.
	INVALIDPARAMETERVALUE_RULEMATCHEXISTENT = "InvalidParameterValue.RuleMatchExistent"

	// The rule name already exists.
	INVALIDPARAMETERVALUE_RULENAMEDUPLICATED = "InvalidParameterValue.RuleNameDuplicated"

	// The rule does not exist.
	INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound"

	// No permission for this tag
	INVALIDPARAMETERVALUE_TAGSLIMITPERMISSION = "InvalidParameterValue.TagsLimitPermission"

	// The CompatibleSpan of the token exceeds the limit.
	INVALIDPARAMETERVALUE_TOKENCOMPATIBLESPANINVALID = "InvalidParameterValue.TokenCompatibleSpanInvalid"

	// The token length exceeds the limit.
	INVALIDPARAMETERVALUE_TOKENLIMIT = "InvalidParameterValue.TokenLimit"

	// The value exceeds the range.
	INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit"

	// Quota limit exceeded.
	LIMITEXCEEDED = "LimitExceeded"

	// The token update frequency exceeds the limit.
	LIMITEXCEEDED_TOKENUPDATEEXCEED = "LimitExceeded.TokenUpdateExceed"

	// The parameter is missing.
	MISSINGPARAMETER = "MissingParameter"

	// API version does not exist.
	NOSUCHVERSION = "NoSuchVersion"

	// Operation denied
	OPERATIONDENIED = "OperationDenied"

	// The number of requests exceeds the frequency limit.
	REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

	// Occupied resource
	RESOURCEINUSE = "ResourceInUse"

	// Insufficient resources
	RESOURCEINSUFFICIENT = "ResourceInsufficient"

	// Resource not found
	RESOURCENOTFOUND = "ResourceNotFound"

	// The resource is unavailable.
	RESOURCEUNAVAILABLE = "ResourceUnavailable"

	// The CLS service has not been activated.
	RESOURCEUNAVAILABLE_CLSSERVICENOTACTIVATED = "ResourceUnavailable.CLSServiceNotActivated"

	// The resources have been sold out.
	RESOURCESSOLDOUT = "ResourcesSoldOut"

	// The operation is unauthorized.
	UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

	// It is required to grant the GPM role permissions.
	UNAUTHORIZEDOPERATION_CAMUNAUTHORIZEDOPERATION = "UnauthorizedOperation.CAMUnauthorizedOperation"

	// API permission authorization is needed.
	UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction"

	// The current account has not verified its identity. Please complete identity verification before using the service.
	UNAUTHORIZEDOPERATION_USERUNAUTH = "UnauthorizedOperation.UserUnAuth"

	// Unknown parameter error
	UNKNOWNPARAMETER = "UnknownParameter"

	// Unsupported operation
	UNSUPPORTEDOPERATION = "UnsupportedOperation"

	// The API does not support the region passed in.
	UNSUPPORTEDREGION = "UnsupportedRegion"
)
View Source
const APIVersion = "2020-08-20"

Variables

This section is empty.

Functions

This section is empty.

Types

type AttributeMap

type AttributeMap struct {
	// Map key, supporting [a-zA-Z0-9-\.]*
	Key *string `json:"Key,omitempty" name:"Key"`

	// Map value
	Value *int64 `json:"Value,omitempty" name:"Value"`
}

type CancelMatchingRequest

type CancelMatchingRequest struct {
	*tchttp.BaseRequest

	// MatchCode
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`

	// The MatchTicket ID of the matchmaking to cancel
	MatchTicketId *string `json:"MatchTicketId,omitempty" name:"MatchTicketId"`
}

func NewCancelMatchingRequest

func NewCancelMatchingRequest() (request *CancelMatchingRequest)

func (*CancelMatchingRequest) FromJsonString

func (r *CancelMatchingRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CancelMatchingRequest) ToJsonString

func (r *CancelMatchingRequest) ToJsonString() string

type CancelMatchingRequestParams

type CancelMatchingRequestParams struct {
	// MatchCode
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`

	// The MatchTicket ID of the matchmaking to cancel
	MatchTicketId *string `json:"MatchTicketId,omitempty" name:"MatchTicketId"`
}

Predefined struct for user

type CancelMatchingResponse

type CancelMatchingResponse struct {
	*tchttp.BaseResponse
	Response *CancelMatchingResponseParams `json:"Response"`
}

func NewCancelMatchingResponse

func NewCancelMatchingResponse() (response *CancelMatchingResponse)

func (*CancelMatchingResponse) FromJsonString

func (r *CancelMatchingResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CancelMatchingResponse) ToJsonString

func (r *CancelMatchingResponse) ToJsonString() string

type CancelMatchingResponseParams

type CancelMatchingResponseParams struct {
	// Error code
	ErrCode *uint64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) CancelMatching

func (c *Client) CancelMatching(request *CancelMatchingRequest) (response *CancelMatchingResponse, err error)

CancelMatching This API is used to cancel matching.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MATCHCODENOTFOUND = "InvalidParameterValue.MatchCodeNotFound"
INVALIDPARAMETERVALUE_MATCHSTATUSNOTPERMITCANCEL = "InvalidParameterValue.MatchStatusNotPermitCancel"
INVALIDPARAMETERVALUE_MATCHTICKETIDNOTFOUND = "InvalidParameterValue.MatchTicketIdNotFound"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) CancelMatchingWithContext

func (c *Client) CancelMatchingWithContext(ctx context.Context, request *CancelMatchingRequest) (response *CancelMatchingResponse, err error)

CancelMatching This API is used to cancel matching.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MATCHCODENOTFOUND = "InvalidParameterValue.MatchCodeNotFound"
INVALIDPARAMETERVALUE_MATCHSTATUSNOTPERMITCANCEL = "InvalidParameterValue.MatchStatusNotPermitCancel"
INVALIDPARAMETERVALUE_MATCHTICKETIDNOTFOUND = "InvalidParameterValue.MatchTicketIdNotFound"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) CreateMatch

func (c *Client) CreateMatch(request *CreateMatchRequest) (response *CreateMatchResponse, err error)

CreateMatch This API is used to create a match.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_LIMITMATCHCOUNT = "FailedOperation.LimitMatchCount"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
FAILEDOPERATION_TAGSOPEARTIONFAILED = "FailedOperation.TagsOpeartionFailed"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound"
INVALIDPARAMETERVALUE_TAGSLIMITPERMISSION = "InvalidParameterValue.TagsLimitPermission"
INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZEDOPERATION = "UnauthorizedOperation.CAMUnauthorizedOperation"
UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction"
UNAUTHORIZEDOPERATION_USERUNAUTH = "UnauthorizedOperation.UserUnAuth"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) CreateMatchWithContext

func (c *Client) CreateMatchWithContext(ctx context.Context, request *CreateMatchRequest) (response *CreateMatchResponse, err error)

CreateMatch This API is used to create a match.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_LIMITMATCHCOUNT = "FailedOperation.LimitMatchCount"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
FAILEDOPERATION_TAGSOPEARTIONFAILED = "FailedOperation.TagsOpeartionFailed"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound"
INVALIDPARAMETERVALUE_TAGSLIMITPERMISSION = "InvalidParameterValue.TagsLimitPermission"
INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZEDOPERATION = "UnauthorizedOperation.CAMUnauthorizedOperation"
UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction"
UNAUTHORIZEDOPERATION_USERUNAUTH = "UnauthorizedOperation.UserUnAuth"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) CreateRule

func (c *Client) CreateRule(request *CreateRuleRequest) (response *CreateRuleResponse, err error)

CreateRule This API is used to create a rule.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_LIMITRULECOUNT = "FailedOperation.LimitRuleCount"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
FAILEDOPERATION_TAGSOPEARTIONFAILED = "FailedOperation.TagsOpeartionFailed"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDRULESCRIPT = "InvalidParameterValue.InvalidRuleScript"
INVALIDPARAMETERVALUE_RULENAMEDUPLICATED = "InvalidParameterValue.RuleNameDuplicated"
INVALIDPARAMETERVALUE_TAGSLIMITPERMISSION = "InvalidParameterValue.TagsLimitPermission"
INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) CreateRuleWithContext

func (c *Client) CreateRuleWithContext(ctx context.Context, request *CreateRuleRequest) (response *CreateRuleResponse, err error)

CreateRule This API is used to create a rule.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_LIMITRULECOUNT = "FailedOperation.LimitRuleCount"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
FAILEDOPERATION_TAGSOPEARTIONFAILED = "FailedOperation.TagsOpeartionFailed"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDRULESCRIPT = "InvalidParameterValue.InvalidRuleScript"
INVALIDPARAMETERVALUE_RULENAMEDUPLICATED = "InvalidParameterValue.RuleNameDuplicated"
INVALIDPARAMETERVALUE_TAGSLIMITPERMISSION = "InvalidParameterValue.TagsLimitPermission"
INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) DeleteMatch

func (c *Client) DeleteMatch(request *DeleteMatchRequest) (response *DeleteMatchResponse, err error)

DeleteMatch This API is used to delete a match.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLSFAILEDOPERATION = "FailedOperation.CLSFailedOperation"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
FAILEDOPERATION_TAGSOPEARTIONFAILED = "FailedOperation.TagsOpeartionFailed"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MATCHNOTFOUND = "InvalidParameterValue.MatchNotFound"
INVALIDPARAMETERVALUE_TAGSLIMITPERMISSION = "InvalidParameterValue.TagsLimitPermission"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZEDOPERATION = "UnauthorizedOperation.CAMUnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) DeleteMatchWithContext

func (c *Client) DeleteMatchWithContext(ctx context.Context, request *DeleteMatchRequest) (response *DeleteMatchResponse, err error)

DeleteMatch This API is used to delete a match.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLSFAILEDOPERATION = "FailedOperation.CLSFailedOperation"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
FAILEDOPERATION_TAGSOPEARTIONFAILED = "FailedOperation.TagsOpeartionFailed"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MATCHNOTFOUND = "InvalidParameterValue.MatchNotFound"
INVALIDPARAMETERVALUE_TAGSLIMITPERMISSION = "InvalidParameterValue.TagsLimitPermission"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZEDOPERATION = "UnauthorizedOperation.CAMUnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) DeleteRule

func (c *Client) DeleteRule(request *DeleteRuleRequest) (response *DeleteRuleResponse, err error)

DeleteRule This API is used to delete a rule.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
FAILEDOPERATION_TAGSOPEARTIONFAILED = "FailedOperation.TagsOpeartionFailed"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_RULEMATCHEXISTENT = "InvalidParameterValue.RuleMatchExistent"
INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound"
INVALIDPARAMETERVALUE_TAGSLIMITPERMISSION = "InvalidParameterValue.TagsLimitPermission"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) DeleteRuleWithContext

func (c *Client) DeleteRuleWithContext(ctx context.Context, request *DeleteRuleRequest) (response *DeleteRuleResponse, err error)

DeleteRule This API is used to delete a rule.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
FAILEDOPERATION_TAGSOPEARTIONFAILED = "FailedOperation.TagsOpeartionFailed"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_RULEMATCHEXISTENT = "InvalidParameterValue.RuleMatchExistent"
INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound"
INVALIDPARAMETERVALUE_TAGSLIMITPERMISSION = "InvalidParameterValue.TagsLimitPermission"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) DescribeData

func (c *Client) DescribeData(request *DescribeDataRequest) (response *DescribeDataResponse, err error)

DescribeData This API is used to view statistics.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MATCHCODENOTFOUND = "InvalidParameterValue.MatchCodeNotFound"
INVALIDPARAMETERVALUE_MATCHNOTFOUND = "InvalidParameterValue.MatchNotFound"
INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) DescribeDataWithContext

func (c *Client) DescribeDataWithContext(ctx context.Context, request *DescribeDataRequest) (response *DescribeDataResponse, err error)

DescribeData This API is used to view statistics.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MATCHCODENOTFOUND = "InvalidParameterValue.MatchCodeNotFound"
INVALIDPARAMETERVALUE_MATCHNOTFOUND = "InvalidParameterValue.MatchNotFound"
INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) DescribeMatch

func (c *Client) DescribeMatch(request *DescribeMatchRequest) (response *DescribeMatchResponse, err error)

DescribeMatch This API is used to query the matchmaking details.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MATCHNOTFOUND = "InvalidParameterValue.MatchNotFound"
INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) DescribeMatchCodes

func (c *Client) DescribeMatchCodes(request *DescribeMatchCodesRequest) (response *DescribeMatchCodesResponse, err error)

DescribeMatchCodes This API is used to query the created MatchCodes and paginate the query result.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) DescribeMatchCodesWithContext

func (c *Client) DescribeMatchCodesWithContext(ctx context.Context, request *DescribeMatchCodesRequest) (response *DescribeMatchCodesResponse, err error)

DescribeMatchCodes This API is used to query the created MatchCodes and paginate the query result.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) DescribeMatchWithContext

func (c *Client) DescribeMatchWithContext(ctx context.Context, request *DescribeMatchRequest) (response *DescribeMatchResponse, err error)

DescribeMatch This API is used to query the matchmaking details.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MATCHNOTFOUND = "InvalidParameterValue.MatchNotFound"
INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) DescribeMatches

func (c *Client) DescribeMatches(request *DescribeMatchesRequest) (response *DescribeMatchesResponse, err error)

DescribeMatches This API is used to query the matchmaking list and paginate the query result.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLSFAILEDOPERATION = "FailedOperation.CLSFailedOperation"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_CLSSERVICENOTACTIVATED = "ResourceUnavailable.CLSServiceNotActivated"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZEDOPERATION = "UnauthorizedOperation.CAMUnauthorizedOperation"
UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) DescribeMatchesWithContext

func (c *Client) DescribeMatchesWithContext(ctx context.Context, request *DescribeMatchesRequest) (response *DescribeMatchesResponse, err error)

DescribeMatches This API is used to query the matchmaking list and paginate the query result.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLSFAILEDOPERATION = "FailedOperation.CLSFailedOperation"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_CLSSERVICENOTACTIVATED = "ResourceUnavailable.CLSServiceNotActivated"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZEDOPERATION = "UnauthorizedOperation.CAMUnauthorizedOperation"
UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) DescribeMatchingProgress

func (c *Client) DescribeMatchingProgress(request *DescribeMatchingProgressRequest) (response *DescribeMatchingProgressResponse, err error)

DescribeMatchingProgress This API is used to query the matching progress.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MATCHCODENOTFOUND = "InvalidParameterValue.MatchCodeNotFound"
INVALIDPARAMETERVALUE_MATCHTICKETIDNOTFOUND = "InvalidParameterValue.MatchTicketIdNotFound"
INVALIDPARAMETERVALUE_MATCHTICKETLIMIT = "InvalidParameterValue.MatchTicketLimit"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeMatchingProgressWithContext

func (c *Client) DescribeMatchingProgressWithContext(ctx context.Context, request *DescribeMatchingProgressRequest) (response *DescribeMatchingProgressResponse, err error)

DescribeMatchingProgress This API is used to query the matching progress.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MATCHCODENOTFOUND = "InvalidParameterValue.MatchCodeNotFound"
INVALIDPARAMETERVALUE_MATCHTICKETIDNOTFOUND = "InvalidParameterValue.MatchTicketIdNotFound"
INVALIDPARAMETERVALUE_MATCHTICKETLIMIT = "InvalidParameterValue.MatchTicketLimit"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeRule

func (c *Client) DescribeRule(request *DescribeRuleRequest) (response *DescribeRuleResponse, err error)

DescribeRule This API is used to query the rule details.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) DescribeRuleWithContext

func (c *Client) DescribeRuleWithContext(ctx context.Context, request *DescribeRuleRequest) (response *DescribeRuleResponse, err error)

DescribeRule This API is used to query the rule details.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) DescribeRules

func (c *Client) DescribeRules(request *DescribeRulesRequest) (response *DescribeRulesResponse, err error)

DescribeRules This API is used to query the rule set list and paginate the query result.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound"
INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) DescribeRulesWithContext

func (c *Client) DescribeRulesWithContext(ctx context.Context, request *DescribeRulesRequest) (response *DescribeRulesResponse, err error)

DescribeRules This API is used to query the rule set list and paginate the query result.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound"
INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) DescribeToken

func (c *Client) DescribeToken(request *DescribeTokenRequest) (response *DescribeTokenResponse, err error)

DescribeToken This API is used to query the token of a Matchcode, which is used for verified the pushed message.

error code that may be returned:

FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_MATCHCODENOTFOUND = "InvalidParameterValue.MatchCodeNotFound"
INVALIDPARAMETERVALUE_MATCHNOTFOUND = "InvalidParameterValue.MatchNotFound"

func (*Client) DescribeTokenWithContext

func (c *Client) DescribeTokenWithContext(ctx context.Context, request *DescribeTokenRequest) (response *DescribeTokenResponse, err error)

DescribeToken This API is used to query the token of a Matchcode, which is used for verified the pushed message.

error code that may be returned:

FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_MATCHCODENOTFOUND = "InvalidParameterValue.MatchCodeNotFound"
INVALIDPARAMETERVALUE_MATCHNOTFOUND = "InvalidParameterValue.MatchNotFound"

func (*Client) ModifyMatch

func (c *Client) ModifyMatch(request *ModifyMatchRequest) (response *ModifyMatchResponse, err error)

ModifyMatch This API is used to modify a match.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
FAILEDOPERATION_TAGSOPEARTIONFAILED = "FailedOperation.TagsOpeartionFailed"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MATCHNOTFOUND = "InvalidParameterValue.MatchNotFound"
INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound"
INVALIDPARAMETERVALUE_TAGSLIMITPERMISSION = "InvalidParameterValue.TagsLimitPermission"
INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZEDOPERATION = "UnauthorizedOperation.CAMUnauthorizedOperation"
UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) ModifyMatchWithContext

func (c *Client) ModifyMatchWithContext(ctx context.Context, request *ModifyMatchRequest) (response *ModifyMatchResponse, err error)

ModifyMatch This API is used to modify a match.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
FAILEDOPERATION_TAGSOPEARTIONFAILED = "FailedOperation.TagsOpeartionFailed"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MATCHNOTFOUND = "InvalidParameterValue.MatchNotFound"
INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound"
INVALIDPARAMETERVALUE_TAGSLIMITPERMISSION = "InvalidParameterValue.TagsLimitPermission"
INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZEDOPERATION = "UnauthorizedOperation.CAMUnauthorizedOperation"
UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) ModifyRule

func (c *Client) ModifyRule(request *ModifyRuleRequest) (response *ModifyRuleResponse, err error)

ModifyRule This API is used to modify a rule (including description and tag).

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
FAILEDOPERATION_TAGSOPEARTIONFAILED = "FailedOperation.TagsOpeartionFailed"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound"
INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) ModifyRuleWithContext

func (c *Client) ModifyRuleWithContext(ctx context.Context, request *ModifyRuleRequest) (response *ModifyRuleResponse, err error)

ModifyRule This API is used to modify a rule (including description and tag).

error code that may be returned:

AUTHFAILURE = "AuthFailure"
DRYRUNOPERATION = "DryRunOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
FAILEDOPERATION_TAGSOPEARTIONFAILED = "FailedOperation.TagsOpeartionFailed"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound"
INVALIDPARAMETERVALUE_VALUERANGELIMIT = "InvalidParameterValue.ValueRangeLimit"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) ModifyToken

func (c *Client) ModifyToken(request *ModifyTokenRequest) (response *ModifyTokenResponse, err error)

ModifyToken This API is used to modify the token of a Matchcode.

error code that may be returned:

FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
INVALIDPARAMETERVALUE_TOKENCOMPATIBLESPANINVALID = "InvalidParameterValue.TokenCompatibleSpanInvalid"
INVALIDPARAMETERVALUE_TOKENLIMIT = "InvalidParameterValue.TokenLimit"
LIMITEXCEEDED_TOKENUPDATEEXCEED = "LimitExceeded.TokenUpdateExceed"

func (*Client) ModifyTokenWithContext

func (c *Client) ModifyTokenWithContext(ctx context.Context, request *ModifyTokenRequest) (response *ModifyTokenResponse, err error)

ModifyToken This API is used to modify the token of a Matchcode.

error code that may be returned:

FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
INVALIDPARAMETERVALUE_TOKENCOMPATIBLESPANINVALID = "InvalidParameterValue.TokenCompatibleSpanInvalid"
INVALIDPARAMETERVALUE_TOKENLIMIT = "InvalidParameterValue.TokenLimit"
LIMITEXCEEDED_TOKENUPDATEEXCEED = "LimitExceeded.TokenUpdateExceed"

func (*Client) StartMatching

func (c *Client) StartMatching(request *StartMatchingRequest) (response *StartMatchingResponse, err error)

StartMatching This API is used to pass in one player or multiple players to initiate match. Players within the same request will be assigned to the same game session.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_FREQUENCYSAMEPLAYERLIMITED = "FailedOperation.FrequencySamePlayerLimited"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDRULESCRIPT = "InvalidParameterValue.InvalidRuleScript"
INVALIDPARAMETERVALUE_MATCHCODENOTFOUND = "InvalidParameterValue.MatchCodeNotFound"
INVALIDPARAMETERVALUE_MATCHFEILDVALUELIMIT = "InvalidParameterValue.MatchFeildValueLimit"
INVALIDPARAMETERVALUE_MATCHINVALIDCHARACTERS = "InvalidParameterValue.MatchInvalidCharacters"
INVALIDPARAMETERVALUE_MATCHPLAYERSLIMIT = "InvalidParameterValue.MatchPlayersLimit"
INVALIDPARAMETERVALUE_MATCHPLAYERSREPEATED = "InvalidParameterValue.MatchPlayersRepeated"
INVALIDPARAMETERVALUE_MATCHTICKETIDREPEATED = "InvalidParameterValue.MatchTicketIdRepeated"
INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) StartMatchingBackfill

func (c *Client) StartMatchingBackfill(request *StartMatchingBackfillRequest) (response *StartMatchingBackfillResponse, err error)

StartMatchingBackfill This API is used to send a match backfill request, for which a MatchTicket will be searched to start a new match.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_FREQUENCYSAMEPLAYERLIMITED = "FailedOperation.FrequencySamePlayerLimited"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_GAMESERVERSESSIONREPEATED = "InvalidParameterValue.GameServerSessionRepeated"
INVALIDPARAMETERVALUE_INVALIDRULESCRIPT = "InvalidParameterValue.InvalidRuleScript"
INVALIDPARAMETERVALUE_MATCHCODENOTFOUND = "InvalidParameterValue.MatchCodeNotFound"
INVALIDPARAMETERVALUE_MATCHFEILDVALUELIMIT = "InvalidParameterValue.MatchFeildValueLimit"
INVALIDPARAMETERVALUE_MATCHINVALIDCHARACTERS = "InvalidParameterValue.MatchInvalidCharacters"
INVALIDPARAMETERVALUE_MATCHPLAYERSLIMIT = "InvalidParameterValue.MatchPlayersLimit"
INVALIDPARAMETERVALUE_MATCHPLAYERSREPEATED = "InvalidParameterValue.MatchPlayersRepeated"
INVALIDPARAMETERVALUE_MATCHTICKETIDNOTFOUND = "InvalidParameterValue.MatchTicketIdNotFound"
INVALIDPARAMETERVALUE_MATCHTICKETIDREPEATED = "InvalidParameterValue.MatchTicketIdRepeated"
INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) StartMatchingBackfillWithContext

func (c *Client) StartMatchingBackfillWithContext(ctx context.Context, request *StartMatchingBackfillRequest) (response *StartMatchingBackfillResponse, err error)

StartMatchingBackfill This API is used to send a match backfill request, for which a MatchTicket will be searched to start a new match.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_FREQUENCYSAMEPLAYERLIMITED = "FailedOperation.FrequencySamePlayerLimited"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_GAMESERVERSESSIONREPEATED = "InvalidParameterValue.GameServerSessionRepeated"
INVALIDPARAMETERVALUE_INVALIDRULESCRIPT = "InvalidParameterValue.InvalidRuleScript"
INVALIDPARAMETERVALUE_MATCHCODENOTFOUND = "InvalidParameterValue.MatchCodeNotFound"
INVALIDPARAMETERVALUE_MATCHFEILDVALUELIMIT = "InvalidParameterValue.MatchFeildValueLimit"
INVALIDPARAMETERVALUE_MATCHINVALIDCHARACTERS = "InvalidParameterValue.MatchInvalidCharacters"
INVALIDPARAMETERVALUE_MATCHPLAYERSLIMIT = "InvalidParameterValue.MatchPlayersLimit"
INVALIDPARAMETERVALUE_MATCHPLAYERSREPEATED = "InvalidParameterValue.MatchPlayersRepeated"
INVALIDPARAMETERVALUE_MATCHTICKETIDNOTFOUND = "InvalidParameterValue.MatchTicketIdNotFound"
INVALIDPARAMETERVALUE_MATCHTICKETIDREPEATED = "InvalidParameterValue.MatchTicketIdRepeated"
INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

func (*Client) StartMatchingWithContext

func (c *Client) StartMatchingWithContext(ctx context.Context, request *StartMatchingRequest) (response *StartMatchingResponse, err error)

StartMatching This API is used to pass in one player or multiple players to initiate match. Players within the same request will be assigned to the same game session.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_FREQUENCYSAMEPLAYERLIMITED = "FailedOperation.FrequencySamePlayerLimited"
FAILEDOPERATION_SERVICEUNAVAILABLE = "FailedOperation.ServiceUnavailable"
INTERNALERROR = "InternalError"
INVALIDACTION = "InvalidAction"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDRULESCRIPT = "InvalidParameterValue.InvalidRuleScript"
INVALIDPARAMETERVALUE_MATCHCODENOTFOUND = "InvalidParameterValue.MatchCodeNotFound"
INVALIDPARAMETERVALUE_MATCHFEILDVALUELIMIT = "InvalidParameterValue.MatchFeildValueLimit"
INVALIDPARAMETERVALUE_MATCHINVALIDCHARACTERS = "InvalidParameterValue.MatchInvalidCharacters"
INVALIDPARAMETERVALUE_MATCHPLAYERSLIMIT = "InvalidParameterValue.MatchPlayersLimit"
INVALIDPARAMETERVALUE_MATCHPLAYERSREPEATED = "InvalidParameterValue.MatchPlayersRepeated"
INVALIDPARAMETERVALUE_MATCHTICKETIDREPEATED = "InvalidParameterValue.MatchTicketIdRepeated"
INVALIDPARAMETERVALUE_RULENOTFOUND = "InvalidParameterValue.RuleNotFound"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
NOSUCHVERSION = "NoSuchVersion"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = "UnauthorizedOperation.UnauthorizedAction"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDREGION = "UnsupportedRegion"

type CreateMatchRequest

type CreateMatchRequest struct {
	*tchttp.BaseRequest

	// Match name. It can contain up to 128 bytes, supporting [a-zA-Z0-9-\.]*.
	MatchName *string `json:"MatchName,omitempty" name:"MatchName"`

	// RuleCode
	RuleCode *string `json:"RuleCode,omitempty" name:"RuleCode"`

	// Timeout period in seconds. Value range: 1 600
	Timeout *int64 `json:"Timeout,omitempty" name:"Timeout"`

	// Whether to request server resources for the matchmaking results. 0: no, 1: request GSE resources
	ServerType *int64 `json:"ServerType,omitempty" name:"ServerType"`

	// Matchmaking description. Up to 1024 bytes are allowed.
	MatchDesc *string `json:"MatchDesc,omitempty" name:"MatchDesc"`

	// Only HTTP and HTTPS protocols are supported.
	NotifyUrl *string `json:"NotifyUrl,omitempty" name:"NotifyUrl"`

	// Region of the game server queue
	ServerRegion *string `json:"ServerRegion,omitempty" name:"ServerRegion"`

	// Game server queue
	ServerQueue *string `json:"ServerQueue,omitempty" name:"ServerQueue"`

	// Custom push data
	CustomPushData *string `json:"CustomPushData,omitempty" name:"CustomPushData"`

	// Game server session data
	ServerSessionData *string `json:"ServerSessionData,omitempty" name:"ServerSessionData"`

	// Game attribute. It is an array of key-value structure.
	GameProperties []*StringKV `json:"GameProperties,omitempty" name:"GameProperties"`

	// Enable or disable the log. 0: disable, 1: enable
	LogSwitch *int64 `json:"LogSwitch,omitempty" name:"LogSwitch"`

	// Tag. It is an array of key-value structure.
	Tags []*StringKV `json:"Tags,omitempty" name:"Tags"`
}

func NewCreateMatchRequest

func NewCreateMatchRequest() (request *CreateMatchRequest)

func (*CreateMatchRequest) FromJsonString

func (r *CreateMatchRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateMatchRequest) ToJsonString

func (r *CreateMatchRequest) ToJsonString() string

type CreateMatchRequestParams

type CreateMatchRequestParams struct {
	// Match name. It can contain up to 128 bytes, supporting [a-zA-Z0-9-\.]*.
	MatchName *string `json:"MatchName,omitempty" name:"MatchName"`

	// RuleCode
	RuleCode *string `json:"RuleCode,omitempty" name:"RuleCode"`

	// Timeout period in seconds. Value range: 1 600
	Timeout *int64 `json:"Timeout,omitempty" name:"Timeout"`

	// Whether to request server resources for the matchmaking results. 0: no, 1: request GSE resources
	ServerType *int64 `json:"ServerType,omitempty" name:"ServerType"`

	// Matchmaking description. Up to 1024 bytes are allowed.
	MatchDesc *string `json:"MatchDesc,omitempty" name:"MatchDesc"`

	// Only HTTP and HTTPS protocols are supported.
	NotifyUrl *string `json:"NotifyUrl,omitempty" name:"NotifyUrl"`

	// Region of the game server queue
	ServerRegion *string `json:"ServerRegion,omitempty" name:"ServerRegion"`

	// Game server queue
	ServerQueue *string `json:"ServerQueue,omitempty" name:"ServerQueue"`

	// Custom push data
	CustomPushData *string `json:"CustomPushData,omitempty" name:"CustomPushData"`

	// Game server session data
	ServerSessionData *string `json:"ServerSessionData,omitempty" name:"ServerSessionData"`

	// Game attribute. It is an array of key-value structure.
	GameProperties []*StringKV `json:"GameProperties,omitempty" name:"GameProperties"`

	// Enable or disable the log. 0: disable, 1: enable
	LogSwitch *int64 `json:"LogSwitch,omitempty" name:"LogSwitch"`

	// Tag. It is an array of key-value structure.
	Tags []*StringKV `json:"Tags,omitempty" name:"Tags"`
}

Predefined struct for user

type CreateMatchResponse

type CreateMatchResponse struct {
	*tchttp.BaseResponse
	Response *CreateMatchResponseParams `json:"Response"`
}

func NewCreateMatchResponse

func NewCreateMatchResponse() (response *CreateMatchResponse)

func (*CreateMatchResponse) FromJsonString

func (r *CreateMatchResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateMatchResponse) ToJsonString

func (r *CreateMatchResponse) ToJsonString() string

type CreateMatchResponseParams

type CreateMatchResponseParams struct {
	// Matchmaking information
	MatchInfo *MatchInfo `json:"MatchInfo,omitempty" name:"MatchInfo"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateRuleRequest

type CreateRuleRequest struct {
	*tchttp.BaseRequest

	// Rule name. It can contain up to 128 bytes, supporting [a-zA-Z0-9-\.]*.
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// Rule script. Up to 65535 bytes are allowed.
	RuleScript *string `json:"RuleScript,omitempty" name:"RuleScript"`

	// Rule description. Up to 1024 bytes are allowed.
	RuleDesc *string `json:"RuleDesc,omitempty" name:"RuleDesc"`

	// Tag. It is an array of key-value structure. Up to 50 tags can be associated.
	Tags []*StringKV `json:"Tags,omitempty" name:"Tags"`
}

func NewCreateRuleRequest

func NewCreateRuleRequest() (request *CreateRuleRequest)

func (*CreateRuleRequest) FromJsonString

func (r *CreateRuleRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateRuleRequest) ToJsonString

func (r *CreateRuleRequest) ToJsonString() string

type CreateRuleRequestParams

type CreateRuleRequestParams struct {
	// Rule name. It can contain up to 128 bytes, supporting [a-zA-Z0-9-\.]*.
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// Rule script. Up to 65535 bytes are allowed.
	RuleScript *string `json:"RuleScript,omitempty" name:"RuleScript"`

	// Rule description. Up to 1024 bytes are allowed.
	RuleDesc *string `json:"RuleDesc,omitempty" name:"RuleDesc"`

	// Tag. It is an array of key-value structure. Up to 50 tags can be associated.
	Tags []*StringKV `json:"Tags,omitempty" name:"Tags"`
}

Predefined struct for user

type CreateRuleResponse

type CreateRuleResponse struct {
	*tchttp.BaseResponse
	Response *CreateRuleResponseParams `json:"Response"`
}

func NewCreateRuleResponse

func NewCreateRuleResponse() (response *CreateRuleResponse)

func (*CreateRuleResponse) FromJsonString

func (r *CreateRuleResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateRuleResponse) ToJsonString

func (r *CreateRuleResponse) ToJsonString() string

type CreateRuleResponseParams

type CreateRuleResponseParams struct {
	// Rule information
	RuleInfo *RuleInfo `json:"RuleInfo,omitempty" name:"RuleInfo"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteMatchRequest

type DeleteMatchRequest struct {
	*tchttp.BaseRequest

	// MatchCode
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`
}

func NewDeleteMatchRequest

func NewDeleteMatchRequest() (request *DeleteMatchRequest)

func (*DeleteMatchRequest) FromJsonString

func (r *DeleteMatchRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteMatchRequest) ToJsonString

func (r *DeleteMatchRequest) ToJsonString() string

type DeleteMatchRequestParams

type DeleteMatchRequestParams struct {
	// MatchCode
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`
}

Predefined struct for user

type DeleteMatchResponse

type DeleteMatchResponse struct {
	*tchttp.BaseResponse
	Response *DeleteMatchResponseParams `json:"Response"`
}

func NewDeleteMatchResponse

func NewDeleteMatchResponse() (response *DeleteMatchResponse)

func (*DeleteMatchResponse) FromJsonString

func (r *DeleteMatchResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteMatchResponse) ToJsonString

func (r *DeleteMatchResponse) ToJsonString() string

type DeleteMatchResponseParams

type DeleteMatchResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteRuleRequest

type DeleteRuleRequest struct {
	*tchttp.BaseRequest

	// RuleCode
	RuleCode *string `json:"RuleCode,omitempty" name:"RuleCode"`
}

func NewDeleteRuleRequest

func NewDeleteRuleRequest() (request *DeleteRuleRequest)

func (*DeleteRuleRequest) FromJsonString

func (r *DeleteRuleRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteRuleRequest) ToJsonString

func (r *DeleteRuleRequest) ToJsonString() string

type DeleteRuleRequestParams

type DeleteRuleRequestParams struct {
	// RuleCode
	RuleCode *string `json:"RuleCode,omitempty" name:"RuleCode"`
}

Predefined struct for user

type DeleteRuleResponse

type DeleteRuleResponse struct {
	*tchttp.BaseResponse
	Response *DeleteRuleResponseParams `json:"Response"`
}

func NewDeleteRuleResponse

func NewDeleteRuleResponse() (response *DeleteRuleResponse)

func (*DeleteRuleResponse) FromJsonString

func (r *DeleteRuleResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteRuleResponse) ToJsonString

func (r *DeleteRuleResponse) ToJsonString() string

type DeleteRuleResponseParams

type DeleteRuleResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDataRequest

type DescribeDataRequest struct {
	*tchttp.BaseRequest

	// Start time in seconds
	StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"`

	// End time in seconds
	EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"`

	// Time granularity. Valid values: 1: 1 day, 2: 1 hour, 3: 1 minute, 4: 10 minutes, 5: 30 minutes
	TimeType *int64 `json:"TimeType,omitempty" name:"TimeType"`

	// MatchCode
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`
}

func NewDescribeDataRequest

func NewDescribeDataRequest() (request *DescribeDataRequest)

func (*DescribeDataRequest) FromJsonString

func (r *DescribeDataRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDataRequest) ToJsonString

func (r *DescribeDataRequest) ToJsonString() string

type DescribeDataRequestParams

type DescribeDataRequestParams struct {
	// Start time in seconds
	StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"`

	// End time in seconds
	EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"`

	// Time granularity. Valid values: 1: 1 day, 2: 1 hour, 3: 1 minute, 4: 10 minutes, 5: 30 minutes
	TimeType *int64 `json:"TimeType,omitempty" name:"TimeType"`

	// MatchCode
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`
}

Predefined struct for user

type DescribeDataResponse

type DescribeDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDataResponseParams `json:"Response"`
}

func NewDescribeDataResponse

func NewDescribeDataResponse() (response *DescribeDataResponse)

func (*DescribeDataResponse) FromJsonString

func (r *DescribeDataResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDataResponse) ToJsonString

func (r *DescribeDataResponse) ToJsonString() string

type DescribeDataResponseParams

type DescribeDataResponseParams struct {
	// Matchmaking statistics overview
	// Note: this field may return `null`, indicating that no valid value is obtained.
	OverviewData *ReportOverviewData `json:"OverviewData,omitempty" name:"OverviewData"`

	// Trend data of the number of matchmaking requests
	// Note: this field may return `null`, indicating that no valid value is obtained.
	TrendData *ReportTrendData `json:"TrendData,omitempty" name:"TrendData"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeMatchCodesRequest

type DescribeMatchCodesRequest struct {
	*tchttp.BaseRequest

	// Offset, number of pages.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// The number of MatchCodes per page
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Query by the MatchCode value (a string).
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`
}

func NewDescribeMatchCodesRequest

func NewDescribeMatchCodesRequest() (request *DescribeMatchCodesRequest)

func (*DescribeMatchCodesRequest) FromJsonString

func (r *DescribeMatchCodesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMatchCodesRequest) ToJsonString

func (r *DescribeMatchCodesRequest) ToJsonString() string

type DescribeMatchCodesRequestParams

type DescribeMatchCodesRequestParams struct {
	// Offset, number of pages.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// The number of MatchCodes per page
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Query by the MatchCode value (a string).
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`
}

Predefined struct for user

type DescribeMatchCodesResponse

type DescribeMatchCodesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeMatchCodesResponseParams `json:"Response"`
}

func NewDescribeMatchCodesResponse

func NewDescribeMatchCodesResponse() (response *DescribeMatchCodesResponse)

func (*DescribeMatchCodesResponse) FromJsonString

func (r *DescribeMatchCodesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMatchCodesResponse) ToJsonString

func (r *DescribeMatchCodesResponse) ToJsonString() string

type DescribeMatchCodesResponseParams

type DescribeMatchCodesResponseParams struct {
	// MatchCode
	// Note: this field may return `null`, indicating that no valid value is obtained.
	MatchCodes []*MatchCodeAttr `json:"MatchCodes,omitempty" name:"MatchCodes"`

	// The total number of queried MatchCodes
	// Note: this field may return `null`, indicating that no valid value is obtained.
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeMatchRequest

type DescribeMatchRequest struct {
	*tchttp.BaseRequest

	// MatchCode
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`
}

func NewDescribeMatchRequest

func NewDescribeMatchRequest() (request *DescribeMatchRequest)

func (*DescribeMatchRequest) FromJsonString

func (r *DescribeMatchRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMatchRequest) ToJsonString

func (r *DescribeMatchRequest) ToJsonString() string

type DescribeMatchRequestParams

type DescribeMatchRequestParams struct {
	// MatchCode
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`
}

Predefined struct for user

type DescribeMatchResponse

type DescribeMatchResponse struct {
	*tchttp.BaseResponse
	Response *DescribeMatchResponseParams `json:"Response"`
}

func NewDescribeMatchResponse

func NewDescribeMatchResponse() (response *DescribeMatchResponse)

func (*DescribeMatchResponse) FromJsonString

func (r *DescribeMatchResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMatchResponse) ToJsonString

func (r *DescribeMatchResponse) ToJsonString() string

type DescribeMatchResponseParams

type DescribeMatchResponseParams struct {
	// Matchmaking information
	// Note: this field may return `null`, indicating that no valid value is obtained.
	MatchInfo *MatchInfo `json:"MatchInfo,omitempty" name:"MatchInfo"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeMatchesRequest

type DescribeMatchesRequest struct {
	*tchttp.BaseRequest

	// The current page number. If this parameter is left empty, all queried matches will be obtained.
	PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"`

	// Number of matchmaking lists per page. If this parameter is left empty, all queried matches will be obtained.
	PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`

	// Query type (optional). Valid values: match (query by matchCode or matchName), rule (query by ruleCode or ruleName), and other types (not filtered)
	SearchType *string `json:"SearchType,omitempty" name:"SearchType"`

	// Keyword. Enter a keyword about SearchType to query.
	Keyword *string `json:"Keyword,omitempty" name:"Keyword"`

	// Tags. Enter a tag for querying.
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`
}

func NewDescribeMatchesRequest

func NewDescribeMatchesRequest() (request *DescribeMatchesRequest)

func (*DescribeMatchesRequest) FromJsonString

func (r *DescribeMatchesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMatchesRequest) ToJsonString

func (r *DescribeMatchesRequest) ToJsonString() string

type DescribeMatchesRequestParams

type DescribeMatchesRequestParams struct {
	// The current page number. If this parameter is left empty, all queried matches will be obtained.
	PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"`

	// Number of matchmaking lists per page. If this parameter is left empty, all queried matches will be obtained.
	PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`

	// Query type (optional). Valid values: match (query by matchCode or matchName), rule (query by ruleCode or ruleName), and other types (not filtered)
	SearchType *string `json:"SearchType,omitempty" name:"SearchType"`

	// Keyword. Enter a keyword about SearchType to query.
	Keyword *string `json:"Keyword,omitempty" name:"Keyword"`

	// Tags. Enter a tag for querying.
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`
}

Predefined struct for user

type DescribeMatchesResponse

type DescribeMatchesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeMatchesResponseParams `json:"Response"`
}

func NewDescribeMatchesResponse

func NewDescribeMatchesResponse() (response *DescribeMatchesResponse)

func (*DescribeMatchesResponse) FromJsonString

func (r *DescribeMatchesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMatchesResponse) ToJsonString

func (r *DescribeMatchesResponse) ToJsonString() string

type DescribeMatchesResponseParams

type DescribeMatchesResponseParams struct {
	// Matchmaking information list
	// Note: this field may return `null`, indicating that no valid value is obtained.
	MatchInfoList []*MatchInfo `json:"MatchInfoList,omitempty" name:"MatchInfoList"`

	// Total number of results
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The current page number. The first page will be returned by default if this parameter is left empty.
	PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"`

	// The number of matches per page. If this parameter is left empty, 30 matches are displayed per page by default. Maximum value: 30
	PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`

	// Query type (optional). Valid values: matchName (query by match name), matchCode (query by matchCode), ruleName (query by rule name), and tag (query by tag key/value)
	SearchType *string `json:"SearchType,omitempty" name:"SearchType"`

	// Keyword for querying (optional)
	Keyword *string `json:"Keyword,omitempty" name:"Keyword"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeMatchingProgressRequest

type DescribeMatchingProgressRequest struct {
	*tchttp.BaseRequest

	// List of MatchTicket IDs. It can contain up to 12 IDs.
	MatchTicketIds []*MTicket `json:"MatchTicketIds,omitempty" name:"MatchTicketIds"`
}

func NewDescribeMatchingProgressRequest

func NewDescribeMatchingProgressRequest() (request *DescribeMatchingProgressRequest)

func (*DescribeMatchingProgressRequest) FromJsonString

func (r *DescribeMatchingProgressRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMatchingProgressRequest) ToJsonString

func (r *DescribeMatchingProgressRequest) ToJsonString() string

type DescribeMatchingProgressRequestParams

type DescribeMatchingProgressRequestParams struct {
	// List of MatchTicket IDs. It can contain up to 12 IDs.
	MatchTicketIds []*MTicket `json:"MatchTicketIds,omitempty" name:"MatchTicketIds"`
}

Predefined struct for user

type DescribeMatchingProgressResponse

type DescribeMatchingProgressResponse struct {
	*tchttp.BaseResponse
	Response *DescribeMatchingProgressResponseParams `json:"Response"`
}

func NewDescribeMatchingProgressResponse

func NewDescribeMatchingProgressResponse() (response *DescribeMatchingProgressResponse)

func (*DescribeMatchingProgressResponse) FromJsonString

func (r *DescribeMatchingProgressResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeMatchingProgressResponse) ToJsonString

func (r *DescribeMatchingProgressResponse) ToJsonString() string

type DescribeMatchingProgressResponseParams

type DescribeMatchingProgressResponseParams struct {
	// MatchTicket list
	// Note: this field may return `null`, indicating that no valid value is obtained.
	MatchTickets []*MatchTicket `json:"MatchTickets,omitempty" name:"MatchTickets"`

	// Error code
	// Note: this field may return `null`, indicating that no valid value is obtained.
	ErrCode *uint64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeRuleRequest

type DescribeRuleRequest struct {
	*tchttp.BaseRequest

	// RuleCode
	RuleCode *string `json:"RuleCode,omitempty" name:"RuleCode"`
}

func NewDescribeRuleRequest

func NewDescribeRuleRequest() (request *DescribeRuleRequest)

func (*DescribeRuleRequest) FromJsonString

func (r *DescribeRuleRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRuleRequest) ToJsonString

func (r *DescribeRuleRequest) ToJsonString() string

type DescribeRuleRequestParams

type DescribeRuleRequestParams struct {
	// RuleCode
	RuleCode *string `json:"RuleCode,omitempty" name:"RuleCode"`
}

Predefined struct for user

type DescribeRuleResponse

type DescribeRuleResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRuleResponseParams `json:"Response"`
}

func NewDescribeRuleResponse

func NewDescribeRuleResponse() (response *DescribeRuleResponse)

func (*DescribeRuleResponse) FromJsonString

func (r *DescribeRuleResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRuleResponse) ToJsonString

func (r *DescribeRuleResponse) ToJsonString() string

type DescribeRuleResponseParams

type DescribeRuleResponseParams struct {
	// Rule information
	// Note: this field may return `null`, indicating that no valid value is obtained.
	RuleInfo *RuleInfo `json:"RuleInfo,omitempty" name:"RuleInfo"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeRulesRequest

type DescribeRulesRequest struct {
	*tchttp.BaseRequest

	// The current page number. The first page will be returned if this parameter is left empty.
	PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"`

	// The number of rules per page. If this parameter is left empty, 30 rules are displayed per page by default. Maximum value: 30
	PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`

	// Query type (optional). Valid values: match (query by matchCode or matchName), rule (query by ruleCode or ruleName), and other types (not filtered)
	SearchType *string `json:"SearchType,omitempty" name:"SearchType"`

	// Keyword. Enter a keyword about SearchType to query.
	Keyword *string `json:"Keyword,omitempty" name:"Keyword"`

	// Tags. Enter a tag for querying.
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`
}

func NewDescribeRulesRequest

func NewDescribeRulesRequest() (request *DescribeRulesRequest)

func (*DescribeRulesRequest) FromJsonString

func (r *DescribeRulesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRulesRequest) ToJsonString

func (r *DescribeRulesRequest) ToJsonString() string

type DescribeRulesRequestParams

type DescribeRulesRequestParams struct {
	// The current page number. The first page will be returned if this parameter is left empty.
	PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"`

	// The number of rules per page. If this parameter is left empty, 30 rules are displayed per page by default. Maximum value: 30
	PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`

	// Query type (optional). Valid values: match (query by matchCode or matchName), rule (query by ruleCode or ruleName), and other types (not filtered)
	SearchType *string `json:"SearchType,omitempty" name:"SearchType"`

	// Keyword. Enter a keyword about SearchType to query.
	Keyword *string `json:"Keyword,omitempty" name:"Keyword"`

	// Tags. Enter a tag for querying.
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`
}

Predefined struct for user

type DescribeRulesResponse

type DescribeRulesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRulesResponseParams `json:"Response"`
}

func NewDescribeRulesResponse

func NewDescribeRulesResponse() (response *DescribeRulesResponse)

func (*DescribeRulesResponse) FromJsonString

func (r *DescribeRulesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRulesResponse) ToJsonString

func (r *DescribeRulesResponse) ToJsonString() string

type DescribeRulesResponseParams

type DescribeRulesResponseParams struct {
	// Rule information list
	// Note: this field may return `null`, indicating that no valid value is obtained.
	RuleInfoList []*RuleBriefInfo `json:"RuleInfoList,omitempty" name:"RuleInfoList"`

	// Total number of results
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// The current page number
	PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"`

	// Number of rules per page
	PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`

	// Query type (optional). Valid values: matchName (query by match name), matchCode (query by matchCode), ruleName (query by rule name), and tag (query by tag key/value)
	SearchType *string `json:"SearchType,omitempty" name:"SearchType"`

	// Keyword for querying (optional)
	Keyword *string `json:"Keyword,omitempty" name:"Keyword"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTokenRequest

type DescribeTokenRequest struct {
	*tchttp.BaseRequest

	// MatchCode
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`
}

func NewDescribeTokenRequest

func NewDescribeTokenRequest() (request *DescribeTokenRequest)

func (*DescribeTokenRequest) FromJsonString

func (r *DescribeTokenRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTokenRequest) ToJsonString

func (r *DescribeTokenRequest) ToJsonString() string

type DescribeTokenRequestParams

type DescribeTokenRequestParams struct {
	// MatchCode
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`
}

Predefined struct for user

type DescribeTokenResponse

type DescribeTokenResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTokenResponseParams `json:"Response"`
}

func NewDescribeTokenResponse

func NewDescribeTokenResponse() (response *DescribeTokenResponse)

func (*DescribeTokenResponse) FromJsonString

func (r *DescribeTokenResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTokenResponse) ToJsonString

func (r *DescribeTokenResponse) ToJsonString() string

type DescribeTokenResponseParams

type DescribeTokenResponseParams struct {
	// The token corresponding to the current MatchCode. If the current MatchCode does not have a token, this parameter may not obtain a valid value.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	MatchToken *string `json:"MatchToken,omitempty" name:"MatchToken"`

	// The time period during which GPM will continuously push the original token in seconds when the token is replaced.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	CompatibleSpan *uint64 `json:"CompatibleSpan,omitempty" name:"CompatibleSpan"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type MTicket

type MTicket struct {
	// MatchCode
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`

	// MatchTicket ID
	MatchTicketId *string `json:"MatchTicketId,omitempty" name:"MatchTicketId"`
}

type MatchAttribute

type MatchAttribute struct {
	// Attribute name. It can contain up to 128 characters, supporting [a-zA-Z0-9-\.]*.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Attribute type. 0: number, 1: string. Default value: 0
	Type *uint64 `json:"Type,omitempty" name:"Type"`

	// Numeric attribute value. Default value: 0.0
	NumberValue *float64 `json:"NumberValue,omitempty" name:"NumberValue"`

	// String attribute value. Up to 128 characters are allowed. Default value: ""
	StringValue *string `json:"StringValue,omitempty" name:"StringValue"`

	// List attribute value
	ListValue []*string `json:"ListValue,omitempty" name:"ListValue"`

	// Map attribute value
	MapValue []*AttributeMap `json:"MapValue,omitempty" name:"MapValue"`
}

type MatchCodeAttr

type MatchCodeAttr struct {
	// MatchCode
	// Note: this field may return `null`, indicating that no valid value is obtained.
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`
}

type MatchInfo

type MatchInfo struct {
	// MatchCode
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`

	// Match name
	MatchName *string `json:"MatchName,omitempty" name:"MatchName"`

	// Matchmaking description
	// Note: this field may return `null`, indicating that no valid value is obtained.
	MatchDesc *string `json:"MatchDesc,omitempty" name:"MatchDesc"`

	// RuleCode
	RuleCode *string `json:"RuleCode,omitempty" name:"RuleCode"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Timeout period
	Timeout *int64 `json:"Timeout,omitempty" name:"Timeout"`

	// Receiving notification address
	NotifyUrl *string `json:"NotifyUrl,omitempty" name:"NotifyUrl"`

	// Whether to request server resources for the match results. 0: no, 1: request GSE resources
	ServerType *int64 `json:"ServerType,omitempty" name:"ServerType"`

	// Region of the server queue
	// Note: this field may return `null`, indicating that no valid value is obtained.
	ServerRegion *string `json:"ServerRegion,omitempty" name:"ServerRegion"`

	// Server queue
	// Note: this field may return `null`, indicating that no valid value is obtained.
	ServerQueue *string `json:"ServerQueue,omitempty" name:"ServerQueue"`

	// Custom push data
	// Note: this field may return `null`, indicating that no valid value is obtained.
	CustomPushData *string `json:"CustomPushData,omitempty" name:"CustomPushData"`

	// Game server session data
	// Note: this field may return `null`, indicating that no valid value is obtained.
	ServerSessionData *string `json:"ServerSessionData,omitempty" name:"ServerSessionData"`

	// Game attributes
	// Note: this field may return `null`, indicating that no valid value is obtained.
	GameProperties []*StringKV `json:"GameProperties,omitempty" name:"GameProperties"`

	// Enable or disable the log. 0: disable, 1: enable
	LogSwitch *int64 `json:"LogSwitch,omitempty" name:"LogSwitch"`

	// Logset ID
	// Note: this field may return `null`, indicating that no valid value is obtained.
	LogsetId *string `json:"LogsetId,omitempty" name:"LogsetId"`

	// Logset name
	// Note: this field may return `null`, indicating that no valid value is obtained.
	LogsetName *string `json:"LogsetName,omitempty" name:"LogsetName"`

	// Log topic ID
	// Note: this field may return `null`, indicating that no valid value is obtained.
	LogTopicId *string `json:"LogTopicId,omitempty" name:"LogTopicId"`

	// Log topic name
	// Note: this field may return `null`, indicating that no valid value is obtained.
	LogTopicName *string `json:"LogTopicName,omitempty" name:"LogTopicName"`

	// Tag
	// Note: this field may return `null`, indicating that no valid value is obtained.
	Tags []*StringKV `json:"Tags,omitempty" name:"Tags"`

	// Region
	// Note: this field may return `null`, indicating that no valid value is obtained.
	Region *string `json:"Region,omitempty" name:"Region"`

	// User AppId
	// Note: this field may return `null`, indicating that no valid value is obtained.
	AppId *string `json:"AppId,omitempty" name:"AppId"`

	// User root account UIN
	// Note: this field may return `null`, indicating that no valid value is obtained.
	Uin *string `json:"Uin,omitempty" name:"Uin"`

	// Create user account UIN
	// Note: this field may return `null`, indicating that no valid value is obtained.
	CreateUin *string `json:"CreateUin,omitempty" name:"CreateUin"`

	// Rule Name
	// Note: this field may return `null`, indicating that no valid value is obtained.
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// Log status. 0: normal, 1: the log set does not exist, 2: the log topic does not exist, 3: neither the log set nor the log topic exists.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	LogStatus *int64 `json:"LogStatus,omitempty" name:"LogStatus"`
}

type MatchTicket

type MatchTicket struct {
	// MatchTicket ID. It can contain up to 128 characters, supporting [a-zA-Z0-9-\.]*.
	Id *string `json:"Id,omitempty" name:"Id"`

	// MatchCode
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`

	// Different structure serialized results will be returned according to the MatchType.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	MatchResult *string `json:"MatchResult,omitempty" name:"MatchResult"`

	// Matchmaking type. Valid values: NORMAL, GSE
	// Note: this field may return `null`, indicating that no valid value is obtained.
	MatchType *string `json:"MatchType,omitempty" name:"MatchType"`

	// Player information list
	Players []*Player `json:"Players,omitempty" name:"Players"`

	// Matching status. Valid values: SEARCHING (matching), PLACING (pending match), COMPLETED (match completed), CANCELLED (match cancelled), TIMEDOUT (match timeouts), FAILED (match failed)
	Status *string `json:"Status,omitempty" name:"Status"`

	// Matching status descriptions
	// Note: this field may return `null`, indicating that no valid value is obtained.
	StatusMessage *string `json:"StatusMessage,omitempty" name:"StatusMessage"`

	// Reason for the matching status
	// Note: this field may return `null`, indicating that no valid value is obtained.
	StatusReason *string `json:"StatusReason,omitempty" name:"StatusReason"`

	// The time when the GPM received the matchmaking request, for example "2020-08-17T08:14:38.077Z".
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// The time when the matchmaking request stopped executing due to the completion, failure, timeout, or cancellation, for example "2020-08-17T08:14:38.077Z".
	// Note: this field may return `null`, indicating that no valid value is obtained.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}

type ModifyMatchRequest

type ModifyMatchRequest struct {
	*tchttp.BaseRequest

	// Match name. It can contain up to 128 bytes, supporting [a-zA-Z0-9-\.]*.
	MatchName *string `json:"MatchName,omitempty" name:"MatchName"`

	// RuleCode
	RuleCode *string `json:"RuleCode,omitempty" name:"RuleCode"`

	// Timeout period in seconds. Value range: 1 600
	Timeout *int64 `json:"Timeout,omitempty" name:"Timeout"`

	// Whether to request server resources for the matchmaking results. 0: no, 1: request GSE resources
	ServerType *int64 `json:"ServerType,omitempty" name:"ServerType"`

	// MatchCode
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`

	// Matchmaking description. Up to 1024 bytes are allowed.
	MatchDesc *string `json:"MatchDesc,omitempty" name:"MatchDesc"`

	// Only HTTP and HTTPS protocols are supported.
	NotifyUrl *string `json:"NotifyUrl,omitempty" name:"NotifyUrl"`

	// Region of the game server queue
	ServerRegion *string `json:"ServerRegion,omitempty" name:"ServerRegion"`

	// Game server queue
	ServerQueue *string `json:"ServerQueue,omitempty" name:"ServerQueue"`

	// Custom push data
	CustomPushData *string `json:"CustomPushData,omitempty" name:"CustomPushData"`

	// Game server session data
	ServerSessionData *string `json:"ServerSessionData,omitempty" name:"ServerSessionData"`

	// Game attribute. It is an array of key-value structure.
	GameProperties []*StringKV `json:"GameProperties,omitempty" name:"GameProperties"`

	// Enable or disable the log. 0: disable, 1: enable
	LogSwitch *int64 `json:"LogSwitch,omitempty" name:"LogSwitch"`

	// Tag. It is an array of key-value structure.
	Tags []*StringKV `json:"Tags,omitempty" name:"Tags"`
}

func NewModifyMatchRequest

func NewModifyMatchRequest() (request *ModifyMatchRequest)

func (*ModifyMatchRequest) FromJsonString

func (r *ModifyMatchRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyMatchRequest) ToJsonString

func (r *ModifyMatchRequest) ToJsonString() string

type ModifyMatchRequestParams

type ModifyMatchRequestParams struct {
	// Match name. It can contain up to 128 bytes, supporting [a-zA-Z0-9-\.]*.
	MatchName *string `json:"MatchName,omitempty" name:"MatchName"`

	// RuleCode
	RuleCode *string `json:"RuleCode,omitempty" name:"RuleCode"`

	// Timeout period in seconds. Value range: 1 600
	Timeout *int64 `json:"Timeout,omitempty" name:"Timeout"`

	// Whether to request server resources for the matchmaking results. 0: no, 1: request GSE resources
	ServerType *int64 `json:"ServerType,omitempty" name:"ServerType"`

	// MatchCode
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`

	// Matchmaking description. Up to 1024 bytes are allowed.
	MatchDesc *string `json:"MatchDesc,omitempty" name:"MatchDesc"`

	// Only HTTP and HTTPS protocols are supported.
	NotifyUrl *string `json:"NotifyUrl,omitempty" name:"NotifyUrl"`

	// Region of the game server queue
	ServerRegion *string `json:"ServerRegion,omitempty" name:"ServerRegion"`

	// Game server queue
	ServerQueue *string `json:"ServerQueue,omitempty" name:"ServerQueue"`

	// Custom push data
	CustomPushData *string `json:"CustomPushData,omitempty" name:"CustomPushData"`

	// Game server session data
	ServerSessionData *string `json:"ServerSessionData,omitempty" name:"ServerSessionData"`

	// Game attribute. It is an array of key-value structure.
	GameProperties []*StringKV `json:"GameProperties,omitempty" name:"GameProperties"`

	// Enable or disable the log. 0: disable, 1: enable
	LogSwitch *int64 `json:"LogSwitch,omitempty" name:"LogSwitch"`

	// Tag. It is an array of key-value structure.
	Tags []*StringKV `json:"Tags,omitempty" name:"Tags"`
}

Predefined struct for user

type ModifyMatchResponse

type ModifyMatchResponse struct {
	*tchttp.BaseResponse
	Response *ModifyMatchResponseParams `json:"Response"`
}

func NewModifyMatchResponse

func NewModifyMatchResponse() (response *ModifyMatchResponse)

func (*ModifyMatchResponse) FromJsonString

func (r *ModifyMatchResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyMatchResponse) ToJsonString

func (r *ModifyMatchResponse) ToJsonString() string

type ModifyMatchResponseParams

type ModifyMatchResponseParams struct {
	// Matchmaking information
	MatchInfo *MatchInfo `json:"MatchInfo,omitempty" name:"MatchInfo"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyRuleRequest

type ModifyRuleRequest struct {
	*tchttp.BaseRequest

	// RuleCode
	RuleCode *string `json:"RuleCode,omitempty" name:"RuleCode"`

	// Rule name. It can only contain numbers, letters, ".", and "-".
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// Rule description. Up to 1024 bytes are allowed.
	RuleDesc *string `json:"RuleDesc,omitempty" name:"RuleDesc"`

	// Tag. It is an array of key-value structure. Up to 50 tags can be associated.
	Tags []*StringKV `json:"Tags,omitempty" name:"Tags"`
}

func NewModifyRuleRequest

func NewModifyRuleRequest() (request *ModifyRuleRequest)

func (*ModifyRuleRequest) FromJsonString

func (r *ModifyRuleRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyRuleRequest) ToJsonString

func (r *ModifyRuleRequest) ToJsonString() string

type ModifyRuleRequestParams

type ModifyRuleRequestParams struct {
	// RuleCode
	RuleCode *string `json:"RuleCode,omitempty" name:"RuleCode"`

	// Rule name. It can only contain numbers, letters, ".", and "-".
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// Rule description. Up to 1024 bytes are allowed.
	RuleDesc *string `json:"RuleDesc,omitempty" name:"RuleDesc"`

	// Tag. It is an array of key-value structure. Up to 50 tags can be associated.
	Tags []*StringKV `json:"Tags,omitempty" name:"Tags"`
}

Predefined struct for user

type ModifyRuleResponse

type ModifyRuleResponse struct {
	*tchttp.BaseResponse
	Response *ModifyRuleResponseParams `json:"Response"`
}

func NewModifyRuleResponse

func NewModifyRuleResponse() (response *ModifyRuleResponse)

func (*ModifyRuleResponse) FromJsonString

func (r *ModifyRuleResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyRuleResponse) ToJsonString

func (r *ModifyRuleResponse) ToJsonString() string

type ModifyRuleResponseParams

type ModifyRuleResponseParams struct {
	// Rule information
	RuleInfo *RuleInfo `json:"RuleInfo,omitempty" name:"RuleInfo"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyTokenRequest

type ModifyTokenRequest struct {
	*tchttp.BaseRequest

	// MatchCode
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`

	// The time period during which GPM will continuously push the original token in seconds to the user when the token is replaced. Value range: 0 - 1800. Within the CompatibleSpan time period, user will receive the current and original token in the event notification.
	CompatibleSpan *uint64 `json:"CompatibleSpan,omitempty" name:"CompatibleSpan"`

	// Token. It can contain 0 - 64 characters, supporting [a-zA-Z0-9-_.]. If this parameter is left empty, the token will be randomly generated by GPM.
	MatchToken *string `json:"MatchToken,omitempty" name:"MatchToken"`
}

func NewModifyTokenRequest

func NewModifyTokenRequest() (request *ModifyTokenRequest)

func (*ModifyTokenRequest) FromJsonString

func (r *ModifyTokenRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyTokenRequest) ToJsonString

func (r *ModifyTokenRequest) ToJsonString() string

type ModifyTokenRequestParams

type ModifyTokenRequestParams struct {
	// MatchCode
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`

	// The time period during which GPM will continuously push the original token in seconds to the user when the token is replaced. Value range: 0 - 1800. Within the CompatibleSpan time period, user will receive the current and original token in the event notification.
	CompatibleSpan *uint64 `json:"CompatibleSpan,omitempty" name:"CompatibleSpan"`

	// Token. It can contain 0 - 64 characters, supporting [a-zA-Z0-9-_.]. If this parameter is left empty, the token will be randomly generated by GPM.
	MatchToken *string `json:"MatchToken,omitempty" name:"MatchToken"`
}

Predefined struct for user

type ModifyTokenResponse

type ModifyTokenResponse struct {
	*tchttp.BaseResponse
	Response *ModifyTokenResponseParams `json:"Response"`
}

func NewModifyTokenResponse

func NewModifyTokenResponse() (response *ModifyTokenResponse)

func (*ModifyTokenResponse) FromJsonString

func (r *ModifyTokenResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyTokenResponse) ToJsonString

func (r *ModifyTokenResponse) ToJsonString() string

type ModifyTokenResponseParams

type ModifyTokenResponseParams struct {
	// Token that has been set successfully.
	MatchToken *string `json:"MatchToken,omitempty" name:"MatchToken"`

	// The time period during which GPM will continuously push the original token in seconds to the user when the token is replaced.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	CompatibleSpan *uint64 `json:"CompatibleSpan,omitempty" name:"CompatibleSpan"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type Player

type Player struct {
	// Player ID. It can contain up to 128 characters, supporting [a-zA-Z\d-\._]*.
	Id *string `json:"Id,omitempty" name:"Id"`

	// Player nickname. Up to 128 characters are allowed.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Player attribute for matching. Up to 10 attributes are supported.
	MatchAttributes []*MatchAttribute `json:"MatchAttributes,omitempty" name:"MatchAttributes"`

	// Team name. A player can pass in a different team name, which can contain up to 128 characters, and support [a-zA-Z0-9-\.]*.
	Team *string `json:"Team,omitempty" name:"Team"`

	// Custom player status. This parameter will be passed through. Value range: [0, 99999]
	CustomPlayerStatus *uint64 `json:"CustomPlayerStatus,omitempty" name:"CustomPlayerStatus"`

	// Custom player information. Up to 1024 characters are allowed. This parameter will be passed through.
	CustomProfile *string `json:"CustomProfile,omitempty" name:"CustomProfile"`

	// Number of delays in each area. Up to 20 delays are supported.
	RegionLatencies []*RegionLatency `json:"RegionLatencies,omitempty" name:"RegionLatencies"`
}

type RegionLatency

type RegionLatency struct {
	// Region
	// ap-beijing          North China (Beijing)
	// ap-chengdu          Southwest China (Chengdu)
	// ap-guangzhou           South China (Guangzhou)
	// ap-hongkong           Hong Kong/Macao/Taiwan (Hong Kong, China)
	// ap-seoul          Asia Pacific (Seoul)
	// ap-shanghai          East China (Shanghai)
	// ap-singapore          Southeast Asia (Singapore)
	// eu-frankfurt          Europe (Frankfurt)
	// na-siliconvalley          Western US (Silicon Valley)
	// na-toronto           North America (Toronto)
	// ap-mumbai           Asia Pacific (Mumbai)
	// na-ashburn          Eastern US (Virginia)
	// ap-bangkok           Asia Pacific (Bangkok)
	// eu-moscow           Europe (Moscow)
	// ap-tokyo           Asia Pacific (Tokyo)
	Region *string `json:"Region,omitempty" name:"Region"`

	// Delay time in ms. Value range: 0 - 999999
	Latency *uint64 `json:"Latency,omitempty" name:"Latency"`
}

type ReportOverviewData

type ReportOverviewData struct {
	// Total count
	TotalTimes *string `json:"TotalTimes,omitempty" name:"TotalTimes"`

	// Success rate
	SuccessPercent *float64 `json:"SuccessPercent,omitempty" name:"SuccessPercent"`

	// Timeout rate
	TimeoutPercent *float64 `json:"TimeoutPercent,omitempty" name:"TimeoutPercent"`

	// Failure rate
	FailPercent *float64 `json:"FailPercent,omitempty" name:"FailPercent"`

	// Average matching time
	AverageSec *float64 `json:"AverageSec,omitempty" name:"AverageSec"`
}

type ReportTrendData

type ReportTrendData struct {
	// Total count
	TotalList []*string `json:"TotalList,omitempty" name:"TotalList"`

	// Number of requests cancelled
	CancelList []*string `json:"CancelList,omitempty" name:"CancelList"`

	// Number of successes
	SuccessList []*string `json:"SuccessList,omitempty" name:"SuccessList"`

	// Number of failures
	FailList []*string `json:"FailList,omitempty" name:"FailList"`

	// Number of request timeout
	TimeoutList []*string `json:"TimeoutList,omitempty" name:"TimeoutList"`

	// Time array in seconds
	TimeList []*string `json:"TimeList,omitempty" name:"TimeList"`
}

type RuleBriefInfo

type RuleBriefInfo struct {
	// Rule name. It supports [a-zA-Z\d-\.]*.
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// The associated match
	MatchCodeList []*StringKV `json:"MatchCodeList,omitempty" name:"MatchCodeList"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// RuleCode
	RuleCode *string `json:"RuleCode,omitempty" name:"RuleCode"`
}

type RuleInfo

type RuleInfo struct {
	// Rule name. It supports [a-zA-Z0-9-\.]*.
	RuleName *string `json:"RuleName,omitempty" name:"RuleName"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Rule description
	// Note: this field may return `null`, indicating that no valid value is obtained.
	RuleDesc *string `json:"RuleDesc,omitempty" name:"RuleDesc"`

	// Rule script
	RuleScript *string `json:"RuleScript,omitempty" name:"RuleScript"`

	// Tag
	// Note: this field may return `null`, indicating that no valid value is obtained.
	Tags []*StringKV `json:"Tags,omitempty" name:"Tags"`

	// The associated match
	// Note: this field may return `null`, indicating that no valid value is obtained.
	MatchCodeList []*StringKV `json:"MatchCodeList,omitempty" name:"MatchCodeList"`

	// RuleCode
	RuleCode *string `json:"RuleCode,omitempty" name:"RuleCode"`

	// Region
	// Note: this field may return `null`, indicating that no valid value is obtained.
	Region *string `json:"Region,omitempty" name:"Region"`

	// User AppId
	// Note: this field may return `null`, indicating that no valid value is obtained.
	AppId *string `json:"AppId,omitempty" name:"AppId"`

	// User UIN
	// Note: this field may return `null`, indicating that no valid value is obtained.
	Uin *string `json:"Uin,omitempty" name:"Uin"`

	// User OwnerUin
	// Note: this field may return `null`, indicating that no valid value is obtained.
	CreateUin *string `json:"CreateUin,omitempty" name:"CreateUin"`
}

type StartMatchingBackfillRequest

type StartMatchingBackfillRequest struct {
	*tchttp.BaseRequest

	// MatchCode
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`

	// Player information
	Players []*Player `json:"Players,omitempty" name:"Players"`

	// Game server session ID. It should contain 1 to 256 ASCII characters.
	GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"`

	// MatchTicket ID, which can contain 1 to 128 characters. This parameter is left empty by default, and in this case, MatchTicket ID will be automatically generated by GPM.
	MatchTicketId *string `json:"MatchTicketId,omitempty" name:"MatchTicketId"`
}

func NewStartMatchingBackfillRequest

func NewStartMatchingBackfillRequest() (request *StartMatchingBackfillRequest)

func (*StartMatchingBackfillRequest) FromJsonString

func (r *StartMatchingBackfillRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartMatchingBackfillRequest) ToJsonString

func (r *StartMatchingBackfillRequest) ToJsonString() string

type StartMatchingBackfillRequestParams

type StartMatchingBackfillRequestParams struct {
	// MatchCode
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`

	// Player information
	Players []*Player `json:"Players,omitempty" name:"Players"`

	// Game server session ID. It should contain 1 to 256 ASCII characters.
	GameServerSessionId *string `json:"GameServerSessionId,omitempty" name:"GameServerSessionId"`

	// MatchTicket ID, which can contain 1 to 128 characters. This parameter is left empty by default, and in this case, MatchTicket ID will be automatically generated by GPM.
	MatchTicketId *string `json:"MatchTicketId,omitempty" name:"MatchTicketId"`
}

Predefined struct for user

type StartMatchingBackfillResponse

type StartMatchingBackfillResponse struct {
	*tchttp.BaseResponse
	Response *StartMatchingBackfillResponseParams `json:"Response"`
}

func NewStartMatchingBackfillResponse

func NewStartMatchingBackfillResponse() (response *StartMatchingBackfillResponse)

func (*StartMatchingBackfillResponse) FromJsonString

func (r *StartMatchingBackfillResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartMatchingBackfillResponse) ToJsonString

func (r *StartMatchingBackfillResponse) ToJsonString() string

type StartMatchingBackfillResponseParams

type StartMatchingBackfillResponseParams struct {
	// MatchTicket
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	MatchTicket *MatchTicket `json:"MatchTicket,omitempty" name:"MatchTicket"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type StartMatchingRequest

type StartMatchingRequest struct {
	*tchttp.BaseRequest

	// MatchCode
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`

	// Player information. Up to 200 entries can be entered.
	Players []*Player `json:"Players,omitempty" name:"Players"`

	// MatchTicket ID, which can contain up to 128 characters and can only contain numbers, letters, “.”, and “-”. This parameter is left empty by default. When it is empty, the MatchTicket ID will be automatically generated by GPM.
	MatchTicketId *string `json:"MatchTicketId,omitempty" name:"MatchTicketId"`
}

func NewStartMatchingRequest

func NewStartMatchingRequest() (request *StartMatchingRequest)

func (*StartMatchingRequest) FromJsonString

func (r *StartMatchingRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartMatchingRequest) ToJsonString

func (r *StartMatchingRequest) ToJsonString() string

type StartMatchingRequestParams

type StartMatchingRequestParams struct {
	// MatchCode
	MatchCode *string `json:"MatchCode,omitempty" name:"MatchCode"`

	// Player information. Up to 200 entries can be entered.
	Players []*Player `json:"Players,omitempty" name:"Players"`

	// MatchTicket ID, which can contain up to 128 characters and can only contain numbers, letters, “.”, and “-”. This parameter is left empty by default. When it is empty, the MatchTicket ID will be automatically generated by GPM.
	MatchTicketId *string `json:"MatchTicketId,omitempty" name:"MatchTicketId"`
}

Predefined struct for user

type StartMatchingResponse

type StartMatchingResponse struct {
	*tchttp.BaseResponse
	Response *StartMatchingResponseParams `json:"Response"`
}

func NewStartMatchingResponse

func NewStartMatchingResponse() (response *StartMatchingResponse)

func (*StartMatchingResponse) FromJsonString

func (r *StartMatchingResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartMatchingResponse) ToJsonString

func (r *StartMatchingResponse) ToJsonString() string

type StartMatchingResponseParams

type StartMatchingResponseParams struct {
	// Error code
	ErrCode *uint64 `json:"ErrCode,omitempty" name:"ErrCode"`

	// MatchTicket ID. Up to 128 characters are allowed.
	MatchTicketId *string `json:"MatchTicketId,omitempty" name:"MatchTicketId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type StringKV

type StringKV struct {
	// Key
	Key *string `json:"Key,omitempty" name:"Key"`

	// Value
	Value *string `json:"Value,omitempty" name:"Value"`
}

type Tag

type Tag struct {
	// Tag key
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// Tag value
	TagValue *string `json:"TagValue,omitempty" name:"TagValue"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL