summaryrefslogtreecommitdiffstats
path: root/Godeps/_workspace/src/github.com/awslabs/aws-sdk-go/service/route53/service.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-08-02 09:41:12 -0800
committer=Corey Hulen <corey@hulen.com>2015-08-02 09:41:12 -0800
commit247708d924770737a3c03f956b19d8096da2bdea (patch)
tree3d6bd381545e660808f74a1379048e57cc0c6717 /Godeps/_workspace/src/github.com/awslabs/aws-sdk-go/service/route53/service.go
parente76fc37b6df7d53ea86a5b42009d5d1161741270 (diff)
parent718d670d699e295fcad903d507bc989c51a1ef50 (diff)
downloadchat-247708d924770737a3c03f956b19d8096da2bdea.tar.gz
chat-247708d924770737a3c03f956b19d8096da2bdea.tar.bz2
chat-247708d924770737a3c03f956b19d8096da2bdea.zip
Merge branch 'master' into mm-1619
Diffstat (limited to 'Godeps/_workspace/src/github.com/awslabs/aws-sdk-go/service/route53/service.go')
-rw-r--r--Godeps/_workspace/src/github.com/awslabs/aws-sdk-go/service/route53/service.go59
1 files changed, 0 insertions, 59 deletions
diff --git a/Godeps/_workspace/src/github.com/awslabs/aws-sdk-go/service/route53/service.go b/Godeps/_workspace/src/github.com/awslabs/aws-sdk-go/service/route53/service.go
deleted file mode 100644
index a2f792798..000000000
--- a/Godeps/_workspace/src/github.com/awslabs/aws-sdk-go/service/route53/service.go
+++ /dev/null
@@ -1,59 +0,0 @@
-package route53
-
-import (
- "github.com/awslabs/aws-sdk-go/aws"
- "github.com/awslabs/aws-sdk-go/internal/protocol/restxml"
- "github.com/awslabs/aws-sdk-go/internal/signer/v4"
-)
-
-// Route53 is a client for Route 53.
-type Route53 struct {
- *aws.Service
-}
-
-// Used for custom service initialization logic
-var initService func(*aws.Service)
-
-// Used for custom request initialization logic
-var initRequest func(*aws.Request)
-
-// New returns a new Route53 client.
-func New(config *aws.Config) *Route53 {
- if config == nil {
- config = &aws.Config{}
- }
-
- service := &aws.Service{
- Config: aws.DefaultConfig.Merge(config),
- ServiceName: "route53",
- APIVersion: "2013-04-01",
- }
- service.Initialize()
-
- // Handlers
- service.Handlers.Sign.PushBack(v4.Sign)
- service.Handlers.Build.PushBack(restxml.Build)
- service.Handlers.Unmarshal.PushBack(restxml.Unmarshal)
- service.Handlers.UnmarshalMeta.PushBack(restxml.UnmarshalMeta)
- service.Handlers.UnmarshalError.PushBack(restxml.UnmarshalError)
-
- // Run custom service initialization if present
- if initService != nil {
- initService(service)
- }
-
- return &Route53{service}
-}
-
-// newRequest creates a new request for a Route53 operation and runs any
-// custom request initialization.
-func (c *Route53) newRequest(op *aws.Operation, params, data interface{}) *aws.Request {
- req := aws.NewRequest(c.Service, op, params, data)
-
- // Run custom request initialization if present
- if initRequest != nil {
- initRequest(req)
- }
-
- return req
-}