// GetAccountAlias returns the AWS Account Alias for the given service client session.
// It also returns an error if there was any.
GetAccountAlias returns the AWS Account Alias for the given service client session.
It also returns an error if there was any.
// GetAccountAlias returns the AWS Account Alias for the given service client session . // It also returns an error if there was any .
func GetAccountAlias(svc iamiface.IAMAPI) (*string, error) {
	input := &iam.ListAccountAliasesInput{}
	result, err := svc.ListAccountAliases(input)
	if ok, err := IsError(err); ok {
		return nil, err
	}
	return result.AccountAliases[0], nil
}
func GetAccountAlias ( svc iamiface . IAMAPI ) ( * string , error ) { input := & iam . ListAccountAliasesInput { } result , err := svc . ListAccountAliases ( input ) if ok , err := IsError ( err ) ; ok { return nil , err } return result . AccountAliases [ 0 ] , nil }
GetAccountAlias returns the AWS Account Alias for the given service client session.
GetAccountAlias returns the AWS Account Alias for the given service client session .