INNER CODE UNIT · Go

err

rebuy-de/aws-nuke · dev/list-cloudcontrol/main.go:48

		err = cf.ListTypesPagesWithContext(ctx, in, func(out *cloudformation.ListTypesOutput, _ bool) bool {
			if out == nil {
				return true
			}

			for _, summary := range out.TypeSummaries {
				if summary == nil {
					continue
				}

				typeName := aws.StringValue(summary.TypeName)
				color.New(color.Bold).Printf("%-55s", typeName)
				if !strings.HasPrefix(typeName, "AWS::") {
					color.HiBlack("does not have a valid prefix")
					continue
				}

				describe, err := cf.DescribeType(&cloudformation.DescribeTypeInput{

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…