list_connections
¶
list_connections(
*,
config_overrides: Optional[CodeStarconnectionsClientConfig] = None,
provider_type_filter: Optional[ProviderType] = None,
host_arn_filter: Optional[HostArn] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListConnectionsOutput
Lists the connections associated with your account.
Parameters:
-
provider_type_filter(Optional[ProviderType], default:None) –Filters the list of connections to those associated with a specified provider, such as Bitbucket.
-
host_arn_filter(Optional[HostArn], default:None) –Filters the list of connections to those associated with a specified host.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue. -
next_token(Optional[NextToken], default:None) –The token that was returned from the previous
ListConnectionscall, which can be used to return the next set of connections in the list.
Raises:
-
ResourceNotFoundException–Resource not found. Verify the connection resource ARN and try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codestar_connections/_services/code_starconnections.py
1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 | |