Retrieves the encrypted administrator password for the instances running Windows.

C# |
public GetPasswordDataResponse GetPasswordData( GetPasswordDataRequest request )

- request (GetPasswordDataRequest)
- Get Password Data request

Get Password Data Response from the service

The Windows password is only generated the first time an AMI is launched.
It is not generated for rebundled AMIs or after the password is
changed on an instance.
The password is encrypted using the key pair that you
provided.

Exception | Condition |
---|---|
WebException | |
AmazonEC2Exception |