检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
For the first time to create an IAM agency, you have to authorize it. descriptor.setAgencyName("dis_admin_agency"); //(Optional) Configure the dump file format. By default, the value is Text.
Getting Started General Procedure Step 1: Creating a DIS Stream Step 2: Preparing a DIS Application Development Environment Step 3: Sending Data to DIS Step 4: Obtaining Data from DIS Obtaining Authentication Information Interconnecting with OBS Creating an IAM Agency
An IAM user can pass the authentication and access DataArts Studio through an API or SDK only if Programmatic access is selected for Access Type during the creation of the IAM user. Token-based Authentication A token specifies temporary permissions in a computer system.
Obtain your Access Key ID/Secret Access Key (AK/SK) pair from the Identity and Access Management (IAM) service. Download the dis-sdk-X.X.X.zip package at https://dis-publish.obs-website.cn-north-1.myhuaweicloud.com/ and decompress it.
It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.
groupId> <artifactId>cloud-dis-spark-streaming_2.11</artifactId> <version>1.2.1</version> <scope>compile</scope> </dependency> Checking Authentication Information AK/SK file Access Key ID/Secret Access Key (AK/SK) files are created by the Identity and Access Management (IAM
groupId> <artifactId>cloud-dis-flink-connector_2.11</artifactId> <version>1.0.5</version> <scope>compile</scope> </dependency> Checking Authentication Information AK/SK file Access Key ID/Secret Access Key (AK/SK) files are created by the Identity and Access Management (IAM
You can obtain it by calling the IAM API for obtaining a user token. The user token is the value of X-Subject-Token in the response header. For details, see Token-based Authentication. Constraints N/A Range The value can contain 1 to 32,768 characters.
Ensure that the application name is correct. 400 DIS.4335 Invalid IAM agency. The IAM agency used during dump task creation is invalid. Ensure that dis_admin_agency created by DIS or the user-defined IAM agency exists and permission is complete. 400 DIS.4336 Invalid HDFS path.
The token obtained on IAM is valid for only 24 hours. If you want to use one token for authentication, you can cache it to avoid frequent calling.
You can obtain it by calling the IAM API for obtaining a user token. The user token is the value of X-Subject-Token in the response header. For details, see Token-based Authentication. Constraints N/A Range The value can contain 1 to 32,768 characters.
{Endpoint} is the IAM endpoint and can be obtained from Regions and Endpoints. For details about API authentication, see Authentication. The following is an example response. The value of id is the project ID.
It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.
Ensure the application name is correct. 400 DIS.4335 Invalid IAM agency. The IAM agency used during dump task creation is invalid. Ensure that dis_admin_agency created by DIS or the user-defined IAM agency exists and permission is complete. 400 DIS.4336 Invalid HDFS path.
It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.
You can obtain it by calling the IAM API for obtaining a user token. The user token is the value of X-Subject-Token in the response header. For details, see Token-based Authentication. Constraints N/A Range The value can contain 1 to 32,768 characters.
It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.
You can obtain it by calling the IAM API for obtaining a user token. The user token is the value of X-Subject-Token in the response header. For details, see Token-based Authentication. Constraints N/A Range The value can contain 1 to 32,768 characters.
It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.
Checking Authentication Information AK/SK file Access Key ID/Secret Access Key (AK/SK) files are created by the Identity and Access Management (IAM) service to authenticate calls to application programming interfaces (APIs) on the cloud.