View a markdown version of this page

💬 ชาวเน็ตแห่แชร์: rolesanywhere/latest/APIReference/API DisableTrustAnchor.html - ประเด็นร้อน

DisableTrustAnchor

Disables a trust anchor. When disabled, temporary credential requests specifying this trust anchor are unauthorized.

Required permissions: rolesanywhere:DisableTrustAnchor.

Request Syntax

POST /trustanchor/trustAnchorId/disable HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

trustAnchorId

The trust anchor to act on. You can specify one of the following:

  • The trust anchor ID.

  • The trust anchor ARN.

  • The alias ARN of the trust anchor.

An ARN must be for a trust anchor in your account and Region.

Length Constraints: Minimum length of 1. Maximum length of 1011.

Pattern: ([a-f0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}|arn:aws(-[^:]+)?:rolesanywhere(:.*){2}:(trust-anchor|alias/trust-anchor)/.*)

Required: Yes

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 Content-type: application/json { "trustAnchor": { "aliasArn": "string", "aliasName": "string", "createdAt": "string", "crlDpRevocationEnabled": boolean, "enabled": boolean, "name": "string", "notificationSettings": [ { "channel": "string", "configuredBy": "string", "enabled": boolean, "event": "string", "threshold": number } ], "previousAliasName": "string", "source": { "sourceData": { ... }, "sourceType": "string" }, "trustAnchorArn": "string", "trustAnchorId": "string", "updatedAt": "string" } }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

trustAnchor

The state of the trust anchor after a read or write operation.

Type: TrustAnchorDetail object

Errors

For information about the errors that are common to all actions, see Common Error Types.

AccessDeniedException

You do not have sufficient access to perform this action.

HTTP Status Code: 403

ResourceNotFoundException

The resource could not be found.

HTTP Status Code: 404

ServiceUnavailableException

The request has failed due to a temporary failure of the service.

message

The exception message.

retryAfterSeconds

The recommended number of seconds after which the client should retry the request.

HTTP Status Code: 503

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: