_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c500
train
// SetHasFlaggedResources sets the HasFlaggedResources field's value.
{ "resource": "" }
c501
train
// SetEstimatedMonthlySavings sets the EstimatedMonthlySavings field's value.
{ "resource": "" }
c502
train
// SetEstimatedPercentMonthlySavings sets the EstimatedPercentMonthlySavings field's value.
{ "resource": "" }
c503
train
// SetIsSuppressed sets the IsSuppressed field's value.
{ "resource": "" }
c504
train
// SetResourcesFlagged sets the ResourcesFlagged field's value.
{ "resource": "" }
c505
train
// SetResourcesIgnored sets the ResourcesIgnored field's value.
{ "resource": "" }
c506
train
// SetResourcesProcessed sets the ResourcesProcessed field's value.
{ "resource": "" }
c507
train
// SetResourcesSuppressed sets the ResourcesSuppressed field's value.
{ "resource": "" }
c508
train
// GoFmt returns the Go formated string of the input. // // Panics if the format fails.
{ "resource": "" }
c509
train
// Capitalize capitalizes the first character of the string.
{ "resource": "" }
c510
train
// SortXML sorts the reader's XML elements
{ "resource": "" }
c511
train
// PrettyPrint generates a human readable representation of the value v. // All values of v are recursively found and pretty printed also.
{ "resource": "" }
c512
train
// SetForceDeleteWithoutRecovery sets the ForceDeleteWithoutRecovery field's value.
{ "resource": "" }
c513
train
// SetRecoveryWindowInDays sets the RecoveryWindowInDays field's value.
{ "resource": "" }
c514
train
// SetVersionIdsToStages sets the VersionIdsToStages field's value.
{ "resource": "" }
c515
train
// SetExcludeCharacters sets the ExcludeCharacters field's value.
{ "resource": "" }
c516
train
// SetExcludeLowercase sets the ExcludeLowercase field's value.
{ "resource": "" }
c517
train
// SetExcludeNumbers sets the ExcludeNumbers field's value.
{ "resource": "" }
c518
train
// SetExcludePunctuation sets the ExcludePunctuation field's value.
{ "resource": "" }
c519
train
// SetExcludeUppercase sets the ExcludeUppercase field's value.
{ "resource": "" }
c520
train
// SetIncludeSpace sets the IncludeSpace field's value.
{ "resource": "" }
c521
train
// SetPasswordLength sets the PasswordLength field's value.
{ "resource": "" }
c522
train
// SetRequireEachIncludedType sets the RequireEachIncludedType field's value.
{ "resource": "" }
c523
train
// SetRandomPassword sets the RandomPassword field's value.
{ "resource": "" }
c524
train
// SetIncludeDeprecated sets the IncludeDeprecated field's value.
{ "resource": "" }
c525
train
// SetSecretList sets the SecretList field's value.
{ "resource": "" }
c526
train
// SetAutomaticallyAfterDays sets the AutomaticallyAfterDays field's value.
{ "resource": "" }
c527
train
// SetSecretVersionsToStages sets the SecretVersionsToStages field's value.
{ "resource": "" }
c528
train
// SetMoveToVersionId sets the MoveToVersionId field's value.
{ "resource": "" }
c529
train
// SetRemoveFromVersionId sets the RemoveFromVersionId field's value.
{ "resource": "" }
c530
train
// SetAuthorizationToken sets the AuthorizationToken field's value.
{ "resource": "" }
c531
train
// SetProxyEndpoint sets the ProxyEndpoint field's value.
{ "resource": "" }
c532
train
// SetAcceptedMediaTypes sets the AcceptedMediaTypes field's value.
{ "resource": "" }
c533
train
// SetImageDetails sets the ImageDetails field's value.
{ "resource": "" }
c534
train
// SetRegistryIds sets the RegistryIds field's value.
{ "resource": "" }
c535
train
// SetAuthorizationData sets the AuthorizationData field's value.
{ "resource": "" }
c536
train
// SetPreviewResults sets the PreviewResults field's value.
{ "resource": "" }
c537
train
// SetImageSizeInBytes sets the ImageSizeInBytes field's value.
{ "resource": "" }
c538
train
// SetLayerAvailability sets the LayerAvailability field's value.
{ "resource": "" }
c539
train
// SetLayerSize sets the LayerSize field's value.
{ "resource": "" }
c540
train
// SetAppliedRulePriority sets the AppliedRulePriority field's value.
{ "resource": "" }
c541
train
// SetExpiringImageTotalCount sets the ExpiringImageTotalCount field's value.
{ "resource": "" }
c542
train
// SetRepositoryArn sets the RepositoryArn field's value.
{ "resource": "" }
c543
train
// SetRepositoryUri sets the RepositoryUri field's value.
{ "resource": "" }
c544
train
// SetLayerPartBlob sets the LayerPartBlob field's value.
{ "resource": "" }
c545
train
// SetPartFirstByte sets the PartFirstByte field's value.
{ "resource": "" }
c546
train
// SetPartLastByte sets the PartLastByte field's value.
{ "resource": "" }
c547
train
// SetLastByteReceived sets the LastByteReceived field's value.
{ "resource": "" }
c548
train
// UnmarshalXML deserializes an xml.Decoder into the container v. V // needs to match the shape of the XML expected to be decoded. // If the shape doesn't match unmarshaling will fail.
{ "resource": "" }
c549
train
// parse deserializes any value from the XMLNode. The type tag is used to infer the type, or reflect // will be used to determine the type from r.
{ "resource": "" }
c550
train
// parseStruct deserializes a structure and its fields from an XMLNode. Any nested // types in the structure will also be deserialized.
{ "resource": "" }
c551
train
// parseList deserializes a list of values from an XML node. Each list entry // will also be deserialized.
{ "resource": "" }
c552
train
// parseMap deserializes a map from an XMLNode. The direct children of the XMLNode // will also be deserialized as map entries.
{ "resource": "" }
c553
train
// parseMapEntry deserializes a map entry from a XML node.
{ "resource": "" }
c554
train
// parseScaller deserializes an XMLNode value into a concrete type based on the // interface type of r. // // Error is returned if the deserialization fails due to invalid type conversion, // or unsupported interface type.
{ "resource": "" }
c555
train
// Copy returns of this handler's lists.
{ "resource": "" }
c556
train
// Clear removes callback functions for all handlers
{ "resource": "" }
c557
train
// copy creates a copy of the handler list.
{ "resource": "" }
c558
train
// PushBackNamed pushes named handler f to the back of the handler list.
{ "resource": "" }
c559
train
// PushFrontNamed pushes named handler f to the front of the handler list.
{ "resource": "" }
c560
train
// RemoveByName removes a NamedHandler by name.
{ "resource": "" }
c561
train
// SwapNamed will swap out any existing handlers with the same name as the // passed in NamedHandler returning true if handlers were swapped. False is // returned otherwise.
{ "resource": "" }
c562
train
// Swap will swap out all handlers matching the name passed in. The matched // handlers will be swapped in. True is returned if the handlers were swapped.
{ "resource": "" }
c563
train
// SetBackNamed will replace the named handler if it exists in the handler list. // If the handler does not exist the handler will be added to the end of the list.
{ "resource": "" }
c564
train
// SetFrontNamed will replace the named handler if it exists in the handler list. // If the handler does not exist the handler will be added to the beginning of // the list.
{ "resource": "" }
c565
train
// Run executes all handlers in the list with a given request object.
{ "resource": "" }
c566
train
// HandlerListLogItem logs the request handler and the state of the // request's Error value. Always returns true to continue iterating // request handlers in a HandlerList.
{ "resource": "" }
c567
train
// WithAppendUserAgent will add a string to the user agent prefixed with a // single white space.
{ "resource": "" }
c568
train
// BuildXML will serialize params into an xml.Encoder. Error will be returned // if the serialization of any of the params or nested values fails.
{ "resource": "" }
c569
train
// Returns the reflection element of a value, if it is a pointer.
{ "resource": "" }
c570
train
// buildValue generic XMLNode builder for any type. Will build value for their specific type // struct, list, map, scalar. // // Also takes a "type" tag value to set what type a value should be converted to XMLNode as. If // type is not provided reflect will be used to determine the value's type.
{ "resource": "" }
c571
train
// buildStruct adds a struct and its fields to the current XMLNode. All fields and any nested // types are converted to XMLNodes also.
{ "resource": "" }
c572
train
// buildList adds the value's list items to the current XMLNode as children nodes. All // nested values in the list are converted to XMLNodes also.
{ "resource": "" }
c573
train
// buildScalar will convert the value into a string and append it as a attribute or child // of the current XMLNode. // // The value will be added as an attribute if tag contains a "xmlAttribute" attribute value. // // Error will be returned if the value type is unsupported.
{ "resource": "" }
c574
train
// WaitUntilIdentityExists uses the Amazon SES API operation // GetIdentityVerificationAttributes to wait for a condition to be met before returning. // If the condition is not met within the max attempt window, an error will // be returned.
{ "resource": "" }
c575
train
// WaitUntilDistributionDeployed uses the CloudFront API operation // GetDistribution to wait for a condition to be met before returning. // If the condition is not met within the max attempt window, an error will // be returned.
{ "resource": "" }
c576
train
// WaitUntilInvalidationCompleted uses the CloudFront API operation // GetInvalidation to wait for a condition to be met before returning. // If the condition is not met within the max attempt window, an error will // be returned.
{ "resource": "" }
c577
train
// WaitUntilStreamingDistributionDeployed uses the CloudFront API operation // GetStreamingDistribution to wait for a condition to be met before returning. // If the condition is not met within the max attempt window, an error will // be returned.
{ "resource": "" }
c578
train
// WaitUntilAppExists uses the AWS OpsWorks API operation // DescribeApps to wait for a condition to be met before returning. // If the condition is not met within the max attempt window, an error will // be returned.
{ "resource": "" }
c579
train
// WaitUntilDeploymentSuccessful uses the AWS OpsWorks API operation // DescribeDeployments to wait for a condition to be met before returning. // If the condition is not met within the max attempt window, an error will // be returned.
{ "resource": "" }
c580
train
// WaitUntilInstanceOnline uses the AWS OpsWorks API operation // DescribeInstances to wait for a condition to be met before returning. // If the condition is not met within the max attempt window, an error will // be returned.
{ "resource": "" }
c581
train
// WaitUntilInstanceRegistered uses the AWS OpsWorks API operation // DescribeInstances to wait for a condition to be met before returning. // If the condition is not met within the max attempt window, an error will // be returned.
{ "resource": "" }
c582
train
// WaitUntilInstanceTerminated uses the AWS OpsWorks API operation // DescribeInstances to wait for a condition to be met before returning. // If the condition is not met within the max attempt window, an error will // be returned.
{ "resource": "" }
c583
train
// SetSharedDirectory sets the SharedDirectory field's value.
{ "resource": "" }
c584
train
// SetIpRoutes sets the IpRoutes field's value.
{ "resource": "" }
c585
train
// SetUpdateSecurityGroupForDirectoryControllers sets the UpdateSecurityGroupForDirectoryControllers field's value.
{ "resource": "" }
c586
train
// SetComputerId sets the ComputerId field's value.
{ "resource": "" }
c587
train
// SetReplicationScope sets the ReplicationScope field's value.
{ "resource": "" }
c588
train
// SetComputer sets the Computer field's value.
{ "resource": "" }
c589
train
// SetConditionalForwarderIpAddrs sets the ConditionalForwarderIpAddrs field's value.
{ "resource": "" }
c590
train
// SetTrustPassword sets the TrustPassword field's value.
{ "resource": "" }
c591
train
// SetDeleteAssociatedConditionalForwarder sets the DeleteAssociatedConditionalForwarder field's value.
{ "resource": "" }
c592
train
// SetRemoteDomainNames sets the RemoteDomainNames field's value.
{ "resource": "" }
c593
train
// SetConditionalForwarders sets the ConditionalForwarders field's value.
{ "resource": "" }
c594
train
// SetDirectoryDescriptions sets the DirectoryDescriptions field's value.
{ "resource": "" }
c595
train
// SetDomainControllerIds sets the DomainControllerIds field's value.
{ "resource": "" }
c596
train
// SetTopicNames sets the TopicNames field's value.
{ "resource": "" }
c597
train
// SetEventTopics sets the EventTopics field's value.
{ "resource": "" }
c598
train
// SetSharedDirectoryIds sets the SharedDirectoryIds field's value.
{ "resource": "" }
c599
train
// SetSharedDirectories sets the SharedDirectories field's value.
{ "resource": "" }