CARVIEW |
Select Language
HTTP/1.1 302 Moved Temporarily
Content-Type: text/html; charset=iso-8859-1
Content-Length: 297
Connection: keep-alive
Date: Wed, 30 Jul 2025 21:23:16 GMT
Location: https://sdk.amazonaws.com/kotlin/api/latest/iam/aws.sdk.kotlin.services.iam/-iam-client/get-instance-profile.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 81fa86241716226c2f03c8c7fb5cae8e.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: BOM78-P5
X-Amz-Cf-Id: 6GqFlTthAeuXRp5I6WMZajE-2VTZbjpZuq7RgY2fNsIwYbXqiegaAw==
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:23:18 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 7e038b68f9f72fffb56ed14d01b11f3a.cloudfront.net (CloudFront), 1.1 814d785316b3b97f3947d5725de20452.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: TLV50-C1
X-XSS-Protection: 1; mode=block
ETag: W/"4d45b19f3881ac969fcbf62795773c16"
Vary: Accept-Encoding
X-Cache: Miss from cloudfront
X-Amz-Cf-Pop: BOM78-P1
X-Amz-Cf-Id: 6BlWtZtp5D2J_iJZzayl0sHYr9ZsFqJEvxKtlR4NbTT1svwCVnsVUg==
getInstanceProfile
AWS SDK for Kotlin
get
1.5.6
Platform filter
getInstanceProfile
abstract suspend fun getInstanceProfile(input: GetInstanceProfileRequest): GetInstanceProfileResponse
Retrieves information about the specified instance profile, including the instance profile's path, GUID, ARN, and role. For more information about instance profiles, see Using instance profiles in the IAM User Guide.
Samples
fun main() {
//sampleStart
// The following command gets information about the instance profile named ExampleInstanceProfile.
val resp = iamClient.getInstanceProfile {
instanceProfileName = "ExampleInstanceProfile"
}
//sampleEnd
}