Queries information about an access configuration.
Usage notes
This topic provides an example on how to query the information about the access configuration
whose ID is ac-00ccule7tadaijxc****
.
Limits
You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | GetAccessConfiguration |
The operation that you want to perform. Set the value to GetAccessConfiguration. |
AccessConfigurationId | String | Yes | ac-00ccule7tadaijxc**** |
The ID of the access configuration. |
DirectoryId | String | Yes | d-00fc2p61**** |
The ID of the directory. |
For more information about common request parameters, see Common parameters.
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | D5E40508-483B-52F6-993C-D880B0F87591 |
The ID of the request. |
AccessConfiguration | Object |
The information about the access configuration. |
|
AccessConfigurationName | String | VPC-Admin |
The name of the access configuration. |
SessionDuration | Integer | 3600 |
The duration of a session in which a CloudSSO user accesses an account in your resource directory by using the access configuration. Unit: seconds. |
Description | String | This is an access configuration. |
The description of the access configuration. |
RelayState | String | https://cloudsso.console.aliyun.com |
The initial web page that is displayed after a CloudSSO user accesses an account in your resource directory by using the access configuration. |
CreateTime | String | 2021-06-30T09:39:44Z |
The time when the access configuration was created. |
UpdateTime | String | 2021-07-26T03:02:11Z |
The time when the information about the access configuration was modified. |
StatusNotifications | Array of String | ReprovisionRequired |
The status notification. Valid values:
|
AccessConfigurationId | String | ac-00ccule7tadaijxc**** |
The ID of the access configuration. |
Examples
Sample requests
https://[Endpoint]/?Action=GetAccessConfiguration
&AccessConfigurationId=ac-00ccule7tadaijxc****
&DirectoryId=d-00fc2p61****
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<GetAccessConfigurationResponse>
<RequestId>D5E40508-483B-52F6-993C-D880B0F87591</RequestId>
<AccessConfiguration>
<AccessConfigurationName>VPC-Admin</AccessConfigurationName>
<SessionDuration>3600</SessionDuration>
<Description>This is an access configuration.</Description>
<RelayState/>
<CreateTime>2021-06-30T09:39:44Z</CreateTime>
<UpdateTime>2021-07-26T03:02:11Z</UpdateTime>
<StatusNotifications>ReprovisionRequired</StatusNotifications>
<AccessConfigurationId>ac-00ccule7tadaijxc****</AccessConfigurationId>
</AccessConfiguration>
</GetAccessConfigurationResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "D5E40508-483B-52F6-993C-D880B0F87591",
"AccessConfiguration" : {
"AccessConfigurationName" : "VPC-Admin",
"SessionDuration" : 3600,
"Description" : "This is an access configuration.",
"RelayState" : "",
"CreateTime" : "2021-06-30T09:39:44Z",
"UpdateTime" : "2021-07-26T03:02:11Z",
"StatusNotifications" : [ "ReprovisionRequired" ],
"AccessConfigurationId" : "ac-00ccule7tadaijxc****"
}
}
Error codes
For a list of error codes, visit the API Error Center.