describe_subnet_groups
async
¶
describe_subnet_groups(
*,
config_overrides: Optional[AsyncMemoryDBClientConfig] = None,
subnet_group_name: Optional[String] = None,
max_results: Optional[IntegerOptional] = None,
next_token: Optional[String] = None,
) -> DescribeSubnetGroupsResponse
Returns a list of subnet group descriptions. If a subnet group name is specified, the list contains only the description of that group.
Parameters:
-
subnet_group_name(Optional[String], default:None) –The name of the subnet group to return details for.
-
max_results(Optional[IntegerOptional], default:None) –The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
-
next_token(Optional[String], default:None) –An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
Raises:
-
ServiceLinkedRoleNotFoundFault–The required service-linked role was not found.
-
SubnetGroupNotFoundFault–The specified subnet group does not exist.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_memorydb/_services/async_memory_db.py
2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 | |