Amazon.IdentityManagement.AmazonIdentityManagementServiceClient.GetInstanceProfile C# (CSharp) Method

GetInstanceProfile() public method

Retrieves information about the specified instance profile, including the instance profile's path, GUID, ARN, and role. For more information about instance profiles, see About Instance Profiles in the IAM User Guide.
/// The request was rejected because it referenced an entity that does not exist. The /// error message describes the entity. /// /// The request processing has failed because of an unknown error, exception or failure. ///
public GetInstanceProfile ( GetInstanceProfileRequest request ) : GetInstanceProfileResponse
request GetInstanceProfileRequest Container for the necessary parameters to execute the GetInstanceProfile service method.
return GetInstanceProfileResponse
        public GetInstanceProfileResponse GetInstanceProfile(GetInstanceProfileRequest request)
        {
            var marshaller = new GetInstanceProfileRequestMarshaller();
            var unmarshaller = GetInstanceProfileResponseUnmarshaller.Instance;

            return Invoke<GetInstanceProfileRequest,GetInstanceProfileResponse>(request, marshaller, unmarshaller);
        }
AmazonIdentityManagementServiceClient