id
stringlengths
16
145
text
stringlengths
1
179k
title
stringclasses
1 value
Python_Threading_Schedule/1722_38_0.txt
[ Sign up ](/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser- name%3E%2F%3Crepo- name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header- repo&source_repo=google%2For-tools)
Python_Threading_Schedule/busdriverschedulings_391_0.txt
423
Python_Threading_Schedule/busdriverschedulings_606_0.txt
638
Python_Threading_Schedule/busdriverschedulings_1454_0.txt
[ 152 , "06:29" , "07:03" , 389 , 423 , 34 ],
Python_Threading_Schedule/busdriverschedulings_1625_0.txt
[ 323 , "08:18" , "09:16" , 498 , 556 , 58 ],
Python_Threading_Schedule/busdriverschedulings_376_0.txt
408
Python_Threading_Schedule/busdriverschedulings_1261_0.txt
[ 161 , "18:09" , "19:03" , 1089 , 1143 , 54 ],
Python_Threading_Schedule/busdriverschedulings_1416_0.txt
[ 114 , "06:03" , "06:50" , 363 , 410 , 47 ],
Python_Threading_Schedule/busdriverschedulings_142_0.txt
174
Python_Threading_Schedule/busdriverschedulings_1268_0.txt
[ 168 , "19:20" , "19:36" , 1160 , 1176 , 16 ],
Python_Threading_Schedule/busdriverschedulings_208_0.txt
240
Python_Threading_Schedule/1722_130_0.txt
if minimize_drivers: # Minimize the number of working drivers model.Minimize(sum(working_drivers)) else: # Minimize the sum of delays between tasks, which in turns minimize the # sum of working times as the total driving time is fixed model.Minimize( cp_model.LinearExpr.ScalProd(delay_literals, delay_weights))
Python_Threading_Schedule/busdriverschedulings_1111_0.txt
[ 11 , "05:43" , "06:08" , 343 , 368 , 25 ],
Python_Threading_Schedule/workflowyschedulingi_0_0.txt
[ Luke Merrett ](https://lukemerrett.com)
Python_Threading_Schedule/busdriverschedulings_555_0.txt
587
Python_Threading_Schedule/busdriverschedulings_1530_0.txt
[ 228 , "07:14" , "07:59" , 434 , 479 , 45 ],
Python_Threading_Schedule/busdriverschedulings_956_0.txt
988
Python_Threading_Schedule/busdriverschedulings_1745_0.txt
[ 443 , "09:51" , "10:17" , 591 , 617 , 26 ],
Python_Threading_Schedule/busdriverschedulings_854_0.txt
886
Python_Threading_Schedule/busdriverschedulings_1814_0.txt
[ 512 , "10:59" , "12:26" , 659 , 746 , 87 ],
Python_Threading_Schedule/busdriverschedulings_579_0.txt
611
Python_Threading_Schedule/pythonjobscheduling_82_0.txt
Python offers various methods, including simple loops, threaded loops, Schedule library, Python crontab, and RQ Scheduler. Simple loops may not be suitable for long-running or complex tasks. Threaded loops can help solve blocking problems but require additional resources. The schedule library is visually appealing and ...
Python_Threading_Schedule/busdriverschedulings_590_0.txt
622
Python_Threading_Schedule/busdriverschedulings_247_0.txt
279
Python_Threading_Schedule/busdriverschedulings_1469_0.txt
[ 167 , "06:40" , "07:52" , 400 , 472 , 72 ],
Python_Threading_Schedule/busdriverschedulings_839_0.txt
871
Python_Threading_Schedule/busdriverschedulings_826_0.txt
858
Python_Threading_Schedule/workflowyschedulingi_20_0.txt
The script itself:
cloudformation_commands/stack-outputs-and-references5_109_0.txt
aws s3api list-objects-v2 --bucket <bucket_name> The AWS CLI will run AWS commands with the ` default ` profile by default. If you would like to run commands with a different profile, take a look at the relevant AWS documentation to learn how.
cloudformation_commands/export-lambda-function-recommendations.html8_4_0.txt
Search box Search ### Feedback
cloudformation_commands/cloudformation_commands_75_1.txt
Set ` request. Specify this > token if you plan to retry requests so that CloudFormation knows that > you’re not attempting to execute a change set to update a stack with the > same name. You might retry ` ExecuteChangeSet ` requests to ensure that > CloudFormation successfully received them. ` --disable-rollback ...
cloudformation_commands/stack-outputs-and-references5_5_0.txt
* AWS * Get started
cloudformation_commands/cloudformation_commands_76_2.txt
ource. (Primary identifiers are specified in the ` primaryIdentifier ` list in the resource schema.) The value is the value of that primary identifier. For example, for a ` AWS::DynamoDB::Table ` resource, the primary identifiers is ` TableName ` so the key-value pair could be ` "TableName": "MyDDBTable" ` . For mo...
cloudformation_commands/export-lambda-function-recommendations.html8_45_0.txt
` --output ` (string) The formatting style for command output.
cloudformation_commands/cloudformation_commands_28_2.txt
ation about a stack set** The following describe-stack-set` example displays details about the specified stack set. aws cloudformation describe-stack-set \ --stack-set-name my-stack-set Output: { "StackSet": { "StackSetName": "my-stack-set", ...
cloudformation_commands/cloudformation_commands_50_4.txt
n, with ` RetainStacks ` set to ` true ` , to delete the stack instance, and then delete the stack manually. >>>> * ` PENDING ` : The operation in the specified account and Region has yet to start. >>>> * ` RUNNING ` : The operation in the specified account and Region is currently in progress. >>>> * ` SKI...
cloudformation_commands/cloudformation_commands_65_2.txt
(register-type.html "register-type") | * [ AWS CLI 2.15.40 Command Reference ](../../index.html) » * [ aws ](../index.html) » * [ cloudformation ](index.html) » © Copyright 2018, Amazon Web Services. Created using [ Sphinx ](https://www.sphinx-doc.org/) .
cloudformation_commands/cloudformation_commands_0_0.txt
[ AWS CLI Command Reference ](../../index.html) * [ Home ](../../index.html) * [ User Guide ](https://docs.aws.amazon.com/cli/latest/userguide/) * [ Forum ](https://forums.aws.amazon.com/forum.jspa?forumID=150) * [ GitHub ](https://github.com/aws/aws-cli) ### Navigation * [ index ](../../genindex.html "Ge...
cloudformation_commands/stack-outputs-and-references5_132_0.txt
## Clean Up Before moving on, tear down the resources that are part of your stack to avoid incurring any charges.
cloudformation_commands/stack-outputs-and-references5_11_0.txt
* Google Cloud * Google Cloud
cloudformation_commands/cloudformation_commands_35_1.txt
g. This is the ` NextToken ` > from a previously truncated response. > > For usage examples, see [ Pagination > ](https://docs.aws.amazon.com/cli/latest/userguide/pagination.html) in the > _AWS Command Line Interface User Guide_ . ` --max-items ` (integer) > The total number of items to return in the command’s ou...
cloudformation_commands/cloudformation_commands_43_4.txt
If you specify 0 for this parameter, CloudFormation still monitors the specified rollback triggers during stack creation and update operations. Then, for update operations, it begins disposing of old resources immediately once the operation completes. >> >> StackStatus -> (string) >> >>> Current status of the stac...
cloudformation_commands/export-lambda-function-recommendations.html8_23_0.txt
>> >> values -> (list)
cloudformation_commands/cloudformation_commands_56_2.txt
x-like quotation rules. These examples will need to be adapted to your terminal’s quoting rules. See [ Using quotation marks with strings ](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-parameters- quoting-strings.html) in the _AWS CLI User Guide_ . **To signal a resource** The following ` signal-resou...
cloudformation_commands/cloudformation_commands_19_3.txt
n for the configuration of a CloudFormation extension. >> >> TypeArn -> (string) >> >>> The Amazon Resource Name (ARN) for the extension, in this account and Region. >>> >>> For public extensions, this will be the ARN assigned when you call the [ ActivateType ](https://docs.aws.amazon.com/AWSCloudFormation/latest...
cloudformation_commands/cloudformation_commands_21_0.txt
[ AWS CLI Command Reference ](../../index.html) * [ Home ](../../index.html) * [ User Guide ](https://docs.aws.amazon.com/cli/latest/userguide/) * [ Forum ](https://forums.aws.amazon.com/forum.jspa?forumID=150) * [ GitHub ](https://github.com/aws/aws-cli) ### Navigation * [ index ](../../genindex.html "Ge...
cloudformation_commands/cloudformation_commands_47_4.txt
with strings ](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-parameters- quoting-strings.html) in the _AWS CLI User Guide_ . **To delete stack instances** The following ` delete-stack-instances ` example deletes instances of a stack set in two accounts in two regions and terminates the stacks. ...
cloudformation_commands/cloudformation_commands_50_1.txt
ntax: Name=string,Values=string ... JSON Syntax: [ { "Name": "DETAILED_STATUS"|"LAST_OPERATION_ID"|"DRIFT_STATUS", "Values": "string" } ... ] ` --stack-instance-account ` (string) > The name of the Amazon Web Services account that you wan...
cloudformation_commands/cloudformation_commands_36_0.txt
[ AWS CLI Command Reference ](../../index.html) * [ Home ](../../index.html) * [ User Guide ](https://docs.aws.amazon.com/cli/latest/userguide/) * [ Forum ](https://forums.aws.amazon.com/forum.jspa?forumID=150) * [ GitHub ](https://github.com/aws/aws-cli) ### Navigation * [ index ](../../genindex.html "Ge...
cloudformation_commands/export-lambda-function-recommendations.html8_8_0.txt
Exports optimization recommendations for Lambda functions. Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting R...
cloudformation_commands/cloudformation_commands_30_1.txt
ormation performs a stack set > operation. > > For more information about maximum concurrent accounts and failure > tolerance, see [ Stack set operation options > ](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets- > concepts.html#stackset-ops-options) . > > RegionConcurrencyType -> (string) > ...
cloudformation_commands/manual.html9_10_0.txt
The above command only extracts the function name via jq. For details of a specific lambda function by name: aws lambda get-function --region=us-east-2 --function-name test | jq
cloudformation_commands/cloudformation_commands_43_3.txt
value that’s specified in your template. >>>> >>>> ParameterValue -> (string) >>>> >>>>> The input value associated with the parameter. >>>> >>>> UsePreviousValue -> (boolean) >>>> >>>>> During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify ...
cloudformation_commands/cloudformation_commands_14_0.txt
[ AWS CLI Command Reference ](../../index.html) * [ Home ](../../index.html) * [ User Guide ](https://docs.aws.amazon.com/cli/latest/userguide/) * [ Forum ](https://forums.aws.amazon.com/forum.jspa?forumID=150) * [ GitHub ](https://github.com/aws/aws-cli) ### Navigation * [ index ](../../genindex.html "Ge...
cloudformation_commands/stack-outputs-and-references5_130_0.txt
Click here to view the complete project code Here is the complete code for exporting the Lambda function ARN. import * as aws from "@pulumi/aws"; import * as pulumi from "@pulumi/pulumi"; // [Step 1: Create an S3 bucket.] const bucket = new aws.s3.Bucket("my-bucket"); // [Step ...
cloudformation_commands/cloudformation_commands_33_4.txt
ies-cw-alarm.html) or [ AWS::CloudWatch::CompositeAlarm ](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource- cloudwatch-compositealarm.html) resource types. > > MonitoringTimeInMinutes -> (integer) > >> The amount of time, in minutes, during which CloudFormation should monitor all the rollba...
cloudformation_commands/manual.html9_17_0.txt
In addition to the SAM described above, you can also use tools such as AWS CloudFormation or the AWS CDK via command line. While executed manually, these tools minimally guarantee a diff of your current infrastructure, making it easier deployment of the evolutions of its architecture in multiple regions. * * *
cloudformation_commands/cloudformation_commands_60_0.txt
[ AWS CLI Command Reference ](../../index.html) * [ Home ](../../index.html) * [ User Guide ](https://docs.aws.amazon.com/cli/latest/userguide/) * [ Forum ](https://forums.aws.amazon.com/forum.jspa?forumID=150) * [ GitHub ](https://github.com/aws/aws-cli) ### Navigation * [ index ](../../genindex.html "Ge...
cloudformation_commands/cloudformation_commands_29_4.txt
g operations even if they are non-conflicting. >> >> You can’t modify your stack set’s execution configuration while there are running or queued operations for that stack set. >> >> When ` false ` (default), StackSets performs one operation at a time in request order. Shorthand Syntax: Active=b...
cloudformation_commands/stack-outputs-and-references5_114_0.txt
{ "Contents": [ { "Key": "2023-08-3107:53:28.137776_test_file.txt", "LastModified": "2023-08-31T07:53:29+00:00", "ETag": "\"f794802bfd4a70851294ba192d382c11\"", "Size": 13, "StorageClass": "STANDARD" ...
cloudformation_commands/export-lambda-function-recommendations.html8_18_0.txt
>>> >>> Specify ` Finding ` to return recommendations with a specific finding classification (for example, ` NotOptimized ` ).
cloudformation_commands/cloudformation_commands_56_1.txt
or > update. > > Possible values: > > * ` SUCCESS ` > * ` FAILURE ` > ` --cli-input-json ` | ` --cli-input-yaml ` (string) Reads arguments from the JSON string provided. The JSON string follows the format provided by ` --generate-cli-skeleton ` . If other arguments are provided on the command line, those val...
cloudformation_commands/stack-outputs-and-references5_76_0.txt
* Python * SDK docs * SDK docs * Blocking and Async * Blocking and Async
cloudformation_commands/cloudformation_commands_29_5.txt
## Examples ¶ ### Note To use the following examples, you must have the AWS CLI installed and configured. See the [ Getting started guide ](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting- started.html) in the _AWS CLI User Guide_ for more information. Unless otherwise stated, all examples have...
cloudformation_commands/cloudformation_commands_8_2.txt
* raw-in-base64-out ` --no-cli-pager ` (boolean) Disable cli pager for output. ` --cli-auto-prompt ` (boolean) Automatically prompt for CLI input parameters. ` --no-cli-auto-prompt ` (boolean) Disable automatically prompt for CLI input parameters. ## Examples ¶ ### Note To use the following examples...
cloudformation_commands/manual.html9_0_0.txt
* 1\. Introduction * 1\. Disaster Recovery * Resilient Workloads * 2\. Concepts * Availability * Chaos Engineering * Failover * Cross-Region Migration * Resiliency * 3\. Global Infrastructure * Regions and Zones * 2\. Workshop Setup * ...on ...
cloudformation_commands/stack-outputs-and-references5_94_0.txt
This tutorial assumes that you are familiar with the basics of the Pulumi workflow. If you are new to Pulumi, complete the Get Started series first. Additionally, you will need the following tools to complete this tutorial:
cloudformation_commands/cloudformation_commands_76_3.txt
tring) > The reason for the current template generation status. This will provide > more details if a failure happened. CreationTime -> (timestamp) > The time the generated template was created. LastUpdatedTime -> (timestamp) > The time the generated template was last updated. Progress -> (structure) > An object...
cloudformation_commands/cloudformation_commands_64_1.txt
--profile <value>] [--region <value>] [--version <value>] [--color <value>] [--no-sign-request] [--ca-bundle <value>] [--cli-read-timeout <value>] [--cli-connect-timeout <value>] [--cli-binary-format <value>] [--no-cli-pager] [--cli-auto-prompt] [--no-cli-auto-prompt] #...
cloudformation_commands/stack-outputs-and-references5_143_0.txt
* Terms & conditions * Privacy policy * Acceptable use policy * Trademark usage * Professional services agreement
cloudformation_commands/22_0_0.txt
Serverless Forums # Exporting output value
cloudformation_commands/stack-outputs-and-references5_87_0.txt
* Commands * esc * esc * esc completion * esc completion * esc env * esc env * esc env edit * esc env edit * esc env get * esc env get * esc env init * esc env init * esc env ls * esc env l...
cloudformation_commands/export-lambda-function-recommendations.html8_65_0.txt
>> The key uniquely identifies the object, or export file, in the S3 bucket. > > metadataKey -> (string) >
cloudformation_commands/cloudformation_commands_84_2.txt
L certificates. Overrides config/env settings. ` --cli-read-timeout ` (int) The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds. ` --cli-connect-timeout ` (int) The maximum socket connect time in seconds. If the value...
cloudformation_commands/export-lambda-function-recommendations.html8_28_0.txt
>>> >>> (string)
cloudformation_commands/stack-outputs-and-references5_131_0.txt
Here is the complete code for creating the EventBridge Scheduler. import * as aws from "@pulumi/aws"; import * as pulumi from "@pulumi/pulumi"; const stackRef = new pulumi.StackReference("my-org/my-first-program/dev"); const lambdaArn = stackRef.getOutput("lambdaArn"); cons...
cloudformation_commands/cloudformation_commands_44_1.txt
` > ` --provisioning-type ` (string) > For resource types, the provisioning behavior of the resource type. > CloudFormation determines the provisioning type during registration, based > on the types of handlers in the schema handler package submitted. > > Valid values include: > > * ` FULLY_MUTABLE ` : The resou...
cloudformation_commands/cloudformation_commands_19_1.txt
d when the configuration was set. >> >> TypeConfigurationArn -> (string) >> >>> The Amazon Resource Name (ARN) for the configuration, in this account and Region. >> >> Type -> (string) >> >>> The type of extension. >> >> TypeName -> (string) >> >>> The name of the extension type to which this configuration ...
cloudformation_commands/cloudformation_commands_65_1.txt
alse ` ` --cli-input-json ` | ` --cli-input-yaml ` (string) Reads arguments from the JSON string provided. The JSON string follows the format provided by ` --generate-cli-skeleton ` . If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pas...
cloudformation_commands/export-lambda-function-recommendations.html8_66_0.txt
>> The Amazon S3 bucket key of a metadata file. >>
cloudformation_commands/cloudformation_commands_26_2.txt
le that map to a binary blob ` fileb:// ` will always be treated as binary and use the file contents directly regardless of the ` cli- binary-format ` setting. When using ` file:// ` the file contents will need to properly formatted for the configured ` cli-binary-format ` . * base64 * raw-in-base64-out ` -...
cloudformation_commands/stack-outputs-and-references5_88_0.txt
* Command-line completion * Command-line completion Support
cloudformation_commands/cloudformation_commands_66_1.txt
d. ## Global Options ¶ ` --debug ` (boolean) Turn on debug logging. ` --endpoint-url ` (string) Override command’s default URL with the given URL. ` --no-verify-ssl ` (boolean) By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL cert...
cloudformation_commands/stack-outputs-and-references5_129_0.txt
aws s3api list-objects-v2 --bucket $(pulumi stack output bucketName) You should then see a number of ` .txt ` files in your S3 bucket.
cloudformation_commands/cloudformation_commands_69_0.txt
[ AWS CLI Command Reference ](../../index.html) * [ Home ](../../index.html) * [ User Guide ](https://docs.aws.amazon.com/cli/latest/userguide/) * [ Forum ](https://forums.aws.amazon.com/forum.jspa?forumID=150) * [ GitHub ](https://github.com/aws/aws-cli) ### Navigation * [ index ](../../genindex.html "Ge...
cloudformation_commands/cloudformation_commands_31_1.txt
ut-json ` . Similarly, if provided ` yaml-input ` it will print a sample input YAML that can be used with ` --cli-input-yaml ` . If provided with the value ` output ` , it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of th...
cloudformation_commands/cloudformation_commands_55_5.txt
he [ Getting started guide ](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting- started.html) in the _AWS CLI User Guide_ for more information. Unless otherwise stated, all examples have unix-like quotation rules. These examples will need to be adapted to your terminal’s quoting rules. See [ Using qu...
cloudformation_commands/export-lambda-function-recommendations.html8_16_0.txt
>> >> name -> (string)
cloudformation_commands/cloudformation_commands_55_4.txt
nt. For more information, > see [ Register a delegated administrator > ](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets- > orgs-delegated-admin.html) in the _CloudFormation User Guide_ . > > > Possible values: > > * ` SELF ` > * ` DELEGATED_ADMIN ` > ` --cli-input-json ` | ` --cli-inp...
cloudformation_commands/stack-outputs-and-references5_0_0.txt
* Pulumi home * Pricing * Blog * Events & workshops Get Started
cloudformation_commands/stack-outputs-and-references5_15_0.txt
* Get started * Before you begin * Before you begin * Create project * Create project * Review project * Review project * Deploy stack * Deploy stack * Modify program * Modify progr...
cloudformation_commands/export-lambda-function-recommendations.html8_58_0.txt
Disable cli pager for output. ` --cli-auto-prompt ` (boolean)
cloudformation_commands/stack-outputs-and-references5_80_0.txt
* Java * Java
cloudformation_commands/manual.html9_9_0.txt
AWS CLI provides commands for locally listing and downloading all AWS Lambda functions. For example, to list the name of the existing roles in your account configured in ` ~/.aws/credentials ` : aws lambda list-functions --region=us-east-2 | jq '[.Functions[] | select(.FunctionName) | .FunctionName]' ...
cloudformation_commands/stack-outputs-and-references5_44_0.txt
* SCIM * SCIM
cloudformation_commands/cloudformation_commands_18_2.txt
lues will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with ` --cli-input-yaml ` . ` --generate-cli-skeleton ` (string) Prints a JSON skeleton to standard output without sendin...
cloudformation_commands/stack-outputs-and-references5_60_0.txt
* Adopting Pulumi * Adopting Pulumi
cloudformation_commands/cloudformation_commands_44_2.txt
rvice, retrieving fewer items > in each call. This can help prevent the AWS service calls from timing out. > > For usage examples, see [ Pagination > ](https://docs.aws.amazon.com/cli/latest/userguide/pagination.html) in the > _AWS Command Line Interface User Guide_ . ` --max-items ` (integer) > The total number of ...
cloudformation_commands/cloudformation_commands_26_1.txt
` : The resource differs from its expected template > configuration in that the resource has been deleted. > * ` MODIFIED ` : One or more resource properties differ from their > expected template values. > * ` IN_SYNC ` : The resource’s actual configuration matches its > expected template configuration. > * ...
cloudformation_commands/cloudformation_commands_43_5.txt
For more information, see [ Detecting Unregulated Configuration Changes to Stacks and Resources ](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn- stack-drift.html) . >>> >>> StackDriftStatus -> (string) >>> >>>> Status of the stack’s actual configuration compared to its expected template...