package xml

import "github.com/aws/aws-sdk-go-v2/aws/protocol/xml"

Index

Types

type ErrorComponents

type ErrorComponents struct {
	Code      string
	Message   string
	RequestID string
}

ErrorComponents represents the error response fields that will be deserialized from an xml error response body

func GetErrorResponseComponents

func GetErrorResponseComponents(r io.Reader, noErrorWrapping bool) (ErrorComponents, error)

GetErrorResponseComponents returns the error fields from an xml error response body

Source Files

error_utils.go

Version
v1.17.0
Published
Oct 21, 2022
Platform
linux/amd64
Imports
3 packages
Last checked
3 minutes ago

Tools for package owners.