Updated on 2023-06-21 GMT+08:00

Initializing a DIS SDK Client Instance

You can use either of the following methods to initialize the DIS SDK client instance: For details about endpoint, ak, sk, region, and projectId, see Obtaining Authentication Information.

  • cli = disclient(endpoint='**your-endpoint**',
                ak='**your-ak**',
                sk='**your-sk**',
                projectid='**your-projectid**',
                region='**your-region**')