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 | // +build go1.7
package jsonrpc
import (
"bytes"
"encoding/hex"
"io/ioutil"
"net/http"
"reflect"
"strings"
"testing"
"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/private/protocol"
)
const unknownErrJSON = `{"__ty... | 240 |
session-manager-plugin | aws | Go | // Code generated by models/protocol_tests/generate.go. DO NOT EDIT.
package jsonrpc_test
import (
"bytes"
"encoding/json"
"encoding/xml"
"fmt"
"io"
"io/ioutil"
"net/http"
"net/url"
"reflect"
"testing"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sdk... | 1,984 |
session-manager-plugin | aws | Go | // Package query provides serialization of AWS query requests, and responses.
package query
//go:generate go run -tags codegen ../../../private/model/cli/gen-protocol-tests ../../../models/protocol_tests/input/query.json build_test.go
import (
"net/url"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-s... | 37 |
session-manager-plugin | aws | Go | // Code generated by models/protocol_tests/generate.go. DO NOT EDIT.
package query_test
import (
"bytes"
"encoding/json"
"encoding/xml"
"fmt"
"io"
"io/ioutil"
"net/http"
"net/url"
"reflect"
"testing"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sdk-g... | 4,644 |
session-manager-plugin | aws | Go | package query
//go:generate go run -tags codegen ../../../private/model/cli/gen-protocol-tests ../../../models/protocol_tests/output/query.json unmarshal_test.go
import (
"encoding/xml"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/private/protocol/xml/... | 40 |
session-manager-plugin | aws | Go | package query
import (
"encoding/xml"
"fmt"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil"
)
// UnmarshalErrorHandler is a name request handler to unmarshal request errors
var UnmarshalErrorHandler = request.NamedHandler{Na... | 70 |
session-manager-plugin | aws | Go | // +build go1.8
package query
import (
"io/ioutil"
"net/http"
"strings"
"testing"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/request"
)
func TestUnmarshalError(t *testing.T) {
cases := map[string]struct {
Request *request.Request
Code, Msg string
ReqID string
Status ... | 95 |
session-manager-plugin | aws | Go | // Code generated by models/protocol_tests/generate.go. DO NOT EDIT.
package query_test
import (
"bytes"
"encoding/json"
"encoding/xml"
"fmt"
"io"
"io/ioutil"
"net/http"
"net/url"
"reflect"
"testing"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sdk-g... | 3,295 |
session-manager-plugin | aws | Go | package queryutil
import (
"encoding/base64"
"fmt"
"net/url"
"reflect"
"sort"
"strconv"
"strings"
"time"
"github.com/aws/aws-sdk-go/private/protocol"
)
// Parse parses an object i and fills a url.Values object. The isEC2 flag
// indicates if this is the EC2 Query sub-protocol.
func Parse(body url.Values, i ... | 247 |
session-manager-plugin | aws | Go | // Package rest provides RESTful serialization of AWS requests and responses.
package rest
import (
"bytes"
"encoding/base64"
"fmt"
"io"
"net/http"
"net/url"
"path"
"reflect"
"strconv"
"strings"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/... | 311 |
session-manager-plugin | aws | Go | package rest
import (
"net/http"
"net/url"
"testing"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/request"
)
func TestCleanPath(t *testing.T) {
uri := &url.URL{
Path: "//foo//bar",
Scheme: "https",
Host: "host",
}
cleanPath(uri)
expected := "https://host/foo/bar"
if a, e := uri... | 64 |
session-manager-plugin | aws | Go | package rest
import "reflect"
// PayloadMember returns the payload field member of i if there is one, or nil.
func PayloadMember(i interface{}) interface{} {
if i == nil {
return nil
}
v := reflect.ValueOf(i).Elem()
if !v.IsValid() {
return nil
}
if field, ok := v.Type().FieldByName("_"); ok {
if payload... | 46 |
session-manager-plugin | aws | Go | // +build go1.7
package rest_test
import (
"bytes"
"io/ioutil"
"net/http"
"reflect"
"testing"
"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... | 177 |
session-manager-plugin | aws | Go | package rest
import (
"bytes"
"encoding/base64"
"fmt"
"io"
"io/ioutil"
"net/http"
"reflect"
"strconv"
"strings"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/request"
awsStrings "github.com/aws/aws-sdk-go/internal/strings"
"github.com/aws/a... | 258 |
session-manager-plugin | aws | Go | // +build bench
package restjson_test
import (
"net/http"
"net/http/httptest"
"os"
"testing"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/credentials"
"github.com/aws/aws-sdk-go/aws/endpoints"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/... | 351 |
session-manager-plugin | aws | Go | // Code generated by models/protocol_tests/generate.go. DO NOT EDIT.
package restjson_test
import (
"bytes"
"encoding/json"
"encoding/xml"
"fmt"
"io"
"io/ioutil"
"net/http"
"net/url"
"reflect"
"testing"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sd... | 6,599 |
session-manager-plugin | aws | Go | // Package restjson provides RESTful JSON serialization of AWS
// requests and responses.
package restjson
//go:generate go run -tags codegen ../../../private/model/cli/gen-protocol-tests ../../../models/protocol_tests/input/rest-json.json build_test.go
//go:generate go run -tags codegen ../../../private/model/cli/gen... | 60 |
session-manager-plugin | aws | Go | package restjson
import (
"bytes"
"io"
"io/ioutil"
"net/http"
"strings"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/private/protocol"
"github.com/aws/aws-sdk-go/private/protocol/json/jsonutil"
"github.com/aws/aws-sdk-go/private/protocol/rest"
)
... | 135 |
session-manager-plugin | aws | Go | // +build go1.8
package restjson
import (
"bytes"
"encoding/hex"
"io/ioutil"
"net/http"
"reflect"
"strings"
"testing"
"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/private/protocol"
)
const unknownErrJSON = `{"cod... | 276 |
session-manager-plugin | aws | Go | // Code generated by models/protocol_tests/generate.go. DO NOT EDIT.
package restjson_test
import (
"bytes"
"encoding/json"
"encoding/xml"
"fmt"
"io"
"io/ioutil"
"net/http"
"net/url"
"reflect"
"testing"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sd... | 3,125 |
session-manager-plugin | aws | Go | // +build bench
package restxml_test
import (
"net/http"
"net/http/httptest"
"os"
"testing"
"bytes"
"encoding/xml"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/credentials"
"github.com/aws/aws-sdk-go/aws/endpoints"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/aws/s... | 367 |
session-manager-plugin | aws | Go | // Code generated by models/protocol_tests/generate.go. DO NOT EDIT.
package restxml_test
import (
"bytes"
"encoding/json"
"encoding/xml"
"fmt"
"io"
"io/ioutil"
"net/http"
"net/url"
"reflect"
"testing"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sdk... | 7,335 |
session-manager-plugin | aws | Go | // Package restxml provides RESTful XML serialization of AWS
// requests and responses.
package restxml
//go:generate go run -tags codegen ../../../private/model/cli/gen-protocol-tests ../../../models/protocol_tests/input/rest-xml.json build_test.go
//go:generate go run -tags codegen ../../../private/model/cli/gen-pro... | 80 |
session-manager-plugin | aws | Go | // Code generated by models/protocol_tests/generate.go. DO NOT EDIT.
package restxml_test
import (
"bytes"
"encoding/json"
"encoding/xml"
"fmt"
"io"
"io/ioutil"
"net/http"
"net/url"
"reflect"
"testing"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sdk... | 3,513 |
session-manager-plugin | aws | Go | // Package xmlutil provides XML serialization of AWS requests and responses.
package xmlutil
import (
"encoding/base64"
"encoding/xml"
"fmt"
"reflect"
"sort"
"strconv"
"strings"
"time"
"github.com/aws/aws-sdk-go/private/protocol"
)
// BuildXML will serialize params into an xml.Encoder. Error will be returne... | 318 |
session-manager-plugin | aws | Go | // +build go1.7
package xmlutil
import (
"bytes"
"encoding/xml"
"testing"
"github.com/aws/aws-sdk-go/aws"
)
type implicitPayload struct {
_ struct{} `type:"structure"`
StrVal *string `type:"string"`
Second *nestedType `type:"structure"`
Third *nestedType `type:"structure"`
}
type namedImplicitPayload... | 177 |
session-manager-plugin | aws | Go | package xmlutil
import (
"encoding/xml"
"strings"
)
type xmlAttrSlice []xml.Attr
func (x xmlAttrSlice) Len() int {
return len(x)
}
func (x xmlAttrSlice) Less(i, j int) bool {
spaceI, spaceJ := x[i].Name.Space, x[j].Name.Space
localI, localJ := x[i].Name.Local, x[j].Name.Local
valueI, valueJ := x[i].Value, x[j... | 33 |
session-manager-plugin | aws | Go | package xmlutil
import (
"encoding/xml"
"reflect"
"sort"
"testing"
)
func TestXmlAttrSlice(t *testing.T) {
tests := []struct {
input []xml.Attr
expected []xml.Attr
}{
{
input: []xml.Attr{},
expected: []xml.Attr{},
},
{
input: []xml.Attr{
{
Name: xml.Name{
Space: "foo",
... | 89 |
session-manager-plugin | aws | Go | package xmlutil
import (
"bytes"
"encoding/base64"
"encoding/xml"
"fmt"
"io"
"reflect"
"strconv"
"strings"
"time"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/private/protocol"
)
// UnmarshalXMLError unmarshals the XML error from the stream into the value
// type specified. The value ... | 300 |
session-manager-plugin | aws | Go | package xmlutil
import (
"encoding/xml"
"fmt"
"io"
"reflect"
"strings"
"testing"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awsutil"
)
type mockBody struct {
DoneErr error
Body io.Reader
}
func (m *mockBody) Read(p []byte) (int, error) {
n, err := m.Body.Read(p)
if (n == 0 || err ... | 143 |
session-manager-plugin | aws | Go | package xmlutil
import (
"encoding/xml"
"fmt"
"io"
"sort"
)
// A XMLNode contains the values to be encoded or decoded.
type XMLNode struct {
Name xml.Name `json:",omitempty"`
Children map[string][]*XMLNode `json:",omitempty"`
Text string `json:",omitempty"`
Attr []xml.A... | 174 |
session-manager-plugin | aws | Go | package v2
import (
"crypto/hmac"
"crypto/sha256"
"encoding/base64"
"errors"
"fmt"
"net/http"
"net/url"
"sort"
"strings"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/credentials"
"github.com/aws/aws-sdk-go/aws/request"
)
var (
errInvalidMethod = errors.New("v2 signer only handl... | 181 |
session-manager-plugin | aws | Go | package v2
import (
"bytes"
"net/http"
"net/url"
"os"
"strconv"
"testing"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/credentials"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/awstesting"
)
type signerBuilder struct {
ServiceName string
Region strin... | 239 |
session-manager-plugin | aws | Go | package util
import "sort"
// SortedKeys returns a sorted slice of keys of a map.
func SortedKeys(m map[string]interface{}) []string {
i, sorted := 0, make([]string, len(m))
for k := range m {
sorted[i] = k
i++
}
sort.Strings(sorted)
return sorted
}
| 15 |
session-manager-plugin | aws | Go | package util
import (
"bytes"
"encoding/xml"
"fmt"
"go/format"
"io"
"reflect"
"regexp"
"strings"
"github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil"
)
// GoFmt returns the Go formated string of the input.
//
// Panics if the format fails.
func GoFmt(buf string) string {
formatted, err := format.Source... | 112 |
session-manager-plugin | aws | Go | // Package service contains automatically generated AWS clients.
package service
//go:generate go run -tags codegen ../private/model/cli/gen-api/main.go -path=../service ../models/apis/*/*/api-2.json
//go:generate gofmt -s -w ../service
| 6 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package accessanalyzer
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/prot... | 9,566 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package accessanalyzer provides the client and types for making API
// requests to Access Analyzer.
//
// AWS IAM Access Analyzer helps identify potential resource-access risks by
// enabling you to identify any policies that grant access to an ex... | 41 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package accessanalyzer
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeAccessDeniedException for service response error code
// "AccessDeniedException".
//
// You do not have sufficient access to perform this action.... | 63 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package accessanalyzer
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 accessanalyzeriface provides an interface to enable mocking the Access Analyzer 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 ... | 201 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package acm
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/jsonrp... | 5,117 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package acm provides the client and types for making API
// requests to AWS Certificate Manager.
//
// You can use Amazon Web Services Certificate Manager (ACM) to manage SSL/TLS
// certificates for your Amazon Web Services-based websites and appl... | 32 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package acm
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeAccessDeniedException for service response error code
// "AccessDeniedException".
//
// You do not have access required to perform this action.
ErrCodeAcce... | 132 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// +build go1.15,integration
package acm_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/integrati... | 66 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package acm
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/aws-s... | 104 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package acm
import (
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/request"
)
// WaitUntilCertificateValidated uses the ACM API operation
// DescribeCertificate to wait for a condition to be met before returning.
// If t... | 72 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package acmiface provides an interface to enable mocking the AWS Certificate Manager 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 add... | 131 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package acmpca provides the client and types for making API
// requests to AWS Certificate Manager Private Certificate Authority.
//
// This is the ACM Private CA API Reference. It provides descriptions, syntax,
// and usage examples for each of t... | 41 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package acmpca
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeCertificateMismatchException for service response error code
// "CertificateMismatchException".
//
// The certificate authority certificate you are impor... | 157 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package acmpca
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 acmpca
import (
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/request"
)
// WaitUntilAuditReportCreated uses the ACM-PCA API operation
// DescribeCertificateAuthorityAuditReport to wait for a condition to be met ... | 164 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package acmpcaiface provides an interface to enable mocking the AWS Certificate Manager Private Certificate Authority service client
// for testing your code.
//
// It is important to note that this interface will have breaking changes
// when the... | 175 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package alexaforbusiness provides the client and types for making API
// requests to Alexa For Business.
//
// Alexa for Business helps you use Alexa in your organization. Alexa for Business
// provides you with the tools to manage Alexa devices, ... | 38 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package alexaforbusiness
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeAlreadyExistsException for service response error code
// "AlreadyExistsException".
//
// The resource being created already exists.
ErrCodeAl... | 121 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package alexaforbusiness
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.... | 104 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package alexaforbusinessiface provides an interface to enable mocking the Alexa For Business service client
// for testing your code.
//
// It is important to note that this interface will have breaking changes
// when the service model is updated... | 491 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package amplify
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/re... | 9,529 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package amplify provides the client and types for making API
// requests to AWS Amplify.
//
// Amplify enables developers to develop and deploy cloud-powered mobile and
// web apps. The Amplify Console provides a continuous delivery and hosting
//... | 35 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package amplify
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeBadRequestException for service response error code
// "BadRequestException".
//
// A request contains unexpected data.
ErrCodeBadRequestException = "B... | 63 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package amplify
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/a... | 105 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package amplifyiface provides an interface to enable mocking the AWS Amplify 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 AP... | 213 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package amplifybackend
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 opCloneBackend = "CloneBackend"
// Clo... | 7,326 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package amplifybackend provides the client and types for making API
// requests to AmplifyBackend.
//
// AWS Amplify Admin API
//
// See https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11 for more information on this service.
//
// ... | 29 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package amplifybackend
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeBadRequestException for service response error code
// "BadRequestException".
//
// An error returned if a request is not formed properly.
ErrCo... | 42 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package amplifybackend
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 amplifybackendiface provides an interface to enable mocking the AmplifyBackend 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 a... | 168 |
session-manager-plugin | aws | Go | package apigateway
import (
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sdk-go/aws/request"
)
func init() {
initClient = func(c *client.Client) {
c.Handlers.Build.PushBack(func(r *request.Request) {
r.HTTPRequest.Header.Add("Accept", "application/json")
})
}
}
| 15 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package apigateway provides the client and types for making API
// requests to Amazon API Gateway.
//
// Amazon API Gateway helps developers deliver robust, secure, and scalable
// mobile and web application back ends. API Gateway allows developer... | 31 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package apigateway
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeBadRequestException for service response error code
// "BadRequestException".
//
// The submitted request is not valid, for example, the input is inc... | 67 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// +build go1.15,integration
package apigateway_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 apigateway
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... | 102 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package apigatewayiface provides an interface to enable mocking the Amazon API Gateway 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 a... | 581 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package apigatewaymanagementapi
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/pri... | 736 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package apigatewaymanagementapi provides the client and types for making API
// requests to AmazonApiGatewayManagementApi.
//
// The Amazon API Gateway Management API allows you to directly manage runtime
// aspects of your deployed APIs. To use i... | 34 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package apigatewaymanagementapi
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeForbiddenException for service response error code
// "ForbiddenException".
//
// The caller is not authorized to invoke this operation.... | 43 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package apigatewaymanagementapi
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"
"... | 105 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package apigatewaymanagementapiiface provides an interface to enable mocking the AmazonApiGatewayManagementApi service client
// for testing your code.
//
// It is important to note that this interface will have breaking changes
// when the servic... | 77 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package apigatewayv2 provides the client and types for making API
// requests to AmazonApiGatewayV2.
//
// Amazon API Gateway V2
//
// See https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29 for more information on this service.
//
// ... | 29 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package apigatewayv2
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeAccessDeniedException for service response error code
// "AccessDeniedException".
ErrCodeAccessDeniedException = "AccessDeniedException"
// ErrCod... | 51 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package apigatewayv2
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/... | 105 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package apigatewayv2iface provides an interface to enable mocking the AmazonApiGatewayV2 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... | 353 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package appconfig
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/... | 8,739 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package appconfig provides the client and types for making API
// requests to Amazon AppConfig.
//
// Use AWS AppConfig, a capability of AWS Systems Manager, to create, manage,
// and quickly deploy application configurations. AppConfig supports c... | 66 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package appconfig
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeBadRequestException for service response error code
// "BadRequestException".
//
// The input fails to satisfy the constraints specified by an AWS ser... | 58 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package appconfig
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... | 105 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package appconfigiface provides an interface to enable mocking the Amazon AppConfig 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... | 215 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package appflow
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/re... | 11,482 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package appflow provides the client and types for making API
// requests to Amazon Appflow.
//
// Welcome to the Amazon AppFlow API reference. This guide is for developers
// who need detailed information about the Amazon AppFlow API operations, d... | 60 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package appflow
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeConflictException for service response error code
// "ConflictException".
//
// There was a conflict when processing the request (for example, a flow wi... | 75 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package appflow
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/a... | 105 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package appflowiface provides an interface to enable mocking the Amazon Appflow 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... | 149 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package appintegrationsservice
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"
"github.com/aws/aws-sdk-go/private/prot... | 2,159 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package appintegrationsservice provides the client and types for making API
// requests to Amazon AppIntegrations Service.
//
// The Amazon AppIntegrations service enables you to configure and reuse connections
// to external applications.
//
// F... | 34 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package appintegrationsservice
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeAccessDeniedException for service response error code
// "AccessDeniedException".
//
// You do not have sufficient access to perform this... | 63 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package appintegrationsservice
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"
"g... | 105 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package appintegrationsserviceiface provides an interface to enable mocking the Amazon AppIntegrations Service service client
// for testing your code.
//
// It is important to note that this interface will have breaking changes
// when the servic... | 101 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package applicationautoscaling
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/priv... | 6,063 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package applicationautoscaling provides the client and types for making API
// requests to Application Auto Scaling.
//
// With Application Auto Scaling, you can configure automatic scaling for the
// following resources:
//
// * Amazon ECS ser... | 79 |
session-manager-plugin | aws | Go | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package applicationautoscaling
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeConcurrentUpdateException for service response error code
// "ConcurrentUpdateException".
//
// Concurrent updates caused an exception, f... | 75 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.