RemoveProfilePermission - AWS Signer

RemoveProfilePermission

Removes cross-account permissions from a signing profile.

Request Syntax

DELETE /signing-profiles/profileName/permissions/statementId?revisionId=revisionId HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

profileName

A human-readable name for the signing profile with permissions to be removed.

Length Constraints: Minimum length of 2. Maximum length of 64.

Pattern: ^[a-zA-Z0-9_]{2,}

Required: Yes

revisionId

An identifier for the current revision of the signing profile permissions.

Required: Yes

statementId

A unique identifier for the cross-account permissions statement.

Required: Yes

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 Content-type: application/json { "revisionId": "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.

revisionId

An identifier for the current revision of the profile permissions.

Type: String

Errors

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

AccessDeniedException

You do not have sufficient access to perform this action.

HTTP Status Code: 403

ConflictException

The resource encountered a conflicting state.

HTTP Status Code: 409

InternalServiceErrorException

An internal error occurred.

HTTP Status Code: 500

ResourceNotFoundException

A specified resource could not be found.

HTTP Status Code: 404

TooManyRequestsException

The allowed number of job-signing requests has been exceeded.

This error supersedes the error ThrottlingException.

HTTP Status Code: 429

ValidationException

You signing certificate could not be validated.

HTTP Status Code: 400

See Also

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