_id
stringlengths 2
7
| title
stringlengths 1
118
| partition
stringclasses 3
values | text
stringlengths 52
85.5k
| language
stringclasses 1
value | meta_information
dict |
---|---|---|---|---|---|
q800 | SetModelPackageSummaryList | train | func (s *ListModelPackagesOutput) SetModelPackageSummaryList(v []*ModelPackageSummary) *ListModelPackagesOutput {
s.ModelPackageSummaryList = v
return s
} | go | {
"resource": ""
} |
q801 | SetModels | train | func (s *ListModelsOutput) SetModels(v []*ModelSummary) *ListModelsOutput {
s.Models = v
return s
} | go | {
"resource": ""
} |
q802 | SetNotebookInstanceLifecycleConfigs | train | func (s *ListNotebookInstanceLifecycleConfigsOutput) SetNotebookInstanceLifecycleConfigs(v []*NotebookInstanceLifecycleConfigSummary) *ListNotebookInstanceLifecycleConfigsOutput {
s.NotebookInstanceLifecycleConfigs = v
return s
} | go | {
"resource": ""
} |
q803 | SetAdditionalCodeRepositoryEquals | train | func (s *ListNotebookInstancesInput) SetAdditionalCodeRepositoryEquals(v string) *ListNotebookInstancesInput {
s.AdditionalCodeRepositoryEquals = &v
return s
} | go | {
"resource": ""
} |
q804 | SetDefaultCodeRepositoryContains | train | func (s *ListNotebookInstancesInput) SetDefaultCodeRepositoryContains(v string) *ListNotebookInstancesInput {
s.DefaultCodeRepositoryContains = &v
return s
} | go | {
"resource": ""
} |
q805 | SetNotebookInstanceLifecycleConfigNameContains | train | func (s *ListNotebookInstancesInput) SetNotebookInstanceLifecycleConfigNameContains(v string) *ListNotebookInstancesInput {
s.NotebookInstanceLifecycleConfigNameContains = &v
return s
} | go | {
"resource": ""
} |
q806 | SetNotebookInstances | train | func (s *ListNotebookInstancesOutput) SetNotebookInstances(v []*NotebookInstanceSummary) *ListNotebookInstancesOutput {
s.NotebookInstances = v
return s
} | go | {
"resource": ""
} |
q807 | SetSubscribedWorkteams | train | func (s *ListSubscribedWorkteamsOutput) SetSubscribedWorkteams(v []*SubscribedWorkteam) *ListSubscribedWorkteamsOutput {
s.SubscribedWorkteams = v
return s
} | go | {
"resource": ""
} |
q808 | SetTransformJobSummaries | train | func (s *ListTransformJobsOutput) SetTransformJobSummaries(v []*TransformJobSummary) *ListTransformJobsOutput {
s.TransformJobSummaries = v
return s
} | go | {
"resource": ""
} |
q809 | SetWorkteams | train | func (s *ListWorkteamsOutput) SetWorkteams(v []*Workteam) *ListWorkteamsOutput {
s.Workteams = v
return s
} | go | {
"resource": ""
} |
q810 | SetCognitoMemberDefinition | train | func (s *MemberDefinition) SetCognitoMemberDefinition(v *CognitoMemberDefinition) *MemberDefinition {
s.CognitoMemberDefinition = v
return s
} | go | {
"resource": ""
} |
q811 | SetS3ModelArtifacts | train | func (s *ModelArtifacts) SetS3ModelArtifacts(v string) *ModelArtifacts {
s.S3ModelArtifacts = &v
return s
} | go | {
"resource": ""
} |
q812 | SetNestedPropertyName | train | func (s *NestedFilters) SetNestedPropertyName(v string) *NestedFilters {
s.NestedPropertyName = &v
return s
} | go | {
"resource": ""
} |
q813 | SetS3OutputLocation | train | func (s *OutputConfig) SetS3OutputLocation(v string) *OutputConfig {
s.S3OutputLocation = &v
return s
} | go | {
"resource": ""
} |
q814 | SetTargetDevice | train | func (s *OutputConfig) SetTargetDevice(v string) *OutputConfig {
s.TargetDevice = &v
return s
} | go | {
"resource": ""
} |
q815 | SetCategoricalParameterRangeSpecification | train | func (s *ParameterRange) SetCategoricalParameterRangeSpecification(v *CategoricalParameterRangeSpecification) *ParameterRange {
s.CategoricalParameterRangeSpecification = v
return s
} | go | {
"resource": ""
} |
q816 | SetContinuousParameterRangeSpecification | train | func (s *ParameterRange) SetContinuousParameterRangeSpecification(v *ContinuousParameterRangeSpecification) *ParameterRange {
s.ContinuousParameterRangeSpecification = v
return s
} | go | {
"resource": ""
} |
q817 | SetIntegerParameterRangeSpecification | train | func (s *ParameterRange) SetIntegerParameterRangeSpecification(v *IntegerParameterRangeSpecification) *ParameterRange {
s.IntegerParameterRangeSpecification = v
return s
} | go | {
"resource": ""
} |
q818 | SetCategoricalParameterRanges | train | func (s *ParameterRanges) SetCategoricalParameterRanges(v []*CategoricalParameterRange) *ParameterRanges {
s.CategoricalParameterRanges = v
return s
} | go | {
"resource": ""
} |
q819 | SetContinuousParameterRanges | train | func (s *ParameterRanges) SetContinuousParameterRanges(v []*ContinuousParameterRange) *ParameterRanges {
s.ContinuousParameterRanges = v
return s
} | go | {
"resource": ""
} |
q820 | SetIntegerParameterRanges | train | func (s *ParameterRanges) SetIntegerParameterRanges(v []*IntegerParameterRange) *ParameterRanges {
s.IntegerParameterRanges = v
return s
} | go | {
"resource": ""
} |
q821 | SetAcceleratorType | train | func (s *ProductionVariant) SetAcceleratorType(v string) *ProductionVariant {
s.AcceleratorType = &v
return s
} | go | {
"resource": ""
} |
q822 | SetInitialInstanceCount | train | func (s *ProductionVariant) SetInitialInstanceCount(v int64) *ProductionVariant {
s.InitialInstanceCount = &v
return s
} | go | {
"resource": ""
} |
q823 | SetInitialVariantWeight | train | func (s *ProductionVariant) SetInitialVariantWeight(v float64) *ProductionVariant {
s.InitialVariantWeight = &v
return s
} | go | {
"resource": ""
} |
q824 | SetCurrentInstanceCount | train | func (s *ProductionVariantSummary) SetCurrentInstanceCount(v int64) *ProductionVariantSummary {
s.CurrentInstanceCount = &v
return s
} | go | {
"resource": ""
} |
q825 | SetCurrentWeight | train | func (s *ProductionVariantSummary) SetCurrentWeight(v float64) *ProductionVariantSummary {
s.CurrentWeight = &v
return s
} | go | {
"resource": ""
} |
q826 | SetDeployedImages | train | func (s *ProductionVariantSummary) SetDeployedImages(v []*DeployedImage) *ProductionVariantSummary {
s.DeployedImages = v
return s
} | go | {
"resource": ""
} |
q827 | SetPropertyNameHint | train | func (s *PropertyNameQuery) SetPropertyNameHint(v string) *PropertyNameQuery {
s.PropertyNameHint = &v
return s
} | go | {
"resource": ""
} |
q828 | SetPropertyName | train | func (s *PropertyNameSuggestion) SetPropertyName(v string) *PropertyNameSuggestion {
s.PropertyName = &v
return s
} | go | {
"resource": ""
} |
q829 | SetAmountInUsd | train | func (s *PublicWorkforceTaskPrice) SetAmountInUsd(v *USD) *PublicWorkforceTaskPrice {
s.AmountInUsd = v
return s
} | go | {
"resource": ""
} |
q830 | SetUiTemplate | train | func (s *RenderUiTemplateInput) SetUiTemplate(v *UiTemplate) *RenderUiTemplateInput {
s.UiTemplate = v
return s
} | go | {
"resource": ""
} |
q831 | SetRenderedContent | train | func (s *RenderUiTemplateOutput) SetRenderedContent(v string) *RenderUiTemplateOutput {
s.RenderedContent = &v
return s
} | go | {
"resource": ""
} |
q832 | SetMaxNumberOfTrainingJobs | train | func (s *ResourceLimits) SetMaxNumberOfTrainingJobs(v int64) *ResourceLimits {
s.MaxNumberOfTrainingJobs = &v
return s
} | go | {
"resource": ""
} |
q833 | SetMaxParallelTrainingJobs | train | func (s *ResourceLimits) SetMaxParallelTrainingJobs(v int64) *ResourceLimits {
s.MaxParallelTrainingJobs = &v
return s
} | go | {
"resource": ""
} |
q834 | SetS3DataDistributionType | train | func (s *S3DataSource) SetS3DataDistributionType(v string) *S3DataSource {
s.S3DataDistributionType = &v
return s
} | go | {
"resource": ""
} |
q835 | SetNestedFilters | train | func (s *SearchExpression) SetNestedFilters(v []*NestedFilters) *SearchExpression {
s.NestedFilters = v
return s
} | go | {
"resource": ""
} |
q836 | SetSubExpressions | train | func (s *SearchExpression) SetSubExpressions(v []*SearchExpression) *SearchExpression {
s.SubExpressions = v
return s
} | go | {
"resource": ""
} |
q837 | SetSearchExpression | train | func (s *SearchInput) SetSearchExpression(v *SearchExpression) *SearchInput {
s.SearchExpression = v
return s
} | go | {
"resource": ""
} |
q838 | SetTrainingJob | train | func (s *SearchRecord) SetTrainingJob(v *TrainingJob) *SearchRecord {
s.TrainingJob = v
return s
} | go | {
"resource": ""
} |
q839 | SetSourceAlgorithms | train | func (s *SourceAlgorithmSpecification) SetSourceAlgorithms(v []*SourceAlgorithm) *SourceAlgorithmSpecification {
s.SourceAlgorithms = v
return s
} | go | {
"resource": ""
} |
q840 | SetMaxRuntimeInSeconds | train | func (s *StoppingCondition) SetMaxRuntimeInSeconds(v int64) *StoppingCondition {
s.MaxRuntimeInSeconds = &v
return s
} | go | {
"resource": ""
} |
q841 | SetListingId | train | func (s *SubscribedWorkteam) SetListingId(v string) *SubscribedWorkteam {
s.ListingId = &v
return s
} | go | {
"resource": ""
} |
q842 | SetMarketplaceDescription | train | func (s *SubscribedWorkteam) SetMarketplaceDescription(v string) *SubscribedWorkteam {
s.MarketplaceDescription = &v
return s
} | go | {
"resource": ""
} |
q843 | SetMarketplaceTitle | train | func (s *SubscribedWorkteam) SetMarketplaceTitle(v string) *SubscribedWorkteam {
s.MarketplaceTitle = &v
return s
} | go | {
"resource": ""
} |
q844 | SetSellerName | train | func (s *SubscribedWorkteam) SetSellerName(v string) *SubscribedWorkteam {
s.SellerName = &v
return s
} | go | {
"resource": ""
} |
q845 | SetPropertyNameQuery | train | func (s *SuggestionQuery) SetPropertyNameQuery(v *PropertyNameQuery) *SuggestionQuery {
s.PropertyNameQuery = v
return s
} | go | {
"resource": ""
} |
q846 | SetNonRetryableError | train | func (s *TrainingJobStatusCounters) SetNonRetryableError(v int64) *TrainingJobStatusCounters {
s.NonRetryableError = &v
return s
} | go | {
"resource": ""
} |
q847 | SetRetryableError | train | func (s *TrainingJobStatusCounters) SetRetryableError(v int64) *TrainingJobStatusCounters {
s.RetryableError = &v
return s
} | go | {
"resource": ""
} |
q848 | SetSupportedHyperParameters | train | func (s *TrainingSpecification) SetSupportedHyperParameters(v []*HyperParameterSpecification) *TrainingSpecification {
s.SupportedHyperParameters = v
return s
} | go | {
"resource": ""
} |
q849 | SetSupportedTrainingInstanceTypes | train | func (s *TrainingSpecification) SetSupportedTrainingInstanceTypes(v []*string) *TrainingSpecification {
s.SupportedTrainingInstanceTypes = v
return s
} | go | {
"resource": ""
} |
q850 | SetSupportedTuningJobObjectiveMetrics | train | func (s *TrainingSpecification) SetSupportedTuningJobObjectiveMetrics(v []*HyperParameterTuningJobObjective) *TrainingSpecification {
s.SupportedTuningJobObjectiveMetrics = v
return s
} | go | {
"resource": ""
} |
q851 | SetSupportsDistributedTraining | train | func (s *TrainingSpecification) SetSupportsDistributedTraining(v bool) *TrainingSpecification {
s.SupportsDistributedTraining = &v
return s
} | go | {
"resource": ""
} |
q852 | SetTrainingChannels | train | func (s *TrainingSpecification) SetTrainingChannels(v []*ChannelSpecification) *TrainingSpecification {
s.TrainingChannels = v
return s
} | go | {
"resource": ""
} |
q853 | SetTrainingImageDigest | train | func (s *TrainingSpecification) SetTrainingImageDigest(v string) *TrainingSpecification {
s.TrainingImageDigest = &v
return s
} | go | {
"resource": ""
} |
q854 | SetSplitType | train | func (s *TransformInput) SetSplitType(v string) *TransformInput {
s.SplitType = &v
return s
} | go | {
"resource": ""
} |
q855 | SetAssembleWith | train | func (s *TransformOutput) SetAssembleWith(v string) *TransformOutput {
s.AssembleWith = &v
return s
} | go | {
"resource": ""
} |
q856 | SetCents | train | func (s *USD) SetCents(v int64) *USD {
s.Cents = &v
return s
} | go | {
"resource": ""
} |
q857 | SetDollars | train | func (s *USD) SetDollars(v int64) *USD {
s.Dollars = &v
return s
} | go | {
"resource": ""
} |
q858 | SetTenthFractionsOfACent | train | func (s *USD) SetTenthFractionsOfACent(v int64) *USD {
s.TenthFractionsOfACent = &v
return s
} | go | {
"resource": ""
} |
q859 | SetUiTemplateS3Uri | train | func (s *UiConfig) SetUiTemplateS3Uri(v string) *UiConfig {
s.UiTemplateS3Uri = &v
return s
} | go | {
"resource": ""
} |
q860 | SetDesiredWeightsAndCapacities | train | func (s *UpdateEndpointWeightsAndCapacitiesInput) SetDesiredWeightsAndCapacities(v []*DesiredWeightAndCapacity) *UpdateEndpointWeightsAndCapacitiesInput {
s.DesiredWeightsAndCapacities = v
return s
} | go | {
"resource": ""
} |
q861 | SetDisassociateAcceleratorTypes | train | func (s *UpdateNotebookInstanceInput) SetDisassociateAcceleratorTypes(v bool) *UpdateNotebookInstanceInput {
s.DisassociateAcceleratorTypes = &v
return s
} | go | {
"resource": ""
} |
q862 | SetDisassociateAdditionalCodeRepositories | train | func (s *UpdateNotebookInstanceInput) SetDisassociateAdditionalCodeRepositories(v bool) *UpdateNotebookInstanceInput {
s.DisassociateAdditionalCodeRepositories = &v
return s
} | go | {
"resource": ""
} |
q863 | SetDisassociateDefaultCodeRepository | train | func (s *UpdateNotebookInstanceInput) SetDisassociateDefaultCodeRepository(v bool) *UpdateNotebookInstanceInput {
s.DisassociateDefaultCodeRepository = &v
return s
} | go | {
"resource": ""
} |
q864 | SetDisassociateLifecycleConfig | train | func (s *UpdateNotebookInstanceInput) SetDisassociateLifecycleConfig(v bool) *UpdateNotebookInstanceInput {
s.DisassociateLifecycleConfig = &v
return s
} | go | {
"resource": ""
} |
q865 | SetProductListingIds | train | func (s *Workteam) SetProductListingIds(v []*string) *Workteam {
s.ProductListingIds = v
return s
} | go | {
"resource": ""
} |
q866 | SetSubDomain | train | func (s *Workteam) SetSubDomain(v string) *Workteam {
s.SubDomain = &v
return s
} | go | {
"resource": ""
} |
q867 | S3ManagerUploadInputGoCode | train | func S3ManagerUploadInputGoCode(a *API) string {
if v := a.PackageName(); v != "s3" {
panic(fmt.Sprintf("unexpected API model %s", v))
}
s, ok := a.Shapes["PutObjectInput"]
if !ok {
panic(fmt.Sprintf("unable to find PutObjectInput shape in S3 model"))
}
a.resetImports()
a.imports["io"] = true
a.imports["time"] = true
var w bytes.Buffer
if err := s3managerUploadInputTmpl.Execute(&w, s); err != nil {
panic(fmt.Sprintf("failed to execute %s template, %v",
s3managerUploadInputTmpl.Name(), err))
}
return a.importsGoCode() + w.String()
} | go | {
"resource": ""
} |
q868 | SetIntervalUnit | train | func (s *CreateRule) SetIntervalUnit(v string) *CreateRule {
s.IntervalUnit = &v
return s
} | go | {
"resource": ""
} |
q869 | SetTimes | train | func (s *CreateRule) SetTimes(v []*string) *CreateRule {
s.Times = v
return s
} | go | {
"resource": ""
} |
q870 | SetPolicyIds | train | func (s *GetLifecyclePoliciesInput) SetPolicyIds(v []*string) *GetLifecyclePoliciesInput {
s.PolicyIds = v
return s
} | go | {
"resource": ""
} |
q871 | SetDateModified | train | func (s *LifecyclePolicy) SetDateModified(v time.Time) *LifecyclePolicy {
s.DateModified = &v
return s
} | go | {
"resource": ""
} |
q872 | SetSchedules | train | func (s *PolicyDetails) SetSchedules(v []*Schedule) *PolicyDetails {
s.Schedules = v
return s
} | go | {
"resource": ""
} |
q873 | SetCreateRule | train | func (s *Schedule) SetCreateRule(v *CreateRule) *Schedule {
s.CreateRule = v
return s
} | go | {
"resource": ""
} |
q874 | SetRetainRule | train | func (s *Schedule) SetRetainRule(v *RetainRule) *Schedule {
s.RetainRule = v
return s
} | go | {
"resource": ""
} |
q875 | SetLicenseBody | train | func (s *CreateApplicationRequest) SetLicenseBody(v string) *CreateApplicationRequest {
s.LicenseBody = &v
return s
} | go | {
"resource": ""
} |
q876 | SetDependencies | train | func (s *ListApplicationDependenciesOutput) SetDependencies(v []*ApplicationDependencySummary) *ListApplicationDependenciesOutput {
s.Dependencies = v
return s
} | go | {
"resource": ""
} |
q877 | SetConstraintDescription | train | func (s *ParameterDefinition) SetConstraintDescription(v string) *ParameterDefinition {
s.ConstraintDescription = &v
return s
} | go | {
"resource": ""
} |
q878 | SetReferencedByResources | train | func (s *ParameterDefinition) SetReferencedByResources(v []*string) *ParameterDefinition {
s.ReferencedByResources = v
return s
} | go | {
"resource": ""
} |
q879 | SetMonitoringTimeInMinutes | train | func (s *RollbackConfiguration) SetMonitoringTimeInMinutes(v int64) *RollbackConfiguration {
s.MonitoringTimeInMinutes = &v
return s
} | go | {
"resource": ""
} |
q880 | SetRollbackTriggers | train | func (s *RollbackConfiguration) SetRollbackTriggers(v []*RollbackTrigger) *RollbackConfiguration {
s.RollbackTriggers = v
return s
} | go | {
"resource": ""
} |
q881 | SetAccountQuotaName | train | func (s *AccountQuota) SetAccountQuotaName(v string) *AccountQuota {
s.AccountQuotaName = &v
return s
} | go | {
"resource": ""
} |
q882 | SetUseEarliestTimeOnPointInTimeUnavailable | train | func (s *BacktrackDBClusterInput) SetUseEarliestTimeOnPointInTimeUnavailable(v bool) *BacktrackDBClusterInput {
s.UseEarliestTimeOnPointInTimeUnavailable = &v
return s
} | go | {
"resource": ""
} |
q883 | SetBacktrackRequestCreationTime | train | func (s *BacktrackDBClusterOutput) SetBacktrackRequestCreationTime(v time.Time) *BacktrackDBClusterOutput {
s.BacktrackRequestCreationTime = &v
return s
} | go | {
"resource": ""
} |
q884 | SetBacktrackedFrom | train | func (s *BacktrackDBClusterOutput) SetBacktrackedFrom(v time.Time) *BacktrackDBClusterOutput {
s.BacktrackedFrom = &v
return s
} | go | {
"resource": ""
} |
q885 | SetCertificateType | train | func (s *Certificate) SetCertificateType(v string) *Certificate {
s.CertificateType = &v
return s
} | go | {
"resource": ""
} |
q886 | SetThumbprint | train | func (s *Certificate) SetThumbprint(v string) *Certificate {
s.Thumbprint = &v
return s
} | go | {
"resource": ""
} |
q887 | SetValidFrom | train | func (s *Certificate) SetValidFrom(v time.Time) *Certificate {
s.ValidFrom = &v
return s
} | go | {
"resource": ""
} |
q888 | SetValidTill | train | func (s *Certificate) SetValidTill(v time.Time) *Certificate {
s.ValidTill = &v
return s
} | go | {
"resource": ""
} |
q889 | SetTargetDBSnapshotIdentifier | train | func (s *CopyDBSnapshotInput) SetTargetDBSnapshotIdentifier(v string) *CopyDBSnapshotInput {
s.TargetDBSnapshotIdentifier = &v
return s
} | go | {
"resource": ""
} |
q890 | SetSourceOptionGroupIdentifier | train | func (s *CopyOptionGroupInput) SetSourceOptionGroupIdentifier(v string) *CopyOptionGroupInput {
s.SourceOptionGroupIdentifier = &v
return s
} | go | {
"resource": ""
} |
q891 | SetTargetOptionGroupDescription | train | func (s *CopyOptionGroupInput) SetTargetOptionGroupDescription(v string) *CopyOptionGroupInput {
s.TargetOptionGroupDescription = &v
return s
} | go | {
"resource": ""
} |
q892 | SetTargetOptionGroupIdentifier | train | func (s *CopyOptionGroupInput) SetTargetOptionGroupIdentifier(v string) *CopyOptionGroupInput {
s.TargetOptionGroupIdentifier = &v
return s
} | go | {
"resource": ""
} |
q893 | SetBacktrackConsumedChangeRecords | train | func (s *DBCluster) SetBacktrackConsumedChangeRecords(v int64) *DBCluster {
s.BacktrackConsumedChangeRecords = &v
return s
} | go | {
"resource": ""
} |
q894 | SetCustomEndpoints | train | func (s *DBCluster) SetCustomEndpoints(v []*string) *DBCluster {
s.CustomEndpoints = v
return s
} | go | {
"resource": ""
} |
q895 | SetEarliestBacktrackTime | train | func (s *DBCluster) SetEarliestBacktrackTime(v time.Time) *DBCluster {
s.EarliestBacktrackTime = &v
return s
} | go | {
"resource": ""
} |
q896 | SetHttpEndpointEnabled | train | func (s *DBCluster) SetHttpEndpointEnabled(v bool) *DBCluster {
s.HttpEndpointEnabled = &v
return s
} | go | {
"resource": ""
} |
q897 | SetScalingConfigurationInfo | train | func (s *DBCluster) SetScalingConfigurationInfo(v *ScalingConfigurationInfo) *DBCluster {
s.ScalingConfigurationInfo = v
return s
} | go | {
"resource": ""
} |
q898 | SetSupportedFeatureNames | train | func (s *DBEngineVersion) SetSupportedFeatureNames(v []*string) *DBEngineVersion {
s.SupportedFeatureNames = v
return s
} | go | {
"resource": ""
} |
q899 | SetListenerEndpoint | train | func (s *DBInstance) SetListenerEndpoint(v *Endpoint) *DBInstance {
s.ListenerEndpoint = v
return s
} | go | {
"resource": ""
} |