addClientIdToOpenIdConnectProvider
abstract suspend fun addClientIdToOpenIdConnectProvider(input: AddClientIdToOpenIdConnectProviderRequest): AddClientIdToOpenIdConnectProviderResponse
Adds a new client ID (also known as audience) to the list of client IDs already registered for the specified IAM OpenID Connect (OIDC) provider resource.
This operation is idempotent; it does not fail or return an error if you add an existing client ID to the provider.
Samples
fun main() {
//sampleStart
// The following add client id to open id connect provider command adds the client ID my application ID
// to the OIDC provider named server. example. com
iamClient.addClientIdToOpenIdConnectProvider {
clientId = "my-application-ID"
openIdConnectProviderArn = "arn:aws:iam::123456789012:oidc-provider/server.example.com"
}
//sampleEnd
}