delete_service_specific_credential

IAM.Client.delete_service_specific_credential(**kwargs)

Deletes the specified service-specific credential.

See also: AWS API Documentation

Request Syntax

response = client.delete_service_specific_credential(
    UserName='string',
    ServiceSpecificCredentialId='string'
)
Parameters
  • UserName (string) --

    The name of the IAM user associated with the service-specific credential. If this value is not specified, then the operation assumes the user whose credentials are used to call the operation.

    This parameter allows (through its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

  • ServiceSpecificCredentialId (string) --

    [REQUIRED]

    The unique identifier of the service-specific credential. You can get this value by calling ListServiceSpecificCredentials.

    This parameter allows (through its regex pattern ) a string of characters that can consist of any upper or lowercased letter or digit.

Returns

None

Exceptions

  • IAM.Client.exceptions.NoSuchEntityException