Skip to content

Commit

Permalink
Fix a few object links in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lsegal committed Aug 25, 2015
1 parent 530494f commit 5981478
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions aws/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import (
const DefaultRetries = -1

// A Config provides service configuration for service clients. By default,
// all clients will use the {DefaultConfig} structure.
// all clients will use the {defaults.DefaultConfig} structure.
type Config struct {
// The credentials object to use when signing requests. Defaults to
// {DefaultChainCredentials}.
// {defaults.DefaultChainCredentials}.
Credentials *credentials.Credentials

// An optional endpoint URL (hostname only or fully qualified URI)
Expand Down
6 changes: 3 additions & 3 deletions doc-src/plugin/plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,17 @@ def html_syntax_highlight(source, type = nil)
obj.parameters = []
opname = obj.name.to_s.sub(/Request$/, '')
obj.docstring = <<-eof
#{obj.name} generates a {request.Request} object representing the client request for
#{obj.name} generates a {aws/request.Request} object representing the client request for
the {#{opname} #{opname}()} operation. The `output` return value can be used to capture
response data after {request.Request.Send Request.Send()} is called.
response data after {aws/request.Request.Send Request.Send()} is called.
Creating a request object using this method should be used when you want to inject
custom logic into the request lifecycle using a custom handler, or if you want to
access properties on the request object before or after sending the request. If
you just want the service response, call the {#{opname} service operation method}
directly instead.
@note You must call the {request.Request.Send Send()} method on the returned
@note You must call the {aws/request.Request.Send Send()} method on the returned
request object in order to execute the request.
@example Sending a request using the #{obj.name}() method
req, resp := client.#{obj.name}(params)
Expand Down

0 comments on commit 5981478

Please sign in to comment.