anchor
dict
positive
dict
negative
dict
{ "audio": "", "image": "", "text": "func (s *OrganizationConfiguration) SetEnableIntegration(v bool) *OrganizationConfiguration", "video": "" }
{ "audio": "", "image": "", "text": " {\n\ts.EnableIntegration = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\n\t\tMap(int64To16).\n\t\tWithShrinker(Int16Shrinker).\n\t\tSuchThat(func(v int16) bool {\n\t\t\treturn v >= min && v <= max\n\t\t})\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *ResourceInventory) SetResourceOwningAccountId(v string) *ResourceInventory {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.ResourceOwningAccountId = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *UpdateLicenseConfigurationInput) SetLicenseConfigurationStatus(v string) *UpdateLicenseConfigurationInput", "video": "" }
{ "audio": "", "image": "", "text": " {\n\ts.LicenseConfigurationStatus = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *UpdateLicenseSpecificationsForResourceInput) SetAddLicenseSpecifications(v", "video": "" }
{ "audio": "", "image": "", "text": " []*LicenseSpecification) *UpdateLicenseSpecificationsForResourceInput {\n\ts.AddLicenseSpecifications = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *UpdateLicenseSpecificationsForResourceInput) SetRemoveLicenseSpecifications(v", "video": "" }
{ "audio": "", "image": "", "text": " []*LicenseSpecification) *UpdateLicenseSpecificationsForResourceInput {\n\ts.RemoveLicenseSpecifications = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *CloudWatchLogsDestination) SetLogGroupArn(v", "video": "" }
{ "audio": "", "image": "", "text": " string) *CloudWatchLogsDestination {\n\ts.LogGroupArn = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *KinesisFirehoseDestination) SetDeliveryStreamArn(v", "video": "" }
{ "audio": "", "image": "", "text": " string) *KinesisFirehoseDestination {\n\ts.DeliveryStreamArn = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": " string) *KinesisFirehoseDestination {\n\ts.IAMRoleARN = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *SendVoiceMessageInput) SetCallerId(v", "video": "" }
{ "audio": "", "image": "", "text": " string) *SendVoiceMessageInput {\n\ts.CallerId = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *SendVoiceMessageInput) SetOriginationPhoneNumber(v string) *SendVoiceMessageInput {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.OriginationPhoneNumber = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *VoiceMessageContent) SetCallInstructionsMessage(v *CallInstructionsMessageType)", "video": "" }
{ "audio": "", "image": "", "text": " *VoiceMessageContent {\n\ts.CallInstructionsMessage = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *VoiceMessageContent) SetPlainTextMessage(v *PlainTextMessageType)", "video": "" }
{ "audio": "", "image": "", "text": " *VoiceMessageContent {\n\ts.PlainTextMessage = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *VoiceMessageContent) SetSSMLMessage(v *SSMLMessageType)", "video": "" }
{ "audio": "", "image": "", "text": " *VoiceMessageContent {\n\ts.SSMLMessage = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func Get() Defaults {\n\tcfg := Config()\n\thandlers := Handlers()\n\tcfg.Credentials = CredChain(cfg, handlers)\n", "video": "" }
{ "audio": "", "image": "", "text": "\n\treturn Defaults{\n\t\tConfig: cfg,\n\t\tHandlers: handlers,\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": " = make([]Handler, 0)\n\tfor _, handler := range handlers {\n\t\tw.Use(handler)\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func Handlers() request.Handlers {\n\tvar handlers request.Handlers\n\n\thandlers.Validate.PushBackNamed(corehandlers.ValidateEndpointHandler)\n\thandlers.Validate.AfterEachFn = request.HandlerListStopOnError\n\thandlers.Build.PushBackNamed(corehandlers.SDKVersionUserAgentHand...
{ "audio": "", "image": "", "text": "\n\thandlers.Build.AfterEachFn = request.HandlerListStopOnError\n\thandlers.Sign.PushBackNamed(corehandlers.BuildContentLengthHandler)\n\thandlers.Send.PushBackNamed(corehandlers.ValidateReqSigHandler)\n\thandlers.Send.PushBackNamed(corehandlers.SendHandler)\n\thandlers.AfterR...
{ "audio": "", "image": "", "text": " = make([]Handler, 0)\n\tfor _, handler := range handlers {\n\t\tw.Use(handler)\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func CredChain(cfg *aws.Config, handlers request.Handlers) *credentials.Credentials {\n\treturn credentials.NewCredentials(&credentials.ChainProvider{", "video": "" }
{ "audio": "", "image": "", "text": "\n\t\tVerboseErrors: aws.BoolValue(cfg.CredentialsChainVerboseErrors),\n\t\tProviders: CredProviders(cfg, handlers),\n\t})\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t}\n\tsignature, err := GetSignature(credentials.UserAuthentication, headers.Get(\"Date\"))\n\tif err != nil {\n\t\treturn \"\", err\n\t}\n\treturn fmt.Sprintf(SdcSignature, credentials.UserAuthentication.User, credentials.SdcKeyId,\n\t\tcredentials.UserAuthentication.Algorit...
{ "audio": "", "image": "", "text": "func RemoteCredProvider(cfg aws.Config, handlers request.Handlers) credentials.Provider {\n\tif u := os.Getenv(httpProviderEnvVar); len(u) > 0 {\n\t\treturn localHTTPCredProvider(cfg, handlers, u)\n\t}\n\n\tif uri := os.Getenv(shareddefaults.ECSCredsProviderEnvVar); len(uri) >...
{ "audio": "", "image": "", "text": " fmt.Sprintf(\"%s%s\", shareddefaults.ECSContainerCredentialsURI, uri)\n\t\treturn httpCredProvider(cfg, handlers, u)\n\t}\n\n\treturn ec2RoleProvider(cfg, handlers)\n}", "video": "" }
{ "audio": "", "image": "", "text": "\n\tif u.Opaque != \"\" {\n\t\treturn u.Opaque\n\t}\n\treturn u.Path\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (c *DecryptionClient) GetObject(input *s3.GetObjectInput) (*s3.GetObjectOutput, error) {\n\treq,", "video": "" }
{ "audio": "", "image": "", "text": " out := c.GetObjectRequest(input)\n\treturn out, req.Send()\n}", "video": "" }
{ "audio": "", "image": "", "text": " func(_ *Client, c *RemoteContext) error {\n\t\tc.Snapshotter = snapshotterName\n\t\treturn nil\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func BuildJSON(v interface{}) ([]byte, error) {\n\tvar buf bytes.Buffer\n\n\terr :=", "video": "" }
{ "audio": "", "image": "", "text": " buildAny(reflect.ValueOf(v), &buf, \"\")\n\treturn buf.Bytes(), err\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t}()\n\tvar buf bytes.Buffer\n\tif _, err := io.CopyN(&buf, rs, 1e6); err != nil {\n\t\tif err != io.EOF {\n\t\t\treturn false, err\n\t\t}\n\t}\n\treturn utf8.Valid(buf.Bytes()), nil\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (a *API) ImportPath() string {\n", "video": "" }
{ "audio": "", "image": "", "text": "\treturn path.Join(a.BaseImportPath, a.PackageName())\n}", "video": "" }
{ "audio": "", "image": "", "text": " *api.Container) (*int64, error) {\n\treturn nil, nil\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (a *API) StructName() string {\n\tif len(a.name) != 0 {\n\t\treturn a.name\n\t}\n\n\tname := a.Metadata.ServiceAbbreviation\n\tif len(name) == 0 {\n\t\tname = a.Metadata.ServiceFullName\n\t}\n\n\tname = strings.TrimSpace(name)\n\n\t// Strip out prefix names not reflected ...
{ "audio": "", "image": "", "text": "\tfor i := 0; i < len(runes); i++ {\n\t\tif r := runes[i]; !(unicode.IsNumber(r) || unicode.IsLetter(r)) {\n\t\t\trunes[i] = ' '\n\t\t}\n\t}\n\tname = string(runes)\n\n\t// Title case name so its readable as a symbol.\n\tname = strings.Title(name)\n\n\t// Strip out spaces.\n\t...
{ "audio": "", "image": "", "text": " make([]*packageACL, len(legacyRoles)),\n\t}\n\tif n.prefix == \"\" {\n\t\tc.prefix = name\n\t} else {\n\t\tc.prefix = n.prefix + \"/\" + name\n\t}\n\tn.children[name] = c\n\treturn c\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (a *API) NiceName() string {\n\tif a.Metadata.ServiceAbbreviation != \"\" {\n", "video": "" }
{ "audio": "", "image": "", "text": "\t\treturn a.Metadata.ServiceAbbreviation\n\t}\n\treturn a.Metadata.ServiceFullName\n}", "video": "" }
{ "audio": "", "image": "", "text": "\n\n\ta.zone, err = a.metadata.GetMetadata(\"placement/availability-zone\")\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"error querying ec2 metadata service (for az): %v\", err)\n\t}\n\n\ta.instanceId, err = a.metadata.GetMetadata(\"instance-id\")\n\tif err != nil {\n\t\tr...
{ "audio": "", "image": "", "text": "func (a *API) ProtocolPackage() string {\n\tswitch a.Metadata.Protocol {\n\tcase \"json\":\n\t\treturn \"jsonrpc\"\n\tcase \"ec2\":\n\t", "video": "" }
{ "audio": "", "image": "", "text": "\treturn \"ec2query\"\n\tdefault:\n\t\treturn strings.Replace(a.Metadata.Protocol, \"-\", \"\", -1)\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\treturn\n\t}\n\n\t// Pass to the appropriate protocol handler, or error if it's a protocol\n\t// version we don't support\n\tswitch pv {\n\tcase ProtocolVersion:\n\t\treturn readAuthHeaderV1(r)\n\t}\n\terr = ErrUnknownAuthProtocol\n\treturn\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (a *API) OperationNames() []string {\n\ti, names := 0, make([]string, len(a.Operations))\n\tfor n := range a.Operations {\n\t", "video": "" }
{ "audio": "", "image": "", "text": "\tnames[i] = n\n\t\ti++\n\t}\n\tsort.Strings(names)\n\treturn names\n}", "video": "" }
{ "audio": "", "image": "", "text": "\tobj := make(Object)\n\tfor _, n := range names {\n\t\tobj[n] = a.Params.Type.ToObject()[n]\n\t}\n\treturn &AttributeDefinition{Type: obj}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (a *API) OperationList() []*Operation {\n\tlist := make([]*Operation,", "video": "" }
{ "audio": "", "image": "", "text": " len(a.Operations))\n\tfor i, n := range a.OperationNames() {\n\t\tlist[i] = a.Operations[n]\n\t}\n\treturn list\n}", "video": "" }
{ "audio": "", "image": "", "text": " {\n\t\ta.addrNew[i] = make(map[string]*KnownAddress)\n\t}\n\tfor i := range a.addrTried {\n\t\ta.addrTried[i] = list.New()\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (a *API) OperationHasOutputPlaceholder() bool {\n\tfor _, op := range a.Operations {\n", "video": "" }
{ "audio": "", "image": "", "text": "\t\tif op.OutputRef.Shape.Placeholder {\n\t\t\treturn true\n\t\t}\n\t}\n\treturn false\n}", "video": "" }
{ "audio": "", "image": "", "text": " func(a ma.Multiaddr) bool {\n\t\treturn !f(a)\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (a *API) ShapeNames() []string {\n\ti, names := 0, make([]string, len(a.Shapes))\n\tfor n := range a.Shapes {\n", "video": "" }
{ "audio": "", "image": "", "text": "\t\tnames[i] = n\n\t\ti++\n\t}\n\tsort.Strings(names)\n\treturn names\n}", "video": "" }
{ "audio": "", "image": "", "text": "\tobj := make(Object)\n\tfor _, n := range names {\n\t\tobj[n] = a.Params.Type.ToObject()[n]\n\t}\n\treturn &AttributeDefinition{Type: obj}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (a *API) ShapeList() []*Shape {\n\tlist := make([]*Shape, 0, len(a.Shapes))\n\tfor _, n := range a.ShapeNames() {", "video": "" }
{ "audio": "", "image": "", "text": "\n\t\t// Ignore non-eventstream exception shapes in list.\n\t\tif s := a.Shapes[n]; !(s.Exception && len(s.EventFor) == 0) {\n\t\t\tlist = append(list, s)\n\t\t}\n\t}\n\treturn list\n}", "video": "" }
{ "audio": "", "image": "", "text": " {\n\t\ta.addrNew[i] = make(map[string]*KnownAddress)\n\t}\n\tfor i := range a.addrTried {\n\t\ta.addrTried[i] = list.New()\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (a *API) ShapeListErrors() []*Shape {\n\tlist := []*Shape{}\n\tfor _, n := range a.ShapeNames() {\n\t\t// Ignore error shapes in list", "video": "" }
{ "audio": "", "image": "", "text": "\n\t\tif s := a.Shapes[n]; s.Exception {\n\t\t\tlist = append(list, s)\n\t\t}\n\t}\n\treturn list\n}", "video": "" }
{ "audio": "", "image": "", "text": " {\n\t\ta.addrNew[i] = make(map[string]*KnownAddress)\n\t}\n\tfor i := range a.addrTried {\n\t\ta.addrTried[i] = list.New()\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (a *API) importsGoCode() string {\n\tif len(a.imports) == 0 {\n\t\treturn \"\"\n\t}\n\n\tcorePkgs, extPkgs := []string{}, []string{}\n\tfor i := range a.imports {\n\t\tif strings.Contains(i, \".\") {\n\t\t\textPkgs = append(extPkgs, i)\n\t\t} else {\n\t\t\tcorePkgs = appe...
{ "audio": "", "image": "", "text": " += fmt.Sprintf(\"\\t%q\\n\", i)\n\t}\n\tif len(corePkgs) > 0 {\n\t\tcode += \"\\n\"\n\t}\n\tfor _, i := range extPkgs {\n\t\tcode += fmt.Sprintf(\"\\t%q\\n\", i)\n\t}\n\tcode += \")\\n\\n\"\n\treturn code\n}", "video": "" }
{ "audio": "", "image": "", "text": " len(m))\n\tfor k := range m {\n\t\ta = append(a, k)\n\t}\n\tsort.Strings(a)\n\treturn a\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (a *API) AddImport(v string)", "video": "" }
{ "audio": "", "image": "", "text": " error {\n\ta.imports[v] = true\n\treturn nil\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (a *API) AddSDKImport(v ...string) error {\n\te := make([]string, 0, 5)\n\te = append(e, SDKImportRoot)\n\te =", "video": "" }
{ "audio": "", "image": "", "text": " append(e, v...)\n\n\ta.imports[path.Join(e...)] = true\n\treturn nil\n}", "video": "" }
{ "audio": "", "image": "", "text": " w.write(func() error {\n\t\te := json.NewEncoder(w.writer)\n\t\treturn e.Encode(data)\n\t})\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (a *API) APIGoCode() string {\n\ta.resetImports()\n\ta.AddSDKImport(\"aws\")\n\ta.AddSDKImport(\"aws/awsutil\")\n\ta.AddSDKImport(\"aws/request\")\n\n\tvar buf bytes.Buffer\n\terr := tplAPI.Execute(&buf, a)\n\tif err != nil {\n\t", "video": "" }
{ "audio": "", "image": "", "text": "\tpanic(err)\n\t}\n\n\tcode := a.importsGoCode() + strings.TrimSpace(buf.String())\n\treturn code\n}", "video": "" }
{ "audio": "", "image": "", "text": " a.expireIn,\n\t\ta.clientName, a.clientVersion)\n\n\t// sign the token\n\tsignature, err := a.signer.SignToString(ctx, token.Bytes())\n\tif err != nil {\n\t\treturn \"\", err\n\t}\n\n\t// reset the ticker\n\trefreshSeconds := a.expireIn / 2\n\tif refreshSeconds < AuthTokenMin...
{ "audio": "", "image": "", "text": "func GetCrosslinkURL(baseURL, uid string, params ...string) string {\n\tif uid == \"\" || baseURL == \"\" {\n\t\treturn \"\"\n", "video": "" }
{ "audio": "", "image": "", "text": "\t}\n\n\tif !HasCrosslinks(strings.ToLower(ServiceIDFromUID(uid))) {\n\t\treturn \"\"\n\t}\n\n\treturn strings.Join(append([]string{baseURL, \"goto\", \"WebAPI\", uid}, params...), \"/\")\n}", "video": "" }
{ "audio": "", "image": "", "text": " || metadata.Uid == \"\" {\n\t\treturn fmt.Errorf(\"Name, Namespace or Uid is not in metadata %q\", metadata)\n\t}\n\n\tif status.CreatedAt == 0 {\n\t\treturn fmt.Errorf(\"CreatedAt is not set\")\n\t}\n\n\treturn nil\n}", "video": "" }
{ "audio": "", "image": "", "text": "func ServiceIDFromUID(uid string) string {\n\tfound := 0\n\ti := len(uid) - 1\n\tfor ; i >= 0; i-- {\n\t\tif uid[i] == '-' {\n\t\t\tfound++\n\t\t}\n\t\t// Terminate after the date component", "video": "" }
{ "audio": "", "image": "", "text": " is found, e.g. es-2017-11-11\n\t\tif found == 3 {\n\t\t\tbreak\n\t\t}\n\t}\n\n\treturn uid[0:i]\n}", "video": "" }
{ "audio": "", "image": "", "text": "\n\tn := len(table)\n\tfor i := n - 1; i >= 0; i-- {\n\t\tt.Witness(table[i].Index, table[i].Time)\n\t}\n\treturn nil\n}", "video": "" }
{ "audio": "", "image": "", "text": "func ServiceID(a *API) string {\n\tif len(a.Metadata.ServiceID) > 0 {\n\t\treturn a.Metadata.ServiceID\n\t}\n\n\tname := a.Metadata.ServiceAbbreviation\n\tif len(name) == 0 {\n\t\tname = a.Metadata.ServiceFullName\n\t}\n\n\tname = strings.Replace(name, \"Amazon\", \"\", -1)\n\...
{ "audio": "", "image": "", "text": "\tname = serviceIDRegex.ReplaceAllString(name, \"\")\n\tname = prefixDigitRegex.ReplaceAllString(name, \"\")\n\tname = strings.TrimSpace(name)\n\treturn name\n}", "video": "" }
{ "audio": "", "image": "", "text": " file, then we take out the last part which is the\n\t// function and package name seperated by a dot.\n\tname := function.Name()\n\tslash := strings.LastIndex(name, \"/\")\n\tif slash < 0 {\n\t\tslash = 0\n\t} else {\n\t\tslash++\n\t}\n\n\tinfo := name[slash:]\n\tdot := strin...
{ "audio": "", "image": "", "text": "func (a *API) ServicePackageDoc() string {\n\ta.imports = map[string]bool{}\n\n\tvar buf bytes.Buffer\n\tif", "video": "" }
{ "audio": "", "image": "", "text": " err := tplServiceDoc.Execute(&buf, a); err != nil {\n\t\tpanic(err)\n\t}\n\n\treturn buf.String()\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t}()\n\tvar buf bytes.Buffer\n\tif _, err := io.CopyN(&buf, rs, 1e6); err != nil {\n\t\tif err != io.EOF {\n\t\t\treturn false, err\n\t\t}\n\t}\n\treturn utf8.Valid(buf.Bytes()), nil\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (a *API) ServiceGoCode() string {\n\ta.resetImports()\n\ta.AddSDKImport(\"aws\")\n\ta.AddSDKImport(\"aws/client\")\n\ta.AddSDKImport(\"aws/client/metadata\")\n\ta.AddSDKImport(\"aws/request\")\n\tif a.Metadata.SignatureVersion == \"v2\" {\n\t\ta.AddSDKImport(\"private/sig...
{ "audio": "", "image": "", "text": " != nil {\n\t\ta.AddSDKImport(\"aws/crr\")\n\t}\n\n\tvar buf bytes.Buffer\n\terr := tplService.Execute(&buf, a)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tcode := a.importsGoCode() + buf.String()\n\treturn code\n}", "video": "" }
{ "audio": "", "image": "", "text": " == len(s) && match(a.string(), s) {\n\t\treturn a\n\t}\n\tif a := table[(h>>16)&uint32(len(table)-1)]; int(a&0xff) == len(s) && match(a.string(), s) {\n\t\treturn a\n\t}\n\treturn 0\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (a *API) ExampleGoCode() string {\n\texs := []string{}\n\timports := map[string]bool{}\n\tfor _, o := range a.OperationList() {\n\t\to.imports = map[string]bool{}\n\t\texs = append(exs, o.Example())\n\t\tfor k, v := range o.imports {\n\t\t\timports[k] = v\n\t", "video":...
{ "audio": "", "image": "", "text": "\t}\n\t}\n\n\tcode := fmt.Sprintf(\"import (\\n%q\\n%q\\n%q\\n\\n%q\\n%q\\n%q\\n\",\n\t\t\"bytes\",\n\t\t\"fmt\",\n\t\t\"time\",\n\t\tSDKImportRoot+\"/aws\",\n\t\tSDKImportRoot+\"/aws/session\",\n\t\ta.ImportPath(),\n\t)\n\tfor k := range imports {\n\t\tcode += fmt.Sprintf(\"%...
{ "audio": "", "image": "", "text": "\n\tfor _, o := range opts {\n\t\tif v, ok := o.(*opt.SearchableAttributesOption); ok {\n\t\t\treturn v\n\t\t}\n\t}\n\treturn nil\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (a *API) NewAPIGoCodeWithPkgName(cfg string) string {\n\treturn", "video": "" }
{ "audio": "", "image": "", "text": " fmt.Sprintf(\"%s.New(%s)\", a.PackageName(), cfg)\n}", "video": "" }
{ "audio": "", "image": "", "text": " == len(s) && match(a.string(), s) {\n\t\treturn a\n\t}\n\tif a := table[(h>>16)&uint32(len(table)-1)]; int(a&0xff) == len(s) && match(a.string(), s) {\n\t\treturn a\n\t}\n\treturn 0\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (a *API) addShapeValidations() {\n\tfor _, o := range a.Operations {\n", "video": "" }
{ "audio": "", "image": "", "text": "\t\tresolveShapeValidations(o.InputRef.Shape)\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": " len(a.clients))\n\tfor _, c := range a.clients {\n\t\tclients = append(clients, c)\n\t}\n\tawcsti := map[string]struct{}{a.Name: struct{}{}}\n\ta.mu.Unlock()\n\tfor _, c := range clients {\n\t\tc.processSubsOnConfigReload(awcsti)\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func resolveShapeValidations(s *Shape, ancestry ...*Shape) {\n\tfor _, a := range ancestry {\n\t\tif a == s {\n\t\t\treturn\n\t\t}\n\t}\n\n\tchildren := []string{}\n\tfor _, name := range s.MemberNames() {\n\t\tref := s.MemberRefs[name]\n\t\tif s.IsRequired(name) && !s.Validat...
{ "audio": "", "image": "", "text": " is a grab bag we will just continue since\n\t\t// we can't validate because we don't know the valued shape.\n\t\tif ref.JSONValue {\n\t\t\tcontinue\n\t\t}\n\n\t\tnestedShape := ref.Shape.NestedShape()\n\n\t\tvar v *ShapeValidation\n\t\tif len(nestedShape.Validations) > 0 {\n\...
{ "audio": "", "image": "", "text": "\tnewName := a.ExportableName(mName)\n\t\t\tif newName != mName {\n\t\t\t\tdelete(s.MemberRefs, mName)\n\t\t\t\ts.MemberRefs[newName] = member\n\n\t\t\t\t// also apply locationName trait so we keep the old one\n\t\t\t\t// but only if there's no locationName trait on ref or sha...
{ "audio": "", "image": "", "text": "func (a *API) removeShape(s *Shape) {\n\tdebugLogger.Logln(\"removing shape,\", s.ShapeName)\n\n\tdelete(a.Shapes, s.ShapeName)\n\n\tfor name, ref := range s.MemberRefs {\n\t\ta.removeShapeRef(ref)\n\t\tdelete(s.MemberRefs, name)\n\t}\n\n\tfor _, ref := range []*ShapeRef{&s.Me...
{ "audio": "", "image": "", "text": " &s.KeyRef, &s.ValueRef} {\n\t\tif ref.Shape == nil {\n\t\t\tcontinue\n\t\t}\n\t\ta.removeShapeRef(ref)\n\t\t*ref = ShapeRef{}\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "\tnewName := a.ExportableName(mName)\n\t\t\tif newName != mName {\n\t\t\t\tdelete(s.MemberRefs, mName)\n\t\t\t\ts.MemberRefs[newName] = member\n\n\t\t\t\t// also apply locationName trait so we keep the old one\n\t\t\t\t// but only if there's no locationName trait on ref or sha...
{ "audio": "", "image": "", "text": "func (a *API) removeShapeRef(ref *ShapeRef) {\n\tif ref.Shape == nil {\n\t\treturn\n\t}\n\n\tref.Shape.removeRef(ref)\n", "video": "" }
{ "audio": "", "image": "", "text": "\tif len(ref.Shape.refs) == 0 {\n\t\ta.removeShape(ref.Shape)\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": " {\n\t\tref = &ref.Shape.MemberRef\n\t\tprefix = \"[]\"\n\t}\n\n\tif elem {\n\t\treturn prefix + ref.Shape.GoTypeWithPkgNameElem()\n\t}\n\treturn prefix + ref.GoTypeWithPkgName()\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *GetVocabularyOutput) SetDownloadUri(v string) *GetVocabularyOutput", "video": "" }
{ "audio": "", "image": "", "text": " {\n\ts.DownloadUri = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *ListTranscriptionJobsInput) SetJobNameContains(v", "video": "" }
{ "audio": "", "image": "", "text": " string) *ListTranscriptionJobsInput {\n\ts.JobNameContains = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *ListTranscriptionJobsOutput) SetTranscriptionJobSummaries(v", "video": "" }
{ "audio": "", "image": "", "text": " []*TranscriptionJobSummary) *ListTranscriptionJobsOutput {\n\ts.TranscriptionJobSummaries = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *ListVocabulariesInput) SetStateEquals(v string) *ListVocabulariesInput", "video": "" }
{ "audio": "", "image": "", "text": " {\n\ts.StateEquals = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *ListVocabulariesOutput) SetVocabularies(v", "video": "" }
{ "audio": "", "image": "", "text": " []*VocabularyInfo) *ListVocabulariesOutput {\n\ts.Vocabularies = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *Media) SetMediaFileUri(v string) *Media {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.MediaFileUri = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *Settings) SetChannelIdentification(v bool) *Settings {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.ChannelIdentification = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\n\t\tMap(int64ToInt).\n\t\tWithShrinker(IntShrinker).\n\t\tSuchThat(func(v int) bool {\n\t\t\treturn v >= min && v <= max\n\t\t})\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *Settings) SetMaxSpeakerLabels(v int64) *Settings {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.MaxSpeakerLabels = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": " v.Int64 != 0 {\n\t\tenc.Int64(v.Int64)\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *Settings) SetShowSpeakerLabels(v bool) *Settings {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.ShowSpeakerLabels = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\n\t\tMap(int64ToInt).\n\t\tWithShrinker(IntShrinker).\n\t\tSuchThat(func(v int) bool {\n\t\t\treturn v >= min && v <= max\n\t\t})\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *StartTranscriptionJobInput) SetOutputBucketName(v", "video": "" }
{ "audio": "", "image": "", "text": " string) *StartTranscriptionJobInput {\n\ts.OutputBucketName = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *Transcript) SetTranscriptFileUri(v string) *Transcript {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.TranscriptFileUri = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *TranscriptionJob) SetTranscript(v *Transcript) *TranscriptionJob", "video": "" }
{ "audio": "", "image": "", "text": " {\n\ts.Transcript = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *TranscriptionJobSummary) SetOutputLocationType(v string) *TranscriptionJobSummary", "video": "" }
{ "audio": "", "image": "", "text": " {\n\ts.OutputLocationType = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func WithRetryer(cfg *aws.Config, retryer Retryer) *aws.Config {\n", "video": "" }
{ "audio": "", "image": "", "text": "\tcfg.Retryer = retryer\n\treturn cfg\n}", "video": "" }
{ "audio": "", "image": "", "text": " func(cfg *config) {\n\t\tcfg.runtimeCfg = c\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func IsErrorRetryable(err error) bool {\n\tif err != nil {\n\t\tif aerr, ok := err.(awserr.Error); ok {\n\t", "video": "" }
{ "audio": "", "image": "", "text": "\t\treturn isCodeRetryable(aerr.Code()) || isNestedErrorRetryable(aerr)\n\t\t}\n\t}\n\treturn false\n}", "video": "" }
{ "audio": "", "image": "", "text": "\n\tif t, ok := err.(TApplicationException); ok {\n\t\treturn NewTApplicationException(t.TypeId(), prepend+t.Error())\n\t}\n\n\treturn errors.New(prepend + err.Error())\n}", "video": "" }
{ "audio": "", "image": "", "text": "func IsErrorThrottle(err error) bool {\n\tif err != nil {\n\t\tif aerr, ok := err.(awserr.Error); ok {\n\t\t\treturn", "video": "" }
{ "audio": "", "image": "", "text": " isCodeThrottle(aerr.Code())\n\t\t}\n\t}\n\treturn false\n}", "video": "" }
{ "audio": "", "image": "", "text": "\n\tif t, ok := err.(TApplicationException); ok {\n\t\treturn NewTApplicationException(t.TypeId(), prepend+t.Error())\n\t}\n\n\treturn errors.New(prepend + err.Error())\n}", "video": "" }
{ "audio": "", "image": "", "text": "func IsErrorExpiredCreds(err error) bool {\n\tif err != nil {\n\t\tif aerr, ok := err.(awserr.Error); ok {\n\t\t\treturn", "video": "" }
{ "audio": "", "image": "", "text": " isCodeExpiredCreds(aerr.Code())\n\t\t}\n\t}\n\treturn false\n}", "video": "" }
{ "audio": "", "image": "", "text": "\n\tif t, ok := err.(TApplicationException); ok {\n\t\treturn NewTApplicationException(t.TypeId(), prepend+t.Error())\n\t}\n\n\treturn errors.New(prepend + err.Error())\n}", "video": "" }
{ "audio": "", "image": "", "text": "func NewCredentials(c client.ConfigProvider, options ...func(*EC2RoleProvider)) *credentials.Credentials {", "video": "" }
{ "audio": "", "image": "", "text": "\n\tp := &EC2RoleProvider{\n\t\tClient: ec2metadata.New(c),\n\t}\n\n\tfor _, option := range options {\n\t\toption(p)\n\t}\n\n\treturn credentials.NewCredentials(p)\n}", "video": "" }
{ "audio": "", "image": "", "text": " func(c *Client) {\n\t\tc.client = client\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func NewCredentialsWithClient(client *ec2metadata.EC2Metadata, options ...func(*EC2RoleProvider)) *credentials.Credentials {", "video": "" }
{ "audio": "", "image": "", "text": "\n\tp := &EC2RoleProvider{\n\t\tClient: client,\n\t}\n\n\tfor _, option := range options {\n\t\toption(p)\n\t}\n\n\treturn credentials.NewCredentials(p)\n}", "video": "" }
{ "audio": "", "image": "", "text": " {\n\treturn func(options *eventOptions) {\n\t\toptions.relatedActivityID = activityID\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (m *EC2RoleProvider) Retrieve() (credentials.Value, error) {\n\tcredsList, err := requestCredList(m.Client)\n\tif err != nil {\n\t\treturn credentials.Value{ProviderName: ProviderName}, err\n\t}\n\n\tif len(credsList) == 0 {\n\t\treturn credentials.Value{ProviderName: Pro...
{ "audio": "", "image": "", "text": " Role list\", nil)\n\t}\n\tcredsName := credsList[0]\n\n\troleCreds, err := requestCred(m.Client, credsName)\n\tif err != nil {\n\t\treturn credentials.Value{ProviderName: ProviderName}, err\n\t}\n\n\tm.SetExpiration(roleCreds.Expiration, m.ExpiryWindow)\n\n\treturn credential...
{ "audio": "", "image": "", "text": "\t}\n\tsignature, err := GetSignature(credentials.UserAuthentication, headers.Get(\"Date\"))\n\tif err != nil {\n\t\treturn \"\", err\n\t}\n\treturn fmt.Sprintf(SdcSignature, credentials.UserAuthentication.User, credentials.SdcKeyId,\n\t\tcredentials.UserAuthentication.Algorit...
{ "audio": "", "image": "", "text": "func requestCredList(client *ec2metadata.EC2Metadata) ([]string, error) {\n\tresp, err := client.GetMetadata(iamSecurityCredsPath)\n\tif err != nil {\n\t\treturn nil, awserr.New(\"EC2RoleRequestError\", \"no EC2 instance role found\", err)\n\t}\n\n\tcredsList := []string{}\n\t...
{ "audio": "", "image": "", "text": "\t\tcredsList = append(credsList, s.Text())\n\t}\n\n\tif err := s.Err(); err != nil {\n\t\treturn nil, awserr.New(\"SerializationError\", \"failed to read EC2 instance role from metadata service\", err)\n\t}\n\n\treturn credsList, nil\n}", "video": "" }
{ "audio": "", "image": "", "text": " {\n\t\treturn nil, nil, err\n\t}\n\n\tv := new(ChangeInfo)\n\tresp, err := s.client.Do(req, v)\n\tif err != nil {\n\t\treturn nil, resp, err\n\t}\n\n\treturn v, resp, err\n}", "video": "" }
{ "audio": "", "image": "", "text": "func requestCred(client *ec2metadata.EC2Metadata, credsName string) (ec2RoleCredRespBody, error) {\n\tresp, err := client.GetMetadata(sdkuri.PathJoin(iamSecurityCredsPath, credsName))\n\tif err != nil {\n\t\treturn ec2RoleCredRespBody{},\n\t\t\tawserr.New(\"EC2RoleRequestError...
{ "audio": "", "image": "", "text": " %s EC2 instance role credentials\", credsName),\n\t\t\t\terr)\n\t}\n\n\tif respCreds.Code != \"Success\" {\n\t\t// If an error code was returned something failed requesting the role.\n\t\treturn ec2RoleCredRespBody{}, awserr.New(respCreds.Code, respCreds.Message, nil)\n\t}\n\...
{ "audio": "", "image": "", "text": "\t\tcredsList = append(credsList, s.Text())\n\t}\n\n\tif err := s.Err(); err != nil {\n\t\treturn nil, awserr.New(\"SerializationError\", \"failed to read EC2 instance role from metadata service\", err)\n\t}\n\n\treturn credsList, nil\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (c *CodeDeploy) WaitUntilDeploymentSuccessful(input *GetDeploymentInput) error {\n\treturn", "video": "" }
{ "audio": "", "image": "", "text": " c.WaitUntilDeploymentSuccessfulWithContext(aws.BackgroundContext(), input)\n}", "video": "" }
{ "audio": "", "image": "", "text": " func(_ *Client, c *RemoteContext) error {\n\t\tc.Snapshotter = snapshotterName\n\t\treturn nil\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *GetProductsOutput) SetPriceList(v []aws.JSONValue)", "video": "" }
{ "audio": "", "image": "", "text": " *GetProductsOutput {\n\ts.PriceList = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (c *WAFRegional) CreateRegexMatchSet(input *waf.CreateRegexMatchSetInput)", "video": "" }
{ "audio": "", "image": "", "text": " (*waf.CreateRegexMatchSetOutput, error) {\n\treq, out := c.CreateRegexMatchSetRequest(input)\n\treturn out, req.Send()\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tPort uint16 `json:\"port,omitempty\"`\n\t}\n\tif err := json.Unmarshal(b, &input); err != nil {\n\t\treturn err\n\t}\n\tu.Scheme = input.Scheme\n\tu.Host = input.Host\n\tu.Port = input.Port\n\treturn nil\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *GetWebACLForResourceOutput) SetWebACLSummary(v", "video": "" }
{ "audio": "", "image": "", "text": " *waf.WebACLSummary) *GetWebACLForResourceOutput {\n\ts.WebACLSummary = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (c *AutoScaling) WaitUntilGroupExists(input *DescribeAutoScalingGroupsInput) error {\n\treturn", "video": "" }
{ "audio": "", "image": "", "text": " c.WaitUntilGroupExistsWithContext(aws.BackgroundContext(), input)\n}", "video": "" }
{ "audio": "", "image": "", "text": " out *autoscaling.HorizontalPodAutoscalerCondition, s conversion.Scope) error {\n\treturn autoConvert_v2beta1_HorizontalPodAutoscalerCondition_To_autoscaling_HorizontalPodAutoscalerCondition(in, out, s)\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (c *AutoScaling) WaitUntilGroupInService(input *DescribeAutoScalingGroupsInput) error {\n\treturn", "video": "" }
{ "audio": "", "image": "", "text": " c.WaitUntilGroupInServiceWithContext(aws.BackgroundContext(), input)\n}", "video": "" }
{ "audio": "", "image": "", "text": " out *autoscaling.HorizontalPodAutoscalerCondition, s conversion.Scope) error {\n\treturn autoConvert_v2beta1_HorizontalPodAutoscalerCondition_To_autoscaling_HorizontalPodAutoscalerCondition(in, out, s)\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (c *AutoScaling) WaitUntilGroupNotExists(input *DescribeAutoScalingGroupsInput) error {\n\treturn", "video": "" }
{ "audio": "", "image": "", "text": " c.WaitUntilGroupNotExistsWithContext(aws.BackgroundContext(), input)\n}", "video": "" }
{ "audio": "", "image": "", "text": " out *autoscaling.HorizontalPodAutoscalerCondition, s conversion.Scope) error {\n\treturn autoConvert_v2beta1_HorizontalPodAutoscalerCondition_To_autoscaling_HorizontalPodAutoscalerCondition(in, out, s)\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *BatchPutMessageOutput) SetBatchPutMessageErrorEntries(v []*BatchPutMessageErrorEntry)", "video": "" }
{ "audio": "", "image": "", "text": " *BatchPutMessageOutput {\n\ts.BatchPutMessageErrorEntries = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *ContainerDatasetAction) SetResourceConfiguration(v *ResourceConfiguration)", "video": "" }
{ "audio": "", "image": "", "text": " *ContainerDatasetAction {\n\ts.ResourceConfiguration = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *CreateDatasetOutput) SetDatasetArn(v string) *CreateDatasetOutput", "video": "" }
{ "audio": "", "image": "", "text": " {\n\ts.DatasetArn = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *CreateDatastoreOutput) SetDatastoreArn(v string) *CreateDatastoreOutput", "video": "" }
{ "audio": "", "image": "", "text": " {\n\ts.DatastoreArn = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *DatasetAction) SetContainerAction(v *ContainerDatasetAction)", "video": "" }
{ "audio": "", "image": "", "text": " *DatasetAction {\n\ts.ContainerAction = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *DatasetAction) SetQueryAction(v *SqlQueryDatasetAction)", "video": "" }
{ "audio": "", "image": "", "text": " *DatasetAction {\n\ts.QueryAction = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *DatasetContentDeliveryDestination) SetIotEventsDestinationConfiguration(v *IotEventsDestinationConfiguration)", "video": "" }
{ "audio": "", "image": "", "text": " *DatasetContentDeliveryDestination {\n\ts.IotEventsDestinationConfiguration = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *DatasetContentSummary) SetScheduleTime(v", "video": "" }
{ "audio": "", "image": "", "text": " time.Time) *DatasetContentSummary {\n\ts.ScheduleTime = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *DatasetEntry) SetDataURI(v string) *DatasetEntry {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.DataURI = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *DeltaTime) SetOffsetSeconds(v int64) *DeltaTime {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.OffsetSeconds = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": " v.Int64 != 0 {\n\t\tenc.Int64(v.Int64)\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *DeltaTime) SetTimeExpression(v string) *DeltaTime {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.TimeExpression = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *EstimatedResourceSize) SetEstimatedOn(v", "video": "" }
{ "audio": "", "image": "", "text": " time.Time) *EstimatedResourceSize {\n\ts.EstimatedOn = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *EstimatedResourceSize) SetEstimatedSizeInBytes(v float64) *EstimatedResourceSize {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.EstimatedSizeInBytes = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": " int64) {\n\ts.autoCounter(s.statName(stat)).Add(float64(value))\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *LambdaActivity) SetLambdaName(v string) *LambdaActivity {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.LambdaName = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *ListChannelsOutput) SetChannelSummaries(v", "video": "" }
{ "audio": "", "image": "", "text": " []*ChannelSummary) *ListChannelsOutput {\n\ts.ChannelSummaries = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *ListDatasetContentsInput) SetScheduledBefore(v", "video": "" }
{ "audio": "", "image": "", "text": " time.Time) *ListDatasetContentsInput {\n\ts.ScheduledBefore = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *ListDatasetContentsInput) SetScheduledOnOrAfter(v time.Time) *ListDatasetContentsInput", "video": "" }
{ "audio": "", "image": "", "text": " {\n\ts.ScheduledOnOrAfter = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\tnowFunc: func() time.Time { return time.Now().In(time.UTC) },\n\t}\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *ListDatasetContentsOutput) SetDatasetContentSummaries(v", "video": "" }
{ "audio": "", "image": "", "text": " []*DatasetContentSummary) *ListDatasetContentsOutput {\n\ts.DatasetContentSummaries = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *ListDatasetsOutput) SetDatasetSummaries(v", "video": "" }
{ "audio": "", "image": "", "text": " []*DatasetSummary) *ListDatasetsOutput {\n\ts.DatasetSummaries = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *ListDatastoresOutput) SetDatastoreSummaries(v", "video": "" }
{ "audio": "", "image": "", "text": " []*DatastoreSummary) *ListDatastoresOutput {\n\ts.DatastoreSummaries = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *ListPipelinesOutput) SetPipelineSummaries(v", "video": "" }
{ "audio": "", "image": "", "text": " []*PipelineSummary) *ListPipelinesOutput {\n\ts.PipelineSummaries = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *PipelineActivity) SetAddAttributes(v *AddAttributesActivity)", "video": "" }
{ "audio": "", "image": "", "text": " *PipelineActivity {\n\ts.AddAttributes = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": " *PipelineActivity {\n\ts.DeviceShadowEnrich = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *PipelineActivity) SetDeviceRegistryEnrich(v *DeviceRegistryEnrichActivity)", "video": "" }
{ "audio": "", "image": "", "text": " *PipelineActivity {\n\ts.DeviceRegistryEnrich = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": " *PipelineActivity {\n\ts.DeviceShadowEnrich = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *PipelineActivity) SetDeviceShadowEnrich(v *DeviceShadowEnrichActivity)", "video": "" }
{ "audio": "", "image": "", "text": " *PipelineActivity {\n\ts.DeviceShadowEnrich = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": " *PipelineActivity {\n\ts.RemoveAttributes = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *PipelineActivity) SetRemoveAttributes(v *RemoveAttributesActivity)", "video": "" }
{ "audio": "", "image": "", "text": " *PipelineActivity {\n\ts.RemoveAttributes = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": " *PipelineActivity {\n\ts.DeviceShadowEnrich = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *PipelineActivity) SetSelectAttributes(v *SelectAttributesActivity)", "video": "" }
{ "audio": "", "image": "", "text": " *PipelineActivity {\n\ts.SelectAttributes = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": " *PipelineActivity {\n\ts.DeviceShadowEnrich = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "func (s *QueryFilter) SetDeltaTime(v *DeltaTime) *QueryFilter {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.DeltaTime = v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": "\t\tverStr = v.String()\n\t\t\t}\n\t\t\ts.goAttach(func() { s.updateClusterVersion(verStr) })\n\t\t\tcontinue\n\t\t}\n\n\t\t// update cluster version only if the decided version is greater than\n\t\t// the current cluster version\n\t\tif v != nil && s.cluster.Version().LessTha...
{ "audio": "", "image": "", "text": "func (s *RetentionPeriod) SetNumberOfDays(v int64) *RetentionPeriod {\n", "video": "" }
{ "audio": "", "image": "", "text": "\ts.NumberOfDays = &v\n\treturn s\n}", "video": "" }
{ "audio": "", "image": "", "text": " v.Int64 != 0 {\n\t\tenc.Int64(v.Int64)\n\t}\n}", "video": "" }