associateTrustStore method
Associates a trust store with a web portal.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter portalArn :
The ARN of the web portal.
Parameter trustStoreArn :
The ARN of the trust store.
Implementation
Future<AssociateTrustStoreResponse> associateTrustStore({
required String portalArn,
required String trustStoreArn,
}) async {
final $query = <String, List<String>>{
'trustStoreArn': [trustStoreArn],
};
final response = await _protocol.send(
payload: null,
method: 'PUT',
requestUri:
'/portals/${portalArn.split('/').map(Uri.encodeComponent).join('/')}/trustStores',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return AssociateTrustStoreResponse.fromJson(response);
}