Smaws_Client_ConfigService.PutAggregationAuthorizationAuthorizes the aggregator account and region to collect data from the source account and region.
Tags are added at creation and cannot be updated with this operation
PutAggregationAuthorization is an idempotent API. Subsequent requests won’t create a duplicate resource if one was already created. If a following request has different tags values, Config will ignore these differences and treat it as an idempotent request of the previous. In this case, tags will not be updated, even if they are different.
Use TagResource and UntagResource to update tags after creation.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterValueException of Types.invalid_parameter_value_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.put_aggregation_authorization_request ->
(Types.put_aggregation_authorization_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.put_aggregation_authorization_request ->
(Types.put_aggregation_authorization_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result