attachPolicy
inline suspend fun IotClient.attachPolicy(crossinline block: AttachPolicyRequest.Builder.() -> Unit): AttachPolicyResponse
Attaches the specified policy to the specified principal (certificate or other credential).
Requires permission to access the AttachPolicy action.