View a markdown version of this page

GetWorkloadIdentityProviderDeletionStatus - AWS Identity and Access Management

GetWorkloadIdentityProviderDeletionStatus

Reads the status of the deletion whose identifier DeleteWorkloadIdentityProvider returned. Only the account that sent the delete can read it, and only until the identifier expires.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

DeletionTaskId

The identifier of the deletion to read, which is the value returned by DeleteWorkloadIdentityProvider.

Type: String

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

Required: Yes

Response Elements

The following elements are returned by the service.

Status

The state of the deletion. SUCCEEDED means the deletion completed.

Type: String

Valid Values: SUCCEEDED | IN_PROGRESS | FAILED | NOT_STARTED

WorkloadIdentityProviderArn

The Amazon Resource Name (ARN) of the provider the deletion applied to.

Type: String

Length Constraints: Minimum length of 20. Maximum length of 2048.

Errors

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

InvalidInput

The request was rejected because an invalid or out-of-range value was supplied for an input parameter.

HTTP Status Code: 400

NoSuchEntity

The request was rejected because it referenced a resource entity that does not exist. The error message describes the resource.

HTTP Status Code: 404

ServiceFailure

The request processing has failed because of an unknown error, exception or failure.

HTTP Status Code: 500

Examples

Example

This example illustrates one usage of GetWorkloadIdentityProviderDeletionStatus.

Sample Request

https://iam.amazonaws.com/?Action=GetWorkloadIdentityProviderDeletionStatus &DeletionTaskId=v1.AQICAHiEXAMPLEOpaqueTokenEXAMPLE &Version=2010-05-08 &AUTHPARAMS

Sample Response

<GetWorkloadIdentityProviderDeletionStatusResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/"> <GetWorkloadIdentityProviderDeletionStatusResult> <WorkloadIdentityProviderArn>arn:aws:iam::111122223333:workload-identity-provider/PaymentsProd</WorkloadIdentityProviderArn> <Status>SUCCEEDED</Status> </GetWorkloadIdentityProviderDeletionStatusResult> <ResponseMetadata> <RequestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</RequestId> </ResponseMetadata> </GetWorkloadIdentityProviderDeletionStatusResponse>

See Also

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