404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.217.203.133: ~ $
**Example1: To view usage data for a list of fleets**

The following ``describe-fleet-utilization`` example retrieves current usage information for one specified fleet. ::

    aws gamelift describe-fleet-utilization \
        --fleet-ids arn:aws:gamelift:us-west-2::fleet/fleet-a1b2c3d4-5678-90ab-cdef-EXAMPLE11111

Output::

    {
        "FleetUtilization": [
            {
            "FleetId": "fleet-a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
            "ActiveServerProcessCount": 100,
            "ActiveGameSessionCount": 62,
            "CurrentPlayerSessionCount": 329,
            "MaximumPlayerSessionCount": 1000
            }
        ]
    }

**Example2: To request usage data for all fleets**

The following ``describe-fleet-utilization`` returns fleet usage data for all fleets with any status. This example uses pagination parameters to return data for two fleets at a time. ::

    aws gamelift describe-fleet-utilization \
        --limit 2 

Output::

    {
        "FleetUtilization": [
            {
                "FleetId": "fleet-1111aaaa-22bb-33cc-44dd-5555eeee66ff",
                "ActiveServerProcessCount": 100,
                "ActiveGameSessionCount": 13,
                "CurrentPlayerSessionCount": 98,
                "MaximumPlayerSessionCount": 1000
            },
            {
                "FleetId": "fleet-2222bbbb-33cc-44dd-55ee-6666ffff77aa",
                "ActiveServerProcessCount": 100,
                "ActiveGameSessionCount": 62,
                "CurrentPlayerSessionCount": 329,
                "MaximumPlayerSessionCount": 1000
            }
        ],
        "NextToken": "eyJhd3NBY2NvdW50SWQiOnsicyI6IjMwMjc3NjAxNjM5OCJ9LCJidWlsZElkIjp7InMiOiJidWlsZC01NWYxZTZmMS1jY2FlLTQ3YTctOWI5ZS1iYjFkYTQwMjEXAMPLE2"
    }

Call the command a second time, passing the ``NextToken`` value as the argument to the ``--next-token`` parameter to see the next two results. ::

    aws gamelift describe-fleet-utilization \
        --limit 2 \
        --next-token eyJhd3NBY2NvdW50SWQiOnsicyI6IjMwMjc3NjAxNjM5OCJ9LCJidWlsZElkIjp7InMiOiJidWlsZC01NWYxZTZmMS1jY2FlLTQ3YTctOWI5ZS1iYjFkYTQwMjEXAMPLE2

Repeat until the response no longer includes a ``NextToken`` value in the output.

For more information, see `GameLift Metrics for Fleets <https://docs.aws.amazon.com/gamelift/latest/developerguide/monitoring-cloudwatch.html#gamelift-metrics-fleet>`__ in the *Amazon GameLift Developer Guide*.



Filemanager

Name Type Size Permission Actions
create-build.rst File 3.05 KB 0755
create-fleet.rst File 7.22 KB 0755
create-game-session-queue.rst File 3.74 KB 0755
delete-build.rst File 365 B 0755
delete-fleet.rst File 552 B 0755
delete-game-session-queue.rst File 251 B 0755
describe-build.rst File 981 B 0755
describe-ec2-instance-limits.rst File 817 B 0755
describe-fleet-attributes.rst File 5.1 KB 0755
describe-fleet-capacity.rst File 1.5 KB 0755
describe-fleet-events.rst File 4.15 KB 0755
describe-fleet-port-settings.rst File 922 B 0755
describe-fleet-utilization.rst File 2.44 KB 0755
describe-game-session-queues.rst File 2.07 KB 0755
describe-runtime-configuration.rst File 1.18 KB 0755
list-builds.rst File 2.89 KB 0755
list-fleets.rst File 1.77 KB 0755
request-upload-credentials.rst File 1.04 KB 0755
start-fleet-actions.rst File 490 B 0755
stop-fleet-actions.rst File 472 B 0755
update-build.rst File 1.13 KB 0755
update-game-session-queue.rst File 2.31 KB 0755
upload-build.rst File 2.16 KB 0755