{{with .PDoc}} {{if $.IsMain}} {{/* command documentation */}} {{comment_html .Doc}} {{else}} {{/* package documentation */}}
import "github.com/aws/aws-sdk-go/{{html .ImportPath}}"
Overview
{{if .Consts}}
Constants
{{end}} {{if $.Examples}}
Examples
{{end}}

Overview ▾

{{comment_html .Doc}}

{{if ne $.IfaceLink ""}} The stub package, {{$.PDoc.Name}}iface, can be used to provide alternative implementations of service clients, such as mocking the client for testing. {{end}}

{{example_html $ ""}}

Operations ▾

{{range .Funcs}} {{$name_html := html .Name}}
{{node_html $ .Decl false | sanitize}}
{{end}} {{range .Types}} {{$tname_html := html .Name}} {{range .Funcs}} {{$name_html := html .Name}}
{{node_html $ .Decl false | sanitize}}
{{end}} {{range .Methods}} {{if (and (ne .Name "String") (ne .Name "GoString")) }} {{ if (not (is_setter $.PDoc.Name .)) }} {{ if (not (is_paginator .)) }} {{ if (ne .Name "Validate") }} {{$name_html := html .Name}} {{ if not (is_op_deprecated $.PDoc.Name .Name) -}}
{{client_html $ .Decl false | sanitize}}
{{ end -}} {{end}} {{end}} {{end}} {{end}} {{end}} {{if $.Notes}} {{range $marker, $item := $.Notes}}
{{noteTitle $marker | html}}s
{{end}} {{end}} {{end}}
{{ if $.HasPaginators }}

Paginators ▾

{{range .Types -}} {{$tname_html := html .Name}} {{range .Methods -}} {{if is_paginator . -}} {{$name_html := html .Name}}
{{client_html $ .Decl false | sanitize}}
{{end }} {{ end }} {{ end }}
{{ end }}

Types ▾

{{if .Vars}}
Variables
{{end}}
{{range .Types}} {{$tname_html := html .Name}}
type {{$tname_html}} {{range .Methods}} {{ if is_setter $.PDoc.Name .}} {{$name_html := html .Name}}
{{name_only_html $ . | sanitize}}
{{end}} {{end}} {{end}}
{{if $.Examples}}

Examples ▾

{{range $.Examples}}
{{example_name .Name}}
{{end}}
{{end}} {{with .Consts}}

Constants ▾

{{range .}}
{{node_html $ .Decl true}}
{{comment_html .Doc}} {{end}}
{{end}} {{with .Vars}}

Variables

{{range .}}
{{node_html $ .Decl true}}
{{comment_html .Doc}} {{end}} {{end}} {{range .Funcs}} {{/* Name is a string - no need for FSet */}} {{$name_html := html .Name}}

func {{$name_html}}

{{node_html $ .Decl true}}
{{comment_html .Doc}} {{example_html $ .Name}} {{callgraph_html $ "" .Name}} {{end}} {{range .Types}} {{$tname := .Name}} {{$tname_html := html .Name}}

type {{$tname_html}}

{{node_html $ .Decl true}}
{{comment_html .Doc}} {{range .Consts}}
{{node_html $ .Decl true}}
{{comment_html .Doc}} {{end}} {{range .Vars}}
{{node_html $ .Decl true}}
{{comment_html .Doc}} {{end}} {{example_html $ $tname}} {{implements_html $ $tname}} {{methodset_html $ $tname}} {{range .Funcs}} {{$name_html := html .Name}}

func {{$name_html}}

{{node_html $ .Decl true}}
{{comment_html .Doc}} {{example_html $ .Name}} {{callgraph_html $ "" .Name}} {{end}} {{range .Methods}} {{$name_html := html .Name}} {{ if is_op_deprecated $.PDoc.Name .Name -}}

func ({{html .Recv}}) {{$name_html}}
Deprecated

{{ else }}

func ({{html .Recv}}) {{$name_html}}

{{ end -}}
{{node_html $ .Decl true}}
{{comment_html .Doc}} {{$name := printf "%s_%s" $tname .Name}} {{example_html $ $name}} {{callgraph_html $ .Recv .Name}} {{end}} {{end}} {{end}} {{with $.Notes}} {{range $marker, $content := .}}

{{noteTitle $marker | html}}s

{{end}} {{end}} {{end}} {{with .PAst}} {{range $filename, $ast := .}} {{$filename|filename|html}}:
{{node_html $ $ast false}}
{{end}} {{end}}