repo_name
stringlengths
1
52
repo_creator
stringclasses
6 values
programming_language
stringclasses
4 values
code
stringlengths
0
9.68M
num_lines
int64
1
234k
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package chimesdkidentity import ( "github.com/aws/aws-sdk-go/private/protocol" ) const ( // ErrCodeBadRequestException for service response error code // "BadRequestException". // // The input parameters don't match the service's restrictions...
71
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package chimesdkidentity import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/client" "github.com/aws/aws-sdk-go/aws/client/metadata" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/aws/signer/v4" "github....
105
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // Package chimesdkidentityiface provides an interface to enable mocking the Amazon Chime SDK Identity service client // for testing your code. // // It is important to note that this interface will have breaking changes // when the service model is ...
138
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package chimesdkmessaging import ( "fmt" "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/awsutil" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/private/protocol" "github.com/aws/aws-sdk-go/private/p...
8,258
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // Package chimesdkmessaging provides the client and types for making API // requests to Amazon Chime SDK Messaging. // // The Amazon Chime SDK Messaging APIs in this section allow software developers // to send and receive messages in custom messagi...
32
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package chimesdkmessaging import ( "github.com/aws/aws-sdk-go/private/protocol" ) const ( // ErrCodeBadRequestException for service response error code // "BadRequestException". // // The input parameters don't match the service's restriction...
78
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package chimesdkmessaging import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/client" "github.com/aws/aws-sdk-go/aws/client/metadata" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/aws/signer/v4" "github...
105
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // Package chimesdkmessagingiface provides an interface to enable mocking the Amazon Chime SDK Messaging service client // for testing your code. // // It is important to note that this interface will have breaking changes // when the service model i...
206
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package cloud9 import ( "fmt" "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/awsutil" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/private/protocol" "github.com/aws/aws-sdk-go/private/protocol/jso...
3,456
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // Package cloud9 provides the client and types for making API // requests to AWS Cloud9. // // Cloud9 is a collection of tools that you can use to code, build, run, test, // debug, and release software in the cloud. // // For more information about ...
64
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package cloud9 import ( "github.com/aws/aws-sdk-go/private/protocol" ) const ( // ErrCodeBadRequestException for service response error code // "BadRequestException". // // The target request is invalid. ErrCodeBadRequestException = "BadRequ...
70
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package cloud9_test import ( "fmt" "strings" "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/awserr" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/cloud9" ) var _ time.Duration var _ string...
538
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package cloud9 import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/client" "github.com/aws/aws-sdk-go/aws/client/metadata" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/aws/signer/v4" "github.com/aws/aw...
104
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // Package cloud9iface provides an interface to enable mocking the AWS Cloud9 service client // for testing your code. // // It is important to note that this interface will have breaking changes // when the service model is updated and adds new API ...
123
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // Package clouddirectory provides the client and types for making API // requests to Amazon CloudDirectory. // // Amazon Cloud Directory is a component of the AWS Directory Service that simplifies // the development and management of cloud-scale web...
34
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package clouddirectory import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/client" "github.com/aws/aws-sdk-go/aws/client/metadata" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/aws/signer/v4" "github.co...
105
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // Package clouddirectoryiface provides an interface to enable mocking the Amazon CloudDirectory service client // for testing your code. // // It is important to note that this interface will have breaking changes // when the service model is update...
386
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // Package cloudformation provides the client and types for making API // requests to AWS CloudFormation. // // CloudFormation allows you to create and manage Amazon Web Services infrastructure // deployments predictably and repeatedly. You can use C...
49
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package cloudformation const ( // ErrCodeAlreadyExistsException for service response error code // "AlreadyExistsException". // // The resource with the name requested already exists. ErrCodeAlreadyExistsException = "AlreadyExistsException" ...
153
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // +build go1.15,integration package cloudformation_test import ( "context" "testing" "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/awserr" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/awstestin...
67
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package cloudformation import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/client" "github.com/aws/aws-sdk-go/aws/client/metadata" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/aws/signer/v4" "github.co...
99
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package cloudformation import ( "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/request" ) // WaitUntilChangeSetCreateComplete uses the AWS CloudFormation API operation // DescribeChangeSet to wait for a condition to be me...
534
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // Package cloudformationiface provides an interface to enable mocking the AWS CloudFormation service client // for testing your code. // // It is important to note that this interface will have breaking changes // when the service model is updated a...
393
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // Package cloudfront provides the client and types for making API // requests to Amazon CloudFront. // // This is the Amazon CloudFront API Reference. This guide is for developers // who need detailed information about CloudFront API actions, data t...
32
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package cloudfront const ( // ErrCodeAccessDenied for service response error code // "AccessDenied". // // Access denied. ErrCodeAccessDenied = "AccessDenied" // ErrCodeBatchTooLarge for service response error code // "BatchTooLarge". // ...
815
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package cloudfront_test import ( "fmt" "strings" "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/awserr" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/cloudfront" ) var _ time.Duration var ...
1,083
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // +build go1.15,integration package cloudfront_test import ( "context" "testing" "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/awserr" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/awstesting/in...
68
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package cloudfront import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/client" "github.com/aws/aws-sdk-go/aws/client/metadata" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/aws/signer/v4" "github.com/aw...
99
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package cloudfront import ( "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/request" ) // WaitUntilDistributionDeployed uses the CloudFront API operation // GetDistribution to wait for a condition to be met before returnin...
149
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // Package cloudfrontiface provides an interface to enable mocking the Amazon CloudFront service client // for testing your code. // // It is important to note that this interface will have breaking changes // when the service model is updated and ad...
426
session-manager-plugin
aws
Go
package sign import ( "bytes" "crypto" "crypto/rand" "crypto/rsa" "crypto/sha1" "encoding/base64" "encoding/json" "fmt" "io" "net/url" "strings" "time" "unicode" ) // An AWSEpochTime wraps a time value providing JSON serialization needed for // AWS Policy epoch time fields. type AWSEpochTime struct { ti...
239
session-manager-plugin
aws
Go
// +build !go1.7 package sign import ( "bytes" "encoding/json" ) func encodePolicyJSON(p *Policy) ([]byte, error) { src, err := json.Marshal(p) // Convert \u0026 back to & return bytes.Replace(src, []byte("\\u0026"), []byte("&"), -1), err }
15
session-manager-plugin
aws
Go
// +build go1.7 package sign import ( "bytes" "encoding/json" ) func encodePolicyJSON(p *Policy) ([]byte, error) { buffer := &bytes.Buffer{} encoder := json.NewEncoder(buffer) encoder.SetEscapeHTML(false) err := encoder.Encode(p) return buffer.Bytes(), err }
17
session-manager-plugin
aws
Go
package sign import ( "bytes" "crypto" "crypto/rsa" "crypto/sha1" "encoding/base64" "encoding/json" "fmt" "math/rand" "strings" "testing" "time" ) func TestEpochTimeMarshal(t *testing.T) { v := AWSEpochTime{time.Now()} b, err := v.MarshalJSON() if err != nil { t.Fatalf("Unexpected error, %#v", err) }...
187
session-manager-plugin
aws
Go
package sign import ( "crypto/rsa" "crypto/x509" "encoding/pem" "fmt" "io" "io/ioutil" "os" ) // LoadPEMPrivKeyFile reads a PEM encoded RSA private key from the file name. // A new RSA private key will be returned if no error. func LoadPEMPrivKeyFile(name string) (*rsa.PrivateKey, error) { file, err := os.Ope...
69
session-manager-plugin
aws
Go
package sign import ( "bytes" "crypto/rsa" "crypto/x509" "encoding/pem" "io" "math/rand" "strings" "testing" ) func generatePEM(randReader io.Reader, password []byte) (buf *bytes.Buffer, err error) { k, err := rsa.GenerateKey(randReader, 1024) if err != nil { return nil, err } derBytes := x509.MarshalP...
91
session-manager-plugin
aws
Go
package sign import ( "bytes" "encoding/binary" "math/rand" ) // A randomReader wraps a math/rand.Rand within an reader so that it can used // as a predictable testing replacement for crypto/rand.Reader type randomReader struct { b *bytes.Buffer r *rand.Rand } // newRandomReader returns a new instance of the ra...
31
session-manager-plugin
aws
Go
package sign import ( "crypto/rsa" "fmt" "net/http" "strings" "time" ) const ( // CookiePolicyName name of the policy cookie CookiePolicyName = "CloudFront-Policy" // CookieSignatureName name of the signature cookie CookieSignatureName = "CloudFront-Signature" // CookieKeyIDName name of the signing Key ID c...
242
session-manager-plugin
aws
Go
package sign import ( "fmt" "io" "net/http" "time" "github.com/aws/aws-sdk-go/awstesting/mock" ) func examplePEMReader() io.Reader { reader, err := generatePEM(randReader, nil) if err != nil { panic(fmt.Sprintf("Unexpected pem generation err %v", err)) } return reader } func ExampleCookieSigner_Sign() {...
133
session-manager-plugin
aws
Go
package sign import ( "crypto/rsa" "testing" "time" ) func TestNewCookieSigner(t *testing.T) { privKey, err := rsa.GenerateKey(randReader, 1024) if err != nil { t.Fatalf("Unexpected priv key error, %#v", err) } signer := NewCookieSigner("keyID", privKey) if e, a := "keyID", signer.keyID; e != a { t.Error...
122
session-manager-plugin
aws
Go
// Package sign provides utilities to generate signed URLs for Amazon CloudFront. // // More information about signed URLs and their structure can be found at: // http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-canned-policy.html // // To sign a URL create a URLSign...
206
session-manager-plugin
aws
Go
package sign import ( "strings" "testing" "time" "github.com/aws/aws-sdk-go/awstesting/mock" ) var testSignTime = time.Date(2009, time.November, 10, 23, 0, 0, 0, time.UTC) var testSignURL = []struct { u string p *Policy t time.Time customPolicy bool expectErr bool out ...
149
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package cloudhsm import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/awsutil" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/private/protocol" ) const opAddTagsToResource = "AddTagsToResource" //...
4,026
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // Package cloudhsm provides the client and types for making API // requests to Amazon CloudHSM. // // This is documentation for AWS CloudHSM Classic. For more information, see // AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic...
36
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package cloudhsm import ( "github.com/aws/aws-sdk-go/private/protocol" ) const ( // ErrCodeCloudHsmInternalException for service response error code // "CloudHsmInternalException". // // Indicates that an internal error occurred. ErrCodeClou...
35
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package cloudhsm import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/client" "github.com/aws/aws-sdk-go/aws/client/metadata" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/aws/signer/v4" "github.com/aws/...
104
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // Package cloudhsmiface provides an interface to enable mocking the Amazon CloudHSM service client // for testing your code. // // It is important to note that this interface will have breaking changes // when the service model is updated and adds n...
145
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package cloudhsmv2 import ( "fmt" "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/awsutil" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/private/protocol" "github.com/aws/aws-sdk-go/private/protocol...
4,029
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // Package cloudhsmv2 provides the client and types for making API // requests to AWS CloudHSM V2. // // For more information about AWS CloudHSM, see AWS CloudHSM (http://aws.amazon.com/cloudhsm/) // and the AWS CloudHSM User Guide (https://docs.aws....
30
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package cloudhsmv2 import ( "github.com/aws/aws-sdk-go/private/protocol" ) const ( // ErrCodeCloudHsmAccessDeniedException for service response error code // "CloudHsmAccessDeniedException". // // The request was rejected because the requeste...
59
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // +build go1.15,integration package cloudhsmv2_test import ( "context" "testing" "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/awserr" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/awstesting/in...
66
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package cloudhsmv2 import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/client" "github.com/aws/aws-sdk-go/aws/client/metadata" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/aws/signer/v4" "github.com/aw...
107
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // Package cloudhsmv2iface provides an interface to enable mocking the AWS CloudHSM V2 service client // for testing your code. // // It is important to note that this interface will have breaking changes // when the service model is updated and adds...
134
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package cloudsearch import ( "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/awsutil" "github.com/aws/aws-sdk-go/aws/request" ) const opBuildSuggesters = "BuildSuggesters" // BuildSuggestersRequest generates a "aws/reque...
7,001
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // Package cloudsearch provides the client and types for making API // requests to Amazon CloudSearch. // // You use the Amazon CloudSearch configuration service to create, configure, // and manage search domains. Configuration service requests are s...
34
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package cloudsearch const ( // ErrCodeBaseException for service response error code // "BaseException". // // An error occurred while processing the request. ErrCodeBaseException = "BaseException" // ErrCodeDisabledOperationException for ser...
58
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // +build go1.15,integration package cloudsearch_test import ( "context" "testing" "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/awserr" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/awstesting/i...
66
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package cloudsearch import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/client" "github.com/aws/aws-sdk-go/aws/client/metadata" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/aws/signer/v4" "github.com/a...
99
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // Package cloudsearchiface provides an interface to enable mocking the Amazon CloudSearch service client // for testing your code. // // It is important to note that this interface will have breaking changes // when the service model is updated and ...
169
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package cloudsearchdomain import ( "fmt" "io" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/awsutil" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/private/protocol" ) const opSearch = "Search" // Search...
1,585
session-manager-plugin
aws
Go
package cloudsearchdomain_test import ( "testing" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/awstesting/unit" "github.com/aws/aws-sdk-go/service/cloudsearchdomain" ) func TestRequireEndpointIfRegionProvided(t *testing.T) { svc := cloudsearchdomain.New(unit.Session, &aws.Config{ Region: ...
64
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // Package cloudsearchdomain provides the client and types for making API // requests to Amazon CloudSearch Domain. // // You use the AmazonCloudSearch2013 API to upload documents to a search domain // and search those documents. // // The endpoints ...
36
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package cloudsearchdomain import ( "github.com/aws/aws-sdk-go/private/protocol" ) const ( // ErrCodeDocumentServiceException for service response error code // "DocumentServiceException". // // Information about any problems encountered while...
28
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package cloudsearchdomain import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/client" "github.com/aws/aws-sdk-go/aws/client/metadata" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/aws/signer/v4" "github...
110
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // Package cloudsearchdomainiface provides an interface to enable mocking the Amazon CloudSearch Domain service client // for testing your code. // // It is important to note that this interface will have breaking changes // when the service model is...
77
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // Package cloudtrail provides the client and types for making API // requests to AWS CloudTrail. // // This is the CloudTrail API Reference. It provides descriptions of actions, // data types, common parameters, and common errors for CloudTrail. // ...
49
session-manager-plugin
aws
Go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package cloudtrail import ( "github.com/aws/aws-sdk-go/private/protocol" ) const ( // ErrCodeARNInvalidException for service response error code // "CloudTrailARNInvalidException". // // This exception is thrown when an operation is called wi...
396