CARVIEW |
Select Language
HTTP/1.1 302 Moved Temporarily
Content-Type: text/html; charset=iso-8859-1
Content-Length: 307
Connection: keep-alive
Date: Thu, 31 Jul 2025 06:44:44 GMT
Location: https://sdk.amazonaws.com/kotlin/api/latest/iam/aws.sdk.kotlin.services.iam/-iam-client/update-account-password-policy.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 3028dddcb3f7ecb67ac973994055bcea.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: BOM78-P5
X-Amz-Cf-Id: hzrIn-TF9sDK-eEq_ICT-x-jXALyZUPqG4Dh0EVS2jUGKDu_QWB2dg==
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: Thu, 31 Jul 2025 06:44:46 GMT
Last-Modified: Wed, 30 Jul 2025 22:40:41 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 ce835a3eb4776e2406cfeb7dbc0dc14a.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: TLV50-C1
X-XSS-Protection: 1; mode=block
ETag: W/"1e6f235415786d45fad798e5ae99215b"
Vary: Accept-Encoding
X-Cache: Miss from cloudfront
X-Amz-Cf-Pop: BOM78-P1
X-Amz-Cf-Id: 6ez885f3r-XYRJ5f6r8Vdwi0ubCk3adHdeLAuR7JLJ-qO5XF1QO9Pg==
updateAccountPasswordPolicy
AWS SDK for Kotlin
update
1.5.7
Platform filter
updateAccountPasswordPolicy
abstract suspend fun updateAccountPasswordPolicy(input: UpdateAccountPasswordPolicyRequest = UpdateAccountPasswordPolicyRequest { }): UpdateAccountPasswordPolicyResponse
Updates the password policy settings for the Amazon Web Services account.
This operation does not support partial updates. No parameters are required, but if you do not specify a parameter, that parameter's value reverts to its default value. See the Request Parameters section for each parameter's default value. Also note that some parameters do not allow the default parameter to be explicitly set. Instead, to invoke the default value, do not include that parameter when you invoke the operation.
For more information about using a password policy, see Managing an IAM password policy in the IAM User Guide.
Samples
fun main() {
//sampleStart
// The following command sets the password policy to require a minimum length of eight characters and
// to require one or more numbers in the password
iamClient.updateAccountPasswordPolicy {
minimumPasswordLength = 8
requireNumbers = true
}
//sampleEnd
}