// resourceAwsLambdaAliasUpdate maps to:
// UpdateAlias in the API / SDK
resourceAwsLambdaAliasUpdate maps to:
UpdateAlias in the API / SDK
// resourceAwsLambdaAliasUpdate maps to : // UpdateAlias in the API / SDK
func resourceAwsLambdaAliasUpdate(d *schema.ResourceData, meta interface{}) error {
	conn := meta.(*AWSClient).lambdaconn
	log.Printf("[DEBUG] Updating Lambda alias: %s:%s", d.Get("function_name"), d.Get("name"))
	params := &lambda.UpdateAliasInput{
		Description:     aws.String(d.Get("description").(string)),
		FunctionName:    aws.String(d.Get("function_name").(string)),
		FunctionVersion: aws.String(d.Get("function_version").(string)),
		Name:            aws.String(d.Get("name").(string)),
		RoutingConfig:   expandLambdaAliasRoutingConfiguration(d.Get("routing_config").([]interface{})),
	}
	_, err := conn.UpdateAlias(params)
	if err != nil {
		return fmt.Errorf("Error updating Lambda alias: %s", err)
	}
	return nil
}
func resourceAwsLambdaAliasUpdate ( d * schema . ResourceData , meta interface { } ) error { conn := meta . ( * AWSClient ) . lambdaconn log . Printf ( " " , d . Get ( " " ) , d . Get ( " " ) ) params := & lambda . UpdateAliasInput { Description : aws . String ( d . Get ( " " ) . ( string ) ) , FunctionName : aws . String ( d . Get ( " " ) . ( string ) ) , FunctionVersion : aws . String ( d . Get ( " " ) . ( string ) ) , Name : aws . String ( d . Get ( " " ) . ( string ) ) , RoutingConfig : expandLambdaAliasRoutingConfiguration ( d . Get ( " " ) . ( [ ] interface { } ) ) , } _ , err := conn . UpdateAlias ( params ) if err != nil { return fmt . Errorf ( " " , err ) } return nil }
resourceAwsLambdaAliasUpdate maps to:
UpdateAlias in the API / SDK
resourceAwsLambdaAliasUpdate maps to : UpdateAlias in the API / SDK