describe_template
async
¶
describe_template(
aws_account_id: AwsAccountId,
template_id: ShortRestrictiveResourceId,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
version_number: Optional[VersionNumber] = None,
alias_name: Optional[AliasName] = None,
) -> DescribeTemplateResponse
Describes a template's metadata.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains the template that you're describing.
-
template_id(ShortRestrictiveResourceId) –The ID for the template.
-
version_number(Optional[VersionNumber], default:None) –(Optional) The number for the version to describe. If a
VersionNumberparameter value isn't provided, the latest version of the template is described. -
alias_name(Optional[AliasName], default:None) –The alias of the template that you want to describe. If you name a specific alias, you describe the version that the alias points to. You can specify the latest version of the template by providing the keyword
$LATESTin theAliasNameparameter. The keyword$PUBLISHEDdoesn't apply to templates.
Raises:
-
AccessDeniedException–You don't have access to this item. The provided credentials couldn't be validated. You might not be authorized to carry out the request. Make sure that your account is authorized to use the Amazon Quick Sight service, that your policies have the correct permissions, and that you are using the correct credentials.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalFailureException–An internal failure occurred.
-
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
ResourceExistsException–The resource specified already exists.
-
ResourceNotFoundException–One or more resources can't be found.
-
ThrottlingException–Access is throttled.
-
UnsupportedUserEditionException–This error indicates that you are calling an operation on an Amazon Quick Suite subscription where the edition doesn't include support for that operation. Amazon Quick Suite currently has Standard Edition and Enterprise Edition. Not every operation and capability is available in every edition.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_quicksight/_services/async_quick_sight.py
10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 | |