search_raster_data_collection(**kwargs)¶Allows you run image query on a specific raster data collection to get a list of the satellite imagery matching the selected filters.
See also: AWS API Documentation
Request Syntax
response = client.search_raster_data_collection(
    Arn='string',
    NextToken='string',
    RasterDataCollectionQuery={
        'AreaOfInterest': {
            'AreaOfInterestGeometry': {
                'MultiPolygonGeometry': {
                    'Coordinates': [
                        [
                            [
                                [
                                    123.0,
                                ],
                            ],
                        ],
                    ]
                },
                'PolygonGeometry': {
                    'Coordinates': [
                        [
                            [
                                123.0,
                            ],
                        ],
                    ]
                }
            }
        },
        'BandFilter': [
            'string',
        ],
        'PropertyFilters': {
            'LogicalOperator': 'AND',
            'Properties': [
                {
                    'Property': {
                        'EoCloudCover': {
                            'LowerBound': ...,
                            'UpperBound': ...
                        },
                        'LandsatCloudCoverLand': {
                            'LowerBound': ...,
                            'UpperBound': ...
                        },
                        'Platform': {
                            'ComparisonOperator': 'EQUALS'|'NOT_EQUALS'|'STARTS_WITH',
                            'Value': 'string'
                        },
                        'ViewOffNadir': {
                            'LowerBound': ...,
                            'UpperBound': ...
                        },
                        'ViewSunAzimuth': {
                            'LowerBound': ...,
                            'UpperBound': ...
                        },
                        'ViewSunElevation': {
                            'LowerBound': ...,
                            'UpperBound': ...
                        }
                    }
                },
            ]
        },
        'TimeRangeFilter': {
            'EndTime': datetime(2015, 1, 1),
            'StartTime': datetime(2015, 1, 1)
        }
    }
)
[REQUIRED]
The Amazon Resource Name (ARN) of the raster data collection.
[REQUIRED]
Note
This is a Tagged Union structure. Only one of the     following top level keys can be set: AreaOfInterestGeometry.
Note
This is a Tagged Union structure. Only one of the     following top level keys can be set: MultiPolygonGeometry, PolygonGeometry.
The coordinates of the multipolygon geometry.
Note
This is a Tagged Union structure. Only one of the     following top level keys can be set: EoCloudCover, LandsatCloudCoverLand, Platform, ViewOffNadir, ViewSunAzimuth, ViewSunElevation.
The value of the platform.
The lower bound to view the sun elevation.
The upper bound to view the sun elevation.
The end time for the time-range filter.
The start time for the time-range filter.
dict
Response Syntax
{
    'ApproximateResultCount': 123,
    'Items': [
        {
            'Assets': {
                'string': {
                    'Href': 'string'
                }
            },
            'DateTime': datetime(2015, 1, 1),
            'Geometry': {
                'Coordinates': [
                    [
                        [
                            123.0,
                        ],
                    ],
                ],
                'Type': 'string'
            },
            'Id': 'string',
            'Properties': {
                'EoCloudCover': ...,
                'LandsatCloudCoverLand': ...,
                'Platform': 'string',
                'ViewOffNadir': ...,
                'ViewSunAzimuth': ...,
                'ViewSunElevation': ...
            }
        },
    ],
    'NextToken': 'string'
}
Response Structure
(dict) --
ApproximateResultCount (integer) --
Items (list) --
(dict) --
Structure representing the items in the response for SearchRasterDataCollection.
Assets (dict) --
DateTime (datetime) --
Geometry (dict) --
Id (string) --
A unique Id for the source item.
Properties (dict) --
NextToken (string) --
If the previous response was truncated, you receive this token. Use it in your next request to receive the next set of results.
Exceptions
SageMakergeospatialcapabilities.Client.exceptions.AccessDeniedExceptionSageMakergeospatialcapabilities.Client.exceptions.ValidationExceptionSageMakergeospatialcapabilities.Client.exceptions.ThrottlingExceptionSageMakergeospatialcapabilities.Client.exceptions.InternalServerExceptionSageMakergeospatialcapabilities.Client.exceptions.ResourceNotFoundException