Modifies an inline policy that is created for an access configuration.
Operation description
This topic provides an example on how to modify an inline policy that is created for the access configuration ac-00jhtfl8thteu6uj****.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cloudsso:UpdateInlinePolicyForAccessConfiguration |
update |
*AccessConfiguration
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DirectoryId |
string |
Yes |
The ID of the directory. |
d-00fc2p61**** |
| AccessConfigurationId |
string |
Yes |
The ID of the access configuration. |
ac-00jhtfl8thteu6uj**** |
| InlinePolicyName |
string |
Yes |
The name of the inline policy. |
InlinePolicy |
| NewInlinePolicyDocument |
string |
No |
The new configurations of the inline policy. The value can be up to 4,096 characters in length. For more information about the syntax and structure of RAM policies, see Policy syntax and structure. |
{"Statement": [{"Action": "*","Effect": "Allow","Resource": "*"}],"Version": "1"} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
9B13E4EE-3853-5852-9165-597C32AD8FB7 |
Examples
Success response
JSON format
{
"RequestId": "9B13E4EE-3853-5852-9165-597C32AD8FB7"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.