attachPrincipalPolicy
inline suspend fun IotClient.attachPrincipalPolicy(crossinline block: AttachPrincipalPolicyRequest.Builder.() -> Unit): AttachPrincipalPolicyResponse
Deprecated
No longer recommended for use. See AWS API documentation for more details.
Attaches the specified policy to the specified principal (certificate or other credential).
Note: This action is deprecated and works as expected for backward compatibility, but we won't add enhancements. Use AttachPolicy instead.
Requires permission to access the AttachPrincipalPolicy action.