v20190319

package
v3.0.306+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// Duplicate recorder name.
	INVALIDPARAMETERVALUE_RECORDERNAMEREPEAT = "InvalidParameterValue.RecorderNameRepeat"

	// The number of resource recorders exceeds the limit.
	LIMITEXCEEDED_RECORDEROVERAMOUNT = "LimitExceeded.RecorderOverAmount"

	// Recorder not found.
	RESOURCENOTFOUND_RECORDERNOTFOUND = "ResourceNotFound.RecorderNotFound"

	// Resource not found.
	RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound"
)
View Source
const APIVersion = "2019-03-19"

Variables

This section is empty.

Functions

This section is empty.

Types

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) CreateRecorder

func (c *Client) CreateRecorder(request *CreateRecorderRequest) (response *CreateRecorderResponse, err error)

CreateRecorder This API is used to create resource recorders to detect and record resource configuration changes.

error code that may be returned:

LIMITEXCEEDED_RECORDEROVERAMOUNT = "LimitExceeded.RecorderOverAmount"

func (*Client) DeleteRecorder

func (c *Client) DeleteRecorder(request *DeleteRecorderRequest) (response *DeleteRecorderResponse, err error)

DeleteRecorder This API is used to delete resource recorders. After deletion, resource configuration changes will not be recorded.

error code that may be returned:

RESOURCENOTFOUND_RECORDERNOTFOUND = "ResourceNotFound.RecorderNotFound"

func (*Client) DescribeDiscoveredResource

func (c *Client) DescribeDiscoveredResource(request *DescribeDiscoveredResourceRequest) (response *DescribeDiscoveredResourceResponse, err error)

DescribeDiscoveredResource This API is used to view the basic information of discovered resources.

error code that may be returned:

RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound"

func (*Client) DescribeRecorder

func (c *Client) DescribeRecorder(request *DescribeRecorderRequest) (response *DescribeRecorderResponse, err error)

DescribeRecorder This API is used to display current configurations and status of a recorder.

error code that may be returned:

RESOURCENOTFOUND_RECORDERNOTFOUND = "ResourceNotFound.RecorderNotFound"

func (*Client) GetConfigurationItems

func (c *Client) GetConfigurationItems(request *GetConfigurationItemsRequest) (response *GetConfigurationItemsResponse, err error)

GetConfigurationItems This API is used to get the list of resource configuration items and display resource configuration changes in chronological order.

error code that may be returned:

RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound"

func (*Client) ListDiscoveredResources

func (c *Client) ListDiscoveredResources(request *ListDiscoveredResourcesRequest) (response *ListDiscoveredResourcesResponse, err error)

ListDiscoveredResources This API is used to view the list of discovered resources.

error code that may be returned:

RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound"

func (*Client) ListSupportResourceTypes

func (c *Client) ListSupportResourceTypes(request *ListSupportResourceTypesRequest) (response *ListSupportResourceTypesResponse, err error)

ListSupportResourceTypes This API is used to query the list of all CFA supported resource types.

error code that may be returned:

RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound"

func (*Client) UpdateRecorder

func (c *Client) UpdateRecorder(request *UpdateRecorderRequest) (response *UpdateRecorderResponse, err error)

UpdateRecorder This API is used to modify the resources to monitor, recorder name, and other recorder configurations.

error code that may be returned:

INVALIDPARAMETERVALUE_RECORDERNAMEREPEAT = "InvalidParameterValue.RecorderNameRepeat"
RESOURCENOTFOUND_RECORDERNOTFOUND = "ResourceNotFound.RecorderNotFound"

type ConfigurationItems

type ConfigurationItems struct {

	// Time of getting a configuration item
	ConfigurationItemCaptureTime *string `json:"ConfigurationItemCaptureTime,omitempty" name:"ConfigurationItemCaptureTime"`

	// Resource relationship list
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Relationships *string `json:"Relationships,omitempty" name:"Relationships"`

	// This parameter takes effect only when `DiffMode` is set to `true`. When the input parameter `ChronologicalOrder` of the `GetConfigurationItems` API is set to `Forward`, details of the configuration item before the first one (if not a creation configuration item) will be returned. When this parameter is set to `Reverse`, details of the configuration item after the last one (if not a resource deletion configuration item) will be returned.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	LastItemInfo *string `json:"LastItemInfo,omitempty" name:"LastItemInfo"`

	// List of events associated with the configuration changes
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	RelatedEvents []*RelatedEvent `json:"RelatedEvents,omitempty" name:"RelatedEvents"`

	// Resource type
	ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"`

	// Resource ID
	ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`

	// Configuration item ID
	ConfigurationStateId *string `json:"ConfigurationStateId,omitempty" name:"ConfigurationStateId"`

	// Resource creation time
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ResourceCreateTime *string `json:"ResourceCreateTime,omitempty" name:"ResourceCreateTime"`

	// CFA version
	Version *string `json:"Version,omitempty" name:"Version"`

	// Resource region
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"`

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

	// Resource name
	ResourceAlias *string `json:"ResourceAlias,omitempty" name:"ResourceAlias"`

	// Configuration item status. Valid values: OK, ResourceDiscovered, ResourceNotRecorded, ResourceDeleted, ResourceDeletedNotRecorded.
	ConfigurationItemStatus *string `json:"ConfigurationItemStatus,omitempty" name:"ConfigurationItemStatus"`
}

type CreateRecorderRequest

type CreateRecorderRequest struct {
	*tchttp.BaseRequest

	// Role name authorized to CFA
	Role *string `json:"Role,omitempty" name:"Role"`

	// Whether to select all supported resource types. Valid values: true (default), false.
	AllSupported *bool `json:"AllSupported,omitempty" name:"AllSupported"`

	// Whether to enable the resource recorder. Valid values: true (default), false.
	Enable *bool `json:"Enable,omitempty" name:"Enable"`

	// Resource recorder name. Default name: default.
	Name *string `json:"Name,omitempty" name:"Name"`
}

func NewCreateRecorderRequest

func NewCreateRecorderRequest() (request *CreateRecorderRequest)

func (*CreateRecorderRequest) FromJsonString

func (r *CreateRecorderRequest) 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 (*CreateRecorderRequest) ToJsonString

func (r *CreateRecorderRequest) ToJsonString() string

type CreateRecorderResponse

type CreateRecorderResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Whether the recorder was created successfully
		IsSuccess *bool `json:"IsSuccess,omitempty" name:"IsSuccess"`

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

func NewCreateRecorderResponse

func NewCreateRecorderResponse() (response *CreateRecorderResponse)

func (*CreateRecorderResponse) FromJsonString

func (r *CreateRecorderResponse) 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 (*CreateRecorderResponse) ToJsonString

func (r *CreateRecorderResponse) ToJsonString() string

type DeleteRecorderRequest

type DeleteRecorderRequest struct {
	*tchttp.BaseRequest
}

func NewDeleteRecorderRequest

func NewDeleteRecorderRequest() (request *DeleteRecorderRequest)

func (*DeleteRecorderRequest) FromJsonString

func (r *DeleteRecorderRequest) 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 (*DeleteRecorderRequest) ToJsonString

func (r *DeleteRecorderRequest) ToJsonString() string

type DeleteRecorderResponse

type DeleteRecorderResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Whether the recorder was deleted successfully
		IsSuccess *bool `json:"IsSuccess,omitempty" name:"IsSuccess"`

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

func NewDeleteRecorderResponse

func NewDeleteRecorderResponse() (response *DeleteRecorderResponse)

func (*DeleteRecorderResponse) FromJsonString

func (r *DeleteRecorderResponse) 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 (*DeleteRecorderResponse) ToJsonString

func (r *DeleteRecorderResponse) ToJsonString() string

type DescribeDiscoveredResourceRequest

type DescribeDiscoveredResourceRequest struct {
	*tchttp.BaseRequest

	// Request ID
	ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`
}

func NewDescribeDiscoveredResourceRequest

func NewDescribeDiscoveredResourceRequest() (request *DescribeDiscoveredResourceRequest)

func (*DescribeDiscoveredResourceRequest) FromJsonString

func (r *DescribeDiscoveredResourceRequest) 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 (*DescribeDiscoveredResourceRequest) ToJsonString

func (r *DescribeDiscoveredResourceRequest) ToJsonString() string

type DescribeDiscoveredResourceResponse

type DescribeDiscoveredResourceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Last update time
		LastUpdateTime *string `json:"LastUpdateTime,omitempty" name:"LastUpdateTime"`

		// Resource type
		ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"`

		// Resource ID
		ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`

		// Resource creation time
		// Note: this field may return `null`, indicating that no valid values can be obtained.
		CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

		// Tag details
		// Note: this field may return `null`, indicating that no valid values can be obtained.
		Tag *string `json:"Tag,omitempty" name:"Tag"`

		// Current resource configuration details
		// Note: this field may return `null`, indicating that no valid values can be obtained.
		ResourceInfo *string `json:"ResourceInfo,omitempty" name:"ResourceInfo"`

		// Resource region
		// Note: this field may return `null`, indicating that no valid values can be obtained.
		ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"`

		// Resource alias
		ResourceAlias *string `json:"ResourceAlias,omitempty" name:"ResourceAlias"`

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

func NewDescribeDiscoveredResourceResponse

func NewDescribeDiscoveredResourceResponse() (response *DescribeDiscoveredResourceResponse)

func (*DescribeDiscoveredResourceResponse) FromJsonString

func (r *DescribeDiscoveredResourceResponse) 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 (*DescribeDiscoveredResourceResponse) ToJsonString

func (r *DescribeDiscoveredResourceResponse) ToJsonString() string

type DescribeRecorderRequest

type DescribeRecorderRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeRecorderRequest

func NewDescribeRecorderRequest() (request *DescribeRecorderRequest)

func (*DescribeRecorderRequest) FromJsonString

func (r *DescribeRecorderRequest) 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 (*DescribeRecorderRequest) ToJsonString

func (r *DescribeRecorderRequest) ToJsonString() string

type DescribeRecorderResponse

type DescribeRecorderResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Whether to enable the recorder. Valid values: true (enable), false (disable).
		Enable *bool `json:"Enable,omitempty" name:"Enable"`

		// Recorder name
		Name *string `json:"Name,omitempty" name:"Name"`

		// Last error message of the recorder, which corresponds to `LastErrorCode`.
		LastErrorMessage *string `json:"LastErrorMessage,omitempty" name:"LastErrorMessage"`

		// The status of the recorder when it recorded information last time. Valid values: PENDING, OK, FAILED.
		LastStatus *string `json:"LastStatus,omitempty" name:"LastStatus"`

		// List of the resource types monitored by the recorder
		// Note: this field may return `null`, indicating that no valid values can be obtained.
		ResourceTypes []*RecordResourceType `json:"ResourceTypes,omitempty" name:"ResourceTypes"`

		// Time when the recorder was enabled last time
		LastStartTime *string `json:"LastStartTime,omitempty" name:"LastStartTime"`

		// Last error code of the recorder
		LastErrorCode *string `json:"LastErrorCode,omitempty" name:"LastErrorCode"`

		// Time when the recorder was disabled last time
		LastStopTime *string `json:"LastStopTime,omitempty" name:"LastStopTime"`

		// Whether to monitor all currently supported resource types. Valid values: true (yes), false (no).
		AllSupported *bool `json:"AllSupported,omitempty" name:"AllSupported"`

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

		// Role name authorized to CFA
		Role *string `json:"Role,omitempty" name:"Role"`

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

func NewDescribeRecorderResponse

func NewDescribeRecorderResponse() (response *DescribeRecorderResponse)

func (*DescribeRecorderResponse) FromJsonString

func (r *DescribeRecorderResponse) 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 (*DescribeRecorderResponse) ToJsonString

func (r *DescribeRecorderResponse) ToJsonString() string

type GetConfigurationItemsRequest

type GetConfigurationItemsRequest struct {
	*tchttp.BaseRequest

	// Resource ID
	ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`

	// Chronological order. Valid values: Reverse, Forward (default).
	ChronologicalOrder *string `json:"ChronologicalOrder,omitempty" name:"ChronologicalOrder"`

	// Start time
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Whether to enable `DiffMode`. Valid values: true, false (default).
	DiffMode *bool `json:"DiffMode,omitempty" name:"DiffMode"`

	// Returned number. default: 10, maximum: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// End time
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}

func NewGetConfigurationItemsRequest

func NewGetConfigurationItemsRequest() (request *GetConfigurationItemsRequest)

func (*GetConfigurationItemsRequest) FromJsonString

func (r *GetConfigurationItemsRequest) 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 (*GetConfigurationItemsRequest) ToJsonString

func (r *GetConfigurationItemsRequest) ToJsonString() string

type GetConfigurationItemsResponse

type GetConfigurationItemsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Resource configuration item list
		// Note: this field may return `null`, indicating that no valid values can be obtained.
		ConfigurationItems []*ConfigurationItems `json:"ConfigurationItems,omitempty" name:"ConfigurationItems"`

		// Total number
		TotalCount *uint64 `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"`
	} `json:"Response"`
}

func NewGetConfigurationItemsResponse

func NewGetConfigurationItemsResponse() (response *GetConfigurationItemsResponse)

func (*GetConfigurationItemsResponse) FromJsonString

func (r *GetConfigurationItemsResponse) 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 (*GetConfigurationItemsResponse) ToJsonString

func (r *GetConfigurationItemsResponse) ToJsonString() string

type ListDiscoveredResourcesRequest

type ListDiscoveredResourcesRequest struct {
	*tchttp.BaseRequest

	// Resource type
	ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"`

	// Resource ID
	ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`

	// Returned number. default: 20, maximum: 200.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Resource region
	ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"`

	// Offset. Default: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Whether the resource is deleted
	IsDeleted *bool `json:"IsDeleted,omitempty" name:"IsDeleted"`
}

func NewListDiscoveredResourcesRequest

func NewListDiscoveredResourcesRequest() (request *ListDiscoveredResourcesRequest)

func (*ListDiscoveredResourcesRequest) FromJsonString

func (r *ListDiscoveredResourcesRequest) 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 (*ListDiscoveredResourcesRequest) ToJsonString

func (r *ListDiscoveredResourcesRequest) ToJsonString() string

type ListDiscoveredResourcesResponse

type ListDiscoveredResourcesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Resource list
		// Note: this field may return `null`, indicating that no valid values can be obtained.
		Resources []*Resources `json:"Resources,omitempty" name:"Resources"`

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

func NewListDiscoveredResourcesResponse

func NewListDiscoveredResourcesResponse() (response *ListDiscoveredResourcesResponse)

func (*ListDiscoveredResourcesResponse) FromJsonString

func (r *ListDiscoveredResourcesResponse) 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 (*ListDiscoveredResourcesResponse) ToJsonString

func (r *ListDiscoveredResourcesResponse) ToJsonString() string

type ListSupportResourceTypesRequest

type ListSupportResourceTypesRequest struct {
	*tchttp.BaseRequest
}

func NewListSupportResourceTypesRequest

func NewListSupportResourceTypesRequest() (request *ListSupportResourceTypesRequest)

func (*ListSupportResourceTypesRequest) FromJsonString

func (r *ListSupportResourceTypesRequest) 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 (*ListSupportResourceTypesRequest) ToJsonString

func (r *ListSupportResourceTypesRequest) ToJsonString() string

type ListSupportResourceTypesResponse

type ListSupportResourceTypesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// List of supported resource types
		ResourceTypes []*SupportResourceType `json:"ResourceTypes,omitempty" name:"ResourceTypes"`

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

func NewListSupportResourceTypesResponse

func NewListSupportResourceTypesResponse() (response *ListSupportResourceTypesResponse)

func (*ListSupportResourceTypesResponse) FromJsonString

func (r *ListSupportResourceTypesResponse) 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 (*ListSupportResourceTypesResponse) ToJsonString

func (r *ListSupportResourceTypesResponse) ToJsonString() string

type RecordResourceType

type RecordResourceType struct {

	// CAM policy name
	PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"`

	// Modification time of resource types for monitoring
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

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

	// Resource type
	ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"`

	// Service name
	ServiceName *string `json:"ServiceName,omitempty" name:"ServiceName"`

	// Resource type name
	ResourceTypeName *string `json:"ResourceTypeName,omitempty" name:"ResourceTypeName"`
}

type RelatedEvent

type RelatedEvent struct {

	// Event name
	EventName *string `json:"EventName,omitempty" name:"EventName"`

	// Operation time
	EventTime *string `json:"EventTime,omitempty" name:"EventTime"`

	// ID of the operator account
	OperateUin *uint64 `json:"OperateUin,omitempty" name:"OperateUin"`

	// CloudAudit event ID
	EventReqId *string `json:"EventReqId,omitempty" name:"EventReqId"`
}

type Resources

type Resources struct {

	// Resource type
	ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"`

	// Resource ID
	ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`

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

	// Resource region
	ResourceRegion *string `json:"ResourceRegion,omitempty" name:"ResourceRegion"`

	// Resource alias
	ResourceAlias *string `json:"ResourceAlias,omitempty" name:"ResourceAlias"`

	// Whether the resource is deleted
	IsDeleted *bool `json:"IsDeleted,omitempty" name:"IsDeleted"`
}

type SupportResourceType

type SupportResourceType struct {

	// Resource type
	ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"`

	// CAM policy name
	PolicyName *string `json:"PolicyName,omitempty" name:"PolicyName"`

	// Service name
	ServiceName *string `json:"ServiceName,omitempty" name:"ServiceName"`

	// Resource type name in Chinese
	ResourceTypeName *string `json:"ResourceTypeName,omitempty" name:"ResourceTypeName"`

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

type UpdateRecorderRequest

type UpdateRecorderRequest struct {
	*tchttp.BaseRequest

	// Whether to select all currently supported resource types
	AllSupported *bool `json:"AllSupported,omitempty" name:"AllSupported"`

	// Whether to enable the recorder. Valid values: true (enable), false (disable).
	Enable *bool `json:"Enable,omitempty" name:"Enable"`

	// Recorder name after modification
	Name *string `json:"Name,omitempty" name:"Name"`
}

func NewUpdateRecorderRequest

func NewUpdateRecorderRequest() (request *UpdateRecorderRequest)

func (*UpdateRecorderRequest) FromJsonString

func (r *UpdateRecorderRequest) 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 (*UpdateRecorderRequest) ToJsonString

func (r *UpdateRecorderRequest) ToJsonString() string

type UpdateRecorderResponse

type UpdateRecorderResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Whether the modification is successful
		IsSuccess *bool `json:"IsSuccess,omitempty" name:"IsSuccess"`

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

func NewUpdateRecorderResponse

func NewUpdateRecorderResponse() (response *UpdateRecorderResponse)

func (*UpdateRecorderResponse) FromJsonString

func (r *UpdateRecorderResponse) 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 (*UpdateRecorderResponse) ToJsonString

func (r *UpdateRecorderResponse) ToJsonString() string

Jump to

Keyboard shortcuts

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