id
stringlengths
2
7
text
stringlengths
17
51.2k
title
stringclasses
1 value
c166700
[]*Consumer) *ListStreamConsumersOutput { s.Consumers = v return s }
c166701
s.ExclusiveStartStreamName = &v return s }
c166702
s.HasMoreStreams = &v return s }
c166703
{ s.StreamNames = v return s }
c166704
s.AdjacentShardToMerge = &v return s }
c166705
s.ShardToMerge = &v return s }
c166706
s.SequenceNumberForOrdering = &v return s }
c166707
s.FailedRecordCount = &v return s }
c166708
s.ApproximateArrivalTimestamp = &v return s }
c166709
*Consumer) *RegisterStreamConsumerOutput { s.Consumer = v return s }
c166710
bytes.NewReader(msg.Payload), s, ); err != nil { return err } return nil }
c166711
s.AdjacentParentShardId = &v return s }
c166712
*Shard { s.HashKeyRange = v return s }
c166713
s.NewStartingHashKey = &v return s }
c166714
s.ShardToSplit = &v return s }
c166715
s.HasMoreShards = &v return s }
c166716
int64) *StreamDescriptionSummary { s.ConsumerCount = &v return s }
c166717
s.ContinuationSequenceNumber = &v return s }
c166718
err } es.StreamCloser.Close() return nil }
c166719
int64) *UpdateShardCountOutput { s.CurrentShardCount = &v return s }
c166720
s.BlockType = &v return s }
c166721
s.ColumnIndex = &v return s }
c166722
s.ColumnSpan = &v return s }
c166723
*Block { s.Page = &v return s }
c166724
s.RowIndex = &v return s }
c166725
s.RowSpan = &v return s }
c166726
s.SelectionStatus = &v return s }
c166727
return oldName } return ServiceID(a) }
c166728
return sharedConfig{}, err } cfg := sharedConfig{} if err = cfg.setFromIniFiles(profile, files); err != nil { return sharedConfig{}, err } if len(cfg.AssumeRole.SourceProfile) > 0 { if err := cfg.setAssumeRoleSource(profile, files); err != nil { return sharedConfig{}, err } } return cfg, nil }
c166729
credentialSource, ExternalID: section.String(externalIDKey), MFASerial: section.String(mfaSerialKey), RoleSessionName: section.String(roleSessionNameKey), } } // `credential_process` if credProc := section.String(credentialProcessKey); len(credProc) > 0 { cfg.CredentialProcess = credProc...
c166730
% padder.blockSize) pad := bytes.Repeat([]byte{byte(size)}, size) buf = append(buf, pad...) return buf, nil }
c166731
outOfRange := subtle.ConstantTimeLessOrEq(int(padLen), i) equal := subtle.ConstantTimeByteEq(padLen, b) good &= subtle.ConstantTimeSelect(outOfRange, 1, equal) } good &= subtle.ConstantTimeLessOrEq(1, int(padLen)) good &= subtle.ConstantTimeLessOrEq(int(padLen), len(buf)) if good != 1 { return nil, errP...
c166732
return NewDecoder().Decode(&dynamodb.AttributeValue{M: m}, out) }
c166733
NewDecoder().Decode(&dynamodb.AttributeValue{L: l}, out) }
c166734
{ items[i] = &dynamodb.AttributeValue{M: m} } return UnmarshalList(items, out) }
c166735
MarshalOptions{ SupportJSONTags: true, }, } for _, o := range opts { o(d) } return d }
c166736
{ return &InvalidUnmarshalError{Type: reflect.TypeOf(out)} } return d.decode(av, v, tag{}) }
c166737
fmt.Sprintf("%s: %s\ncaused by: %v", e.Code(), e.Message(), e.Err) }
c166738
fmt.Sprintf("cannot unmarshal %q into %s.", e.Value, e.Type.String()) }
c166739
s.ActiveNodes = &v return s }
c166740
s.ClusterDiscoveryEndpoint = v return s }
c166741
s.TotalNodes = &v return s }
c166742
s.ReplicationFactor = &v return s }
c166743
[]*string) *DescribeClustersInput { s.ClusterNames = v return s }
c166744
[]*string) *DescribeParameterGroupsInput { s.ParameterGroupNames = v return s }
c166745
[]*string) *DescribeSubnetGroupsInput { s.SubnetGroupNames = v return s }
c166746
[]*SubnetGroup) *DescribeSubnetGroupsOutput { s.SubnetGroups = v return s }
c166747
*Node { s.NodeCreateTime = &v return s }
c166748
s.NodeStatus = &v return s }
c166749
string) *NotificationConfiguration { s.TopicStatus = &v return s }
c166750
*Parameter { s.NodeTypeSpecificValues = v return s }
c166751
{ s.NodeIdsToReboot = v return s }
c166752
s.SecurityGroupIdentifier = &v return s }
c166753
NewCredentials(&SharedCredentialsProvider{ Filename: filename, Profile: profile, }) }
c166754
// This error is too verbose, failure when opening the file would of been // a better error to return. return "", ErrSharedCredentialsHomeNotFound } p.Filename = shareddefaults.SharedCredentialsFilename() return p.Filename, nil }
c166755
p.Profile == "" { p.Profile = "default" } return p.Profile }
c166756
err != nil { return Message{}, err } } if payloadLen := prelude.PayloadLen(); payloadLen > 0 { buf, err := decodePayload(payloadBuf, io.LimitReader(hashReader, int64(payloadLen))) if err != nil { return Message{}, err } m.Payload = buf } msgCRC := crc.Sum32() if err := validateCRC(reader, msgCRC...
c166757
bool) *CheckIfPhoneNumberIsOptedOutOutput { s.IsOptedOut = &v return s }
c166758
s.AuthenticateOnUnsubscribe = &v return s }
c166759
string) *CreatePlatformEndpointInput { s.CustomUserData = &v return s }
c166760
[]*PlatformApplication) *ListPlatformApplicationsOutput { s.PlatformApplications = v return s }
c166761
s.MessageStructure = &v return s }
c166762
s.ReturnSubscriptionArn = &v return s }
c166763
s.StreamingStatus = &v return s }
c166764
s.NumRecords = &v return s }
c166765
*IdentityPoolUsage) *DescribeIdentityPoolUsageOutput { s.IdentityPoolUsage = v return s }
c166766
*IdentityUsage) *DescribeIdentityUsageOutput { s.IdentityUsage = v return s }
c166767
{ s.BulkPublishCompleteTime = &v return s }
c166768
time.Time) *GetBulkPublishDetailsOutput { s.BulkPublishStartTime = &v return s }
c166769
string) *GetBulkPublishDetailsOutput { s.BulkPublishStatus = &v return s }
c166770
s.SyncSessionsCount = &v return s }
c166771
s.DatasetCount = &v return s }
c166772
[]*Dataset) *ListDatasetsOutput { s.Datasets = v return s }
c166773
[]*IdentityPoolUsage) *ListIdentityPoolUsageOutput { s.IdentityPoolUsages = v return s }
c166774
s.LastSyncCount = &v return s }
c166775
s.DatasetDeletedAfterRequestedSyncCount = &v return s }
c166776
s.DatasetExists = &v return s }
c166777
s.DatasetSyncCount = &v return s }
c166778
s.MergedDatasetNames = v return s }
c166779
s.ApplicationArns = v return s }
c166780
[]*RecordPatch) *UpdateRecordsInput { s.RecordPatches = v return s }
c166781
[]byte) *AttributeValue { s.B = v return s }
c166782
bool) *AttributeValue { s.BOOL = &v return s }
c166783
[][]byte) *AttributeValue { s.BS = v return s }
c166784
*AttributeValue { s.L = v return s }
c166785
*AttributeValue { s.M = v return s }
c166786
*AttributeValue { s.NS = v return s }
c166787
bool) *AttributeValue { s.NULL = &v return s }
c166788
{ s.S = &v return s }
c166789
*AttributeValue { s.SS = v return s }
c166790
*AutoScalingSettingsUpdate { s.ScalingPolicyUpdate = v return s }
c166791
*BackupDescription { s.SourceTableDetails = v return s }
c166792
*BackupDescription { s.SourceTableFeatureDetails = v return s }
c166793
*BatchWriteItemOutput { s.UnprocessedItems = v return s }
c166794
s.LastUpdateToPayPerRequestDateTime = &v return s }
c166795
{ s.ContinuousBackupsStatus = &v return s }
c166796
*ContinuousBackupsDescription { s.PointInTimeRecoveryDescription = v return s }
c166797
s.AccountMaxReadCapacityUnits = &v return s }
c166798
s.AccountMaxWriteCapacityUnits = &v return s }
c166799
s.TableMaxReadCapacityUnits = &v return s }