Skip to content

IAM  >  Operations  >  delete_service_specific_credential

delete_service_specific_credential

Operation

delete_service_specific_credential async

delete_service_specific_credential(input: DeleteServiceSpecificCredentialInput, plugins: list[Plugin] | None = None) -> DeleteServiceSpecificCredentialOutput

Deletes the specified service-specific credential.

Parameters:

Name Type Description Default
input DeleteServiceSpecificCredentialInput

An instance of DeleteServiceSpecificCredentialInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
DeleteServiceSpecificCredentialOutput

An instance of DeleteServiceSpecificCredentialOutput.

Input

DeleteServiceSpecificCredentialInput dataclass

Bases: _SerdeShape

Dataclass for DeleteServiceSpecificCredentialInput structure.

Attributes

service_specific_credential_id class-attribute instance-attribute
service_specific_credential_id: str | None = ...

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.

user_name class-attribute instance-attribute
user_name: str | None = ...

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: _+=,.@-

Output

DeleteServiceSpecificCredentialOutput dataclass

Bases: _SerdeShape

Dataclass for DeleteServiceSpecificCredentialOutput structure.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.