获取云服务详情

所属服务

sam

接口方法

GET

请求url

/sam?Action=GetServiceDetail&Version=2018-03-22&ServiceName=

url 参数

参数名称说明参数类型是否必填备注
ServiceName业务方codestring
ActionGetServiceDetailstring
Version2018-03-22string

返回参数

参数名称说明参数类型是否必填备注
CodeCodestring
MessageMessagestring
ServiceName业务codestring
ServiceResourcesResourcearray详细信息见下表
ServiceActionsActionarray详细信息见下表
ServiceDisplayName业务名称string
ServiceDescription业务描述string

ServiceActions

参数名称说明参数类型是否必填备注
ActionActionstring
Description描述信息string
DocumentUrl文档链接string
RequiredResources依赖资源array
Category类别string
CreateTime创建时间string
ModifyTime最后修改时间string

ServiceResources

参数名称说明参数类型是否必填备注
Type资源类型string
Description资源描述string
CreateTime创建时间string
ModifyTime最近修改时间string

状态码

错误码(Code)错误提示(Message)http status code说明
EntityNotExistThe require entity is not exist.400查询对象不存在

请求示例

https://open.cn-east-1.163yun.com/sam?Action=GetServiceDetail&Version=2018-03-22&ServiceName=CDN

返回示例

{
	"Message": "调用成功",
	"RequestId": "8a559a20-9b8c-496f-82d7-5464ca18794b",
	"ServiceName": "cdn",
	"ServiceResources": [],
	"Code": "Success",
	"ServiceActions": [{
		"Action": "CreateDomain",
		"Description": "创建加速域名",
		"RequiredResources": [""],
		"Category": "Write",
		"CreateTime": "2018-05-03T12:22:42Z",
		"ModifyTime": "2019-04-30T07:32:40Z"
	}, {
		"Action": "CreatePurge",
		"Description": "创建缓存刷新请求",
		"DocumentUrl": "https://www.163yun.com/help/documents/160839057634676736",
		"RequiredResources": [""],
		"Category": "Write",
		"CreateTime": "2018-05-03T12:22:42Z",
		"ModifyTime": "2019-04-30T07:43:03Z"
	}, {
		"Action": "DeleteDomain",
		"Description": "删除加速域名",
		"RequiredResources": [""],
		"Category": "Write",
		"CreateTime": "2018-05-03T12:22:42Z",
		"ModifyTime": "2019-04-30T07:43:17Z"
	}, {
		"Action": "DisableDomain",
		"Description": "禁用加速域名",
		"RequiredResources": [""],
		"Category": "Write",
		"CreateTime": "2018-05-03T12:22:42Z",
		"ModifyTime": "2019-04-30T07:43:22Z"
	}, {
		"Action": "EnableDomain",
		"Description": "启用加速域名",
		"RequiredResources": [""],
		"Category": "Write",
		"CreateTime": "2018-05-03T12:22:42Z",
		"ModifyTime": "2019-04-30T07:44:07Z"
	}, {
		"Action": "GetCompressionSetting",
		"Description": "读取响应压缩配置",
		"RequiredResources": [],
		"Category": "Read",
		"CreateTime": "2019-10-18T02:44:49Z",
		"ModifyTime": "2019-10-18T02:44:49Z"
	}, {
		"Action": "GetDomain",
		"Description": "获取加速域名信息",
		"RequiredResources": [""],
		"Category": "Read",
		"CreateTime": "2018-05-03T12:22:42Z",
		"ModifyTime": "2019-04-30T07:44:12Z"
	}, {
		"Action": "GetDomainPrehot",
		"Description": "获取URL预热信息",
		"DocumentUrl": "https://www.163yun.com/help/documents/163391224925048832",
		"RequiredResources": [""],
		"Category": "List",
		"CreateTime": "2018-05-28T08:57:38Z",
		"ModifyTime": "2019-04-30T07:48:08Z"
	}, {
		"Action": "GetIgnoreQueryString",
		"Description": "读取去查询串缓存配置",
		"RequiredResources": [],
		"Category": "Read",
		"CreateTime": "2019-10-18T02:45:33Z",
		"ModifyTime": "2019-10-18T02:45:33Z"
	}, {
		"Action": "GetPurge",
		"Description": "获取缓存刷新请求状态",
		"DocumentUrl": "https://www.163yun.com/help/documents/160840868206661632",
		"RequiredResources": [""],
		"Category": "Read",
		"CreateTime": "2018-05-29T12:01:25Z",
		"ModifyTime": "2019-04-30T07:45:18Z"
	}, {
		"Action": "GetUserPrehotQuota",
		"Description": "获取用户预热URL的配额",
		"DocumentUrl": "https://www.163yun.com/help/documents/163391361244123136",
		"RequiredResources": [""],
		"Category": "Read",
		"CreateTime": "2018-05-28T08:57:27Z",
		"ModifyTime": "2019-04-30T07:47:24Z"
	}, {
		"Action": "ListPurges",
		"Description": "获取缓存刷新列表",
		"DocumentUrl": "https://www.163yun.com/help/documents/160841172180455424",
		"RequiredResources": [""],
		"Category": "List",
		"CreateTime": "2018-05-03T12:22:42Z",
		"ModifyTime": "2019-04-30T07:45:41Z"
	}, {
		"Action": "PutCompressionSetting",
		"Description": "修改响应压缩配置",
		"RequiredResources": [],
		"Category": "Write",
		"CreateTime": "2019-10-18T02:45:06Z",
		"ModifyTime": "2019-10-18T02:45:06Z"
	}, {
		"Action": "PutIgnoreQueryString",
		"Description": "修改去查询串缓存配置",
		"RequiredResources": [],
		"Category": "Write",
		"CreateTime": "2019-10-18T02:45:48Z",
		"ModifyTime": "2019-10-18T02:45:48Z"
	}, {
		"Action": "PutPrehotUrls",
		"Description": "预热URL",
		"DocumentUrl": "https://www.163yun.com/help/documents/163391211687825408",
		"RequiredResources": [""],
		"Category": "Write",
		"CreateTime": "2018-05-28T08:58:08Z",
		"ModifyTime": "2019-04-30T07:46:06Z"
	}, {
		"Action": "UpdateDomain",
		"Description": "修改加速域名配置",
		"RequiredResources": [""],
		"Category": "Write",
		"CreateTime": "2018-05-03T12:22:42Z",
		"ModifyTime": "2019-04-30T07:47:02Z"
	}],
	"ServiceDisplayName": "CDN"
}