/AWS1/CL_GMZLOCATIONSTATE¶
Represents a location and its corresponding stream capacity and status.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_locationname TYPE /AWS1/GMZLOCATIONNAME /AWS1/GMZLOCATIONNAME¶
A location's name. For example,
us-east-1. For a complete list of locations that Amazon GameLift Streams supports, refer to Regions, quotas, and limitations in the Amazon GameLift Streams Developer Guide.
iv_status TYPE /AWS1/GMZSTREAMGROUPLOCSTATUS /AWS1/GMZSTREAMGROUPLOCSTATUS¶
This value is set of locations, including their name, current status, and capacities.
A location can be in one of the following states:
ACTIVATING: Amazon GameLift Streams is preparing the location. You cannot stream from, scale the capacity of, or remove this location yet.
ACTIVE: The location is provisioned with initial capacity. You can now stream from, scale the capacity of, or remove this location.
ERROR: Amazon GameLift Streams failed to set up this location. TheStatusReasonfield describes the error. You can remove this location and try to add it again.
REMOVING: Amazon GameLift Streams is working to remove this location. This will release all provisioned capacity for this location in this stream group.
iv_alwaysoncapacity TYPE /AWS1/GMZALWAYSONCAPACITY /AWS1/GMZALWAYSONCAPACITY¶
The streaming capacity that is allocated and ready to handle stream requests without delay. You pay for this capacity whether it's in use or not. Best for quickest time from streaming request to streaming session. Default is 1 (2 for high stream classes) when creating a stream group or adding a location.
iv_ondemandcapacity TYPE /AWS1/GMZONDEMANDCAPACITY /AWS1/GMZONDEMANDCAPACITY¶
The streaming capacity that Amazon GameLift Streams can allocate in response to stream requests, and then de-allocate when the session has terminated. This offers a cost control measure at the expense of a greater startup time (typically under 5 minutes). Default is 0 when creating a stream group or adding a location.
iv_requestedcapacity TYPE /AWS1/GMZCAPACITYVALUE /AWS1/GMZCAPACITYVALUE¶
This value is the always-on capacity that you most recently requested for a stream group. You request capacity separately for each location in a stream group. In response to an increase in requested capacity, Amazon GameLift Streams attempts to provision compute resources to make the stream group's allocated capacity meet requested capacity. When always-on capacity is decreased, it can take a few minutes to deprovision allocated capacity to match the requested capacity.
iv_allocatedcapacity TYPE /AWS1/GMZCAPACITYVALUE /AWS1/GMZCAPACITYVALUE¶
This value is the stream capacity that Amazon GameLift Streams has provisioned in a stream group that can respond immediately to stream requests. It includes resources that are currently streaming and resources that are idle and ready to respond to stream requests. You pay for this capacity whether it's in use or not. After making changes to capacity, it can take a few minutes for the allocated capacity count to reflect the change while compute resources are allocated or deallocated. Similarly, when allocated on-demand capacity is no longer needed, it can take a few minutes for Amazon GameLift Streams to spin down the allocated capacity.
iv_idlecapacity TYPE /AWS1/GMZCAPACITYVALUE /AWS1/GMZCAPACITYVALUE¶
This value is the amount of allocated capacity that is not currently streaming. It represents the stream group's ability to respond immediately to new stream requests with near-instant startup time.
Queryable Attributes¶
LocationName¶
A location's name. For example,
us-east-1. For a complete list of locations that Amazon GameLift Streams supports, refer to Regions, quotas, and limitations in the Amazon GameLift Streams Developer Guide.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LOCATIONNAME() |
Getter for LOCATIONNAME, with configurable default |
ASK_LOCATIONNAME() |
Getter for LOCATIONNAME w/ exceptions if field has no value |
HAS_LOCATIONNAME() |
Determine if LOCATIONNAME has a value |
Status¶
This value is set of locations, including their name, current status, and capacities.
A location can be in one of the following states:
ACTIVATING: Amazon GameLift Streams is preparing the location. You cannot stream from, scale the capacity of, or remove this location yet.
ACTIVE: The location is provisioned with initial capacity. You can now stream from, scale the capacity of, or remove this location.
ERROR: Amazon GameLift Streams failed to set up this location. TheStatusReasonfield describes the error. You can remove this location and try to add it again.
REMOVING: Amazon GameLift Streams is working to remove this location. This will release all provisioned capacity for this location in this stream group.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STATUS() |
Getter for STATUS, with configurable default |
ASK_STATUS() |
Getter for STATUS w/ exceptions if field has no value |
HAS_STATUS() |
Determine if STATUS has a value |
AlwaysOnCapacity¶
The streaming capacity that is allocated and ready to handle stream requests without delay. You pay for this capacity whether it's in use or not. Best for quickest time from streaming request to streaming session. Default is 1 (2 for high stream classes) when creating a stream group or adding a location.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ALWAYSONCAPACITY() |
Getter for ALWAYSONCAPACITY, with configurable default |
ASK_ALWAYSONCAPACITY() |
Getter for ALWAYSONCAPACITY w/ exceptions if field has no va |
HAS_ALWAYSONCAPACITY() |
Determine if ALWAYSONCAPACITY has a value |
OnDemandCapacity¶
The streaming capacity that Amazon GameLift Streams can allocate in response to stream requests, and then de-allocate when the session has terminated. This offers a cost control measure at the expense of a greater startup time (typically under 5 minutes). Default is 0 when creating a stream group or adding a location.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ONDEMANDCAPACITY() |
Getter for ONDEMANDCAPACITY, with configurable default |
ASK_ONDEMANDCAPACITY() |
Getter for ONDEMANDCAPACITY w/ exceptions if field has no va |
HAS_ONDEMANDCAPACITY() |
Determine if ONDEMANDCAPACITY has a value |
RequestedCapacity¶
This value is the always-on capacity that you most recently requested for a stream group. You request capacity separately for each location in a stream group. In response to an increase in requested capacity, Amazon GameLift Streams attempts to provision compute resources to make the stream group's allocated capacity meet requested capacity. When always-on capacity is decreased, it can take a few minutes to deprovision allocated capacity to match the requested capacity.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_REQUESTEDCAPACITY() |
Getter for REQUESTEDCAPACITY, with configurable default |
ASK_REQUESTEDCAPACITY() |
Getter for REQUESTEDCAPACITY w/ exceptions if field has no v |
HAS_REQUESTEDCAPACITY() |
Determine if REQUESTEDCAPACITY has a value |
AllocatedCapacity¶
This value is the stream capacity that Amazon GameLift Streams has provisioned in a stream group that can respond immediately to stream requests. It includes resources that are currently streaming and resources that are idle and ready to respond to stream requests. You pay for this capacity whether it's in use or not. After making changes to capacity, it can take a few minutes for the allocated capacity count to reflect the change while compute resources are allocated or deallocated. Similarly, when allocated on-demand capacity is no longer needed, it can take a few minutes for Amazon GameLift Streams to spin down the allocated capacity.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ALLOCATEDCAPACITY() |
Getter for ALLOCATEDCAPACITY, with configurable default |
ASK_ALLOCATEDCAPACITY() |
Getter for ALLOCATEDCAPACITY w/ exceptions if field has no v |
HAS_ALLOCATEDCAPACITY() |
Determine if ALLOCATEDCAPACITY has a value |
IdleCapacity¶
This value is the amount of allocated capacity that is not currently streaming. It represents the stream group's ability to respond immediately to new stream requests with near-instant startup time.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_IDLECAPACITY() |
Getter for IDLECAPACITY, with configurable default |
ASK_IDLECAPACITY() |
Getter for IDLECAPACITY w/ exceptions if field has no value |
HAS_IDLECAPACITY() |
Determine if IDLECAPACITY has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_LOCATIONSTATES¶
TYPES TT_LOCATIONSTATES TYPE STANDARD TABLE OF REF TO /AWS1/CL_GMZLOCATIONSTATE WITH DEFAULT KEY
.