AWS SDK Version 3 for .NET
API Reference

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.

Copies the contents of the source profile to the destination. If the destination profile does not exist a new profile is created. Note that if the destination profile exists, all keys it contains are removed and replaced with keys from the source profile.

Namespace: Amazon.Util
Assembly: AWSSDK.Core.dll
Version: 3.x.y.z

Syntax

C#
public String CopyProfileSettings(
         SettingsCollection.ObjectSettings source,
         String destinationProfileName
)
Parameters
source
Type: Amazon.Runtime.Internal.Settings.SettingsCollection.ObjectSettings

The source profile to copy keys and values from.

destinationProfileName
Type: System.String

The name of the profile to create or update.

Return Value
Type: String
The unique id assigned to the destination settings.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5