_id
stringlengths
2
7
title
stringlengths
1
118
partition
stringclasses
3 values
text
stringlengths
52
85.5k
language
stringclasses
1 value
meta_information
dict
q200
SetCloneUrlSsh
train
func (s *RepositoryMetadata) SetCloneUrlSsh(v string) *RepositoryMetadata { s.CloneUrlSsh = &v return s }
go
{ "resource": "" }
q201
SetDefaultBranch
train
func (s *RepositoryMetadata) SetDefaultBranch(v string) *RepositoryMetadata { s.DefaultBranch = &v return s }
go
{ "resource": "" }
q202
SetCustomData
train
func (s *RepositoryTrigger) SetCustomData(v string) *RepositoryTrigger { s.CustomData = &v return s }
go
{ "resource": "" }
q203
SetIsMove
train
func (s *SourceFileSpecifier) SetIsMove(v bool) *SourceFileSpecifier { s.IsMove = &v return s }
go
{ "resource": "" }
q204
SetFailedExecutions
train
func (s *TestRepositoryTriggersOutput) SetFailedExecutions(v []*RepositoryTriggerExecutionFailure) *TestRepositoryTriggersOutput { s.FailedExecutions = v return s }
go
{ "resource": "" }
q205
SetSuccessfulExecutions
train
func (s *TestRepositoryTriggersOutput) SetSuccessfulExecutions(v []*string) *TestRepositoryTriggersOutput { s.SuccessfulExecutions = v return s }
go
{ "resource": "" }
q206
SetDefaultBranchName
train
func (s *UpdateDefaultBranchInput) SetDefaultBranchName(v string) *UpdateDefaultBranchInput { s.DefaultBranchName = &v return s }
go
{ "resource": "" }
q207
SetNewName
train
func (s *UpdateRepositoryNameInput) SetNewName(v string) *UpdateRepositoryNameInput { s.NewName = &v return s }
go
{ "resource": "" }
q208
SetOldName
train
func (s *UpdateRepositoryNameInput) SetOldName(v string) *UpdateRepositoryNameInput { s.OldName = &v return s }
go
{ "resource": "" }
q209
SetCompany
train
func (s *Address) SetCompany(v string) *Address { s.Company = &v return s }
go
{ "resource": "" }
q210
SetIsRestricted
train
func (s *Address) SetIsRestricted(v bool) *Address { s.IsRestricted = &v return s }
go
{ "resource": "" }
q211
SetLandmark
train
func (s *Address) SetLandmark(v string) *Address { s.Landmark = &v return s }
go
{ "resource": "" }
q212
SetPrefectureOrDistrict
train
func (s *Address) SetPrefectureOrDistrict(v string) *Address { s.PrefectureOrDistrict = &v return s }
go
{ "resource": "" }
q213
SetStateOrProvince
train
func (s *Address) SetStateOrProvince(v string) *Address { s.StateOrProvince = &v return s }
go
{ "resource": "" }
q214
SetStreet1
train
func (s *Address) SetStreet1(v string) *Address { s.Street1 = &v return s }
go
{ "resource": "" }
q215
SetStreet2
train
func (s *Address) SetStreet2(v string) *Address { s.Street2 = &v return s }
go
{ "resource": "" }
q216
SetStreet3
train
func (s *Address) SetStreet3(v string) *Address { s.Street3 = &v return s }
go
{ "resource": "" }
q217
SetObjectsTransferred
train
func (s *DataTransfer) SetObjectsTransferred(v int64) *DataTransfer { s.ObjectsTransferred = &v return s }
go
{ "resource": "" }
q218
SetTotalBytes
train
func (s *DataTransfer) SetTotalBytes(v int64) *DataTransfer { s.TotalBytes = &v return s }
go
{ "resource": "" }
q219
SetTotalObjects
train
func (s *DataTransfer) SetTotalObjects(v int64) *DataTransfer { s.TotalObjects = &v return s }
go
{ "resource": "" }
q220
SetClusterMetadata
train
func (s *DescribeClusterOutput) SetClusterMetadata(v *ClusterMetadata) *DescribeClusterOutput { s.ClusterMetadata = v return s }
go
{ "resource": "" }
q221
SetJobMetadata
train
func (s *DescribeJobOutput) SetJobMetadata(v *JobMetadata) *DescribeJobOutput { s.JobMetadata = v return s }
go
{ "resource": "" }
q222
SetSubJobMetadata
train
func (s *DescribeJobOutput) SetSubJobMetadata(v []*JobMetadata) *DescribeJobOutput { s.SubJobMetadata = v return s }
go
{ "resource": "" }
q223
SetSnowballAmiId
train
func (s *Ec2AmiResource) SetSnowballAmiId(v string) *Ec2AmiResource { s.SnowballAmiId = &v return s }
go
{ "resource": "" }
q224
SetEventResourceARN
train
func (s *EventTriggerDefinition) SetEventResourceARN(v string) *EventTriggerDefinition { s.EventResourceARN = &v return s }
go
{ "resource": "" }
q225
SetManifestURI
train
func (s *GetJobManifestOutput) SetManifestURI(v string) *GetJobManifestOutput { s.ManifestURI = &v return s }
go
{ "resource": "" }
q226
SetUnlockCode
train
func (s *GetJobUnlockCodeOutput) SetUnlockCode(v string) *GetJobUnlockCodeOutput { s.UnlockCode = &v return s }
go
{ "resource": "" }
q227
SetSnowballLimit
train
func (s *GetSnowballUsageOutput) SetSnowballLimit(v int64) *GetSnowballUsageOutput { s.SnowballLimit = &v return s }
go
{ "resource": "" }
q228
SetSnowballsInUse
train
func (s *GetSnowballUsageOutput) SetSnowballsInUse(v int64) *GetSnowballUsageOutput { s.SnowballsInUse = &v return s }
go
{ "resource": "" }
q229
SetIsMaster
train
func (s *JobListEntry) SetIsMaster(v bool) *JobListEntry { s.IsMaster = &v return s }
go
{ "resource": "" }
q230
SetJobCompletionReportURI
train
func (s *JobLogs) SetJobCompletionReportURI(v string) *JobLogs { s.JobCompletionReportURI = &v return s }
go
{ "resource": "" }
q231
SetJobFailureLogURI
train
func (s *JobLogs) SetJobFailureLogURI(v string) *JobLogs { s.JobFailureLogURI = &v return s }
go
{ "resource": "" }
q232
SetJobSuccessLogURI
train
func (s *JobLogs) SetJobSuccessLogURI(v string) *JobLogs { s.JobSuccessLogURI = &v return s }
go
{ "resource": "" }
q233
SetJobLogInfo
train
func (s *JobMetadata) SetJobLogInfo(v *JobLogs) *JobMetadata { s.JobLogInfo = v return s }
go
{ "resource": "" }
q234
SetShippingDetails
train
func (s *JobMetadata) SetShippingDetails(v *ShippingDetails) *JobMetadata { s.ShippingDetails = v return s }
go
{ "resource": "" }
q235
SetEc2AmiResources
train
func (s *JobResource) SetEc2AmiResources(v []*Ec2AmiResource) *JobResource { s.Ec2AmiResources = v return s }
go
{ "resource": "" }
q236
SetLambdaResources
train
func (s *JobResource) SetLambdaResources(v []*LambdaResource) *JobResource { s.LambdaResources = v return s }
go
{ "resource": "" }
q237
SetBeginMarker
train
func (s *KeyRange) SetBeginMarker(v string) *KeyRange { s.BeginMarker = &v return s }
go
{ "resource": "" }
q238
SetEndMarker
train
func (s *KeyRange) SetEndMarker(v string) *KeyRange { s.EndMarker = &v return s }
go
{ "resource": "" }
q239
SetEventTriggers
train
func (s *LambdaResource) SetEventTriggers(v []*EventTriggerDefinition) *LambdaResource { s.EventTriggers = v return s }
go
{ "resource": "" }
q240
SetLambdaArn
train
func (s *LambdaResource) SetLambdaArn(v string) *LambdaResource { s.LambdaArn = &v return s }
go
{ "resource": "" }
q241
SetClusterListEntries
train
func (s *ListClustersOutput) SetClusterListEntries(v []*ClusterListEntry) *ListClustersOutput { s.ClusterListEntries = v return s }
go
{ "resource": "" }
q242
SetCompatibleImages
train
func (s *ListCompatibleImagesOutput) SetCompatibleImages(v []*CompatibleImage) *ListCompatibleImagesOutput { s.CompatibleImages = v return s }
go
{ "resource": "" }
q243
SetJobStatesToNotify
train
func (s *Notification) SetJobStatesToNotify(v []*string) *Notification { s.JobStatesToNotify = v return s }
go
{ "resource": "" }
q244
SetNotifyAll
train
func (s *Notification) SetNotifyAll(v bool) *Notification { s.NotifyAll = &v return s }
go
{ "resource": "" }
q245
SetBucketArn
train
func (s *S3Resource) SetBucketArn(v string) *S3Resource { s.BucketArn = &v return s }
go
{ "resource": "" }
q246
SetKeyRange
train
func (s *S3Resource) SetKeyRange(v *KeyRange) *S3Resource { s.KeyRange = v return s }
go
{ "resource": "" }
q247
SetTrackingNumber
train
func (s *Shipment) SetTrackingNumber(v string) *Shipment { s.TrackingNumber = &v return s }
go
{ "resource": "" }
q248
SetInboundShipment
train
func (s *ShippingDetails) SetInboundShipment(v *Shipment) *ShippingDetails { s.InboundShipment = v return s }
go
{ "resource": "" }
q249
SetOutboundShipment
train
func (s *ShippingDetails) SetOutboundShipment(v *Shipment) *ShippingDetails { s.OutboundShipment = v return s }
go
{ "resource": "" }
q250
WaitUntilSuccessfulSigningJob
train
func (c *Signer) WaitUntilSuccessfulSigningJob(input *DescribeSigningJobInput) error { return c.WaitUntilSuccessfulSigningJobWithContext(aws.BackgroundContext(), input) }
go
{ "resource": "" }
q251
SetProposalDurationInHours
train
func (s *ApprovalThresholdPolicy) SetProposalDurationInHours(v int64) *ApprovalThresholdPolicy { s.ProposalDurationInHours = &v return s }
go
{ "resource": "" }
q252
SetThresholdComparator
train
func (s *ApprovalThresholdPolicy) SetThresholdComparator(v string) *ApprovalThresholdPolicy { s.ThresholdComparator = &v return s }
go
{ "resource": "" }
q253
SetNodeConfiguration
train
func (s *CreateNodeInput) SetNodeConfiguration(v *NodeConfiguration) *CreateNodeInput { s.NodeConfiguration = v return s }
go
{ "resource": "" }
q254
SetMember
train
func (s *GetMemberOutput) SetMember(v *Member) *GetMemberOutput { s.Member = v return s }
go
{ "resource": "" }
q255
SetNode
train
func (s *GetNodeOutput) SetNode(v *Node) *GetNodeOutput { s.Node = v return s }
go
{ "resource": "" }
q256
SetProposal
train
func (s *GetProposalOutput) SetProposal(v *Proposal) *GetProposalOutput { s.Proposal = v return s }
go
{ "resource": "" }
q257
SetNetworkSummary
train
func (s *Invitation) SetNetworkSummary(v *NetworkSummary) *Invitation { s.NetworkSummary = v return s }
go
{ "resource": "" }
q258
SetNetworks
train
func (s *ListNetworksOutput) SetNetworks(v []*NetworkSummary) *ListNetworksOutput { s.Networks = v return s }
go
{ "resource": "" }
q259
SetProposalVotes
train
func (s *ListProposalVotesOutput) SetProposalVotes(v []*VoteSummary) *ListProposalVotesOutput { s.ProposalVotes = v return s }
go
{ "resource": "" }
q260
SetProposals
train
func (s *ListProposalsOutput) SetProposals(v []*ProposalSummary) *ListProposalsOutput { s.Proposals = v return s }
go
{ "resource": "" }
q261
SetCaEndpoint
train
func (s *MemberFabricAttributes) SetCaEndpoint(v string) *MemberFabricAttributes { s.CaEndpoint = &v return s }
go
{ "resource": "" }
q262
SetAdminPassword
train
func (s *MemberFabricConfiguration) SetAdminPassword(v string) *MemberFabricConfiguration { s.AdminPassword = &v return s }
go
{ "resource": "" }
q263
SetVpcEndpointServiceName
train
func (s *Network) SetVpcEndpointServiceName(v string) *Network { s.VpcEndpointServiceName = &v return s }
go
{ "resource": "" }
q264
SetOrderingServiceEndpoint
train
func (s *NetworkFabricAttributes) SetOrderingServiceEndpoint(v string) *NetworkFabricAttributes { s.OrderingServiceEndpoint = &v return s }
go
{ "resource": "" }
q265
SetPeerEndpoint
train
func (s *NodeFabricAttributes) SetPeerEndpoint(v string) *NodeFabricAttributes { s.PeerEndpoint = &v return s }
go
{ "resource": "" }
q266
SetPeerEventEndpoint
train
func (s *NodeFabricAttributes) SetPeerEventEndpoint(v string) *NodeFabricAttributes { s.PeerEventEndpoint = &v return s }
go
{ "resource": "" }
q267
SetNoVoteCount
train
func (s *Proposal) SetNoVoteCount(v int64) *Proposal { s.NoVoteCount = &v return s }
go
{ "resource": "" }
q268
SetOutstandingVoteCount
train
func (s *Proposal) SetOutstandingVoteCount(v int64) *Proposal { s.OutstandingVoteCount = &v return s }
go
{ "resource": "" }
q269
SetYesVoteCount
train
func (s *Proposal) SetYesVoteCount(v int64) *Proposal { s.YesVoteCount = &v return s }
go
{ "resource": "" }
q270
SetRemovals
train
func (s *ProposalActions) SetRemovals(v []*RemoveAction) *ProposalActions { s.Removals = v return s }
go
{ "resource": "" }
q271
SetVoterMemberId
train
func (s *VoteOnProposalInput) SetVoterMemberId(v string) *VoteOnProposalInput { s.VoterMemberId = &v return s }
go
{ "resource": "" }
q272
SetApprovalThresholdPolicy
train
func (s *VotingPolicy) SetApprovalThresholdPolicy(v *ApprovalThresholdPolicy) *VotingPolicy { s.ApprovalThresholdPolicy = v return s }
go
{ "resource": "" }
q273
Error
train
func (m multiUploadError) Error() string { extra := fmt.Sprintf("upload id: %s", m.uploadID) return awserr.SprintError(m.Code(), m.Message(), extra, m.OrigErr()) }
go
{ "resource": "" }
q274
WithUploaderRequestOptions
train
func WithUploaderRequestOptions(opts ...request.Option) func(*Uploader) { return func(u *Uploader) { u.RequestOptions = append(u.RequestOptions, opts...) } }
go
{ "resource": "" }
q275
UploadWithContext
train
func (u Uploader) UploadWithContext(ctx aws.Context, input *UploadInput, opts ...func(*Uploader)) (*UploadOutput, error) { i := uploader{in: input, cfg: u, ctx: ctx} for _, opt := range opts { opt(&i.cfg) } i.cfg.RequestOptions = append(i.cfg.RequestOptions, request.WithAppendUserAgent("S3Manager")) return i.upload() }
go
{ "resource": "" }
q276
upload
train
func (u *uploader) upload() (*UploadOutput, error) { u.init() if u.cfg.PartSize < MinUploadPartSize { msg := fmt.Sprintf("part size must be at least %d bytes", MinUploadPartSize) return nil, awserr.New("ConfigError", msg, nil) } // Do one read to determine if we have more than one part reader, _, part, err := u.nextReader() if err == io.EOF { // single part return u.singlePart(reader) } else if err != nil { return nil, awserr.New("ReadRequestBody", "read upload data failed", err) } mu := multiuploader{uploader: u} return mu.upload(reader, part) }
go
{ "resource": "" }
q277
init
train
func (u *uploader) init() { if u.cfg.Concurrency == 0 { u.cfg.Concurrency = DefaultUploadConcurrency } if u.cfg.PartSize == 0 { u.cfg.PartSize = DefaultUploadPartSize } if u.cfg.MaxUploadParts == 0 { u.cfg.MaxUploadParts = MaxUploadParts } u.bufferPool = sync.Pool{ New: func() interface{} { return make([]byte, u.cfg.PartSize) }, } // Try to get the total size for some optimizations u.initSize() }
go
{ "resource": "" }
q278
initSize
train
func (u *uploader) initSize() { u.totalSize = -1 switch r := u.in.Body.(type) { case io.Seeker: n, err := aws.SeekerLen(r) if err != nil { return } u.totalSize = n // Try to adjust partSize if it is too small and account for // integer division truncation. if u.totalSize/u.cfg.PartSize >= int64(u.cfg.MaxUploadParts) { // Add one to the part size to account for remainders // during the size calculation. e.g odd number of bytes. u.cfg.PartSize = (u.totalSize / int64(u.cfg.MaxUploadParts)) + 1 } } }
go
{ "resource": "" }
q279
nextReader
train
func (u *uploader) nextReader() (io.ReadSeeker, int, []byte, error) { type readerAtSeeker interface { io.ReaderAt io.ReadSeeker } switch r := u.in.Body.(type) { case readerAtSeeker: var err error n := u.cfg.PartSize if u.totalSize >= 0 { bytesLeft := u.totalSize - u.readerPos if bytesLeft <= u.cfg.PartSize { err = io.EOF n = bytesLeft } } reader := io.NewSectionReader(r, u.readerPos, n) u.readerPos += n return reader, int(n), nil, err default: part := u.bufferPool.Get().([]byte) n, err := readFillBuf(r, part) u.readerPos += int64(n) return bytes.NewReader(part[0:n]), n, part, err } }
go
{ "resource": "" }
q280
singlePart
train
func (u *uploader) singlePart(buf io.ReadSeeker) (*UploadOutput, error) { params := &s3.PutObjectInput{} awsutil.Copy(params, u.in) params.Body = buf // Need to use request form because URL generated in request is // used in return. req, out := u.cfg.S3.PutObjectRequest(params) req.SetContext(u.ctx) req.ApplyOptions(u.cfg.RequestOptions...) if err := req.Send(); err != nil { return nil, err } url := req.HTTPRequest.URL.String() return &UploadOutput{ Location: url, VersionID: out.VersionId, }, nil }
go
{ "resource": "" }
q281
upload
train
func (u *multiuploader) upload(firstBuf io.ReadSeeker, firstPart []byte) (*UploadOutput, error) { params := &s3.CreateMultipartUploadInput{} awsutil.Copy(params, u.in) // Create the multipart resp, err := u.cfg.S3.CreateMultipartUploadWithContext(u.ctx, params, u.cfg.RequestOptions...) if err != nil { return nil, err } u.uploadID = *resp.UploadId // Create the workers ch := make(chan chunk, u.cfg.Concurrency) for i := 0; i < u.cfg.Concurrency; i++ { u.wg.Add(1) go u.readChunk(ch) } // Send part 1 to the workers var num int64 = 1 ch <- chunk{buf: firstBuf, part: firstPart, num: num} // Read and queue the rest of the parts for u.geterr() == nil && err == nil { num++ // This upload exceeded maximum number of supported parts, error now. if num > int64(u.cfg.MaxUploadParts) || num > int64(MaxUploadParts) { var msg string if num > int64(u.cfg.MaxUploadParts) { msg = fmt.Sprintf("exceeded total allowed configured MaxUploadParts (%d). Adjust PartSize to fit in this limit", u.cfg.MaxUploadParts) } else { msg = fmt.Sprintf("exceeded total allowed S3 limit MaxUploadParts (%d). Adjust PartSize to fit in this limit", MaxUploadParts) } u.seterr(awserr.New("TotalPartsExceeded", msg, nil)) break } var reader io.ReadSeeker var nextChunkLen int var part []byte reader, nextChunkLen, part, err = u.nextReader() if err != nil && err != io.EOF { u.seterr(awserr.New( "ReadRequestBody", "read multipart upload data failed", err)) break } if nextChunkLen == 0 { // No need to upload empty part, if file was empty to start // with empty single part would of been created and never // started multipart upload. break } ch <- chunk{buf: reader, part: part, num: num} } // Close the channel, wait for workers, and complete upload close(ch) u.wg.Wait() complete := u.complete() if err := u.geterr(); err != nil { return nil, &multiUploadError{ awsError: awserr.New( "MultipartUpload", "upload multipart failed", err), uploadID: u.uploadID, } } // Create a presigned URL of the S3 Get Object in order to have parity with // single part upload. getReq, _ := u.cfg.S3.GetObjectRequest(&s3.GetObjectInput{ Bucket: u.in.Bucket, Key: u.in.Key, }) getReq.Config.Credentials = credentials.AnonymousCredentials uploadLocation, _, _ := getReq.PresignRequest(1) return &UploadOutput{ Location: uploadLocation, VersionID: complete.VersionId, UploadID: u.uploadID, }, nil }
go
{ "resource": "" }
q282
send
train
func (u *multiuploader) send(c chunk) error { params := &s3.UploadPartInput{ Bucket: u.in.Bucket, Key: u.in.Key, Body: c.buf, UploadId: &u.uploadID, SSECustomerAlgorithm: u.in.SSECustomerAlgorithm, SSECustomerKey: u.in.SSECustomerKey, PartNumber: &c.num, } resp, err := u.cfg.S3.UploadPartWithContext(u.ctx, params, u.cfg.RequestOptions...) // put the byte array back into the pool to conserve memory u.bufferPool.Put(c.part) if err != nil { return err } n := c.num completed := &s3.CompletedPart{ETag: resp.ETag, PartNumber: &n} u.m.Lock() u.parts = append(u.parts, completed) u.m.Unlock() return nil }
go
{ "resource": "" }
q283
geterr
train
func (u *multiuploader) geterr() error { u.m.Lock() defer u.m.Unlock() return u.err }
go
{ "resource": "" }
q284
seterr
train
func (u *multiuploader) seterr(e error) { u.m.Lock() defer u.m.Unlock() u.err = e }
go
{ "resource": "" }
q285
fail
train
func (u *multiuploader) fail() { if u.cfg.LeavePartsOnError { return } params := &s3.AbortMultipartUploadInput{ Bucket: u.in.Bucket, Key: u.in.Key, UploadId: &u.uploadID, } _, err := u.cfg.S3.AbortMultipartUploadWithContext(u.ctx, params, u.cfg.RequestOptions...) if err != nil { logMessage(u.cfg.S3, aws.LogDebug, fmt.Sprintf("failed to abort multipart upload, %v", err)) } }
go
{ "resource": "" }
q286
complete
train
func (u *multiuploader) complete() *s3.CompleteMultipartUploadOutput { if u.geterr() != nil { u.fail() return nil } // Parts must be sorted in PartNumber order. sort.Sort(u.parts) params := &s3.CompleteMultipartUploadInput{ Bucket: u.in.Bucket, Key: u.in.Key, UploadId: &u.uploadID, MultipartUpload: &s3.CompletedMultipartUpload{Parts: u.parts}, } resp, err := u.cfg.S3.CompleteMultipartUploadWithContext(u.ctx, params, u.cfg.RequestOptions...) if err != nil { u.seterr(err) u.fail() } return resp }
go
{ "resource": "" }
q287
InputTokensString
train
func (p *Paginator) InputTokensString() string { str := p.InputTokens.([]string) return fmt.Sprintf("%#v", str) }
go
{ "resource": "" }
q288
OutputTokensString
train
func (p *Paginator) OutputTokensString() string { str := p.OutputTokens.([]string) return fmt.Sprintf("%#v", str) }
go
{ "resource": "" }
q289
setup
train
func (p *paginationDefinitions) setup() { for n, e := range p.Pagination { if e.InputTokens == nil || e.OutputTokens == nil { continue } paginator := e switch t := paginator.InputTokens.(type) { case string: paginator.InputTokens = []string{t} case []interface{}: toks := []string{} for _, e := range t { s := e.(string) toks = append(toks, s) } paginator.InputTokens = toks } switch t := paginator.OutputTokens.(type) { case string: paginator.OutputTokens = []string{t} case []interface{}: toks := []string{} for _, e := range t { s := e.(string) toks = append(toks, s) } paginator.OutputTokens = toks } if o, ok := p.Operations[n]; ok { o.Paginator = &paginator } else { panic("unknown operation for paginator " + n) } } }
go
{ "resource": "" }
q290
WaitUntilAuditReportCreated
train
func (c *ACMPCA) WaitUntilAuditReportCreated(input *DescribeCertificateAuthorityAuditReportInput) error { return c.WaitUntilAuditReportCreatedWithContext(aws.BackgroundContext(), input) }
go
{ "resource": "" }
q291
WaitUntilCertificateAuthorityCSRCreated
train
func (c *ACMPCA) WaitUntilCertificateAuthorityCSRCreated(input *GetCertificateAuthorityCsrInput) error { return c.WaitUntilCertificateAuthorityCSRCreatedWithContext(aws.BackgroundContext(), input) }
go
{ "resource": "" }
q292
WaitUntilCertificateIssued
train
func (c *ACMPCA) WaitUntilCertificateIssued(input *GetCertificateInput) error { return c.WaitUntilCertificateIssuedWithContext(aws.BackgroundContext(), input) }
go
{ "resource": "" }
q293
StringValue
train
func StringValue(i interface{}) string { var buf bytes.Buffer stringValue(reflect.ValueOf(i), 0, &buf) return buf.String() }
go
{ "resource": "" }
q294
SetIntervalMillis
train
func (s *HealthCheckPolicy) SetIntervalMillis(v int64) *HealthCheckPolicy { s.IntervalMillis = &v return s }
go
{ "resource": "" }
q295
SetTimeoutMillis
train
func (s *HealthCheckPolicy) SetTimeoutMillis(v int64) *HealthCheckPolicy { s.TimeoutMillis = &v return s }
go
{ "resource": "" }
q296
SetMatch
train
func (s *HttpRoute) SetMatch(v *HttpRouteMatch) *HttpRoute { s.Match = v return s }
go
{ "resource": "" }
q297
SetMeshes
train
func (s *ListMeshesOutput) SetMeshes(v []*MeshRef) *ListMeshesOutput { s.Meshes = v return s }
go
{ "resource": "" }
q298
SetVirtualNodes
train
func (s *ListVirtualNodesOutput) SetVirtualNodes(v []*VirtualNodeRef) *ListVirtualNodesOutput { s.VirtualNodes = v return s }
go
{ "resource": "" }
q299
SetVirtualRouters
train
func (s *ListVirtualRoutersOutput) SetVirtualRouters(v []*VirtualRouterRef) *ListVirtualRoutersOutput { s.VirtualRouters = v return s }
go
{ "resource": "" }