add_thing_to_billing_group
async
¶
add_thing_to_billing_group(
*,
config_overrides: Optional[AsyncIoTClientConfig] = None,
billing_group_name: Optional[BillingGroupName] = None,
billing_group_arn: Optional[BillingGroupArn] = None,
thing_name: Optional[ThingName] = None,
thing_arn: Optional[ThingArn] = None,
) -> AddThingToBillingGroupResponse
Adds a thing to a billing group.
Requires permission to access the AddThingToBillingGroup action.
Parameters:
-
billing_group_name(Optional[BillingGroupName], default:None) –The name of the billing group.
This call is asynchronous. It might take several seconds for the detachment to propagate.
-
billing_group_arn(Optional[BillingGroupArn], default:None) –The ARN of the billing group.
-
thing_name(Optional[ThingName], default:None) –The name of the thing to be added to the billing group.
-
thing_arn(Optional[ThingArn], default:None) –The ARN of the thing to be added to the billing group.
Raises:
-
InternalFailureException–An unexpected error has occurred.
-
InvalidRequestException–The request is not valid.
-
ResourceNotFoundException–The specified resource does not exist.
-
ThrottlingException–The rate exceeds the limit.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot/_services/async_io_t.py
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 1107 1108 1109 1110 | |