Skip to content

List Hosts

codestarconnections_list_hosts R Documentation

Lists the hosts associated with your account

Description

Lists the hosts associated with your account.

Usage

codestarconnections_list_hosts(MaxResults, NextToken)

Arguments

MaxResults

The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value.

NextToken

The token that was returned from the previous list_hosts call, which can be used to return the next set of hosts in the list.

Value

A list with the following syntax:

list(
  Hosts = list(
    list(
      Name = "string",
      HostArn = "string",
      ProviderType = "Bitbucket"|"GitHub"|"GitHubEnterpriseServer"|"GitLab"|"GitLabSelfManaged",
      ProviderEndpoint = "string",
      VpcConfiguration = list(
        VpcId = "string",
        SubnetIds = list(
          "string"
        ),
        SecurityGroupIds = list(
          "string"
        ),
        TlsCertificate = "string"
      ),
      Status = "string",
      StatusMessage = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_hosts(
  MaxResults = 123,
  NextToken = "string"
)