Upgrade AWS SDK to the latest version

This commit is contained in:
Andrey Smirnov
2017-09-28 17:57:05 +03:00
parent 9a767b7631
commit 182c21e38c
1096 changed files with 309697 additions and 132612 deletions
+20 -1
View File
@@ -16,6 +16,25 @@
<script type="text/javascript" src="/sdk-for-go/api/lib/godoc/jquery.treeview.js"></script>
<script type="text/javascript" src="/sdk-for-go/api/lib/godoc/jquery.treeview.edit.js"></script>
<script src="https://a0.awsstatic.com/s_code/js/1.0/awshome_s_code.js%22&gt;&lt;/script&gt;"></script>
<!-- SiteCatalyst code version: H.25.1. Copyright 1996-2012 Adobe, Inc. All Rights Reserved -->
<script><!--
/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
var s_code=s.t();if(s_code)document.write(s_code)//--></script>
<script language="JavaScript" type="text/javascript"><!--
if(navigator.appVersion.indexOf('MSIE')>=0)document.write(unescape('%3C')+'\!-'+'-')
//--></script>
<noscript>
<img src="//amazonwebservices.d2.sc.omtrdc.net/b/ss/awsamazonalldev2/1/H.25.1--NS/0" height="1" width="1" border="0" alt="" />
</noscript>
<!--/DO NOT REMOVE/-->
<!-- End SiteCatalyst code version: H.25.1. -->
<script type="text/javascript">
window.onload = function() {
var a = document.getElementById('feedback-link');
a.href = "https://docs.aws.amazon.com/forms/aws-doc-feedback?hidden_service_name=awssdkgo&topic_url=" + document.URL
};
</script>
<script>
((window.gitter = {}).chat = {}).options = {
room: 'aws/aws-sdk-go'
@@ -106,7 +125,7 @@
</div>
<div id="mobile-nav" onclick="toggleMobileNav()"></div>
<div class="top_link">
<a class="title" href="https://aws.amazon.com/forms/aws-doc-feedback?hidden_service_name=godoc&hidden_file_name=godoc&hidden_guide_name=godoc&hidden_api_version=HEAD">Feedback</a>
<a id="feedback-link" class="title" href="">Feedback</a>
</div>
<div class="top_link">
<a class="title" href="https://aws.amazon.com/blogs/developer/category/go/">Blog</a>
@@ -146,14 +146,14 @@
</div> <!-- #pkg-callgraph -->
{{with .Consts}}
<h2 id="pkg-constants">Constants</h2>
<h2 id="pkg-constants">Constants <a class="permalink" href="#pkg-constants"></a></h2>
{{range .}}
<pre>{{node_html $ .Decl true}}</pre>
{{comment_html .Doc}}
{{end}}
{{end}}
{{with .Vars}}
<h2 id="pkg-variables">Variables</h2>
<h2 id="pkg-variables">Variables <a class="permalink" href="#pkg-variables"></a></h2>
{{range .}}
<pre>{{node_html $ .Decl true}}</pre>
{{comment_html .Doc}}
@@ -162,7 +162,7 @@
{{range .Funcs}}
{{/* Name is a string - no need for FSet */}}
{{$name_html := html .Name}}
<h2 id="{{$name_html}}">func <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a></h2>
<h2 id="{{$name_html}}">func <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a> <a class="permalink" href="#{{$name_html}}"></a></h2>
<pre>{{node_html $ .Decl true}}</pre>
{{comment_html .Doc}}
{{example_html $ .Name}}
@@ -172,7 +172,7 @@
{{range .Types}}
{{$tname := .Name}}
{{$tname_html := html .Name}}
<h2 id="{{$tname_html}}">type <a href="{{posLink_url $ .Decl}}">{{$tname_html}}</a></h2>
<h2 id="{{$tname_html}}">type <a href="{{posLink_url $ .Decl}}">{{$tname_html}}</a> <a class="permalink" href="#{{$tname_html}}"></a></h2>
<pre>{{node_html $ .Decl true}}</pre>
{{comment_html .Doc}}
@@ -192,7 +192,7 @@
{{range .Funcs}}
{{$name_html := html .Name}}
<h3 id="{{$name_html}}">func <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a></h3>
<h3 id="{{$name_html}}">func <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a> <a class="permalink" href="#{{$name_html}}"></a></h3>
<pre>{{node_html $ .Decl true}}</pre>
{{comment_html .Doc}}
{{example_html $ .Name}}
@@ -201,7 +201,7 @@
{{range .Methods}}
{{$name_html := html .Name}}
<h3 id="{{$tname_html}}.{{$name_html}}">func ({{html .Recv}}) <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a></h3>
<h3 id="{{$tname_html}}.{{$name_html}}">func ({{html .Recv}}) <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a> <a class="permalink" href="#{{$tname_html}}.{{$name_html}}"></a></h3>
<pre>{{node_html $ .Decl true}}</pre>
{{comment_html .Doc}}
{{$name := printf "%s_%s" $tname .Name}}
@@ -51,7 +51,7 @@
</div>
{{example_html $ ""}}
<div id="pkg-operations" class="toggle">
<div id="pkg-operations" class="toggleVisible">
<div class="collapsed">
<h2 class="toggleButton" title="Click to show Index section">Operations ▹</h2>
</div>
@@ -61,82 +61,84 @@
<!-- Table of contents for API; must be named manual-nav to turn off auto nav. -->
<div id="manual-nav">
<dl>
{{range .Funcs}}
{{range .Funcs -}}
{{$name_html := html .Name}}
<dd><a href="#{{$name_html}}">{{node_html $ .Decl false | sanitize}}</a></dd>
{{end}}
{{range .Types}}
{{$tname_html := html .Name}}
{{range .Funcs}}
{{$name_html := html .Name}}
{{end -}}
{{range .Types -}}
{{$tname_html := html .Name -}}
{{range .Funcs -}}
{{ $name_html := html .Name -}}
<dd><a href="#{{$name_html}}">{{node_html $ .Decl false | sanitize}}</a></dd>
{{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}}
<dd><a href="#{{$tname_html}}.{{$name_html}}">{{client_html $ .Decl false | sanitize}}</a></dd>
{{end}}
{{end}}
{{end}}
{{end}}
{{end}}
{{if $.Notes}}
{{range $marker, $item := $.Notes}}
{{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) -}}
<dd>&nbsp; &nbsp; <a href="#{{$tname_html}}.{{$name_html}}">{{.Name}}</a></dd>
{{ end -}}
{{ end -}}
{{ end -}}
{{ end -}}
{{ end -}}
{{ end -}}
{{if $.Notes -}}
{{range $marker, $item := $.Notes -}}
<dd><a href="#pkg-note-{{$marker}}">{{noteTitle $marker | html}}s</a></dd>
{{end}}
{{end}}
{{end}}
{{end -}}
{{ end -}}
{{ end -}}
</dl>
</div><!-- #manual-nav -->
</div><!-- .expanded -->
</div><!-- #pkg-index -->
{{ if $.HasPaginators }}
<div id="pkg-pagination " class="toggle">
{{ if $.HasPaginators -}}
<div id="pkg-pagination " class="toggleVisible">
<div class="collapsed">
<h2 class="toggleButton" title="Click to show Index section">Paginators ▹</h2>
</div>
<div class="expanded">
<h2 class="toggleButton" title="Click to hide Index section">Paginators ▾</h2>
{{range .Types -}}
{{$tname_html := html .Name}}
{{ $tname_html := html .Name -}}
{{range .Methods -}}
{{if is_paginator . -}}
{{$name_html := html .Name}}
<dd><a href="#{{$tname_html}}.{{$name_html}}">{{client_html $ .Decl false | sanitize}}</a></dd>
{{end }}
{{ end }}
{{ end }}
{{end -}}
{{ end -}}
{{ end -}}
</div>
</div>
{{ end }}
<div id="pkg-types" class="toggle">
{{ end -}}
<div id="pkg-types" class="toggleVisible">
<div class="collapsed">
<h2 class="toggleButton" title="Click to show Index section">Types ▹</h2>
</div>
<div class="expanded">
<h2 class="toggleButton" title="Click to hide Index section">Types ▾</h2>
{{if .Vars}}
{{ if .Vars -}}
<dd><a href="#pkg-variables">Variables</a></dd>
{{end}}
{{ end -}}
<dl>
{{range .Types}}
{{$tname_html := html .Name}}
{{ range .Types -}}
{{ $tname_html := html .Name -}}
<dt><a href="#{{$tname_html}}">type {{$tname_html}}</a></dd>
{{range .Methods}}
{{ if is_setter $.PDoc.Name .}}
{{$name_html := html .Name}}
<dd><a href="#{{$tname_html}}.{{$name_html}}">{{name_only_html $ . | sanitize}}</a></dd>
{{end}}
{{end}}
{{end}}
{{ range .Methods -}}
{{ if is_setter $.PDoc.Name . -}}
{{ $name_html := html .Name -}}
<dd><a href="#{{$tname_html}}.{{$name_html}}">{{node_html $ .Decl false | sanitize}}</a></dd>
{{ end -}}
{{ end -}}
{{ end -}}
</dl>
</div>
</div>
{{if $.Examples}}
{{ if $.Examples -}}
<div id="pkg-examples" class="toggle">
<div class="collapsed">
<h2 class="toggleButton" title="Click to show Index section">Examples ▹</h2>
@@ -145,14 +147,14 @@
<h2 class="toggleButton" title="Click to hide Index section">Examples ▾</h2>
<div id="pkg-examples">
<dl>
{{range $.Examples}}
{{ range $.Examples -}}
<dd><a class="exampleLink" href="#example_{{.Name}}">{{example_name .Name}}</a></dd>
{{end}}
{{ end -}}
</dl>
</div>
</div>
</div>
{{end}}
{{ end -}}
<div id="pkg-callgraph" class="toggle" style="display: none">
<div class="collapsed">
@@ -190,94 +192,90 @@
<ul style="margin-left: 0.5in" id="callgraph-0" class="treeview"></ul>
</div>
</div> <!-- #pkg-callgraph -->
{{with .Consts}}
{{ with .Consts -}}
<div id="pkg-consts" class="toggle">
<div class="collapsed">
<h2 class="toggleButton" title="Click to show Index section">Constants ▹</h2>
</div>
<div class="expanded">
<h2 class="toggleButton" title="Click to hide Index section">Constants ▾</h2>
{{range .}}
{{ range . -}}
<pre>{{node_html $ .Decl true}}</pre>
{{comment_html .Doc}}
{{end}}
{{ comment_html .Doc -}}
{{ end -}}
</div>
</div>
{{end}}
{{with .Vars}}
<h2 id="pkg-variables">Variables</h2>
{{range .}}
{{ end -}}
{{ with .Vars -}}
<h2 id="pkg-variables">Variables <a class="permalink" href="#pkg-variables"></a></h2>
{{ range . -}}
<pre>{{node_html $ .Decl true}}</pre>
{{comment_html .Doc}}
{{end}}
{{end}}
{{range .Funcs}}
{{/* Name is a string - no need for FSet */}}
{{$name_html := html .Name}}
<h2 id="{{$name_html}}">func <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a></h2>
{{ comment_html .Doc -}}
{{ end -}}
{{ end -}}
{{ range .Funcs -}}
{{/* Name is a string - no need for FSet */ -}}
{{ $name_html := html .Name -}}
<h2 id="{{$name_html}}">func <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a> <a class="permalink" href="#{{$name_html}}"></a></h2>
<pre>{{node_html $ .Decl true}}</pre>
{{comment_html .Doc}}
{{example_html $ .Name}}
{{callgraph_html $ "" .Name}}
{{end}}
{{range .Types}}
{{$tname := .Name}}
{{$tname_html := html .Name}}
<h2 id="{{$tname_html}}">type <a href="{{posLink_url $ .Decl}}">{{$tname_html}}</a></h2>
{{ end -}}
{{ range .Types -}}
{{$tname := .Name -}}
{{$tname_html := html .Name -}}
<h2 id="{{$tname_html}}">type <a href="{{posLink_url $ .Decl}}">{{$tname_html}}</a> <a class="permalink" href="#{{$tname_html}}"></a></h2>
<pre>{{node_html $ .Decl true}}</pre>
{{comment_html .Doc}}
{{range .Consts}}
{{ range .Consts -}}
<pre>{{node_html $ .Decl true}}</pre>
{{ comment_html .Doc -}}
{{ end -}}
{{ range .Vars -}}
<pre>{{node_html $ .Decl true}}</pre>
{{comment_html .Doc}}
{{end}}
{{range .Vars}}
<pre>{{node_html $ .Decl true}}</pre>
{{comment_html .Doc}}
{{end}}
{{example_html $ $tname}}
{{implements_html $ $tname}}
{{methodset_html $ $tname}}
{{range .Funcs}}
{{$name_html := html .Name}}
<h3 id="{{$name_html}}">func <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a></h3>
{{ end -}}
{{ example_html $ $tname -}}
{{ implements_html $ $tname -}}
{{ methodset_html $ $tname -}}
{{ range .Funcs -}}
{{ $name_html := html .Name -}}
<h3 id="{{$name_html}}">func <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a> <a class="permalink" href="#{{$name_html}}"></a></h3>
<pre>{{node_html $ .Decl true}}</pre>
{{comment_html .Doc}}
{{example_html $ .Name}}
{{callgraph_html $ "" .Name}}
{{end}}
{{range .Methods}}
{{$name_html := html .Name}}
<h3 id="{{$tname_html}}.{{$name_html}}">func ({{html .Recv}}) <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a></h3>
{{ end -}}
{{ range .Methods -}}
{{ $name_html := html .Name -}}
{{ if is_op_deprecated $.PDoc.Name .Name -}}
<h3 id="{{$tname_html}}.{{$name_html}}">func ({{html .Recv}}) <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a><div class="deprecated">Deprecated</div> <a class="permalink" href="#{{$tname_html}}.{{$name_html}}"></a></h3>
{{ else }}
<h3 id="{{$tname_html}}.{{$name_html}}">func ({{html .Recv}}) <a href="{{posLink_url $ .Decl}}">{{$name_html}}</a> <a class="permalink" href="#{{$tname_html}}.{{$name_html}}"></a></h3>
{{ end -}}
<pre>{{node_html $ .Decl true}}</pre>
{{comment_html .Doc}}
{{$name := printf "%s_%s" $tname .Name}}
{{example_html $ $name}}
{{callgraph_html $ .Recv .Name}}
{{end}}
{{end}}
{{end}}
{{with $.Notes}}
{{range $marker, $content := .}}
{{ end -}}
{{ end -}}
{{ end -}}
{{ with $.Notes -}}
{{ range $marker, $content := . -}}
<h2 id="pkg-note-{{$marker}}">{{noteTitle $marker | html}}s</h2>
<ul style="list-style: none; padding: 0;">
{{range .}}
{{ range . -}}
<li><a href="{{posLink_url $ .}}">&#x261e;</a> {{html .Body}}</li>
{{end}}
{{ end -}}
</ul>
{{end}}
{{end}}
{{end}}
{{ end -}}
{{ end -}}
{{ end -}}
{{with .PAst}}
{{range $filename, $ast := .}}
{{ with .PAst -}}
{{ range $filename, $ast := . -}}
<a href="{{$filename|srcLink|html}}">{{$filename|filename|html}}</a>:<pre>{{node_html $ $ast false}}</pre>
{{end}}
{{end}}
{{ end -}}
{{ end -}}
+19 -12
View File
@@ -3,11 +3,18 @@
overflow:hidden;
}
a > img {
max-height:70%;
float:left;
padding-left:22px;
padding-top:8px;
div.deprecated {
background-color: #a39f9f;
border-radius: 5px;
font-weight: bold;
display: inline;
padding: 2px;
overflow: auto;
color: #ffffff;
font-family: "Georgia", Times, serif;
text-align: center;
font-size: small;
margin-left: 5px;
}
.packages {
@@ -758,13 +765,6 @@ a.error {
padding: 10px;
}
a > img {
max-height:100%;
float:left;
padding-left:10px;
padding-top:2px;
}
div#mobile-nav {
display:inline-block;
float:right;
@@ -1041,3 +1041,10 @@ a.error {
white-space: pre-wrap;
}
}
.permalink {
display: none;
}
:hover > .permalink {
display: inline;
}