_id
stringlengths
2
7
title
stringlengths
1
118
partition
stringclasses
3 values
text
stringlengths
52
85.5k
language
stringclasses
1 value
meta_information
dict
q1200
SetStatus5xx
train
func (s *StatusCodes) SetStatus5xx(v int64) *StatusCodes { s.Status5xx = &v return s }
go
{ "resource": "" }
q1201
SetDestinationEnvironmentId
train
func (s *SwapEnvironmentCNAMEsInput) SetDestinationEnvironmentId(v string) *SwapEnvironmentCNAMEsInput { s.DestinationEnvironmentId = &v return s }
go
{ "resource": "" }
q1202
SetDestinationEnvironmentName
train
func (s *SwapEnvironmentCNAMEsInput) SetDestinationEnvironmentName(v string) *SwapEnvironmentCNAMEsInput { s.DestinationEnvironmentName = &v return s }
go
{ "resource": "" }
q1203
SetSourceEnvironmentId
train
func (s *SwapEnvironmentCNAMEsInput) SetSourceEnvironmentId(v string) *SwapEnvironmentCNAMEsInput { s.SourceEnvironmentId = &v return s }
go
{ "resource": "" }
q1204
SetSourceEnvironmentName
train
func (s *SwapEnvironmentCNAMEsInput) SetSourceEnvironmentName(v string) *SwapEnvironmentCNAMEsInput { s.SourceEnvironmentName = &v return s }
go
{ "resource": "" }
q1205
SetCPUUtilization
train
func (s *SystemStatus) SetCPUUtilization(v *CPUUtilization) *SystemStatus { s.CPUUtilization = v return s }
go
{ "resource": "" }
q1206
SetLoadAverage
train
func (s *SystemStatus) SetLoadAverage(v []*float64) *SystemStatus { s.LoadAverage = v return s }
go
{ "resource": "" }
q1207
SetForceTerminate
train
func (s *TerminateEnvironmentInput) SetForceTerminate(v bool) *TerminateEnvironmentInput { s.ForceTerminate = &v return s }
go
{ "resource": "" }
q1208
SetTerminateResources
train
func (s *TerminateEnvironmentInput) SetTerminateResources(v bool) *TerminateEnvironmentInput { s.TerminateResources = &v return s }
go
{ "resource": "" }
q1209
WaitUntilEndpointDeleted
train
func (c *SageMaker) WaitUntilEndpointDeleted(input *DescribeEndpointInput) error { return c.WaitUntilEndpointDeletedWithContext(aws.BackgroundContext(), input) }
go
{ "resource": "" }
q1210
WaitUntilEndpointInService
train
func (c *SageMaker) WaitUntilEndpointInService(input *DescribeEndpointInput) error { return c.WaitUntilEndpointInServiceWithContext(aws.BackgroundContext(), input) }
go
{ "resource": "" }
q1211
WaitUntilNotebookInstanceDeleted
train
func (c *SageMaker) WaitUntilNotebookInstanceDeleted(input *DescribeNotebookInstanceInput) error { return c.WaitUntilNotebookInstanceDeletedWithContext(aws.BackgroundContext(), input) }
go
{ "resource": "" }
q1212
WaitUntilNotebookInstanceInService
train
func (c *SageMaker) WaitUntilNotebookInstanceInService(input *DescribeNotebookInstanceInput) error { return c.WaitUntilNotebookInstanceInServiceWithContext(aws.BackgroundContext(), input) }
go
{ "resource": "" }
q1213
WaitUntilNotebookInstanceStopped
train
func (c *SageMaker) WaitUntilNotebookInstanceStopped(input *DescribeNotebookInstanceInput) error { return c.WaitUntilNotebookInstanceStoppedWithContext(aws.BackgroundContext(), input) }
go
{ "resource": "" }
q1214
WaitUntilTrainingJobCompletedOrStopped
train
func (c *SageMaker) WaitUntilTrainingJobCompletedOrStopped(input *DescribeTrainingJobInput) error { return c.WaitUntilTrainingJobCompletedOrStoppedWithContext(aws.BackgroundContext(), input) }
go
{ "resource": "" }
q1215
WaitUntilTransformJobCompletedOrStopped
train
func (c *SageMaker) WaitUntilTransformJobCompletedOrStopped(input *DescribeTransformJobInput) error { return c.WaitUntilTransformJobCompletedOrStoppedWithContext(aws.BackgroundContext(), input) }
go
{ "resource": "" }
q1216
Build
train
func Build(r *request.Request) { body := url.Values{ "Action": {r.Operation.Name}, "Version": {r.ClientInfo.APIVersion}, } if err := queryutil.Parse(body, r.Params, false); err != nil { r.Error = awserr.New("SerializationError", "failed encoding Query request", err) return } if !r.IsPresigned() { r.HTTPRequest.Method = "POST" r.HTTPRequest.Header.Set("Content-Type", "application/x-www-form-urlencoded; charset=utf-8") r.SetBufferBody([]byte(body.Encode())) } else { // This is a pre-signed request r.HTTPRequest.Method = "GET" r.HTTPRequest.URL.RawQuery = body.Encode() } }
go
{ "resource": "" }
q1217
SetNotify
train
func (s *AccountTakeoverActionType) SetNotify(v bool) *AccountTakeoverActionType { s.Notify = &v return s }
go
{ "resource": "" }
q1218
SetHighAction
train
func (s *AccountTakeoverActionsType) SetHighAction(v *AccountTakeoverActionType) *AccountTakeoverActionsType { s.HighAction = v return s }
go
{ "resource": "" }
q1219
SetLowAction
train
func (s *AccountTakeoverActionsType) SetLowAction(v *AccountTakeoverActionType) *AccountTakeoverActionsType { s.LowAction = v return s }
go
{ "resource": "" }
q1220
SetMediumAction
train
func (s *AccountTakeoverActionsType) SetMediumAction(v *AccountTakeoverActionType) *AccountTakeoverActionsType { s.MediumAction = v return s }
go
{ "resource": "" }
q1221
SetNotifyConfiguration
train
func (s *AccountTakeoverRiskConfigurationType) SetNotifyConfiguration(v *NotifyConfigurationType) *AccountTakeoverRiskConfigurationType { s.NotifyConfiguration = v return s }
go
{ "resource": "" }
q1222
SetAllowAdminCreateUserOnly
train
func (s *AdminCreateUserConfigType) SetAllowAdminCreateUserOnly(v bool) *AdminCreateUserConfigType { s.AllowAdminCreateUserOnly = &v return s }
go
{ "resource": "" }
q1223
SetInviteMessageTemplate
train
func (s *AdminCreateUserConfigType) SetInviteMessageTemplate(v *MessageTemplateType) *AdminCreateUserConfigType { s.InviteMessageTemplate = v return s }
go
{ "resource": "" }
q1224
SetUnusedAccountValidityDays
train
func (s *AdminCreateUserConfigType) SetUnusedAccountValidityDays(v int64) *AdminCreateUserConfigType { s.UnusedAccountValidityDays = &v return s }
go
{ "resource": "" }
q1225
SetDesiredDeliveryMediums
train
func (s *AdminCreateUserInput) SetDesiredDeliveryMediums(v []*string) *AdminCreateUserInput { s.DesiredDeliveryMediums = v return s }
go
{ "resource": "" }
q1226
SetTemporaryPassword
train
func (s *AdminCreateUserInput) SetTemporaryPassword(v string) *AdminCreateUserInput { s.TemporaryPassword = &v return s }
go
{ "resource": "" }
q1227
SetDestinationUser
train
func (s *AdminLinkProviderForUserInput) SetDestinationUser(v *ProviderUserIdentifierType) *AdminLinkProviderForUserInput { s.DestinationUser = v return s }
go
{ "resource": "" }
q1228
SetSourceUser
train
func (s *AdminLinkProviderForUserInput) SetSourceUser(v *ProviderUserIdentifierType) *AdminLinkProviderForUserInput { s.SourceUser = v return s }
go
{ "resource": "" }
q1229
SetAuthEvents
train
func (s *AdminListUserAuthEventsOutput) SetAuthEvents(v []*AuthEventType) *AdminListUserAuthEventsOutput { s.AuthEvents = v return s }
go
{ "resource": "" }
q1230
SetUserDataShared
train
func (s *AnalyticsConfigurationType) SetUserDataShared(v bool) *AnalyticsConfigurationType { s.UserDataShared = &v return s }
go
{ "resource": "" }
q1231
SetAnalyticsEndpointId
train
func (s *AnalyticsMetadataType) SetAnalyticsEndpointId(v string) *AnalyticsMetadataType { s.AnalyticsEndpointId = &v return s }
go
{ "resource": "" }
q1232
SetSecretCode
train
func (s *AssociateSoftwareTokenOutput) SetSecretCode(v string) *AssociateSoftwareTokenOutput { s.SecretCode = &v return s }
go
{ "resource": "" }
q1233
SetEventContextData
train
func (s *AuthEventType) SetEventContextData(v *EventContextDataType) *AuthEventType { s.EventContextData = v return s }
go
{ "resource": "" }
q1234
SetEventFeedback
train
func (s *AuthEventType) SetEventFeedback(v *EventFeedbackType) *AuthEventType { s.EventFeedback = v return s }
go
{ "resource": "" }
q1235
SetEventResponse
train
func (s *AuthEventType) SetEventResponse(v string) *AuthEventType { s.EventResponse = &v return s }
go
{ "resource": "" }
q1236
SetEventRisk
train
func (s *AuthEventType) SetEventRisk(v *EventRiskType) *AuthEventType { s.EventRisk = v return s }
go
{ "resource": "" }
q1237
SetExpiresIn
train
func (s *AuthenticationResultType) SetExpiresIn(v int64) *AuthenticationResultType { s.ExpiresIn = &v return s }
go
{ "resource": "" }
q1238
SetIdToken
train
func (s *AuthenticationResultType) SetIdToken(v string) *AuthenticationResultType { s.IdToken = &v return s }
go
{ "resource": "" }
q1239
SetNewDeviceMetadata
train
func (s *AuthenticationResultType) SetNewDeviceMetadata(v *NewDeviceMetadataType) *AuthenticationResultType { s.NewDeviceMetadata = v return s }
go
{ "resource": "" }
q1240
SetTokenType
train
func (s *AuthenticationResultType) SetTokenType(v string) *AuthenticationResultType { s.TokenType = &v return s }
go
{ "resource": "" }
q1241
SetChallengeResponse
train
func (s *ChallengeResponseType) SetChallengeResponse(v string) *ChallengeResponseType { s.ChallengeResponse = &v return s }
go
{ "resource": "" }
q1242
SetPreviousPassword
train
func (s *ChangePasswordInput) SetPreviousPassword(v string) *ChangePasswordInput { s.PreviousPassword = &v return s }
go
{ "resource": "" }
q1243
SetProposedPassword
train
func (s *ChangePasswordInput) SetProposedPassword(v string) *ChangePasswordInput { s.ProposedPassword = &v return s }
go
{ "resource": "" }
q1244
SetDeviceSecretVerifierConfig
train
func (s *ConfirmDeviceInput) SetDeviceSecretVerifierConfig(v *DeviceSecretVerifierConfigType) *ConfirmDeviceInput { s.DeviceSecretVerifierConfig = v return s }
go
{ "resource": "" }
q1245
SetUserConfirmationNecessary
train
func (s *ConfirmDeviceOutput) SetUserConfirmationNecessary(v bool) *ConfirmDeviceOutput { s.UserConfirmationNecessary = &v return s }
go
{ "resource": "" }
q1246
SetHttpHeaders
train
func (s *ContextDataType) SetHttpHeaders(v []*HttpHeader) *ContextDataType { s.HttpHeaders = v return s }
go
{ "resource": "" }
q1247
SetServerPath
train
func (s *ContextDataType) SetServerPath(v string) *ContextDataType { s.ServerPath = &v return s }
go
{ "resource": "" }
q1248
SetGenerateSecret
train
func (s *CreateUserPoolClientInput) SetGenerateSecret(v bool) *CreateUserPoolClientInput { s.GenerateSecret = &v return s }
go
{ "resource": "" }
q1249
SetDomainDescription
train
func (s *DescribeUserPoolDomainOutput) SetDomainDescription(v *DomainDescriptionType) *DescribeUserPoolDomainOutput { s.DomainDescription = v return s }
go
{ "resource": "" }
q1250
SetChallengeRequiredOnNewDevice
train
func (s *DeviceConfigurationType) SetChallengeRequiredOnNewDevice(v bool) *DeviceConfigurationType { s.ChallengeRequiredOnNewDevice = &v return s }
go
{ "resource": "" }
q1251
SetDeviceOnlyRememberedOnUserPrompt
train
func (s *DeviceConfigurationType) SetDeviceOnlyRememberedOnUserPrompt(v bool) *DeviceConfigurationType { s.DeviceOnlyRememberedOnUserPrompt = &v return s }
go
{ "resource": "" }
q1252
SetPasswordVerifier
train
func (s *DeviceSecretVerifierConfigType) SetPasswordVerifier(v string) *DeviceSecretVerifierConfigType { s.PasswordVerifier = &v return s }
go
{ "resource": "" }
q1253
SetDeviceAttributes
train
func (s *DeviceType) SetDeviceAttributes(v []*AttributeType) *DeviceType { s.DeviceAttributes = v return s }
go
{ "resource": "" }
q1254
SetDeviceCreateDate
train
func (s *DeviceType) SetDeviceCreateDate(v time.Time) *DeviceType { s.DeviceCreateDate = &v return s }
go
{ "resource": "" }
q1255
SetDeviceLastAuthenticatedDate
train
func (s *DeviceType) SetDeviceLastAuthenticatedDate(v time.Time) *DeviceType { s.DeviceLastAuthenticatedDate = &v return s }
go
{ "resource": "" }
q1256
SetCloudFrontDistribution
train
func (s *DomainDescriptionType) SetCloudFrontDistribution(v string) *DomainDescriptionType { s.CloudFrontDistribution = &v return s }
go
{ "resource": "" }
q1257
SetEmailSendingAccount
train
func (s *EmailConfigurationType) SetEmailSendingAccount(v string) *EmailConfigurationType { s.EmailSendingAccount = &v return s }
go
{ "resource": "" }
q1258
SetReplyToEmailAddress
train
func (s *EmailConfigurationType) SetReplyToEmailAddress(v string) *EmailConfigurationType { s.ReplyToEmailAddress = &v return s }
go
{ "resource": "" }
q1259
SetFeedbackDate
train
func (s *EventFeedbackType) SetFeedbackDate(v time.Time) *EventFeedbackType { s.FeedbackDate = &v return s }
go
{ "resource": "" }
q1260
SetRiskDecision
train
func (s *EventRiskType) SetRiskDecision(v string) *EventRiskType { s.RiskDecision = &v return s }
go
{ "resource": "" }
q1261
SetRiskLevel
train
func (s *EventRiskType) SetRiskLevel(v string) *EventRiskType { s.RiskLevel = &v return s }
go
{ "resource": "" }
q1262
SetCSVHeader
train
func (s *GetCSVHeaderOutput) SetCSVHeader(v []*string) *GetCSVHeaderOutput { s.CSVHeader = v return s }
go
{ "resource": "" }
q1263
SetIdpIdentifier
train
func (s *GetIdentityProviderByIdentifierInput) SetIdpIdentifier(v string) *GetIdentityProviderByIdentifierInput { s.IdpIdentifier = &v return s }
go
{ "resource": "" }
q1264
SetCreateAuthChallenge
train
func (s *LambdaConfigType) SetCreateAuthChallenge(v string) *LambdaConfigType { s.CreateAuthChallenge = &v return s }
go
{ "resource": "" }
q1265
SetCustomMessage
train
func (s *LambdaConfigType) SetCustomMessage(v string) *LambdaConfigType { s.CustomMessage = &v return s }
go
{ "resource": "" }
q1266
SetDefineAuthChallenge
train
func (s *LambdaConfigType) SetDefineAuthChallenge(v string) *LambdaConfigType { s.DefineAuthChallenge = &v return s }
go
{ "resource": "" }
q1267
SetPostAuthentication
train
func (s *LambdaConfigType) SetPostAuthentication(v string) *LambdaConfigType { s.PostAuthentication = &v return s }
go
{ "resource": "" }
q1268
SetPostConfirmation
train
func (s *LambdaConfigType) SetPostConfirmation(v string) *LambdaConfigType { s.PostConfirmation = &v return s }
go
{ "resource": "" }
q1269
SetPreAuthentication
train
func (s *LambdaConfigType) SetPreAuthentication(v string) *LambdaConfigType { s.PreAuthentication = &v return s }
go
{ "resource": "" }
q1270
SetPreSignUp
train
func (s *LambdaConfigType) SetPreSignUp(v string) *LambdaConfigType { s.PreSignUp = &v return s }
go
{ "resource": "" }
q1271
SetPreTokenGeneration
train
func (s *LambdaConfigType) SetPreTokenGeneration(v string) *LambdaConfigType { s.PreTokenGeneration = &v return s }
go
{ "resource": "" }
q1272
SetUserMigration
train
func (s *LambdaConfigType) SetUserMigration(v string) *LambdaConfigType { s.UserMigration = &v return s }
go
{ "resource": "" }
q1273
SetVerifyAuthChallengeResponse
train
func (s *LambdaConfigType) SetVerifyAuthChallengeResponse(v string) *LambdaConfigType { s.VerifyAuthChallengeResponse = &v return s }
go
{ "resource": "" }
q1274
SetProviders
train
func (s *ListIdentityProvidersOutput) SetProviders(v []*ProviderDescription) *ListIdentityProvidersOutput { s.Providers = v return s }
go
{ "resource": "" }
q1275
SetResourceServers
train
func (s *ListResourceServersOutput) SetResourceServers(v []*ResourceServerType) *ListResourceServersOutput { s.ResourceServers = v return s }
go
{ "resource": "" }
q1276
SetUserImportJobs
train
func (s *ListUserImportJobsOutput) SetUserImportJobs(v []*UserImportJobType) *ListUserImportJobsOutput { s.UserImportJobs = v return s }
go
{ "resource": "" }
q1277
SetUserPoolClients
train
func (s *ListUserPoolClientsOutput) SetUserPoolClients(v []*UserPoolClientDescription) *ListUserPoolClientsOutput { s.UserPoolClients = v return s }
go
{ "resource": "" }
q1278
SetUserPools
train
func (s *ListUserPoolsOutput) SetUserPools(v []*UserPoolDescriptionType) *ListUserPoolsOutput { s.UserPools = v return s }
go
{ "resource": "" }
q1279
SetDeviceGroupKey
train
func (s *NewDeviceMetadataType) SetDeviceGroupKey(v string) *NewDeviceMetadataType { s.DeviceGroupKey = &v return s }
go
{ "resource": "" }
q1280
SetBlockEmail
train
func (s *NotifyConfigurationType) SetBlockEmail(v *NotifyEmailType) *NotifyConfigurationType { s.BlockEmail = v return s }
go
{ "resource": "" }
q1281
SetMfaEmail
train
func (s *NotifyConfigurationType) SetMfaEmail(v *NotifyEmailType) *NotifyConfigurationType { s.MfaEmail = v return s }
go
{ "resource": "" }
q1282
SetNoActionEmail
train
func (s *NotifyConfigurationType) SetNoActionEmail(v *NotifyEmailType) *NotifyConfigurationType { s.NoActionEmail = v return s }
go
{ "resource": "" }
q1283
SetReplyTo
train
func (s *NotifyConfigurationType) SetReplyTo(v string) *NotifyConfigurationType { s.ReplyTo = &v return s }
go
{ "resource": "" }
q1284
SetTextBody
train
func (s *NotifyEmailType) SetTextBody(v string) *NotifyEmailType { s.TextBody = &v return s }
go
{ "resource": "" }
q1285
SetMinimumLength
train
func (s *PasswordPolicyType) SetMinimumLength(v int64) *PasswordPolicyType { s.MinimumLength = &v return s }
go
{ "resource": "" }
q1286
SetRequireLowercase
train
func (s *PasswordPolicyType) SetRequireLowercase(v bool) *PasswordPolicyType { s.RequireLowercase = &v return s }
go
{ "resource": "" }
q1287
SetRequireUppercase
train
func (s *PasswordPolicyType) SetRequireUppercase(v bool) *PasswordPolicyType { s.RequireUppercase = &v return s }
go
{ "resource": "" }
q1288
SetProviderAttributeName
train
func (s *ProviderUserIdentifierType) SetProviderAttributeName(v string) *ProviderUserIdentifierType { s.ProviderAttributeName = &v return s }
go
{ "resource": "" }
q1289
SetProviderAttributeValue
train
func (s *ProviderUserIdentifierType) SetProviderAttributeValue(v string) *ProviderUserIdentifierType { s.ProviderAttributeValue = &v return s }
go
{ "resource": "" }
q1290
SetScopeDescription
train
func (s *ResourceServerScopeType) SetScopeDescription(v string) *ResourceServerScopeType { s.ScopeDescription = &v return s }
go
{ "resource": "" }
q1291
SetScopeName
train
func (s *ResourceServerScopeType) SetScopeName(v string) *ResourceServerScopeType { s.ScopeName = &v return s }
go
{ "resource": "" }
q1292
SetBlockedIPRangeList
train
func (s *RiskExceptionConfigurationType) SetBlockedIPRangeList(v []*string) *RiskExceptionConfigurationType { s.BlockedIPRangeList = v return s }
go
{ "resource": "" }
q1293
SetSkippedIPRangeList
train
func (s *RiskExceptionConfigurationType) SetSkippedIPRangeList(v []*string) *RiskExceptionConfigurationType { s.SkippedIPRangeList = v return s }
go
{ "resource": "" }
q1294
SetAttributeDataType
train
func (s *SchemaAttributeType) SetAttributeDataType(v string) *SchemaAttributeType { s.AttributeDataType = &v return s }
go
{ "resource": "" }
q1295
SetDeveloperOnlyAttribute
train
func (s *SchemaAttributeType) SetDeveloperOnlyAttribute(v bool) *SchemaAttributeType { s.DeveloperOnlyAttribute = &v return s }
go
{ "resource": "" }
q1296
SetMutable
train
func (s *SchemaAttributeType) SetMutable(v bool) *SchemaAttributeType { s.Mutable = &v return s }
go
{ "resource": "" }
q1297
SetNumberAttributeConstraints
train
func (s *SchemaAttributeType) SetNumberAttributeConstraints(v *NumberAttributeConstraintsType) *SchemaAttributeType { s.NumberAttributeConstraints = v return s }
go
{ "resource": "" }
q1298
SetStringAttributeConstraints
train
func (s *SchemaAttributeType) SetStringAttributeConstraints(v *StringAttributeConstraintsType) *SchemaAttributeType { s.StringAttributeConstraints = v return s }
go
{ "resource": "" }
q1299
SetImageFile
train
func (s *SetUICustomizationInput) SetImageFile(v []byte) *SetUICustomizationInput { s.ImageFile = v return s }
go
{ "resource": "" }