package ec2query

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

Index

Types

type ErrorComponents

type ErrorComponents struct {
	Code      string `xml:"Errors>Error>Code"`
	Message   string `xml:"Errors>Error>Message"`
	RequestID string `xml:"RequestID"`
}

ErrorComponents represents the error response fields that will be deserialized from a ec2query error response body

func GetErrorResponseComponents

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

GetErrorResponseComponents returns the error components from a ec2query error response body

Source Files

error_utils.go

Version
v1.16.12
Published
Aug 29, 2022
Platform
darwin/amd64
Imports
3 packages
Last checked
11 minutes ago

Tools for package owners.