添加 SDK 依赖

SDK 核心依赖 各云产品的原版 SDK 中主要包括的是 OpenAPI 的 Request 以及 Response 对象,还有包含了返回值序列化逻辑的 Unmarshaller 对象,但这还不够,还需要依赖核心库 SDK Core,核心库包括对 OpenAPI 的 HTTP 请求、认证信息、签名...

GetAllAppVersions

调用GetAllAppVersions获取所有支持的...{"RequestId":"4785676A-6382-4D0B-AA23-5081742EE74E","DataList":{"UsageData":[{"Value":"6.6.2","Code":"01"},{"Value":"6.4.7","Code":"01"}]},"Code":0 } 错误码 访问 错误中心 查看更多错误码。

接入准备

创建项目 https://si.iot.aliyun.com/ 指导文档:https://help.aliyun.com/document_detail/139047.html?spm=a2c4g.11174283.6.546.3eb152d0wFNRD0 注意创建的时候需要选择 数字社区 类型的项目 4.等待能力审核通过 提交审核后请联系对接的...

媒资搜索

配置方法请参见:https://help.aliyun.com/document_detail/378657.html com.aliyun.credentials.Client credentialClient = new com.aliyun.credentials.Client();Config config=new Config();config.setCredential(credentialClient);如...

GetAllPlatformTypes

{"RequestId":"E500E41E-C47B-4F0E-835B-71AFB0EB9773","DataList":{"UsageData":[{"Name":"OTT","Code":"02"},{"Name":"PC","Code":"00"},{"Name":"Android","Code":"01"},{"Name":"iOS","Code":"05"},{"Name":"Flash","Code":"10"}]},...

日志转存

require 'aliyun/oss' client=Aliyun:OSS:Client.new(#Endpoint以华东1(杭州)为例,其它Region请按实际情况填写。endpoint:'https://oss-cn-hangzhou.aliyuncs.com',#从环境变量中获取访问凭证。运行本代码示例之前,请确保已设置环境...

使用伸缩组管理多台云服务器ECS

Resources:Vpc:Type:ALIYUN:ECS:VPC Properties:CidrBlock:192.168.0.0/16 VpcName:Ref:ALIYUN:StackName VSwitch:Type:ALIYUN:ECS:VSwitch Properties:VSwitchName:Ref:ALIYUN:StackName VpcId:Ref:Vpc ZoneId:Fn:Select:'0'-Fn:GetAZs:...

ALIYUN:DEVOPS:VariableGroup

ALIYUN:DEVOPS:VariableGroup类型用于创建变量组。语法 {"Type":"ALIYUN:DEVOPS:VariableGroup","Properties":{"Variables":List,"Description":String,"OrganizationId":String,"Name":String } } 属性 属性名称 类型 必须 允许更新 描述 ...

通过Java SDK查询权限信息

String odpsUrl="http://service.cn-hangzhou.maxcompute.aliyun.com/api";odps.setEndpoint(odpsUrl);odps.setDefaultProject("doc_test_dev");try { String out=odps.projects().get("doc_test_dev").getSecurityManager().runQuery(...

DropTable

将给定表删除 请求参数 名称 类型 是否必选 示例值 描述 DbName String 是 db001 需要删除表所在的数据库 TableName String 是 tbl001 需要删除的表 返回数据 名称 类型 示例值 描述 Code String NO_SUCH_OBJECT 标记成功错误的 CODE Data ...

开启场景

张三 操作用户名称 返回数据 名称 类型 示例值 描述 RequestId String 5DEB93BE-E7CB-4115-AFBE-F2013948D71B Id of the request Success Boolean true 是否开启成功 Code String 200 返回code Message String successful 返回信息 示例 ...

Go(不推荐)

如果您用的是RAM用户的AccessKey,还需要为RAM用户授予权限AliyunVIAPIFullAccess,请参考https://help.aliyun.com/document_detail/145025.html。从环境变量读取配置的AccessKey ID和AccessKey Secret。运行示例前必须先配置环境变量。...

错误处理

{"errorMessage":"oops","errorType":"Exception","stackTrace":{"file":"/code/index.php","line":3,"traceString":""} } 发生异常时,函数调用的响应的HTTP header中会包含X-Fc-Error-Type:UnhandledInvocationError。关于 函数计算 错误...

关闭场景

张三 操作用户名称 返回数据 名称 类型 示例值 描述 RequestId String 5DEB93BE-E7CB-4115-AFBE-F2013948D71B Id of the request Success Boolean true 是否关闭成功 Code String 200 返回code Message String successful 返回信息 示例 ...

OutputFuncCode

名称 类型 描述 示例值 object 函数代码包信息 checksum string 函数代码包的 CRC64 值。1234567890 url string 函数代码包的 URL。http://func-code.oss-cn-shanghai.aliyuncs.com/1a2b3c4d5e6f

GetAllMarkets

{"RequestId":"BFCDB187-ED92-430A-8C8A-A96B63AD89F0","DataList":{"UsageData":[{"MarketCode":"1","MarketName":"1","Code":"01"},{"MarketCode":"b1f2523b184b66ab","MarketName":"Player SDK for 阿里少儿","Code":"02"}]},"Code":0 }...

SDK 常用类概览

BatchPutSummaryCallback 写入回调类 包名:com.aliyun.hitsdb.client.exception 类名 描述 BufferQueueFullException 队列已满 包名:com.aliyun.hitsdb.client.exception.http 类名 描述 HttpClientConnectionRefusedException TSDB ...

版本说明

aliyun-mq-windows-net-sdk.zip aliyun-mq-linux-net-sdk.tar.gz aliyun-mq-linux-net-sdk.tar.gz aliyun-mq-darwin-net-sdk.tar.gz 2.0.0 发布时间 发布内容 Windows版下载 Darwin版下载 2021-03-24 功能优化 通过GraalVM,将功能点和Java...

DescDomain

rua=mailto:dmarc_report@service.aliyun.com 通过公网域名解析到的DMARC记录值 示例 请求示例 http(s):/dm.aliyuncs.com/?Action=DescDomain &DomainId=401591 &<公共请求参数>正常返回示例 JSON 格式 {"HostRecord":"dmailtest",...

流式上传

require 'aliyun/oss' client=Aliyun:OSS:Client.new(#Endpoint以华东1(杭州)为例,其它Region请按实际情况填写。endpoint:'https://oss-cn-hangzhou.aliyuncs.com',#从环境变量中获取访问凭证。运行本代码示例之前,请确保已设置环境...

ALIYUN:CMS:EventRuleTargets

ALIYUN:CMS:EventRuleTargets类型用于添加或者修改规则的发送目标。语法 {"Type":"ALIYUN:CMS:EventRuleTargets","Properties":{"FcParameters":List,"WebhookParameters":List,"MnsParameters":List,"ContactParameters":List,"RuleName":...

阿里云 SDK

groupId>com.aliyun</groupId><artifactId>aliyun-java-sdk-core</artifactId><version>4.6.1</version></dependency><dependency><groupId>com.aliyun</groupId><artifactId>aliyun-java-sdk-ecs</artifactId><version>5.11....

通过URL上传

配置方法请参见:https://help.aliyun.com/document_detail/378657.html com.aliyun.credentials.Client credentialClient = new com.aliyun.credentials.Client();Config config=new Config();config.setCredential(credentialClient);如...

添加域名接口

示例 请求示例 http(s):/httpdns-api.aliyuncs.com/?Action=AddDomain &DomainName=www.aliyun.com &<公共请求参数>正常返回示例 XML 格式<AddDomainResponse><RequestId>ADA27798-6911-4B06-AF34-53F62F624D7B</RequestId><DomainName>...

流式下载

require 'aliyun/oss' client=Aliyun:OSS:Client.new(#Endpoint以华东1(杭州)为例,其它Region请按实际情况填写。endpoint:'https://oss-cn-hangzhou.aliyuncs.com',#从环境变量中获取访问凭证。运行本代码示例之前,请确保已设置环境...

删除域名接口

示例 请求示例 http(s):/httpdns-api.aliyuncs.com/?Action=DeleteDomain &DomainName=www.aliyun.com &<公共请求参数>正常返回示例 XML 格式<DeleteDomainResponse><RequestId>FA8C2599-362D-4113-8FB4-E88A40C2639D</RequestId>...

SmsUp

请求样例[{"phone_number":"1381111*","send_time":"2017-09-01 00:00:00","content":"内容","sign_name":"签名","dest_code":"1234","sequence_id":1234567890 }]字段说明 名称 类型 是否必选 示例值 描述 phone_number String 是 1381111...

StopDomain

示例 请求示例 http://pcdn.aliyuncs.com/?Action=StopDomain &Domain=example.com &Version=2017-04-11 &<公共参数>正常返回示例 XML 格式<StopDomainResponse><code>0</code><ResourceId>tu9lfh</ResourceId><requestId>9B9F0410-C648-...

添加 SDK 依赖

SDK 核心依赖 各云产品的原版 SDK 中主要包括的是 OpenAPI 的 Request 以及 Response 对象,还有包含了返回值序列化逻辑的 Unmarshaller 对象,但这还不够,还需要依赖核心库 SDK Core,核心库包括对 OpenAPI 的 HTTP 请求、认证信息、签名...

历史Linux镜像的问题的修复方案

说明 本文档可能包含第三方产品信息,该信息仅供参考。阿里云对第三方产品的性能、可靠性以及操作可能带来的潜在影响,不做任何暗示或其他形式的承诺。...ntp.conf#ntpd config for aliyun ecs.#6LAN+6LAN+3WAN#shijun.*@alibaba-inc....

CustomRuntimeConfig

名称 类型 描述 示例值 object 自定义运行时的配置信息。args array 实例启动参数。string 启动参数。...code/bootstrap healthCheckConfig CustomHealthCheckConfig 函数自定义健康检查配置。port integer HTTP Server 的监听端口。9000

版本说明

aliyun-mq-windows-net-sdk.zip aliyun-mq-linux-net-sdk.tar.gz aliyun-mq-linux-net-sdk.tar.gz aliyun-mq-darwin-net-sdk.tar.gz 2.0.0 发布时间 发布内容 Windows版下载 Darwin版下载 2021-03-24 功能优化 通过GraalVM,将功能点和Java...

获取URL上传信息

配置方法请参见:https://help.aliyun.com/document_detail/378657.html com.aliyun.credentials.Client credentialClient = new com.aliyun.credentials.Client();Config config=new Config();config.setCredential(credentialClient);如...

快速开始

github 开源地址:https://github.com/aliyun/aliyun-pds-js-sdk。重要 注意:从 1.0.0 开始,不再支持 HostingMode(托管模式)相关功能。说明 node版本依赖:>=16.15.0 PDS资源说明 Domain 下的资源:Domain/|-Group#分组或团队|-User#...

错误处理

{"errorMessage":"something is wrong","errorType":"Exception","stackTrace":[["File \"/code/index.py\"","line 2","in my_handler","raise Exception('something is wrong')"]]} 异常信息包含如下三个字段:字段 类型 解释说明 ...

GetDomainCount

返回数据 名称 类型 示例值 描述 Code Integer 0 业务码,成功返回0。Data Integer 6 域名数量。RequestId String B40C0B7C-C90E-43CD-963A-1B6AC6BCF6FF 请求ID。示例 请求示例 ...

DeleteDomain

示例 请求示例 http://pcdn.aliyuncs.com/?Action=DeleteDomain &Domain=example.com &Version=2017-04-11 &<公共参数>正常返回示例 XML 格式<DeleteDomainResponse><code>0</code><ResourceId>23j63d</ResourceId><requestId>5923BFA8-ACC...

ListClientPlugins

.cn-shanghai.aliyuncs.com/?Action=ListClientPlugins &OsType=1 &<公共请求参数>正常返回示例 XML 格式<ListClientPluginsResponse><RequestId>647D4B28-7646-424E-88DD-61B7969E5C1E</RequestId><ClientPlugins><Name>YunDevice</Name>...

删除时效

店铺时效 返回数据 名称 类型 示例值 描述 RequestId String CFE81C43-EE9D-541C-8676-1EEE9ABB29C3 Id of the request Success Boolean true 是否成功标示 Code String 200 返回code Message String success 返回信息 示例 请求示例 http...

StartDomain

示例 请求示例 http(s):/pcdn.aliyuncs.com/?Action=StartDomain &Domain=example.com &Version=2017-04-11 &<公共请求参数>正常返回示例 XML 格式<StartDomainResponse><code>0</code><ResourceId>jjh32t</ResourceId><requestId>9B9F0410...
共有200条 < 1 2 3 4 ... 200 >
跳转至: GO
产品推荐
云服务器 安全管家服务 安全中心
这些文档可能帮助您
数字证书管理服务(原SSL证书) 资源编排 弹性公网IP 短信服务 人工智能平台 PAI 金融分布式架构
新人特惠 爆款特惠 最新活动 免费试用