// resourceAwsLambdaAliasDelete maps to:
// DeleteAlias in the API / SDK
resourceAwsLambdaAliasDelete maps to:
DeleteAlias in the API / SDK
// resourceAwsLambdaAliasDelete maps to : // DeleteAlias in the API / SDK
func resourceAwsLambdaAliasDelete(d *schema.ResourceData, meta interface{}) error {
	conn := meta.(*AWSClient).lambdaconn
	log.Printf("[INFO] Deleting Lambda alias: %s:%s", d.Get("function_name"), d.Get("name"))
	params := &lambda.DeleteAliasInput{
		FunctionName: aws.String(d.Get("function_name").(string)),
		Name:         aws.String(d.Get("name").(string)),
	}
	_, err := conn.DeleteAlias(params)
	if err != nil {
		return fmt.Errorf("Error deleting Lambda alias: %s", err)
	}
	return nil
}
func resourceAwsLambdaAliasDelete ( d * schema . ResourceData , meta interface { } ) error { conn := meta . ( * AWSClient ) . lambdaconn log . Printf ( " " , d . Get ( " " ) , d . Get ( " " ) ) params := & lambda . DeleteAliasInput { FunctionName : aws . String ( d . Get ( " " ) . ( string ) ) , Name : aws . String ( d . Get ( " " ) . ( string ) ) , } _ , err := conn . DeleteAlias ( params ) if err != nil { return fmt . Errorf ( " " , err ) } return nil }
resourceAwsLambdaAliasDelete maps to:
DeleteAlias in the API / SDK
resourceAwsLambdaAliasDelete maps to : DeleteAlias in the API / SDK