Simspaceweaver
This page documents function available when using the Simspaceweaver
module, created with @service Simspaceweaver
.
Index
Main.Simspaceweaver.delete_app
Main.Simspaceweaver.delete_simulation
Main.Simspaceweaver.describe_app
Main.Simspaceweaver.describe_simulation
Main.Simspaceweaver.list_apps
Main.Simspaceweaver.list_simulations
Main.Simspaceweaver.list_tags_for_resource
Main.Simspaceweaver.start_app
Main.Simspaceweaver.start_clock
Main.Simspaceweaver.start_simulation
Main.Simspaceweaver.stop_app
Main.Simspaceweaver.stop_clock
Main.Simspaceweaver.stop_simulation
Main.Simspaceweaver.tag_resource
Main.Simspaceweaver.untag_resource
Documentation
Main.Simspaceweaver.delete_app
— Methoddelete_app(app, domain, simulation)
delete_app(app, domain, simulation, params::Dict{String,<:Any})
Deletes the instance of the given custom app.
Arguments
app
: The name of the app.domain
: The name of the domain of the app.simulation
: The name of the simulation of the app.
Main.Simspaceweaver.delete_simulation
— Methoddelete_simulation(simulation)
delete_simulation(simulation, params::Dict{String,<:Any})
Deletes all SimSpace Weaver resources assigned to the given simulation. Your simulation uses resources in other Amazon Web Services services. This API operation doesn't delete resources in other Amazon Web Services services.
Arguments
simulation
: The name of the simulation.
Main.Simspaceweaver.describe_app
— Methoddescribe_app(app, domain, simulation)
describe_app(app, domain, simulation, params::Dict{String,<:Any})
Returns the state of the given custom app.
Arguments
app
: The name of the app.domain
: The name of the domain of the app.simulation
: The name of the simulation of the app.
Main.Simspaceweaver.describe_simulation
— Methoddescribe_simulation(simulation)
describe_simulation(simulation, params::Dict{String,<:Any})
Returns the current state of the given simulation.
Arguments
simulation
: The name of the simulation.
Main.Simspaceweaver.list_apps
— Methodlist_apps(simulation)
list_apps(simulation, params::Dict{String,<:Any})
Lists all custom apps or service apps for the given simulation and domain.
Arguments
simulation
: The name of the simulation that you want to list apps for.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"domain"
: The name of the domain that you want to list apps for."maxResults"
: The maximum number of apps to list."nextToken"
: If SimSpace Weaver returns nextToken, there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, you receive an HTTP 400 ValidationException error.
Main.Simspaceweaver.list_simulations
— Methodlist_simulations()
list_simulations(params::Dict{String,<:Any})
Lists the SimSpace Weaver simulations in the Amazon Web Services account used to make the API call.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"maxResults"
: The maximum number of simulations to list."nextToken"
: If SimSpace Weaver returns nextToken, there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, nextToken is set to null. Each pagination token expires after 24 hours. If you provide a token that isn't valid, you receive an HTTP 400 ValidationException error.
Main.Simspaceweaver.list_tags_for_resource
— Methodlist_tags_for_resource(resource_arn)
list_tags_for_resource(resource_arn, params::Dict{String,<:Any})
Lists all tags on a SimSpace Weaver resource.
Arguments
resource_arn
: The Amazon Resource Name (ARN) of the resource. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
Main.Simspaceweaver.start_app
— Methodstart_app(domain, name, simulation)
start_app(domain, name, simulation, params::Dict{String,<:Any})
Starts a custom app with the configuration specified in the simulation schema.
Arguments
domain
: The name of the domain of the app.name
: The name of the app.simulation
: The name of the simulation of the app.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"ClientToken"
: A value that you provide to ensure that repeated calls to this API operation using the same parameters complete only once. A ClientToken is also known as an idempotency token. A ClientToken expires after 24 hours."Description"
: The description of the app."LaunchOverrides"
:
Main.Simspaceweaver.start_clock
— Methodstart_clock(simulation)
start_clock(simulation, params::Dict{String,<:Any})
Starts the simulation clock.
Arguments
simulation
: The name of the simulation.
Main.Simspaceweaver.start_simulation
— Methodstart_simulation(name, role_arn, schema_s3_location)
start_simulation(name, role_arn, schema_s3_location, params::Dict{String,<:Any})
Starts a simulation with the given name and schema.
Arguments
name
: The name of the simulation.role_arn
: The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that the simulation assumes to perform actions. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference. For more information about IAM roles, see IAM roles in the Identity and Access Management User Guide.schema_s3_location
: The location of the simulation schema in Amazon Simple Storage Service (Amazon S3). For more information about Amazon S3, see the Amazon Simple Storage Service User Guide .
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"ClientToken"
: A value that you provide to ensure that repeated calls to this API operation using the same parameters complete only once. A ClientToken is also known as an idempotency token. A ClientToken expires after 24 hours."Description"
: The description of the simulation."MaximumDuration"
: The maximum running time of the simulation, specified as a number of months (m or M), hours (h or H), or days (d or D). The simulation stops when it reaches this limit."Tags"
: A list of tags for the simulation. For more information about tags, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
Main.Simspaceweaver.stop_app
— Methodstop_app(app, domain, simulation)
stop_app(app, domain, simulation, params::Dict{String,<:Any})
Stops the given custom app and shuts down all of its allocated compute resources.
Arguments
app
: The name of the app.domain
: The name of the domain of the app.simulation
: The name of the simulation of the app.
Main.Simspaceweaver.stop_clock
— Methodstop_clock(simulation)
stop_clock(simulation, params::Dict{String,<:Any})
Stops the simulation clock.
Arguments
simulation
: The name of the simulation.
Main.Simspaceweaver.stop_simulation
— Methodstop_simulation(simulation)
stop_simulation(simulation, params::Dict{String,<:Any})
Stops the given simulation. You can't restart a simulation after you stop it. If you need to restart a simulation, you must stop it, delete it, and start a new instance of it.
Arguments
simulation
: The name of the simulation.
Main.Simspaceweaver.tag_resource
— Methodtag_resource(resource_arn, tags)
tag_resource(resource_arn, tags, params::Dict{String,<:Any})
Adds tags to a SimSpace Weaver resource. For more information about tags, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
Arguments
resource_arn
: The Amazon Resource Name (ARN) of the resource that you want to add tags to. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.tags
: A list of tags to apply to the resource.
Main.Simspaceweaver.untag_resource
— Methoduntag_resource(resource_arn, tag_keys)
untag_resource(resource_arn, tag_keys, params::Dict{String,<:Any})
Removes tags from a SimSpace Weaver resource. For more information about tags, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
Arguments
resource_arn
: The Amazon Resource Name (ARN) of the resource that you want to remove tags from. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.tag_keys
: A list of tag keys to remove from the resource.