public void SecretsManagerUpdateSecret()
        {
            #region to-update-the-description-of-a-secret-1524002349094

            var response = client.UpdateSecret(new UpdateSecretRequest
            {
                ClientRequestToken = "EXAMPLE1-90ab-cdef-fedc-ba987EXAMPLE",
                Description        = "This is a new description for the secret.",
                SecretId           = "MyTestDatabaseSecret"
            });

            string arn  = response.ARN;
            string name = response.Name;

            #endregion
        }
 private Amazon.SecretsManager.Model.UpdateSecretResponse CallAWSServiceOperation(IAmazonSecretsManager client, Amazon.SecretsManager.Model.UpdateSecretRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS Secrets Manager", "UpdateSecret");
     try
     {
         #if DESKTOP
         return(client.UpdateSecret(request));
         #elif CORECLR
         return(client.UpdateSecretAsync(request).GetAwaiter().GetResult());
         #else
                 #error "Unknown build edition"
         #endif
     }
     catch (AmazonServiceException exc)
     {
         var webException = exc.InnerException as System.Net.WebException;
         if (webException != null)
         {
             throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException);
         }
         throw;
     }
 }