CARVIEW |
Select Language
HTTP/1.1 302 Moved Temporarily
Content-Type: text/html; charset=iso-8859-1
Content-Length: 298
Connection: keep-alive
Date: Wed, 30 Jul 2025 21:50:13 GMT
Location: https://sdk.amazonaws.com/kotlin/api/latest/iam/aws.sdk.kotlin.services.iam/-iam-client/create-policy-version.html
Server: Server
Cache-Control: max-age=600
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=47304000; includeSubDomains
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Security-Policy: upgrade-insecure-requests; script-src 'self' 'unsafe-inline' *.awsstatic.com *.cdn.uis.awsstatic.com *.cdn.console.awsstatic.com d2c.aws.amazon.com a0.awsstatic.com *.feedback.console.aws.dev insights.docs.aws.com wss://insights.docs.aws.com/prod; object-src 'none';
X-Cache: Miss from cloudfront
Via: 1.1 4560972c6489a38a7c71390784e8d106.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: BOM78-P5
X-Amz-Cf-Id: auqGrp1sxYEyZgY127Jc3dqt_HqXGwZxReH4Jn48aAjjAV9CdS2w3Q==
HTTP/1.1 200 OK
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
Content-Security-Policy: upgrade-insecure-requests; script-src 'self' 'unsafe-inline' *.awsstatic.com *.cdn.uis.awsstatic.com *.cdn.console.awsstatic.com docs.aws.amazon.com https://*.shortbread.aws.dev; img-src 'self' https://amazonwebservices.d2.sc.omtrdc.net https://aws.demdex.net https://dpm.demdex.net https://cm.everesttech.net https://a0.awsstatic.com/; frame-src 'self' https://aws.demdex.net https://dpm.demdex.net; connect-src 'self' https://amazonwebservices.d2.sc.omtrdc.net https://aws.demdex.net https://dpm.demdex.net https://cm.everesttech.net https://a0.awsstatic.com/ https://d2c.aws.amazon.com https://vs.aws.amazon.com https://*.shortbread.aws.dev; object-src 'none'; frame-ancestors 'self'; base-uri 'none'
Strict-Transport-Security: max-age=31536000
Date: Wed, 30 Jul 2025 21:50:16 GMT
Last-Modified: Wed, 30 Jul 2025 00:50:37 GMT
X-Frame-Options: SAMEORIGIN
x-amz-server-side-encryption: AES256
Content-Encoding: gzip
Server: AmazonS3
Cache-Control: no-store, no-cache, must-revalidate
Via: 1.1 49b0a784530e09f22671459cadc376ba.cloudfront.net (CloudFront), 1.1 494a80066b7918f6a24c432c4f67a960.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: TLV50-C1
X-XSS-Protection: 1; mode=block
ETag: W/"28ba28b716f187780a93c815c94f0e97"
Vary: Accept-Encoding
X-Cache: Miss from cloudfront
X-Amz-Cf-Pop: BOM78-P1
X-Amz-Cf-Id: DRHlgnxfCP8tA-uCMgKgNuuKBFsjv3K8pLZ2Jy-PZnqTjb_u-Uqh9Q==
createPolicyVersion
AWS SDK for Kotlin
create
1.5.6
Platform filter
createPolicyVersion
abstract suspend fun createPolicyVersion(input: CreatePolicyVersionRequest): CreatePolicyVersionResponse
Creates a new version of the specified managed policy. To update a managed policy, you create a new policy version. A managed policy can have up to five versions. If the policy has five versions, you must delete an existing version using DeletePolicyVersion before you create a new version.
Optionally, you can set the new version as the policy's default version. The default version is the version that is in effect for the IAM users, groups, and roles to which the policy is attached.
For more information about managed policy versions, see Versioning for managed policies in the IAM User Guide.