404

[ Avaa Bypassed ]




Upload:

Command:

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

The following ``describe-fleet-attributes`` example retrieves fleet attributes for two specified fleets. As shown, the requested fleets are deployed with the same build, one for On-Demand instances and one for Spot instances, with some minor configuration differences. ::

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

Output::

    {
        "FleetAttributes": [
            {
                "FleetId": "fleet-a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
                "FleetArn": "arn:aws:gamelift:us-west-2::fleet/fleet-a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
                "FleetType": "ON_DEMAND",
                "InstanceType": "c4.large",
                "Description": "On-demand hosts for v2 North America",
                "Name": "MegaFrogRaceServer.NA.v2-od",
                "CreationTime": 1568836191.995,
                "Status": "ACTIVE",
                "BuildId": "build-a1b2c3d4-5678-90ab-cdef-EXAMPLE33333",
                "BuildArn": "arn:aws:gamelift:us-west-2::build/build-a1b2c3d4-5678-90ab-cdef-EXAMPLE33333",
                "ServerLaunchPath": "C:\\game\\MegaFrogRace_Server.exe",
                "ServerLaunchParameters": "+gamelift_start_server",
                "NewGameSessionProtectionPolicy": "NoProtection",
                "OperatingSystem": "WINDOWS_2012",
                "MetricGroups": [
                    "default"
                ],
                "CertificateConfiguration": {
                    "CertificateType": "DISABLED"
                }
            },
            {
                "FleetId": "fleet-a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
                "FleetArn": "arn:aws:gamelift:us-west-2::fleet/fleet-a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
                "FleetType": "SPOT",
                "InstanceType": "c4.large",
                "Description": "On-demand hosts for v2 North America",
                "Name": "MegaFrogRaceServer.NA.v2-spot",
                "CreationTime": 1568838275.379,
                "Status": "ACTIVATING",
                "BuildId": "build-a1b2c3d4-5678-90ab-cdef-EXAMPLE33333",
                "BuildArn": "arn:aws:gamelift:us-west-2::build/build-a1b2c3d4-5678-90ab-cdef-EXAMPLE33333",
                "ServerLaunchPath": "C:\\game\\MegaFrogRace_Server.exe",
                "NewGameSessionProtectionPolicy": "NoProtection",
                "OperatingSystem": "WINDOWS_2012",
                    "MetricGroups": [
                    "default"
                ],
                "CertificateConfiguration": {
                    "CertificateType": "GENERATED"
                }
            }
        ]
    }

**Example2: To request attributes for all fleets**

The following ``describe-fleet-attributes`` returns fleet attributes for all fleets with any status. This example illustrates the use of pagination parameters to return one fleet at a time. ::

    aws gamelift describe-fleet-attributes \
        --limit 1 

Output::

    {
        "FleetAttributes": [
            {
                "FleetId": "fleet-a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
                "FleetArn": "arn:aws:gamelift:us-west-2::fleet/fleet-a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
                "FleetType": "SPOT",
                "InstanceType": "c4.large",
                "Description": "On-demand hosts for v2 North America",
                "Name": "MegaFrogRaceServer.NA.v2-spot",
                "CreationTime": 1568838275.379,
                "Status": "ACTIVATING",
                "BuildId": "build-a1b2c3d4-5678-90ab-cdef-EXAMPLE33333",
                "BuildArn": "arn:aws:gamelift:us-west-2::build/build-a1b2c3d4-5678-90ab-cdef-EXAMPLE33333",
                "ServerLaunchPath": "C:\\game\\MegaFrogRace_Server.exe",
                "NewGameSessionProtectionPolicy": "NoProtection",
                "OperatingSystem": "WINDOWS_2012",
                "MetricGroups": [
                    "default"
                ],
                "CertificateConfiguration": {
                    "CertificateType": "GENERATED"
                }
            }
        ],
        "NextToken": "eyJhd3NBY2NvdW50SWQiOnsicyI6IjMwMjc3NjAxNjM5OCJ9LCJidWlsZElkIjp7InMiOiJidWlsZC01NWYxZTZmMS1jY2FlLTQ3YTctOWI5ZS1iYjFkYTQwMjEXAMPLE2"
    }

The output includes a ``NextToken`` value that you can use when you call the command a second time. Pass the value to the ``--next-token`` parameter to specify where to pick up the output. The following command returns the second result in the output. ::
 
    aws gamelift describe-fleet-attributes \
        --limit 1 \
        --next-token eyJhd3NBY2NvdW50SWQiOnsicyI6IjMwMjc3NjAxNjM5OCJ9LCJidWlsZElkIjp7InMiOiJidWlsZC01NWYxZTZmMS1jY2FlLTQ3YTctOWI5ZS1iYjFkYTQwMjEXAMPLE1

Repeat until the response doesn't include a ``NextToken`` value.

For more information, see `Setting Up GameLift Fleets <https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html>`__ 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