AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Saves the specified migration and modernization preferences.
For .NET Core this operation is only available in asynchronous form. Please refer to PutPortfolioPreferencesAsync.
Namespace: Amazon.MigrationHubStrategyRecommendations
Assembly: AWSSDK.MigrationHubStrategyRecommendations.dll
Version: 3.x.y.z
public virtual PutPortfolioPreferencesResponse PutPortfolioPreferences( PutPortfolioPreferencesRequest request )
Container for the necessary parameters to execute the PutPortfolioPreferences service method.
Exception | Condition |
---|---|
AccessDeniedException | The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user. |
ConflictException | Exception to indicate that there is an ongoing task when a new task is created. Return when once the existing tasks are complete. |
InternalServerException | The server experienced an internal error. Try again. |
ThrottlingException | The request was denied due to request throttling. |
ValidationException | The request body isn't valid. |
.NET Framework:
Supported in: 4.5 and newer, 3.5