DescribeBranches
Describes branches. You can describe one branch, the branches of a DB cluster, or all of your branches in the AWS Region.
Results are paginated. If more results are available, the response includes a Marker.
To get the next page, call DescribeBranches again with that Marker.
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
- BranchName
-
The branch to describe. If you specify it, the response includes only that branch.
Specify either the Amazon Resource Name (ARN) of the branch, or the name of the branch together with
DBClusterIdentifier.The following constraints apply to this parameter:
-
A branch name must contain from 1 to 63 alphanumeric characters or hyphens, and start with a letter.
-
A branch ARN must be the ARN of a branch in your AWS account and AWS Region.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 255.
Required: No
-
- DBClusterIdentifier
-
The name or Amazon Resource Name (ARN) of a root DB cluster. If you specify it, the response includes only branches of that DB cluster.
Constraints: A DB cluster ARN must be the ARN of a DB cluster in your AWS account and AWS Region.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 255.
Required: No
- Filters.Filter.N
-
A filter that specifies one or more branches to describe.
Supported Filters:
-
root-db-cluster-identifier– Accepts DB cluster names and DB cluster Amazon Resource Names (ARNs). The results list only includes branches of these DB clusters. -
source-branch– Accepts branch names and branch ARNs. The results list only includes branches created from these branches. -
status– Accepts branch statuses. The results list only includes branches with these statuses. For the valid values, seeStatusinBranch.
Each filter accepts up to 100 values.
Type: Array of Filter objects
Required: No
-
- Marker
-
An optional pagination token from a previous
DescribeBranchesresponse. If you specify it, the response includes only records beyond the marker, up to the value that you specify inMaxRecords.Type: String
Length Constraints: Minimum length of 1. Maximum length of 340.
Required: No
- MaxRecords
-
The maximum number of records to include in the response. If more records exist than the
MaxRecordsvalue that you specify, the response includes a pagination token called a marker that you can use to retrieve the remaining results.Default: 100
Constraints: Minimum 20, maximum 100
Type: Integer
Valid Range: Minimum value of 20. Maximum value of 100.
Required: No
Response Elements
The following elements are returned by the service.
- Branches.Branch.N
-
A list of branches.
Type: Array of Branch objects
- Marker
-
A pagination token. To get the next page of results, specify it as
Markerin your nextDescribeBranchesrequest.Type: String
Length Constraints: Minimum length of 1. Maximum length of 340.
Errors
For information about the errors that are common to all actions, see Common Error Types.
- BranchNotFound
-
The specified branch doesn't exist.
HTTP Status Code: 404
- DBClusterNotFoundFault
-
DBClusterIdentifierdoesn't refer to an existing DB cluster.HTTP Status Code: 404
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: