restxml

package
v1.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package restxml provides RESTful XML serialisation of AWS requests and responses.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(r *aws.Request)

Build builds a request payload for the REST XML protocol.

func Unmarshal

func Unmarshal(r *aws.Request)

Unmarshal unmarshals a payload response for the REST XML protocol.

func UnmarshalError

func UnmarshalError(r *aws.Request)

UnmarshalError unmarshals a response error for the REST XML protocol.

func UnmarshalMeta

func UnmarshalMeta(r *aws.Request)

UnmarshalMeta unmarshals response headers for the REST XML protocol.

Types

type CORSConfiguration added in v1.2.5

type CORSConfiguration struct {
	Rules []*CORSRule `xml:"CORSRule"`
}

type CORSRule added in v1.2.5

type CORSRule struct {
	AllowedHeader []string `xml:"AllowedHeader"`
	AllowedMethod []string `xml:"AllowedMethod"`
	AllowedOrigin []string `xml:"AllowedOrigin"`
	ExposeHeader  []string `xml:"ExposeHeader"`
	MaxAgeSeconds int      `xml:"MaxAgeSeconds"`
}

type GetBucketCORSOutput added in v1.2.5

type GetBucketCORSOutput struct {
	CORSConfiguration *CORSConfiguration `xml:"CORSConfiguration"`
	Metadata          map[string]*string `xml:"-"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL