text
stringlengths 1
22.8M
|
|---|
Metropolitan Dionysius may refer to:
Dionysius, Metropolitan of Kiev in 1384–1385
Dionysius, Metropolitan of Moscow in 1581–1587
Dionysius, Metropolitan of Warsaw in 1923-1948
|
McDowell Street is a streetcar station in Charlotte, North Carolina. The at-grade island platform on East Trade Street is a stop along the CityLynx Gold Line and serves various government agencies and facilities, including the Mecklenburg County Courthouse.
Location
Davidson Street station is located on East Trade Street, between Myers Street and McDowell Street, in Uptown Charlotte. In the immediate is the Mecklenburg County Detention Center-Central and Mecklenburg County District Attorney's Office; while nearby is the Mecklenburg County Courthouse and the Downtown Charlotte Post Office.
History
As part of the initial Gold Line, construction on McDowell Street began in December 2013. The station opened to the public on July 14, 2015, with a low platform configuration that was used for heritage streetcars. In June 2019, as part of phase two, streetcar service was replaced by the CityLynx Connector bus; at which time the station's island platform was closed off so it can be raised to accommodate the level boarding for modern streetcar vehicles. Though it was slated to reopen in early-2020, various delays pushed out the reopening till mid-2021. The station reopened to the public on August 30, 2021, at which time the CityLynx Connector bus was discontinued.
Station layout
The station consists of an island platform with two passenger shelters; a crosswalk and ramp provide platform access from East Trade Street. The station's passenger shelters house two art installations by Nancy O’Neil. The windscreens celebrate the diversity and history of Charlotte's First and Second Wards, featuring a collage of historical maps, photos, and manuscripts on glass.
References
External links
McDowell Street
Lynx Gold Line stations
Railway stations in the United States opened in 2015
|
```shell
Rapidly invoke an editor to write a long, complex, or tricky command
Aliasing ssh connections
Random password generator
Keep useful commands in your shell history with tags
Retrieve previous arguments
```
|
```xml
// See LICENSE.txt for license information.
import {Alert} from 'react-native';
import {
storePushDisabledInServerAcknowledged,
} from '@actions/app/global';
import {
PUSH_PROXY_RESPONSE_NOT_AVAILABLE,
PUSH_PROXY_RESPONSE_UNKNOWN,
PUSH_PROXY_STATUS_NOT_AVAILABLE,
PUSH_PROXY_STATUS_UNKNOWN,
PUSH_PROXY_STATUS_VERIFIED,
} from '@constants/push_proxy';
import EphemeralStore from '@store/ephemeral_store';
import {
pushDisabledInServerAck,
canReceiveNotifications,
alertPushProxyError,
alertPushProxyUnknown,
} from './push_proxy';
import {urlSafeBase64Encode} from './security';
import type {IntlShape} from 'react-intl';
jest.mock('react-native', () => ({
Alert: {
alert: jest.fn(),
},
}));
jest.mock('@actions/app/global', () => ({
storePushDisabledInServerAcknowledged: jest.fn(),
}));
jest.mock('@queries/app/global', () => ({
getPushDisabledInServerAcknowledged: jest.fn(),
}));
jest.mock('@store/ephemeral_store', () => ({
setPushProxyVerificationState: jest.fn(),
}));
jest.mock('./security', () => ({
urlSafeBase64Encode: jest.fn((url: string) => `encoded-${url}`),
}));
// Mock pushDisabledInServerAck as it's not being mocked by default
jest.mock('./push_proxy', () => ({
...jest.requireActual('./push_proxy'),
pushDisabledInServerAck: jest.fn(),
}));
describe('Notification utilities', () => {
const intl: IntlShape = {
formatMessage: ({defaultMessage}: { defaultMessage: string }) => defaultMessage,
} as IntlShape;
beforeEach(() => {
jest.clearAllMocks();
});
describe('canReceiveNotifications', () => {
test('handles PUSH_PROXY_RESPONSE_NOT_AVAILABLE', async () => {
const serverUrl = 'path_to_url
(pushDisabledInServerAck as jest.Mock).mockResolvedValue(false);
await canReceiveNotifications(serverUrl, PUSH_PROXY_RESPONSE_NOT_AVAILABLE, intl);
expect(EphemeralStore.setPushProxyVerificationState).toHaveBeenCalledWith(serverUrl, PUSH_PROXY_STATUS_NOT_AVAILABLE);
expect(Alert.alert).toHaveBeenCalled();
});
test('handles PUSH_PROXY_RESPONSE_UNKNOWN', async () => {
const serverUrl = 'path_to_url
(pushDisabledInServerAck as jest.Mock).mockResolvedValue(false);
await canReceiveNotifications(serverUrl, PUSH_PROXY_RESPONSE_UNKNOWN, intl);
expect(EphemeralStore.setPushProxyVerificationState).toHaveBeenCalledWith(serverUrl, PUSH_PROXY_STATUS_UNKNOWN);
expect(Alert.alert).toHaveBeenCalled();
});
test('handles default case', async () => {
const serverUrl = 'path_to_url
(pushDisabledInServerAck as jest.Mock).mockResolvedValue(false);
await canReceiveNotifications(serverUrl, 'some_other_response', intl);
expect(EphemeralStore.setPushProxyVerificationState).toHaveBeenCalledWith(serverUrl, PUSH_PROXY_STATUS_VERIFIED);
expect(Alert.alert).not.toHaveBeenCalled();
});
});
describe('alertPushProxyError', () => {
test('displays alert with correct messages', () => {
const serverUrl = 'path_to_url
const alert = jest.spyOn(Alert, 'alert');
alertPushProxyError(intl, serverUrl);
expect(Alert.alert).toHaveBeenCalledWith(
'Notifications cannot be received from this server',
'Due to the configuration of this server, notifications cannot be received in the mobile app. Contact your system admin for more information.',
[{
text: 'Okay',
onPress: expect.any(Function),
}],
);
alert?.mock.calls?.[0]?.[2]?.[0]?.onPress?.();
expect(storePushDisabledInServerAcknowledged).toHaveBeenCalled();
});
});
describe('alertPushProxyUnknown', () => {
test('displays alert with correct messages', () => {
alertPushProxyUnknown(intl);
expect(Alert.alert).toHaveBeenCalledWith(
'Notifications could not be received from this server',
'This server was unable to receive push notifications for an unknown reason. This will be attempted again next time you connect.',
[{
text: 'Okay',
}],
);
});
});
describe('handleAlertResponse', () => {
const handleAlertResponse = async (buttonIndex: number, serverUrl?: string) => {
if (buttonIndex === 0 && serverUrl) {
await storePushDisabledInServerAcknowledged(urlSafeBase64Encode(serverUrl));
}
};
test('stores acknowledgment when buttonIndex is 0 and serverUrl is provided', async () => {
const serverUrl = 'path_to_url
await handleAlertResponse(0, serverUrl);
expect(storePushDisabledInServerAcknowledged).toHaveBeenCalledWith('encoded-path_to_url
});
test('does not store acknowledgment when buttonIndex is not 0', async () => {
const serverUrl = 'path_to_url
await handleAlertResponse(1, serverUrl);
expect(storePushDisabledInServerAcknowledged).not.toHaveBeenCalled();
});
test('does not store acknowledgment when serverUrl is not provided', async () => {
await handleAlertResponse(0);
expect(storePushDisabledInServerAcknowledged).not.toHaveBeenCalled();
});
});
});
```
|
There are at least 41 species of Lichens, Ascomycota known to exist in Montana. The Montana Natural Heritage Program has identified a number of lichen species as Species of Concern.
The Ascomycota are a Division/Phylum of the kingdom Fungi, and subkingdom Dikarya. Its members are commonly known as the sac fungi. They are the largest phylum of Fungi, with over 64,000 species. The defining feature of this fungal group is the "ascus" (from Greek: (askos), meaning "sac" or "wineskin"), a microscopic sexual structure in which nonmotile spores, called ascospores, are formed. However, some species of the Ascomycota are asexual, meaning that they do not have a sexual cycle and thus do not form asci or ascospores. Previously placed in the Deuteromycota along with asexual species from other fungal taxa, asexual (or anamorphic) ascomycetes are now identified and classified based on morphological or physiological similarities to ascus-bearing taxa, and by phylogenetic analyses of DNA sequences.
Arctomiaceae
Delicate arctomia lichen, Arctomia delicatula
Brigantiaeaceae
Brick-spored firedot lichen, Brigantiaea praetermissa
Cladoniaceae
Thorn cladonia lichen, Cladonia uncialis
Wooden soldiers lichen, Cladonia botrytes
Collemataceae
Jelly lichen, Collema curtisporum
Coniocybaceae
Collared glass whiskers lichen, Sclerophora amabilis
Hymeneliaceae
Vagrant aspicilia lichen, Aspicilia fruticulosa
Lecanoraceae
Wanderlust lichen, Rhizoplaca haydenii
Lobariaceae
Cabbage lungwort lichen, Lobaria linita
Gray lungwort lichen, Lobaria hallii
Netted specklebelly lichen, Pseudocyphellaria anomala
Textured lungwort lichen, Lobaria scrobiculata
Thorn lichen, Dendriscocaulon umhausense
Pannariaceae
Lead lichen, Parmeliella triptophylla
Parmeliaceae
Camouflage lichen, Melanelia commixta
Chestnut wrinkle-lichen, Cetraria sepincola
Foxtail lichen, Nodobryoria subdivergens
Frosted finger lichen, Dactylina ramulosa
Mountain oakmoss lichen, Evernia divaricata
Northern camouflage lichen, Melanelia septentrionalis
Ribbon rag lichen, Platismatia stenophylla
Ring lichen, Arctoparmelia subcentrifuga
Shield lichen, Parmelia fraudans
Tattered rag lichen, Platismatia herrei
Peltigeraceae
Chocolate chip lichen, Solorina bispora
Chocolate chip lichen, Solorina octospora
Fringed chocolate chip lichen, Solorina spongiosa
Fringed pelt lichen, Peltigera pacifica
Waterfan lichen, Peltigera hydrothyria
Pertusariaceae
Wart lichen, Pertusaria diluta
Physciaceae
Shadow lichen, Phaeophyscia kairamoi
Psoraceae
Scale lichen, Psora rubiformis
Ramalinaceae
Hooded ramalina lichen, Ramalina obtusata
Powdery twig lichen, Ramalina pollinaria
Slit-rimmed ramalina lichen, Ramalina subleptocarpha
Sphaerophoraceae
Coral lichen, Sphaerophorus tuckermanii
Stereocaulaceae
Easter lichen, Stereocaulon paschale
Umbilicariaceae
Rock tripe lichen, Umbilicaria havaasii
Rock tripe lichen, Umbilicaria hirsuta
Verrucariaceae
Elf-ear lichen, Normandina pulchella
Speck lichen, Verrucaria kootenaica
Further reading
See also
Ethnolichenology
Lichenometry
Lichenology
Coniferous plants of Montana
Monocotyledons of Montana
Notes
Montana
Lichen
Lichens
|
```php
<?php
/*
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Tests\Controller;
use App\Entity\User;
/**
* @group integration
*/
class DoctorControllerTest extends ControllerBaseTest
{
public function testDoctorIsSecure(): void
{
$this->assertUrlIsSecured('/doctor');
}
public function testDoctorIsSecureForRole(): void
{
$this->assertUrlIsSecuredForRole(User::ROLE_ADMIN, '/doctor');
}
public function testIndexAction(): void
{
$client = $this->getClientForAuthenticatedUser(User::ROLE_SUPER_ADMIN);
$this->assertAccessIsGranted($client, '/doctor');
$result = $client->getCrawler()->filter('.content .accordion-header');
$counter = \count($result);
// this can contain a warning box, that a new release is available
self::assertTrue($counter === 6 || $counter === 5);
}
public function testFlushLogWithInvalidCsrf(): void
{
$client = $this->getClientForAuthenticatedUser(User::ROLE_SUPER_ADMIN);
$this->assertInvalidCsrfToken($client, '/doctor/flush-log/rsetdzfukgli78t6r5uedtjfzkugl', $this->createUrl('/doctor'));
}
}
```
|
```smalltalk
using UnityEngine;
using System.Text;
using System.Collections;
using System.Collections.Generic;
namespace TMPro
{
public static class TMPro_ExtensionMethods
{
public static string ArrayToString(this char[] chars)
{
string s = string.Empty;
for (int i = 0; i < chars.Length && chars[i] != 0; i++)
{
s += chars[i];
}
return s;
}
public static string IntToString(this int[] unicodes)
{
char[] chars = new char[unicodes.Length];
for (int i = 0; i < unicodes.Length; i++)
{
chars[i] = (char)unicodes[i];
}
return new string(chars);
}
public static string IntToString(this int[] unicodes, int start, int length)
{
if (start > unicodes.Length)
return string.Empty;
int end = Mathf.Min(start + length, unicodes.Length);
char[] chars = new char[end - start];
int writeIndex = 0;
for (int i = start; i < end; i++)
{
chars[writeIndex++] = (char)unicodes[i];
}
return new string(chars);
}
public static int FindInstanceID <T> (this List<T> list, T target) where T : Object
{
int targetID = target.GetInstanceID();
for (int i = 0; i < list.Count; i++)
{
if (list[i].GetInstanceID() == targetID)
return i;
}
return -1;
}
public static bool Compare(this Color32 a, Color32 b)
{
return a.r == b.r && a.g == b.g && a.b == b.b && a.a == b.a;
}
public static bool CompareRGB(this Color32 a, Color32 b)
{
return a.r == b.r && a.g == b.g && a.b == b.b;
}
public static bool Compare(this Color a, Color b)
{
return a.r == b.r && a.g == b.g && a.b == b.b && a.a == b.a;
}
public static bool CompareRGB(this Color a, Color b)
{
return a.r == b.r && a.g == b.g && a.b == b.b;
}
public static Color32 Multiply (this Color32 c1, Color32 c2)
{
byte r = (byte)((c1.r / 255f) * (c2.r / 255f) * 255);
byte g = (byte)((c1.g / 255f) * (c2.g / 255f) * 255);
byte b = (byte)((c1.b / 255f) * (c2.b / 255f) * 255);
byte a = (byte)((c1.a / 255f) * (c2.a / 255f) * 255);
return new Color32(r, g, b, a);
}
public static Color32 Tint (this Color32 c1, Color32 c2)
{
byte r = (byte)((c1.r / 255f) * (c2.r / 255f) * 255);
byte g = (byte)((c1.g / 255f) * (c2.g / 255f) * 255);
byte b = (byte)((c1.b / 255f) * (c2.b / 255f) * 255);
byte a = (byte)((c1.a / 255f) * (c2.a / 255f) * 255);
return new Color32(r, g, b, a);
}
public static Color32 Tint(this Color32 c1, float tint)
{
byte r = (byte)(Mathf.Clamp(c1.r / 255f * tint * 255, 0, 255));
byte g = (byte)(Mathf.Clamp(c1.g / 255f * tint * 255, 0, 255));
byte b = (byte)(Mathf.Clamp(c1.b / 255f * tint * 255, 0, 255));
byte a = (byte)(Mathf.Clamp(c1.a / 255f * tint * 255, 0, 255));
return new Color32(r, g, b, a);
}
public static bool Compare(this Vector3 v1, Vector3 v2, int accuracy)
{
bool x = (int)(v1.x * accuracy) == (int)(v2.x * accuracy);
bool y = (int)(v1.y * accuracy) == (int)(v2.y * accuracy);
bool z = (int)(v1.z * accuracy) == (int)(v2.z * accuracy);
return x && y && z;
}
public static bool Compare(this Quaternion q1, Quaternion q2, int accuracy)
{
bool x = (int)(q1.x * accuracy) == (int)(q2.x * accuracy);
bool y = (int)(q1.y * accuracy) == (int)(q2.y * accuracy);
bool z = (int)(q1.z * accuracy) == (int)(q2.z * accuracy);
bool w = (int)(q1.w * accuracy) == (int)(q2.w * accuracy);
return x && y && z && w;
}
//public static void AddElementAtIndex<T>(this T[] array, int writeIndex, T item)
//{
// if (writeIndex >= array.Length)
// System.Array.Resize(ref array, Mathf.NextPowerOfTwo(writeIndex + 1));
// array[writeIndex] = item;
//}
/// <summary>
/// Insert item into array at index.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="array"></param>
/// <param name="index"></param>
/// <param name="item"></param>
//public static void Insert<T>(this T[] array, int index, T item)
//{
// if (index > array.Length - 1) return;
// T savedItem = item;
// for (int i = index; i < array.Length; i++)
// {
// savedItem = array[i];
// array[i] = item;
// item = savedItem;
// }
//}
/// <summary>
/// Insert item into array at index.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="array"></param>
/// <param name="index"></param>
/// <param name="item"></param>
//public static void Insert<T>(this T[] array, int index, T[] items)
//{
// if (index > array.Length - 1) return;
// System.Array.Resize(ref array, array.Length + items.Length);
// int sourceIndex = 0;
// T savedItem = items[sourceIndex];
// for (int i = index; i < array.Length; i++)
// {
// savedItem = array[i];
// array[i] = items[sourceIndex];
// items[sourceIndex] = savedItem;
// if (sourceIndex < items.Length - 1)
// sourceIndex += 1;
// else
// sourceIndex = 0;
// }
//}
}
public static class TMP_Math
{
public const float FLOAT_MAX = 32767;
public const float FLOAT_MIN = -32767;
public const int INT_MAX = 2147483647;
public const int INT_MIN = -2147483647;
public const float FLOAT_UNSET = -32767;
public const int INT_UNSET = -32767;
public static Vector2 MAX_16BIT = new Vector2(FLOAT_MAX, FLOAT_MAX);
public static Vector2 MIN_16BIT = new Vector2(FLOAT_MIN, FLOAT_MIN);
public static bool Approximately(float a, float b)
{
return (b - 0.0001f) < a && a < (b + 0.0001f);
}
}
}
```
|
```python
import math
def Prime(num, i):
if (num == 1):
return False
# Base cases
if (i <= 1):
return True
# Checking if i is a divisor or not
if (num % i == 0):
return False
# Check for next divisor
return Prime(num, i - 2)
# Driver Program
num = int(input())
if (num == 2):
print("It is a prime number")
if (num % 2 == 0):
print("It is not a prime number")
if (Prime(num, math.sqrt(num))):
print("It is a prime number")
else:
print("It is not a prime number")
# Input: 29
# Output: It is a prime number
```
|
```smarty
{{/*
*/}}
{{/*
Pod Spec
*/}}
{{- define "tomcat.pod" -}}
{{- include "tomcat.imagePullSecrets" . }}
automountServiceAccountToken: {{ .Values.automountServiceAccountToken }}
{{- if .Values.hostAliases }}
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.hostAliases "context" $) | nindent 2 }}
{{- end }}
{{- if .Values.affinity }}
affinity: {{- include "common.tplvalues.render" (dict "value" .Values.affinity "context" $) | nindent 2 }}
{{- else }}
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.podLabels .Values.commonLabels ) "context" . ) }}
affinity:
podAffinity: {{- include "common.affinities.pods" (dict "type" .Values.podAffinityPreset "customLabels" $podLabels "context" $) | nindent 4 }}
podAntiAffinity: {{- include "common.affinities.pods" (dict "type" .Values.podAntiAffinityPreset "customLabels" $podLabels "context" $) | nindent 4 }}
nodeAffinity: {{- include "common.affinities.nodes" (dict "type" .Values.nodeAffinityPreset.type "key" .Values.nodeAffinityPreset.key "values" .Values.nodeAffinityPreset.values) | nindent 4 }}
{{- end }}
serviceAccountName: {{ include "tomcat.serviceAccountName" . }}
{{- if .Values.schedulerName }}
schedulerName: {{ .Values.schedulerName | quote }}
{{- end }}
{{- if .Values.nodeSelector }}
nodeSelector: {{- include "common.tplvalues.render" ( dict "value" .Values.nodeSelector "context" $) | nindent 2 }}
{{- end }}
{{- if .Values.tolerations }}
tolerations: {{- include "common.tplvalues.render" (dict "value" .Values.tolerations "context" .) | nindent 2 }}
{{- end }}
{{- if .Values.podSecurityContext.enabled }}
securityContext: {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.podSecurityContext "context" $) | nindent 2 }}
{{- end }}
{{- if .Values.topologySpreadConstraints }}
topologySpreadConstraints: {{- include "common.tplvalues.render" (dict "value" .Values.topologySpreadConstraints "context" $) | nindent 2 }}
{{- end }}
initContainers:
{{- if and .Values.volumePermissions.enabled .Values.persistence.enabled }}
- name: volume-permissions
image: {{ template "tomcat.volumePermissions.image" . }}
imagePullPolicy: {{ .Values.volumePermissions.image.pullPolicy | quote }}
command:
- /bin/bash
- -ec
- |
chown -R {{ .Values.containerSecurityContext.runAsUser }}:{{ .Values.podSecurityContext.fsGroup }} /bitnami/tomcat
securityContext:
runAsUser: 0
{{- if .Values.volumePermissions.resources }}
resources: {{- toYaml .Values.volumePermissions.resources | nindent 6 }}
{{- else if ne .Values.volumePermissions.resourcesPreset "none" }}
resources: {{- include "common.resources.preset" (dict "type" .Values.volumePermissions.resourcesPreset) | nindent 6 }}
{{- end }}
volumeMounts:
- name: data
mountPath: /bitnami/tomcat
{{- end }}
{{- if .Values.initContainers }}
{{ include "common.tplvalues.render" (dict "value" .Values.initContainers "context" $) }}
{{- end }}
containers:
- name: tomcat
image: {{ template "tomcat.image" . }}
imagePullPolicy: {{ .Values.image.pullPolicy | quote }}
{{- if .Values.containerSecurityContext.enabled }}
securityContext: {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.containerSecurityContext "context" $) | nindent 6 }}
{{- end }}
{{- if .Values.command }}
command: {{- include "common.tplvalues.render" (dict "value" .Values.command "context" $) | nindent 6 }}
{{- end }}
{{- if .Values.args }}
args: {{- include "common.tplvalues.render" (dict "value" .Values.args "context" $) | nindent 6 }}
{{- end }}
env:
- name: BITNAMI_DEBUG
value: {{ ternary "true" "false" .Values.image.debug | quote }}
- name: TOMCAT_USERNAME
value: {{ .Values.tomcatUsername | quote }}
- name: TOMCAT_PASSWORD
valueFrom:
secretKeyRef:
name: {{ include "tomcat.secretName" . }}
key: tomcat-password
- name: TOMCAT_ALLOW_REMOTE_MANAGEMENT
value: {{ .Values.tomcatAllowRemoteManagement | quote }}
- name: TOMCAT_HTTP_PORT_NUMBER
value: {{ .Values.containerPorts.http | quote }}
{{- if or .Values.catalinaOpts .Values.metrics.jmx.enabled }}
- name: CATALINA_OPTS
value: {{ include "tomcat.catalinaOpts" . | quote }}
{{- end }}
{{- if .Values.extraEnvVars }}
{{- include "common.tplvalues.render" (dict "value" .Values.extraEnvVars "context" $) | nindent 6 }}
{{- end }}
{{- if or .Values.extraEnvVarsCM .Values.extraEnvVarsSecret }}
envFrom:
{{- if .Values.extraEnvVarsCM }}
- configMapRef:
name: {{ include "common.tplvalues.render" (dict "value" .Values.extraEnvVarsCM "context" $) }}
{{- end }}
{{- if .Values.extraEnvVarsSecret }}
- secretRef:
name: {{ include "common.tplvalues.render" (dict "value" .Values.extraEnvVarsSecret "context" $) }}
{{- end }}
{{- end }}
{{- if .Values.lifecycleHooks }}
lifecycle: {{- include "common.tplvalues.render" (dict "value" .Values.lifecycleHooks "context" $) | nindent 6 }}
{{- end }}
ports:
- name: http
containerPort: {{ .Values.containerPorts.http }}
{{- if .Values.containerExtraPorts }}
{{- include "common.tplvalues.render" (dict "value" .Values.containerExtraPorts "context" $) | nindent 6 }}
{{- end }}
{{- if .Values.customLivenessProbe }}
livenessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customLivenessProbe "context" $) | nindent 6 }}
{{- else if .Values.livenessProbe.enabled }}
livenessProbe:
tcpSocket:
port: http
{{- include "common.tplvalues.render" (dict "value" (omit .Values.livenessProbe "enabled") "context" $) | nindent 6 }}
{{- end }}
{{- if .Values.customReadinessProbe }}
readinessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customReadinessProbe "context" $) | nindent 6 }}
{{- else if .Values.readinessProbe.enabled }}
readinessProbe:
httpGet:
path: /
port: http
{{- include "common.tplvalues.render" (dict "value" (omit .Values.readinessProbe "enabled") "context" $) | nindent 6 }}
{{- end }}
{{- if .Values.customStartupProbe }}
startupProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customStartupProbe "context" $) | nindent 6 }}
{{- else if .Values.startupProbe.enabled }}
startupProbe:
httpGet:
path: /
port: http
{{- include "common.tplvalues.render" (dict "value" (omit .Values.startupProbe "enabled") "context" $) | nindent 6 }}
{{- end }}
{{- if .Values.resources }}
resources: {{- toYaml .Values.resources | nindent 6 }}
{{- else if ne .Values.resourcesPreset "none" }}
resources: {{- include "common.resources.preset" (dict "type" .Values.resourcesPreset) | nindent 6 }}
{{- end }}
volumeMounts:
- name: data
mountPath: /bitnami/tomcat
- name: empty-dir
mountPath: /opt/bitnami/tomcat/temp
subPath: app-tmp-dir
- name: empty-dir
mountPath: /opt/bitnami/tomcat/conf
subPath: app-conf-dir
- name: empty-dir
mountPath: /opt/bitnami/tomcat/logs
subPath: app-logs-dir
- name: empty-dir
mountPath: /opt/bitnami/tomcat/work
subPath: app-work-dir
- name: empty-dir
mountPath: /tmp
subPath: tmp-dir
{{- if .Values.extraVolumeMounts }}
{{- include "common.tplvalues.render" (dict "value" .Values.extraVolumeMounts "context" $) | nindent 6 }}
{{- end }}
{{- if .Values.metrics.jmx.enabled }}
- name: jmx-exporter
image: {{ template "tomcat.metrics.jmx.image" . }}
imagePullPolicy: {{ .Values.metrics.jmx.image.pullPolicy | quote }}
{{- if .Values.metrics.jmx.containerSecurityContext.enabled }}
securityContext: {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.metrics.jmx.containerSecurityContext "context" $) | nindent 12 }}
{{- end }}
command:
- java
args:
- -XX:MaxRAMPercentage=100
- -XshowSettings:vm
- -jar
- jmx_prometheus_httpserver.jar
- {{ .Values.metrics.jmx.ports.metrics | quote }}
- /etc/jmx-tomcat/jmx-tomcat-prometheus.yml
ports:
{{- range $key, $val := .Values.metrics.jmx.ports }}
- name: {{ $key }}
containerPort: {{ $val }}
{{- end }}
{{- if .Values.metrics.jmx.resources }}
resources: {{- toYaml .Values.metrics.jmx.resources | nindent 6 }}
{{- else if ne .Values.metrics.jmx.resourcesPreset "none" }}
resources: {{- include "common.resources.preset" (dict "type" .Values.metrics.jmx.resourcesPreset) | nindent 6 }}
{{- end }}
volumeMounts:
- name: jmx-config
mountPath: /etc/jmx-tomcat
- name: empty-dir
mountPath: /tmp
subPath: tmp-dir
{{- end }}
{{- if .Values.sidecars }}
{{- include "common.tplvalues.render" ( dict "value" .Values.sidecars "context" $) | nindent 2 }}
{{- end }}
volumes:
- name: empty-dir
emptyDir: {}
{{- if (eq .Values.deployment.type "deployment") }}
{{- if and .Values.persistence.enabled }}
- name: data
persistentVolumeClaim:
claimName: {{ template "tomcat.pvc" . }}
{{- else }}
- name: data
emptyDir: {}
{{- end }}
{{- end }}
{{- if and .Values.metrics.jmx.enabled (or .Values.metrics.jmx.config .Values.metrics.jmx.existingConfigmap) }}
- configMap:
name: {{ include "tomcat.metrics.jmx.configmapName" . }}
name: jmx-config
{{- end }}
{{- if .Values.extraVolumes }}
{{- include "common.tplvalues.render" (dict "value" .Values.extraVolumes "context" $) | nindent 2 }}
{{- end }}
{{- if .Values.extraPodSpec }}
{{- include "common.tplvalues.render" (dict "value" .Values.extraPodSpec "context" $) | nindent 0}}
{{- end }}
{{- end -}}
```
|
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MoonSharp.Interpreter.DataStructs
{
/// <summary>
/// Provides facility to create a "sliced" view over an existing IList<typeparamref name="T"/>
/// </summary>
/// <typeparam name="T">The type of the items contained in the collection</typeparam>
internal class Slice<T> : IEnumerable<T>, IList<T>
{
IList<T> m_SourceList;
int m_From, m_Length;
bool m_Reversed;
/// <summary>
/// Initializes a new instance of the <see cref="Slice{T}"/> class.
/// </summary>
/// <param name="list">The list to apply the Slice view on</param>
/// <param name="from">From which index</param>
/// <param name="length">The length of the slice</param>
/// <param name="reversed">if set to <c>true</c> the view is in reversed order.</param>
public Slice(IList<T> list, int from, int length, bool reversed)
{
m_SourceList = list;
m_From = from;
m_Length = length;
m_Reversed = reversed;
}
/// <summary>
/// Gets or sets the element at the specified index.
/// </summary>
/// <param name="index">The index.</param>
/// <returns></returns>
public T this[int index]
{
get
{
return m_SourceList[CalcRealIndex(index)];
}
set
{
m_SourceList[CalcRealIndex(index)] = value;
}
}
/// <summary>
/// Gets the index from which the slice starts
/// </summary>
public int From
{
get { return m_From; }
}
/// <summary>
/// Gets the number of elements contained in the <see cref="T:System.Collections.Generic.ICollection`1" />.
/// </summary>
/// <returns>The number of elements contained in the <see cref="T:System.Collections.Generic.ICollection`1" />.</returns>
public int Count
{
get { return m_Length; }
}
/// <summary>
/// Gets a value indicating whether this <see cref="Slice{T}"/> operates in a reversed direction.
/// </summary>
/// <value>
/// <c>true</c> if this <see cref="Slice{T}"/> operates in a reversed direction; otherwise, <c>false</c>.
/// </value>
public bool Reversed
{
get { return m_Reversed; }
}
/// <summary>
/// Calculates the real index in the underlying collection
/// </summary>
private int CalcRealIndex(int index)
{
if (index < 0 || index >= m_Length)
throw new ArgumentOutOfRangeException("index");
if (m_Reversed)
{
return m_From + m_Length - index - 1;
}
else
{
return m_From + index;
}
}
/// <summary>
/// Returns an enumerator that iterates through the collection.
/// </summary>
/// <returns>
/// A <see cref="T:System.Collections.Generic.IEnumerator`1" /> that can be used to iterate through the collection.
/// </returns>
public IEnumerator<T> GetEnumerator()
{
for (int i = 0; i < m_Length; i++)
yield return m_SourceList[CalcRealIndex(i)];
}
/// <summary>
/// Returns an enumerator that iterates through a collection.
/// </summary>
/// <returns>
/// An <see cref="T:System.Collections.IEnumerator" /> object that can be used to iterate through the collection.
/// </returns>
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
{
for (int i = 0; i < m_Length; i++)
yield return m_SourceList[CalcRealIndex(i)];
}
/// <summary>
/// Converts to an array.
/// </summary>
public T[] ToArray()
{
T[] array = new T[m_Length];
for (int i = 0; i < m_Length; i++)
array[i] = m_SourceList[CalcRealIndex(i)];
return array;
}
/// <summary>
/// Converts to an list.
/// </summary>
public List<T> ToList()
{
List<T> list = new List<T>(m_Length);
for (int i = 0; i < m_Length; i++)
list.Add(m_SourceList[CalcRealIndex(i)]);
return list;
}
/// <summary>
/// Determines the index of a specific item in the <see cref="T:System.Collections.Generic.IList`1" />.
/// </summary>
/// <param name="item">The object to locate in the <see cref="T:System.Collections.Generic.IList`1" />.</param>
/// <returns>
/// The index of <paramref name="item" /> if found in the list; otherwise, -1.
/// </returns>
public int IndexOf(T item)
{
for (int i = 0; i < this.Count; i++)
{
if (this[i].Equals(item))
return i;
}
return -1;
}
/// <summary>
/// Inserts an item to the <see cref="T:System.Collections.Generic.IList`1" /> at the specified index.
/// </summary>
/// <param name="index">The zero-based index at which <paramref name="item" /> should be inserted.</param>
/// <param name="item">The object to insert into the <see cref="T:System.Collections.Generic.IList`1" />.</param>
/// <exception cref="System.InvalidOperationException">Slices are readonly</exception>
public void Insert(int index, T item)
{
throw new InvalidOperationException("Slices are readonly");
}
/// <summary>
/// Removes the <see cref="T:System.Collections.Generic.IList`1" /> item at the specified index.
/// </summary>
/// <param name="index">The zero-based index of the item to remove.</param>
/// <exception cref="System.InvalidOperationException">Slices are readonly</exception>
public void RemoveAt(int index)
{
throw new InvalidOperationException("Slices are readonly");
}
/// <summary>
/// Adds an item to the <see cref="T:System.Collections.Generic.ICollection`1" />.
/// </summary>
/// <param name="item">The object to add to the <see cref="T:System.Collections.Generic.ICollection`1" />.</param>
/// <exception cref="System.InvalidOperationException">Slices are readonly</exception>
public void Add(T item)
{
throw new InvalidOperationException("Slices are readonly");
}
/// <summary>
/// Removes all items from the <see cref="T:System.Collections.Generic.ICollection`1" />.
/// </summary>
/// <exception cref="System.InvalidOperationException">Slices are readonly</exception>
public void Clear()
{
throw new InvalidOperationException("Slices are readonly");
}
/// <summary>
/// Determines whether the <see cref="T:System.Collections.Generic.ICollection`1" /> contains a specific value.
/// </summary>
/// <param name="item">The object to locate in the <see cref="T:System.Collections.Generic.ICollection`1" />.</param>
/// <returns>
/// true if <paramref name="item" /> is found in the <see cref="T:System.Collections.Generic.ICollection`1" />; otherwise, false.
/// </returns>
public bool Contains(T item)
{
return IndexOf(item) >= 0;
}
/// <summary>
/// Copies to.
/// </summary>
/// <param name="array">The array.</param>
/// <param name="arrayIndex">Index of the array.</param>
public void CopyTo(T[] array, int arrayIndex)
{
for (int i = 0; i < Count; i++)
array[i + arrayIndex] = this[i];
}
/// <summary>
/// Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only.
/// </summary>
/// <returns>true if the <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only; otherwise, false.</returns>
public bool IsReadOnly
{
get { return true; }
}
/// <summary>
/// Removes the first occurrence of a specific object from the <see cref="T:System.Collections.Generic.ICollection`1" />.
/// </summary>
/// <param name="item">The object to remove from the <see cref="T:System.Collections.Generic.ICollection`1" />.</param>
/// <returns>
/// true if <paramref name="item" /> was successfully removed from the <see cref="T:System.Collections.Generic.ICollection`1" />; otherwise, false. This method also returns false if <paramref name="item" /> is not found in the original <see cref="T:System.Collections.Generic.ICollection`1" />.
/// </returns>
/// <exception cref="System.InvalidOperationException">Slices are readonly</exception>
public bool Remove(T item)
{
throw new InvalidOperationException("Slices are readonly");
}
}
}
```
|
The Île des Embiez () is a French island in the Mediterranean Sea. It is the largest island in the Embiez archipelago. It is located off the coast of the port of Le Brusc in the commune of Six-Fours-les-Plages, in the Var department in the Provence-Alpes-Côte d'Azur region in South Eastern France. The island has a permanent population of 10.
A frequent daily ferry service runs to the island from Le Brusc. Summer boat trips leave from Sanary. The island is 0.9 square kilometers (0.35 sq mi) in size, and its shoreline is 6 kilometers (3.7 mi) long. The island's highest peak is 57 meters (187 feet) high. The port has moorings for 750 boats, and is the home of Le Garlaban, a three mast sailing boat that belonged to Paul Ricard and is now a seafood restaurant (only open in July and August).
The island has a strict environmental policy and its port was the first in the Var to be awarded ISO 14001 certification. The island also has Blue Flag beaches and the surface is protected under Natura 2000. Birds visible on the island include the avocet, the plover, the grey heron, the cormorant and the kingfisher.
The Île des Embiez has a main hotel with 60 rooms and one suite and 150 appartements, one hotel in the pinewood with 20 rooms and a house for private or professional events. The island also has five restaurants, and is the location of the Paul Ricard Oceanographic Institute (Institut océanographique Paul Ricard). Natural attractions include seven beaches, a pine forest and nature trail, and a vineyard. Sporting facilities include tennis pitches and pétanque.
The 10 hectare (25 acre) vineyard is part of the Côtes de Provence AOC region. Its Côtes de Provence wine is made from Grenache and Cinsaut grapes. Its 'Pays des Embiez' wines are available in rosé, (made from Cinsaut and Grenache grape varieties); white wine, (made from Ugni and Sauvignon), and red wine, with (Merlot and Cabernet grapes).
In 1958, the island was bought by industrialist Paul Ricard (1909-1997) the founder of Ricard, the pastis (liquor) manufacturer. Ricard is buried on the Île des Embiez. His grave is on the island's highest point, facing the sea. The island commemorates Ricard's birthday on the 9 July every year.
See also
The island of Bendor, bought by Ricard in 1950.
References
External links
Landforms of Var (department)
Islands of Provence-Alpes-Côte d'Azur
Mediterranean islands
Natura 2000 in France
Tourist attractions in Var (department)
|
```javascript
/**
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
'use strict';
// MODULES //
var tape = require( 'tape' );
var getOwnPropertySymbols = require( './../lib/polyfill.js' );
// TESTS //
tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.strictEqual( typeof getOwnPropertySymbols, 'function', 'main export is a function' );
t.end();
});
tape( 'the function returns an empty array', function test( t ) {
var actual;
var values;
var i;
values = [
'5',
5,
NaN,
true,
false,
null,
void 0,
[],
{},
function noop() {}
];
for ( i = 0; i < values.length; i++ ) {
actual = getOwnPropertySymbols( values[ i ] );
t.deepEqual( actual, [], 'returns expected results when provided '+values[i] );
}
t.end();
});
```
|
```smalltalk
#if !NO_RUNTIME
using System;
using System.Collections;
using ProtoBuf.Meta;
#if FEAT_IKVM
using Type = IKVM.Reflection.Type;
using IKVM.Reflection;
#else
using System.Reflection;
#endif
namespace ProtoBuf.Serializers
{
sealed class ArrayDecorator : ProtoDecoratorBase
{
private readonly int fieldNumber;
private const byte
OPTIONS_WritePacked = 1,
OPTIONS_OverwriteList = 2,
OPTIONS_SupportNull = 4;
private readonly byte options;
private readonly WireType packedWireType;
public ArrayDecorator(TypeModel model, IProtoSerializer tail, int fieldNumber, bool writePacked, WireType packedWireType, Type arrayType, bool overwriteList, bool supportNull)
: base(tail)
{
Helpers.DebugAssert(arrayType != null, "arrayType should be non-null");
Helpers.DebugAssert(arrayType.IsArray && arrayType.GetArrayRank() == 1, "should be single-dimension array; " + arrayType.FullName);
this.itemType = arrayType.GetElementType();
#if NO_GENERICS
Type underlyingItemType = itemType;
#else
Type underlyingItemType = supportNull ? itemType : (Helpers.GetUnderlyingType(itemType) ?? itemType);
#endif
Helpers.DebugAssert(underlyingItemType == Tail.ExpectedType, "invalid tail");
Helpers.DebugAssert(Tail.ExpectedType != model.MapType(typeof(byte)), "Should have used BlobSerializer");
if ((writePacked || packedWireType != WireType.None) && fieldNumber <= 0) throw new ArgumentOutOfRangeException("fieldNumber");
if (!ListDecorator.CanPack(packedWireType))
{
if (writePacked) throw new InvalidOperationException("Only simple data-types can use packed encoding");
packedWireType = WireType.None;
}
this.fieldNumber = fieldNumber;
this.packedWireType = packedWireType;
if (writePacked) options |= OPTIONS_WritePacked;
if (overwriteList) options |= OPTIONS_OverwriteList;
if (supportNull) options |= OPTIONS_SupportNull;
this.arrayType = arrayType;
}
readonly Type arrayType, itemType; // this is, for example, typeof(int[])
public override Type ExpectedType { get { return arrayType; } }
public override bool RequiresOldValue { get { return AppendToCollection; } }
public override bool ReturnsValue { get { return true; } }
#if FEAT_COMPILER
protected override void EmitWrite(ProtoBuf.Compiler.CompilerContext ctx, ProtoBuf.Compiler.Local valueFrom)
{
// int i and T[] arr
using (Compiler.Local arr = ctx.GetLocalWithValue(arrayType, valueFrom))
using (Compiler.Local i = new ProtoBuf.Compiler.Local(ctx, ctx.MapType(typeof(int))))
{
bool writePacked = (options & OPTIONS_WritePacked) != 0;
using (Compiler.Local token = writePacked ? new Compiler.Local(ctx, ctx.MapType(typeof(SubItemToken))) : null)
{
Type mappedWriter = ctx.MapType(typeof (ProtoWriter));
if (writePacked)
{
ctx.LoadValue(fieldNumber);
ctx.LoadValue((int)WireType.String);
ctx.LoadReaderWriter();
ctx.EmitCall(mappedWriter.GetMethod("WriteFieldHeader"));
ctx.LoadValue(arr);
ctx.LoadReaderWriter();
ctx.EmitCall(mappedWriter.GetMethod("StartSubItem"));
ctx.StoreValue(token);
ctx.LoadValue(fieldNumber);
ctx.LoadReaderWriter();
ctx.EmitCall(mappedWriter.GetMethod("SetPackedField"));
}
EmitWriteArrayLoop(ctx, i, arr);
if (writePacked)
{
ctx.LoadValue(token);
ctx.LoadReaderWriter();
ctx.EmitCall(mappedWriter.GetMethod("EndSubItem"));
}
}
}
}
private void EmitWriteArrayLoop(Compiler.CompilerContext ctx, Compiler.Local i, Compiler.Local arr)
{
// i = 0
ctx.LoadValue(0);
ctx.StoreValue(i);
// range test is last (to minimise branches)
Compiler.CodeLabel loopTest = ctx.DefineLabel(), processItem = ctx.DefineLabel();
ctx.Branch(loopTest, false);
ctx.MarkLabel(processItem);
// {...}
ctx.LoadArrayValue(arr, i);
if (SupportNull)
{
Tail.EmitWrite(ctx, null);
}
else
{
ctx.WriteNullCheckedTail(itemType, Tail, null);
}
// i++
ctx.LoadValue(i);
ctx.LoadValue(1);
ctx.Add();
ctx.StoreValue(i);
// i < arr.Length
ctx.MarkLabel(loopTest);
ctx.LoadValue(i);
ctx.LoadLength(arr, false);
ctx.BranchIfLess(processItem, false);
}
#endif
private bool AppendToCollection
{
get { return (options & OPTIONS_OverwriteList) == 0; }
}
private bool SupportNull { get { return (options & OPTIONS_SupportNull) != 0; } }
#if !FEAT_IKVM
public override void Write(object value, ProtoWriter dest)
{
IList arr = (IList)value;
int len = arr.Count;
SubItemToken token;
bool writePacked = (options & OPTIONS_WritePacked) != 0;
if (writePacked)
{
ProtoWriter.WriteFieldHeader(fieldNumber, WireType.String, dest);
token = ProtoWriter.StartSubItem(value, dest);
ProtoWriter.SetPackedField(fieldNumber, dest);
}
else
{
token = new SubItemToken(); // default
}
bool checkForNull = !SupportNull;
for (int i = 0; i < len; i++)
{
object obj = arr[i];
if (checkForNull && obj == null) { throw new NullReferenceException(); }
Tail.Write(obj, dest);
}
if (writePacked)
{
ProtoWriter.EndSubItem(token, dest);
}
}
public override object Read(object value, ProtoReader source)
{
int field = source.FieldNumber;
BasicList list = new BasicList();
if (packedWireType != WireType.None && source.WireType == WireType.String)
{
SubItemToken token = ProtoReader.StartSubItem(source);
while (ProtoReader.HasSubValue(packedWireType, source))
{
list.Add(Tail.Read(null, source));
}
ProtoReader.EndSubItem(token, source);
}
else
{
do
{
list.Add(Tail.Read(null, source));
} while (source.TryReadFieldHeader(field));
}
int oldLen = AppendToCollection ? ((value == null ? 0 : ((Array)value).Length)) : 0;
Array result = Array.CreateInstance(itemType, oldLen + list.Count);
if (oldLen != 0) ((Array)value).CopyTo(result, 0);
list.CopyTo(result, oldLen);
return result;
}
#endif
#if FEAT_COMPILER
protected override void EmitRead(ProtoBuf.Compiler.CompilerContext ctx, ProtoBuf.Compiler.Local valueFrom)
{
Type listType;
#if NO_GENERICS
listType = typeof(BasicList);
#else
listType = ctx.MapType(typeof(System.Collections.Generic.List<>)).MakeGenericType(itemType);
#endif
Type expected = ExpectedType;
using (Compiler.Local oldArr = AppendToCollection ? ctx.GetLocalWithValue(expected, valueFrom) : null)
using (Compiler.Local newArr = new Compiler.Local(ctx, expected))
using (Compiler.Local list = new Compiler.Local(ctx, listType))
{
ctx.EmitCtor(listType);
ctx.StoreValue(list);
ListDecorator.EmitReadList(ctx, list, Tail, listType.GetMethod("Add"), packedWireType, false);
// leave this "using" here, as it can share the "FieldNumber" local with EmitReadList
using(Compiler.Local oldLen = AppendToCollection ? new ProtoBuf.Compiler.Local(ctx, ctx.MapType(typeof(int))) : null) {
Type[] copyToArrayInt32Args = new Type[] { ctx.MapType(typeof(Array)), ctx.MapType(typeof(int)) };
if (AppendToCollection)
{
ctx.LoadLength(oldArr, true);
ctx.CopyValue();
ctx.StoreValue(oldLen);
ctx.LoadAddress(list, listType);
ctx.LoadValue(listType.GetProperty("Count"));
ctx.Add();
ctx.CreateArray(itemType, null); // length is on the stack
ctx.StoreValue(newArr);
ctx.LoadValue(oldLen);
Compiler.CodeLabel nothingToCopy = ctx.DefineLabel();
ctx.BranchIfFalse(nothingToCopy, true);
ctx.LoadValue(oldArr);
ctx.LoadValue(newArr);
ctx.LoadValue(0); // index in target
ctx.EmitCall(expected.GetMethod("CopyTo", copyToArrayInt32Args));
ctx.MarkLabel(nothingToCopy);
ctx.LoadValue(list);
ctx.LoadValue(newArr);
ctx.LoadValue(oldLen);
}
else
{
ctx.LoadAddress(list, listType);
ctx.LoadValue(listType.GetProperty("Count"));
ctx.CreateArray(itemType, null);
ctx.StoreValue(newArr);
ctx.LoadAddress(list, listType);
ctx.LoadValue(newArr);
ctx.LoadValue(0);
}
copyToArrayInt32Args[0] = expected; // // prefer: CopyTo(T[], int)
MethodInfo copyTo = listType.GetMethod("CopyTo", copyToArrayInt32Args);
if (copyTo == null)
{ // fallback: CopyTo(Array, int)
copyToArrayInt32Args[1] = ctx.MapType(typeof(Array));
copyTo = listType.GetMethod("CopyTo", copyToArrayInt32Args);
}
ctx.EmitCall(copyTo);
}
ctx.LoadValue(newArr);
}
}
#endif
}
}
#endif
```
|
Emma Moffatt (born 7 September 1984) is a retired Australian professional triathlete. She won a bronze medal at the 2008 Summer Olympics in Beijing, and won the gold at the ITU Triathlon World Championships in 2009 and in 2010. She was born in Moree, New South Wales, and was raised in the northern New South Wales town of Woolgoolga.
From a young age, she participated in such sports as cross country, athletics, and surf lifesaving. In her early teens, Emma began successfully participating in triathlon. Each of her three siblings and parents also competed in triathlon, while her elder sister Nicole was a champion Ironwoman in surf lifesaving.
Before she went to the Australian Institute of Sport, she went to Woolgoolga High School. She is an Australian Institute of Sport scholarship holder. She has been named Triathlon Australia's athlete of the year twice, in 2007 and 2012. In 2009, she was the Australian Institute of Sport's athlete of the year.
Moffatt was selected by the Australian Olympic Committee to compete in the London 2012 Olympics. The event was held in and around Hyde Park, with the swim being held in the Serpentine. However, she did not finish the event after a heavy fall during the cycling stage.
She came second in the run of the Gold Coast Marathon-event on 1 July 2012 in Gold Coast, Queensland, Australia, finishing behind Lisa Jane Weightman.
At the 2014 Commonwealth Games, she was part of the Australian mixed relay team that won bronze.
References
External links
(archive)
1984 births
Living people
Australian female triathletes
Triathletes at the 2008 Summer Olympics
Triathletes at the 2012 Summer Olympics
Triathletes at the 2016 Summer Olympics
Olympic triathletes for Australia
Olympic bronze medalists for Australia
Sportswomen from Queensland
Olympic bronze medalists in triathlon
Sportswomen from New South Wales
Medalists at the 2008 Summer Olympics
Triathletes at the 2014 Commonwealth Games
Commonwealth Games bronze medallists for Australia
Sportspeople from Brisbane
Commonwealth Games medallists in triathlon
21st-century Australian women
Medallists at the 2014 Commonwealth Games
|
Al Iqtissadiya (Arabic: الاقتصادية; Economy) is a weekly Arabic newspaper published in Syria. The paper is one of the first privately owned publications in Syria. Its sister paper is Al Watan, a daily newspaper.
History and profile
Al Iqtissadiya was launched in June 2001. The owner of the weekly is Rami Makhlouf, the cousin of the Syrian President Bashar Assad. The paper, based in Damascus, is published on Sundays. It focuses on financial and business news, including local news, international news, economical research and studies. As of 2012 the paper both exhibited a critical attitude towards slow progress in the economic and social fields and clearly supported the Assad regime's national and foreign policies. In 2005, the editor-in-chief of the paper was Waddah Abed Rabbo.
The weekly was the only Syrian publication that paid adequate tribute to Rafik Hariri, the assassinated prime minister of Lebanon in February 2005.
References
External links
2001 establishments in Syria
Arabic-language newspapers
Business newspapers
Mass media in Damascus
Newspapers established in 2001
Weekly newspapers published in Syria
|
Ciuta is a three-act play by Victor Ion Popa first performed in 1922 at National Theatre Bucharest.
Bibliography
Paul Prodan, Teatrul românesc contemporan, [1920-1927], Fundația Culturală Principele Carol pag. 221-224
Ștefan Cristea, Victor Ion Popa, viața și descrierea operei: contribuții documentare, Ed. Minerva, 1973
Vicu Mîndra, Victor Ion Popa, Ed. Albatros, 1975
Vicu Mîndra, Istoria literaturii dramatice românești: De la începuturi pînă la 1890, Ed. Minerva, 1985
See also
List of Romanian plays
1922 plays
Romanian plays
|
José Olímpio Silveira Moraes (born 11 December 1956) often referred to as José Olimpio or Missionário José Olimpio is a Brazilian politician, businessman, and pastor from São Paulo, having served as city councilmen and state representative. He is also a senior leader of the Igreja Mundial do Poder de Deus.
Early life
José Olímpio was born to a family of modest means and worked as a taxi driver before becoming a businessman. He is a senior leader in the neo-Pentecostal movement the Igreja Mundial do Poder de Deus and is a close friend to its founder Valdemiro Santiago. José Olímpio is often nicknamed Missionário José Olimpio for his frequent proselytism. His son Rodrigo Moraes is also a pastor in the church as well as also being a politician.
Political career
José Olímpio would ultimately vote in favor of the impeachment against then-president Dilma Rousseff. He would later back Rousseff's successor Michel Temer against a similar impeachment motion, and also voted in favor of the Brazil labor reform (2017).
José Olímpio is a popular figure in his home state for his pushing a bill making home ownership easier. Before the bill passed in 2016, he said that it was his prime priority in the chamber of deputies.
José Olímpio was accused of nepotism after helping his son, Rodrigo Moraes, of the PSC also get elected to represent São Paulo in the chamber of deputies in 2010.
José Olímpio was investigated during Operation Car Wash for allegedly taking brides between 2011 and 2014.
References
1956 births
Living people
People from Itu, São Paulo
Brazilian businesspeople
Democrats (Brazil) politicians
Brazilian Pentecostal pastors
Members of the Chamber of Deputies (Brazil) from São Paulo
Members of the Legislative Assembly of São Paulo
Brazilian taxi drivers
|
```go
// Unless explicitly stated otherwise all files in this repository are licensed
// This product includes software developed at Datadog (path_to_url
package state
import (
"encoding/json"
"fmt"
"regexp"
"github.com/pkg/errors"
)
const agentConfigOrderID = "configuration_order"
var datadogConfigIDRegexp = regexp.MustCompile(`^datadog/\d+/AGENT_CONFIG/([^/]+)/[^/]+$`)
// AgentConfig is a deserialized agent configuration file
// along with the associated metadata
type AgentConfig struct {
Config agentConfigData
Metadata Metadata
}
// ConfigContent contains the configurations set by remote-config
type ConfigContent struct {
LogLevel string `json:"log_level"`
}
type agentConfigData struct {
Name string `json:"name"`
Config ConfigContent `json:"config"`
}
// AgentConfigOrder is a deserialized agent configuration file
// along with the associated metadata
type AgentConfigOrder struct {
Config agentConfigOrderData
Metadata Metadata
}
type agentConfigOrderData struct {
Order []string `json:"order"`
InternalOrder []string `json:"internal_order"`
}
// AgentConfigState contains the state of the config in case of fallback or override
type AgentConfigState struct {
FallbackLogLevel string
LatestLogLevel string
}
// parseConfigAgentConfig parses an agent task config
func parseConfigAgentConfig(data []byte, metadata Metadata) (AgentConfig, error) {
var d agentConfigData
err := json.Unmarshal(data, &d)
if err != nil {
return AgentConfig{}, fmt.Errorf("Unexpected AGENT_CONFIG received through remote-config: %s", err)
}
return AgentConfig{
Config: d,
Metadata: metadata,
}, nil
}
// parseConfigAgentConfig parses an agent task config
func parseConfigAgentConfigOrder(data []byte, metadata Metadata) (AgentConfigOrder, error) {
var d agentConfigOrderData
err := json.Unmarshal(data, &d)
if err != nil {
return AgentConfigOrder{}, fmt.Errorf("Unexpected AGENT_CONFIG received through remote-config: %s", err)
}
return AgentConfigOrder{
Config: d,
Metadata: metadata,
}, nil
}
// MergeRCAgentConfig is the callback function called when there is an AGENT_CONFIG config update
// The RCClient can directly call back listeners, because there would be no way to send back
// RCTE2 configuration applied state to RC backend.
func MergeRCAgentConfig(applyStatus func(cfgPath string, status ApplyStatus), updates map[string]RawConfig) (ConfigContent, error) {
var orderFile AgentConfigOrder
var hasError bool
var fullErr error
parsedLayers := map[string]AgentConfig{}
for configPath, c := range updates {
var err error
matched := datadogConfigIDRegexp.FindStringSubmatch(configPath)
if len(matched) != 2 {
err = fmt.Errorf("config file path '%s' has wrong format", configPath)
hasError = true
fullErr = errors.Wrap(fullErr, err.Error())
applyStatus(configPath, ApplyStatus{
State: ApplyStateError,
Error: err.Error(),
})
// If a layer is wrong, fail later to parse the rest and check them all
continue
}
parsedConfigID := matched[1]
// Ignore the configuration order file
if parsedConfigID == agentConfigOrderID {
orderFile, err = parseConfigAgentConfigOrder(c.Config, c.Metadata)
if err != nil {
hasError = true
fullErr = errors.Wrap(fullErr, err.Error())
applyStatus(configPath, ApplyStatus{
State: ApplyStateError,
Error: err.Error(),
})
// If a layer is wrong, fail later to parse the rest and check them all
continue
}
} else {
cfg, err := parseConfigAgentConfig(c.Config, c.Metadata)
if err != nil {
hasError = true
applyStatus(configPath, ApplyStatus{
State: ApplyStateError,
Error: err.Error(),
})
// If a layer is wrong, fail later to parse the rest and check them all
continue
}
parsedLayers[parsedConfigID] = cfg
}
}
// If there was at least one error, don't apply any config
if hasError || (len(orderFile.Config.Order) == 0 && len(orderFile.Config.InternalOrder) == 0) {
return ConfigContent{}, fullErr
}
// Go through all the layers that were sent, and apply them one by one to the merged structure
mergedConfig := ConfigContent{}
for i := len(orderFile.Config.Order) - 1; i >= 0; i-- {
if layer, found := parsedLayers[orderFile.Config.Order[i]]; found {
mergedConfig.LogLevel = layer.Config.Config.LogLevel
}
}
// Same for internal config
for i := len(orderFile.Config.InternalOrder) - 1; i >= 0; i-- {
if layer, found := parsedLayers[orderFile.Config.InternalOrder[i]]; found {
mergedConfig.LogLevel = layer.Config.Config.LogLevel
}
}
return mergedConfig, nil
}
```
|
```ruby
# -*- encoding: utf-8 -*-
describe :stringio_each_char, shared: true do
before :each do
@io = StringIO.new("xyz ")
end
it "yields each character code in turn" do
seen = []
@io.send(@method) { |c| seen << c }
seen.should == ["x", "y", "z", " ", "", "", ""]
end
it "returns self" do
@io.send(@method) {}.should equal(@io)
end
it "returns an Enumerator when passed no block" do
enum = @io.send(@method)
enum.instance_of?(Enumerator).should be_true
seen = []
enum.each { |c| seen << c }
seen.should == ["x", "y", "z", " ", "", "", ""]
end
end
describe :stringio_each_char_not_readable, shared: true do
it "raises an IOError" do
io = StringIO.new(+"xyz", "w")
-> { io.send(@method) { |b| b } }.should raise_error(IOError)
io = StringIO.new("xyz")
io.close_read
-> { io.send(@method) { |b| b } }.should raise_error(IOError)
end
end
```
|
```python
# coding=utf-8
# *** WARNING: this file was generated by test. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import copy
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import _utilities
__all__ = ['ProviderArgs', 'Provider']
@pulumi.input_type
class ProviderArgs:
def __init__(__self__):
"""
The set of arguments for constructing a Provider resource.
"""
pass
class Provider(pulumi.ProviderResource):
@overload
def __init__(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
__props__=None):
"""
Create a Foobar resource with the given unique name, props, and options.
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
"""
...
@overload
def __init__(__self__,
resource_name: str,
args: Optional[ProviderArgs] = None,
opts: Optional[pulumi.ResourceOptions] = None):
"""
Create a Foobar resource with the given unique name, props, and options.
:param str resource_name: The name of the resource.
:param ProviderArgs args: The arguments to use to populate this resource's properties.
:param pulumi.ResourceOptions opts: Options for the resource.
"""
...
def __init__(__self__, resource_name: str, *args, **kwargs):
resource_args, opts = _utilities.get_resource_args_opts(ProviderArgs, pulumi.ResourceOptions, *args, **kwargs)
if resource_args is not None:
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
else:
__self__._internal_init(resource_name, *args, **kwargs)
def _internal_init(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
__props__=None):
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
if not isinstance(opts, pulumi.ResourceOptions):
raise TypeError('Expected resource options to be a ResourceOptions instance')
if opts.id is None:
if __props__ is not None:
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
__props__ = ProviderArgs.__new__(ProviderArgs)
super(Provider, __self__).__init__(
'foobar',
resource_name,
__props__,
opts)
```
|
"Summer Days" is a song by Dutch producer Martin Garrix, featuring American rapper Macklemore and singer Patrick Stump of Fall Out Boy. The song was released on 25 April 2019. The music video for the song was released on 22 May 2019.
Background
On 20 April 2019, Garrix, Macklemore and Stump all simultaneously shared a picture with the caption "I got this feeling on a Summer day" on their social media. The collaboration was officially confirmed by Garrix two days later. Garrix teased the release by posting a snippet of the song. Kat Bein of Billboard described the collaboration as "a cross-genre-sing-along".
Charts
Weekly charts
Year-end charts
Certifications
References
2019 songs
2019 singles
Martin Garrix songs
Macklemore songs
Stmpd Rcrds singles
Songs written by Martin Garrix
Songs written by Macklemore
Songs written by Brian Lee (songwriter)
|
Montcenis () is a commune in the Saône-et-Loire department in the region of Bourgogne-Franche-Comté in eastern France.
Geography
The Bourbince river has its source in the commune.
See also
Communes of the Saône-et-Loire department
References
Communes of Saône-et-Loire
|
Victory Super Markets was a grocery store chain based in Leominster, Massachusetts that included 20 stores across Massachusetts and New Hampshire. It was founded in 1923 by two DiGeronimo brothers and was originally named after the American war effort in World War I. It acquired 4 Shaw's locations in the Boston Metro Area since around 1999 and 2000. The family-run company was sold to Hannaford Brothers Company in 2004 after a successful 81 year stretch. When it was sold, the company employed over 2,600 workers and had an annual revenue of $385 million. In 2005, the website began redirecting people to the Hannaford website.
History
Beginning
Following their deployment and America’s subsequent victory in World War I, Italian-American brothers, James and Louis DiGeronimo created a corner market in 1923 in their hometown of Leominster, Massachusetts. This was a small grocery store very different from what it would grow to be. It was owned and operated by the two brothers and specialized in fresh meats and home delivery.
The first supermarket
The first true super market was opened in 1955 by the founders’ sons. James’ sons were Arthur and Jimmy, while Anthony and Joe were Louis’. These four men expanded the business greatly until its closing nearly half a century later. This supermarket opened where the future headquarters would be located, on North Main Street in Leominster.
3rd generation
During the 1980s, the third and final generation of DiGeronimo's came into the family business. This generation was composed of Arthur's sons Arthur Jr., David, Michael, and Steven, and Jimmy's sons Jimmy, John and Robert. Along with their fathers, these ten men made up the DiGeronimo Brothers featured on the company's sign and logo. With the arrival of these new owners, Victory saw great expansion company-wide. These sons took over the day-to-day running of the business and created many new stores and removed old ones over the next two decades.
Expansion
In 1996, Victory began a new expansion concept in their grocery stores: Market Square. This idea put an emphasis on perishable foods and food-to-go. It offered cafe-style seating, along with sandwich, sushi, and stir fry stations. Market Square was tested out first in the Kingston store. Following success here, Market Square was applied to stores in Leominster, and Derry, New Hampshire. They also bought the Shaw's locations in North Quincy, Norwood, Waltham, Norwell, Massachusetts and closed their Maynard and Amherst, Massachusetts locations by 1999 and 2000.
Victory never purchased the Shaw's in Milford. Shaw's/Star acquired the 98 Prospect St. Milford, MA location in the Papelian Plaza after acquiring/ merging with Iandoli Food Stores Inc. That location is still a Shaw's.
Victory Foods acquired the land of what was formerly a SEARS outlet closeout store (famous for bins of vastly discounted woman's undergarments.) In the Autozone/Lincoln Drugs plaza.
Victory proceeded to build a new store in Milford, before being sold to Hannaford's stores, which subsequently sold to and converted to a Big Y in the summer of 2016.
Store locations
Sale of Victory
After a long and successful 80 years of family-run business, Victory Super Markets' owners decided to sell the company. It was bought in September 2004 by Hannaford Brothers Company, a subsidiary of the Belgian Delhaize Group, for $175 million. The sale gave Hannaford 19 of Victory's 20 stores. These stores were converted into Hannaford grocery stores (making their locations in Massachusetts spread over Eastern and Central part of the state) while the last remaining store, located in Athol, was shut down because Hannaford already had a larger, more modern store there. A few years later, The Athol location is now owned by Ocean State Job Lot. Hannaford closed the Ayer location in early 2015 and is expected to reopen as an independently-owned Shop 'n Save supermarket supplied by Hannaford. In July 2016, it was announced that 8 of the Hannaford locations would be sold (to Big Y) due to the merger of the parent companies of Hannaford and Stop & Shop.
References
Defunct supermarkets of the United States
Companies based in Massachusetts
American companies established in 1923
Food and drink companies established in 1923
Retail companies established in 1923
Retail companies disestablished in 2004
Defunct companies based in Massachusetts
2004 disestablishments in Massachusetts
|
```javascript
/**
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
'use strict';
var randu = require( '@stdlib/random/base/randu' );
var round = require( '@stdlib/math/base/special/round' );
var pmf = require( './../lib' );
var i;
var r;
var p;
var x;
var y;
for ( i = 0; i < 10; i++ ) {
x = round( randu() * 30 );
r = randu() * 50;
p = randu();
y = pmf( x, r, p );
console.log( 'x: %d, r: %d, p: %d, P(X=x;r,p): %d', x, r, p.toFixed( 4 ), y.toFixed( 4 ) );
}
```
|
```java
/*
* Use of this source code is governed by the GPL v3 license
* that can be found in the LICENSE file.
*/
package de.neemann.digital.draw.graphics;
import java.io.Closeable;
import java.io.IOException;
/**
* Interface used to draw the circuit.
* There are implementations to draw on a {@link java.awt.Graphics2D} instance ({@link GraphicSwing}) but also
* implementations which create export formats like SVG ({@link GraphicSVG}).
*/
public abstract class Graphic implements Closeable {
/**
* The available flags
*/
public enum Flag {noShapeFilling, smallIO, hideTest, noPinMarker, thinnerLines, tiny}
/**
* Sets the bounding box of the future usage of this instance
* Instances that create a file will use this bounding box th write a header.
* So this method needs to be called before a draw-Method is called.
*
* @param min upper left corner
* @param max lower right corner
* @return this for chained calls
*/
public Graphic setBoundingBox(VectorInterface min, VectorInterface max) {
return this;
}
/**
* Draws a line
*
* @param p1 first point
* @param p2 second point
* @param style the line style
*/
public abstract void drawLine(VectorInterface p1, VectorInterface p2, Style style);
/**
* Draws a polygon
*
* @param p the polygon to draw
* @param style the style
*/
public abstract void drawPolygon(Polygon p, Style style);
/**
* Draws a circle
*
* @param p1 upper left corner of outer rectangle containing the circle
* @param p2 lower right corner of outer rectangle containing the circle
* @param style the style
*/
public abstract void drawCircle(VectorInterface p1, VectorInterface p2, Style style);
/**
* Draws a circle for highlighting
*
* @param p1 upper left corner of outer rectangle containing the circle
* @param p2 lower right corner of outer rectangle containing the circle
* @param style the style
*/
public void drawCircleHighlight(VectorInterface p1, VectorInterface p2, Style style) {
drawCircle(p1, p2, style);
}
/**
* Draws text
*
* @param p1 point to draw the text
* @param p2 point at the left of p1, is used to determine the correct orientation of the text after transforming coordinates
* @param p3 point at the top of p1, is used to determine the correct orientation of the text after transforming coordinates
* @param text the text
* @param orientation the text orientation
* @param style the text style
*/
public abstract void drawText(VectorInterface p1, VectorInterface p2, VectorInterface p3, String text, Orientation orientation, Style style);
/**
* Draws text
*
* @param p1 point to draw the text
* @param p2 point at the left of p1, is used to determine the correct orientation of the text after transforming coordinates
* @param text the text
* @param orientation the text orientation
* @param style the text style
*/
public final void drawText(VectorInterface p1, VectorInterface p2, String text, Orientation orientation, Style style) {
VectorInterface d = p2.sub(p1).toFloat().getOrthogonal();
drawText(p1, p2, p1.add(d), text, orientation, style);
}
/**
* Helper to draw a horizontal left to right text
*
* @param pos the text position
* @param text the text
* @param orientation the text orientation
* @param style the text style
*/
public final void drawText(VectorInterface pos, String text, Orientation orientation, Style style) {
drawText(pos, pos.add(new Vector(1, 0)), text, orientation, style);
}
/**
* opens a new group, used to create SVG grouping
*/
public void openGroup() {
}
/**
* closes a group, used to create SVG grouping
*/
public void closeGroup() {
}
/**
* Returns true if the given flag is set
*
* @param flag the flag
* @return true if the given flag is set
*/
public boolean isFlagSet(Flag flag) {
return false;
}
/**
* closes the graphics instance
*
* @throws IOException IOException
*/
public void close() throws IOException {
}
}
```
|
```php
<?php
require_once 'pb4php/message/pb_message.php'; // pb4php
require_once 'pb_proto_VOA_php_MainLogic.php'; // pb
$request = new GetTitlesRequest();
$request->set_type("standard");
$body_str = $request->serializeToString();
$seq = rand();
//
// 1 -- string
// 2 -- string protobuf
// 3 -- int
// -- null
// null
$req_pkg = srpc_serialize("MainLogic.MainLogicService.GetTitles", $body_str, $seq);
if ($req_pkg === null)
{
echo "srpc_pack failed";
return -1;
}
// :
//$rsp_pkg = send_rcv($addr, $req_pkg);
//
$rsp_pkg = "";
$errmsg = "";
$ret = send_rcv("VOA_php.MainLogic", $req_pkg, $rsp_pkg, $errmsg, "srpc_check_pkg", 10000000);
if ($ret != 0)
{
echo "send_rcv failed ", $ret, $errmsg;
return -1;
}
echo "send_rcv ", $ret, "\n";
//
// -- string
// -- errmsgseqbody
// string
// 1. errmsgsuccessSuccess
// 2. seq
// 3. 12body
// call_service.php
$ret = srpc_deserialize($rsp_pkg);
if (($ret['errmsg'] !== 'success') && ($ret['errmsg'] !== 'Success'))
{
echo "srpc_unpack failed ", $ret['errmsg'];
return -2;
}
echo "seq ", $ret['seq'], " ---- ", $seq, "\n";
if ($ret['seq'] != $seq)
{
echo "the sequence is inconsistent";
return -3;
}
$body_str = $ret['body'];
$response = new GetTitlesResponse();
$response->ParseFromString($body_str);
echo "status:".$response->status()."\n";
echo "title number:".$response->titles_size()."\n";
for ($i = 0; $i < $response->titles_size(); ++$i)
{
echo "title#".$i.":".$response->titles($i)."\n";
}
//var_dump($response);
function send_rcv($servicename,
$request,
&$response,
&$errmsg,
$callback_func,
$timeout_usec)
{
$route = getroutebyname($servicename);
if ($route == null)
{
$errmsg = ("getroutebyname failed");
return -1;
}
var_dump($route);
$comm_type = $route["type"];
if ($comm_type == "tcp" || $comm_type == "all") {
return send_rcv_tcp($route,
$request ,$response, $errmsg, $callback_func, $timeout_usec);
} else if ($comm_type == "udp") {
return send_rcv_udp($route,
$request ,$response, $errmsg, $timeout_usec);
} else {
$errmsg = ("unknown comm_type:" . $comm_type);
return -1;
}
}
function send_rcv_tcp(array $route,
$request,
&$response,
&$errmsg,
$callback_func,
$to_usec)
{
$ip = $route["ip"];
$port = $route["port"];
$fd = 0;
$lefttime = $to_usec;
$starttime = gettimeofday();
$fd = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
socket_set_nonblock($fd);
// connect to server
$ret = socket_connect($fd, $ip, $port);
if ($ret === FALSE) {
$errno = socket_last_error();
if ($errno != SOCKET_EALREADY && $errno != SOCKET_EINPROGRESS) {
$errmsg = "connect failed:" . socket_strerror($errno);
socket_close($fd);
return -1;
}
$w = array($fd);
$r = NULL;
$e = NULL;
$num = socket_select($r, $w, $e, $lefttime / 1000000, $lefttime % 1000000);
if ($num === FALSE) {
$errmsg = "select failed:" . socket_strerror(socket_last_error());
socket_close($fd);
return -1;
}
if ($num == 0) {
$errmsg = "connect timeout";
socket_close($fd);
return -1;
}
$ret = socket_get_option($fd, SOL_SOCKET, SO_ERROR);
if ($ret === FALSE || $ret != 0)
{
$errmsg = "connect failed";
socket_close($fd);
return -1;
}
// modify left time
$now = gettimeofday();
$lefttime = $to_usec;
$lefttime -= ($now["sec"] - $starttime["sec"]) * 1000000 + $now["usec"] - $starttime["usec"];
if ($lefttime < 10) {
$errmsg = "time out";
socket_close($fd);
return -1;
}
}
// connection is estabelished
// write to server
$ret = socket_write($fd, $request);
if ($ret == NULL || $ret < strlen($request)) //strlen0
{
$errmsg = "send failed:" . socket_strerror(socket_last_error());
socket_close($fd);
return -1;
}
// modify left time
$now = gettimeofday();
$lefttime = $to_usec;
$lefttime -= ($now["sec"] - $starttime["sec"]) * 1000000 + $now["usec"] - $starttime["usec"];
if ($lefttime < 10) {
$errmsg = "time out";
socket_close($fd);
return -1;
}
$response = "";
$resplen = 0;
// recv with timeout
while ($lefttime > 0) {
$r = array($fd);
$w = NULL;
$e = NULL;
$num = socket_select($r, $w, $e, $lefttime / 1000000, $lefttime % 1000000);
if ($num === FALSE) {
$errmsg = "select failed:" . socket_strerror(socket_last_error());
socket_close($fd);
return -1;
}
if ($num == 0) {
$errmsg = "receive timeout";
socket_close($fd);
return -1;
}
$data = socket_read($fd, 65535);
if ($data === FALSE) {
$errmsg = "receive failed:" . socket_strerror(socket_last_error());
socket_close($fd);
return -1;
}
if ($data == "") // no more
{
$errmsg = "peer closed the connection";
socket_close($fd);
return -1;
}
$response = $response . $data;
$ret = $callback_func($response);
if ($ret == 0) // have NOT get a complete package, continue
{
} else if ($ret > 0) //get a complete package, length is $ret
{
$resplen = $ret;
if ($resplen > strlen($response)) {
$errmsg = "callback function has bugs!";
socket_close($fd);
return -1;
}
break;
} else // package format invalid
{
$errmsg = "response package format error";
socket_close($fd);
return -1;
}
// modify left time
$now = gettimeofday();
$lefttime = $to_usec;
$lefttime -= ($now["sec"] - $starttime["sec"]) * 1000000 + $now["usec"] - $starttime["usec"];
if ($lefttime < 10) {
$errmsg = "time out";
socket_close($fd);
return -1;
}
}
// get a respons , its length is $resplen
$response = substr($response, 0, $resplen);
socket_close($fd);
return 0;
}
function send_rcv_udp(array $route,
$request,
&$response,
&$errmsg,
$to_usec)
{
$ip = $route["ip"];
$port = $route["port"];
$fd = 0;
$lefttime = $to_usec;
$starttime = gettimeofday();
$fd = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
socket_set_nonblock($fd);
socket_bind($fd, "10.104.246.209", 7963);
// write to server
$ret = socket_write($fd, $request);
if ($ret == NULL || $ret < strlen($request)) //strlen0
{
$errmsg = "send failed:" . socket_strerror(socket_last_error());
socket_close($fd);
return -1;
}
$response = "";
$resplen = 0;
// recv with timeout
$r = array($fd);
$w = NULL;
$e = NULL;
$num = socket_select($r, $w, $e, $lefttime / 1000000, $lefttime % 1000000);
if ($num === FALSE) {
$errmsg = "select failed:" . socket_strerror(socket_last_error());
socket_close($fd);
return -1;
}
if ($num == 0) {
$errmsg = "receive timeout";
socket_close($fd);
return -1;
}
$response = socket_read($fd, 65535);
if ($response === FALSE) {
$errmsg = "receiv failed:" . socket_strerror(socket_last_error());
socket_close($fd);
return -1;
}
socket_close($fd);
return 0;
}
?>
```
|
Concepción Department may refer to:
Concepción Department (Paraguay)
Concepción Department, Corrientes
See also
Concepción (disambiguation)
Department name disambiguation pages
|
"Panic Switch" is a song by the American alternative rock band Silversun Pickups. It was the first single released from the group's second album, Swoon (2009), on March 17, 2009. The song reached number one on the Billboard Alternative Songs chart, becoming their first number-one single on any Billboard chart. "Panic Switch" was the first song by an independent artist to reach number one on the chart in 11 years. After a one-week stay at number one, it spent 11 weeks at number two behind Linkin Park's "New Divide". It is also their first Hot 100 entry, peaking at number 92.
Background
When asked about the song, singer Brian Aubert told MTV that the song was added late to the album, almost as an afterthought. It is meant to represent a nervous breakdown, which is a major theme of the album.
Reception
The song was ranked at no. 45 on Consequence of Sound'''s Every Alternative Rock No. 1 Hit from Worst to Best.
Use in other media
The song appeared in the trailer for Sucker Punch'' and in the Honda Stage video package during the 2016 NHL Winter Classic.
In 2012, Mitt Romney's presidential campaign received a cease and desist request from Silversun Pickups, who alleged illegal use of their song at a campaign event set-up in North Carolina. Romney's spokeswoman, Amanda Henneberg, stated that playing the song before the event began was covered under the campaign's regular blanket license and would not play it again.
It is featured in Fortnite's Rock & Royale radio station in-game.
Chart performance
Weekly charts
Year-end charts
Certifications
References
2009 singles
Silversun Pickups songs
2009 songs
Dangerbird Records singles
|
An industrial revenue bond (IRB), also formerly known as an Industrial Development Bond (IDB), is a unique type of revenue bond organized by a state or local government. The bond issue is sponsored by a government entity but the proceeds are directed to a private, for-profit business.
Bond Structure
An IRB differs from traditional government revenue bonds, as the bonds are issued on behalf of a private sector business. IRBs are typically used to support a specific project, such as a new manufacturing facility.
The bond issue is created and organized by a sponsoring government, with the proceeds used by the private business. The business is responsible for bond repayment. The sponsoring government holds title to the underlying collateral until the bonds are paid in full. In some cases, this arrangement may provide a federal tax exempt status to the bonds, and many times a property tax exemption on the collateral. The sponsoring government is not responsible for bond repayment and the bonds do not affect the government’s credit rating. IRBs are desired as the private business receives a lower interest rate (due to the bonds tax-exempt status), a property tax exemption, and a long-term, fixed rate financing package.
Bond proceeds may be used for a variety of purposes, including land acquisition, building construction, machinery and equipment, real estate development fees, and the cost of bond issuance.
IRS Statute
In the United States IRBs are governed by IRS statute and include the following provisions:
The maximum amount of bonds that may be issued or outstanding is US$10 million.
Total capital expenditures at the project site may not exceed US$20 million total
Total IRBs outstanding at the company in the U.S. may not exceed US$40 million total
See also
Revenue bond
Municipal bond
References
Bonds (finance)
|
```html
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>ip::network_v6::to_string</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../ip__network_v6.html" title="ip::network_v6">
<link rel="prev" href="prefix_length.html" title="ip::network_v6::prefix_length">
<link rel="next" href="to_string/overload1.html" title="ip::network_v6::to_string (1 of 2 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="path_to_url">People</a></td>
<td align="center"><a href="path_to_url">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="prefix_length.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ip__network_v6.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="to_string/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.ip__network_v6.to_string"></a><a class="link" href="to_string.html" title="ip::network_v6::to_string">ip::network_v6::to_string</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.ip__network_v6.to_string"></a>
Get
the network as an address in dotted decimal format.
</p>
<pre class="programlisting">std::string <a class="link" href="to_string/overload1.html" title="ip::network_v6::to_string (1 of 2 overloads)">to_string</a>() const;
<span class="emphasis"><em>» <a class="link" href="to_string/overload1.html" title="ip::network_v6::to_string (1 of 2 overloads)">more...</a></em></span>
std::string <a class="link" href="to_string/overload2.html" title="ip::network_v6::to_string (2 of 2 overloads)">to_string</a>(
boost::system::error_code & ec) const;
<span class="emphasis"><em>» <a class="link" href="to_string/overload2.html" title="ip::network_v6::to_string (2 of 2 overloads)">more...</a></em></span>
</pre>
</div>
<table xmlns:rev="path_to_url~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
file LICENSE_1_0.txt or copy at <a href="path_to_url" target="_top">path_to_url
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="prefix_length.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ip__network_v6.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="to_string/overload1.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
```
|
```c++
//
//
// See accompanying file LICENSE_1_0.txt or copy at
// path_to_url
#include <boost/mp11/utility.hpp>
#include <boost/mp11/integral.hpp>
#include <boost/core/lightweight_test_trait.hpp>
#include <type_traits>
int main()
{
using boost::mp11::mp_if_c;
BOOST_TEST_TRAIT_TRUE((std::is_same<mp_if_c<true, char[], void()>, char[]>));
BOOST_TEST_TRAIT_TRUE((std::is_same<mp_if_c<false, char[], void()>, void()>));
using boost::mp11::mp_if;
BOOST_TEST_TRAIT_TRUE((std::is_same<mp_if<std::true_type, char[], void()>, char[]>));
BOOST_TEST_TRAIT_TRUE((std::is_same<mp_if<std::false_type, char[], void()>, void()>));
using boost::mp11::mp_int;
BOOST_TEST_TRAIT_TRUE((std::is_same<mp_if<mp_int<-7>, char[], void()>, char[]>));
BOOST_TEST_TRAIT_TRUE((std::is_same<mp_if<mp_int<0>, char[], void()>, void()>));
using boost::mp11::mp_size_t;
BOOST_TEST_TRAIT_TRUE((std::is_same<mp_if<mp_size_t<14>, char[], void()>, char[]>));
BOOST_TEST_TRAIT_TRUE((std::is_same<mp_if<mp_size_t<0>, char[], void()>, void()>));
return boost::report_errors();
}
```
|
This is a list of monuments in San Ġwann, Malta, which are listed on the National Inventory of the Cultural Property of the Maltese Islands.
List
|}
References
San Gwann
San Ġwann
|
The Pearl and Bess Meyer House is a historic house located at 233 E. 2nd St. in Flora, Illinois. The house was built in 1912 for Pearl Meyer, who owned a local dry goods store, and his wife Bess. Frank S. Nichols, the former mayor of Flora and contractor for the city's Baltimore and Ohio Railroad Depot, built the house in the Queen Anne style. The house's main entrance is within a wraparound front porch supported by wooden columns; the oak front doors include beveled glass panels and decorative moldings. The roof of the house features a large gable with half-timbered woodwork; a smaller half-timbered gable is located above the front entrance. The interior decorations of the house include carved oak woodwork throughout, a tiled fireplace in the living room, and stained glass windows in the library.
The house was added to the National Register of Historic Places on February 9, 2001.
References
Houses on the National Register of Historic Places in Illinois
Queen Anne architecture in Illinois
Houses completed in 1912
Houses in Clay County, Illinois
1912 establishments in Illinois
National Register of Historic Places in Clay County, Illinois
|
Kannezhuthi Pottum Thottu () is a 1999 Indian Malayalam-language drama film, written and directed by T. K. Rajeev Kumar, starring Manju Warrier, Thilakan, Biju Menon, Abbas and Kalabhavan Mani. The soundtrack was composed by M. G. Radhakrishnan while Sharreth composed the film score; Mohanlal had sung a song Kaithappoovin in the film. Manju Warrier received a National Film Award - Special Mention for her performance. The movie was a superhit at the Box-office.
Synopsis
A young woman named Bhadra wants to take revenge against a landlord, Natesan, who murdered her parents 15 years earlier. She gets a work at Natesan's land. She is taught work by the other female workers there. Natesan's son who has an eye on Bhadra, holds her. She gets furious but her workmates calm her. One fine day she notices that a man, chindan who is mentally ill is ill-treated. She befriends him.
That night, the eldest worker narrates a story about a man who gave his life for the land. It was a lie setup by Natesan to hide his killing of Bhadra's father. She always goes to the spot where her father was buried alive.
Bhadra then meets Rosakutty who now works for Uthaman (Natesan's son), seducing him. Bhadra was so angry on her and tries to kill her. But she won't due to her attachment to Rosa.
Bhadra falls in love with Moosakutty, a bangle seller and fisherman whose father was also murdered by Natesan.
Bhadra remembers the past. Her father was a leader of a trade union and they had protested against the landlord (Natesan) for increasing the wages. Her father and her mother were very fond of Bhadra. Natesan had an eye on Bhadra's mother. So he kills his father and buries him alive. He then makes up a story and says that it should be said like a folk lore. Bhadra's mother comes running hearing the news. Natesan tries to grab her. But she runs along with Bhadra. Bhadra's mother gives Bhadra a sickle and says to run away and revenge Natesan. Bhadra runs away and sees from a distance that her mother had poured kerosene and burned herself alive. She then lights a lamp at the spot every night.
Rosakutty is killed by Uthaman. Bhadra now secures a job in Natesan's house as a help and she also never misses any opportunity to kill Natesan. Once Natesan's wife asks the Namboodiri about her husband's health and he says there is an issue. He also says that theeyattu must be done to appease the Goddess.
Theyyattu is being done. Many women perform mudiyattam as to appease the Goddess and secure health. Chindan points a woman to Bhadra and says that this woman is being married to Uthaman. She is revengous and she seeks blessings of Goddess. The Kali comes and gives some kuri. She prays to the Goddess and applies it on her forehead. She goes to the place where women are appeasing the goddess by performing mudiyattam. She goes there and she unwraps her long hair. She then prays to the goddess and swings it along with the beats, appeasing the goddess. She begins her plan next day.
She acts as if she is interested in Natesan. She always tries to make Natesan attracted to her. She also seduces Uthaman. Both son and father become arch enemies in the name of Bhadra. Bhadra invites both to the place where her father was murdered and to have her.
Natesan comes first then Uthaman comes. A brawl broke up between two, it rains and both slip into the field. Bhadra breaks open the Mada and she watches all along. Due to the winds, a power cable comes down into the water. Uthaman kills Natesan, just as Bhadra had planned, but he is electrocuted to death by that wire.
All subsides. Everyone is now well and at last Bhadra marries Moosakutty.
Cast
Manju Warrier as Bhadra / Gowri
Thilakan as Ettuveettil Natesan Muthalali
Biju Menon as Uthaman (Kochu Muthalali)
Abbas as Moosakutty (voice dubbed by Krishnachandran)
Kalabhavan Mani as Chindan
Kaviyoor Renuka as Sarojini, Natesan Muthalali's wife and Uthaman's mother
Siddique as Chandrappan
Maniyanpilla Raju as Mulaku
Ravi Vallathol as Chackochi
Kunchan as Natesan's Helper
Poojappura Ravi as Vaidyar
Baby Krishna as childhood of Bhadra/Gowri
Kannur Sreelatha as Rosakutty
Kanakalatha as Kanakam
Bhagyashree as Gowri
Poojappura Radha Krishnan
Kuttyedathi Vilasini
Kozhikode Sarada
Bobby Kottarakkara
Production
This is the first Malayalam movie done fully in Avid post-production design, edited in Media Composer, dubbed, re-recorded and mixed in Avid Audio Vision. After this film Manju Warrier took a sabbatical to marry Dileep and start a family life.
Soundtrack
The songs were composed by M. G. Radhakrishnan for the lyrics of Kavalam Narayana Panicker. The film score was composed by Sharreth. Although Mohanlal has not acted in the film, he sang the song "Kaithappoovin" with K. S. Chithra.
Accolades
National Film Awards
Special Jury Award - Manju Warrier
Asianet Film Awards
Best Actress - Manju Warrier
Best Supporting Actor - Biju Menon
Reception
Jayalakshmi K from Deccan Herald wrote that "Some good songs and excellent acting make it worth your time". A critic from The New Indian Express wrote "at a time when the matriarchal system and the elevated female status it implies is the biggest joke in Kerala, this movie makes you want to stand up and cheer for those women who thumb their broken noses at the status quo".
References
External links
1999 films
1990s Malayalam-language films
Films scored by M. G. Radhakrishnan
1999 crime drama films
Indian films about revenge
Films directed by T. K. Rajeev Kumar
1999 drama films
Indian crime drama films
|
```go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package devicefarm
import (
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/aws/aws-sdk-go/aws/request"
)
const opCreateDevicePool = "CreateDevicePool"
// CreateDevicePoolRequest generates a "aws/request.Request" representing the
// client's request for the CreateDevicePool operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See CreateDevicePool for more information on using the CreateDevicePool
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the CreateDevicePoolRequest method.
// req, resp := client.CreateDevicePoolRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) CreateDevicePoolRequest(input *CreateDevicePoolInput) (req *request.Request, output *CreateDevicePoolOutput) {
op := &request.Operation{
Name: opCreateDevicePool,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &CreateDevicePoolInput{}
}
output = &CreateDevicePoolOutput{}
req = c.newRequest(op, input, output)
return
}
// CreateDevicePool API operation for AWS Device Farm.
//
// Creates a device pool.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation CreateDevicePool for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) CreateDevicePool(input *CreateDevicePoolInput) (*CreateDevicePoolOutput, error) {
req, out := c.CreateDevicePoolRequest(input)
return out, req.Send()
}
// CreateDevicePoolWithContext is the same as CreateDevicePool with the addition of
// the ability to pass a context and additional request options.
//
// See CreateDevicePool for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) CreateDevicePoolWithContext(ctx aws.Context, input *CreateDevicePoolInput, opts ...request.Option) (*CreateDevicePoolOutput, error) {
req, out := c.CreateDevicePoolRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opCreateNetworkProfile = "CreateNetworkProfile"
// CreateNetworkProfileRequest generates a "aws/request.Request" representing the
// client's request for the CreateNetworkProfile operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See CreateNetworkProfile for more information on using the CreateNetworkProfile
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the CreateNetworkProfileRequest method.
// req, resp := client.CreateNetworkProfileRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) CreateNetworkProfileRequest(input *CreateNetworkProfileInput) (req *request.Request, output *CreateNetworkProfileOutput) {
op := &request.Operation{
Name: opCreateNetworkProfile,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &CreateNetworkProfileInput{}
}
output = &CreateNetworkProfileOutput{}
req = c.newRequest(op, input, output)
return
}
// CreateNetworkProfile API operation for AWS Device Farm.
//
// Creates a network profile.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation CreateNetworkProfile for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) CreateNetworkProfile(input *CreateNetworkProfileInput) (*CreateNetworkProfileOutput, error) {
req, out := c.CreateNetworkProfileRequest(input)
return out, req.Send()
}
// CreateNetworkProfileWithContext is the same as CreateNetworkProfile with the addition of
// the ability to pass a context and additional request options.
//
// See CreateNetworkProfile for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) CreateNetworkProfileWithContext(ctx aws.Context, input *CreateNetworkProfileInput, opts ...request.Option) (*CreateNetworkProfileOutput, error) {
req, out := c.CreateNetworkProfileRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opCreateProject = "CreateProject"
// CreateProjectRequest generates a "aws/request.Request" representing the
// client's request for the CreateProject operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See CreateProject for more information on using the CreateProject
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the CreateProjectRequest method.
// req, resp := client.CreateProjectRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput) {
op := &request.Operation{
Name: opCreateProject,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &CreateProjectInput{}
}
output = &CreateProjectOutput{}
req = c.newRequest(op, input, output)
return
}
// CreateProject API operation for AWS Device Farm.
//
// Creates a new project.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation CreateProject for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error) {
req, out := c.CreateProjectRequest(input)
return out, req.Send()
}
// CreateProjectWithContext is the same as CreateProject with the addition of
// the ability to pass a context and additional request options.
//
// See CreateProject for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) CreateProjectWithContext(ctx aws.Context, input *CreateProjectInput, opts ...request.Option) (*CreateProjectOutput, error) {
req, out := c.CreateProjectRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opCreateRemoteAccessSession = "CreateRemoteAccessSession"
// CreateRemoteAccessSessionRequest generates a "aws/request.Request" representing the
// client's request for the CreateRemoteAccessSession operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See CreateRemoteAccessSession for more information on using the CreateRemoteAccessSession
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the CreateRemoteAccessSessionRequest method.
// req, resp := client.CreateRemoteAccessSessionRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) CreateRemoteAccessSessionRequest(input *CreateRemoteAccessSessionInput) (req *request.Request, output *CreateRemoteAccessSessionOutput) {
op := &request.Operation{
Name: opCreateRemoteAccessSession,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &CreateRemoteAccessSessionInput{}
}
output = &CreateRemoteAccessSessionOutput{}
req = c.newRequest(op, input, output)
return
}
// CreateRemoteAccessSession API operation for AWS Device Farm.
//
// Specifies and starts a remote access session.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation CreateRemoteAccessSession for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) CreateRemoteAccessSession(input *CreateRemoteAccessSessionInput) (*CreateRemoteAccessSessionOutput, error) {
req, out := c.CreateRemoteAccessSessionRequest(input)
return out, req.Send()
}
// CreateRemoteAccessSessionWithContext is the same as CreateRemoteAccessSession with the addition of
// the ability to pass a context and additional request options.
//
// See CreateRemoteAccessSession for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) CreateRemoteAccessSessionWithContext(ctx aws.Context, input *CreateRemoteAccessSessionInput, opts ...request.Option) (*CreateRemoteAccessSessionOutput, error) {
req, out := c.CreateRemoteAccessSessionRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opCreateUpload = "CreateUpload"
// CreateUploadRequest generates a "aws/request.Request" representing the
// client's request for the CreateUpload operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See CreateUpload for more information on using the CreateUpload
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the CreateUploadRequest method.
// req, resp := client.CreateUploadRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) CreateUploadRequest(input *CreateUploadInput) (req *request.Request, output *CreateUploadOutput) {
op := &request.Operation{
Name: opCreateUpload,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &CreateUploadInput{}
}
output = &CreateUploadOutput{}
req = c.newRequest(op, input, output)
return
}
// CreateUpload API operation for AWS Device Farm.
//
// Uploads an app or test scripts.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation CreateUpload for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) CreateUpload(input *CreateUploadInput) (*CreateUploadOutput, error) {
req, out := c.CreateUploadRequest(input)
return out, req.Send()
}
// CreateUploadWithContext is the same as CreateUpload with the addition of
// the ability to pass a context and additional request options.
//
// See CreateUpload for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) CreateUploadWithContext(ctx aws.Context, input *CreateUploadInput, opts ...request.Option) (*CreateUploadOutput, error) {
req, out := c.CreateUploadRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opDeleteDevicePool = "DeleteDevicePool"
// DeleteDevicePoolRequest generates a "aws/request.Request" representing the
// client's request for the DeleteDevicePool operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See DeleteDevicePool for more information on using the DeleteDevicePool
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the DeleteDevicePoolRequest method.
// req, resp := client.DeleteDevicePoolRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) DeleteDevicePoolRequest(input *DeleteDevicePoolInput) (req *request.Request, output *DeleteDevicePoolOutput) {
op := &request.Operation{
Name: opDeleteDevicePool,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &DeleteDevicePoolInput{}
}
output = &DeleteDevicePoolOutput{}
req = c.newRequest(op, input, output)
return
}
// DeleteDevicePool API operation for AWS Device Farm.
//
// Deletes a device pool given the pool ARN. Does not allow deletion of curated
// pools owned by the system.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation DeleteDevicePool for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) DeleteDevicePool(input *DeleteDevicePoolInput) (*DeleteDevicePoolOutput, error) {
req, out := c.DeleteDevicePoolRequest(input)
return out, req.Send()
}
// DeleteDevicePoolWithContext is the same as DeleteDevicePool with the addition of
// the ability to pass a context and additional request options.
//
// See DeleteDevicePool for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) DeleteDevicePoolWithContext(ctx aws.Context, input *DeleteDevicePoolInput, opts ...request.Option) (*DeleteDevicePoolOutput, error) {
req, out := c.DeleteDevicePoolRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opDeleteNetworkProfile = "DeleteNetworkProfile"
// DeleteNetworkProfileRequest generates a "aws/request.Request" representing the
// client's request for the DeleteNetworkProfile operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See DeleteNetworkProfile for more information on using the DeleteNetworkProfile
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the DeleteNetworkProfileRequest method.
// req, resp := client.DeleteNetworkProfileRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) DeleteNetworkProfileRequest(input *DeleteNetworkProfileInput) (req *request.Request, output *DeleteNetworkProfileOutput) {
op := &request.Operation{
Name: opDeleteNetworkProfile,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &DeleteNetworkProfileInput{}
}
output = &DeleteNetworkProfileOutput{}
req = c.newRequest(op, input, output)
return
}
// DeleteNetworkProfile API operation for AWS Device Farm.
//
// Deletes a network profile.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation DeleteNetworkProfile for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) DeleteNetworkProfile(input *DeleteNetworkProfileInput) (*DeleteNetworkProfileOutput, error) {
req, out := c.DeleteNetworkProfileRequest(input)
return out, req.Send()
}
// DeleteNetworkProfileWithContext is the same as DeleteNetworkProfile with the addition of
// the ability to pass a context and additional request options.
//
// See DeleteNetworkProfile for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) DeleteNetworkProfileWithContext(ctx aws.Context, input *DeleteNetworkProfileInput, opts ...request.Option) (*DeleteNetworkProfileOutput, error) {
req, out := c.DeleteNetworkProfileRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opDeleteProject = "DeleteProject"
// DeleteProjectRequest generates a "aws/request.Request" representing the
// client's request for the DeleteProject operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See DeleteProject for more information on using the DeleteProject
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the DeleteProjectRequest method.
// req, resp := client.DeleteProjectRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput) {
op := &request.Operation{
Name: opDeleteProject,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &DeleteProjectInput{}
}
output = &DeleteProjectOutput{}
req = c.newRequest(op, input, output)
return
}
// DeleteProject API operation for AWS Device Farm.
//
// Deletes an AWS Device Farm project, given the project ARN.
//
// Note Deleting this resource does not stop an in-progress run.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation DeleteProject for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error) {
req, out := c.DeleteProjectRequest(input)
return out, req.Send()
}
// DeleteProjectWithContext is the same as DeleteProject with the addition of
// the ability to pass a context and additional request options.
//
// See DeleteProject for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) DeleteProjectWithContext(ctx aws.Context, input *DeleteProjectInput, opts ...request.Option) (*DeleteProjectOutput, error) {
req, out := c.DeleteProjectRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opDeleteRemoteAccessSession = "DeleteRemoteAccessSession"
// DeleteRemoteAccessSessionRequest generates a "aws/request.Request" representing the
// client's request for the DeleteRemoteAccessSession operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See DeleteRemoteAccessSession for more information on using the DeleteRemoteAccessSession
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the DeleteRemoteAccessSessionRequest method.
// req, resp := client.DeleteRemoteAccessSessionRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) DeleteRemoteAccessSessionRequest(input *DeleteRemoteAccessSessionInput) (req *request.Request, output *DeleteRemoteAccessSessionOutput) {
op := &request.Operation{
Name: opDeleteRemoteAccessSession,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &DeleteRemoteAccessSessionInput{}
}
output = &DeleteRemoteAccessSessionOutput{}
req = c.newRequest(op, input, output)
return
}
// DeleteRemoteAccessSession API operation for AWS Device Farm.
//
// Deletes a completed remote access session and its results.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation DeleteRemoteAccessSession for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) DeleteRemoteAccessSession(input *DeleteRemoteAccessSessionInput) (*DeleteRemoteAccessSessionOutput, error) {
req, out := c.DeleteRemoteAccessSessionRequest(input)
return out, req.Send()
}
// DeleteRemoteAccessSessionWithContext is the same as DeleteRemoteAccessSession with the addition of
// the ability to pass a context and additional request options.
//
// See DeleteRemoteAccessSession for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) DeleteRemoteAccessSessionWithContext(ctx aws.Context, input *DeleteRemoteAccessSessionInput, opts ...request.Option) (*DeleteRemoteAccessSessionOutput, error) {
req, out := c.DeleteRemoteAccessSessionRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opDeleteRun = "DeleteRun"
// DeleteRunRequest generates a "aws/request.Request" representing the
// client's request for the DeleteRun operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See DeleteRun for more information on using the DeleteRun
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the DeleteRunRequest method.
// req, resp := client.DeleteRunRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) DeleteRunRequest(input *DeleteRunInput) (req *request.Request, output *DeleteRunOutput) {
op := &request.Operation{
Name: opDeleteRun,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &DeleteRunInput{}
}
output = &DeleteRunOutput{}
req = c.newRequest(op, input, output)
return
}
// DeleteRun API operation for AWS Device Farm.
//
// Deletes the run, given the run ARN.
//
// Note Deleting this resource does not stop an in-progress run.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation DeleteRun for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) DeleteRun(input *DeleteRunInput) (*DeleteRunOutput, error) {
req, out := c.DeleteRunRequest(input)
return out, req.Send()
}
// DeleteRunWithContext is the same as DeleteRun with the addition of
// the ability to pass a context and additional request options.
//
// See DeleteRun for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) DeleteRunWithContext(ctx aws.Context, input *DeleteRunInput, opts ...request.Option) (*DeleteRunOutput, error) {
req, out := c.DeleteRunRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opDeleteUpload = "DeleteUpload"
// DeleteUploadRequest generates a "aws/request.Request" representing the
// client's request for the DeleteUpload operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See DeleteUpload for more information on using the DeleteUpload
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the DeleteUploadRequest method.
// req, resp := client.DeleteUploadRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) DeleteUploadRequest(input *DeleteUploadInput) (req *request.Request, output *DeleteUploadOutput) {
op := &request.Operation{
Name: opDeleteUpload,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &DeleteUploadInput{}
}
output = &DeleteUploadOutput{}
req = c.newRequest(op, input, output)
return
}
// DeleteUpload API operation for AWS Device Farm.
//
// Deletes an upload given the upload ARN.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation DeleteUpload for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) DeleteUpload(input *DeleteUploadInput) (*DeleteUploadOutput, error) {
req, out := c.DeleteUploadRequest(input)
return out, req.Send()
}
// DeleteUploadWithContext is the same as DeleteUpload with the addition of
// the ability to pass a context and additional request options.
//
// See DeleteUpload for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) DeleteUploadWithContext(ctx aws.Context, input *DeleteUploadInput, opts ...request.Option) (*DeleteUploadOutput, error) {
req, out := c.DeleteUploadRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opGetAccountSettings = "GetAccountSettings"
// GetAccountSettingsRequest generates a "aws/request.Request" representing the
// client's request for the GetAccountSettings operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See GetAccountSettings for more information on using the GetAccountSettings
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the GetAccountSettingsRequest method.
// req, resp := client.GetAccountSettingsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) GetAccountSettingsRequest(input *GetAccountSettingsInput) (req *request.Request, output *GetAccountSettingsOutput) {
op := &request.Operation{
Name: opGetAccountSettings,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &GetAccountSettingsInput{}
}
output = &GetAccountSettingsOutput{}
req = c.newRequest(op, input, output)
return
}
// GetAccountSettings API operation for AWS Device Farm.
//
// Returns the number of unmetered iOS and/or unmetered Android devices that
// have been purchased by the account.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation GetAccountSettings for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) GetAccountSettings(input *GetAccountSettingsInput) (*GetAccountSettingsOutput, error) {
req, out := c.GetAccountSettingsRequest(input)
return out, req.Send()
}
// GetAccountSettingsWithContext is the same as GetAccountSettings with the addition of
// the ability to pass a context and additional request options.
//
// See GetAccountSettings for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) GetAccountSettingsWithContext(ctx aws.Context, input *GetAccountSettingsInput, opts ...request.Option) (*GetAccountSettingsOutput, error) {
req, out := c.GetAccountSettingsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opGetDevice = "GetDevice"
// GetDeviceRequest generates a "aws/request.Request" representing the
// client's request for the GetDevice operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See GetDevice for more information on using the GetDevice
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the GetDeviceRequest method.
// req, resp := client.GetDeviceRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) GetDeviceRequest(input *GetDeviceInput) (req *request.Request, output *GetDeviceOutput) {
op := &request.Operation{
Name: opGetDevice,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &GetDeviceInput{}
}
output = &GetDeviceOutput{}
req = c.newRequest(op, input, output)
return
}
// GetDevice API operation for AWS Device Farm.
//
// Gets information about a unique device type.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation GetDevice for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) GetDevice(input *GetDeviceInput) (*GetDeviceOutput, error) {
req, out := c.GetDeviceRequest(input)
return out, req.Send()
}
// GetDeviceWithContext is the same as GetDevice with the addition of
// the ability to pass a context and additional request options.
//
// See GetDevice for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) GetDeviceWithContext(ctx aws.Context, input *GetDeviceInput, opts ...request.Option) (*GetDeviceOutput, error) {
req, out := c.GetDeviceRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opGetDevicePool = "GetDevicePool"
// GetDevicePoolRequest generates a "aws/request.Request" representing the
// client's request for the GetDevicePool operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See GetDevicePool for more information on using the GetDevicePool
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the GetDevicePoolRequest method.
// req, resp := client.GetDevicePoolRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) GetDevicePoolRequest(input *GetDevicePoolInput) (req *request.Request, output *GetDevicePoolOutput) {
op := &request.Operation{
Name: opGetDevicePool,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &GetDevicePoolInput{}
}
output = &GetDevicePoolOutput{}
req = c.newRequest(op, input, output)
return
}
// GetDevicePool API operation for AWS Device Farm.
//
// Gets information about a device pool.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation GetDevicePool for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) GetDevicePool(input *GetDevicePoolInput) (*GetDevicePoolOutput, error) {
req, out := c.GetDevicePoolRequest(input)
return out, req.Send()
}
// GetDevicePoolWithContext is the same as GetDevicePool with the addition of
// the ability to pass a context and additional request options.
//
// See GetDevicePool for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) GetDevicePoolWithContext(ctx aws.Context, input *GetDevicePoolInput, opts ...request.Option) (*GetDevicePoolOutput, error) {
req, out := c.GetDevicePoolRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opGetDevicePoolCompatibility = "GetDevicePoolCompatibility"
// GetDevicePoolCompatibilityRequest generates a "aws/request.Request" representing the
// client's request for the GetDevicePoolCompatibility operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See GetDevicePoolCompatibility for more information on using the GetDevicePoolCompatibility
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the GetDevicePoolCompatibilityRequest method.
// req, resp := client.GetDevicePoolCompatibilityRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) GetDevicePoolCompatibilityRequest(input *GetDevicePoolCompatibilityInput) (req *request.Request, output *GetDevicePoolCompatibilityOutput) {
op := &request.Operation{
Name: opGetDevicePoolCompatibility,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &GetDevicePoolCompatibilityInput{}
}
output = &GetDevicePoolCompatibilityOutput{}
req = c.newRequest(op, input, output)
return
}
// GetDevicePoolCompatibility API operation for AWS Device Farm.
//
// Gets information about compatibility with a device pool.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation GetDevicePoolCompatibility for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) GetDevicePoolCompatibility(input *GetDevicePoolCompatibilityInput) (*GetDevicePoolCompatibilityOutput, error) {
req, out := c.GetDevicePoolCompatibilityRequest(input)
return out, req.Send()
}
// GetDevicePoolCompatibilityWithContext is the same as GetDevicePoolCompatibility with the addition of
// the ability to pass a context and additional request options.
//
// See GetDevicePoolCompatibility for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) GetDevicePoolCompatibilityWithContext(ctx aws.Context, input *GetDevicePoolCompatibilityInput, opts ...request.Option) (*GetDevicePoolCompatibilityOutput, error) {
req, out := c.GetDevicePoolCompatibilityRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opGetJob = "GetJob"
// GetJobRequest generates a "aws/request.Request" representing the
// client's request for the GetJob operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See GetJob for more information on using the GetJob
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the GetJobRequest method.
// req, resp := client.GetJobRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) GetJobRequest(input *GetJobInput) (req *request.Request, output *GetJobOutput) {
op := &request.Operation{
Name: opGetJob,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &GetJobInput{}
}
output = &GetJobOutput{}
req = c.newRequest(op, input, output)
return
}
// GetJob API operation for AWS Device Farm.
//
// Gets information about a job.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation GetJob for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) GetJob(input *GetJobInput) (*GetJobOutput, error) {
req, out := c.GetJobRequest(input)
return out, req.Send()
}
// GetJobWithContext is the same as GetJob with the addition of
// the ability to pass a context and additional request options.
//
// See GetJob for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) GetJobWithContext(ctx aws.Context, input *GetJobInput, opts ...request.Option) (*GetJobOutput, error) {
req, out := c.GetJobRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opGetNetworkProfile = "GetNetworkProfile"
// GetNetworkProfileRequest generates a "aws/request.Request" representing the
// client's request for the GetNetworkProfile operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See GetNetworkProfile for more information on using the GetNetworkProfile
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the GetNetworkProfileRequest method.
// req, resp := client.GetNetworkProfileRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) GetNetworkProfileRequest(input *GetNetworkProfileInput) (req *request.Request, output *GetNetworkProfileOutput) {
op := &request.Operation{
Name: opGetNetworkProfile,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &GetNetworkProfileInput{}
}
output = &GetNetworkProfileOutput{}
req = c.newRequest(op, input, output)
return
}
// GetNetworkProfile API operation for AWS Device Farm.
//
// Returns information about a network profile.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation GetNetworkProfile for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) GetNetworkProfile(input *GetNetworkProfileInput) (*GetNetworkProfileOutput, error) {
req, out := c.GetNetworkProfileRequest(input)
return out, req.Send()
}
// GetNetworkProfileWithContext is the same as GetNetworkProfile with the addition of
// the ability to pass a context and additional request options.
//
// See GetNetworkProfile for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) GetNetworkProfileWithContext(ctx aws.Context, input *GetNetworkProfileInput, opts ...request.Option) (*GetNetworkProfileOutput, error) {
req, out := c.GetNetworkProfileRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opGetOfferingStatus = "GetOfferingStatus"
// GetOfferingStatusRequest generates a "aws/request.Request" representing the
// client's request for the GetOfferingStatus operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See GetOfferingStatus for more information on using the GetOfferingStatus
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the GetOfferingStatusRequest method.
// req, resp := client.GetOfferingStatusRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) GetOfferingStatusRequest(input *GetOfferingStatusInput) (req *request.Request, output *GetOfferingStatusOutput) {
op := &request.Operation{
Name: opGetOfferingStatus,
HTTPMethod: "POST",
HTTPPath: "/",
Paginator: &request.Paginator{
InputTokens: []string{"nextToken"},
OutputTokens: []string{"nextToken"},
LimitToken: "",
TruncationToken: "",
},
}
if input == nil {
input = &GetOfferingStatusInput{}
}
output = &GetOfferingStatusOutput{}
req = c.newRequest(op, input, output)
return
}
// GetOfferingStatus API operation for AWS Device Farm.
//
// Gets the current status and future status of all offerings purchased by an
// AWS account. The response indicates how many offerings are currently available
// and the offerings that will be available in the next period. The API returns
// a NotEligible error if the user is not permitted to invoke the operation.
// Please contact aws-devicefarm-support@amazon.com (mailto:aws-devicefarm-support@amazon.com)
// if you believe that you should be able to invoke this operation.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation GetOfferingStatus for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeNotEligibleException "NotEligibleException"
// Exception gets thrown when a user is not eligible to perform the specified
// transaction.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) GetOfferingStatus(input *GetOfferingStatusInput) (*GetOfferingStatusOutput, error) {
req, out := c.GetOfferingStatusRequest(input)
return out, req.Send()
}
// GetOfferingStatusWithContext is the same as GetOfferingStatus with the addition of
// the ability to pass a context and additional request options.
//
// See GetOfferingStatus for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) GetOfferingStatusWithContext(ctx aws.Context, input *GetOfferingStatusInput, opts ...request.Option) (*GetOfferingStatusOutput, error) {
req, out := c.GetOfferingStatusRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
// GetOfferingStatusPages iterates over the pages of a GetOfferingStatus operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
// See GetOfferingStatus method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
// // Example iterating over at most 3 pages of a GetOfferingStatus operation.
// pageNum := 0
// err := client.GetOfferingStatusPages(params,
// func(page *GetOfferingStatusOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
//
func (c *DeviceFarm) GetOfferingStatusPages(input *GetOfferingStatusInput, fn func(*GetOfferingStatusOutput, bool) bool) error {
return c.GetOfferingStatusPagesWithContext(aws.BackgroundContext(), input, fn)
}
// GetOfferingStatusPagesWithContext same as GetOfferingStatusPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) GetOfferingStatusPagesWithContext(ctx aws.Context, input *GetOfferingStatusInput, fn func(*GetOfferingStatusOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
var inCpy *GetOfferingStatusInput
if input != nil {
tmp := *input
inCpy = &tmp
}
req, _ := c.GetOfferingStatusRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
},
}
cont := true
for p.Next() && cont {
cont = fn(p.Page().(*GetOfferingStatusOutput), !p.HasNextPage())
}
return p.Err()
}
const opGetProject = "GetProject"
// GetProjectRequest generates a "aws/request.Request" representing the
// client's request for the GetProject operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See GetProject for more information on using the GetProject
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the GetProjectRequest method.
// req, resp := client.GetProjectRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) GetProjectRequest(input *GetProjectInput) (req *request.Request, output *GetProjectOutput) {
op := &request.Operation{
Name: opGetProject,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &GetProjectInput{}
}
output = &GetProjectOutput{}
req = c.newRequest(op, input, output)
return
}
// GetProject API operation for AWS Device Farm.
//
// Gets information about a project.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation GetProject for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) GetProject(input *GetProjectInput) (*GetProjectOutput, error) {
req, out := c.GetProjectRequest(input)
return out, req.Send()
}
// GetProjectWithContext is the same as GetProject with the addition of
// the ability to pass a context and additional request options.
//
// See GetProject for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) GetProjectWithContext(ctx aws.Context, input *GetProjectInput, opts ...request.Option) (*GetProjectOutput, error) {
req, out := c.GetProjectRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opGetRemoteAccessSession = "GetRemoteAccessSession"
// GetRemoteAccessSessionRequest generates a "aws/request.Request" representing the
// client's request for the GetRemoteAccessSession operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See GetRemoteAccessSession for more information on using the GetRemoteAccessSession
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the GetRemoteAccessSessionRequest method.
// req, resp := client.GetRemoteAccessSessionRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) GetRemoteAccessSessionRequest(input *GetRemoteAccessSessionInput) (req *request.Request, output *GetRemoteAccessSessionOutput) {
op := &request.Operation{
Name: opGetRemoteAccessSession,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &GetRemoteAccessSessionInput{}
}
output = &GetRemoteAccessSessionOutput{}
req = c.newRequest(op, input, output)
return
}
// GetRemoteAccessSession API operation for AWS Device Farm.
//
// Returns a link to a currently running remote access session.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation GetRemoteAccessSession for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) GetRemoteAccessSession(input *GetRemoteAccessSessionInput) (*GetRemoteAccessSessionOutput, error) {
req, out := c.GetRemoteAccessSessionRequest(input)
return out, req.Send()
}
// GetRemoteAccessSessionWithContext is the same as GetRemoteAccessSession with the addition of
// the ability to pass a context and additional request options.
//
// See GetRemoteAccessSession for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) GetRemoteAccessSessionWithContext(ctx aws.Context, input *GetRemoteAccessSessionInput, opts ...request.Option) (*GetRemoteAccessSessionOutput, error) {
req, out := c.GetRemoteAccessSessionRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opGetRun = "GetRun"
// GetRunRequest generates a "aws/request.Request" representing the
// client's request for the GetRun operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See GetRun for more information on using the GetRun
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the GetRunRequest method.
// req, resp := client.GetRunRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) GetRunRequest(input *GetRunInput) (req *request.Request, output *GetRunOutput) {
op := &request.Operation{
Name: opGetRun,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &GetRunInput{}
}
output = &GetRunOutput{}
req = c.newRequest(op, input, output)
return
}
// GetRun API operation for AWS Device Farm.
//
// Gets information about a run.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation GetRun for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) GetRun(input *GetRunInput) (*GetRunOutput, error) {
req, out := c.GetRunRequest(input)
return out, req.Send()
}
// GetRunWithContext is the same as GetRun with the addition of
// the ability to pass a context and additional request options.
//
// See GetRun for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) GetRunWithContext(ctx aws.Context, input *GetRunInput, opts ...request.Option) (*GetRunOutput, error) {
req, out := c.GetRunRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opGetSuite = "GetSuite"
// GetSuiteRequest generates a "aws/request.Request" representing the
// client's request for the GetSuite operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See GetSuite for more information on using the GetSuite
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the GetSuiteRequest method.
// req, resp := client.GetSuiteRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) GetSuiteRequest(input *GetSuiteInput) (req *request.Request, output *GetSuiteOutput) {
op := &request.Operation{
Name: opGetSuite,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &GetSuiteInput{}
}
output = &GetSuiteOutput{}
req = c.newRequest(op, input, output)
return
}
// GetSuite API operation for AWS Device Farm.
//
// Gets information about a suite.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation GetSuite for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) GetSuite(input *GetSuiteInput) (*GetSuiteOutput, error) {
req, out := c.GetSuiteRequest(input)
return out, req.Send()
}
// GetSuiteWithContext is the same as GetSuite with the addition of
// the ability to pass a context and additional request options.
//
// See GetSuite for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) GetSuiteWithContext(ctx aws.Context, input *GetSuiteInput, opts ...request.Option) (*GetSuiteOutput, error) {
req, out := c.GetSuiteRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opGetTest = "GetTest"
// GetTestRequest generates a "aws/request.Request" representing the
// client's request for the GetTest operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See GetTest for more information on using the GetTest
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the GetTestRequest method.
// req, resp := client.GetTestRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) GetTestRequest(input *GetTestInput) (req *request.Request, output *GetTestOutput) {
op := &request.Operation{
Name: opGetTest,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &GetTestInput{}
}
output = &GetTestOutput{}
req = c.newRequest(op, input, output)
return
}
// GetTest API operation for AWS Device Farm.
//
// Gets information about a test.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation GetTest for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) GetTest(input *GetTestInput) (*GetTestOutput, error) {
req, out := c.GetTestRequest(input)
return out, req.Send()
}
// GetTestWithContext is the same as GetTest with the addition of
// the ability to pass a context and additional request options.
//
// See GetTest for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) GetTestWithContext(ctx aws.Context, input *GetTestInput, opts ...request.Option) (*GetTestOutput, error) {
req, out := c.GetTestRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opGetUpload = "GetUpload"
// GetUploadRequest generates a "aws/request.Request" representing the
// client's request for the GetUpload operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See GetUpload for more information on using the GetUpload
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the GetUploadRequest method.
// req, resp := client.GetUploadRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) GetUploadRequest(input *GetUploadInput) (req *request.Request, output *GetUploadOutput) {
op := &request.Operation{
Name: opGetUpload,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &GetUploadInput{}
}
output = &GetUploadOutput{}
req = c.newRequest(op, input, output)
return
}
// GetUpload API operation for AWS Device Farm.
//
// Gets information about an upload.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation GetUpload for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) GetUpload(input *GetUploadInput) (*GetUploadOutput, error) {
req, out := c.GetUploadRequest(input)
return out, req.Send()
}
// GetUploadWithContext is the same as GetUpload with the addition of
// the ability to pass a context and additional request options.
//
// See GetUpload for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) GetUploadWithContext(ctx aws.Context, input *GetUploadInput, opts ...request.Option) (*GetUploadOutput, error) {
req, out := c.GetUploadRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opInstallToRemoteAccessSession = "InstallToRemoteAccessSession"
// InstallToRemoteAccessSessionRequest generates a "aws/request.Request" representing the
// client's request for the InstallToRemoteAccessSession operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See InstallToRemoteAccessSession for more information on using the InstallToRemoteAccessSession
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the InstallToRemoteAccessSessionRequest method.
// req, resp := client.InstallToRemoteAccessSessionRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) InstallToRemoteAccessSessionRequest(input *InstallToRemoteAccessSessionInput) (req *request.Request, output *InstallToRemoteAccessSessionOutput) {
op := &request.Operation{
Name: opInstallToRemoteAccessSession,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &InstallToRemoteAccessSessionInput{}
}
output = &InstallToRemoteAccessSessionOutput{}
req = c.newRequest(op, input, output)
return
}
// InstallToRemoteAccessSession API operation for AWS Device Farm.
//
// Installs an application to the device in a remote access session. For Android
// applications, the file must be in .apk format. For iOS applications, the
// file must be in .ipa format.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation InstallToRemoteAccessSession for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) InstallToRemoteAccessSession(input *InstallToRemoteAccessSessionInput) (*InstallToRemoteAccessSessionOutput, error) {
req, out := c.InstallToRemoteAccessSessionRequest(input)
return out, req.Send()
}
// InstallToRemoteAccessSessionWithContext is the same as InstallToRemoteAccessSession with the addition of
// the ability to pass a context and additional request options.
//
// See InstallToRemoteAccessSession for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) InstallToRemoteAccessSessionWithContext(ctx aws.Context, input *InstallToRemoteAccessSessionInput, opts ...request.Option) (*InstallToRemoteAccessSessionOutput, error) {
req, out := c.InstallToRemoteAccessSessionRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opListArtifacts = "ListArtifacts"
// ListArtifactsRequest generates a "aws/request.Request" representing the
// client's request for the ListArtifacts operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See ListArtifacts for more information on using the ListArtifacts
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the ListArtifactsRequest method.
// req, resp := client.ListArtifactsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) ListArtifactsRequest(input *ListArtifactsInput) (req *request.Request, output *ListArtifactsOutput) {
op := &request.Operation{
Name: opListArtifacts,
HTTPMethod: "POST",
HTTPPath: "/",
Paginator: &request.Paginator{
InputTokens: []string{"nextToken"},
OutputTokens: []string{"nextToken"},
LimitToken: "",
TruncationToken: "",
},
}
if input == nil {
input = &ListArtifactsInput{}
}
output = &ListArtifactsOutput{}
req = c.newRequest(op, input, output)
return
}
// ListArtifacts API operation for AWS Device Farm.
//
// Gets information about artifacts.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation ListArtifacts for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) ListArtifacts(input *ListArtifactsInput) (*ListArtifactsOutput, error) {
req, out := c.ListArtifactsRequest(input)
return out, req.Send()
}
// ListArtifactsWithContext is the same as ListArtifacts with the addition of
// the ability to pass a context and additional request options.
//
// See ListArtifacts for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListArtifactsWithContext(ctx aws.Context, input *ListArtifactsInput, opts ...request.Option) (*ListArtifactsOutput, error) {
req, out := c.ListArtifactsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
// ListArtifactsPages iterates over the pages of a ListArtifacts operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
// See ListArtifacts method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
// // Example iterating over at most 3 pages of a ListArtifacts operation.
// pageNum := 0
// err := client.ListArtifactsPages(params,
// func(page *ListArtifactsOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
//
func (c *DeviceFarm) ListArtifactsPages(input *ListArtifactsInput, fn func(*ListArtifactsOutput, bool) bool) error {
return c.ListArtifactsPagesWithContext(aws.BackgroundContext(), input, fn)
}
// ListArtifactsPagesWithContext same as ListArtifactsPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListArtifactsPagesWithContext(ctx aws.Context, input *ListArtifactsInput, fn func(*ListArtifactsOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
var inCpy *ListArtifactsInput
if input != nil {
tmp := *input
inCpy = &tmp
}
req, _ := c.ListArtifactsRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
},
}
cont := true
for p.Next() && cont {
cont = fn(p.Page().(*ListArtifactsOutput), !p.HasNextPage())
}
return p.Err()
}
const opListDevicePools = "ListDevicePools"
// ListDevicePoolsRequest generates a "aws/request.Request" representing the
// client's request for the ListDevicePools operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See ListDevicePools for more information on using the ListDevicePools
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the ListDevicePoolsRequest method.
// req, resp := client.ListDevicePoolsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) ListDevicePoolsRequest(input *ListDevicePoolsInput) (req *request.Request, output *ListDevicePoolsOutput) {
op := &request.Operation{
Name: opListDevicePools,
HTTPMethod: "POST",
HTTPPath: "/",
Paginator: &request.Paginator{
InputTokens: []string{"nextToken"},
OutputTokens: []string{"nextToken"},
LimitToken: "",
TruncationToken: "",
},
}
if input == nil {
input = &ListDevicePoolsInput{}
}
output = &ListDevicePoolsOutput{}
req = c.newRequest(op, input, output)
return
}
// ListDevicePools API operation for AWS Device Farm.
//
// Gets information about device pools.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation ListDevicePools for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) ListDevicePools(input *ListDevicePoolsInput) (*ListDevicePoolsOutput, error) {
req, out := c.ListDevicePoolsRequest(input)
return out, req.Send()
}
// ListDevicePoolsWithContext is the same as ListDevicePools with the addition of
// the ability to pass a context and additional request options.
//
// See ListDevicePools for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListDevicePoolsWithContext(ctx aws.Context, input *ListDevicePoolsInput, opts ...request.Option) (*ListDevicePoolsOutput, error) {
req, out := c.ListDevicePoolsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
// ListDevicePoolsPages iterates over the pages of a ListDevicePools operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
// See ListDevicePools method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
// // Example iterating over at most 3 pages of a ListDevicePools operation.
// pageNum := 0
// err := client.ListDevicePoolsPages(params,
// func(page *ListDevicePoolsOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
//
func (c *DeviceFarm) ListDevicePoolsPages(input *ListDevicePoolsInput, fn func(*ListDevicePoolsOutput, bool) bool) error {
return c.ListDevicePoolsPagesWithContext(aws.BackgroundContext(), input, fn)
}
// ListDevicePoolsPagesWithContext same as ListDevicePoolsPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListDevicePoolsPagesWithContext(ctx aws.Context, input *ListDevicePoolsInput, fn func(*ListDevicePoolsOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
var inCpy *ListDevicePoolsInput
if input != nil {
tmp := *input
inCpy = &tmp
}
req, _ := c.ListDevicePoolsRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
},
}
cont := true
for p.Next() && cont {
cont = fn(p.Page().(*ListDevicePoolsOutput), !p.HasNextPage())
}
return p.Err()
}
const opListDevices = "ListDevices"
// ListDevicesRequest generates a "aws/request.Request" representing the
// client's request for the ListDevices operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See ListDevices for more information on using the ListDevices
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the ListDevicesRequest method.
// req, resp := client.ListDevicesRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) ListDevicesRequest(input *ListDevicesInput) (req *request.Request, output *ListDevicesOutput) {
op := &request.Operation{
Name: opListDevices,
HTTPMethod: "POST",
HTTPPath: "/",
Paginator: &request.Paginator{
InputTokens: []string{"nextToken"},
OutputTokens: []string{"nextToken"},
LimitToken: "",
TruncationToken: "",
},
}
if input == nil {
input = &ListDevicesInput{}
}
output = &ListDevicesOutput{}
req = c.newRequest(op, input, output)
return
}
// ListDevices API operation for AWS Device Farm.
//
// Gets information about unique device types.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation ListDevices for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) ListDevices(input *ListDevicesInput) (*ListDevicesOutput, error) {
req, out := c.ListDevicesRequest(input)
return out, req.Send()
}
// ListDevicesWithContext is the same as ListDevices with the addition of
// the ability to pass a context and additional request options.
//
// See ListDevices for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListDevicesWithContext(ctx aws.Context, input *ListDevicesInput, opts ...request.Option) (*ListDevicesOutput, error) {
req, out := c.ListDevicesRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
// ListDevicesPages iterates over the pages of a ListDevices operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
// See ListDevices method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
// // Example iterating over at most 3 pages of a ListDevices operation.
// pageNum := 0
// err := client.ListDevicesPages(params,
// func(page *ListDevicesOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
//
func (c *DeviceFarm) ListDevicesPages(input *ListDevicesInput, fn func(*ListDevicesOutput, bool) bool) error {
return c.ListDevicesPagesWithContext(aws.BackgroundContext(), input, fn)
}
// ListDevicesPagesWithContext same as ListDevicesPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListDevicesPagesWithContext(ctx aws.Context, input *ListDevicesInput, fn func(*ListDevicesOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
var inCpy *ListDevicesInput
if input != nil {
tmp := *input
inCpy = &tmp
}
req, _ := c.ListDevicesRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
},
}
cont := true
for p.Next() && cont {
cont = fn(p.Page().(*ListDevicesOutput), !p.HasNextPage())
}
return p.Err()
}
const opListJobs = "ListJobs"
// ListJobsRequest generates a "aws/request.Request" representing the
// client's request for the ListJobs operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See ListJobs for more information on using the ListJobs
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the ListJobsRequest method.
// req, resp := client.ListJobsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) ListJobsRequest(input *ListJobsInput) (req *request.Request, output *ListJobsOutput) {
op := &request.Operation{
Name: opListJobs,
HTTPMethod: "POST",
HTTPPath: "/",
Paginator: &request.Paginator{
InputTokens: []string{"nextToken"},
OutputTokens: []string{"nextToken"},
LimitToken: "",
TruncationToken: "",
},
}
if input == nil {
input = &ListJobsInput{}
}
output = &ListJobsOutput{}
req = c.newRequest(op, input, output)
return
}
// ListJobs API operation for AWS Device Farm.
//
// Gets information about jobs.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation ListJobs for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) ListJobs(input *ListJobsInput) (*ListJobsOutput, error) {
req, out := c.ListJobsRequest(input)
return out, req.Send()
}
// ListJobsWithContext is the same as ListJobs with the addition of
// the ability to pass a context and additional request options.
//
// See ListJobs for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListJobsWithContext(ctx aws.Context, input *ListJobsInput, opts ...request.Option) (*ListJobsOutput, error) {
req, out := c.ListJobsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
// ListJobsPages iterates over the pages of a ListJobs operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
// See ListJobs method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
// // Example iterating over at most 3 pages of a ListJobs operation.
// pageNum := 0
// err := client.ListJobsPages(params,
// func(page *ListJobsOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
//
func (c *DeviceFarm) ListJobsPages(input *ListJobsInput, fn func(*ListJobsOutput, bool) bool) error {
return c.ListJobsPagesWithContext(aws.BackgroundContext(), input, fn)
}
// ListJobsPagesWithContext same as ListJobsPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListJobsPagesWithContext(ctx aws.Context, input *ListJobsInput, fn func(*ListJobsOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
var inCpy *ListJobsInput
if input != nil {
tmp := *input
inCpy = &tmp
}
req, _ := c.ListJobsRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
},
}
cont := true
for p.Next() && cont {
cont = fn(p.Page().(*ListJobsOutput), !p.HasNextPage())
}
return p.Err()
}
const opListNetworkProfiles = "ListNetworkProfiles"
// ListNetworkProfilesRequest generates a "aws/request.Request" representing the
// client's request for the ListNetworkProfiles operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See ListNetworkProfiles for more information on using the ListNetworkProfiles
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the ListNetworkProfilesRequest method.
// req, resp := client.ListNetworkProfilesRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) ListNetworkProfilesRequest(input *ListNetworkProfilesInput) (req *request.Request, output *ListNetworkProfilesOutput) {
op := &request.Operation{
Name: opListNetworkProfiles,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &ListNetworkProfilesInput{}
}
output = &ListNetworkProfilesOutput{}
req = c.newRequest(op, input, output)
return
}
// ListNetworkProfiles API operation for AWS Device Farm.
//
// Returns the list of available network profiles.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation ListNetworkProfiles for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) ListNetworkProfiles(input *ListNetworkProfilesInput) (*ListNetworkProfilesOutput, error) {
req, out := c.ListNetworkProfilesRequest(input)
return out, req.Send()
}
// ListNetworkProfilesWithContext is the same as ListNetworkProfiles with the addition of
// the ability to pass a context and additional request options.
//
// See ListNetworkProfiles for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListNetworkProfilesWithContext(ctx aws.Context, input *ListNetworkProfilesInput, opts ...request.Option) (*ListNetworkProfilesOutput, error) {
req, out := c.ListNetworkProfilesRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opListOfferingPromotions = "ListOfferingPromotions"
// ListOfferingPromotionsRequest generates a "aws/request.Request" representing the
// client's request for the ListOfferingPromotions operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See ListOfferingPromotions for more information on using the ListOfferingPromotions
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the ListOfferingPromotionsRequest method.
// req, resp := client.ListOfferingPromotionsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) ListOfferingPromotionsRequest(input *ListOfferingPromotionsInput) (req *request.Request, output *ListOfferingPromotionsOutput) {
op := &request.Operation{
Name: opListOfferingPromotions,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &ListOfferingPromotionsInput{}
}
output = &ListOfferingPromotionsOutput{}
req = c.newRequest(op, input, output)
return
}
// ListOfferingPromotions API operation for AWS Device Farm.
//
// Returns a list of offering promotions. Each offering promotion record contains
// the ID and description of the promotion. The API returns a NotEligible error
// if the caller is not permitted to invoke the operation. Contact aws-devicefarm-support@amazon.com
// (mailto:aws-devicefarm-support@amazon.com) if you believe that you should
// be able to invoke this operation.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation ListOfferingPromotions for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeNotEligibleException "NotEligibleException"
// Exception gets thrown when a user is not eligible to perform the specified
// transaction.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) ListOfferingPromotions(input *ListOfferingPromotionsInput) (*ListOfferingPromotionsOutput, error) {
req, out := c.ListOfferingPromotionsRequest(input)
return out, req.Send()
}
// ListOfferingPromotionsWithContext is the same as ListOfferingPromotions with the addition of
// the ability to pass a context and additional request options.
//
// See ListOfferingPromotions for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListOfferingPromotionsWithContext(ctx aws.Context, input *ListOfferingPromotionsInput, opts ...request.Option) (*ListOfferingPromotionsOutput, error) {
req, out := c.ListOfferingPromotionsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opListOfferingTransactions = "ListOfferingTransactions"
// ListOfferingTransactionsRequest generates a "aws/request.Request" representing the
// client's request for the ListOfferingTransactions operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See ListOfferingTransactions for more information on using the ListOfferingTransactions
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the ListOfferingTransactionsRequest method.
// req, resp := client.ListOfferingTransactionsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) ListOfferingTransactionsRequest(input *ListOfferingTransactionsInput) (req *request.Request, output *ListOfferingTransactionsOutput) {
op := &request.Operation{
Name: opListOfferingTransactions,
HTTPMethod: "POST",
HTTPPath: "/",
Paginator: &request.Paginator{
InputTokens: []string{"nextToken"},
OutputTokens: []string{"nextToken"},
LimitToken: "",
TruncationToken: "",
},
}
if input == nil {
input = &ListOfferingTransactionsInput{}
}
output = &ListOfferingTransactionsOutput{}
req = c.newRequest(op, input, output)
return
}
// ListOfferingTransactions API operation for AWS Device Farm.
//
// Returns a list of all historical purchases, renewals, and system renewal
// transactions for an AWS account. The list is paginated and ordered by a descending
// timestamp (most recent transactions are first). The API returns a NotEligible
// error if the user is not permitted to invoke the operation. Please contact
// aws-devicefarm-support@amazon.com (mailto:aws-devicefarm-support@amazon.com)
// if you believe that you should be able to invoke this operation.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation ListOfferingTransactions for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeNotEligibleException "NotEligibleException"
// Exception gets thrown when a user is not eligible to perform the specified
// transaction.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) ListOfferingTransactions(input *ListOfferingTransactionsInput) (*ListOfferingTransactionsOutput, error) {
req, out := c.ListOfferingTransactionsRequest(input)
return out, req.Send()
}
// ListOfferingTransactionsWithContext is the same as ListOfferingTransactions with the addition of
// the ability to pass a context and additional request options.
//
// See ListOfferingTransactions for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListOfferingTransactionsWithContext(ctx aws.Context, input *ListOfferingTransactionsInput, opts ...request.Option) (*ListOfferingTransactionsOutput, error) {
req, out := c.ListOfferingTransactionsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
// ListOfferingTransactionsPages iterates over the pages of a ListOfferingTransactions operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
// See ListOfferingTransactions method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
// // Example iterating over at most 3 pages of a ListOfferingTransactions operation.
// pageNum := 0
// err := client.ListOfferingTransactionsPages(params,
// func(page *ListOfferingTransactionsOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
//
func (c *DeviceFarm) ListOfferingTransactionsPages(input *ListOfferingTransactionsInput, fn func(*ListOfferingTransactionsOutput, bool) bool) error {
return c.ListOfferingTransactionsPagesWithContext(aws.BackgroundContext(), input, fn)
}
// ListOfferingTransactionsPagesWithContext same as ListOfferingTransactionsPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListOfferingTransactionsPagesWithContext(ctx aws.Context, input *ListOfferingTransactionsInput, fn func(*ListOfferingTransactionsOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
var inCpy *ListOfferingTransactionsInput
if input != nil {
tmp := *input
inCpy = &tmp
}
req, _ := c.ListOfferingTransactionsRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
},
}
cont := true
for p.Next() && cont {
cont = fn(p.Page().(*ListOfferingTransactionsOutput), !p.HasNextPage())
}
return p.Err()
}
const opListOfferings = "ListOfferings"
// ListOfferingsRequest generates a "aws/request.Request" representing the
// client's request for the ListOfferings operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See ListOfferings for more information on using the ListOfferings
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the ListOfferingsRequest method.
// req, resp := client.ListOfferingsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) ListOfferingsRequest(input *ListOfferingsInput) (req *request.Request, output *ListOfferingsOutput) {
op := &request.Operation{
Name: opListOfferings,
HTTPMethod: "POST",
HTTPPath: "/",
Paginator: &request.Paginator{
InputTokens: []string{"nextToken"},
OutputTokens: []string{"nextToken"},
LimitToken: "",
TruncationToken: "",
},
}
if input == nil {
input = &ListOfferingsInput{}
}
output = &ListOfferingsOutput{}
req = c.newRequest(op, input, output)
return
}
// ListOfferings API operation for AWS Device Farm.
//
// Returns a list of products or offerings that the user can manage through
// the API. Each offering record indicates the recurring price per unit and
// the frequency for that offering. The API returns a NotEligible error if the
// user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com
// (mailto:aws-devicefarm-support@amazon.com) if you believe that you should
// be able to invoke this operation.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation ListOfferings for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeNotEligibleException "NotEligibleException"
// Exception gets thrown when a user is not eligible to perform the specified
// transaction.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) ListOfferings(input *ListOfferingsInput) (*ListOfferingsOutput, error) {
req, out := c.ListOfferingsRequest(input)
return out, req.Send()
}
// ListOfferingsWithContext is the same as ListOfferings with the addition of
// the ability to pass a context and additional request options.
//
// See ListOfferings for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListOfferingsWithContext(ctx aws.Context, input *ListOfferingsInput, opts ...request.Option) (*ListOfferingsOutput, error) {
req, out := c.ListOfferingsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
// ListOfferingsPages iterates over the pages of a ListOfferings operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
// See ListOfferings method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
// // Example iterating over at most 3 pages of a ListOfferings operation.
// pageNum := 0
// err := client.ListOfferingsPages(params,
// func(page *ListOfferingsOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
//
func (c *DeviceFarm) ListOfferingsPages(input *ListOfferingsInput, fn func(*ListOfferingsOutput, bool) bool) error {
return c.ListOfferingsPagesWithContext(aws.BackgroundContext(), input, fn)
}
// ListOfferingsPagesWithContext same as ListOfferingsPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListOfferingsPagesWithContext(ctx aws.Context, input *ListOfferingsInput, fn func(*ListOfferingsOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
var inCpy *ListOfferingsInput
if input != nil {
tmp := *input
inCpy = &tmp
}
req, _ := c.ListOfferingsRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
},
}
cont := true
for p.Next() && cont {
cont = fn(p.Page().(*ListOfferingsOutput), !p.HasNextPage())
}
return p.Err()
}
const opListProjects = "ListProjects"
// ListProjectsRequest generates a "aws/request.Request" representing the
// client's request for the ListProjects operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See ListProjects for more information on using the ListProjects
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the ListProjectsRequest method.
// req, resp := client.ListProjectsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) ListProjectsRequest(input *ListProjectsInput) (req *request.Request, output *ListProjectsOutput) {
op := &request.Operation{
Name: opListProjects,
HTTPMethod: "POST",
HTTPPath: "/",
Paginator: &request.Paginator{
InputTokens: []string{"nextToken"},
OutputTokens: []string{"nextToken"},
LimitToken: "",
TruncationToken: "",
},
}
if input == nil {
input = &ListProjectsInput{}
}
output = &ListProjectsOutput{}
req = c.newRequest(op, input, output)
return
}
// ListProjects API operation for AWS Device Farm.
//
// Gets information about projects.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation ListProjects for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) ListProjects(input *ListProjectsInput) (*ListProjectsOutput, error) {
req, out := c.ListProjectsRequest(input)
return out, req.Send()
}
// ListProjectsWithContext is the same as ListProjects with the addition of
// the ability to pass a context and additional request options.
//
// See ListProjects for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListProjectsWithContext(ctx aws.Context, input *ListProjectsInput, opts ...request.Option) (*ListProjectsOutput, error) {
req, out := c.ListProjectsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
// ListProjectsPages iterates over the pages of a ListProjects operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
// See ListProjects method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
// // Example iterating over at most 3 pages of a ListProjects operation.
// pageNum := 0
// err := client.ListProjectsPages(params,
// func(page *ListProjectsOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
//
func (c *DeviceFarm) ListProjectsPages(input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool) error {
return c.ListProjectsPagesWithContext(aws.BackgroundContext(), input, fn)
}
// ListProjectsPagesWithContext same as ListProjectsPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListProjectsPagesWithContext(ctx aws.Context, input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
var inCpy *ListProjectsInput
if input != nil {
tmp := *input
inCpy = &tmp
}
req, _ := c.ListProjectsRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
},
}
cont := true
for p.Next() && cont {
cont = fn(p.Page().(*ListProjectsOutput), !p.HasNextPage())
}
return p.Err()
}
const opListRemoteAccessSessions = "ListRemoteAccessSessions"
// ListRemoteAccessSessionsRequest generates a "aws/request.Request" representing the
// client's request for the ListRemoteAccessSessions operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See ListRemoteAccessSessions for more information on using the ListRemoteAccessSessions
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the ListRemoteAccessSessionsRequest method.
// req, resp := client.ListRemoteAccessSessionsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) ListRemoteAccessSessionsRequest(input *ListRemoteAccessSessionsInput) (req *request.Request, output *ListRemoteAccessSessionsOutput) {
op := &request.Operation{
Name: opListRemoteAccessSessions,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &ListRemoteAccessSessionsInput{}
}
output = &ListRemoteAccessSessionsOutput{}
req = c.newRequest(op, input, output)
return
}
// ListRemoteAccessSessions API operation for AWS Device Farm.
//
// Returns a list of all currently running remote access sessions.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation ListRemoteAccessSessions for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) ListRemoteAccessSessions(input *ListRemoteAccessSessionsInput) (*ListRemoteAccessSessionsOutput, error) {
req, out := c.ListRemoteAccessSessionsRequest(input)
return out, req.Send()
}
// ListRemoteAccessSessionsWithContext is the same as ListRemoteAccessSessions with the addition of
// the ability to pass a context and additional request options.
//
// See ListRemoteAccessSessions for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListRemoteAccessSessionsWithContext(ctx aws.Context, input *ListRemoteAccessSessionsInput, opts ...request.Option) (*ListRemoteAccessSessionsOutput, error) {
req, out := c.ListRemoteAccessSessionsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opListRuns = "ListRuns"
// ListRunsRequest generates a "aws/request.Request" representing the
// client's request for the ListRuns operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See ListRuns for more information on using the ListRuns
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the ListRunsRequest method.
// req, resp := client.ListRunsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) ListRunsRequest(input *ListRunsInput) (req *request.Request, output *ListRunsOutput) {
op := &request.Operation{
Name: opListRuns,
HTTPMethod: "POST",
HTTPPath: "/",
Paginator: &request.Paginator{
InputTokens: []string{"nextToken"},
OutputTokens: []string{"nextToken"},
LimitToken: "",
TruncationToken: "",
},
}
if input == nil {
input = &ListRunsInput{}
}
output = &ListRunsOutput{}
req = c.newRequest(op, input, output)
return
}
// ListRuns API operation for AWS Device Farm.
//
// Gets information about runs, given an AWS Device Farm project ARN.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation ListRuns for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) ListRuns(input *ListRunsInput) (*ListRunsOutput, error) {
req, out := c.ListRunsRequest(input)
return out, req.Send()
}
// ListRunsWithContext is the same as ListRuns with the addition of
// the ability to pass a context and additional request options.
//
// See ListRuns for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListRunsWithContext(ctx aws.Context, input *ListRunsInput, opts ...request.Option) (*ListRunsOutput, error) {
req, out := c.ListRunsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
// ListRunsPages iterates over the pages of a ListRuns operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
// See ListRuns method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
// // Example iterating over at most 3 pages of a ListRuns operation.
// pageNum := 0
// err := client.ListRunsPages(params,
// func(page *ListRunsOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
//
func (c *DeviceFarm) ListRunsPages(input *ListRunsInput, fn func(*ListRunsOutput, bool) bool) error {
return c.ListRunsPagesWithContext(aws.BackgroundContext(), input, fn)
}
// ListRunsPagesWithContext same as ListRunsPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListRunsPagesWithContext(ctx aws.Context, input *ListRunsInput, fn func(*ListRunsOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
var inCpy *ListRunsInput
if input != nil {
tmp := *input
inCpy = &tmp
}
req, _ := c.ListRunsRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
},
}
cont := true
for p.Next() && cont {
cont = fn(p.Page().(*ListRunsOutput), !p.HasNextPage())
}
return p.Err()
}
const opListSamples = "ListSamples"
// ListSamplesRequest generates a "aws/request.Request" representing the
// client's request for the ListSamples operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See ListSamples for more information on using the ListSamples
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the ListSamplesRequest method.
// req, resp := client.ListSamplesRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) ListSamplesRequest(input *ListSamplesInput) (req *request.Request, output *ListSamplesOutput) {
op := &request.Operation{
Name: opListSamples,
HTTPMethod: "POST",
HTTPPath: "/",
Paginator: &request.Paginator{
InputTokens: []string{"nextToken"},
OutputTokens: []string{"nextToken"},
LimitToken: "",
TruncationToken: "",
},
}
if input == nil {
input = &ListSamplesInput{}
}
output = &ListSamplesOutput{}
req = c.newRequest(op, input, output)
return
}
// ListSamples API operation for AWS Device Farm.
//
// Gets information about samples, given an AWS Device Farm project ARN
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation ListSamples for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) ListSamples(input *ListSamplesInput) (*ListSamplesOutput, error) {
req, out := c.ListSamplesRequest(input)
return out, req.Send()
}
// ListSamplesWithContext is the same as ListSamples with the addition of
// the ability to pass a context and additional request options.
//
// See ListSamples for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListSamplesWithContext(ctx aws.Context, input *ListSamplesInput, opts ...request.Option) (*ListSamplesOutput, error) {
req, out := c.ListSamplesRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
// ListSamplesPages iterates over the pages of a ListSamples operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
// See ListSamples method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
// // Example iterating over at most 3 pages of a ListSamples operation.
// pageNum := 0
// err := client.ListSamplesPages(params,
// func(page *ListSamplesOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
//
func (c *DeviceFarm) ListSamplesPages(input *ListSamplesInput, fn func(*ListSamplesOutput, bool) bool) error {
return c.ListSamplesPagesWithContext(aws.BackgroundContext(), input, fn)
}
// ListSamplesPagesWithContext same as ListSamplesPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListSamplesPagesWithContext(ctx aws.Context, input *ListSamplesInput, fn func(*ListSamplesOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
var inCpy *ListSamplesInput
if input != nil {
tmp := *input
inCpy = &tmp
}
req, _ := c.ListSamplesRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
},
}
cont := true
for p.Next() && cont {
cont = fn(p.Page().(*ListSamplesOutput), !p.HasNextPage())
}
return p.Err()
}
const opListSuites = "ListSuites"
// ListSuitesRequest generates a "aws/request.Request" representing the
// client's request for the ListSuites operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See ListSuites for more information on using the ListSuites
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the ListSuitesRequest method.
// req, resp := client.ListSuitesRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) ListSuitesRequest(input *ListSuitesInput) (req *request.Request, output *ListSuitesOutput) {
op := &request.Operation{
Name: opListSuites,
HTTPMethod: "POST",
HTTPPath: "/",
Paginator: &request.Paginator{
InputTokens: []string{"nextToken"},
OutputTokens: []string{"nextToken"},
LimitToken: "",
TruncationToken: "",
},
}
if input == nil {
input = &ListSuitesInput{}
}
output = &ListSuitesOutput{}
req = c.newRequest(op, input, output)
return
}
// ListSuites API operation for AWS Device Farm.
//
// Gets information about suites.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation ListSuites for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) ListSuites(input *ListSuitesInput) (*ListSuitesOutput, error) {
req, out := c.ListSuitesRequest(input)
return out, req.Send()
}
// ListSuitesWithContext is the same as ListSuites with the addition of
// the ability to pass a context and additional request options.
//
// See ListSuites for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListSuitesWithContext(ctx aws.Context, input *ListSuitesInput, opts ...request.Option) (*ListSuitesOutput, error) {
req, out := c.ListSuitesRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
// ListSuitesPages iterates over the pages of a ListSuites operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
// See ListSuites method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
// // Example iterating over at most 3 pages of a ListSuites operation.
// pageNum := 0
// err := client.ListSuitesPages(params,
// func(page *ListSuitesOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
//
func (c *DeviceFarm) ListSuitesPages(input *ListSuitesInput, fn func(*ListSuitesOutput, bool) bool) error {
return c.ListSuitesPagesWithContext(aws.BackgroundContext(), input, fn)
}
// ListSuitesPagesWithContext same as ListSuitesPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListSuitesPagesWithContext(ctx aws.Context, input *ListSuitesInput, fn func(*ListSuitesOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
var inCpy *ListSuitesInput
if input != nil {
tmp := *input
inCpy = &tmp
}
req, _ := c.ListSuitesRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
},
}
cont := true
for p.Next() && cont {
cont = fn(p.Page().(*ListSuitesOutput), !p.HasNextPage())
}
return p.Err()
}
const opListTests = "ListTests"
// ListTestsRequest generates a "aws/request.Request" representing the
// client's request for the ListTests operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See ListTests for more information on using the ListTests
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the ListTestsRequest method.
// req, resp := client.ListTestsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) ListTestsRequest(input *ListTestsInput) (req *request.Request, output *ListTestsOutput) {
op := &request.Operation{
Name: opListTests,
HTTPMethod: "POST",
HTTPPath: "/",
Paginator: &request.Paginator{
InputTokens: []string{"nextToken"},
OutputTokens: []string{"nextToken"},
LimitToken: "",
TruncationToken: "",
},
}
if input == nil {
input = &ListTestsInput{}
}
output = &ListTestsOutput{}
req = c.newRequest(op, input, output)
return
}
// ListTests API operation for AWS Device Farm.
//
// Gets information about tests.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation ListTests for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) ListTests(input *ListTestsInput) (*ListTestsOutput, error) {
req, out := c.ListTestsRequest(input)
return out, req.Send()
}
// ListTestsWithContext is the same as ListTests with the addition of
// the ability to pass a context and additional request options.
//
// See ListTests for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListTestsWithContext(ctx aws.Context, input *ListTestsInput, opts ...request.Option) (*ListTestsOutput, error) {
req, out := c.ListTestsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
// ListTestsPages iterates over the pages of a ListTests operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
// See ListTests method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
// // Example iterating over at most 3 pages of a ListTests operation.
// pageNum := 0
// err := client.ListTestsPages(params,
// func(page *ListTestsOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
//
func (c *DeviceFarm) ListTestsPages(input *ListTestsInput, fn func(*ListTestsOutput, bool) bool) error {
return c.ListTestsPagesWithContext(aws.BackgroundContext(), input, fn)
}
// ListTestsPagesWithContext same as ListTestsPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListTestsPagesWithContext(ctx aws.Context, input *ListTestsInput, fn func(*ListTestsOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
var inCpy *ListTestsInput
if input != nil {
tmp := *input
inCpy = &tmp
}
req, _ := c.ListTestsRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
},
}
cont := true
for p.Next() && cont {
cont = fn(p.Page().(*ListTestsOutput), !p.HasNextPage())
}
return p.Err()
}
const opListUniqueProblems = "ListUniqueProblems"
// ListUniqueProblemsRequest generates a "aws/request.Request" representing the
// client's request for the ListUniqueProblems operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See ListUniqueProblems for more information on using the ListUniqueProblems
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the ListUniqueProblemsRequest method.
// req, resp := client.ListUniqueProblemsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) ListUniqueProblemsRequest(input *ListUniqueProblemsInput) (req *request.Request, output *ListUniqueProblemsOutput) {
op := &request.Operation{
Name: opListUniqueProblems,
HTTPMethod: "POST",
HTTPPath: "/",
Paginator: &request.Paginator{
InputTokens: []string{"nextToken"},
OutputTokens: []string{"nextToken"},
LimitToken: "",
TruncationToken: "",
},
}
if input == nil {
input = &ListUniqueProblemsInput{}
}
output = &ListUniqueProblemsOutput{}
req = c.newRequest(op, input, output)
return
}
// ListUniqueProblems API operation for AWS Device Farm.
//
// Gets information about unique problems.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation ListUniqueProblems for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) ListUniqueProblems(input *ListUniqueProblemsInput) (*ListUniqueProblemsOutput, error) {
req, out := c.ListUniqueProblemsRequest(input)
return out, req.Send()
}
// ListUniqueProblemsWithContext is the same as ListUniqueProblems with the addition of
// the ability to pass a context and additional request options.
//
// See ListUniqueProblems for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListUniqueProblemsWithContext(ctx aws.Context, input *ListUniqueProblemsInput, opts ...request.Option) (*ListUniqueProblemsOutput, error) {
req, out := c.ListUniqueProblemsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
// ListUniqueProblemsPages iterates over the pages of a ListUniqueProblems operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
// See ListUniqueProblems method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
// // Example iterating over at most 3 pages of a ListUniqueProblems operation.
// pageNum := 0
// err := client.ListUniqueProblemsPages(params,
// func(page *ListUniqueProblemsOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
//
func (c *DeviceFarm) ListUniqueProblemsPages(input *ListUniqueProblemsInput, fn func(*ListUniqueProblemsOutput, bool) bool) error {
return c.ListUniqueProblemsPagesWithContext(aws.BackgroundContext(), input, fn)
}
// ListUniqueProblemsPagesWithContext same as ListUniqueProblemsPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListUniqueProblemsPagesWithContext(ctx aws.Context, input *ListUniqueProblemsInput, fn func(*ListUniqueProblemsOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
var inCpy *ListUniqueProblemsInput
if input != nil {
tmp := *input
inCpy = &tmp
}
req, _ := c.ListUniqueProblemsRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
},
}
cont := true
for p.Next() && cont {
cont = fn(p.Page().(*ListUniqueProblemsOutput), !p.HasNextPage())
}
return p.Err()
}
const opListUploads = "ListUploads"
// ListUploadsRequest generates a "aws/request.Request" representing the
// client's request for the ListUploads operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See ListUploads for more information on using the ListUploads
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the ListUploadsRequest method.
// req, resp := client.ListUploadsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) ListUploadsRequest(input *ListUploadsInput) (req *request.Request, output *ListUploadsOutput) {
op := &request.Operation{
Name: opListUploads,
HTTPMethod: "POST",
HTTPPath: "/",
Paginator: &request.Paginator{
InputTokens: []string{"nextToken"},
OutputTokens: []string{"nextToken"},
LimitToken: "",
TruncationToken: "",
},
}
if input == nil {
input = &ListUploadsInput{}
}
output = &ListUploadsOutput{}
req = c.newRequest(op, input, output)
return
}
// ListUploads API operation for AWS Device Farm.
//
// Gets information about uploads, given an AWS Device Farm project ARN.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation ListUploads for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) ListUploads(input *ListUploadsInput) (*ListUploadsOutput, error) {
req, out := c.ListUploadsRequest(input)
return out, req.Send()
}
// ListUploadsWithContext is the same as ListUploads with the addition of
// the ability to pass a context and additional request options.
//
// See ListUploads for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListUploadsWithContext(ctx aws.Context, input *ListUploadsInput, opts ...request.Option) (*ListUploadsOutput, error) {
req, out := c.ListUploadsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
// ListUploadsPages iterates over the pages of a ListUploads operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
// See ListUploads method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
// // Example iterating over at most 3 pages of a ListUploads operation.
// pageNum := 0
// err := client.ListUploadsPages(params,
// func(page *ListUploadsOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
//
func (c *DeviceFarm) ListUploadsPages(input *ListUploadsInput, fn func(*ListUploadsOutput, bool) bool) error {
return c.ListUploadsPagesWithContext(aws.BackgroundContext(), input, fn)
}
// ListUploadsPagesWithContext same as ListUploadsPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ListUploadsPagesWithContext(ctx aws.Context, input *ListUploadsInput, fn func(*ListUploadsOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
var inCpy *ListUploadsInput
if input != nil {
tmp := *input
inCpy = &tmp
}
req, _ := c.ListUploadsRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
},
}
cont := true
for p.Next() && cont {
cont = fn(p.Page().(*ListUploadsOutput), !p.HasNextPage())
}
return p.Err()
}
const opPurchaseOffering = "PurchaseOffering"
// PurchaseOfferingRequest generates a "aws/request.Request" representing the
// client's request for the PurchaseOffering operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See PurchaseOffering for more information on using the PurchaseOffering
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the PurchaseOfferingRequest method.
// req, resp := client.PurchaseOfferingRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) PurchaseOfferingRequest(input *PurchaseOfferingInput) (req *request.Request, output *PurchaseOfferingOutput) {
op := &request.Operation{
Name: opPurchaseOffering,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &PurchaseOfferingInput{}
}
output = &PurchaseOfferingOutput{}
req = c.newRequest(op, input, output)
return
}
// PurchaseOffering API operation for AWS Device Farm.
//
// Immediately purchases offerings for an AWS account. Offerings renew with
// the latest total purchased quantity for an offering, unless the renewal was
// overridden. The API returns a NotEligible error if the user is not permitted
// to invoke the operation. Please contact aws-devicefarm-support@amazon.com
// (mailto:aws-devicefarm-support@amazon.com) if you believe that you should
// be able to invoke this operation.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation PurchaseOffering for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeNotEligibleException "NotEligibleException"
// Exception gets thrown when a user is not eligible to perform the specified
// transaction.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) PurchaseOffering(input *PurchaseOfferingInput) (*PurchaseOfferingOutput, error) {
req, out := c.PurchaseOfferingRequest(input)
return out, req.Send()
}
// PurchaseOfferingWithContext is the same as PurchaseOffering with the addition of
// the ability to pass a context and additional request options.
//
// See PurchaseOffering for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) PurchaseOfferingWithContext(ctx aws.Context, input *PurchaseOfferingInput, opts ...request.Option) (*PurchaseOfferingOutput, error) {
req, out := c.PurchaseOfferingRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opRenewOffering = "RenewOffering"
// RenewOfferingRequest generates a "aws/request.Request" representing the
// client's request for the RenewOffering operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See RenewOffering for more information on using the RenewOffering
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the RenewOfferingRequest method.
// req, resp := client.RenewOfferingRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) RenewOfferingRequest(input *RenewOfferingInput) (req *request.Request, output *RenewOfferingOutput) {
op := &request.Operation{
Name: opRenewOffering,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &RenewOfferingInput{}
}
output = &RenewOfferingOutput{}
req = c.newRequest(op, input, output)
return
}
// RenewOffering API operation for AWS Device Farm.
//
// Explicitly sets the quantity of devices to renew for an offering, starting
// from the effectiveDate of the next period. The API returns a NotEligible
// error if the user is not permitted to invoke the operation. Please contact
// aws-devicefarm-support@amazon.com (mailto:aws-devicefarm-support@amazon.com)
// if you believe that you should be able to invoke this operation.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation RenewOffering for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeNotEligibleException "NotEligibleException"
// Exception gets thrown when a user is not eligible to perform the specified
// transaction.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) RenewOffering(input *RenewOfferingInput) (*RenewOfferingOutput, error) {
req, out := c.RenewOfferingRequest(input)
return out, req.Send()
}
// RenewOfferingWithContext is the same as RenewOffering with the addition of
// the ability to pass a context and additional request options.
//
// See RenewOffering for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) RenewOfferingWithContext(ctx aws.Context, input *RenewOfferingInput, opts ...request.Option) (*RenewOfferingOutput, error) {
req, out := c.RenewOfferingRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opScheduleRun = "ScheduleRun"
// ScheduleRunRequest generates a "aws/request.Request" representing the
// client's request for the ScheduleRun operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See ScheduleRun for more information on using the ScheduleRun
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the ScheduleRunRequest method.
// req, resp := client.ScheduleRunRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) ScheduleRunRequest(input *ScheduleRunInput) (req *request.Request, output *ScheduleRunOutput) {
op := &request.Operation{
Name: opScheduleRun,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &ScheduleRunInput{}
}
output = &ScheduleRunOutput{}
req = c.newRequest(op, input, output)
return
}
// ScheduleRun API operation for AWS Device Farm.
//
// Schedules a run.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation ScheduleRun for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeIdempotencyException "IdempotencyException"
// An entity with the same name already exists.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) ScheduleRun(input *ScheduleRunInput) (*ScheduleRunOutput, error) {
req, out := c.ScheduleRunRequest(input)
return out, req.Send()
}
// ScheduleRunWithContext is the same as ScheduleRun with the addition of
// the ability to pass a context and additional request options.
//
// See ScheduleRun for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) ScheduleRunWithContext(ctx aws.Context, input *ScheduleRunInput, opts ...request.Option) (*ScheduleRunOutput, error) {
req, out := c.ScheduleRunRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opStopRemoteAccessSession = "StopRemoteAccessSession"
// StopRemoteAccessSessionRequest generates a "aws/request.Request" representing the
// client's request for the StopRemoteAccessSession operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See StopRemoteAccessSession for more information on using the StopRemoteAccessSession
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the StopRemoteAccessSessionRequest method.
// req, resp := client.StopRemoteAccessSessionRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) StopRemoteAccessSessionRequest(input *StopRemoteAccessSessionInput) (req *request.Request, output *StopRemoteAccessSessionOutput) {
op := &request.Operation{
Name: opStopRemoteAccessSession,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &StopRemoteAccessSessionInput{}
}
output = &StopRemoteAccessSessionOutput{}
req = c.newRequest(op, input, output)
return
}
// StopRemoteAccessSession API operation for AWS Device Farm.
//
// Ends a specified remote access session.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation StopRemoteAccessSession for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) StopRemoteAccessSession(input *StopRemoteAccessSessionInput) (*StopRemoteAccessSessionOutput, error) {
req, out := c.StopRemoteAccessSessionRequest(input)
return out, req.Send()
}
// StopRemoteAccessSessionWithContext is the same as StopRemoteAccessSession with the addition of
// the ability to pass a context and additional request options.
//
// See StopRemoteAccessSession for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) StopRemoteAccessSessionWithContext(ctx aws.Context, input *StopRemoteAccessSessionInput, opts ...request.Option) (*StopRemoteAccessSessionOutput, error) {
req, out := c.StopRemoteAccessSessionRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opStopRun = "StopRun"
// StopRunRequest generates a "aws/request.Request" representing the
// client's request for the StopRun operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See StopRun for more information on using the StopRun
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the StopRunRequest method.
// req, resp := client.StopRunRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) StopRunRequest(input *StopRunInput) (req *request.Request, output *StopRunOutput) {
op := &request.Operation{
Name: opStopRun,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &StopRunInput{}
}
output = &StopRunOutput{}
req = c.newRequest(op, input, output)
return
}
// StopRun API operation for AWS Device Farm.
//
// Initiates a stop request for the current test run. AWS Device Farm will immediately
// stop the run on devices where tests have not started executing, and you will
// not be billed for these devices. On devices where tests have started executing,
// Setup Suite and Teardown Suite tests will run to completion before stopping
// execution on those devices. You will be billed for Setup, Teardown, and any
// tests that were in progress or already completed.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation StopRun for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) StopRun(input *StopRunInput) (*StopRunOutput, error) {
req, out := c.StopRunRequest(input)
return out, req.Send()
}
// StopRunWithContext is the same as StopRun with the addition of
// the ability to pass a context and additional request options.
//
// See StopRun for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) StopRunWithContext(ctx aws.Context, input *StopRunInput, opts ...request.Option) (*StopRunOutput, error) {
req, out := c.StopRunRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opUpdateDevicePool = "UpdateDevicePool"
// UpdateDevicePoolRequest generates a "aws/request.Request" representing the
// client's request for the UpdateDevicePool operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See UpdateDevicePool for more information on using the UpdateDevicePool
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the UpdateDevicePoolRequest method.
// req, resp := client.UpdateDevicePoolRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) UpdateDevicePoolRequest(input *UpdateDevicePoolInput) (req *request.Request, output *UpdateDevicePoolOutput) {
op := &request.Operation{
Name: opUpdateDevicePool,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &UpdateDevicePoolInput{}
}
output = &UpdateDevicePoolOutput{}
req = c.newRequest(op, input, output)
return
}
// UpdateDevicePool API operation for AWS Device Farm.
//
// Modifies the name, description, and rules in a device pool given the attributes
// and the pool ARN. Rule updates are all-or-nothing, meaning they can only
// be updated as a whole (or not at all).
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation UpdateDevicePool for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) UpdateDevicePool(input *UpdateDevicePoolInput) (*UpdateDevicePoolOutput, error) {
req, out := c.UpdateDevicePoolRequest(input)
return out, req.Send()
}
// UpdateDevicePoolWithContext is the same as UpdateDevicePool with the addition of
// the ability to pass a context and additional request options.
//
// See UpdateDevicePool for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) UpdateDevicePoolWithContext(ctx aws.Context, input *UpdateDevicePoolInput, opts ...request.Option) (*UpdateDevicePoolOutput, error) {
req, out := c.UpdateDevicePoolRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opUpdateNetworkProfile = "UpdateNetworkProfile"
// UpdateNetworkProfileRequest generates a "aws/request.Request" representing the
// client's request for the UpdateNetworkProfile operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See UpdateNetworkProfile for more information on using the UpdateNetworkProfile
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the UpdateNetworkProfileRequest method.
// req, resp := client.UpdateNetworkProfileRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) UpdateNetworkProfileRequest(input *UpdateNetworkProfileInput) (req *request.Request, output *UpdateNetworkProfileOutput) {
op := &request.Operation{
Name: opUpdateNetworkProfile,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &UpdateNetworkProfileInput{}
}
output = &UpdateNetworkProfileOutput{}
req = c.newRequest(op, input, output)
return
}
// UpdateNetworkProfile API operation for AWS Device Farm.
//
// Updates the network profile with specific settings.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation UpdateNetworkProfile for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) UpdateNetworkProfile(input *UpdateNetworkProfileInput) (*UpdateNetworkProfileOutput, error) {
req, out := c.UpdateNetworkProfileRequest(input)
return out, req.Send()
}
// UpdateNetworkProfileWithContext is the same as UpdateNetworkProfile with the addition of
// the ability to pass a context and additional request options.
//
// See UpdateNetworkProfile for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) UpdateNetworkProfileWithContext(ctx aws.Context, input *UpdateNetworkProfileInput, opts ...request.Option) (*UpdateNetworkProfileOutput, error) {
req, out := c.UpdateNetworkProfileRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opUpdateProject = "UpdateProject"
// UpdateProjectRequest generates a "aws/request.Request" representing the
// client's request for the UpdateProject operation. The "output" return
// value will be populated with the request's response once the request complets
// successfuly.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See UpdateProject for more information on using the UpdateProject
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
// // Example sending a request using the UpdateProjectRequest method.
// req, resp := client.UpdateProjectRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, path_to_url
func (c *DeviceFarm) UpdateProjectRequest(input *UpdateProjectInput) (req *request.Request, output *UpdateProjectOutput) {
op := &request.Operation{
Name: opUpdateProject,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &UpdateProjectInput{}
}
output = &UpdateProjectOutput{}
req = c.newRequest(op, input, output)
return
}
// UpdateProject API operation for AWS Device Farm.
//
// Modifies the specified project name, given the project ARN and a new name.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation UpdateProject for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, path_to_url
func (c *DeviceFarm) UpdateProject(input *UpdateProjectInput) (*UpdateProjectOutput, error) {
req, out := c.UpdateProjectRequest(input)
return out, req.Send()
}
// UpdateProjectWithContext is the same as UpdateProject with the addition of
// the ability to pass a context and additional request options.
//
// See UpdateProject for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See path_to_url
// for more information on using Contexts.
func (c *DeviceFarm) UpdateProjectWithContext(ctx aws.Context, input *UpdateProjectInput, opts ...request.Option) (*UpdateProjectOutput, error) {
req, out := c.UpdateProjectRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
// A container for account-level settings within AWS Device Farm.
// See also, path_to_url
type AccountSettings struct {
_ struct{} `type:"structure"`
// The AWS account number specified in the AccountSettings container.
AwsAccountNumber *string `locationName:"awsAccountNumber" min:"2" type:"string"`
// The default number of minutes (at the account level) a test run will execute
// before it times out. Default value is 60 minutes.
DefaultJobTimeoutMinutes *int64 `locationName:"defaultJobTimeoutMinutes" type:"integer"`
// The maximum number of minutes a test run will execute before it times out.
MaxJobTimeoutMinutes *int64 `locationName:"maxJobTimeoutMinutes" type:"integer"`
// The maximum number of device slots that the AWS account can purchase. Each
// maximum is expressed as an offering-id:number pair, where the offering-id
// represents one of the IDs returned by the ListOfferings command.
MaxSlots map[string]*int64 `locationName:"maxSlots" type:"map"`
// Information about an AWS account's usage of free trial device minutes.
TrialMinutes *TrialMinutes `locationName:"trialMinutes" type:"structure"`
// Returns the unmetered devices you have purchased or want to purchase.
UnmeteredDevices map[string]*int64 `locationName:"unmeteredDevices" type:"map"`
// Returns the unmetered remote access devices you have purchased or want to
// purchase.
UnmeteredRemoteAccessDevices map[string]*int64 `locationName:"unmeteredRemoteAccessDevices" type:"map"`
}
// String returns the string representation
func (s AccountSettings) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s AccountSettings) GoString() string {
return s.String()
}
// SetAwsAccountNumber sets the AwsAccountNumber field's value.
func (s *AccountSettings) SetAwsAccountNumber(v string) *AccountSettings {
s.AwsAccountNumber = &v
return s
}
// SetDefaultJobTimeoutMinutes sets the DefaultJobTimeoutMinutes field's value.
func (s *AccountSettings) SetDefaultJobTimeoutMinutes(v int64) *AccountSettings {
s.DefaultJobTimeoutMinutes = &v
return s
}
// SetMaxJobTimeoutMinutes sets the MaxJobTimeoutMinutes field's value.
func (s *AccountSettings) SetMaxJobTimeoutMinutes(v int64) *AccountSettings {
s.MaxJobTimeoutMinutes = &v
return s
}
// SetMaxSlots sets the MaxSlots field's value.
func (s *AccountSettings) SetMaxSlots(v map[string]*int64) *AccountSettings {
s.MaxSlots = v
return s
}
// SetTrialMinutes sets the TrialMinutes field's value.
func (s *AccountSettings) SetTrialMinutes(v *TrialMinutes) *AccountSettings {
s.TrialMinutes = v
return s
}
// SetUnmeteredDevices sets the UnmeteredDevices field's value.
func (s *AccountSettings) SetUnmeteredDevices(v map[string]*int64) *AccountSettings {
s.UnmeteredDevices = v
return s
}
// SetUnmeteredRemoteAccessDevices sets the UnmeteredRemoteAccessDevices field's value.
func (s *AccountSettings) SetUnmeteredRemoteAccessDevices(v map[string]*int64) *AccountSettings {
s.UnmeteredRemoteAccessDevices = v
return s
}
// Represents the output of a test. Examples of artifacts include logs and screenshots.
// See also, path_to_url
type Artifact struct {
_ struct{} `type:"structure"`
// The artifact's ARN.
Arn *string `locationName:"arn" min:"32" type:"string"`
// The artifact's file extension.
Extension *string `locationName:"extension" type:"string"`
// The artifact's name.
Name *string `locationName:"name" type:"string"`
// The artifact's type.
//
// Allowed values include the following:
//
// * UNKNOWN: An unknown type.
//
// * SCREENSHOT: The screenshot type.
//
// * DEVICE_LOG: The device log type.
//
// * MESSAGE_LOG: The message log type.
//
// * RESULT_LOG: The result log type.
//
// * SERVICE_LOG: The service log type.
//
// * WEBKIT_LOG: The web kit log type.
//
// * INSTRUMENTATION_OUTPUT: The instrumentation type.
//
// * EXERCISER_MONKEY_OUTPUT: For Android, the artifact (log) generated by
// an Android fuzz test.
//
// * CALABASH_JSON_OUTPUT: The Calabash JSON output type.
//
// * CALABASH_PRETTY_OUTPUT: The Calabash pretty output type.
//
// * CALABASH_STANDARD_OUTPUT: The Calabash standard output type.
//
// * CALABASH_JAVA_XML_OUTPUT: The Calabash Java XML output type.
//
// * AUTOMATION_OUTPUT: The automation output type.
//
// * APPIUM_SERVER_OUTPUT: The Appium server output type.
//
// * APPIUM_JAVA_OUTPUT: The Appium Java output type.
//
// * APPIUM_JAVA_XML_OUTPUT: The Appium Java XML output type.
//
// * APPIUM_PYTHON_OUTPUT: The Appium Python output type.
//
// * APPIUM_PYTHON_XML_OUTPUT: The Appium Python XML output type.
//
// * EXPLORER_EVENT_LOG: The Explorer event log output type.
//
// * EXPLORER_SUMMARY_LOG: The Explorer summary log output type.
//
// * APPLICATION_CRASH_REPORT: The application crash report output type.
//
// * XCTEST_LOG: The XCode test output type.
Type *string `locationName:"type" type:"string" enum:"ArtifactType"`
// The pre-signed Amazon S3 URL that can be used with a corresponding GET request
// to download the artifact's file.
Url *string `locationName:"url" type:"string"`
}
// String returns the string representation
func (s Artifact) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s Artifact) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *Artifact) SetArn(v string) *Artifact {
s.Arn = &v
return s
}
// SetExtension sets the Extension field's value.
func (s *Artifact) SetExtension(v string) *Artifact {
s.Extension = &v
return s
}
// SetName sets the Name field's value.
func (s *Artifact) SetName(v string) *Artifact {
s.Name = &v
return s
}
// SetType sets the Type field's value.
func (s *Artifact) SetType(v string) *Artifact {
s.Type = &v
return s
}
// SetUrl sets the Url field's value.
func (s *Artifact) SetUrl(v string) *Artifact {
s.Url = &v
return s
}
// Represents the amount of CPU that an app is using on a physical device.
//
// Note that this does not represent system-wide CPU usage.
// See also, path_to_url
type CPU struct {
_ struct{} `type:"structure"`
// The CPU's architecture, for example x86 or ARM.
Architecture *string `locationName:"architecture" type:"string"`
// The clock speed of the device's CPU, expressed in hertz (Hz). For example,
// a 1.2 GHz CPU is expressed as 1200000000.
Clock *float64 `locationName:"clock" type:"double"`
// The CPU's frequency.
Frequency *string `locationName:"frequency" type:"string"`
}
// String returns the string representation
func (s CPU) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CPU) GoString() string {
return s.String()
}
// SetArchitecture sets the Architecture field's value.
func (s *CPU) SetArchitecture(v string) *CPU {
s.Architecture = &v
return s
}
// SetClock sets the Clock field's value.
func (s *CPU) SetClock(v float64) *CPU {
s.Clock = &v
return s
}
// SetFrequency sets the Frequency field's value.
func (s *CPU) SetFrequency(v string) *CPU {
s.Frequency = &v
return s
}
// Represents entity counters.
// See also, path_to_url
type Counters struct {
_ struct{} `type:"structure"`
// The number of errored entities.
Errored *int64 `locationName:"errored" type:"integer"`
// The number of failed entities.
Failed *int64 `locationName:"failed" type:"integer"`
// The number of passed entities.
Passed *int64 `locationName:"passed" type:"integer"`
// The number of skipped entities.
Skipped *int64 `locationName:"skipped" type:"integer"`
// The number of stopped entities.
Stopped *int64 `locationName:"stopped" type:"integer"`
// The total number of entities.
Total *int64 `locationName:"total" type:"integer"`
// The number of warned entities.
Warned *int64 `locationName:"warned" type:"integer"`
}
// String returns the string representation
func (s Counters) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s Counters) GoString() string {
return s.String()
}
// SetErrored sets the Errored field's value.
func (s *Counters) SetErrored(v int64) *Counters {
s.Errored = &v
return s
}
// SetFailed sets the Failed field's value.
func (s *Counters) SetFailed(v int64) *Counters {
s.Failed = &v
return s
}
// SetPassed sets the Passed field's value.
func (s *Counters) SetPassed(v int64) *Counters {
s.Passed = &v
return s
}
// SetSkipped sets the Skipped field's value.
func (s *Counters) SetSkipped(v int64) *Counters {
s.Skipped = &v
return s
}
// SetStopped sets the Stopped field's value.
func (s *Counters) SetStopped(v int64) *Counters {
s.Stopped = &v
return s
}
// SetTotal sets the Total field's value.
func (s *Counters) SetTotal(v int64) *Counters {
s.Total = &v
return s
}
// SetWarned sets the Warned field's value.
func (s *Counters) SetWarned(v int64) *Counters {
s.Warned = &v
return s
}
// Represents a request to the create device pool operation.
// See also, path_to_url
type CreateDevicePoolInput struct {
_ struct{} `type:"structure"`
// The device pool's description.
Description *string `locationName:"description" type:"string"`
// The device pool's name.
//
// Name is a required field
Name *string `locationName:"name" type:"string" required:"true"`
// The ARN of the project for the device pool.
//
// ProjectArn is a required field
ProjectArn *string `locationName:"projectArn" min:"32" type:"string" required:"true"`
// The device pool's rules.
//
// Rules is a required field
Rules []*Rule `locationName:"rules" type:"list" required:"true"`
}
// String returns the string representation
func (s CreateDevicePoolInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CreateDevicePoolInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *CreateDevicePoolInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "CreateDevicePoolInput"}
if s.Name == nil {
invalidParams.Add(request.NewErrParamRequired("Name"))
}
if s.ProjectArn == nil {
invalidParams.Add(request.NewErrParamRequired("ProjectArn"))
}
if s.ProjectArn != nil && len(*s.ProjectArn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("ProjectArn", 32))
}
if s.Rules == nil {
invalidParams.Add(request.NewErrParamRequired("Rules"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetDescription sets the Description field's value.
func (s *CreateDevicePoolInput) SetDescription(v string) *CreateDevicePoolInput {
s.Description = &v
return s
}
// SetName sets the Name field's value.
func (s *CreateDevicePoolInput) SetName(v string) *CreateDevicePoolInput {
s.Name = &v
return s
}
// SetProjectArn sets the ProjectArn field's value.
func (s *CreateDevicePoolInput) SetProjectArn(v string) *CreateDevicePoolInput {
s.ProjectArn = &v
return s
}
// SetRules sets the Rules field's value.
func (s *CreateDevicePoolInput) SetRules(v []*Rule) *CreateDevicePoolInput {
s.Rules = v
return s
}
// Represents the result of a create device pool request.
// See also, path_to_url
type CreateDevicePoolOutput struct {
_ struct{} `type:"structure"`
// The newly created device pool.
DevicePool *DevicePool `locationName:"devicePool" type:"structure"`
}
// String returns the string representation
func (s CreateDevicePoolOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CreateDevicePoolOutput) GoString() string {
return s.String()
}
// SetDevicePool sets the DevicePool field's value.
func (s *CreateDevicePoolOutput) SetDevicePool(v *DevicePool) *CreateDevicePoolOutput {
s.DevicePool = v
return s
}
// See also, path_to_url
type CreateNetworkProfileInput struct {
_ struct{} `type:"structure"`
// The description of the network profile.
Description *string `locationName:"description" type:"string"`
// The data throughput rate in bits per second, as an integer from 0 to 104857600.
DownlinkBandwidthBits *int64 `locationName:"downlinkBandwidthBits" type:"long"`
// Delay time for all packets to destination in milliseconds as an integer from
// 0 to 2000.
DownlinkDelayMs *int64 `locationName:"downlinkDelayMs" type:"long"`
// Time variation in the delay of received packets in milliseconds as an integer
// from 0 to 2000.
DownlinkJitterMs *int64 `locationName:"downlinkJitterMs" type:"long"`
// Proportion of received packets that fail to arrive from 0 to 100 percent.
DownlinkLossPercent *int64 `locationName:"downlinkLossPercent" type:"integer"`
// The name you wish to specify for the new network profile.
//
// Name is a required field
Name *string `locationName:"name" type:"string" required:"true"`
// The Amazon Resource Name (ARN) of the project for which you want to create
// a network profile.
//
// ProjectArn is a required field
ProjectArn *string `locationName:"projectArn" min:"32" type:"string" required:"true"`
// The type of network profile you wish to create. Valid values are listed below.
Type *string `locationName:"type" type:"string" enum:"NetworkProfileType"`
// The data throughput rate in bits per second, as an integer from 0 to 104857600.
UplinkBandwidthBits *int64 `locationName:"uplinkBandwidthBits" type:"long"`
// Delay time for all packets to destination in milliseconds as an integer from
// 0 to 2000.
UplinkDelayMs *int64 `locationName:"uplinkDelayMs" type:"long"`
// Time variation in the delay of received packets in milliseconds as an integer
// from 0 to 2000.
UplinkJitterMs *int64 `locationName:"uplinkJitterMs" type:"long"`
// Proportion of transmitted packets that fail to arrive from 0 to 100 percent.
UplinkLossPercent *int64 `locationName:"uplinkLossPercent" type:"integer"`
}
// String returns the string representation
func (s CreateNetworkProfileInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CreateNetworkProfileInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *CreateNetworkProfileInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "CreateNetworkProfileInput"}
if s.Name == nil {
invalidParams.Add(request.NewErrParamRequired("Name"))
}
if s.ProjectArn == nil {
invalidParams.Add(request.NewErrParamRequired("ProjectArn"))
}
if s.ProjectArn != nil && len(*s.ProjectArn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("ProjectArn", 32))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetDescription sets the Description field's value.
func (s *CreateNetworkProfileInput) SetDescription(v string) *CreateNetworkProfileInput {
s.Description = &v
return s
}
// SetDownlinkBandwidthBits sets the DownlinkBandwidthBits field's value.
func (s *CreateNetworkProfileInput) SetDownlinkBandwidthBits(v int64) *CreateNetworkProfileInput {
s.DownlinkBandwidthBits = &v
return s
}
// SetDownlinkDelayMs sets the DownlinkDelayMs field's value.
func (s *CreateNetworkProfileInput) SetDownlinkDelayMs(v int64) *CreateNetworkProfileInput {
s.DownlinkDelayMs = &v
return s
}
// SetDownlinkJitterMs sets the DownlinkJitterMs field's value.
func (s *CreateNetworkProfileInput) SetDownlinkJitterMs(v int64) *CreateNetworkProfileInput {
s.DownlinkJitterMs = &v
return s
}
// SetDownlinkLossPercent sets the DownlinkLossPercent field's value.
func (s *CreateNetworkProfileInput) SetDownlinkLossPercent(v int64) *CreateNetworkProfileInput {
s.DownlinkLossPercent = &v
return s
}
// SetName sets the Name field's value.
func (s *CreateNetworkProfileInput) SetName(v string) *CreateNetworkProfileInput {
s.Name = &v
return s
}
// SetProjectArn sets the ProjectArn field's value.
func (s *CreateNetworkProfileInput) SetProjectArn(v string) *CreateNetworkProfileInput {
s.ProjectArn = &v
return s
}
// SetType sets the Type field's value.
func (s *CreateNetworkProfileInput) SetType(v string) *CreateNetworkProfileInput {
s.Type = &v
return s
}
// SetUplinkBandwidthBits sets the UplinkBandwidthBits field's value.
func (s *CreateNetworkProfileInput) SetUplinkBandwidthBits(v int64) *CreateNetworkProfileInput {
s.UplinkBandwidthBits = &v
return s
}
// SetUplinkDelayMs sets the UplinkDelayMs field's value.
func (s *CreateNetworkProfileInput) SetUplinkDelayMs(v int64) *CreateNetworkProfileInput {
s.UplinkDelayMs = &v
return s
}
// SetUplinkJitterMs sets the UplinkJitterMs field's value.
func (s *CreateNetworkProfileInput) SetUplinkJitterMs(v int64) *CreateNetworkProfileInput {
s.UplinkJitterMs = &v
return s
}
// SetUplinkLossPercent sets the UplinkLossPercent field's value.
func (s *CreateNetworkProfileInput) SetUplinkLossPercent(v int64) *CreateNetworkProfileInput {
s.UplinkLossPercent = &v
return s
}
// See also, path_to_url
type CreateNetworkProfileOutput struct {
_ struct{} `type:"structure"`
// The network profile that is returned by the create network profile request.
NetworkProfile *NetworkProfile `locationName:"networkProfile" type:"structure"`
}
// String returns the string representation
func (s CreateNetworkProfileOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CreateNetworkProfileOutput) GoString() string {
return s.String()
}
// SetNetworkProfile sets the NetworkProfile field's value.
func (s *CreateNetworkProfileOutput) SetNetworkProfile(v *NetworkProfile) *CreateNetworkProfileOutput {
s.NetworkProfile = v
return s
}
// Represents a request to the create project operation.
// See also, path_to_url
type CreateProjectInput struct {
_ struct{} `type:"structure"`
// Sets the execution timeout value (in minutes) for a project. All test runs
// in this project will use the specified execution timeout value unless overridden
// when scheduling a run.
DefaultJobTimeoutMinutes *int64 `locationName:"defaultJobTimeoutMinutes" type:"integer"`
// The project's name.
//
// Name is a required field
Name *string `locationName:"name" type:"string" required:"true"`
}
// String returns the string representation
func (s CreateProjectInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CreateProjectInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *CreateProjectInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "CreateProjectInput"}
if s.Name == nil {
invalidParams.Add(request.NewErrParamRequired("Name"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetDefaultJobTimeoutMinutes sets the DefaultJobTimeoutMinutes field's value.
func (s *CreateProjectInput) SetDefaultJobTimeoutMinutes(v int64) *CreateProjectInput {
s.DefaultJobTimeoutMinutes = &v
return s
}
// SetName sets the Name field's value.
func (s *CreateProjectInput) SetName(v string) *CreateProjectInput {
s.Name = &v
return s
}
// Represents the result of a create project request.
// See also, path_to_url
type CreateProjectOutput struct {
_ struct{} `type:"structure"`
// The newly created project.
Project *Project `locationName:"project" type:"structure"`
}
// String returns the string representation
func (s CreateProjectOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CreateProjectOutput) GoString() string {
return s.String()
}
// SetProject sets the Project field's value.
func (s *CreateProjectOutput) SetProject(v *Project) *CreateProjectOutput {
s.Project = v
return s
}
// Creates the configuration settings for a remote access session, including
// the device model and type.
// See also, path_to_url
type CreateRemoteAccessSessionConfiguration struct {
_ struct{} `type:"structure"`
// Returns the billing method for purposes of configuring a remote access session.
BillingMethod *string `locationName:"billingMethod" type:"string" enum:"BillingMethod"`
}
// String returns the string representation
func (s CreateRemoteAccessSessionConfiguration) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CreateRemoteAccessSessionConfiguration) GoString() string {
return s.String()
}
// SetBillingMethod sets the BillingMethod field's value.
func (s *CreateRemoteAccessSessionConfiguration) SetBillingMethod(v string) *CreateRemoteAccessSessionConfiguration {
s.BillingMethod = &v
return s
}
// Creates and submits a request to start a remote access session.
// See also, path_to_url
type CreateRemoteAccessSessionInput struct {
_ struct{} `type:"structure"`
// Unique identifier for the client. If you want access to multiple devices
// on the same client, you should pass the same clientId value in each call
// to CreateRemoteAccessSession. This is required only if remoteDebugEnabled
// is set to true true.
ClientId *string `locationName:"clientId" type:"string"`
// The configuration information for the remote access session request.
Configuration *CreateRemoteAccessSessionConfiguration `locationName:"configuration" type:"structure"`
// The Amazon Resource Name (ARN) of the device for which you want to create
// a remote access session.
//
// DeviceArn is a required field
DeviceArn *string `locationName:"deviceArn" min:"32" type:"string" required:"true"`
// The name of the remote access session that you wish to create.
Name *string `locationName:"name" type:"string"`
// The Amazon Resource Name (ARN) of the project for which you want to create
// a remote access session.
//
// ProjectArn is a required field
ProjectArn *string `locationName:"projectArn" min:"32" type:"string" required:"true"`
// Set to true if you want to access devices remotely for debugging in your
// remote access session.
RemoteDebugEnabled *bool `locationName:"remoteDebugEnabled" type:"boolean"`
// The public key of the ssh key pair you want to use for connecting to remote
// devices in your remote debugging session. This is only required if remoteDebugEnabled
// is set to true.
SshPublicKey *string `locationName:"sshPublicKey" type:"string"`
}
// String returns the string representation
func (s CreateRemoteAccessSessionInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CreateRemoteAccessSessionInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *CreateRemoteAccessSessionInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "CreateRemoteAccessSessionInput"}
if s.DeviceArn == nil {
invalidParams.Add(request.NewErrParamRequired("DeviceArn"))
}
if s.DeviceArn != nil && len(*s.DeviceArn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("DeviceArn", 32))
}
if s.ProjectArn == nil {
invalidParams.Add(request.NewErrParamRequired("ProjectArn"))
}
if s.ProjectArn != nil && len(*s.ProjectArn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("ProjectArn", 32))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetClientId sets the ClientId field's value.
func (s *CreateRemoteAccessSessionInput) SetClientId(v string) *CreateRemoteAccessSessionInput {
s.ClientId = &v
return s
}
// SetConfiguration sets the Configuration field's value.
func (s *CreateRemoteAccessSessionInput) SetConfiguration(v *CreateRemoteAccessSessionConfiguration) *CreateRemoteAccessSessionInput {
s.Configuration = v
return s
}
// SetDeviceArn sets the DeviceArn field's value.
func (s *CreateRemoteAccessSessionInput) SetDeviceArn(v string) *CreateRemoteAccessSessionInput {
s.DeviceArn = &v
return s
}
// SetName sets the Name field's value.
func (s *CreateRemoteAccessSessionInput) SetName(v string) *CreateRemoteAccessSessionInput {
s.Name = &v
return s
}
// SetProjectArn sets the ProjectArn field's value.
func (s *CreateRemoteAccessSessionInput) SetProjectArn(v string) *CreateRemoteAccessSessionInput {
s.ProjectArn = &v
return s
}
// SetRemoteDebugEnabled sets the RemoteDebugEnabled field's value.
func (s *CreateRemoteAccessSessionInput) SetRemoteDebugEnabled(v bool) *CreateRemoteAccessSessionInput {
s.RemoteDebugEnabled = &v
return s
}
// SetSshPublicKey sets the SshPublicKey field's value.
func (s *CreateRemoteAccessSessionInput) SetSshPublicKey(v string) *CreateRemoteAccessSessionInput {
s.SshPublicKey = &v
return s
}
// Represents the server response from a request to create a remote access session.
// See also, path_to_url
type CreateRemoteAccessSessionOutput struct {
_ struct{} `type:"structure"`
// A container that describes the remote access session when the request to
// create a remote access session is sent.
RemoteAccessSession *RemoteAccessSession `locationName:"remoteAccessSession" type:"structure"`
}
// String returns the string representation
func (s CreateRemoteAccessSessionOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CreateRemoteAccessSessionOutput) GoString() string {
return s.String()
}
// SetRemoteAccessSession sets the RemoteAccessSession field's value.
func (s *CreateRemoteAccessSessionOutput) SetRemoteAccessSession(v *RemoteAccessSession) *CreateRemoteAccessSessionOutput {
s.RemoteAccessSession = v
return s
}
// Represents a request to the create upload operation.
// See also, path_to_url
type CreateUploadInput struct {
_ struct{} `type:"structure"`
// The upload's content type (for example, "application/octet-stream").
ContentType *string `locationName:"contentType" type:"string"`
// The upload's file name. The name should not contain the '/' character. If
// uploading an iOS app, the file name needs to end with the .ipa extension.
// If uploading an Android app, the file name needs to end with the .apk extension.
// For all others, the file name must end with the .zip file extension.
//
// Name is a required field
Name *string `locationName:"name" type:"string" required:"true"`
// The ARN of the project for the upload.
//
// ProjectArn is a required field
ProjectArn *string `locationName:"projectArn" min:"32" type:"string" required:"true"`
// The upload's upload type.
//
// Must be one of the following values:
//
// * ANDROID_APP: An Android upload.
//
// * IOS_APP: An iOS upload.
//
// * WEB_APP: A web appliction upload.
//
// * EXTERNAL_DATA: An external data upload.
//
// * APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.
//
// * APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package
// upload.
//
// * APPIUM_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
//
// * APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package
// upload.
//
// * APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package
// upload.
//
// * APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
//
// * CALABASH_TEST_PACKAGE: A Calabash test package upload.
//
// * INSTRUMENTATION_TEST_PACKAGE: An instrumentation upload.
//
// * UIAUTOMATION_TEST_PACKAGE: A uiautomation test package upload.
//
// * UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package upload.
//
// * XCTEST_TEST_PACKAGE: An XCode test package upload.
//
// * XCTEST_UI_TEST_PACKAGE: An XCode UI test package upload.
//
// Note If you call CreateUpload with WEB_APP specified, AWS Device Farm throws
// an ArgumentException error.
//
// Type is a required field
Type *string `locationName:"type" type:"string" required:"true" enum:"UploadType"`
}
// String returns the string representation
func (s CreateUploadInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CreateUploadInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *CreateUploadInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "CreateUploadInput"}
if s.Name == nil {
invalidParams.Add(request.NewErrParamRequired("Name"))
}
if s.ProjectArn == nil {
invalidParams.Add(request.NewErrParamRequired("ProjectArn"))
}
if s.ProjectArn != nil && len(*s.ProjectArn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("ProjectArn", 32))
}
if s.Type == nil {
invalidParams.Add(request.NewErrParamRequired("Type"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetContentType sets the ContentType field's value.
func (s *CreateUploadInput) SetContentType(v string) *CreateUploadInput {
s.ContentType = &v
return s
}
// SetName sets the Name field's value.
func (s *CreateUploadInput) SetName(v string) *CreateUploadInput {
s.Name = &v
return s
}
// SetProjectArn sets the ProjectArn field's value.
func (s *CreateUploadInput) SetProjectArn(v string) *CreateUploadInput {
s.ProjectArn = &v
return s
}
// SetType sets the Type field's value.
func (s *CreateUploadInput) SetType(v string) *CreateUploadInput {
s.Type = &v
return s
}
// Represents the result of a create upload request.
// See also, path_to_url
type CreateUploadOutput struct {
_ struct{} `type:"structure"`
// The newly created upload.
Upload *Upload `locationName:"upload" type:"structure"`
}
// String returns the string representation
func (s CreateUploadOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CreateUploadOutput) GoString() string {
return s.String()
}
// SetUpload sets the Upload field's value.
func (s *CreateUploadOutput) SetUpload(v *Upload) *CreateUploadOutput {
s.Upload = v
return s
}
// A JSON object specifying the paths where the artifacts generated by the customer's
// tests, on the device or in the test environment, will be pulled from.
//
// Specify deviceHostPaths and optionally specify either iosPaths or androidPaths.
//
// For web app tests, you can specify both iosPaths and androidPaths.
// See also, path_to_url
type CustomerArtifactPaths struct {
_ struct{} `type:"structure"`
// Comma-separated list of paths on the Android device where the artifacts generated
// by the customer's tests will be pulled from.
AndroidPaths []*string `locationName:"androidPaths" type:"list"`
// Comma-separated list of paths in the test execution environment where the
// artifacts generated by the customer's tests will be pulled from.
DeviceHostPaths []*string `locationName:"deviceHostPaths" type:"list"`
// Comma-separated list of paths on the iOS device where the artifacts generated
// by the customer's tests will be pulled from.
IosPaths []*string `locationName:"iosPaths" type:"list"`
}
// String returns the string representation
func (s CustomerArtifactPaths) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s CustomerArtifactPaths) GoString() string {
return s.String()
}
// SetAndroidPaths sets the AndroidPaths field's value.
func (s *CustomerArtifactPaths) SetAndroidPaths(v []*string) *CustomerArtifactPaths {
s.AndroidPaths = v
return s
}
// SetDeviceHostPaths sets the DeviceHostPaths field's value.
func (s *CustomerArtifactPaths) SetDeviceHostPaths(v []*string) *CustomerArtifactPaths {
s.DeviceHostPaths = v
return s
}
// SetIosPaths sets the IosPaths field's value.
func (s *CustomerArtifactPaths) SetIosPaths(v []*string) *CustomerArtifactPaths {
s.IosPaths = v
return s
}
// Represents a request to the delete device pool operation.
// See also, path_to_url
type DeleteDevicePoolInput struct {
_ struct{} `type:"structure"`
// Represents the Amazon Resource Name (ARN) of the Device Farm device pool
// you wish to delete.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
}
// String returns the string representation
func (s DeleteDevicePoolInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeleteDevicePoolInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *DeleteDevicePoolInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "DeleteDevicePoolInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *DeleteDevicePoolInput) SetArn(v string) *DeleteDevicePoolInput {
s.Arn = &v
return s
}
// Represents the result of a delete device pool request.
// See also, path_to_url
type DeleteDevicePoolOutput struct {
_ struct{} `type:"structure"`
}
// String returns the string representation
func (s DeleteDevicePoolOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeleteDevicePoolOutput) GoString() string {
return s.String()
}
// See also, path_to_url
type DeleteNetworkProfileInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the network profile you want to delete.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
}
// String returns the string representation
func (s DeleteNetworkProfileInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeleteNetworkProfileInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *DeleteNetworkProfileInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "DeleteNetworkProfileInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *DeleteNetworkProfileInput) SetArn(v string) *DeleteNetworkProfileInput {
s.Arn = &v
return s
}
// See also, path_to_url
type DeleteNetworkProfileOutput struct {
_ struct{} `type:"structure"`
}
// String returns the string representation
func (s DeleteNetworkProfileOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeleteNetworkProfileOutput) GoString() string {
return s.String()
}
// Represents a request to the delete project operation.
// See also, path_to_url
type DeleteProjectInput struct {
_ struct{} `type:"structure"`
// Represents the Amazon Resource Name (ARN) of the Device Farm project you
// wish to delete.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
}
// String returns the string representation
func (s DeleteProjectInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeleteProjectInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *DeleteProjectInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "DeleteProjectInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *DeleteProjectInput) SetArn(v string) *DeleteProjectInput {
s.Arn = &v
return s
}
// Represents the result of a delete project request.
// See also, path_to_url
type DeleteProjectOutput struct {
_ struct{} `type:"structure"`
}
// String returns the string representation
func (s DeleteProjectOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeleteProjectOutput) GoString() string {
return s.String()
}
// Represents the request to delete the specified remote access session.
// See also, path_to_url
type DeleteRemoteAccessSessionInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the sesssion for which you want to delete
// remote access.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
}
// String returns the string representation
func (s DeleteRemoteAccessSessionInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeleteRemoteAccessSessionInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *DeleteRemoteAccessSessionInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "DeleteRemoteAccessSessionInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *DeleteRemoteAccessSessionInput) SetArn(v string) *DeleteRemoteAccessSessionInput {
s.Arn = &v
return s
}
// The response from the server when a request is made to delete the remote
// access session.
// See also, path_to_url
type DeleteRemoteAccessSessionOutput struct {
_ struct{} `type:"structure"`
}
// String returns the string representation
func (s DeleteRemoteAccessSessionOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeleteRemoteAccessSessionOutput) GoString() string {
return s.String()
}
// Represents a request to the delete run operation.
// See also, path_to_url
type DeleteRunInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) for the run you wish to delete.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
}
// String returns the string representation
func (s DeleteRunInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeleteRunInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *DeleteRunInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "DeleteRunInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *DeleteRunInput) SetArn(v string) *DeleteRunInput {
s.Arn = &v
return s
}
// Represents the result of a delete run request.
// See also, path_to_url
type DeleteRunOutput struct {
_ struct{} `type:"structure"`
}
// String returns the string representation
func (s DeleteRunOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeleteRunOutput) GoString() string {
return s.String()
}
// Represents a request to the delete upload operation.
// See also, path_to_url
type DeleteUploadInput struct {
_ struct{} `type:"structure"`
// Represents the Amazon Resource Name (ARN) of the Device Farm upload you wish
// to delete.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
}
// String returns the string representation
func (s DeleteUploadInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeleteUploadInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *DeleteUploadInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "DeleteUploadInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *DeleteUploadInput) SetArn(v string) *DeleteUploadInput {
s.Arn = &v
return s
}
// Represents the result of a delete upload request.
// See also, path_to_url
type DeleteUploadOutput struct {
_ struct{} `type:"structure"`
}
// String returns the string representation
func (s DeleteUploadOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeleteUploadOutput) GoString() string {
return s.String()
}
// Represents a device type that an app is tested against.
// See also, path_to_url
type Device struct {
_ struct{} `type:"structure"`
// The device's ARN.
Arn *string `locationName:"arn" min:"32" type:"string"`
// The device's carrier.
Carrier *string `locationName:"carrier" type:"string"`
// Information about the device's CPU.
Cpu *CPU `locationName:"cpu" type:"structure"`
// The name of the fleet to which this device belongs.
FleetName *string `locationName:"fleetName" type:"string"`
// The type of fleet to which this device belongs. Possible values for fleet
// type are PRIVATE and PUBLIC.
FleetType *string `locationName:"fleetType" type:"string"`
// The device's form factor.
//
// Allowed values include:
//
// * PHONE: The phone form factor.
//
// * TABLET: The tablet form factor.
FormFactor *string `locationName:"formFactor" type:"string" enum:"DeviceFormFactor"`
// The device's heap size, expressed in bytes.
HeapSize *int64 `locationName:"heapSize" type:"long"`
// The device's image name.
Image *string `locationName:"image" type:"string"`
// The device's manufacturer name.
Manufacturer *string `locationName:"manufacturer" type:"string"`
// The device's total memory size, expressed in bytes.
Memory *int64 `locationName:"memory" type:"long"`
// The device's model name.
Model *string `locationName:"model" type:"string"`
// The device's display name.
Name *string `locationName:"name" type:"string"`
// The device's operating system type.
Os *string `locationName:"os" type:"string"`
// The device's platform.
//
// Allowed values include:
//
// * ANDROID: The Android platform.
//
// * IOS: The iOS platform.
Platform *string `locationName:"platform" type:"string" enum:"DevicePlatform"`
// The device's radio.
Radio *string `locationName:"radio" type:"string"`
// Specifies whether remote access has been enabled for the specified device.
RemoteAccessEnabled *bool `locationName:"remoteAccessEnabled" type:"boolean"`
// This flag is set to true if remote debugging is enabled for the device.
RemoteDebugEnabled *bool `locationName:"remoteDebugEnabled" type:"boolean"`
// The resolution of the device.
Resolution *Resolution `locationName:"resolution" type:"structure"`
}
// String returns the string representation
func (s Device) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s Device) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *Device) SetArn(v string) *Device {
s.Arn = &v
return s
}
// SetCarrier sets the Carrier field's value.
func (s *Device) SetCarrier(v string) *Device {
s.Carrier = &v
return s
}
// SetCpu sets the Cpu field's value.
func (s *Device) SetCpu(v *CPU) *Device {
s.Cpu = v
return s
}
// SetFleetName sets the FleetName field's value.
func (s *Device) SetFleetName(v string) *Device {
s.FleetName = &v
return s
}
// SetFleetType sets the FleetType field's value.
func (s *Device) SetFleetType(v string) *Device {
s.FleetType = &v
return s
}
// SetFormFactor sets the FormFactor field's value.
func (s *Device) SetFormFactor(v string) *Device {
s.FormFactor = &v
return s
}
// SetHeapSize sets the HeapSize field's value.
func (s *Device) SetHeapSize(v int64) *Device {
s.HeapSize = &v
return s
}
// SetImage sets the Image field's value.
func (s *Device) SetImage(v string) *Device {
s.Image = &v
return s
}
// SetManufacturer sets the Manufacturer field's value.
func (s *Device) SetManufacturer(v string) *Device {
s.Manufacturer = &v
return s
}
// SetMemory sets the Memory field's value.
func (s *Device) SetMemory(v int64) *Device {
s.Memory = &v
return s
}
// SetModel sets the Model field's value.
func (s *Device) SetModel(v string) *Device {
s.Model = &v
return s
}
// SetName sets the Name field's value.
func (s *Device) SetName(v string) *Device {
s.Name = &v
return s
}
// SetOs sets the Os field's value.
func (s *Device) SetOs(v string) *Device {
s.Os = &v
return s
}
// SetPlatform sets the Platform field's value.
func (s *Device) SetPlatform(v string) *Device {
s.Platform = &v
return s
}
// SetRadio sets the Radio field's value.
func (s *Device) SetRadio(v string) *Device {
s.Radio = &v
return s
}
// SetRemoteAccessEnabled sets the RemoteAccessEnabled field's value.
func (s *Device) SetRemoteAccessEnabled(v bool) *Device {
s.RemoteAccessEnabled = &v
return s
}
// SetRemoteDebugEnabled sets the RemoteDebugEnabled field's value.
func (s *Device) SetRemoteDebugEnabled(v bool) *Device {
s.RemoteDebugEnabled = &v
return s
}
// SetResolution sets the Resolution field's value.
func (s *Device) SetResolution(v *Resolution) *Device {
s.Resolution = v
return s
}
// Represents the total (metered or unmetered) minutes used by the resource
// to run tests. Contains the sum of minutes consumed by all children.
// See also, path_to_url
type DeviceMinutes struct {
_ struct{} `type:"structure"`
// When specified, represents only the sum of metered minutes used by the resource
// to run tests.
Metered *float64 `locationName:"metered" type:"double"`
// When specified, represents the total minutes used by the resource to run
// tests.
Total *float64 `locationName:"total" type:"double"`
// When specified, represents only the sum of unmetered minutes used by the
// resource to run tests.
Unmetered *float64 `locationName:"unmetered" type:"double"`
}
// String returns the string representation
func (s DeviceMinutes) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DeviceMinutes) GoString() string {
return s.String()
}
// SetMetered sets the Metered field's value.
func (s *DeviceMinutes) SetMetered(v float64) *DeviceMinutes {
s.Metered = &v
return s
}
// SetTotal sets the Total field's value.
func (s *DeviceMinutes) SetTotal(v float64) *DeviceMinutes {
s.Total = &v
return s
}
// SetUnmetered sets the Unmetered field's value.
func (s *DeviceMinutes) SetUnmetered(v float64) *DeviceMinutes {
s.Unmetered = &v
return s
}
// Represents a collection of device types.
// See also, path_to_url
type DevicePool struct {
_ struct{} `type:"structure"`
// The device pool's ARN.
Arn *string `locationName:"arn" min:"32" type:"string"`
// The device pool's description.
Description *string `locationName:"description" type:"string"`
// The device pool's name.
Name *string `locationName:"name" type:"string"`
// Information about the device pool's rules.
Rules []*Rule `locationName:"rules" type:"list"`
// The device pool's type.
//
// Allowed values include:
//
// * CURATED: A device pool that is created and managed by AWS Device Farm.
//
// * PRIVATE: A device pool that is created and managed by the device pool
// developer.
Type *string `locationName:"type" type:"string" enum:"DevicePoolType"`
}
// String returns the string representation
func (s DevicePool) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DevicePool) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *DevicePool) SetArn(v string) *DevicePool {
s.Arn = &v
return s
}
// SetDescription sets the Description field's value.
func (s *DevicePool) SetDescription(v string) *DevicePool {
s.Description = &v
return s
}
// SetName sets the Name field's value.
func (s *DevicePool) SetName(v string) *DevicePool {
s.Name = &v
return s
}
// SetRules sets the Rules field's value.
func (s *DevicePool) SetRules(v []*Rule) *DevicePool {
s.Rules = v
return s
}
// SetType sets the Type field's value.
func (s *DevicePool) SetType(v string) *DevicePool {
s.Type = &v
return s
}
// Represents a device pool compatibility result.
// See also, path_to_url
type DevicePoolCompatibilityResult struct {
_ struct{} `type:"structure"`
// Whether the result was compatible with the device pool.
Compatible *bool `locationName:"compatible" type:"boolean"`
// The device (phone or tablet) that you wish to return information about.
Device *Device `locationName:"device" type:"structure"`
// Information about the compatibility.
IncompatibilityMessages []*IncompatibilityMessage `locationName:"incompatibilityMessages" type:"list"`
}
// String returns the string representation
func (s DevicePoolCompatibilityResult) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s DevicePoolCompatibilityResult) GoString() string {
return s.String()
}
// SetCompatible sets the Compatible field's value.
func (s *DevicePoolCompatibilityResult) SetCompatible(v bool) *DevicePoolCompatibilityResult {
s.Compatible = &v
return s
}
// SetDevice sets the Device field's value.
func (s *DevicePoolCompatibilityResult) SetDevice(v *Device) *DevicePoolCompatibilityResult {
s.Device = v
return s
}
// SetIncompatibilityMessages sets the IncompatibilityMessages field's value.
func (s *DevicePoolCompatibilityResult) SetIncompatibilityMessages(v []*IncompatibilityMessage) *DevicePoolCompatibilityResult {
s.IncompatibilityMessages = v
return s
}
// Represents configuration information about a test run, such as the execution
// timeout (in minutes).
// See also, path_to_url
type ExecutionConfiguration struct {
_ struct{} `type:"structure"`
// True if account cleanup is enabled at the beginning of the test; otherwise,
// false.
AccountsCleanup *bool `locationName:"accountsCleanup" type:"boolean"`
// True if app package cleanup is enabled at the beginning of the test; otherwise,
// false.
AppPackagesCleanup *bool `locationName:"appPackagesCleanup" type:"boolean"`
// The number of minutes a test run will execute before it times out.
JobTimeoutMinutes *int64 `locationName:"jobTimeoutMinutes" type:"integer"`
}
// String returns the string representation
func (s ExecutionConfiguration) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ExecutionConfiguration) GoString() string {
return s.String()
}
// SetAccountsCleanup sets the AccountsCleanup field's value.
func (s *ExecutionConfiguration) SetAccountsCleanup(v bool) *ExecutionConfiguration {
s.AccountsCleanup = &v
return s
}
// SetAppPackagesCleanup sets the AppPackagesCleanup field's value.
func (s *ExecutionConfiguration) SetAppPackagesCleanup(v bool) *ExecutionConfiguration {
s.AppPackagesCleanup = &v
return s
}
// SetJobTimeoutMinutes sets the JobTimeoutMinutes field's value.
func (s *ExecutionConfiguration) SetJobTimeoutMinutes(v int64) *ExecutionConfiguration {
s.JobTimeoutMinutes = &v
return s
}
// Represents the request sent to retrieve the account settings.
// See also, path_to_url
type GetAccountSettingsInput struct {
_ struct{} `type:"structure"`
}
// String returns the string representation
func (s GetAccountSettingsInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s GetAccountSettingsInput) GoString() string {
return s.String()
}
// Represents the account settings return values from the GetAccountSettings
// request.
// See also, path_to_url
type GetAccountSettingsOutput struct {
_ struct{} `type:"structure"`
// The account settings.
AccountSettings *AccountSettings `locationName:"accountSettings" type:"structure"`
}
// String returns the string representation
func (s GetAccountSettingsOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s GetAccountSettingsOutput) GoString() string {
return s.String()
}
// SetAccountSettings sets the AccountSettings field's value.
func (s *GetAccountSettingsOutput) SetAccountSettings(v *AccountSettings) *GetAccountSettingsOutput {
s.AccountSettings = v
return s
}
// Represents a request to the get device request.
// See also, path_to_url
type GetDeviceInput struct {
_ struct{} `type:"structure"`
// The device type's ARN.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
}
// String returns the string representation
func (s GetDeviceInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s GetDeviceInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *GetDeviceInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "GetDeviceInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *GetDeviceInput) SetArn(v string) *GetDeviceInput {
s.Arn = &v
return s
}
// Represents the result of a get device request.
// See also, path_to_url
type GetDeviceOutput struct {
_ struct{} `type:"structure"`
// An object containing information about the requested device.
Device *Device `locationName:"device" type:"structure"`
}
// String returns the string representation
func (s GetDeviceOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s GetDeviceOutput) GoString() string {
return s.String()
}
// SetDevice sets the Device field's value.
func (s *GetDeviceOutput) SetDevice(v *Device) *GetDeviceOutput {
s.Device = v
return s
}
// Represents a request to the get device pool compatibility operation.
// See also, path_to_url
type GetDevicePoolCompatibilityInput struct {
_ struct{} `type:"structure"`
// The ARN of the app that is associated with the specified device pool.
AppArn *string `locationName:"appArn" min:"32" type:"string"`
// The device pool's ARN.
//
// DevicePoolArn is a required field
DevicePoolArn *string `locationName:"devicePoolArn" min:"32" type:"string" required:"true"`
// Information about the uploaded test to be run against the device pool.
Test *ScheduleRunTest `locationName:"test" type:"structure"`
// The test type for the specified device pool.
//
// Allowed values include the following:
//
// * BUILTIN_FUZZ: The built-in fuzz type.
//
// * BUILTIN_EXPLORER: For Android, an app explorer that will traverse an
// Android app, interacting with it and capturing screenshots at the same
// time.
//
// * APPIUM_JAVA_JUNIT: The Appium Java JUnit type.
//
// * APPIUM_JAVA_TESTNG: The Appium Java TestNG type.
//
// * APPIUM_PYTHON: The Appium Python type.
//
// * APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.
//
// * APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.
//
// * APPIUM_WEB_PYTHON: The Appium Python type for Web apps.
//
// * CALABASH: The Calabash type.
//
// * INSTRUMENTATION: The Instrumentation type.
//
// * UIAUTOMATION: The uiautomation type.
//
// * UIAUTOMATOR: The uiautomator type.
//
// * XCTEST: The XCode test type.
//
// * XCTEST_UI: The XCode UI test type.
TestType *string `locationName:"testType" type:"string" enum:"TestType"`
}
// String returns the string representation
func (s GetDevicePoolCompatibilityInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s GetDevicePoolCompatibilityInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *GetDevicePoolCompatibilityInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "GetDevicePoolCompatibilityInput"}
if s.AppArn != nil && len(*s.AppArn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("AppArn", 32))
}
if s.DevicePoolArn == nil {
invalidParams.Add(request.NewErrParamRequired("DevicePoolArn"))
}
if s.DevicePoolArn != nil && len(*s.DevicePoolArn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("DevicePoolArn", 32))
}
if s.Test != nil {
if err := s.Test.Validate(); err != nil {
invalidParams.AddNested("Test", err.(request.ErrInvalidParams))
}
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetAppArn sets the AppArn field's value.
func (s *GetDevicePoolCompatibilityInput) SetAppArn(v string) *GetDevicePoolCompatibilityInput {
s.AppArn = &v
return s
}
// SetDevicePoolArn sets the DevicePoolArn field's value.
func (s *GetDevicePoolCompatibilityInput) SetDevicePoolArn(v string) *GetDevicePoolCompatibilityInput {
s.DevicePoolArn = &v
return s
}
// SetTest sets the Test field's value.
func (s *GetDevicePoolCompatibilityInput) SetTest(v *ScheduleRunTest) *GetDevicePoolCompatibilityInput {
s.Test = v
return s
}
// SetTestType sets the TestType field's value.
func (s *GetDevicePoolCompatibilityInput) SetTestType(v string) *GetDevicePoolCompatibilityInput {
s.TestType = &v
return s
}
// Represents the result of describe device pool compatibility request.
// See also, path_to_url
type GetDevicePoolCompatibilityOutput struct {
_ struct{} `type:"structure"`
// Information about compatible devices.
CompatibleDevices []*DevicePoolCompatibilityResult `locationName:"compatibleDevices" type:"list"`
// Information about incompatible devices.
IncompatibleDevices []*DevicePoolCompatibilityResult `locationName:"incompatibleDevices" type:"list"`
}
// String returns the string representation
func (s GetDevicePoolCompatibilityOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s GetDevicePoolCompatibilityOutput) GoString() string {
return s.String()
}
// SetCompatibleDevices sets the CompatibleDevices field's value.
func (s *GetDevicePoolCompatibilityOutput) SetCompatibleDevices(v []*DevicePoolCompatibilityResult) *GetDevicePoolCompatibilityOutput {
s.CompatibleDevices = v
return s
}
// SetIncompatibleDevices sets the IncompatibleDevices field's value.
func (s *GetDevicePoolCompatibilityOutput) SetIncompatibleDevices(v []*DevicePoolCompatibilityResult) *GetDevicePoolCompatibilityOutput {
s.IncompatibleDevices = v
return s
}
// Represents a request to the get device pool operation.
// See also, path_to_url
type GetDevicePoolInput struct {
_ struct{} `type:"structure"`
// The device pool's ARN.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
}
// String returns the string representation
func (s GetDevicePoolInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s GetDevicePoolInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *GetDevicePoolInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "GetDevicePoolInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *GetDevicePoolInput) SetArn(v string) *GetDevicePoolInput {
s.Arn = &v
return s
}
// Represents the result of a get device pool request.
// See also, path_to_url
type GetDevicePoolOutput struct {
_ struct{} `type:"structure"`
// An object containing information about the requested device pool.
DevicePool *DevicePool `locationName:"devicePool" type:"structure"`
}
// String returns the string representation
func (s GetDevicePoolOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s GetDevicePoolOutput) GoString() string {
return s.String()
}
// SetDevicePool sets the DevicePool field's value.
func (s *GetDevicePoolOutput) SetDevicePool(v *DevicePool) *GetDevicePoolOutput {
s.DevicePool = v
return s
}
// Represents a request to the get job operation.
// See also, path_to_url
type GetJobInput struct {
_ struct{} `type:"structure"`
// The job's ARN.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
}
// String returns the string representation
func (s GetJobInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s GetJobInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *GetJobInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "GetJobInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *GetJobInput) SetArn(v string) *GetJobInput {
s.Arn = &v
return s
}
// Represents the result of a get job request.
// See also, path_to_url
type GetJobOutput struct {
_ struct{} `type:"structure"`
// An object containing information about the requested job.
Job *Job `locationName:"job" type:"structure"`
}
// String returns the string representation
func (s GetJobOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s GetJobOutput) GoString() string {
return s.String()
}
// SetJob sets the Job field's value.
func (s *GetJobOutput) SetJob(v *Job) *GetJobOutput {
s.Job = v
return s
}
// See also, path_to_url
type GetNetworkProfileInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the network profile you want to return
// information about.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
}
// String returns the string representation
func (s GetNetworkProfileInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s GetNetworkProfileInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *GetNetworkProfileInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "GetNetworkProfileInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *GetNetworkProfileInput) SetArn(v string) *GetNetworkProfileInput {
s.Arn = &v
return s
}
// See also, path_to_url
type GetNetworkProfileOutput struct {
_ struct{} `type:"structure"`
// The network profile.
NetworkProfile *NetworkProfile `locationName:"networkProfile" type:"structure"`
}
// String returns the string representation
func (s GetNetworkProfileOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s GetNetworkProfileOutput) GoString() string {
return s.String()
}
// SetNetworkProfile sets the NetworkProfile field's value.
func (s *GetNetworkProfileOutput) SetNetworkProfile(v *NetworkProfile) *GetNetworkProfileOutput {
s.NetworkProfile = v
return s
}
// Represents the request to retrieve the offering status for the specified
// customer or account.
// See also, path_to_url
type GetOfferingStatusInput struct {
_ struct{} `type:"structure"`
// An identifier that was returned from the previous call to this operation,
// which can be used to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
}
// String returns the string representation
func (s GetOfferingStatusInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s GetOfferingStatusInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *GetOfferingStatusInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "GetOfferingStatusInput"}
if s.NextToken != nil && len(*s.NextToken) < 4 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 4))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetNextToken sets the NextToken field's value.
func (s *GetOfferingStatusInput) SetNextToken(v string) *GetOfferingStatusInput {
s.NextToken = &v
return s
}
// Returns the status result for a device offering.
// See also, path_to_url
type GetOfferingStatusOutput struct {
_ struct{} `type:"structure"`
// When specified, gets the offering status for the current period.
Current map[string]*OfferingStatus `locationName:"current" type:"map"`
// When specified, gets the offering status for the next period.
NextPeriod map[string]*OfferingStatus `locationName:"nextPeriod" type:"map"`
// An identifier that was returned from the previous call to this operation,
// which can be used to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
}
// String returns the string representation
func (s GetOfferingStatusOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s GetOfferingStatusOutput) GoString() string {
return s.String()
}
// SetCurrent sets the Current field's value.
func (s *GetOfferingStatusOutput) SetCurrent(v map[string]*OfferingStatus) *GetOfferingStatusOutput {
s.Current = v
return s
}
// SetNextPeriod sets the NextPeriod field's value.
func (s *GetOfferingStatusOutput) SetNextPeriod(v map[string]*OfferingStatus) *GetOfferingStatusOutput {
s.NextPeriod = v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *GetOfferingStatusOutput) SetNextToken(v string) *GetOfferingStatusOutput {
s.NextToken = &v
return s
}
// Represents a request to the get project operation.
// See also, path_to_url
type GetProjectInput struct {
_ struct{} `type:"structure"`
// The project's ARN.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
}
// String returns the string representation
func (s GetProjectInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s GetProjectInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *GetProjectInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "GetProjectInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *GetProjectInput) SetArn(v string) *GetProjectInput {
s.Arn = &v
return s
}
// Represents the result of a get project request.
// See also, path_to_url
type GetProjectOutput struct {
_ struct{} `type:"structure"`
// The project you wish to get information about.
Project *Project `locationName:"project" type:"structure"`
}
// String returns the string representation
func (s GetProjectOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s GetProjectOutput) GoString() string {
return s.String()
}
// SetProject sets the Project field's value.
func (s *GetProjectOutput) SetProject(v *Project) *GetProjectOutput {
s.Project = v
return s
}
// Represents the request to get information about the specified remote access
// session.
// See also, path_to_url
type GetRemoteAccessSessionInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the remote access session about which you
// want to get session information.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
}
// String returns the string representation
func (s GetRemoteAccessSessionInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s GetRemoteAccessSessionInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *GetRemoteAccessSessionInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "GetRemoteAccessSessionInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *GetRemoteAccessSessionInput) SetArn(v string) *GetRemoteAccessSessionInput {
s.Arn = &v
return s
}
// Represents the response from the server that lists detailed information about
// the remote access session.
// See also, path_to_url
type GetRemoteAccessSessionOutput struct {
_ struct{} `type:"structure"`
// A container that lists detailed information about the remote access session.
RemoteAccessSession *RemoteAccessSession `locationName:"remoteAccessSession" type:"structure"`
}
// String returns the string representation
func (s GetRemoteAccessSessionOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s GetRemoteAccessSessionOutput) GoString() string {
return s.String()
}
// SetRemoteAccessSession sets the RemoteAccessSession field's value.
func (s *GetRemoteAccessSessionOutput) SetRemoteAccessSession(v *RemoteAccessSession) *GetRemoteAccessSessionOutput {
s.RemoteAccessSession = v
return s
}
// Represents a request to the get run operation.
// See also, path_to_url
type GetRunInput struct {
_ struct{} `type:"structure"`
// The run's ARN.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
}
// String returns the string representation
func (s GetRunInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s GetRunInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *GetRunInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "GetRunInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *GetRunInput) SetArn(v string) *GetRunInput {
s.Arn = &v
return s
}
// Represents the result of a get run request.
// See also, path_to_url
type GetRunOutput struct {
_ struct{} `type:"structure"`
// The run you wish to get results from.
Run *Run `locationName:"run" type:"structure"`
}
// String returns the string representation
func (s GetRunOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s GetRunOutput) GoString() string {
return s.String()
}
// SetRun sets the Run field's value.
func (s *GetRunOutput) SetRun(v *Run) *GetRunOutput {
s.Run = v
return s
}
// Represents a request to the get suite operation.
// See also, path_to_url
type GetSuiteInput struct {
_ struct{} `type:"structure"`
// The suite's ARN.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
}
// String returns the string representation
func (s GetSuiteInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s GetSuiteInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *GetSuiteInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "GetSuiteInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *GetSuiteInput) SetArn(v string) *GetSuiteInput {
s.Arn = &v
return s
}
// Represents the result of a get suite request.
// See also, path_to_url
type GetSuiteOutput struct {
_ struct{} `type:"structure"`
// A collection of one or more tests.
Suite *Suite `locationName:"suite" type:"structure"`
}
// String returns the string representation
func (s GetSuiteOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s GetSuiteOutput) GoString() string {
return s.String()
}
// SetSuite sets the Suite field's value.
func (s *GetSuiteOutput) SetSuite(v *Suite) *GetSuiteOutput {
s.Suite = v
return s
}
// Represents a request to the get test operation.
// See also, path_to_url
type GetTestInput struct {
_ struct{} `type:"structure"`
// The test's ARN.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
}
// String returns the string representation
func (s GetTestInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s GetTestInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *GetTestInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "GetTestInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *GetTestInput) SetArn(v string) *GetTestInput {
s.Arn = &v
return s
}
// Represents the result of a get test request.
// See also, path_to_url
type GetTestOutput struct {
_ struct{} `type:"structure"`
// A test condition that is evaluated.
Test *Test `locationName:"test" type:"structure"`
}
// String returns the string representation
func (s GetTestOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s GetTestOutput) GoString() string {
return s.String()
}
// SetTest sets the Test field's value.
func (s *GetTestOutput) SetTest(v *Test) *GetTestOutput {
s.Test = v
return s
}
// Represents a request to the get upload operation.
// See also, path_to_url
type GetUploadInput struct {
_ struct{} `type:"structure"`
// The upload's ARN.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
}
// String returns the string representation
func (s GetUploadInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s GetUploadInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *GetUploadInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "GetUploadInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *GetUploadInput) SetArn(v string) *GetUploadInput {
s.Arn = &v
return s
}
// Represents the result of a get upload request.
// See also, path_to_url
type GetUploadOutput struct {
_ struct{} `type:"structure"`
// An app or a set of one or more tests to upload or that have been uploaded.
Upload *Upload `locationName:"upload" type:"structure"`
}
// String returns the string representation
func (s GetUploadOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s GetUploadOutput) GoString() string {
return s.String()
}
// SetUpload sets the Upload field's value.
func (s *GetUploadOutput) SetUpload(v *Upload) *GetUploadOutput {
s.Upload = v
return s
}
// Represents information about incompatibility.
// See also, path_to_url
type IncompatibilityMessage struct {
_ struct{} `type:"structure"`
// A message about the incompatibility.
Message *string `locationName:"message" type:"string"`
// The type of incompatibility.
//
// Allowed values include:
//
// * ARN: The ARN.
//
// * FORM_FACTOR: The form factor (for example, phone or tablet).
//
// * MANUFACTURER: The manufacturer.
//
// * PLATFORM: The platform (for example, Android or iOS).
//
// * REMOTE_ACCESS_ENABLED: Whether the device is enabled for remote access.
//
// * APPIUM_VERSION: The Appium version for the test.
Type *string `locationName:"type" type:"string" enum:"DeviceAttribute"`
}
// String returns the string representation
func (s IncompatibilityMessage) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s IncompatibilityMessage) GoString() string {
return s.String()
}
// SetMessage sets the Message field's value.
func (s *IncompatibilityMessage) SetMessage(v string) *IncompatibilityMessage {
s.Message = &v
return s
}
// SetType sets the Type field's value.
func (s *IncompatibilityMessage) SetType(v string) *IncompatibilityMessage {
s.Type = &v
return s
}
// Represents the request to install an Android application (in .apk format)
// or an iOS application (in .ipa format) as part of a remote access session.
// See also, path_to_url
type InstallToRemoteAccessSessionInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the app about which you are requesting
// information.
//
// AppArn is a required field
AppArn *string `locationName:"appArn" min:"32" type:"string" required:"true"`
// The Amazon Resource Name (ARN) of the remote access session about which you
// are requesting information.
//
// RemoteAccessSessionArn is a required field
RemoteAccessSessionArn *string `locationName:"remoteAccessSessionArn" min:"32" type:"string" required:"true"`
}
// String returns the string representation
func (s InstallToRemoteAccessSessionInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s InstallToRemoteAccessSessionInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *InstallToRemoteAccessSessionInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "InstallToRemoteAccessSessionInput"}
if s.AppArn == nil {
invalidParams.Add(request.NewErrParamRequired("AppArn"))
}
if s.AppArn != nil && len(*s.AppArn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("AppArn", 32))
}
if s.RemoteAccessSessionArn == nil {
invalidParams.Add(request.NewErrParamRequired("RemoteAccessSessionArn"))
}
if s.RemoteAccessSessionArn != nil && len(*s.RemoteAccessSessionArn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("RemoteAccessSessionArn", 32))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetAppArn sets the AppArn field's value.
func (s *InstallToRemoteAccessSessionInput) SetAppArn(v string) *InstallToRemoteAccessSessionInput {
s.AppArn = &v
return s
}
// SetRemoteAccessSessionArn sets the RemoteAccessSessionArn field's value.
func (s *InstallToRemoteAccessSessionInput) SetRemoteAccessSessionArn(v string) *InstallToRemoteAccessSessionInput {
s.RemoteAccessSessionArn = &v
return s
}
// Represents the response from the server after AWS Device Farm makes a request
// to install to a remote access session.
// See also, path_to_url
type InstallToRemoteAccessSessionOutput struct {
_ struct{} `type:"structure"`
// An app to upload or that has been uploaded.
AppUpload *Upload `locationName:"appUpload" type:"structure"`
}
// String returns the string representation
func (s InstallToRemoteAccessSessionOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s InstallToRemoteAccessSessionOutput) GoString() string {
return s.String()
}
// SetAppUpload sets the AppUpload field's value.
func (s *InstallToRemoteAccessSessionOutput) SetAppUpload(v *Upload) *InstallToRemoteAccessSessionOutput {
s.AppUpload = v
return s
}
// Represents a device.
// See also, path_to_url
type Job struct {
_ struct{} `type:"structure"`
// The job's ARN.
Arn *string `locationName:"arn" min:"32" type:"string"`
// The job's result counters.
Counters *Counters `locationName:"counters" type:"structure"`
// When the job was created.
Created *time.Time `locationName:"created" type:"timestamp" timestampFormat:"unix"`
// The device (phone or tablet).
Device *Device `locationName:"device" type:"structure"`
// Represents the total (metered or unmetered) minutes used by the job.
DeviceMinutes *DeviceMinutes `locationName:"deviceMinutes" type:"structure"`
// A message about the job's result.
Message *string `locationName:"message" type:"string"`
// The job's name.
Name *string `locationName:"name" type:"string"`
// The job's result.
//
// Allowed values include:
//
// * PENDING: A pending condition.
//
// * PASSED: A passing condition.
//
// * WARNED: A warning condition.
//
// * FAILED: A failed condition.
//
// * SKIPPED: A skipped condition.
//
// * ERRORED: An error condition.
//
// * STOPPED: A stopped condition.
Result *string `locationName:"result" type:"string" enum:"ExecutionResult"`
// The job's start time.
Started *time.Time `locationName:"started" type:"timestamp" timestampFormat:"unix"`
// The job's status.
//
// Allowed values include:
//
// * PENDING: A pending status.
//
// * PENDING_CONCURRENCY: A pending concurrency status.
//
// * PENDING_DEVICE: A pending device status.
//
// * PROCESSING: A processing status.
//
// * SCHEDULING: A scheduling status.
//
// * PREPARING: A preparing status.
//
// * RUNNING: A running status.
//
// * COMPLETED: A completed status.
//
// * STOPPING: A stopping status.
Status *string `locationName:"status" type:"string" enum:"ExecutionStatus"`
// The job's stop time.
Stopped *time.Time `locationName:"stopped" type:"timestamp" timestampFormat:"unix"`
// The job's type.
//
// Allowed values include the following:
//
// * BUILTIN_FUZZ: The built-in fuzz type.
//
// * BUILTIN_EXPLORER: For Android, an app explorer that will traverse an
// Android app, interacting with it and capturing screenshots at the same
// time.
//
// * APPIUM_JAVA_JUNIT: The Appium Java JUnit type.
//
// * APPIUM_JAVA_TESTNG: The Appium Java TestNG type.
//
// * APPIUM_PYTHON: The Appium Python type.
//
// * APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.
//
// * APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.
//
// * APPIUM_WEB_PYTHON: The Appium Python type for Web apps.
//
// * CALABASH: The Calabash type.
//
// * INSTRUMENTATION: The Instrumentation type.
//
// * UIAUTOMATION: The uiautomation type.
//
// * UIAUTOMATOR: The uiautomator type.
//
// * XCTEST: The XCode test type.
//
// * XCTEST_UI: The XCode UI test type.
Type *string `locationName:"type" type:"string" enum:"TestType"`
}
// String returns the string representation
func (s Job) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s Job) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *Job) SetArn(v string) *Job {
s.Arn = &v
return s
}
// SetCounters sets the Counters field's value.
func (s *Job) SetCounters(v *Counters) *Job {
s.Counters = v
return s
}
// SetCreated sets the Created field's value.
func (s *Job) SetCreated(v time.Time) *Job {
s.Created = &v
return s
}
// SetDevice sets the Device field's value.
func (s *Job) SetDevice(v *Device) *Job {
s.Device = v
return s
}
// SetDeviceMinutes sets the DeviceMinutes field's value.
func (s *Job) SetDeviceMinutes(v *DeviceMinutes) *Job {
s.DeviceMinutes = v
return s
}
// SetMessage sets the Message field's value.
func (s *Job) SetMessage(v string) *Job {
s.Message = &v
return s
}
// SetName sets the Name field's value.
func (s *Job) SetName(v string) *Job {
s.Name = &v
return s
}
// SetResult sets the Result field's value.
func (s *Job) SetResult(v string) *Job {
s.Result = &v
return s
}
// SetStarted sets the Started field's value.
func (s *Job) SetStarted(v time.Time) *Job {
s.Started = &v
return s
}
// SetStatus sets the Status field's value.
func (s *Job) SetStatus(v string) *Job {
s.Status = &v
return s
}
// SetStopped sets the Stopped field's value.
func (s *Job) SetStopped(v time.Time) *Job {
s.Stopped = &v
return s
}
// SetType sets the Type field's value.
func (s *Job) SetType(v string) *Job {
s.Type = &v
return s
}
// Represents a request to the list artifacts operation.
// See also, path_to_url
type ListArtifactsInput struct {
_ struct{} `type:"structure"`
// The Run, Job, Suite, or Test ARN.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
// An identifier that was returned from the previous call to this operation,
// which can be used to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
// The artifacts' type.
//
// Allowed values include:
//
// * FILE: The artifacts are files.
//
// * LOG: The artifacts are logs.
//
// * SCREENSHOT: The artifacts are screenshots.
//
// Type is a required field
Type *string `locationName:"type" type:"string" required:"true" enum:"ArtifactCategory"`
}
// String returns the string representation
func (s ListArtifactsInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListArtifactsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ListArtifactsInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ListArtifactsInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if s.NextToken != nil && len(*s.NextToken) < 4 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 4))
}
if s.Type == nil {
invalidParams.Add(request.NewErrParamRequired("Type"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *ListArtifactsInput) SetArn(v string) *ListArtifactsInput {
s.Arn = &v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *ListArtifactsInput) SetNextToken(v string) *ListArtifactsInput {
s.NextToken = &v
return s
}
// SetType sets the Type field's value.
func (s *ListArtifactsInput) SetType(v string) *ListArtifactsInput {
s.Type = &v
return s
}
// Represents the result of a list artifacts operation.
// See also, path_to_url
type ListArtifactsOutput struct {
_ struct{} `type:"structure"`
// Information about the artifacts.
Artifacts []*Artifact `locationName:"artifacts" type:"list"`
// If the number of items that are returned is significantly large, this is
// an identifier that is also returned, which can be used in a subsequent call
// to this operation to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
}
// String returns the string representation
func (s ListArtifactsOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListArtifactsOutput) GoString() string {
return s.String()
}
// SetArtifacts sets the Artifacts field's value.
func (s *ListArtifactsOutput) SetArtifacts(v []*Artifact) *ListArtifactsOutput {
s.Artifacts = v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *ListArtifactsOutput) SetNextToken(v string) *ListArtifactsOutput {
s.NextToken = &v
return s
}
// Represents the result of a list device pools request.
// See also, path_to_url
type ListDevicePoolsInput struct {
_ struct{} `type:"structure"`
// The project ARN.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
// An identifier that was returned from the previous call to this operation,
// which can be used to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
// The device pools' type.
//
// Allowed values include:
//
// * CURATED: A device pool that is created and managed by AWS Device Farm.
//
// * PRIVATE: A device pool that is created and managed by the device pool
// developer.
Type *string `locationName:"type" type:"string" enum:"DevicePoolType"`
}
// String returns the string representation
func (s ListDevicePoolsInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListDevicePoolsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ListDevicePoolsInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ListDevicePoolsInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if s.NextToken != nil && len(*s.NextToken) < 4 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 4))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *ListDevicePoolsInput) SetArn(v string) *ListDevicePoolsInput {
s.Arn = &v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *ListDevicePoolsInput) SetNextToken(v string) *ListDevicePoolsInput {
s.NextToken = &v
return s
}
// SetType sets the Type field's value.
func (s *ListDevicePoolsInput) SetType(v string) *ListDevicePoolsInput {
s.Type = &v
return s
}
// Represents the result of a list device pools request.
// See also, path_to_url
type ListDevicePoolsOutput struct {
_ struct{} `type:"structure"`
// Information about the device pools.
DevicePools []*DevicePool `locationName:"devicePools" type:"list"`
// If the number of items that are returned is significantly large, this is
// an identifier that is also returned, which can be used in a subsequent call
// to this operation to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
}
// String returns the string representation
func (s ListDevicePoolsOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListDevicePoolsOutput) GoString() string {
return s.String()
}
// SetDevicePools sets the DevicePools field's value.
func (s *ListDevicePoolsOutput) SetDevicePools(v []*DevicePool) *ListDevicePoolsOutput {
s.DevicePools = v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *ListDevicePoolsOutput) SetNextToken(v string) *ListDevicePoolsOutput {
s.NextToken = &v
return s
}
// Represents the result of a list devices request.
// See also, path_to_url
type ListDevicesInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the project.
Arn *string `locationName:"arn" min:"32" type:"string"`
// An identifier that was returned from the previous call to this operation,
// which can be used to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
}
// String returns the string representation
func (s ListDevicesInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListDevicesInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ListDevicesInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ListDevicesInput"}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if s.NextToken != nil && len(*s.NextToken) < 4 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 4))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *ListDevicesInput) SetArn(v string) *ListDevicesInput {
s.Arn = &v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *ListDevicesInput) SetNextToken(v string) *ListDevicesInput {
s.NextToken = &v
return s
}
// Represents the result of a list devices operation.
// See also, path_to_url
type ListDevicesOutput struct {
_ struct{} `type:"structure"`
// Information about the devices.
Devices []*Device `locationName:"devices" type:"list"`
// If the number of items that are returned is significantly large, this is
// an identifier that is also returned, which can be used in a subsequent call
// to this operation to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
}
// String returns the string representation
func (s ListDevicesOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListDevicesOutput) GoString() string {
return s.String()
}
// SetDevices sets the Devices field's value.
func (s *ListDevicesOutput) SetDevices(v []*Device) *ListDevicesOutput {
s.Devices = v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *ListDevicesOutput) SetNextToken(v string) *ListDevicesOutput {
s.NextToken = &v
return s
}
// Represents a request to the list jobs operation.
// See also, path_to_url
type ListJobsInput struct {
_ struct{} `type:"structure"`
// The jobs' ARNs.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
// An identifier that was returned from the previous call to this operation,
// which can be used to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
}
// String returns the string representation
func (s ListJobsInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListJobsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ListJobsInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ListJobsInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if s.NextToken != nil && len(*s.NextToken) < 4 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 4))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *ListJobsInput) SetArn(v string) *ListJobsInput {
s.Arn = &v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *ListJobsInput) SetNextToken(v string) *ListJobsInput {
s.NextToken = &v
return s
}
// Represents the result of a list jobs request.
// See also, path_to_url
type ListJobsOutput struct {
_ struct{} `type:"structure"`
// Information about the jobs.
Jobs []*Job `locationName:"jobs" type:"list"`
// If the number of items that are returned is significantly large, this is
// an identifier that is also returned, which can be used in a subsequent call
// to this operation to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
}
// String returns the string representation
func (s ListJobsOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListJobsOutput) GoString() string {
return s.String()
}
// SetJobs sets the Jobs field's value.
func (s *ListJobsOutput) SetJobs(v []*Job) *ListJobsOutput {
s.Jobs = v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *ListJobsOutput) SetNextToken(v string) *ListJobsOutput {
s.NextToken = &v
return s
}
// See also, path_to_url
type ListNetworkProfilesInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the project for which you want to list
// network profiles.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
// An identifier that was returned from the previous call to this operation,
// which can be used to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
// The type of network profile you wish to return information about. Valid values
// are listed below.
Type *string `locationName:"type" type:"string" enum:"NetworkProfileType"`
}
// String returns the string representation
func (s ListNetworkProfilesInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListNetworkProfilesInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ListNetworkProfilesInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ListNetworkProfilesInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if s.NextToken != nil && len(*s.NextToken) < 4 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 4))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *ListNetworkProfilesInput) SetArn(v string) *ListNetworkProfilesInput {
s.Arn = &v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *ListNetworkProfilesInput) SetNextToken(v string) *ListNetworkProfilesInput {
s.NextToken = &v
return s
}
// SetType sets the Type field's value.
func (s *ListNetworkProfilesInput) SetType(v string) *ListNetworkProfilesInput {
s.Type = &v
return s
}
// See also, path_to_url
type ListNetworkProfilesOutput struct {
_ struct{} `type:"structure"`
// A list of the available network profiles.
NetworkProfiles []*NetworkProfile `locationName:"networkProfiles" type:"list"`
// An identifier that was returned from the previous call to this operation,
// which can be used to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
}
// String returns the string representation
func (s ListNetworkProfilesOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListNetworkProfilesOutput) GoString() string {
return s.String()
}
// SetNetworkProfiles sets the NetworkProfiles field's value.
func (s *ListNetworkProfilesOutput) SetNetworkProfiles(v []*NetworkProfile) *ListNetworkProfilesOutput {
s.NetworkProfiles = v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *ListNetworkProfilesOutput) SetNextToken(v string) *ListNetworkProfilesOutput {
s.NextToken = &v
return s
}
// See also, path_to_url
type ListOfferingPromotionsInput struct {
_ struct{} `type:"structure"`
// An identifier that was returned from the previous call to this operation,
// which can be used to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
}
// String returns the string representation
func (s ListOfferingPromotionsInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListOfferingPromotionsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ListOfferingPromotionsInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ListOfferingPromotionsInput"}
if s.NextToken != nil && len(*s.NextToken) < 4 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 4))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetNextToken sets the NextToken field's value.
func (s *ListOfferingPromotionsInput) SetNextToken(v string) *ListOfferingPromotionsInput {
s.NextToken = &v
return s
}
// See also, path_to_url
type ListOfferingPromotionsOutput struct {
_ struct{} `type:"structure"`
// An identifier to be used in the next call to this operation, to return the
// next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
// Information about the offering promotions.
OfferingPromotions []*OfferingPromotion `locationName:"offeringPromotions" type:"list"`
}
// String returns the string representation
func (s ListOfferingPromotionsOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListOfferingPromotionsOutput) GoString() string {
return s.String()
}
// SetNextToken sets the NextToken field's value.
func (s *ListOfferingPromotionsOutput) SetNextToken(v string) *ListOfferingPromotionsOutput {
s.NextToken = &v
return s
}
// SetOfferingPromotions sets the OfferingPromotions field's value.
func (s *ListOfferingPromotionsOutput) SetOfferingPromotions(v []*OfferingPromotion) *ListOfferingPromotionsOutput {
s.OfferingPromotions = v
return s
}
// Represents the request to list the offering transaction history.
// See also, path_to_url
type ListOfferingTransactionsInput struct {
_ struct{} `type:"structure"`
// An identifier that was returned from the previous call to this operation,
// which can be used to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
}
// String returns the string representation
func (s ListOfferingTransactionsInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListOfferingTransactionsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ListOfferingTransactionsInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ListOfferingTransactionsInput"}
if s.NextToken != nil && len(*s.NextToken) < 4 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 4))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetNextToken sets the NextToken field's value.
func (s *ListOfferingTransactionsInput) SetNextToken(v string) *ListOfferingTransactionsInput {
s.NextToken = &v
return s
}
// Returns the transaction log of the specified offerings.
// See also, path_to_url
type ListOfferingTransactionsOutput struct {
_ struct{} `type:"structure"`
// An identifier that was returned from the previous call to this operation,
// which can be used to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
// The audit log of subscriptions you have purchased and modified through AWS
// Device Farm.
OfferingTransactions []*OfferingTransaction `locationName:"offeringTransactions" type:"list"`
}
// String returns the string representation
func (s ListOfferingTransactionsOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListOfferingTransactionsOutput) GoString() string {
return s.String()
}
// SetNextToken sets the NextToken field's value.
func (s *ListOfferingTransactionsOutput) SetNextToken(v string) *ListOfferingTransactionsOutput {
s.NextToken = &v
return s
}
// SetOfferingTransactions sets the OfferingTransactions field's value.
func (s *ListOfferingTransactionsOutput) SetOfferingTransactions(v []*OfferingTransaction) *ListOfferingTransactionsOutput {
s.OfferingTransactions = v
return s
}
// Represents the request to list all offerings.
// See also, path_to_url
type ListOfferingsInput struct {
_ struct{} `type:"structure"`
// An identifier that was returned from the previous call to this operation,
// which can be used to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
}
// String returns the string representation
func (s ListOfferingsInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListOfferingsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ListOfferingsInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ListOfferingsInput"}
if s.NextToken != nil && len(*s.NextToken) < 4 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 4))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetNextToken sets the NextToken field's value.
func (s *ListOfferingsInput) SetNextToken(v string) *ListOfferingsInput {
s.NextToken = &v
return s
}
// Represents the return values of the list of offerings.
// See also, path_to_url
type ListOfferingsOutput struct {
_ struct{} `type:"structure"`
// An identifier that was returned from the previous call to this operation,
// which can be used to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
// A value representing the list offering results.
Offerings []*Offering `locationName:"offerings" type:"list"`
}
// String returns the string representation
func (s ListOfferingsOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListOfferingsOutput) GoString() string {
return s.String()
}
// SetNextToken sets the NextToken field's value.
func (s *ListOfferingsOutput) SetNextToken(v string) *ListOfferingsOutput {
s.NextToken = &v
return s
}
// SetOfferings sets the Offerings field's value.
func (s *ListOfferingsOutput) SetOfferings(v []*Offering) *ListOfferingsOutput {
s.Offerings = v
return s
}
// Represents a request to the list projects operation.
// See also, path_to_url
type ListProjectsInput struct {
_ struct{} `type:"structure"`
// Optional. If no Amazon Resource Name (ARN) is specified, then AWS Device
// Farm returns a list of all projects for the AWS account. You can also specify
// a project ARN.
Arn *string `locationName:"arn" min:"32" type:"string"`
// An identifier that was returned from the previous call to this operation,
// which can be used to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
}
// String returns the string representation
func (s ListProjectsInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListProjectsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ListProjectsInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ListProjectsInput"}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if s.NextToken != nil && len(*s.NextToken) < 4 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 4))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *ListProjectsInput) SetArn(v string) *ListProjectsInput {
s.Arn = &v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *ListProjectsInput) SetNextToken(v string) *ListProjectsInput {
s.NextToken = &v
return s
}
// Represents the result of a list projects request.
// See also, path_to_url
type ListProjectsOutput struct {
_ struct{} `type:"structure"`
// If the number of items that are returned is significantly large, this is
// an identifier that is also returned, which can be used in a subsequent call
// to this operation to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
// Information about the projects.
Projects []*Project `locationName:"projects" type:"list"`
}
// String returns the string representation
func (s ListProjectsOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListProjectsOutput) GoString() string {
return s.String()
}
// SetNextToken sets the NextToken field's value.
func (s *ListProjectsOutput) SetNextToken(v string) *ListProjectsOutput {
s.NextToken = &v
return s
}
// SetProjects sets the Projects field's value.
func (s *ListProjectsOutput) SetProjects(v []*Project) *ListProjectsOutput {
s.Projects = v
return s
}
// Represents the request to return information about the remote access session.
// See also, path_to_url
type ListRemoteAccessSessionsInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the remote access session about which you
// are requesting information.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
// An identifier that was returned from the previous call to this operation,
// which can be used to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
}
// String returns the string representation
func (s ListRemoteAccessSessionsInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListRemoteAccessSessionsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ListRemoteAccessSessionsInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ListRemoteAccessSessionsInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if s.NextToken != nil && len(*s.NextToken) < 4 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 4))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *ListRemoteAccessSessionsInput) SetArn(v string) *ListRemoteAccessSessionsInput {
s.Arn = &v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *ListRemoteAccessSessionsInput) SetNextToken(v string) *ListRemoteAccessSessionsInput {
s.NextToken = &v
return s
}
// Represents the response from the server after AWS Device Farm makes a request
// to return information about the remote access session.
// See also, path_to_url
type ListRemoteAccessSessionsOutput struct {
_ struct{} `type:"structure"`
// An identifier that was returned from the previous call to this operation,
// which can be used to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
// A container representing the metadata from the service about each remote
// access session you are requesting.
RemoteAccessSessions []*RemoteAccessSession `locationName:"remoteAccessSessions" type:"list"`
}
// String returns the string representation
func (s ListRemoteAccessSessionsOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListRemoteAccessSessionsOutput) GoString() string {
return s.String()
}
// SetNextToken sets the NextToken field's value.
func (s *ListRemoteAccessSessionsOutput) SetNextToken(v string) *ListRemoteAccessSessionsOutput {
s.NextToken = &v
return s
}
// SetRemoteAccessSessions sets the RemoteAccessSessions field's value.
func (s *ListRemoteAccessSessionsOutput) SetRemoteAccessSessions(v []*RemoteAccessSession) *ListRemoteAccessSessionsOutput {
s.RemoteAccessSessions = v
return s
}
// Represents a request to the list runs operation.
// See also, path_to_url
type ListRunsInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the project for which you want to list
// runs.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
// An identifier that was returned from the previous call to this operation,
// which can be used to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
}
// String returns the string representation
func (s ListRunsInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListRunsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ListRunsInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ListRunsInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if s.NextToken != nil && len(*s.NextToken) < 4 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 4))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *ListRunsInput) SetArn(v string) *ListRunsInput {
s.Arn = &v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *ListRunsInput) SetNextToken(v string) *ListRunsInput {
s.NextToken = &v
return s
}
// Represents the result of a list runs request.
// See also, path_to_url
type ListRunsOutput struct {
_ struct{} `type:"structure"`
// If the number of items that are returned is significantly large, this is
// an identifier that is also returned, which can be used in a subsequent call
// to this operation to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
// Information about the runs.
Runs []*Run `locationName:"runs" type:"list"`
}
// String returns the string representation
func (s ListRunsOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListRunsOutput) GoString() string {
return s.String()
}
// SetNextToken sets the NextToken field's value.
func (s *ListRunsOutput) SetNextToken(v string) *ListRunsOutput {
s.NextToken = &v
return s
}
// SetRuns sets the Runs field's value.
func (s *ListRunsOutput) SetRuns(v []*Run) *ListRunsOutput {
s.Runs = v
return s
}
// Represents a request to the list samples operation.
// See also, path_to_url
type ListSamplesInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the project for which you want to list
// samples.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
// An identifier that was returned from the previous call to this operation,
// which can be used to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
}
// String returns the string representation
func (s ListSamplesInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListSamplesInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ListSamplesInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ListSamplesInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if s.NextToken != nil && len(*s.NextToken) < 4 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 4))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *ListSamplesInput) SetArn(v string) *ListSamplesInput {
s.Arn = &v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *ListSamplesInput) SetNextToken(v string) *ListSamplesInput {
s.NextToken = &v
return s
}
// Represents the result of a list samples request.
// See also, path_to_url
type ListSamplesOutput struct {
_ struct{} `type:"structure"`
// If the number of items that are returned is significantly large, this is
// an identifier that is also returned, which can be used in a subsequent call
// to this operation to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
// Information about the samples.
Samples []*Sample `locationName:"samples" type:"list"`
}
// String returns the string representation
func (s ListSamplesOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListSamplesOutput) GoString() string {
return s.String()
}
// SetNextToken sets the NextToken field's value.
func (s *ListSamplesOutput) SetNextToken(v string) *ListSamplesOutput {
s.NextToken = &v
return s
}
// SetSamples sets the Samples field's value.
func (s *ListSamplesOutput) SetSamples(v []*Sample) *ListSamplesOutput {
s.Samples = v
return s
}
// Represents a request to the list suites operation.
// See also, path_to_url
type ListSuitesInput struct {
_ struct{} `type:"structure"`
// The suites' ARNs.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
// An identifier that was returned from the previous call to this operation,
// which can be used to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
}
// String returns the string representation
func (s ListSuitesInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListSuitesInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ListSuitesInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ListSuitesInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if s.NextToken != nil && len(*s.NextToken) < 4 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 4))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *ListSuitesInput) SetArn(v string) *ListSuitesInput {
s.Arn = &v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *ListSuitesInput) SetNextToken(v string) *ListSuitesInput {
s.NextToken = &v
return s
}
// Represents the result of a list suites request.
// See also, path_to_url
type ListSuitesOutput struct {
_ struct{} `type:"structure"`
// If the number of items that are returned is significantly large, this is
// an identifier that is also returned, which can be used in a subsequent call
// to this operation to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
// Information about the suites.
Suites []*Suite `locationName:"suites" type:"list"`
}
// String returns the string representation
func (s ListSuitesOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListSuitesOutput) GoString() string {
return s.String()
}
// SetNextToken sets the NextToken field's value.
func (s *ListSuitesOutput) SetNextToken(v string) *ListSuitesOutput {
s.NextToken = &v
return s
}
// SetSuites sets the Suites field's value.
func (s *ListSuitesOutput) SetSuites(v []*Suite) *ListSuitesOutput {
s.Suites = v
return s
}
// Represents a request to the list tests operation.
// See also, path_to_url
type ListTestsInput struct {
_ struct{} `type:"structure"`
// The tests' ARNs.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
// An identifier that was returned from the previous call to this operation,
// which can be used to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
}
// String returns the string representation
func (s ListTestsInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListTestsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ListTestsInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ListTestsInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if s.NextToken != nil && len(*s.NextToken) < 4 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 4))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *ListTestsInput) SetArn(v string) *ListTestsInput {
s.Arn = &v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *ListTestsInput) SetNextToken(v string) *ListTestsInput {
s.NextToken = &v
return s
}
// Represents the result of a list tests request.
// See also, path_to_url
type ListTestsOutput struct {
_ struct{} `type:"structure"`
// If the number of items that are returned is significantly large, this is
// an identifier that is also returned, which can be used in a subsequent call
// to this operation to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
// Information about the tests.
Tests []*Test `locationName:"tests" type:"list"`
}
// String returns the string representation
func (s ListTestsOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListTestsOutput) GoString() string {
return s.String()
}
// SetNextToken sets the NextToken field's value.
func (s *ListTestsOutput) SetNextToken(v string) *ListTestsOutput {
s.NextToken = &v
return s
}
// SetTests sets the Tests field's value.
func (s *ListTestsOutput) SetTests(v []*Test) *ListTestsOutput {
s.Tests = v
return s
}
// Represents a request to the list unique problems operation.
// See also, path_to_url
type ListUniqueProblemsInput struct {
_ struct{} `type:"structure"`
// The unique problems' ARNs.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
// An identifier that was returned from the previous call to this operation,
// which can be used to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
}
// String returns the string representation
func (s ListUniqueProblemsInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListUniqueProblemsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ListUniqueProblemsInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ListUniqueProblemsInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if s.NextToken != nil && len(*s.NextToken) < 4 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 4))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *ListUniqueProblemsInput) SetArn(v string) *ListUniqueProblemsInput {
s.Arn = &v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *ListUniqueProblemsInput) SetNextToken(v string) *ListUniqueProblemsInput {
s.NextToken = &v
return s
}
// Represents the result of a list unique problems request.
// See also, path_to_url
type ListUniqueProblemsOutput struct {
_ struct{} `type:"structure"`
// If the number of items that are returned is significantly large, this is
// an identifier that is also returned, which can be used in a subsequent call
// to this operation to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
// Information about the unique problems.
//
// Allowed values include:
//
// * PENDING: A pending condition.
//
// * PASSED: A passing condition.
//
// * WARNED: A warning condition.
//
// * FAILED: A failed condition.
//
// * SKIPPED: A skipped condition.
//
// * ERRORED: An error condition.
//
// * STOPPED: A stopped condition.
UniqueProblems map[string][]*UniqueProblem `locationName:"uniqueProblems" type:"map"`
}
// String returns the string representation
func (s ListUniqueProblemsOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListUniqueProblemsOutput) GoString() string {
return s.String()
}
// SetNextToken sets the NextToken field's value.
func (s *ListUniqueProblemsOutput) SetNextToken(v string) *ListUniqueProblemsOutput {
s.NextToken = &v
return s
}
// SetUniqueProblems sets the UniqueProblems field's value.
func (s *ListUniqueProblemsOutput) SetUniqueProblems(v map[string][]*UniqueProblem) *ListUniqueProblemsOutput {
s.UniqueProblems = v
return s
}
// Represents a request to the list uploads operation.
// See also, path_to_url
type ListUploadsInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the project for which you want to list
// uploads.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
// An identifier that was returned from the previous call to this operation,
// which can be used to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
}
// String returns the string representation
func (s ListUploadsInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListUploadsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ListUploadsInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ListUploadsInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if s.NextToken != nil && len(*s.NextToken) < 4 {
invalidParams.Add(request.NewErrParamMinLen("NextToken", 4))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *ListUploadsInput) SetArn(v string) *ListUploadsInput {
s.Arn = &v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *ListUploadsInput) SetNextToken(v string) *ListUploadsInput {
s.NextToken = &v
return s
}
// Represents the result of a list uploads request.
// See also, path_to_url
type ListUploadsOutput struct {
_ struct{} `type:"structure"`
// If the number of items that are returned is significantly large, this is
// an identifier that is also returned, which can be used in a subsequent call
// to this operation to return the next set of items in the list.
NextToken *string `locationName:"nextToken" min:"4" type:"string"`
// Information about the uploads.
Uploads []*Upload `locationName:"uploads" type:"list"`
}
// String returns the string representation
func (s ListUploadsOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ListUploadsOutput) GoString() string {
return s.String()
}
// SetNextToken sets the NextToken field's value.
func (s *ListUploadsOutput) SetNextToken(v string) *ListUploadsOutput {
s.NextToken = &v
return s
}
// SetUploads sets the Uploads field's value.
func (s *ListUploadsOutput) SetUploads(v []*Upload) *ListUploadsOutput {
s.Uploads = v
return s
}
// Represents a latitude and longitude pair, expressed in geographic coordinate
// system degrees (for example 47.6204, -122.3491).
//
// Elevation is currently not supported.
// See also, path_to_url
type Location struct {
_ struct{} `type:"structure"`
// The latitude.
//
// Latitude is a required field
Latitude *float64 `locationName:"latitude" type:"double" required:"true"`
// The longitude.
//
// Longitude is a required field
Longitude *float64 `locationName:"longitude" type:"double" required:"true"`
}
// String returns the string representation
func (s Location) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s Location) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *Location) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "Location"}
if s.Latitude == nil {
invalidParams.Add(request.NewErrParamRequired("Latitude"))
}
if s.Longitude == nil {
invalidParams.Add(request.NewErrParamRequired("Longitude"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetLatitude sets the Latitude field's value.
func (s *Location) SetLatitude(v float64) *Location {
s.Latitude = &v
return s
}
// SetLongitude sets the Longitude field's value.
func (s *Location) SetLongitude(v float64) *Location {
s.Longitude = &v
return s
}
// A number representing the monetary amount for an offering or transaction.
// See also, path_to_url
type MonetaryAmount struct {
_ struct{} `type:"structure"`
// The numerical amount of an offering or transaction.
Amount *float64 `locationName:"amount" type:"double"`
// The currency code of a monetary amount. For example, USD means "U.S. dollars."
CurrencyCode *string `locationName:"currencyCode" type:"string" enum:"CurrencyCode"`
}
// String returns the string representation
func (s MonetaryAmount) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s MonetaryAmount) GoString() string {
return s.String()
}
// SetAmount sets the Amount field's value.
func (s *MonetaryAmount) SetAmount(v float64) *MonetaryAmount {
s.Amount = &v
return s
}
// SetCurrencyCode sets the CurrencyCode field's value.
func (s *MonetaryAmount) SetCurrencyCode(v string) *MonetaryAmount {
s.CurrencyCode = &v
return s
}
// An array of settings that describes characteristics of a network profile.
// See also, path_to_url
type NetworkProfile struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the network profile.
Arn *string `locationName:"arn" min:"32" type:"string"`
// The description of the network profile.
Description *string `locationName:"description" type:"string"`
// The data throughput rate in bits per second, as an integer from 0 to 104857600.
DownlinkBandwidthBits *int64 `locationName:"downlinkBandwidthBits" type:"long"`
// Delay time for all packets to destination in milliseconds as an integer from
// 0 to 2000.
DownlinkDelayMs *int64 `locationName:"downlinkDelayMs" type:"long"`
// Time variation in the delay of received packets in milliseconds as an integer
// from 0 to 2000.
DownlinkJitterMs *int64 `locationName:"downlinkJitterMs" type:"long"`
// Proportion of received packets that fail to arrive from 0 to 100 percent.
DownlinkLossPercent *int64 `locationName:"downlinkLossPercent" type:"integer"`
// The name of the network profile.
Name *string `locationName:"name" type:"string"`
// The type of network profile. Valid values are listed below.
Type *string `locationName:"type" type:"string" enum:"NetworkProfileType"`
// The data throughput rate in bits per second, as an integer from 0 to 104857600.
UplinkBandwidthBits *int64 `locationName:"uplinkBandwidthBits" type:"long"`
// Delay time for all packets to destination in milliseconds as an integer from
// 0 to 2000.
UplinkDelayMs *int64 `locationName:"uplinkDelayMs" type:"long"`
// Time variation in the delay of received packets in milliseconds as an integer
// from 0 to 2000.
UplinkJitterMs *int64 `locationName:"uplinkJitterMs" type:"long"`
// Proportion of transmitted packets that fail to arrive from 0 to 100 percent.
UplinkLossPercent *int64 `locationName:"uplinkLossPercent" type:"integer"`
}
// String returns the string representation
func (s NetworkProfile) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s NetworkProfile) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *NetworkProfile) SetArn(v string) *NetworkProfile {
s.Arn = &v
return s
}
// SetDescription sets the Description field's value.
func (s *NetworkProfile) SetDescription(v string) *NetworkProfile {
s.Description = &v
return s
}
// SetDownlinkBandwidthBits sets the DownlinkBandwidthBits field's value.
func (s *NetworkProfile) SetDownlinkBandwidthBits(v int64) *NetworkProfile {
s.DownlinkBandwidthBits = &v
return s
}
// SetDownlinkDelayMs sets the DownlinkDelayMs field's value.
func (s *NetworkProfile) SetDownlinkDelayMs(v int64) *NetworkProfile {
s.DownlinkDelayMs = &v
return s
}
// SetDownlinkJitterMs sets the DownlinkJitterMs field's value.
func (s *NetworkProfile) SetDownlinkJitterMs(v int64) *NetworkProfile {
s.DownlinkJitterMs = &v
return s
}
// SetDownlinkLossPercent sets the DownlinkLossPercent field's value.
func (s *NetworkProfile) SetDownlinkLossPercent(v int64) *NetworkProfile {
s.DownlinkLossPercent = &v
return s
}
// SetName sets the Name field's value.
func (s *NetworkProfile) SetName(v string) *NetworkProfile {
s.Name = &v
return s
}
// SetType sets the Type field's value.
func (s *NetworkProfile) SetType(v string) *NetworkProfile {
s.Type = &v
return s
}
// SetUplinkBandwidthBits sets the UplinkBandwidthBits field's value.
func (s *NetworkProfile) SetUplinkBandwidthBits(v int64) *NetworkProfile {
s.UplinkBandwidthBits = &v
return s
}
// SetUplinkDelayMs sets the UplinkDelayMs field's value.
func (s *NetworkProfile) SetUplinkDelayMs(v int64) *NetworkProfile {
s.UplinkDelayMs = &v
return s
}
// SetUplinkJitterMs sets the UplinkJitterMs field's value.
func (s *NetworkProfile) SetUplinkJitterMs(v int64) *NetworkProfile {
s.UplinkJitterMs = &v
return s
}
// SetUplinkLossPercent sets the UplinkLossPercent field's value.
func (s *NetworkProfile) SetUplinkLossPercent(v int64) *NetworkProfile {
s.UplinkLossPercent = &v
return s
}
// Represents the metadata of a device offering.
// See also, path_to_url
type Offering struct {
_ struct{} `type:"structure"`
// A string describing the offering.
Description *string `locationName:"description" type:"string"`
// The ID that corresponds to a device offering.
Id *string `locationName:"id" min:"32" type:"string"`
// The platform of the device (e.g., ANDROID or IOS).
Platform *string `locationName:"platform" type:"string" enum:"DevicePlatform"`
// Specifies whether there are recurring charges for the offering.
RecurringCharges []*RecurringCharge `locationName:"recurringCharges" type:"list"`
// The type of offering (e.g., "RECURRING") for a device.
Type *string `locationName:"type" type:"string" enum:"OfferingType"`
}
// String returns the string representation
func (s Offering) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s Offering) GoString() string {
return s.String()
}
// SetDescription sets the Description field's value.
func (s *Offering) SetDescription(v string) *Offering {
s.Description = &v
return s
}
// SetId sets the Id field's value.
func (s *Offering) SetId(v string) *Offering {
s.Id = &v
return s
}
// SetPlatform sets the Platform field's value.
func (s *Offering) SetPlatform(v string) *Offering {
s.Platform = &v
return s
}
// SetRecurringCharges sets the RecurringCharges field's value.
func (s *Offering) SetRecurringCharges(v []*RecurringCharge) *Offering {
s.RecurringCharges = v
return s
}
// SetType sets the Type field's value.
func (s *Offering) SetType(v string) *Offering {
s.Type = &v
return s
}
// Represents information about an offering promotion.
// See also, path_to_url
type OfferingPromotion struct {
_ struct{} `type:"structure"`
// A string describing the offering promotion.
Description *string `locationName:"description" type:"string"`
// The ID of the offering promotion.
Id *string `locationName:"id" min:"4" type:"string"`
}
// String returns the string representation
func (s OfferingPromotion) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s OfferingPromotion) GoString() string {
return s.String()
}
// SetDescription sets the Description field's value.
func (s *OfferingPromotion) SetDescription(v string) *OfferingPromotion {
s.Description = &v
return s
}
// SetId sets the Id field's value.
func (s *OfferingPromotion) SetId(v string) *OfferingPromotion {
s.Id = &v
return s
}
// The status of the offering.
// See also, path_to_url
type OfferingStatus struct {
_ struct{} `type:"structure"`
// The date on which the offering is effective.
EffectiveOn *time.Time `locationName:"effectiveOn" type:"timestamp" timestampFormat:"unix"`
// Represents the metadata of an offering status.
Offering *Offering `locationName:"offering" type:"structure"`
// The number of available devices in the offering.
Quantity *int64 `locationName:"quantity" type:"integer"`
// The type specified for the offering status.
Type *string `locationName:"type" type:"string" enum:"OfferingTransactionType"`
}
// String returns the string representation
func (s OfferingStatus) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s OfferingStatus) GoString() string {
return s.String()
}
// SetEffectiveOn sets the EffectiveOn field's value.
func (s *OfferingStatus) SetEffectiveOn(v time.Time) *OfferingStatus {
s.EffectiveOn = &v
return s
}
// SetOffering sets the Offering field's value.
func (s *OfferingStatus) SetOffering(v *Offering) *OfferingStatus {
s.Offering = v
return s
}
// SetQuantity sets the Quantity field's value.
func (s *OfferingStatus) SetQuantity(v int64) *OfferingStatus {
s.Quantity = &v
return s
}
// SetType sets the Type field's value.
func (s *OfferingStatus) SetType(v string) *OfferingStatus {
s.Type = &v
return s
}
// Represents the metadata of an offering transaction.
// See also, path_to_url
type OfferingTransaction struct {
_ struct{} `type:"structure"`
// The cost of an offering transaction.
Cost *MonetaryAmount `locationName:"cost" type:"structure"`
// The date on which an offering transaction was created.
CreatedOn *time.Time `locationName:"createdOn" type:"timestamp" timestampFormat:"unix"`
// The ID that corresponds to a device offering promotion.
OfferingPromotionId *string `locationName:"offeringPromotionId" min:"4" type:"string"`
// The status of an offering transaction.
OfferingStatus *OfferingStatus `locationName:"offeringStatus" type:"structure"`
// The transaction ID of the offering transaction.
TransactionId *string `locationName:"transactionId" min:"32" type:"string"`
}
// String returns the string representation
func (s OfferingTransaction) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s OfferingTransaction) GoString() string {
return s.String()
}
// SetCost sets the Cost field's value.
func (s *OfferingTransaction) SetCost(v *MonetaryAmount) *OfferingTransaction {
s.Cost = v
return s
}
// SetCreatedOn sets the CreatedOn field's value.
func (s *OfferingTransaction) SetCreatedOn(v time.Time) *OfferingTransaction {
s.CreatedOn = &v
return s
}
// SetOfferingPromotionId sets the OfferingPromotionId field's value.
func (s *OfferingTransaction) SetOfferingPromotionId(v string) *OfferingTransaction {
s.OfferingPromotionId = &v
return s
}
// SetOfferingStatus sets the OfferingStatus field's value.
func (s *OfferingTransaction) SetOfferingStatus(v *OfferingStatus) *OfferingTransaction {
s.OfferingStatus = v
return s
}
// SetTransactionId sets the TransactionId field's value.
func (s *OfferingTransaction) SetTransactionId(v string) *OfferingTransaction {
s.TransactionId = &v
return s
}
// Represents a specific warning or failure.
// See also, path_to_url
type Problem struct {
_ struct{} `type:"structure"`
// Information about the associated device.
Device *Device `locationName:"device" type:"structure"`
// Information about the associated job.
Job *ProblemDetail `locationName:"job" type:"structure"`
// A message about the problem's result.
Message *string `locationName:"message" type:"string"`
// The problem's result.
//
// Allowed values include:
//
// * PENDING: A pending condition.
//
// * PASSED: A passing condition.
//
// * WARNED: A warning condition.
//
// * FAILED: A failed condition.
//
// * SKIPPED: A skipped condition.
//
// * ERRORED: An error condition.
//
// * STOPPED: A stopped condition.
Result *string `locationName:"result" type:"string" enum:"ExecutionResult"`
// Information about the associated run.
Run *ProblemDetail `locationName:"run" type:"structure"`
// Information about the associated suite.
Suite *ProblemDetail `locationName:"suite" type:"structure"`
// Information about the associated test.
Test *ProblemDetail `locationName:"test" type:"structure"`
}
// String returns the string representation
func (s Problem) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s Problem) GoString() string {
return s.String()
}
// SetDevice sets the Device field's value.
func (s *Problem) SetDevice(v *Device) *Problem {
s.Device = v
return s
}
// SetJob sets the Job field's value.
func (s *Problem) SetJob(v *ProblemDetail) *Problem {
s.Job = v
return s
}
// SetMessage sets the Message field's value.
func (s *Problem) SetMessage(v string) *Problem {
s.Message = &v
return s
}
// SetResult sets the Result field's value.
func (s *Problem) SetResult(v string) *Problem {
s.Result = &v
return s
}
// SetRun sets the Run field's value.
func (s *Problem) SetRun(v *ProblemDetail) *Problem {
s.Run = v
return s
}
// SetSuite sets the Suite field's value.
func (s *Problem) SetSuite(v *ProblemDetail) *Problem {
s.Suite = v
return s
}
// SetTest sets the Test field's value.
func (s *Problem) SetTest(v *ProblemDetail) *Problem {
s.Test = v
return s
}
// Information about a problem detail.
// See also, path_to_url
type ProblemDetail struct {
_ struct{} `type:"structure"`
// The problem detail's ARN.
Arn *string `locationName:"arn" min:"32" type:"string"`
// The problem detail's name.
Name *string `locationName:"name" type:"string"`
}
// String returns the string representation
func (s ProblemDetail) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ProblemDetail) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *ProblemDetail) SetArn(v string) *ProblemDetail {
s.Arn = &v
return s
}
// SetName sets the Name field's value.
func (s *ProblemDetail) SetName(v string) *ProblemDetail {
s.Name = &v
return s
}
// Represents an operating-system neutral workspace for running and managing
// tests.
// See also, path_to_url
type Project struct {
_ struct{} `type:"structure"`
// The project's ARN.
Arn *string `locationName:"arn" min:"32" type:"string"`
// When the project was created.
Created *time.Time `locationName:"created" type:"timestamp" timestampFormat:"unix"`
// The default number of minutes (at the project level) a test run will execute
// before it times out. Default value is 60 minutes.
DefaultJobTimeoutMinutes *int64 `locationName:"defaultJobTimeoutMinutes" type:"integer"`
// The project's name.
Name *string `locationName:"name" type:"string"`
}
// String returns the string representation
func (s Project) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s Project) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *Project) SetArn(v string) *Project {
s.Arn = &v
return s
}
// SetCreated sets the Created field's value.
func (s *Project) SetCreated(v time.Time) *Project {
s.Created = &v
return s
}
// SetDefaultJobTimeoutMinutes sets the DefaultJobTimeoutMinutes field's value.
func (s *Project) SetDefaultJobTimeoutMinutes(v int64) *Project {
s.DefaultJobTimeoutMinutes = &v
return s
}
// SetName sets the Name field's value.
func (s *Project) SetName(v string) *Project {
s.Name = &v
return s
}
// Represents a request for a purchase offering.
// See also, path_to_url
type PurchaseOfferingInput struct {
_ struct{} `type:"structure"`
// The ID of the offering.
OfferingId *string `locationName:"offeringId" min:"32" type:"string"`
// The ID of the offering promotion to be applied to the purchase.
OfferingPromotionId *string `locationName:"offeringPromotionId" min:"4" type:"string"`
// The number of device slots you wish to purchase in an offering request.
Quantity *int64 `locationName:"quantity" type:"integer"`
}
// String returns the string representation
func (s PurchaseOfferingInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s PurchaseOfferingInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *PurchaseOfferingInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "PurchaseOfferingInput"}
if s.OfferingId != nil && len(*s.OfferingId) < 32 {
invalidParams.Add(request.NewErrParamMinLen("OfferingId", 32))
}
if s.OfferingPromotionId != nil && len(*s.OfferingPromotionId) < 4 {
invalidParams.Add(request.NewErrParamMinLen("OfferingPromotionId", 4))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetOfferingId sets the OfferingId field's value.
func (s *PurchaseOfferingInput) SetOfferingId(v string) *PurchaseOfferingInput {
s.OfferingId = &v
return s
}
// SetOfferingPromotionId sets the OfferingPromotionId field's value.
func (s *PurchaseOfferingInput) SetOfferingPromotionId(v string) *PurchaseOfferingInput {
s.OfferingPromotionId = &v
return s
}
// SetQuantity sets the Quantity field's value.
func (s *PurchaseOfferingInput) SetQuantity(v int64) *PurchaseOfferingInput {
s.Quantity = &v
return s
}
// The result of the purchase offering (e.g., success or failure).
// See also, path_to_url
type PurchaseOfferingOutput struct {
_ struct{} `type:"structure"`
// Represents the offering transaction for the purchase result.
OfferingTransaction *OfferingTransaction `locationName:"offeringTransaction" type:"structure"`
}
// String returns the string representation
func (s PurchaseOfferingOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s PurchaseOfferingOutput) GoString() string {
return s.String()
}
// SetOfferingTransaction sets the OfferingTransaction field's value.
func (s *PurchaseOfferingOutput) SetOfferingTransaction(v *OfferingTransaction) *PurchaseOfferingOutput {
s.OfferingTransaction = v
return s
}
// Represents the set of radios and their states on a device. Examples of radios
// include Wi-Fi, GPS, Bluetooth, and NFC.
// See also, path_to_url
type Radios struct {
_ struct{} `type:"structure"`
// True if Bluetooth is enabled at the beginning of the test; otherwise, false.
Bluetooth *bool `locationName:"bluetooth" type:"boolean"`
// True if GPS is enabled at the beginning of the test; otherwise, false.
Gps *bool `locationName:"gps" type:"boolean"`
// True if NFC is enabled at the beginning of the test; otherwise, false.
Nfc *bool `locationName:"nfc" type:"boolean"`
// True if Wi-Fi is enabled at the beginning of the test; otherwise, false.
Wifi *bool `locationName:"wifi" type:"boolean"`
}
// String returns the string representation
func (s Radios) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s Radios) GoString() string {
return s.String()
}
// SetBluetooth sets the Bluetooth field's value.
func (s *Radios) SetBluetooth(v bool) *Radios {
s.Bluetooth = &v
return s
}
// SetGps sets the Gps field's value.
func (s *Radios) SetGps(v bool) *Radios {
s.Gps = &v
return s
}
// SetNfc sets the Nfc field's value.
func (s *Radios) SetNfc(v bool) *Radios {
s.Nfc = &v
return s
}
// SetWifi sets the Wifi field's value.
func (s *Radios) SetWifi(v bool) *Radios {
s.Wifi = &v
return s
}
// Specifies whether charges for devices will be recurring.
// See also, path_to_url
type RecurringCharge struct {
_ struct{} `type:"structure"`
// The cost of the recurring charge.
Cost *MonetaryAmount `locationName:"cost" type:"structure"`
// The frequency in which charges will recur.
Frequency *string `locationName:"frequency" type:"string" enum:"RecurringChargeFrequency"`
}
// String returns the string representation
func (s RecurringCharge) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s RecurringCharge) GoString() string {
return s.String()
}
// SetCost sets the Cost field's value.
func (s *RecurringCharge) SetCost(v *MonetaryAmount) *RecurringCharge {
s.Cost = v
return s
}
// SetFrequency sets the Frequency field's value.
func (s *RecurringCharge) SetFrequency(v string) *RecurringCharge {
s.Frequency = &v
return s
}
// Represents information about the remote access session.
// See also, path_to_url
type RemoteAccessSession struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the remote access session.
Arn *string `locationName:"arn" min:"32" type:"string"`
// The billing method of the remote access session. Possible values include
// METERED or UNMETERED. For more information about metered devices, see AWS
// Device Farm terminology (path_to_url#welcome-terminology)."
BillingMethod *string `locationName:"billingMethod" type:"string" enum:"BillingMethod"`
// Unique identifier of your client for the remote access session. Only returned
// if remote debugging is enabled for the remote access session.
ClientId *string `locationName:"clientId" type:"string"`
// The date and time the remote access session was created.
Created *time.Time `locationName:"created" type:"timestamp" timestampFormat:"unix"`
// The device (phone or tablet) used in the remote access session.
Device *Device `locationName:"device" type:"structure"`
// The number of minutes a device is used in a remote access sesssion (including
// setup and teardown minutes).
DeviceMinutes *DeviceMinutes `locationName:"deviceMinutes" type:"structure"`
// Unique device identifier for the remote device. Only returned if remote debugging
// is enabled for the remote access session.
DeviceUdid *string `locationName:"deviceUdid" type:"string"`
// The endpoint for the remote access sesssion.
Endpoint *string `locationName:"endpoint" type:"string"`
// IP address of the EC2 host where you need to connect to remotely debug devices.
// Only returned if remote debugging is enabled for the remote access session.
HostAddress *string `locationName:"hostAddress" type:"string"`
// A message about the remote access session.
Message *string `locationName:"message" type:"string"`
// The name of the remote access session.
Name *string `locationName:"name" type:"string"`
// This flag is set to true if remote debugging is enabled for the remote access
// session.
RemoteDebugEnabled *bool `locationName:"remoteDebugEnabled" type:"boolean"`
// The result of the remote access session. Can be any of the following:
//
// * PENDING: A pending condition.
//
// * PASSED: A passing condition.
//
// * WARNED: A warning condition.
//
// * FAILED: A failed condition.
//
// * SKIPPED: A skipped condition.
//
// * ERRORED: An error condition.
//
// * STOPPED: A stopped condition.
Result *string `locationName:"result" type:"string" enum:"ExecutionResult"`
// The date and time the remote access session was started.
Started *time.Time `locationName:"started" type:"timestamp" timestampFormat:"unix"`
// The status of the remote access session. Can be any of the following:
//
// * PENDING: A pending status.
//
// * PENDING_CONCURRENCY: A pending concurrency status.
//
// * PENDING_DEVICE: A pending device status.
//
// * PROCESSING: A processing status.
//
// * SCHEDULING: A scheduling status.
//
// * PREPARING: A preparing status.
//
// * RUNNING: A running status.
//
// * COMPLETED: A completed status.
//
// * STOPPING: A stopping status.
Status *string `locationName:"status" type:"string" enum:"ExecutionStatus"`
// The date and time the remote access session was stopped.
Stopped *time.Time `locationName:"stopped" type:"timestamp" timestampFormat:"unix"`
}
// String returns the string representation
func (s RemoteAccessSession) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s RemoteAccessSession) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *RemoteAccessSession) SetArn(v string) *RemoteAccessSession {
s.Arn = &v
return s
}
// SetBillingMethod sets the BillingMethod field's value.
func (s *RemoteAccessSession) SetBillingMethod(v string) *RemoteAccessSession {
s.BillingMethod = &v
return s
}
// SetClientId sets the ClientId field's value.
func (s *RemoteAccessSession) SetClientId(v string) *RemoteAccessSession {
s.ClientId = &v
return s
}
// SetCreated sets the Created field's value.
func (s *RemoteAccessSession) SetCreated(v time.Time) *RemoteAccessSession {
s.Created = &v
return s
}
// SetDevice sets the Device field's value.
func (s *RemoteAccessSession) SetDevice(v *Device) *RemoteAccessSession {
s.Device = v
return s
}
// SetDeviceMinutes sets the DeviceMinutes field's value.
func (s *RemoteAccessSession) SetDeviceMinutes(v *DeviceMinutes) *RemoteAccessSession {
s.DeviceMinutes = v
return s
}
// SetDeviceUdid sets the DeviceUdid field's value.
func (s *RemoteAccessSession) SetDeviceUdid(v string) *RemoteAccessSession {
s.DeviceUdid = &v
return s
}
// SetEndpoint sets the Endpoint field's value.
func (s *RemoteAccessSession) SetEndpoint(v string) *RemoteAccessSession {
s.Endpoint = &v
return s
}
// SetHostAddress sets the HostAddress field's value.
func (s *RemoteAccessSession) SetHostAddress(v string) *RemoteAccessSession {
s.HostAddress = &v
return s
}
// SetMessage sets the Message field's value.
func (s *RemoteAccessSession) SetMessage(v string) *RemoteAccessSession {
s.Message = &v
return s
}
// SetName sets the Name field's value.
func (s *RemoteAccessSession) SetName(v string) *RemoteAccessSession {
s.Name = &v
return s
}
// SetRemoteDebugEnabled sets the RemoteDebugEnabled field's value.
func (s *RemoteAccessSession) SetRemoteDebugEnabled(v bool) *RemoteAccessSession {
s.RemoteDebugEnabled = &v
return s
}
// SetResult sets the Result field's value.
func (s *RemoteAccessSession) SetResult(v string) *RemoteAccessSession {
s.Result = &v
return s
}
// SetStarted sets the Started field's value.
func (s *RemoteAccessSession) SetStarted(v time.Time) *RemoteAccessSession {
s.Started = &v
return s
}
// SetStatus sets the Status field's value.
func (s *RemoteAccessSession) SetStatus(v string) *RemoteAccessSession {
s.Status = &v
return s
}
// SetStopped sets the Stopped field's value.
func (s *RemoteAccessSession) SetStopped(v time.Time) *RemoteAccessSession {
s.Stopped = &v
return s
}
// A request representing an offering renewal.
// See also, path_to_url
type RenewOfferingInput struct {
_ struct{} `type:"structure"`
// The ID of a request to renew an offering.
OfferingId *string `locationName:"offeringId" min:"32" type:"string"`
// The quantity requested in an offering renewal.
Quantity *int64 `locationName:"quantity" type:"integer"`
}
// String returns the string representation
func (s RenewOfferingInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s RenewOfferingInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *RenewOfferingInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "RenewOfferingInput"}
if s.OfferingId != nil && len(*s.OfferingId) < 32 {
invalidParams.Add(request.NewErrParamMinLen("OfferingId", 32))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetOfferingId sets the OfferingId field's value.
func (s *RenewOfferingInput) SetOfferingId(v string) *RenewOfferingInput {
s.OfferingId = &v
return s
}
// SetQuantity sets the Quantity field's value.
func (s *RenewOfferingInput) SetQuantity(v int64) *RenewOfferingInput {
s.Quantity = &v
return s
}
// The result of a renewal offering.
// See also, path_to_url
type RenewOfferingOutput struct {
_ struct{} `type:"structure"`
// Represents the status of the offering transaction for the renewal.
OfferingTransaction *OfferingTransaction `locationName:"offeringTransaction" type:"structure"`
}
// String returns the string representation
func (s RenewOfferingOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s RenewOfferingOutput) GoString() string {
return s.String()
}
// SetOfferingTransaction sets the OfferingTransaction field's value.
func (s *RenewOfferingOutput) SetOfferingTransaction(v *OfferingTransaction) *RenewOfferingOutput {
s.OfferingTransaction = v
return s
}
// Represents the screen resolution of a device in height and width, expressed
// in pixels.
// See also, path_to_url
type Resolution struct {
_ struct{} `type:"structure"`
// The screen resolution's height, expressed in pixels.
Height *int64 `locationName:"height" type:"integer"`
// The screen resolution's width, expressed in pixels.
Width *int64 `locationName:"width" type:"integer"`
}
// String returns the string representation
func (s Resolution) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s Resolution) GoString() string {
return s.String()
}
// SetHeight sets the Height field's value.
func (s *Resolution) SetHeight(v int64) *Resolution {
s.Height = &v
return s
}
// SetWidth sets the Width field's value.
func (s *Resolution) SetWidth(v int64) *Resolution {
s.Width = &v
return s
}
// Represents a condition for a device pool.
// See also, path_to_url
type Rule struct {
_ struct{} `type:"structure"`
// The rule's stringified attribute. For example, specify the value as "\"abc\"".
//
// Allowed values include:
//
// * ARN: The ARN.
//
// * FORM_FACTOR: The form factor (for example, phone or tablet).
//
// * MANUFACTURER: The manufacturer.
//
// * PLATFORM: The platform (for example, Android or iOS).
//
// * REMOTE_ACCESS_ENABLED: Whether the device is enabled for remote access.
//
// * APPIUM_VERSION: The Appium version for the test.
Attribute *string `locationName:"attribute" type:"string" enum:"DeviceAttribute"`
// The rule's operator.
//
// * EQUALS: The equals operator.
//
// * GREATER_THAN: The greater-than operator.
//
// * IN: The in operator.
//
// * LESS_THAN: The less-than operator.
//
// * NOT_IN: The not-in operator.
//
// * CONTAINS: The contains operator.
Operator *string `locationName:"operator" type:"string" enum:"RuleOperator"`
// The rule's value.
Value *string `locationName:"value" type:"string"`
}
// String returns the string representation
func (s Rule) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s Rule) GoString() string {
return s.String()
}
// SetAttribute sets the Attribute field's value.
func (s *Rule) SetAttribute(v string) *Rule {
s.Attribute = &v
return s
}
// SetOperator sets the Operator field's value.
func (s *Rule) SetOperator(v string) *Rule {
s.Operator = &v
return s
}
// SetValue sets the Value field's value.
func (s *Rule) SetValue(v string) *Rule {
s.Value = &v
return s
}
// Represents a test run on a set of devices with a given app package, test
// parameters, etc.
// See also, path_to_url
type Run struct {
_ struct{} `type:"structure"`
// The run's ARN.
Arn *string `locationName:"arn" min:"32" type:"string"`
// Specifies the billing method for a test run: metered or unmetered. If the
// parameter is not specified, the default value is metered.
BillingMethod *string `locationName:"billingMethod" type:"string" enum:"BillingMethod"`
// The total number of completed jobs.
CompletedJobs *int64 `locationName:"completedJobs" type:"integer"`
// The run's result counters.
Counters *Counters `locationName:"counters" type:"structure"`
// When the run was created.
Created *time.Time `locationName:"created" type:"timestamp" timestampFormat:"unix"`
// Output CustomerArtifactPaths object for the test run.
CustomerArtifactPaths *CustomerArtifactPaths `locationName:"customerArtifactPaths" type:"structure"`
// Represents the total (metered or unmetered) minutes used by the test run.
DeviceMinutes *DeviceMinutes `locationName:"deviceMinutes" type:"structure"`
// A message about the run's result.
Message *string `locationName:"message" type:"string"`
// The run's name.
Name *string `locationName:"name" type:"string"`
// The network profile being used for a test run.
NetworkProfile *NetworkProfile `locationName:"networkProfile" type:"structure"`
// Read-only URL for an object in S3 bucket where you can get the parsing results
// of the test package. If the test package doesn't parse, the reason why it
// doesn't parse appears in the file that this URL points to.
ParsingResultUrl *string `locationName:"parsingResultUrl" type:"string"`
// The run's platform.
//
// Allowed values include:
//
// * ANDROID: The Android platform.
//
// * IOS: The iOS platform.
Platform *string `locationName:"platform" type:"string" enum:"DevicePlatform"`
// The run's result.
//
// Allowed values include:
//
// * PENDING: A pending condition.
//
// * PASSED: A passing condition.
//
// * WARNED: A warning condition.
//
// * FAILED: A failed condition.
//
// * SKIPPED: A skipped condition.
//
// * ERRORED: An error condition.
//
// * STOPPED: A stopped condition.
Result *string `locationName:"result" type:"string" enum:"ExecutionResult"`
// Supporting field for the result field. Set only if result is SKIPPED. PARSING_FAILED
// if the result is skipped because of test package parsing failure.
ResultCode *string `locationName:"resultCode" type:"string" enum:"ExecutionResultCode"`
// The run's start time.
Started *time.Time `locationName:"started" type:"timestamp" timestampFormat:"unix"`
// The run's status.
//
// Allowed values include:
//
// * PENDING: A pending status.
//
// * PENDING_CONCURRENCY: A pending concurrency status.
//
// * PENDING_DEVICE: A pending device status.
//
// * PROCESSING: A processing status.
//
// * SCHEDULING: A scheduling status.
//
// * PREPARING: A preparing status.
//
// * RUNNING: A running status.
//
// * COMPLETED: A completed status.
//
// * STOPPING: A stopping status.
Status *string `locationName:"status" type:"string" enum:"ExecutionStatus"`
// The run's stop time.
Stopped *time.Time `locationName:"stopped" type:"timestamp" timestampFormat:"unix"`
// The total number of jobs for the run.
TotalJobs *int64 `locationName:"totalJobs" type:"integer"`
// The run's type.
//
// Must be one of the following values:
//
// * BUILTIN_FUZZ: The built-in fuzz type.
//
// * BUILTIN_EXPLORER: For Android, an app explorer that will traverse an
// Android app, interacting with it and capturing screenshots at the same
// time.
//
// * APPIUM_JAVA_JUNIT: The Appium Java JUnit type.
//
// * APPIUM_JAVA_TESTNG: The Appium Java TestNG type.
//
// * APPIUM_PYTHON: The Appium Python type.
//
// * APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.
//
// * APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.
//
// * APPIUM_WEB_PYTHON: The Appium Python type for Web apps.
//
// * CALABASH: The Calabash type.
//
// * INSTRUMENTATION: The Instrumentation type.
//
// * UIAUTOMATION: The uiautomation type.
//
// * UIAUTOMATOR: The uiautomator type.
//
// * XCTEST: The XCode test type.
//
// * XCTEST_UI: The XCode UI test type.
Type *string `locationName:"type" type:"string" enum:"TestType"`
}
// String returns the string representation
func (s Run) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s Run) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *Run) SetArn(v string) *Run {
s.Arn = &v
return s
}
// SetBillingMethod sets the BillingMethod field's value.
func (s *Run) SetBillingMethod(v string) *Run {
s.BillingMethod = &v
return s
}
// SetCompletedJobs sets the CompletedJobs field's value.
func (s *Run) SetCompletedJobs(v int64) *Run {
s.CompletedJobs = &v
return s
}
// SetCounters sets the Counters field's value.
func (s *Run) SetCounters(v *Counters) *Run {
s.Counters = v
return s
}
// SetCreated sets the Created field's value.
func (s *Run) SetCreated(v time.Time) *Run {
s.Created = &v
return s
}
// SetCustomerArtifactPaths sets the CustomerArtifactPaths field's value.
func (s *Run) SetCustomerArtifactPaths(v *CustomerArtifactPaths) *Run {
s.CustomerArtifactPaths = v
return s
}
// SetDeviceMinutes sets the DeviceMinutes field's value.
func (s *Run) SetDeviceMinutes(v *DeviceMinutes) *Run {
s.DeviceMinutes = v
return s
}
// SetMessage sets the Message field's value.
func (s *Run) SetMessage(v string) *Run {
s.Message = &v
return s
}
// SetName sets the Name field's value.
func (s *Run) SetName(v string) *Run {
s.Name = &v
return s
}
// SetNetworkProfile sets the NetworkProfile field's value.
func (s *Run) SetNetworkProfile(v *NetworkProfile) *Run {
s.NetworkProfile = v
return s
}
// SetParsingResultUrl sets the ParsingResultUrl field's value.
func (s *Run) SetParsingResultUrl(v string) *Run {
s.ParsingResultUrl = &v
return s
}
// SetPlatform sets the Platform field's value.
func (s *Run) SetPlatform(v string) *Run {
s.Platform = &v
return s
}
// SetResult sets the Result field's value.
func (s *Run) SetResult(v string) *Run {
s.Result = &v
return s
}
// SetResultCode sets the ResultCode field's value.
func (s *Run) SetResultCode(v string) *Run {
s.ResultCode = &v
return s
}
// SetStarted sets the Started field's value.
func (s *Run) SetStarted(v time.Time) *Run {
s.Started = &v
return s
}
// SetStatus sets the Status field's value.
func (s *Run) SetStatus(v string) *Run {
s.Status = &v
return s
}
// SetStopped sets the Stopped field's value.
func (s *Run) SetStopped(v time.Time) *Run {
s.Stopped = &v
return s
}
// SetTotalJobs sets the TotalJobs field's value.
func (s *Run) SetTotalJobs(v int64) *Run {
s.TotalJobs = &v
return s
}
// SetType sets the Type field's value.
func (s *Run) SetType(v string) *Run {
s.Type = &v
return s
}
// Represents a sample of performance data.
// See also, path_to_url
type Sample struct {
_ struct{} `type:"structure"`
// The sample's ARN.
Arn *string `locationName:"arn" min:"32" type:"string"`
// The sample's type.
//
// Must be one of the following values:
//
// * CPU: A CPU sample type. This is expressed as the app processing CPU
// time (including child processes) as reported by process, as a percentage.
//
// * MEMORY: A memory usage sample type. This is expressed as the total proportional
// set size of an app process, in kilobytes.
//
// * NATIVE_AVG_DRAWTIME
//
// * NATIVE_FPS
//
// * NATIVE_FRAMES
//
// * NATIVE_MAX_DRAWTIME
//
// * NATIVE_MIN_DRAWTIME
//
// * OPENGL_AVG_DRAWTIME
//
// * OPENGL_FPS
//
// * OPENGL_FRAMES
//
// * OPENGL_MAX_DRAWTIME
//
// * OPENGL_MIN_DRAWTIME
//
// * RX
//
// * RX_RATE: The total number of bytes per second (TCP and UDP) that are
// sent, by app process.
//
// * THREADS: A threads sample type. This is expressed as the total number
// of threads per app process.
//
// * TX
//
// * TX_RATE: The total number of bytes per second (TCP and UDP) that are
// received, by app process.
Type *string `locationName:"type" type:"string" enum:"SampleType"`
// The pre-signed Amazon S3 URL that can be used with a corresponding GET request
// to download the sample's file.
Url *string `locationName:"url" type:"string"`
}
// String returns the string representation
func (s Sample) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s Sample) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *Sample) SetArn(v string) *Sample {
s.Arn = &v
return s
}
// SetType sets the Type field's value.
func (s *Sample) SetType(v string) *Sample {
s.Type = &v
return s
}
// SetUrl sets the Url field's value.
func (s *Sample) SetUrl(v string) *Sample {
s.Url = &v
return s
}
// Represents the settings for a run. Includes things like location, radio states,
// auxiliary apps, and network profiles.
// See also, path_to_url
type ScheduleRunConfiguration struct {
_ struct{} `type:"structure"`
// A list of auxiliary apps for the run.
AuxiliaryApps []*string `locationName:"auxiliaryApps" type:"list"`
// Specifies the billing method for a test run: metered or unmetered. If the
// parameter is not specified, the default value is metered.
BillingMethod *string `locationName:"billingMethod" type:"string" enum:"BillingMethod"`
// Input CustomerArtifactPaths object for the scheduled run configuration.
CustomerArtifactPaths *CustomerArtifactPaths `locationName:"customerArtifactPaths" type:"structure"`
// The ARN of the extra data for the run. The extra data is a .zip file that
// AWS Device Farm will extract to external data for Android or the app's sandbox
// for iOS.
ExtraDataPackageArn *string `locationName:"extraDataPackageArn" min:"32" type:"string"`
// Information about the locale that is used for the run.
Locale *string `locationName:"locale" type:"string"`
// Information about the location that is used for the run.
Location *Location `locationName:"location" type:"structure"`
// Reserved for internal use.
NetworkProfileArn *string `locationName:"networkProfileArn" min:"32" type:"string"`
// Information about the radio states for the run.
Radios *Radios `locationName:"radios" type:"structure"`
}
// String returns the string representation
func (s ScheduleRunConfiguration) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ScheduleRunConfiguration) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ScheduleRunConfiguration) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ScheduleRunConfiguration"}
if s.ExtraDataPackageArn != nil && len(*s.ExtraDataPackageArn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("ExtraDataPackageArn", 32))
}
if s.NetworkProfileArn != nil && len(*s.NetworkProfileArn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("NetworkProfileArn", 32))
}
if s.Location != nil {
if err := s.Location.Validate(); err != nil {
invalidParams.AddNested("Location", err.(request.ErrInvalidParams))
}
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetAuxiliaryApps sets the AuxiliaryApps field's value.
func (s *ScheduleRunConfiguration) SetAuxiliaryApps(v []*string) *ScheduleRunConfiguration {
s.AuxiliaryApps = v
return s
}
// SetBillingMethod sets the BillingMethod field's value.
func (s *ScheduleRunConfiguration) SetBillingMethod(v string) *ScheduleRunConfiguration {
s.BillingMethod = &v
return s
}
// SetCustomerArtifactPaths sets the CustomerArtifactPaths field's value.
func (s *ScheduleRunConfiguration) SetCustomerArtifactPaths(v *CustomerArtifactPaths) *ScheduleRunConfiguration {
s.CustomerArtifactPaths = v
return s
}
// SetExtraDataPackageArn sets the ExtraDataPackageArn field's value.
func (s *ScheduleRunConfiguration) SetExtraDataPackageArn(v string) *ScheduleRunConfiguration {
s.ExtraDataPackageArn = &v
return s
}
// SetLocale sets the Locale field's value.
func (s *ScheduleRunConfiguration) SetLocale(v string) *ScheduleRunConfiguration {
s.Locale = &v
return s
}
// SetLocation sets the Location field's value.
func (s *ScheduleRunConfiguration) SetLocation(v *Location) *ScheduleRunConfiguration {
s.Location = v
return s
}
// SetNetworkProfileArn sets the NetworkProfileArn field's value.
func (s *ScheduleRunConfiguration) SetNetworkProfileArn(v string) *ScheduleRunConfiguration {
s.NetworkProfileArn = &v
return s
}
// SetRadios sets the Radios field's value.
func (s *ScheduleRunConfiguration) SetRadios(v *Radios) *ScheduleRunConfiguration {
s.Radios = v
return s
}
// Represents a request to the schedule run operation.
// See also, path_to_url
type ScheduleRunInput struct {
_ struct{} `type:"structure"`
// The ARN of the app to schedule a run.
AppArn *string `locationName:"appArn" min:"32" type:"string"`
// Information about the settings for the run to be scheduled.
Configuration *ScheduleRunConfiguration `locationName:"configuration" type:"structure"`
// The ARN of the device pool for the run to be scheduled.
//
// DevicePoolArn is a required field
DevicePoolArn *string `locationName:"devicePoolArn" min:"32" type:"string" required:"true"`
// Specifies configuration information about a test run, such as the execution
// timeout (in minutes).
ExecutionConfiguration *ExecutionConfiguration `locationName:"executionConfiguration" type:"structure"`
// The name for the run to be scheduled.
Name *string `locationName:"name" type:"string"`
// The ARN of the project for the run to be scheduled.
//
// ProjectArn is a required field
ProjectArn *string `locationName:"projectArn" min:"32" type:"string" required:"true"`
// Information about the test for the run to be scheduled.
//
// Test is a required field
Test *ScheduleRunTest `locationName:"test" type:"structure" required:"true"`
}
// String returns the string representation
func (s ScheduleRunInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ScheduleRunInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ScheduleRunInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ScheduleRunInput"}
if s.AppArn != nil && len(*s.AppArn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("AppArn", 32))
}
if s.DevicePoolArn == nil {
invalidParams.Add(request.NewErrParamRequired("DevicePoolArn"))
}
if s.DevicePoolArn != nil && len(*s.DevicePoolArn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("DevicePoolArn", 32))
}
if s.ProjectArn == nil {
invalidParams.Add(request.NewErrParamRequired("ProjectArn"))
}
if s.ProjectArn != nil && len(*s.ProjectArn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("ProjectArn", 32))
}
if s.Test == nil {
invalidParams.Add(request.NewErrParamRequired("Test"))
}
if s.Configuration != nil {
if err := s.Configuration.Validate(); err != nil {
invalidParams.AddNested("Configuration", err.(request.ErrInvalidParams))
}
}
if s.Test != nil {
if err := s.Test.Validate(); err != nil {
invalidParams.AddNested("Test", err.(request.ErrInvalidParams))
}
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetAppArn sets the AppArn field's value.
func (s *ScheduleRunInput) SetAppArn(v string) *ScheduleRunInput {
s.AppArn = &v
return s
}
// SetConfiguration sets the Configuration field's value.
func (s *ScheduleRunInput) SetConfiguration(v *ScheduleRunConfiguration) *ScheduleRunInput {
s.Configuration = v
return s
}
// SetDevicePoolArn sets the DevicePoolArn field's value.
func (s *ScheduleRunInput) SetDevicePoolArn(v string) *ScheduleRunInput {
s.DevicePoolArn = &v
return s
}
// SetExecutionConfiguration sets the ExecutionConfiguration field's value.
func (s *ScheduleRunInput) SetExecutionConfiguration(v *ExecutionConfiguration) *ScheduleRunInput {
s.ExecutionConfiguration = v
return s
}
// SetName sets the Name field's value.
func (s *ScheduleRunInput) SetName(v string) *ScheduleRunInput {
s.Name = &v
return s
}
// SetProjectArn sets the ProjectArn field's value.
func (s *ScheduleRunInput) SetProjectArn(v string) *ScheduleRunInput {
s.ProjectArn = &v
return s
}
// SetTest sets the Test field's value.
func (s *ScheduleRunInput) SetTest(v *ScheduleRunTest) *ScheduleRunInput {
s.Test = v
return s
}
// Represents the result of a schedule run request.
// See also, path_to_url
type ScheduleRunOutput struct {
_ struct{} `type:"structure"`
// Information about the scheduled run.
Run *Run `locationName:"run" type:"structure"`
}
// String returns the string representation
func (s ScheduleRunOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ScheduleRunOutput) GoString() string {
return s.String()
}
// SetRun sets the Run field's value.
func (s *ScheduleRunOutput) SetRun(v *Run) *ScheduleRunOutput {
s.Run = v
return s
}
// Represents additional test settings.
// See also, path_to_url
type ScheduleRunTest struct {
_ struct{} `type:"structure"`
// The test's filter.
Filter *string `locationName:"filter" type:"string"`
// The test's parameters, such as the following test framework parameters and
// fixture settings:
//
// For Calabash tests:
//
// * profile: A cucumber profile, for example, "my_profile_name".
//
// * tags: You can limit execution to features or scenarios that have (or
// don't have) certain tags, for example, "@smoke" or "@smoke,~@wip".
//
// For Appium tests (all types):
//
// * appium_version: The Appium version. Currently supported values are "1.4.16",
// "1.6.3", "latest", and "default".
//
// latest will run the latest Appium version supported by Device Farm (1.6.3).
//
// For default, Device Farm will choose a compatible version of Appium for
// the device. The current behavior is to run 1.4.16 on Android devices and
// iOS 9 and earlier, 1.6.3 for iOS 10 and later.
//
// This behavior is subject to change.
//
// For Fuzz tests (Android only):
//
// * event_count: The number of events, between 1 and 10000, that the UI
// fuzz test should perform.
//
// * throttle: The time, in ms, between 0 and 1000, that the UI fuzz test
// should wait between events.
//
// * seed: A seed to use for randomizing the UI fuzz test. Using the same
// seed value between tests ensures identical event sequences.
//
// For Explorer tests:
//
// * username: A username to use if the Explorer encounters a login form.
// If not supplied, no username will be inserted.
//
// * password: A password to use if the Explorer encounters a login form.
// If not supplied, no password will be inserted.
//
// For Instrumentation:
//
// * filter: A test filter string. Examples:
//
// Running a single test case: "com.android.abc.Test1"
//
// Running a single test: "com.android.abc.Test1#smoke"
//
// Running multiple tests: "com.android.abc.Test1,com.android.abc.Test2"
//
// For XCTest and XCTestUI:
//
// * filter: A test filter string. Examples:
//
// Running a single test class: "LoginTests"
//
// Running a multiple test classes: "LoginTests,SmokeTests"
//
// Running a single test: "LoginTests/testValid"
//
// Running multiple tests: "LoginTests/testValid,LoginTests/testInvalid"
//
// For UIAutomator:
//
// * filter: A test filter string. Examples:
//
// Running a single test case: "com.android.abc.Test1"
//
// Running a single test: "com.android.abc.Test1#smoke"
//
// Running multiple tests: "com.android.abc.Test1,com.android.abc.Test2"
Parameters map[string]*string `locationName:"parameters" type:"map"`
// The ARN of the uploaded test that will be run.
TestPackageArn *string `locationName:"testPackageArn" min:"32" type:"string"`
// The test's type.
//
// Must be one of the following values:
//
// * BUILTIN_FUZZ: The built-in fuzz type.
//
// * BUILTIN_EXPLORER: For Android, an app explorer that will traverse an
// Android app, interacting with it and capturing screenshots at the same
// time.
//
// * APPIUM_JAVA_JUNIT: The Appium Java JUnit type.
//
// * APPIUM_JAVA_TESTNG: The Appium Java TestNG type.
//
// * APPIUM_PYTHON: The Appium Python type.
//
// * APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.
//
// * APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.
//
// * APPIUM_WEB_PYTHON: The Appium Python type for Web apps.
//
// * CALABASH: The Calabash type.
//
// * INSTRUMENTATION: The Instrumentation type.
//
// * UIAUTOMATION: The uiautomation type.
//
// * UIAUTOMATOR: The uiautomator type.
//
// * XCTEST: The XCode test type.
//
// * XCTEST_UI: The XCode UI test type.
//
// Type is a required field
Type *string `locationName:"type" type:"string" required:"true" enum:"TestType"`
}
// String returns the string representation
func (s ScheduleRunTest) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s ScheduleRunTest) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *ScheduleRunTest) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ScheduleRunTest"}
if s.TestPackageArn != nil && len(*s.TestPackageArn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("TestPackageArn", 32))
}
if s.Type == nil {
invalidParams.Add(request.NewErrParamRequired("Type"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetFilter sets the Filter field's value.
func (s *ScheduleRunTest) SetFilter(v string) *ScheduleRunTest {
s.Filter = &v
return s
}
// SetParameters sets the Parameters field's value.
func (s *ScheduleRunTest) SetParameters(v map[string]*string) *ScheduleRunTest {
s.Parameters = v
return s
}
// SetTestPackageArn sets the TestPackageArn field's value.
func (s *ScheduleRunTest) SetTestPackageArn(v string) *ScheduleRunTest {
s.TestPackageArn = &v
return s
}
// SetType sets the Type field's value.
func (s *ScheduleRunTest) SetType(v string) *ScheduleRunTest {
s.Type = &v
return s
}
// Represents the request to stop the remote access session.
// See also, path_to_url
type StopRemoteAccessSessionInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the remote access session you wish to stop.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
}
// String returns the string representation
func (s StopRemoteAccessSessionInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s StopRemoteAccessSessionInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *StopRemoteAccessSessionInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "StopRemoteAccessSessionInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *StopRemoteAccessSessionInput) SetArn(v string) *StopRemoteAccessSessionInput {
s.Arn = &v
return s
}
// Represents the response from the server that describes the remote access
// session when AWS Device Farm stops the session.
// See also, path_to_url
type StopRemoteAccessSessionOutput struct {
_ struct{} `type:"structure"`
// A container representing the metadata from the service about the remote access
// session you are stopping.
RemoteAccessSession *RemoteAccessSession `locationName:"remoteAccessSession" type:"structure"`
}
// String returns the string representation
func (s StopRemoteAccessSessionOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s StopRemoteAccessSessionOutput) GoString() string {
return s.String()
}
// SetRemoteAccessSession sets the RemoteAccessSession field's value.
func (s *StopRemoteAccessSessionOutput) SetRemoteAccessSession(v *RemoteAccessSession) *StopRemoteAccessSessionOutput {
s.RemoteAccessSession = v
return s
}
// Represents the request to stop a specific run.
// See also, path_to_url
type StopRunInput struct {
_ struct{} `type:"structure"`
// Represents the Amazon Resource Name (ARN) of the Device Farm run you wish
// to stop.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
}
// String returns the string representation
func (s StopRunInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s StopRunInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *StopRunInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "StopRunInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *StopRunInput) SetArn(v string) *StopRunInput {
s.Arn = &v
return s
}
// Represents the results of your stop run attempt.
// See also, path_to_url
type StopRunOutput struct {
_ struct{} `type:"structure"`
// The run that was stopped.
Run *Run `locationName:"run" type:"structure"`
}
// String returns the string representation
func (s StopRunOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s StopRunOutput) GoString() string {
return s.String()
}
// SetRun sets the Run field's value.
func (s *StopRunOutput) SetRun(v *Run) *StopRunOutput {
s.Run = v
return s
}
// Represents a collection of one or more tests.
// See also, path_to_url
type Suite struct {
_ struct{} `type:"structure"`
// The suite's ARN.
Arn *string `locationName:"arn" min:"32" type:"string"`
// The suite's result counters.
Counters *Counters `locationName:"counters" type:"structure"`
// When the suite was created.
Created *time.Time `locationName:"created" type:"timestamp" timestampFormat:"unix"`
// Represents the total (metered or unmetered) minutes used by the test suite.
DeviceMinutes *DeviceMinutes `locationName:"deviceMinutes" type:"structure"`
// A message about the suite's result.
Message *string `locationName:"message" type:"string"`
// The suite's name.
Name *string `locationName:"name" type:"string"`
// The suite's result.
//
// Allowed values include:
//
// * PENDING: A pending condition.
//
// * PASSED: A passing condition.
//
// * WARNED: A warning condition.
//
// * FAILED: A failed condition.
//
// * SKIPPED: A skipped condition.
//
// * ERRORED: An error condition.
//
// * STOPPED: A stopped condition.
Result *string `locationName:"result" type:"string" enum:"ExecutionResult"`
// The suite's start time.
Started *time.Time `locationName:"started" type:"timestamp" timestampFormat:"unix"`
// The suite's status.
//
// Allowed values include:
//
// * PENDING: A pending status.
//
// * PENDING_CONCURRENCY: A pending concurrency status.
//
// * PENDING_DEVICE: A pending device status.
//
// * PROCESSING: A processing status.
//
// * SCHEDULING: A scheduling status.
//
// * PREPARING: A preparing status.
//
// * RUNNING: A running status.
//
// * COMPLETED: A completed status.
//
// * STOPPING: A stopping status.
Status *string `locationName:"status" type:"string" enum:"ExecutionStatus"`
// The suite's stop time.
Stopped *time.Time `locationName:"stopped" type:"timestamp" timestampFormat:"unix"`
// The suite's type.
//
// Must be one of the following values:
//
// * BUILTIN_FUZZ: The built-in fuzz type.
//
// * BUILTIN_EXPLORER: For Android, an app explorer that will traverse an
// Android app, interacting with it and capturing screenshots at the same
// time.
//
// * APPIUM_JAVA_JUNIT: The Appium Java JUnit type.
//
// * APPIUM_JAVA_TESTNG: The Appium Java TestNG type.
//
// * APPIUM_PYTHON: The Appium Python type.
//
// * APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.
//
// * APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.
//
// * APPIUM_WEB_PYTHON: The Appium Python type for Web apps.
//
// * CALABASH: The Calabash type.
//
// * INSTRUMENTATION: The Instrumentation type.
//
// * UIAUTOMATION: The uiautomation type.
//
// * UIAUTOMATOR: The uiautomator type.
//
// * XCTEST: The XCode test type.
//
// * XCTEST_UI: The XCode UI test type.
Type *string `locationName:"type" type:"string" enum:"TestType"`
}
// String returns the string representation
func (s Suite) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s Suite) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *Suite) SetArn(v string) *Suite {
s.Arn = &v
return s
}
// SetCounters sets the Counters field's value.
func (s *Suite) SetCounters(v *Counters) *Suite {
s.Counters = v
return s
}
// SetCreated sets the Created field's value.
func (s *Suite) SetCreated(v time.Time) *Suite {
s.Created = &v
return s
}
// SetDeviceMinutes sets the DeviceMinutes field's value.
func (s *Suite) SetDeviceMinutes(v *DeviceMinutes) *Suite {
s.DeviceMinutes = v
return s
}
// SetMessage sets the Message field's value.
func (s *Suite) SetMessage(v string) *Suite {
s.Message = &v
return s
}
// SetName sets the Name field's value.
func (s *Suite) SetName(v string) *Suite {
s.Name = &v
return s
}
// SetResult sets the Result field's value.
func (s *Suite) SetResult(v string) *Suite {
s.Result = &v
return s
}
// SetStarted sets the Started field's value.
func (s *Suite) SetStarted(v time.Time) *Suite {
s.Started = &v
return s
}
// SetStatus sets the Status field's value.
func (s *Suite) SetStatus(v string) *Suite {
s.Status = &v
return s
}
// SetStopped sets the Stopped field's value.
func (s *Suite) SetStopped(v time.Time) *Suite {
s.Stopped = &v
return s
}
// SetType sets the Type field's value.
func (s *Suite) SetType(v string) *Suite {
s.Type = &v
return s
}
// Represents a condition that is evaluated.
// See also, path_to_url
type Test struct {
_ struct{} `type:"structure"`
// The test's ARN.
Arn *string `locationName:"arn" min:"32" type:"string"`
// The test's result counters.
Counters *Counters `locationName:"counters" type:"structure"`
// When the test was created.
Created *time.Time `locationName:"created" type:"timestamp" timestampFormat:"unix"`
// Represents the total (metered or unmetered) minutes used by the test.
DeviceMinutes *DeviceMinutes `locationName:"deviceMinutes" type:"structure"`
// A message about the test's result.
Message *string `locationName:"message" type:"string"`
// The test's name.
Name *string `locationName:"name" type:"string"`
// The test's result.
//
// Allowed values include:
//
// * PENDING: A pending condition.
//
// * PASSED: A passing condition.
//
// * WARNED: A warning condition.
//
// * FAILED: A failed condition.
//
// * SKIPPED: A skipped condition.
//
// * ERRORED: An error condition.
//
// * STOPPED: A stopped condition.
Result *string `locationName:"result" type:"string" enum:"ExecutionResult"`
// The test's start time.
Started *time.Time `locationName:"started" type:"timestamp" timestampFormat:"unix"`
// The test's status.
//
// Allowed values include:
//
// * PENDING: A pending status.
//
// * PENDING_CONCURRENCY: A pending concurrency status.
//
// * PENDING_DEVICE: A pending device status.
//
// * PROCESSING: A processing status.
//
// * SCHEDULING: A scheduling status.
//
// * PREPARING: A preparing status.
//
// * RUNNING: A running status.
//
// * COMPLETED: A completed status.
//
// * STOPPING: A stopping status.
Status *string `locationName:"status" type:"string" enum:"ExecutionStatus"`
// The test's stop time.
Stopped *time.Time `locationName:"stopped" type:"timestamp" timestampFormat:"unix"`
// The test's type.
//
// Must be one of the following values:
//
// * BUILTIN_FUZZ: The built-in fuzz type.
//
// * BUILTIN_EXPLORER: For Android, an app explorer that will traverse an
// Android app, interacting with it and capturing screenshots at the same
// time.
//
// * APPIUM_JAVA_JUNIT: The Appium Java JUnit type.
//
// * APPIUM_JAVA_TESTNG: The Appium Java TestNG type.
//
// * APPIUM_PYTHON: The Appium Python type.
//
// * APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.
//
// * APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.
//
// * APPIUM_WEB_PYTHON: The Appium Python type for Web apps.
//
// * CALABASH: The Calabash type.
//
// * INSTRUMENTATION: The Instrumentation type.
//
// * UIAUTOMATION: The uiautomation type.
//
// * UIAUTOMATOR: The uiautomator type.
//
// * XCTEST: The XCode test type.
//
// * XCTEST_UI: The XCode UI test type.
Type *string `locationName:"type" type:"string" enum:"TestType"`
}
// String returns the string representation
func (s Test) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s Test) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *Test) SetArn(v string) *Test {
s.Arn = &v
return s
}
// SetCounters sets the Counters field's value.
func (s *Test) SetCounters(v *Counters) *Test {
s.Counters = v
return s
}
// SetCreated sets the Created field's value.
func (s *Test) SetCreated(v time.Time) *Test {
s.Created = &v
return s
}
// SetDeviceMinutes sets the DeviceMinutes field's value.
func (s *Test) SetDeviceMinutes(v *DeviceMinutes) *Test {
s.DeviceMinutes = v
return s
}
// SetMessage sets the Message field's value.
func (s *Test) SetMessage(v string) *Test {
s.Message = &v
return s
}
// SetName sets the Name field's value.
func (s *Test) SetName(v string) *Test {
s.Name = &v
return s
}
// SetResult sets the Result field's value.
func (s *Test) SetResult(v string) *Test {
s.Result = &v
return s
}
// SetStarted sets the Started field's value.
func (s *Test) SetStarted(v time.Time) *Test {
s.Started = &v
return s
}
// SetStatus sets the Status field's value.
func (s *Test) SetStatus(v string) *Test {
s.Status = &v
return s
}
// SetStopped sets the Stopped field's value.
func (s *Test) SetStopped(v time.Time) *Test {
s.Stopped = &v
return s
}
// SetType sets the Type field's value.
func (s *Test) SetType(v string) *Test {
s.Type = &v
return s
}
// Represents information about free trial device minutes for an AWS account.
// See also, path_to_url
type TrialMinutes struct {
_ struct{} `type:"structure"`
// The number of free trial minutes remaining in the account.
Remaining *float64 `locationName:"remaining" type:"double"`
// The total number of free trial minutes that the account started with.
Total *float64 `locationName:"total" type:"double"`
}
// String returns the string representation
func (s TrialMinutes) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s TrialMinutes) GoString() string {
return s.String()
}
// SetRemaining sets the Remaining field's value.
func (s *TrialMinutes) SetRemaining(v float64) *TrialMinutes {
s.Remaining = &v
return s
}
// SetTotal sets the Total field's value.
func (s *TrialMinutes) SetTotal(v float64) *TrialMinutes {
s.Total = &v
return s
}
// A collection of one or more problems, grouped by their result.
// See also, path_to_url
type UniqueProblem struct {
_ struct{} `type:"structure"`
// A message about the unique problems' result.
Message *string `locationName:"message" type:"string"`
// Information about the problems.
Problems []*Problem `locationName:"problems" type:"list"`
}
// String returns the string representation
func (s UniqueProblem) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s UniqueProblem) GoString() string {
return s.String()
}
// SetMessage sets the Message field's value.
func (s *UniqueProblem) SetMessage(v string) *UniqueProblem {
s.Message = &v
return s
}
// SetProblems sets the Problems field's value.
func (s *UniqueProblem) SetProblems(v []*Problem) *UniqueProblem {
s.Problems = v
return s
}
// Represents a request to the update device pool operation.
// See also, path_to_url
type UpdateDevicePoolInput struct {
_ struct{} `type:"structure"`
// The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to
// update.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
// A description of the device pool you wish to update.
Description *string `locationName:"description" type:"string"`
// A string representing the name of the device pool you wish to update.
Name *string `locationName:"name" type:"string"`
// Represents the rules you wish to modify for the device pool. Updating rules
// is optional; however, if you choose to update rules for your request, the
// update will replace the existing rules.
Rules []*Rule `locationName:"rules" type:"list"`
}
// String returns the string representation
func (s UpdateDevicePoolInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s UpdateDevicePoolInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *UpdateDevicePoolInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "UpdateDevicePoolInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *UpdateDevicePoolInput) SetArn(v string) *UpdateDevicePoolInput {
s.Arn = &v
return s
}
// SetDescription sets the Description field's value.
func (s *UpdateDevicePoolInput) SetDescription(v string) *UpdateDevicePoolInput {
s.Description = &v
return s
}
// SetName sets the Name field's value.
func (s *UpdateDevicePoolInput) SetName(v string) *UpdateDevicePoolInput {
s.Name = &v
return s
}
// SetRules sets the Rules field's value.
func (s *UpdateDevicePoolInput) SetRules(v []*Rule) *UpdateDevicePoolInput {
s.Rules = v
return s
}
// Represents the result of an update device pool request.
// See also, path_to_url
type UpdateDevicePoolOutput struct {
_ struct{} `type:"structure"`
// The device pool you just updated.
DevicePool *DevicePool `locationName:"devicePool" type:"structure"`
}
// String returns the string representation
func (s UpdateDevicePoolOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s UpdateDevicePoolOutput) GoString() string {
return s.String()
}
// SetDevicePool sets the DevicePool field's value.
func (s *UpdateDevicePoolOutput) SetDevicePool(v *DevicePool) *UpdateDevicePoolOutput {
s.DevicePool = v
return s
}
// See also, path_to_url
type UpdateNetworkProfileInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the project that you wish to update network
// profile settings.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
// The descriptoin of the network profile about which you are returning information.
Description *string `locationName:"description" type:"string"`
// The data throughput rate in bits per second, as an integer from 0 to 104857600.
DownlinkBandwidthBits *int64 `locationName:"downlinkBandwidthBits" type:"long"`
// Delay time for all packets to destination in milliseconds as an integer from
// 0 to 2000.
DownlinkDelayMs *int64 `locationName:"downlinkDelayMs" type:"long"`
// Time variation in the delay of received packets in milliseconds as an integer
// from 0 to 2000.
DownlinkJitterMs *int64 `locationName:"downlinkJitterMs" type:"long"`
// Proportion of received packets that fail to arrive from 0 to 100 percent.
DownlinkLossPercent *int64 `locationName:"downlinkLossPercent" type:"integer"`
// The name of the network profile about which you are returning information.
Name *string `locationName:"name" type:"string"`
// The type of network profile you wish to return information about. Valid values
// are listed below.
Type *string `locationName:"type" type:"string" enum:"NetworkProfileType"`
// The data throughput rate in bits per second, as an integer from 0 to 104857600.
UplinkBandwidthBits *int64 `locationName:"uplinkBandwidthBits" type:"long"`
// Delay time for all packets to destination in milliseconds as an integer from
// 0 to 2000.
UplinkDelayMs *int64 `locationName:"uplinkDelayMs" type:"long"`
// Time variation in the delay of received packets in milliseconds as an integer
// from 0 to 2000.
UplinkJitterMs *int64 `locationName:"uplinkJitterMs" type:"long"`
// Proportion of transmitted packets that fail to arrive from 0 to 100 percent.
UplinkLossPercent *int64 `locationName:"uplinkLossPercent" type:"integer"`
}
// String returns the string representation
func (s UpdateNetworkProfileInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s UpdateNetworkProfileInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *UpdateNetworkProfileInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "UpdateNetworkProfileInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *UpdateNetworkProfileInput) SetArn(v string) *UpdateNetworkProfileInput {
s.Arn = &v
return s
}
// SetDescription sets the Description field's value.
func (s *UpdateNetworkProfileInput) SetDescription(v string) *UpdateNetworkProfileInput {
s.Description = &v
return s
}
// SetDownlinkBandwidthBits sets the DownlinkBandwidthBits field's value.
func (s *UpdateNetworkProfileInput) SetDownlinkBandwidthBits(v int64) *UpdateNetworkProfileInput {
s.DownlinkBandwidthBits = &v
return s
}
// SetDownlinkDelayMs sets the DownlinkDelayMs field's value.
func (s *UpdateNetworkProfileInput) SetDownlinkDelayMs(v int64) *UpdateNetworkProfileInput {
s.DownlinkDelayMs = &v
return s
}
// SetDownlinkJitterMs sets the DownlinkJitterMs field's value.
func (s *UpdateNetworkProfileInput) SetDownlinkJitterMs(v int64) *UpdateNetworkProfileInput {
s.DownlinkJitterMs = &v
return s
}
// SetDownlinkLossPercent sets the DownlinkLossPercent field's value.
func (s *UpdateNetworkProfileInput) SetDownlinkLossPercent(v int64) *UpdateNetworkProfileInput {
s.DownlinkLossPercent = &v
return s
}
// SetName sets the Name field's value.
func (s *UpdateNetworkProfileInput) SetName(v string) *UpdateNetworkProfileInput {
s.Name = &v
return s
}
// SetType sets the Type field's value.
func (s *UpdateNetworkProfileInput) SetType(v string) *UpdateNetworkProfileInput {
s.Type = &v
return s
}
// SetUplinkBandwidthBits sets the UplinkBandwidthBits field's value.
func (s *UpdateNetworkProfileInput) SetUplinkBandwidthBits(v int64) *UpdateNetworkProfileInput {
s.UplinkBandwidthBits = &v
return s
}
// SetUplinkDelayMs sets the UplinkDelayMs field's value.
func (s *UpdateNetworkProfileInput) SetUplinkDelayMs(v int64) *UpdateNetworkProfileInput {
s.UplinkDelayMs = &v
return s
}
// SetUplinkJitterMs sets the UplinkJitterMs field's value.
func (s *UpdateNetworkProfileInput) SetUplinkJitterMs(v int64) *UpdateNetworkProfileInput {
s.UplinkJitterMs = &v
return s
}
// SetUplinkLossPercent sets the UplinkLossPercent field's value.
func (s *UpdateNetworkProfileInput) SetUplinkLossPercent(v int64) *UpdateNetworkProfileInput {
s.UplinkLossPercent = &v
return s
}
// See also, path_to_url
type UpdateNetworkProfileOutput struct {
_ struct{} `type:"structure"`
// A list of the available network profiles.
NetworkProfile *NetworkProfile `locationName:"networkProfile" type:"structure"`
}
// String returns the string representation
func (s UpdateNetworkProfileOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s UpdateNetworkProfileOutput) GoString() string {
return s.String()
}
// SetNetworkProfile sets the NetworkProfile field's value.
func (s *UpdateNetworkProfileOutput) SetNetworkProfile(v *NetworkProfile) *UpdateNetworkProfileOutput {
s.NetworkProfile = v
return s
}
// Represents a request to the update project operation.
// See also, path_to_url
type UpdateProjectInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the project whose name you wish to update.
//
// Arn is a required field
Arn *string `locationName:"arn" min:"32" type:"string" required:"true"`
// The number of minutes a test run in the project will execute before it times
// out.
DefaultJobTimeoutMinutes *int64 `locationName:"defaultJobTimeoutMinutes" type:"integer"`
// A string representing the new name of the project that you are updating.
Name *string `locationName:"name" type:"string"`
}
// String returns the string representation
func (s UpdateProjectInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s UpdateProjectInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *UpdateProjectInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "UpdateProjectInput"}
if s.Arn == nil {
invalidParams.Add(request.NewErrParamRequired("Arn"))
}
if s.Arn != nil && len(*s.Arn) < 32 {
invalidParams.Add(request.NewErrParamMinLen("Arn", 32))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetArn sets the Arn field's value.
func (s *UpdateProjectInput) SetArn(v string) *UpdateProjectInput {
s.Arn = &v
return s
}
// SetDefaultJobTimeoutMinutes sets the DefaultJobTimeoutMinutes field's value.
func (s *UpdateProjectInput) SetDefaultJobTimeoutMinutes(v int64) *UpdateProjectInput {
s.DefaultJobTimeoutMinutes = &v
return s
}
// SetName sets the Name field's value.
func (s *UpdateProjectInput) SetName(v string) *UpdateProjectInput {
s.Name = &v
return s
}
// Represents the result of an update project request.
// See also, path_to_url
type UpdateProjectOutput struct {
_ struct{} `type:"structure"`
// The project you wish to update.
Project *Project `locationName:"project" type:"structure"`
}
// String returns the string representation
func (s UpdateProjectOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s UpdateProjectOutput) GoString() string {
return s.String()
}
// SetProject sets the Project field's value.
func (s *UpdateProjectOutput) SetProject(v *Project) *UpdateProjectOutput {
s.Project = v
return s
}
// An app or a set of one or more tests to upload or that have been uploaded.
// See also, path_to_url
type Upload struct {
_ struct{} `type:"structure"`
// The upload's ARN.
Arn *string `locationName:"arn" min:"32" type:"string"`
// The upload's content type (for example, "application/octet-stream").
ContentType *string `locationName:"contentType" type:"string"`
// When the upload was created.
Created *time.Time `locationName:"created" type:"timestamp" timestampFormat:"unix"`
// A message about the upload's result.
Message *string `locationName:"message" type:"string"`
// The upload's metadata. For example, for Android, this contains information
// that is parsed from the manifest and is displayed in the AWS Device Farm
// console after the associated app is uploaded.
Metadata *string `locationName:"metadata" type:"string"`
// The upload's file name.
Name *string `locationName:"name" type:"string"`
// The upload's status.
//
// Must be one of the following values:
//
// * FAILED: A failed status.
//
// * INITIALIZED: An initialized status.
//
// * PROCESSING: A processing status.
//
// * SUCCEEDED: A succeeded status.
Status *string `locationName:"status" type:"string" enum:"UploadStatus"`
// The upload's type.
//
// Must be one of the following values:
//
// * ANDROID_APP: An Android upload.
//
// * IOS_APP: An iOS upload.
//
// * WEB_APP: A web appliction upload.
//
// * EXTERNAL_DATA: An external data upload.
//
// * APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.
//
// * APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package
// upload.
//
// * APPIUM_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
//
// * APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package
// upload.
//
// * APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package
// upload.
//
// * APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
//
// * CALABASH_TEST_PACKAGE: A Calabash test package upload.
//
// * INSTRUMENTATION_TEST_PACKAGE: An instrumentation upload.
//
// * UIAUTOMATION_TEST_PACKAGE: A uiautomation test package upload.
//
// * UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package upload.
//
// * XCTEST_TEST_PACKAGE: An XCode test package upload.
//
// * XCTEST_UI_TEST_PACKAGE: An XCode UI test package upload.
Type *string `locationName:"type" type:"string" enum:"UploadType"`
// The pre-signed Amazon S3 URL that was used to store a file through a corresponding
// PUT request.
Url *string `locationName:"url" type:"string"`
}
// String returns the string representation
func (s Upload) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation
func (s Upload) GoString() string {
return s.String()
}
// SetArn sets the Arn field's value.
func (s *Upload) SetArn(v string) *Upload {
s.Arn = &v
return s
}
// SetContentType sets the ContentType field's value.
func (s *Upload) SetContentType(v string) *Upload {
s.ContentType = &v
return s
}
// SetCreated sets the Created field's value.
func (s *Upload) SetCreated(v time.Time) *Upload {
s.Created = &v
return s
}
// SetMessage sets the Message field's value.
func (s *Upload) SetMessage(v string) *Upload {
s.Message = &v
return s
}
// SetMetadata sets the Metadata field's value.
func (s *Upload) SetMetadata(v string) *Upload {
s.Metadata = &v
return s
}
// SetName sets the Name field's value.
func (s *Upload) SetName(v string) *Upload {
s.Name = &v
return s
}
// SetStatus sets the Status field's value.
func (s *Upload) SetStatus(v string) *Upload {
s.Status = &v
return s
}
// SetType sets the Type field's value.
func (s *Upload) SetType(v string) *Upload {
s.Type = &v
return s
}
// SetUrl sets the Url field's value.
func (s *Upload) SetUrl(v string) *Upload {
s.Url = &v
return s
}
const (
// ArtifactCategoryScreenshot is a ArtifactCategory enum value
ArtifactCategoryScreenshot = "SCREENSHOT"
// ArtifactCategoryFile is a ArtifactCategory enum value
ArtifactCategoryFile = "FILE"
// ArtifactCategoryLog is a ArtifactCategory enum value
ArtifactCategoryLog = "LOG"
)
const (
// ArtifactTypeUnknown is a ArtifactType enum value
ArtifactTypeUnknown = "UNKNOWN"
// ArtifactTypeScreenshot is a ArtifactType enum value
ArtifactTypeScreenshot = "SCREENSHOT"
// ArtifactTypeDeviceLog is a ArtifactType enum value
ArtifactTypeDeviceLog = "DEVICE_LOG"
// ArtifactTypeMessageLog is a ArtifactType enum value
ArtifactTypeMessageLog = "MESSAGE_LOG"
// ArtifactTypeVideoLog is a ArtifactType enum value
ArtifactTypeVideoLog = "VIDEO_LOG"
// ArtifactTypeResultLog is a ArtifactType enum value
ArtifactTypeResultLog = "RESULT_LOG"
// ArtifactTypeServiceLog is a ArtifactType enum value
ArtifactTypeServiceLog = "SERVICE_LOG"
// ArtifactTypeWebkitLog is a ArtifactType enum value
ArtifactTypeWebkitLog = "WEBKIT_LOG"
// ArtifactTypeInstrumentationOutput is a ArtifactType enum value
ArtifactTypeInstrumentationOutput = "INSTRUMENTATION_OUTPUT"
// ArtifactTypeExerciserMonkeyOutput is a ArtifactType enum value
ArtifactTypeExerciserMonkeyOutput = "EXERCISER_MONKEY_OUTPUT"
// ArtifactTypeCalabashJsonOutput is a ArtifactType enum value
ArtifactTypeCalabashJsonOutput = "CALABASH_JSON_OUTPUT"
// ArtifactTypeCalabashPrettyOutput is a ArtifactType enum value
ArtifactTypeCalabashPrettyOutput = "CALABASH_PRETTY_OUTPUT"
// ArtifactTypeCalabashStandardOutput is a ArtifactType enum value
ArtifactTypeCalabashStandardOutput = "CALABASH_STANDARD_OUTPUT"
// ArtifactTypeCalabashJavaXmlOutput is a ArtifactType enum value
ArtifactTypeCalabashJavaXmlOutput = "CALABASH_JAVA_XML_OUTPUT"
// ArtifactTypeAutomationOutput is a ArtifactType enum value
ArtifactTypeAutomationOutput = "AUTOMATION_OUTPUT"
// ArtifactTypeAppiumServerOutput is a ArtifactType enum value
ArtifactTypeAppiumServerOutput = "APPIUM_SERVER_OUTPUT"
// ArtifactTypeAppiumJavaOutput is a ArtifactType enum value
ArtifactTypeAppiumJavaOutput = "APPIUM_JAVA_OUTPUT"
// ArtifactTypeAppiumJavaXmlOutput is a ArtifactType enum value
ArtifactTypeAppiumJavaXmlOutput = "APPIUM_JAVA_XML_OUTPUT"
// ArtifactTypeAppiumPythonOutput is a ArtifactType enum value
ArtifactTypeAppiumPythonOutput = "APPIUM_PYTHON_OUTPUT"
// ArtifactTypeAppiumPythonXmlOutput is a ArtifactType enum value
ArtifactTypeAppiumPythonXmlOutput = "APPIUM_PYTHON_XML_OUTPUT"
// ArtifactTypeExplorerEventLog is a ArtifactType enum value
ArtifactTypeExplorerEventLog = "EXPLORER_EVENT_LOG"
// ArtifactTypeExplorerSummaryLog is a ArtifactType enum value
ArtifactTypeExplorerSummaryLog = "EXPLORER_SUMMARY_LOG"
// ArtifactTypeApplicationCrashReport is a ArtifactType enum value
ArtifactTypeApplicationCrashReport = "APPLICATION_CRASH_REPORT"
// ArtifactTypeXctestLog is a ArtifactType enum value
ArtifactTypeXctestLog = "XCTEST_LOG"
// ArtifactTypeVideo is a ArtifactType enum value
ArtifactTypeVideo = "VIDEO"
// ArtifactTypeCustomerArtifact is a ArtifactType enum value
ArtifactTypeCustomerArtifact = "CUSTOMER_ARTIFACT"
// ArtifactTypeCustomerArtifactLog is a ArtifactType enum value
ArtifactTypeCustomerArtifactLog = "CUSTOMER_ARTIFACT_LOG"
)
const (
// BillingMethodMetered is a BillingMethod enum value
BillingMethodMetered = "METERED"
// BillingMethodUnmetered is a BillingMethod enum value
BillingMethodUnmetered = "UNMETERED"
)
const (
// CurrencyCodeUsd is a CurrencyCode enum value
CurrencyCodeUsd = "USD"
)
const (
// DeviceAttributeArn is a DeviceAttribute enum value
DeviceAttributeArn = "ARN"
// DeviceAttributePlatform is a DeviceAttribute enum value
DeviceAttributePlatform = "PLATFORM"
// DeviceAttributeFormFactor is a DeviceAttribute enum value
DeviceAttributeFormFactor = "FORM_FACTOR"
// DeviceAttributeManufacturer is a DeviceAttribute enum value
DeviceAttributeManufacturer = "MANUFACTURER"
// DeviceAttributeRemoteAccessEnabled is a DeviceAttribute enum value
DeviceAttributeRemoteAccessEnabled = "REMOTE_ACCESS_ENABLED"
// DeviceAttributeRemoteDebugEnabled is a DeviceAttribute enum value
DeviceAttributeRemoteDebugEnabled = "REMOTE_DEBUG_ENABLED"
// DeviceAttributeAppiumVersion is a DeviceAttribute enum value
DeviceAttributeAppiumVersion = "APPIUM_VERSION"
)
const (
// DeviceFormFactorPhone is a DeviceFormFactor enum value
DeviceFormFactorPhone = "PHONE"
// DeviceFormFactorTablet is a DeviceFormFactor enum value
DeviceFormFactorTablet = "TABLET"
)
const (
// DevicePlatformAndroid is a DevicePlatform enum value
DevicePlatformAndroid = "ANDROID"
// DevicePlatformIos is a DevicePlatform enum value
DevicePlatformIos = "IOS"
)
const (
// DevicePoolTypeCurated is a DevicePoolType enum value
DevicePoolTypeCurated = "CURATED"
// DevicePoolTypePrivate is a DevicePoolType enum value
DevicePoolTypePrivate = "PRIVATE"
)
const (
// ExecutionResultPending is a ExecutionResult enum value
ExecutionResultPending = "PENDING"
// ExecutionResultPassed is a ExecutionResult enum value
ExecutionResultPassed = "PASSED"
// ExecutionResultWarned is a ExecutionResult enum value
ExecutionResultWarned = "WARNED"
// ExecutionResultFailed is a ExecutionResult enum value
ExecutionResultFailed = "FAILED"
// ExecutionResultSkipped is a ExecutionResult enum value
ExecutionResultSkipped = "SKIPPED"
// ExecutionResultErrored is a ExecutionResult enum value
ExecutionResultErrored = "ERRORED"
// ExecutionResultStopped is a ExecutionResult enum value
ExecutionResultStopped = "STOPPED"
)
const (
// ExecutionResultCodeParsingFailed is a ExecutionResultCode enum value
ExecutionResultCodeParsingFailed = "PARSING_FAILED"
)
const (
// ExecutionStatusPending is a ExecutionStatus enum value
ExecutionStatusPending = "PENDING"
// ExecutionStatusPendingConcurrency is a ExecutionStatus enum value
ExecutionStatusPendingConcurrency = "PENDING_CONCURRENCY"
// ExecutionStatusPendingDevice is a ExecutionStatus enum value
ExecutionStatusPendingDevice = "PENDING_DEVICE"
// ExecutionStatusProcessing is a ExecutionStatus enum value
ExecutionStatusProcessing = "PROCESSING"
// ExecutionStatusScheduling is a ExecutionStatus enum value
ExecutionStatusScheduling = "SCHEDULING"
// ExecutionStatusPreparing is a ExecutionStatus enum value
ExecutionStatusPreparing = "PREPARING"
// ExecutionStatusRunning is a ExecutionStatus enum value
ExecutionStatusRunning = "RUNNING"
// ExecutionStatusCompleted is a ExecutionStatus enum value
ExecutionStatusCompleted = "COMPLETED"
// ExecutionStatusStopping is a ExecutionStatus enum value
ExecutionStatusStopping = "STOPPING"
)
const (
// NetworkProfileTypeCurated is a NetworkProfileType enum value
NetworkProfileTypeCurated = "CURATED"
// NetworkProfileTypePrivate is a NetworkProfileType enum value
NetworkProfileTypePrivate = "PRIVATE"
)
const (
// OfferingTransactionTypePurchase is a OfferingTransactionType enum value
OfferingTransactionTypePurchase = "PURCHASE"
// OfferingTransactionTypeRenew is a OfferingTransactionType enum value
OfferingTransactionTypeRenew = "RENEW"
// OfferingTransactionTypeSystem is a OfferingTransactionType enum value
OfferingTransactionTypeSystem = "SYSTEM"
)
const (
// OfferingTypeRecurring is a OfferingType enum value
OfferingTypeRecurring = "RECURRING"
)
const (
// RecurringChargeFrequencyMonthly is a RecurringChargeFrequency enum value
RecurringChargeFrequencyMonthly = "MONTHLY"
)
const (
// RuleOperatorEquals is a RuleOperator enum value
RuleOperatorEquals = "EQUALS"
// RuleOperatorLessThan is a RuleOperator enum value
RuleOperatorLessThan = "LESS_THAN"
// RuleOperatorGreaterThan is a RuleOperator enum value
RuleOperatorGreaterThan = "GREATER_THAN"
// RuleOperatorIn is a RuleOperator enum value
RuleOperatorIn = "IN"
// RuleOperatorNotIn is a RuleOperator enum value
RuleOperatorNotIn = "NOT_IN"
// RuleOperatorContains is a RuleOperator enum value
RuleOperatorContains = "CONTAINS"
)
const (
// SampleTypeCpu is a SampleType enum value
SampleTypeCpu = "CPU"
// SampleTypeMemory is a SampleType enum value
SampleTypeMemory = "MEMORY"
// SampleTypeThreads is a SampleType enum value
SampleTypeThreads = "THREADS"
// SampleTypeRxRate is a SampleType enum value
SampleTypeRxRate = "RX_RATE"
// SampleTypeTxRate is a SampleType enum value
SampleTypeTxRate = "TX_RATE"
// SampleTypeRx is a SampleType enum value
SampleTypeRx = "RX"
// SampleTypeTx is a SampleType enum value
SampleTypeTx = "TX"
// SampleTypeNativeFrames is a SampleType enum value
SampleTypeNativeFrames = "NATIVE_FRAMES"
// SampleTypeNativeFps is a SampleType enum value
SampleTypeNativeFps = "NATIVE_FPS"
// SampleTypeNativeMinDrawtime is a SampleType enum value
SampleTypeNativeMinDrawtime = "NATIVE_MIN_DRAWTIME"
// SampleTypeNativeAvgDrawtime is a SampleType enum value
SampleTypeNativeAvgDrawtime = "NATIVE_AVG_DRAWTIME"
// SampleTypeNativeMaxDrawtime is a SampleType enum value
SampleTypeNativeMaxDrawtime = "NATIVE_MAX_DRAWTIME"
// SampleTypeOpenglFrames is a SampleType enum value
SampleTypeOpenglFrames = "OPENGL_FRAMES"
// SampleTypeOpenglFps is a SampleType enum value
SampleTypeOpenglFps = "OPENGL_FPS"
// SampleTypeOpenglMinDrawtime is a SampleType enum value
SampleTypeOpenglMinDrawtime = "OPENGL_MIN_DRAWTIME"
// SampleTypeOpenglAvgDrawtime is a SampleType enum value
SampleTypeOpenglAvgDrawtime = "OPENGL_AVG_DRAWTIME"
// SampleTypeOpenglMaxDrawtime is a SampleType enum value
SampleTypeOpenglMaxDrawtime = "OPENGL_MAX_DRAWTIME"
)
const (
// TestTypeBuiltinFuzz is a TestType enum value
TestTypeBuiltinFuzz = "BUILTIN_FUZZ"
// TestTypeBuiltinExplorer is a TestType enum value
TestTypeBuiltinExplorer = "BUILTIN_EXPLORER"
// TestTypeAppiumJavaJunit is a TestType enum value
TestTypeAppiumJavaJunit = "APPIUM_JAVA_JUNIT"
// TestTypeAppiumJavaTestng is a TestType enum value
TestTypeAppiumJavaTestng = "APPIUM_JAVA_TESTNG"
// TestTypeAppiumPython is a TestType enum value
TestTypeAppiumPython = "APPIUM_PYTHON"
// TestTypeAppiumWebJavaJunit is a TestType enum value
TestTypeAppiumWebJavaJunit = "APPIUM_WEB_JAVA_JUNIT"
// TestTypeAppiumWebJavaTestng is a TestType enum value
TestTypeAppiumWebJavaTestng = "APPIUM_WEB_JAVA_TESTNG"
// TestTypeAppiumWebPython is a TestType enum value
TestTypeAppiumWebPython = "APPIUM_WEB_PYTHON"
// TestTypeCalabash is a TestType enum value
TestTypeCalabash = "CALABASH"
// TestTypeInstrumentation is a TestType enum value
TestTypeInstrumentation = "INSTRUMENTATION"
// TestTypeUiautomation is a TestType enum value
TestTypeUiautomation = "UIAUTOMATION"
// TestTypeUiautomator is a TestType enum value
TestTypeUiautomator = "UIAUTOMATOR"
// TestTypeXctest is a TestType enum value
TestTypeXctest = "XCTEST"
// TestTypeXctestUi is a TestType enum value
TestTypeXctestUi = "XCTEST_UI"
)
const (
// UploadStatusInitialized is a UploadStatus enum value
UploadStatusInitialized = "INITIALIZED"
// UploadStatusProcessing is a UploadStatus enum value
UploadStatusProcessing = "PROCESSING"
// UploadStatusSucceeded is a UploadStatus enum value
UploadStatusSucceeded = "SUCCEEDED"
// UploadStatusFailed is a UploadStatus enum value
UploadStatusFailed = "FAILED"
)
const (
// UploadTypeAndroidApp is a UploadType enum value
UploadTypeAndroidApp = "ANDROID_APP"
// UploadTypeIosApp is a UploadType enum value
UploadTypeIosApp = "IOS_APP"
// UploadTypeWebApp is a UploadType enum value
UploadTypeWebApp = "WEB_APP"
// UploadTypeExternalData is a UploadType enum value
UploadTypeExternalData = "EXTERNAL_DATA"
// UploadTypeAppiumJavaJunitTestPackage is a UploadType enum value
UploadTypeAppiumJavaJunitTestPackage = "APPIUM_JAVA_JUNIT_TEST_PACKAGE"
// UploadTypeAppiumJavaTestngTestPackage is a UploadType enum value
UploadTypeAppiumJavaTestngTestPackage = "APPIUM_JAVA_TESTNG_TEST_PACKAGE"
// UploadTypeAppiumPythonTestPackage is a UploadType enum value
UploadTypeAppiumPythonTestPackage = "APPIUM_PYTHON_TEST_PACKAGE"
// UploadTypeAppiumWebJavaJunitTestPackage is a UploadType enum value
UploadTypeAppiumWebJavaJunitTestPackage = "APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE"
// UploadTypeAppiumWebJavaTestngTestPackage is a UploadType enum value
UploadTypeAppiumWebJavaTestngTestPackage = "APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE"
// UploadTypeAppiumWebPythonTestPackage is a UploadType enum value
UploadTypeAppiumWebPythonTestPackage = "APPIUM_WEB_PYTHON_TEST_PACKAGE"
// UploadTypeCalabashTestPackage is a UploadType enum value
UploadTypeCalabashTestPackage = "CALABASH_TEST_PACKAGE"
// UploadTypeInstrumentationTestPackage is a UploadType enum value
UploadTypeInstrumentationTestPackage = "INSTRUMENTATION_TEST_PACKAGE"
// UploadTypeUiautomationTestPackage is a UploadType enum value
UploadTypeUiautomationTestPackage = "UIAUTOMATION_TEST_PACKAGE"
// UploadTypeUiautomatorTestPackage is a UploadType enum value
UploadTypeUiautomatorTestPackage = "UIAUTOMATOR_TEST_PACKAGE"
// UploadTypeXctestTestPackage is a UploadType enum value
UploadTypeXctestTestPackage = "XCTEST_TEST_PACKAGE"
// UploadTypeXctestUiTestPackage is a UploadType enum value
UploadTypeXctestUiTestPackage = "XCTEST_UI_TEST_PACKAGE"
)
```
|
```objective-c
//your_sha256_hash---------------------------------------
//your_sha256_hash---------------------------------------
#pragma once
#if ENABLE_TTD
namespace TTD
{
namespace NSLogEvents
{
//true if this is a root call function
bool IsJsRTActionRootCall(const EventLogEntry* evt);
//We have a number of loops where we look for a snapshot or root with a given time value -- this encapsulates the access logic
int64 AccessTimeInRootCallOrSnapshot(const EventLogEntry* evt, bool& isSnap, bool& isRoot, bool& hasRtrSnap);
bool TryGetTimeFromRootCallOrSnapshot(const EventLogEntry* evt, int64& res);
int64 GetTimeFromRootCallOrSnapshot(const EventLogEntry* evt);
//Handle the replay of the result of an action for the the given action type and tag
template <typename T, EventKind tag>
void JsRTActionHandleResultForReplay(ThreadContextTTD* executeContext, const EventLogEntry* evt, Js::Var result)
{
TTDVar origResult = GetInlineEventDataAs<T, tag>(evt)->Result;
PassVarToHostInReplay(executeContext, origResult, result);
}
//////////////////
//A generic struct for actions that only need a result value
struct JsRTResultOnlyAction
{
TTDVar Result;
};
template <EventKind tag>
void JsRTResultOnlyAction_Emit(const EventLogEntry* evt, FileWriter* writer, ThreadContext* threadContext)
{
const JsRTResultOnlyAction* vAction = GetInlineEventDataAs<JsRTResultOnlyAction, tag>(evt);
writer->WriteKey(NSTokens::Key::argRetVal, NSTokens::Separator::CommaSeparator);
NSSnapValues::EmitTTDVar(vAction->Result, writer, NSTokens::Separator::NoSeparator);
}
template <EventKind tag>
void JsRTResultOnlyAction_Parse(EventLogEntry* evt, ThreadContext* threadContext, FileReader* reader, UnlinkableSlabAllocator& alloc)
{
JsRTResultOnlyAction* vAction = GetInlineEventDataAs<JsRTResultOnlyAction, tag>(evt);
reader->ReadKey(NSTokens::Key::argRetVal, true);
vAction->Result = NSSnapValues::ParseTTDVar(false, reader);
}
//A generic struct for actions that only need a single integral value
struct JsRTIntegralArgumentAction
{
TTDVar Result;
int64 Scalar;
};
template <EventKind tag>
void JsRTIntegralArgumentAction_Emit(const EventLogEntry* evt, FileWriter* writer, ThreadContext* threadContext)
{
const JsRTIntegralArgumentAction* vAction = GetInlineEventDataAs<JsRTIntegralArgumentAction, tag>(evt);
writer->WriteKey(NSTokens::Key::argRetVal, NSTokens::Separator::CommaSeparator);
NSSnapValues::EmitTTDVar(vAction->Result, writer, NSTokens::Separator::NoSeparator);
writer->WriteInt64(NSTokens::Key::i64Val, vAction->Scalar, NSTokens::Separator::CommaSeparator);
}
template <EventKind tag>
void JsRTIntegralArgumentAction_Parse(EventLogEntry* evt, ThreadContext* threadContext, FileReader* reader, UnlinkableSlabAllocator& alloc)
{
JsRTIntegralArgumentAction* vAction = GetInlineEventDataAs<JsRTIntegralArgumentAction, tag>(evt);
reader->ReadKey(NSTokens::Key::argRetVal, true);
vAction->Result = NSSnapValues::ParseTTDVar(false, reader);
vAction->Scalar = reader->ReadInt64(NSTokens::Key::i64Val, true);
}
//A generic struct for actions that only need variables
template <size_t count>
struct JsRTVarsArgumentAction_InternalUse
{
TTDVar Result;
TTDVar VarArray[count];
};
template <EventKind tag, size_t count>
void JsRTVarsArgumentAction_InternalUse_Emit(const EventLogEntry* evt, FileWriter* writer, ThreadContext* threadContext)
{
const JsRTVarsArgumentAction_InternalUse<count>* vAction = GetInlineEventDataAs<JsRTVarsArgumentAction_InternalUse<count>, tag>(evt);
writer->WriteKey(NSTokens::Key::argRetVal, NSTokens::Separator::CommaSeparator);
NSSnapValues::EmitTTDVar(vAction->Result, writer, NSTokens::Separator::NoSeparator);
if(count == 1)
{
NSSnapValues::EmitTTDVar(vAction->VarArray[0], writer, NSTokens::Separator::CommaSeparator);
}
else
{
writer->WriteSequenceStart_DefaultKey(NSTokens::Separator::CommaSeparator);
for(size_t i = 0; i < count; ++i)
{
NSSnapValues::EmitTTDVar(vAction->VarArray[i], writer, i != 0 ? NSTokens::Separator::CommaSeparator : NSTokens::Separator::NoSeparator);
}
writer->WriteSequenceEnd();
}
}
template <EventKind tag, size_t count>
void JsRTVarsArgumentAction_InternalUse_Parse(EventLogEntry* evt, ThreadContext* threadContext, FileReader* reader, UnlinkableSlabAllocator& alloc)
{
JsRTVarsArgumentAction_InternalUse<count>* vAction = GetInlineEventDataAs<JsRTVarsArgumentAction_InternalUse<count>, tag>(evt);
reader->ReadKey(NSTokens::Key::argRetVal, true);
vAction->Result = NSSnapValues::ParseTTDVar(false, reader);
if(count == 1)
{
vAction->VarArray[0] = NSSnapValues::ParseTTDVar(true, reader);
}
else
{
reader->ReadSequenceStart_WDefaultKey(true);
for(size_t i = 0; i < count; ++i)
{
vAction->VarArray[i] = NSSnapValues::ParseTTDVar(i != 0, reader);
}
reader->ReadSequenceEnd();
}
}
template <size_t count, size_t index>
TTDVar GetVarItem_InternalUse(const JsRTVarsArgumentAction_InternalUse<count>* argAction)
{
static_assert(index < count, "Index out of bounds in JsRTVarAndIntegralArgumentsAction.");
return argAction->VarArray[index];
}
template <size_t count> TTDVar GetVarItem_0(const JsRTVarsArgumentAction_InternalUse<count>* argAction) { return GetVarItem_InternalUse<count, 0>(argAction); }
template <size_t count> TTDVar GetVarItem_1(const JsRTVarsArgumentAction_InternalUse<count>* argAction) { return GetVarItem_InternalUse<count, 1>(argAction); }
template <size_t count> TTDVar GetVarItem_2(const JsRTVarsArgumentAction_InternalUse<count>* argAction) { return GetVarItem_InternalUse<count, 2>(argAction); }
template <size_t count, size_t index>
void SetVarItem_InternalUse(JsRTVarsArgumentAction_InternalUse<count>* argAction, TTDVar value)
{
static_assert(index < count, "Index out of bounds in JsRTVarAndIntegralArgumentsAction.");
argAction->VarArray[index] = value;
}
template <size_t count> void SetVarItem_0(JsRTVarsArgumentAction_InternalUse<count>* argAction, TTDVar value) { return SetVarItem_InternalUse<count, 0>(argAction, value); }
template <size_t count> void SetVarItem_1(JsRTVarsArgumentAction_InternalUse<count>* argAction, TTDVar value) { return SetVarItem_InternalUse<count, 1>(argAction, value); }
template <size_t count> void SetVarItem_2(JsRTVarsArgumentAction_InternalUse<count>* argAction, TTDVar value) { return SetVarItem_InternalUse<count, 2>(argAction, value); }
typedef JsRTVarsArgumentAction_InternalUse<1> JsRTSingleVarArgumentAction;
template <EventKind tag> void JsRTSingleVarArgumentAction_Emit(const EventLogEntry* evt, FileWriter* writer, ThreadContext* threadContext) { JsRTVarsArgumentAction_InternalUse_Emit<tag, 1>(evt, writer, threadContext); }
template <EventKind tag> void JsRTSingleVarArgumentAction_Parse(EventLogEntry* evt, ThreadContext* threadContext, FileReader* reader, UnlinkableSlabAllocator& alloc) { JsRTVarsArgumentAction_InternalUse_Parse<tag, 1>(evt, threadContext, reader, alloc); }
typedef JsRTVarsArgumentAction_InternalUse<2> JsRTDoubleVarArgumentAction;
template <EventKind tag> void JsRTDoubleVarArgumentAction_Emit(const EventLogEntry* evt, FileWriter* writer, ThreadContext* threadContext) { JsRTVarsArgumentAction_InternalUse_Emit<tag, 2>(evt, writer, threadContext); }
template <EventKind tag> void JsRTDoubleVarArgumentAction_Parse(EventLogEntry* evt, ThreadContext* threadContext, FileReader* reader, UnlinkableSlabAllocator& alloc) { JsRTVarsArgumentAction_InternalUse_Parse<tag, 2>(evt, threadContext, reader, alloc); }
typedef JsRTVarsArgumentAction_InternalUse<3> JsRTTrippleVarArgumentAction;
template <EventKind tag> void JsRTTrippleVarArgumentAction_Emit(const EventLogEntry* evt, FileWriter* writer, ThreadContext* threadContext) { JsRTVarsArgumentAction_InternalUse_Emit<tag, 3>(evt, writer, threadContext); }
template <EventKind tag> void JsRTTrippleVarArgumentAction_Parse(EventLogEntry* evt, ThreadContext* threadContext, FileReader* reader, UnlinkableSlabAllocator& alloc) { JsRTVarsArgumentAction_InternalUse_Parse<tag, 3>(evt, threadContext, reader, alloc); }
//A generic struct for actions that need variables and scalar data
template <size_t vcount, size_t icount>
struct JsRTVarAndIntegralArgumentsAction_InternalUse
{
TTDVar Result;
TTDVar VarArray[vcount];
int64 ScalarArray[icount];
};
template <EventKind tag, size_t vcount, size_t icount>
void JsRTVarAndIntegralArgumentsAction_InternalUse_Emit(const EventLogEntry* evt, FileWriter* writer, ThreadContext* threadContext)
{
const JsRTVarAndIntegralArgumentsAction_InternalUse<vcount, icount>* vAction = GetInlineEventDataAs<JsRTVarAndIntegralArgumentsAction_InternalUse<vcount, icount>, tag>(evt);
writer->WriteKey(NSTokens::Key::argRetVal, NSTokens::Separator::CommaSeparator);
NSSnapValues::EmitTTDVar(vAction->Result, writer, NSTokens::Separator::NoSeparator);
writer->WriteSequenceStart_DefaultKey(NSTokens::Separator::CommaSeparator);
for(size_t i = 0; i < vcount; ++i)
{
NSSnapValues::EmitTTDVar(vAction->VarArray[i], writer, i != 0 ? NSTokens::Separator::CommaSeparator : NSTokens::Separator::NoSeparator);
}
for(size_t i = 0; i < icount; ++i)
{
writer->WriteNakedInt64(vAction->ScalarArray[i], vcount + i != 0 ? NSTokens::Separator::CommaSeparator : NSTokens::Separator::NoSeparator);
}
writer->WriteSequenceEnd();
}
template <EventKind tag, size_t vcount, size_t icount>
void JsRTVarAndIntegralArgumentsAction_InternalUse_Parse(EventLogEntry* evt, ThreadContext* threadContext, FileReader* reader, UnlinkableSlabAllocator& alloc)
{
JsRTVarAndIntegralArgumentsAction_InternalUse<vcount, icount>* vAction = GetInlineEventDataAs<JsRTVarAndIntegralArgumentsAction_InternalUse<vcount, icount>, tag>(evt);
reader->ReadKey(NSTokens::Key::argRetVal, true);
vAction->Result = NSSnapValues::ParseTTDVar(false, reader);
reader->ReadSequenceStart_WDefaultKey(true);
for(size_t i = 0; i < vcount; ++i)
{
vAction->VarArray[i] = NSSnapValues::ParseTTDVar(i != 0, reader);
}
for(size_t i = 0; i < icount; ++i)
{
vAction->ScalarArray[i] = reader->ReadNakedInt64(vcount + i != 0);
}
reader->ReadSequenceEnd();
}
template <size_t vcount, size_t icount, size_t index>
TTDVar GetVarItem_InternalUse(const JsRTVarAndIntegralArgumentsAction_InternalUse<vcount, icount>* argAction)
{
static_assert(index < vcount, "Index out of bounds in JsRTVarAndIntegralArgumentsAction.");
return argAction->VarArray[index];
}
template <size_t vcount, size_t icount> TTDVar GetVarItem_0(const JsRTVarAndIntegralArgumentsAction_InternalUse<vcount, icount>* argAction) { return GetVarItem_InternalUse<vcount, icount, 0>(argAction); }
template <size_t vcount, size_t icount> TTDVar GetVarItem_1(const JsRTVarAndIntegralArgumentsAction_InternalUse<vcount, icount>* argAction) { return GetVarItem_InternalUse<vcount, icount, 1>(argAction); }
template <size_t vcount, size_t icount, size_t index>
void SetVarItem_InternalUse(JsRTVarAndIntegralArgumentsAction_InternalUse<vcount, icount>* argAction, TTDVar value)
{
static_assert(index < vcount, "Index out of bounds in JsRTVarAndIntegralArgumentsAction.");
argAction->VarArray[index] = value;
}
template <size_t vcount, size_t icount> void SetVarItem_0(JsRTVarAndIntegralArgumentsAction_InternalUse<vcount, icount>* argAction, TTDVar value) { return SetVarItem_InternalUse<vcount, icount, 0>(argAction, value); }
template <size_t vcount, size_t icount> void SetVarItem_1(JsRTVarAndIntegralArgumentsAction_InternalUse<vcount, icount>* argAction, TTDVar value) { return SetVarItem_InternalUse<vcount, icount, 1>(argAction, value); }
template <size_t vcount, size_t icount, size_t index>
int64 GetScalarItem_InternalUse(const JsRTVarAndIntegralArgumentsAction_InternalUse<vcount, icount>* argAction)
{
static_assert(index < icount, "Index out of bounds in JsRTVarAndIntegralArgumentsAction.");
return argAction->ScalarArray[index];
}
template <size_t vcount, size_t icount> int64 GetScalarItem_0(const JsRTVarAndIntegralArgumentsAction_InternalUse<vcount, icount>* argAction) { return GetScalarItem_InternalUse<vcount, icount, 0>(argAction); }
template <size_t vcount, size_t icount> int64 GetScalarItem_1(const JsRTVarAndIntegralArgumentsAction_InternalUse<vcount, icount>* argAction) { return GetScalarItem_InternalUse<vcount, icount, 1>(argAction); }
template <size_t vcount, size_t icount, size_t index>
void SetScalarItem_InternalUse(JsRTVarAndIntegralArgumentsAction_InternalUse<vcount, icount>* argAction, int64 value)
{
static_assert(index < icount, "Index out of bounds in JsRTVarAndIntegralArgumentsAction.");
argAction->ScalarArray[index] = value;
}
template <size_t vcount, size_t icount> void SetScalarItem_0(JsRTVarAndIntegralArgumentsAction_InternalUse<vcount, icount>* argAction, int64 value) { return SetScalarItem_InternalUse<vcount, icount, 0>(argAction, value); }
template <size_t vcount, size_t icount> void SetScalarItem_1(JsRTVarAndIntegralArgumentsAction_InternalUse<vcount, icount>* argAction, int64 value) { return SetScalarItem_InternalUse<vcount, icount, 1>(argAction, value); }
template <size_t vcount, size_t icount>
Js::PropertyId GetPropertyIdItem(const JsRTVarAndIntegralArgumentsAction_InternalUse<vcount, icount>* argAction)
{
static_assert(0 < icount, "Index out of bounds in JsRTVarAndIntegralArgumentsAction.");
return (Js::PropertyId)argAction->ScalarArray[0];
}
template <size_t vcount, size_t icount>
void SetPropertyIdItem(JsRTVarAndIntegralArgumentsAction_InternalUse<vcount, icount>* argAction, Js::PropertyId value)
{
AssertMsg(0 < icount, "Index out of bounds in JsRTVarAndIntegralArgumentsAction.");
argAction->ScalarArray[0] = (int64)value;
}
typedef JsRTVarAndIntegralArgumentsAction_InternalUse<1, 1> JsRTSingleVarScalarArgumentAction;
template <EventKind tag> void JsRTSingleVarScalarArgumentAction_Emit(const EventLogEntry* evt, FileWriter* writer, ThreadContext* threadContext) { JsRTVarAndIntegralArgumentsAction_InternalUse_Emit<tag, 1, 1>(evt, writer, threadContext); }
template <EventKind tag> void JsRTSingleVarScalarArgumentAction_Parse(EventLogEntry* evt, ThreadContext* threadContext, FileReader* reader, UnlinkableSlabAllocator& alloc) { JsRTVarAndIntegralArgumentsAction_InternalUse_Parse<tag, 1, 1>(evt, threadContext, reader, alloc); }
typedef JsRTVarAndIntegralArgumentsAction_InternalUse<2, 1> JsRTDoubleVarSingleScalarArgumentAction;
template <EventKind tag> void JsRTDoubleVarSingleScalarArgumentAction_Emit(const EventLogEntry* evt, FileWriter* writer, ThreadContext* threadContext) { JsRTVarAndIntegralArgumentsAction_InternalUse_Emit<tag, 2, 1>(evt, writer, threadContext); }
template <EventKind tag> void JsRTDoubleVarSingleScalarArgumentAction_Parse(EventLogEntry* evt, ThreadContext* threadContext, FileReader* reader, UnlinkableSlabAllocator& alloc) { JsRTVarAndIntegralArgumentsAction_InternalUse_Parse<tag, 2, 1>(evt, threadContext, reader, alloc); }
typedef JsRTVarAndIntegralArgumentsAction_InternalUse<1, 2> JsRTSingleVarDoubleScalarArgumentAction;
template <EventKind tag> void JsRTSingleVarDoubleScalarArgumentAction_Emit(const EventLogEntry* evt, FileWriter* writer, ThreadContext* threadContext) { JsRTVarAndIntegralArgumentsAction_InternalUse_Emit<tag, 1, 2>(evt, writer, threadContext); }
template <EventKind tag> void JsRTSingleVarDoubleScalarArgumentAction_Parse(EventLogEntry* evt, ThreadContext* threadContext, FileReader* reader, UnlinkableSlabAllocator& alloc) { JsRTVarAndIntegralArgumentsAction_InternalUse_Parse<tag, 1, 2>(evt, threadContext, reader, alloc); }
typedef JsRTVarAndIntegralArgumentsAction_InternalUse<2, 2> JsRTDoubleVarDoubleScalarArgumentAction;
template <EventKind tag> void JsRTDoubleVarDoubleScalarArgumentAction_Emit(const EventLogEntry* evt, FileWriter* writer, ThreadContext* threadContext) { JsRTVarAndIntegralArgumentsAction_InternalUse_Emit<tag, 2, 2>(evt, writer, threadContext); }
template <EventKind tag> void JsRTDoubleVarDoubleScalarArgumentAction_Parse(EventLogEntry* evt, ThreadContext* threadContext, FileReader* reader, UnlinkableSlabAllocator& alloc) { JsRTVarAndIntegralArgumentsAction_InternalUse_Parse<tag, 2, 2>(evt, threadContext, reader, alloc); }
//A struct for actions that are definied by their tag and a double
struct JsRTDoubleArgumentAction
{
TTDVar Result;
double DoubleValue;
};
template <EventKind tag>
void JsRTDoubleArgumentAction_Emit(const EventLogEntry* evt, FileWriter* writer, ThreadContext* threadContext)
{
const JsRTDoubleArgumentAction* dblAction = GetInlineEventDataAs<JsRTDoubleArgumentAction, tag>(evt);
writer->WriteKey(NSTokens::Key::argRetVal, NSTokens::Separator::CommaSeparator);
NSSnapValues::EmitTTDVar(dblAction->Result, writer, NSTokens::Separator::NoSeparator);
writer->WriteDouble(NSTokens::Key::doubleVal, dblAction->DoubleValue, NSTokens::Separator::CommaSeparator);
}
template <EventKind tag>
void JsRTDoubleArgumentAction_Parse(EventLogEntry* evt, ThreadContext* threadContext, FileReader* reader, UnlinkableSlabAllocator& alloc)
{
JsRTDoubleArgumentAction* dblAction = GetInlineEventDataAs<JsRTDoubleArgumentAction, tag>(evt);
reader->ReadKey(NSTokens::Key::argRetVal, true);
dblAction->Result = NSSnapValues::ParseTTDVar(false, reader);
dblAction->DoubleValue = reader->ReadDouble(NSTokens::Key::doubleVal, true);
}
//A struct for actions that are definied by their tag and a single string
struct JsRTStringArgumentAction
{
TTDVar Result;
TTString StringValue;
};
template <EventKind tag>
void JsRTStringArgumentAction_UnloadEventMemory(EventLogEntry* evt, UnlinkableSlabAllocator& alloc)
{
JsRTStringArgumentAction* strAction = GetInlineEventDataAs<JsRTStringArgumentAction, tag>(evt);
alloc.UnlinkString(strAction->StringValue);
}
template <EventKind tag>
void JsRTStringArgumentAction_Emit(const EventLogEntry* evt, FileWriter* writer, ThreadContext* threadContext)
{
const JsRTStringArgumentAction* strAction = GetInlineEventDataAs<JsRTStringArgumentAction, tag>(evt);
writer->WriteKey(NSTokens::Key::argRetVal, NSTokens::Separator::CommaSeparator);
NSSnapValues::EmitTTDVar(strAction->Result, writer, NSTokens::Separator::NoSeparator);
writer->WriteString(NSTokens::Key::stringVal, strAction->StringValue, NSTokens::Separator::CommaSeparator);
}
template <EventKind tag>
void JsRTStringArgumentAction_Parse(EventLogEntry* evt, ThreadContext* threadContext, FileReader* reader, UnlinkableSlabAllocator& alloc)
{
JsRTStringArgumentAction* strAction = GetInlineEventDataAs<JsRTStringArgumentAction, tag>(evt);
reader->ReadKey(NSTokens::Key::argRetVal, true);
strAction->Result = NSSnapValues::ParseTTDVar(false, reader);
reader->ReadString(NSTokens::Key::stringVal, alloc, strAction->StringValue, true);
}
//A struct for actions that are definied by a raw byte* + length
struct JsRTByteBufferAction
{
TTDVar Result;
byte* Buffer;
uint32 Length;
};
template <EventKind tag>
void JsRTByteBufferAction_UnloadEventMemory(EventLogEntry* evt, UnlinkableSlabAllocator& alloc)
{
JsRTByteBufferAction* bufferAction = GetInlineEventDataAs<JsRTByteBufferAction, tag>(evt);
if(bufferAction->Buffer != nullptr)
{
alloc.UnlinkAllocation(bufferAction->Buffer);
}
}
template <EventKind tag>
void JsRTByteBufferAction_Emit(const EventLogEntry* evt, FileWriter* writer, ThreadContext* threadContext)
{
const JsRTByteBufferAction* bufferAction = GetInlineEventDataAs<JsRTByteBufferAction, tag>(evt);
writer->WriteKey(NSTokens::Key::argRetVal, NSTokens::Separator::CommaSeparator);
NSSnapValues::EmitTTDVar(bufferAction->Result, writer, NSTokens::Separator::NoSeparator);
bool badValue = (bufferAction->Buffer == nullptr && bufferAction->Length > 0);
writer->WriteBool(NSTokens::Key::boolVal, badValue, NSTokens::Separator::CommaSeparator);
writer->WriteLengthValue(bufferAction->Length, NSTokens::Separator::CommaSeparator);
writer->WriteSequenceStart_DefaultKey(NSTokens::Separator::CommaSeparator);
if(!badValue)
{
for(uint32 i = 0; i < bufferAction->Length; ++i)
{
writer->WriteNakedByte(bufferAction->Buffer[i], i != 0 ? NSTokens::Separator::CommaSeparator : NSTokens::Separator::NoSeparator);
}
}
writer->WriteSequenceEnd();
}
template <EventKind tag>
void JsRTByteBufferAction_Parse(EventLogEntry* evt, ThreadContext* threadContext, FileReader* reader, UnlinkableSlabAllocator& alloc)
{
JsRTByteBufferAction* bufferAction = GetInlineEventDataAs<JsRTByteBufferAction, tag>(evt);
reader->ReadKey(NSTokens::Key::argRetVal, true);
bufferAction->Result = NSSnapValues::ParseTTDVar(false, reader);
bool badValue = reader->ReadBool(NSTokens::Key::boolVal, true);
bufferAction->Length = reader->ReadLengthValue(true);
bufferAction->Buffer = nullptr;
reader->ReadSequenceStart_WDefaultKey(true);
if(!badValue)
{
bufferAction->Buffer = (bufferAction->Length != 0) ? alloc.SlabAllocateArray<byte>(bufferAction->Length) : nullptr;
for(uint32 i = 0; i < bufferAction->Length; ++i)
{
bufferAction->Buffer[i] = reader->ReadNakedByte(i != 0);
}
reader->ReadSequenceEnd();
}
}
//////////////////
//A class for constructor calls
struct JsRTCreateScriptContextAction_KnownObjects
{
TTD_LOG_PTR_ID UndefinedObject;
TTD_LOG_PTR_ID NullObject;
TTD_LOG_PTR_ID TrueObject;
TTD_LOG_PTR_ID FalseObject;
};
struct JsRTCreateScriptContextAction
{
TTD_LOG_PTR_ID GlobalObject;
JsRTCreateScriptContextAction_KnownObjects* KnownObjects;
};
void CreateScriptContext_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void CreateScriptContext_UnloadEventMemory(EventLogEntry* evt, UnlinkableSlabAllocator& alloc);
void CreateScriptContext_Emit(const EventLogEntry* evt, FileWriter* writer, ThreadContext* threadContext);
void CreateScriptContext_Parse(EventLogEntry* evt, ThreadContext* threadContext, FileReader* reader, UnlinkableSlabAllocator& alloc);
void SetActiveScriptContext_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
#if !INT32VAR
void CreateInt_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
#endif
void CreateNumber_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void CreateBoolean_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void CreateString_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void CreateSymbol_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void Execute_CreateErrorHelper(const JsRTSingleVarArgumentAction* errorData, ThreadContextTTD* executeContext, Js::ScriptContext* ctx, EventKind eventKind, Js::Var* res);
template<EventKind errorKind>
void CreateError_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext)
{
const JsRTSingleVarArgumentAction* action = GetInlineEventDataAs<JsRTSingleVarArgumentAction, errorKind>(evt);
Js::Var res = nullptr;
Execute_CreateErrorHelper(action, executeContext, executeContext->GetActiveScriptContext(), errorKind, &res);
if(res != nullptr)
{
JsRTActionHandleResultForReplay<JsRTSingleVarArgumentAction, errorKind>(executeContext, evt, res);
}
}
void VarConvertToNumber_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void VarConvertToBoolean_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void VarConvertToString_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void VarConvertToObject_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void AddRootRef_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void AddWeakRootRef_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void AllocateObject_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void AllocateExternalObject_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void AllocateArrayAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void AllocateArrayBufferAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void AllocateExternalArrayBufferAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void AllocateFunctionAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void HostProcessExitAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void GetAndClearExceptionWithMetadataAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void GetAndClearExceptionAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void SetExceptionAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void HasPropertyAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void HasOwnPropertyAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void InstanceOfAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void EqualsAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void LessThanAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void GetPropertyIdFromSymbolAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void GetPrototypeAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void GetPropertyAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void GetIndexAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void GetOwnPropertyInfoAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void GetOwnPropertyNamesInfoAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void GetOwnPropertySymbolsInfoAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void DefinePropertyAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void DeletePropertyAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void SetPrototypeAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void SetPropertyAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void SetIndexAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void GetTypedArrayInfoAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void GetDataViewInfoAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
//////////////////
//A generic struct for the naked buffer copy action
struct JsRTRawBufferCopyAction
{
TTDVar Dst;
TTDVar Src;
uint32 DstIndx;
uint32 SrcIndx;
uint32 Count;
};
void JsRTRawBufferCopyAction_Emit(const EventLogEntry* evt, FileWriter* writer, ThreadContext* threadContext);
void JsRTRawBufferCopyAction_Parse(EventLogEntry* evt, ThreadContext* threadContext, FileReader* reader, UnlinkableSlabAllocator& alloc);
//A generic struct for the naked buffer modify action (with buffer data)
struct JsRTRawBufferModifyAction
{
TTDVar Trgt;
byte* Data;
uint32 Index;
uint32 Length;
};
template <EventKind tag>
void JsRTRawBufferModifyAction_UnloadEventMemory(EventLogEntry* evt, UnlinkableSlabAllocator& alloc)
{
JsRTRawBufferModifyAction* bufferAction = GetInlineEventDataAs<JsRTRawBufferModifyAction, tag>(evt);
if(bufferAction->Data != nullptr)
{
alloc.UnlinkAllocation(bufferAction->Data);
}
}
template <EventKind tag>
void JsRTRawBufferModifyAction_Emit(const EventLogEntry* evt, FileWriter* writer, ThreadContext* threadContext)
{
const JsRTRawBufferModifyAction* bufferAction = GetInlineEventDataAs<JsRTRawBufferModifyAction, tag>(evt);
writer->WriteKey(NSTokens::Key::argRetVal, NSTokens::Separator::CommaSeparator);
NSSnapValues::EmitTTDVar(bufferAction->Trgt, writer, NSTokens::Separator::NoSeparator);
writer->WriteUInt32(NSTokens::Key::index, bufferAction->Index, NSTokens::Separator::CommaSeparator);
writer->WriteLengthValue(bufferAction->Length, NSTokens::Separator::CommaSeparator);
writer->WriteSequenceStart_DefaultKey(NSTokens::Separator::CommaSeparator);
for(uint32 i = 0; i < bufferAction->Length; ++i)
{
writer->WriteNakedByte(bufferAction->Data[i], i != 0 ? NSTokens::Separator::CommaSeparator : NSTokens::Separator::NoSeparator);
}
writer->WriteSequenceEnd();
}
template <EventKind tag>
void JsRTRawBufferModifyAction_Parse(EventLogEntry* evt, ThreadContext* threadContext, FileReader* reader, UnlinkableSlabAllocator& alloc)
{
JsRTRawBufferModifyAction* bufferAction = GetInlineEventDataAs<JsRTRawBufferModifyAction, tag>(evt);
reader->ReadKey(NSTokens::Key::argRetVal, true);
bufferAction->Trgt = NSSnapValues::ParseTTDVar(false, reader);
bufferAction->Index = reader->ReadUInt32(NSTokens::Key::index, true);
bufferAction->Length = reader->ReadUInt32(NSTokens::Key::count, true);
bufferAction->Data = (bufferAction->Length != 0) ? alloc.SlabAllocateArray<byte>(bufferAction->Length) : nullptr;
reader->ReadSequenceStart_WDefaultKey(true);
for(uint32 i = 0; i < bufferAction->Length; ++i)
{
bufferAction->Data[i] = reader->ReadNakedByte(i != 0);
}
reader->ReadSequenceEnd();
}
void RawBufferCopySync_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void RawBufferModifySync_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void RawBufferAsyncModificationRegister_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void RawBufferAsyncModifyComplete_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
//////////////////
//A class for constructor calls
struct JsRTConstructCallAction
{
TTDVar Result;
//The arguments info (constructor function is always args[0])
uint32 ArgCount;
TTDVar* ArgArray;
//A buffer we can use for the actual invocation
Js::Var* ExecArgs;
};
void JsRTConstructCallAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void JsRTConstructCallAction_UnloadEventMemory(EventLogEntry* evt, UnlinkableSlabAllocator& alloc);
void JsRTConstructCallAction_Emit(const EventLogEntry* evt, FileWriter* writer, ThreadContext* threadContext);
void JsRTConstructCallAction_Parse(EventLogEntry* evt, ThreadContext* threadContext, FileReader* reader, UnlinkableSlabAllocator& alloc);
//A struct for calls to script parse
struct JsRTCodeParseAction
{
TTDVar Result;
//The body counter id associated with this load
uint32 BodyCtrId;
//Is the code utf8
bool IsUtf8;
//The actual source code and the length in bytes
byte* SourceCode;
uint32 SourceByteLength;
//The URI the souce code was loaded from and the source context id
TTString SourceUri;
uint64 SourceContextId;
//The flags for loading this script
LoadScriptFlag LoadFlag;
};
void JsRTCodeParseAction_SetBodyCtrId(EventLogEntry* parseEvent, uint32 bodyCtrId);
void JsRTCodeParseAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void JsRTCodeParseAction_UnloadEventMemory(EventLogEntry* evt, UnlinkableSlabAllocator& alloc);
void JsRTCodeParseAction_Emit(const EventLogEntry* evt, FileWriter* writer, ThreadContext* threadContext);
void JsRTCodeParseAction_Parse(EventLogEntry* evt, ThreadContext* threadContext, FileReader* reader, UnlinkableSlabAllocator& alloc);
//A struct for the replay-debugger info associated with a JsRTCallFunctionAction
struct JsRTCallFunctionAction_ReplayAdditionalInfo
{
//ready-to-run snapshot information -- null if not set and if we want to unload it we just throw it away
SnapShot* RtRSnap;
//A buffer we can use for the actual invocation
Js::Var* ExecArgs;
//Info on the last executed statement in this call
TTDebuggerSourceLocation LastExecutedLocation;
};
//A struct for calls to that execute existing functions
struct JsRTCallFunctionAction
{
TTDVar Result;
//The re-entry depth we are at when this happens
int32 CallbackDepth;
//the number of arguments and the argument array -- function is always argument[0]
uint32 ArgCount;
TTDVar* ArgArray;
//The actual event time associated with this call (is >= the TopLevelCallbackEventTime)
int64 CallEventTime;
//The event time that corresponds to the top-level event time around this call
int64 TopLevelCallbackEventTime;
//The additional info assocated with this action that we use in replay/debug but doesn't matter for record
JsRTCallFunctionAction_ReplayAdditionalInfo* AdditionalReplayInfo;
#if ENABLE_TTD_INTERNAL_DIAGNOSTICS
//The last event time that is nested in this call
int64 LastNestedEvent;
//The name of the function
TTString FunctionName;
#endif
};
#if ENABLE_TTD_INTERNAL_DIAGNOSTICS
int64 JsRTCallFunctionAction_GetLastNestedEventTime(const EventLogEntry* evt);
void JsRTCallFunctionAction_ProcessDiagInfoPre(EventLogEntry* evt, Js::Var funcVar, UnlinkableSlabAllocator& alloc);
void JsRTCallFunctionAction_ProcessDiagInfoPost(EventLogEntry* evt, int64 lastNestedEvent);
#endif
void JsRTCallFunctionAction_ProcessArgs(EventLogEntry* evt, int32 rootDepth, int64 callEventTime, Js::Var funcVar, uint32 argc, Js::Var* argv, int64 topLevelCallbackEventTime, UnlinkableSlabAllocator& alloc);
void JsRTCallFunctionAction_Execute(const EventLogEntry* evt, ThreadContextTTD* executeContext);
void JsRTCallFunctionAction_UnloadEventMemory(EventLogEntry* evt, UnlinkableSlabAllocator& alloc);
void JsRTCallFunctionAction_Emit(const EventLogEntry* evt, FileWriter* writer, ThreadContext* threadContext);
void JsRTCallFunctionAction_Parse(EventLogEntry* evt, ThreadContext* threadContext, FileReader* reader, UnlinkableSlabAllocator& alloc);
//Unload the snapshot
void JsRTCallFunctionAction_UnloadSnapshot(EventLogEntry* evt);
//Set the last executed statement and frame (in debugging mode -- nops for replay mode)
void JsRTCallFunctionAction_SetLastExecutedStatementAndFrameInfo(EventLogEntry* evt, const TTDebuggerSourceLocation& lastSourceLocation);
bool your_sha256_hashbugger(const EventLogEntry* evt, TTDebuggerSourceLocation& lastSourceInfo);
}
}
#endif
```
|
```swift
//
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, including without limitation the rights
//to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
//copies of the Software, and to permit persons to whom the Software is
//furnished to do so, subject to the following conditions:
//
//The above copyright notice and this permission notice shall be included in all
//copies or substantial portions of the Software.
//
//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
//IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
//FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
//AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
//LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
//OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
//SOFTWARE.
import Quick
import Nimble
import BATabBarController
class BATabBarBadgeSpecs: QuickSpec {
override func spec() {
var tabBarBadge :BATabBarBadge!
var tabBarBadge2 :BATabBarBadge!
describe("BATabBarBadge Logical Tests") {
context("Can be initialized") {
beforeEach {
tabBarBadge = BATabBarBadge(value:4, badgeColor: .red)
tabBarBadge2 = BATabBarBadge(value: 4, badgeColor: .red, strokeColor: .blue, strokeWidth: 2)
}
afterEach {
tabBarBadge = nil
tabBarBadge2 = nil
}
//(id)init
it("should be created") {
expect(tabBarBadge).toNot(beNil())
expect(tabBarBadge).to(beAnInstanceOf(BATabBarBadge.self))
}
//(void) customInits
it("should have a badgeColor property of red") {
expect(tabBarBadge.badgeColor).to(equal(.red))
}
it("should have a badgeValue value of 4"){
expect(tabBarBadge.value).to(equal(4))
}
it("should have a badgeColor property of red") {
expect(tabBarBadge2.badgeColor).to(equal(.red))
}
it("should have a badgeValue propert of 4") {
expect(tabBarBadge2.value).to(equal(4))
}
}
}
}
}
```
|
```java
/*
* This file is part of ViaVersion - path_to_url
*
* This program is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
*
* along with this program. If not, see <path_to_url
*/
package com.viaversion.viaversion.util;
import com.viaversion.nbt.tag.ListTag;
import com.viaversion.nbt.tag.StringTag;
import it.unimi.dsi.fastutil.objects.Object2IntMap;
import it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap;
import java.util.Collection;
import org.checkerframework.checker.nullness.qual.Nullable;
public final class KeyMappings {
private final Object2IntMap<String> keyToId;
private final String[] keys;
public KeyMappings(final String... keys) {
this.keys = keys;
keyToId = new Object2IntOpenHashMap<>(keys.length);
keyToId.defaultReturnValue(-1);
for (int i = 0; i < keys.length; i++) {
keyToId.put(keys[i], i);
}
}
public KeyMappings(final Collection<String> keys) {
this(keys.toArray(new String[0]));
}
public KeyMappings(final ListTag<StringTag> keys) {
this(keys.getValue().stream().map(StringTag::getValue).toArray(String[]::new));
}
public @Nullable String idToKey(final int id) {
if (id < 0 || id >= keys.length) {
return null;
}
return keys[id];
}
public int keyToId(final String identifier) {
return keyToId.getInt(Key.stripMinecraftNamespace(identifier));
}
public String[] keys() {
return keys;
}
public int size() {
return keys.length;
}
}
```
|
Farneta Charterhouse, in Italian Certosa di Farneta (also Certosa di Santo Spirito di Farneta or Certosa di Maggiano) is a Carthusian monastery (charterhouse) just north of Lucca, region of Tuscany, Italy.
History
The charterhouse was founded in the early 14th century. In the 17th century, the painters Giovanni Fondagna and Stefano Cassiani worked on the interior of the church, including the cupola and two altar-pieces. The monastery was suppressed by Napoleonic forces in 1809, only to be re-occupied later in the 19th century.
20th century
In September 1944, monks from the charterhouse opened their doors to troops from the 16th SS Panzergrenadier Division, who said they came bearing gifts for the abbey. They broke into the monastery to arrest 32 partisans and Jews being sheltered in the monastery. Some of the refugees were able to escape. Six monks and six lay brothers were arrested, tortured, and killed by firing squad.
A plaque at the entrance of the monastery, dedicated on 20 January 1985, nearly four decades after the event, reads:
Among the twelve Carthusians killed were two Germans, one Swiss, one Venezuelan, and one Spaniard. The remaining monks were also from diverse countries. Those killed were Benedetto Lapuente, Bruno D'Amico, Raffaele Cantero, Adriano Compagnon, Adriano Clerc, Michele Nota, Giorgio Maritano, Pio Egger, Martino Binz, Gabriele Maria Costa, Bernardo Montes de Oca, and Aldo Mei. It is said that when the refugees asked for asylum, the prior Dom Martino Binz consulted with the procurator Dom Gabriele Costa, and the novice master Dom Pio Egger. Binz stated:
If it were Jesus himself knocking at the door, what would we tell him? Would we have the courage to send him off to die?
They opened the door.
After the war, the monks remained silent about the execution. In 2000 the Holy See requested a report from the monks, to be sent to the Commission of the New Martyrs. Journalist Luigi Accattoli was the first person external to the Commission who read the report and in 2014 published the book La strage di Farneta - The Farneta Massacre -.
References
Bibliography
Sciascia, Giuseppina, The Silent Summer of 1944, in «L'Osservatore Romano. English Weekly Edition», 2005, February 2. Republished as "Carthusian Booklets Series", no. 10. Arlington, VT: Charterhouse of the Transfiguration, 2006
Accattoli, Luigi, La strage di Farneta. Storia sconosciuta dei dodici Certosini fucilati dai tedeschi nel 1944, Soveria Mannelli, Rubbettino, 2013
Carthusian monasteries in Italy
Monasteries in Tuscany
Buildings and structures in Lucca
Massacres in 1944
Massacres in Italy
Massacres in the Italian Social Republic
Massacres committed by Nazi Germany
War crimes of the Waffen-SS
|
Keney Park Golf Course is a public golf course located in Hartford, Connecticut and Windsor, Connecticut within Hartford's Keney Park. The first nine holes were designed by eminent golf course architect Devereux Emmet in 1927, with the remaining nine made by City of Hartford engineer Robert ”Jack” Ross in 1931.
History
Discussions of building a golf course in Keney Park began as early as 1916 as a means to alleviate congestion in Hartford's Goodwin Park. Goodwin Park was the city's only public golf course at the time, and there was a growing consensus that a new course would help reduce the crowds at Goodwin and improve the skill-set of Hartford players by creating a more challenging course. The course opened on October 13, 1927 at 35 cents for nine holes and 50 cents for 18. Devereux Emmet designed the first nine holes at a cost of $1,500 to the city, Hartford solicited Robert Ross, a city-engineer, to design the remaining nine holes, which premiered on August 29, 1930.
In the second half of the 20th century, Keney park entered a period of decline and mismanagement which culminated in the city terminating their existing manager and launching a comprehensive refurbishment of the course and club house with the assistance of the Connecticut PGA. Since the refurbishment, the course has received numerous accolades, such as tying for first place in Golf Inc.'s 2016 Public Course Renovation list and being rated 2017's third best public course in the state by Golfweek.
Course
Facilities
The Keney Park Club House was designed by Smith & Bassette, a local firm based in Hartford, Connecticut. The Club House contains the pro shop and a restaurant, The Tavern at Keney Park.
References
External links
Keney Park Golf Course
The Tavern at Keney Park
Golf clubs and courses in Connecticut
1927 establishments in Connecticut
Sports venues completed in 1927
Sports venues in Hartford, Connecticut
Windsor, Connecticut
|
Maidstone Grammar School (MGS) is a grammar school in Maidstone, England. The school was founded in 1549 after Protector Somerset sold Corpus Christi Hall on behalf of King Edward VI to the people of Maidstone for £200. The Royal Charter for establishment of a grammar school was also granted at this time.
Admissions
Maidstone Grammar School is a selective school, taking boys at the age of 11 and over based on their 11+ results, and also admits male and female pupils at 16+ based on their GCSE results.
The school currently has 1292 pupils and 112 members of staff, with 69 teachers as of the academic year 2018–2019.
Buildings
The main school building surrounds a Tudor-style quadrangle with a cloister on one side. Two new blocks were added in the 1960s and 80s to complete a second quadrangle, nicknamed the 'Court'. In 2005, a new refectory and teaching block (renamed the 'Walker Building') opened, followed by Sixth Form buildings in 2011.
Additional funding from Kent County Council allowed the school to open a designated Performing Arts building, new sports pavilion, and computing and science block between 2017 and 2019. The pavilion was constructed to replace the traditional pavilion which had fallen into disrepair, with a second floor having recently been added to house the Modern Foreign Languages department. As well as that, the school opened a refurbishment of the War Memorial Library and a new all-weather sports pitch.
Houses
A house system was inaugurated in 1899 with three houses of 'School', 'East Borough' and 'West Borough'; allocation was based on local geography. In September 2007, the school reformed the tradition with the introduction of six new school houses, named after military vehicles: Challenger (purple), Churchill (yellow), Endeavour (red), Hurricane (green), Invincible (blue), and Spitfire (white). It was again reformed in September 2017, splitting the school into four houses, named after locations of the school: Barton (blue), College (green), Corpus Christi (red), and Tonbridge (yellow). This was due to the transition into vertical forms, where each form consists of a few members from every year.
Sixth form
Each year the school takes up to 200 students into Year 12, including about thirty external pupils of mixed gender from any school according to their GCSE results. The sixth form teaches AS and A-Level courses.
Sport
The main sports at the school are rugby, football and cricket, but participation also includes rowing, cross country, athletics, handball, and basketball. The school has won various district and county competitions.
In the 1999/2000 season, the 1st XI football team reached the final of the ESFA U18 Cup, narrowly losing to The Kingsway School
In the 2004/05 season, the U15 rugby team won the Schools Vase, having won the Kent Schools Cup earlier in the season, beating Oakham School 33-7.
Combined Cadet Force (CCF)
The school has a Combined Cadet Force, with Navy, Army and RAF sections accepting students on a voluntary basis when they reach year nine. The Combined Cadet Force, in particular the Army section, has roots in the Royal Engineers. The Navy section is affiliated with HMS Collingwood and, a land establishment in Portsmouth, and also has an affiliated ship (HMS Kent (F78)). The RAF section regularly enters teams into both regional and national competitions and have won a total of nine Air Squadron Trophies
In 2001 two senior students plead guilty to a series of violent and racially aggravated charges relating to abuse of junior CCF cadets. Staff were accused of turning a blind eye or, according to the prosecutor, involved in some of the incidents.
School song
In 1908, Rev C. G. Duffield (the headmaster from 1898 to 1913), wrote Latin lyrics to the music of music-master Dr H. F. Henniker for Gaudeamus, the school song. The words, based on verses in Virgil's Aeneid, are still sung on special occasions such as upper and lower school speech days.
Notable events
In May 2016, former Maidstone Grammar School teacher Steve Restarick was found guilty of fraud charges, involving embezzling £6,258 of the school's resources over several years.
In December 2020, Maidstone Grammar School was widely reported in the news for choosing to delay the reopening of the school over concerns of the impact of Brexit on its students and staff being able to access the school.
Notable alumni (Old Maidstonians)
Former pupils of the school are called "Old Maidstonians" and include:
Art, Music & Literature
Dan Abnett, comic book writer
William Alexander (painter)†
Richard Beeching, Chairman of British Railways
Edmund Blunden†, writer & poet
Daniel Blythe, writer
James Butler (artist) MBE, sculptor
Philip Langridge† CBE, tenor
Philip Moore, Organist of York Minster from 1983 to 2008, Organist of Guildford Cathedral from 1974 to 1983
Christopher Smart†, poet
Yeborobo, musical group (members thereof)
Business & Commerce
Richard (Dick) Beeching, Baron Beeching†, physicist, British Railways Chairman, cause of the Beeching cuts
Sir Jack Hughes, property mogul & philanthropist
Mark F. Watts, lobbyist & former Labour MEP
Media, television & film
James Burke, science historian and TV presenter
David Chater, television foreign correspondent and former Chairman of the Old Maidstonian Society
Andrew Dilnot CBE (briefly), Principal of St Hugh's College, Oxford since 2002, and former presenter of BBC Radio 4's More or Less
James Hillier (actor)
Paul Lewis, financial journalist and presenter of Money Box & Money Box Live on BBC Radio 4
Kevin Loader, film and television producer
Shaun McKenna, screenwriter
Stuart Miles, Blue Peter presenter from 1994 to 1999
Tom Riley, film and television actor
Military
Captain Ben Babington-Browne†, of 22 Engineer Regiment of the Royal Engineers, killed on 6 July 2009 after a Canadian Bell CH-146 Griffon crashed in Zabul Province, Afghanistan
Lt-Gen Sir Frederick Dobson Middleton CB, Commandant from 1874 to 1884 of RMC Sandhurst
Air Vice-Marshal Philip Hedgeland† CB OBE, expert in airborne radar, Station Commander from 1966 to 1967 of RAF Stanbridge, and helped develop the H2S radar in the war at the Telecommunications Research Establishment in Malvern
Air Marshal Sir Timothy Jenner CB, Station Commander of RAF Shawbury from 1987 to 1988
Air Vice-Marshal Giles Legood MBE QHC, Chaplain-in-Chief of the Royal Air Force Chaplains Branch and Archdeacon for the Royal Air Force
Politics & government
Sir Samuel Egerton Brydges†, MP from 1812 to 1818 for Maidstone
Nick Gibb (briefly), Conservative Minister of State for School Standards from 2010 to 2012 and from 2015 to 2021, and MP for Bognor Regis and Littlehampton since 1997
Stuart Gilbert† Director of National Saving in the 1980s
John Pugh, Liberal Democrat MP 2001-2017 for Southport
Adam Sampson, Legal Services Ombudsman from 2009 to 2014 and Chief Executive from 2003 to 2009 of Shelter
Mark F. Watts, Labour MEP from 1994 to 1999 for Kent East, then South East England from 1999 to 2004
Religion
Rt Rev David John Atkinson, Bishop of Thetford from 2001 to 2009
Leo Avery†
Rt Rev Bob Evens, Bishop of Crediton 2004-2012
Henry Gould† vicar of St Paul's Cathedral 1908-1913
George Harris (Unitarian)†
Very Rev Robert William Pope OBE†
Martin Warner (bishop) SSC, Bishop of Whitby 2010–12, Bishop of Chichester 2012-present
Science & academia
Peter Day†, Fullerian Professor of Chemistry from 1994 to 2008, and Director of the Royal Institution from 1991 to 1998
Frank Finn†, ornithologist
Peter Heather, historian
Geoffrey Hosking, Professor of Russian History from 1984 to 2007 at University College London
William Morfill†, Professor of Russian from 1900 to 1909 at the University of Oxford
John Orrell†, theatre historian
John Pond† Astronomer Royal 1811-1835
Ivan Roots† Historian, Biographer of Oliver Cromwell
Bill Saunders, Professor of Endodontology, and Dean of Dentistry since 2000 at the University of Dundee, and President from 1997 to 1998 of the British Endodontic Society
Sport
Bill Leyland, London Broncos rugby league footballer
Oliver Leyland, London Broncos rugby league footballer
David Flatman, Bath Rugby Union player
Tom Parsons, Kent and Hampshire county cricketer
Frank Sando, Olympic athlete, two-time winner at the International Cross Country Championships (1955, 1957), represented Great Britain in two consecutive Summer Olympic Games
Steven Haworth, wrestler also known as Nigel McGuinness and Desmond Wolfe
Michael Malone, four-in-hand carriage driver, Scots Greys Regiment.
Other
Julius Brenchley†, explorer
Francis Fane, 1st Earl of Westmorland†
Sir Thomas Fane†
Notable staff
William Golding, author of Lord of the Flies, taught English and Music at the school between 1938 and 1940, when he met his wife Ann Brookfield.
Steve Restarick, former professional footballer, taught P.E. at the school before his suspension in 2014 amid fraud allegations.
References
External links
Official website
Ofsted Report
Get information about schools (formerly Edu Base)
Schools Financial Benchmarking Service
Compare School Performance
1549 establishments in England
Educational institutions established in the 1540s
Grammar schools in Kent
Schools in Maidstone
Boys' schools in Kent
Foundation schools in Kent
|
Peter Orner is an American writer. He is the author of two novels, two story collections and a book of essays. Orner holds the Professorship of English and Creative Writing at Dartmouth College and was formerly a professor of creative writing at San Francisco State University. He spent 2016 and 2017 on a Fulbright in Namibia teaching at the University of Namibia.
Early life and education
Orner was born in Chicago. He graduated from the University of Michigan in 1990. He later earned a Juris Doctor degree from Northeastern University School of Law, and an MFA from the Iowa Writer's Workshop.
Career
In 2001 Orner published his first book, Esther Stories,. It won a prize from the American Academy of Arts and Letters, the Goldberg Prize for Jewish Fiction, and was a finalist for the Pen Hemingway Prize, the Young Lion's Award from the New York Public Library, and was named a Notable Book of the Year by The New York Times. Of Esther Stories, The New York Times wrote, "Orner doesn't just bring his characters to life, he gives them souls."
In 2006, Orner published his first novel, The Second Coming of Mavala Shikongo, which was set in Namibia, where Orner worked as an English teacher in the 1990s; it won the Bard Fiction Prize and was a finalist for the Los Angeles Times Book Prize. Orner was awarded a Guggenheim Fellowship in 2006, as well as the two-year Lannan Foundation Literary Fellowship in 2007 and 2008.
Orner served as editor of two non-fiction books, Underground America (2008) and Hope Deferred: Narratives of Zimbabwean Lives (2010), both published by McSweeney's / Voice of Witness. His 2011 novel, Love and Shame and Love received positive reviews and was a New York Times Editor's Choice Book, and California Book Award winner.
In 2013, Little Brown released two books by Orner: a new edition of Esther Stories (with an introduction by Marilynne Robinson) and a new collection of stories, Last Car Over the Sagamore Bridge.
Orner's stories and essays have appeared in The Atlantic monthly, The New York Times, the San Francisco Chronicle, The Paris Review, Granta, McSweeney's, The Believer, and the Southern Review. His work has been anthologized in Best American Stories, The Best American Nonrequired Reading, and twice won a Pushcart Prize.
Orner is a Professor of English and Creative Writing at Dartmouth College. He has taught at San Francisco State University, The University of Iowa Writers' Workshop, The Warren Wilson MFA Program, The University of Montana, Washington University in St. Louis, Miami University, Bard College, and Charles University in Prague, Czech Republic.
A film version of one of Orner's stories, The Raft, with a screenplay by Orner and director Rob Jones, and starring Edward Asner has played a number of film festivals.
In 2016, Orner released a collection of essays, Am I Alone Here?, which was named a finalist for the National Book Critics Circle Awards in their Criticism category. The book has garnered positive reviews in The New York Times, the New Yorker, and a number of other publications.
Orner's newest collection of stories, Maggie Brown & Others, was released on July 2, 2019, and has received overwhelmingly positive reviews from the likes of the New York Times, Washington Post and Chicago Tribune.
Personal
His older brother is Eric Orner, the creator of the comic The Mostly Unfabulous Social Life of Ethan Green. He also has two younger siblings, William and Rebecca Orner. Orner has a long-time association with Camp Nebagamon, an overnight camp at Lake Nebagamon in northern Wisconsin, where he has been a counselor, wilderness trip leader, and village director. He has also worked as human rights observer in Chiapas, Mexico, a cab driver in Iowa City, and a sewer department worker for the city of Highland Park, Illinois, where he once worked side-by-side with Alex Gordon, a Chicago-based journalist and author of College: The Best Five Years of Your Life.
Honors
Edward Lewis Wallant Award (for Maggie Brown & Others, 2020)
National Book Critics Circle Awards, Finalist in Criticism Category (2016)
California Book Awards, Silver Medal for Fiction (2012)
Virginia Commonwealth University First Novelist Award (2007)
Guggenheim Fellowship (2006)
Lannan Literary Fellowship (2006)
Bard Fiction Prize (2007)
Finalist, Los Angeles Times Book Prize Best Fiction (2007)
Rome Prize in Literature, American Academy of Arts and Letters (2002–2003)
Samuel Goldberg Award for Jewish Fiction
New York Times Notable Book (for Esther Stories and Maggie Brown & Others)
Finalist, PEN/Hemingway Award
Finalist, Young Lions Fiction Prize (2002)
Finalist, John Sargent Sr. First Novel Prize (2006)
Bibliography
Am I Alone Here?
Esther Stories
Last Car Over the Sagamore Bridge
Love and Shame and Love
The Second Coming of Mavala Shikongo
Hope Defeferred (Editor)
Underground America (Editor)
Lavil: Life, Love and Death in Port-au-Prince (Editor)
References
External links
Orner's Esther Stories, The New York Times
An interview with Orner
Excerpts from The Second Coming of Mavala Shikongo
"First Love", a novel excerpt, Narrative Magazine.
2007 Bard Fiction Prize
VCU First Novelist Prize
Underground America: Narratives of Undocumented Lives
Interview with Peter Orner on Notebook on Cities and Culture
Year of birth missing (living people)
Living people
21st-century American novelists
American male novelists
Writers from San Francisco
Iowa Writers' Workshop alumni
American male short story writers
University of Michigan alumni
21st-century American short story writers
21st-century American male writers
San Francisco State University faculty
The Believer (magazine) people
Dartmouth College faculty
Warren Wilson College faculty
University of Montana faculty
Washington University in St. Louis faculty
Miami University faculty
Bard College faculty
Academic staff of Charles University
Northeastern University School of Law alumni
|
```twig
{% embed 'reporting/user_list_period_data.html.twig' with {'avatar': false, 'showAccountNumber': true, 'stats': stats, 'dataType': dataType, 'period_attribute': period_attribute} only %}
{% set dataTypeFormat = '' %}
{% if dataType == 'rate' or dataType == 'internalRate' %}
{% set dataTypeFormat = ' data-format="' ~ constant('App\\Export\\Base\\AbstractSpreadsheetRenderer::RATE_FORMAT_NO_CURRENCY') ~ '"' %}
{% elseif dataType == 'duration' %}
{% set dataTypeFormat = ' data-format="' ~ constant('App\\Export\\Base\\AbstractSpreadsheetRenderer::DURATION_DECIMAL') ~ '"' %}
{% endif %}
{% block user_column %}
{{ userPeriod.user.displayName|sanitize_dde }}
{% endblock %}
{% block duration -%}
{{ period.totalDuration / 3600 }}
{%- endblock %}
{% block total_duration -%}
{{ absoluteDuration / 3600 }}
{%- endblock %}
{% block total_duration_user -%}
{{ usersTotalDuration / 3600 }}
{%- endblock %}
{% block total_duration_period -%}
{{ total / 3600 }}
{%- endblock %}
{% block rate %}
{{ period.totalRate }}
{% endblock %}
{% block total_rate %}
{{ absoluteRate }}
{% endblock %}
{% block total_rate_user %}
{{ usersTotalRate }}
{% endblock %}
{% block total_rate_period %}
{{ total }}
{% endblock %}
{% block internal_rate %}
{{ period.totalInternalRate }}
{% endblock %}
{% block total_internal_rate %}
{{ absoluteInternalRate }}
{% endblock %}
{% block total_internal_rate_user %}
{{ usersTotalInternalRate }}
{% endblock %}
{% block total_internal_rate_period %}
{{ total }}
{% endblock %}
{% block period_name %}
<th class="text-center text-nowrap">
{{ column|date_short }}
</th>
{% endblock %}
{% block user_column_cell_attribute %} data-format="@"{% endblock %}
{% block period_cell_attribute %}{{ dataTypeFormat|raw }}{% endblock %}
{% block user_total_cell_attribute %}{{ dataTypeFormat|raw }}{% endblock %}
{% block total_period_cell_attribute %}{{ dataTypeFormat|raw }}{% endblock %}
{% block total_rate_period_cell_attribute %}{{ dataTypeFormat|raw }}{% endblock %}
{% block total_internal_rate_period_cell_attribute %}{{ dataTypeFormat|raw }}{% endblock %}
{% block total_duration_period_cell_attribute %}{{ dataTypeFormat|raw }}{% endblock %}
{% endembed %}
```
|
```python
# This file is associated with the book
# "Machine Learning Refined", Cambridge University Press, 2016.
# by Jeremy Watt, Reza Borhani, and Aggelos Katsaggelos.
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
```
```markdown
A simple data loading function.```
```python
# import training data
def load_data(csvname):
# load in data
data = np.asarray(pd.read_csv(csvname,header = None))
X = data[:,0:-1]
y = data[:,-1]
y.shape = (len(y),1)
# rescale final two features - they are very big naturally
X[:,-1] = np.log(X[:,-1])
X[:,-2] = np.log(X[:,-2])
# pad data with ones for more compact gradient computation
o = np.ones((np.shape(X)[0],1))
X = np.concatenate((o,X),axis = 1)
X = X.T
return X,y
```
```markdown
Functionality for performing gradient descent using the squared margin cost - gradient computation, descent loop, etc.,```
```python
### TODO: YOUR CODE GOES HERE ###
# gradient descent function for squared margin cost
def squared_margin_grad(X,y):
# Initializations
w = np.zeros((np.shape(X)[0],1)); # random initial point
alpha = 10**-6
max_its = 500
misclass_history = []
for k in range(max_its):
return misclass_history
# function for counting the number of misclassifications
def count_misclasses(X,y,w):
y_pred = np.sign(np.dot(X.T,w))
num_misclassed = len(y) - len([i for i, j in zip(y, y_pred) if i == j])
return num_misclassed
```
```markdown
With everything setup its time to run all.```
```python
# load in data
X,y = load_data('spambase_data.csv')
# run gradient descent - with
history_1 = squared_margin_grad(X[0:48,:],y)
history_2 = squared_margin_grad(X[0:54,:],y)
history_3 = squared_margin_grad(X,y)
# plot histories
plt.plot(history_1[10:],linewidth = 2)
plt.plot(history_2[10:],linewidth = 2)
plt.plot(history_3[10:],linewidth = 2)
plt.legend(['BoW','BoW + Char feats','BoW + Char + spam feats'])
plt.show()
```
|
Percy Wilfred "Red" Griffiths (March 30, 1893 – June 12, 1983) was an American football player and coach and politician. He played college football at Pennsylvania State College—now known as Pennsylvania State University and professionally for one season in the National Football League (NFL) with the Canton Bulldogs. Griffiths was the head football coach at Marietta College in Marietta, Ohio from 1921 to 1926 and Dickinson College in Carlisle, Pennsylvania from 1929 to 1930, compiling a career college football coaching record of 16–41–10. He was the mayor of Marietta, Ohio from 1938 and 1939 and served three terms in the United States House of Representatives, representing Ohio's 15th congressional district from 1943 to 1949.
Early life and playing career
After serving in the United States Navy during World War I, "Red" Griffiths attended Bloomsburg Normal School. He moved on to Pennsylvania State College where he played college football as a guard for Hugo Bezdek's undefeated 1920 team. Griffith was named to the 1920 College Football All-America Team. He also lettered in lacrosse for the Nittany Lions and earned a Bachelor of Science in chemistry from Penn State in 1921. He played one professional season (1921) with the Canton Bulldogs of the National Football League (NFL).
Coaching career
Marietta
Griffiths was the athletic director and coached football, basketball and baseball at Marietta College in Marietta, Ohio from 1921 to 1927. He coached football at Marietta from 1921 until the end of the 1926 season, accumulating a record of 14–28–7. While at Marietta, he also coached men's basketball from 1922 until 1927.
Dickinson
Griffiths was the 21st head football coach at Dickinson College in Carlisle, Pennsylvania, serving for two seasons, from 1929 to 1930, and compiling a record of 2–13–3.
Political career and later life
Griffiths continued his education at Columbia University, graduating in 1930. He served as Marietta's mayor from 1938 to 1939 and later represented Washington County, Ohio and Ohio's 15th congressional district in the 78th, 79th, and 80th U.S. Congresses (1943–1949). Griffiths retired to Clearwater, Florida in 1952, where he lived until his death at the age of 90, in 1983.
References
External links
1893 births
1983 deaths
20th-century American politicians
American athlete-politicians
American football guards
United States Navy personnel of World War I
Basketball coaches from Pennsylvania
Bloomsburg Huskies football players
Canton Bulldogs players
Columbia University alumni
Dickinson Red Devils football coaches
Marietta Pioneers athletic directors
Marietta Pioneers baseball coaches
Marietta Pioneers football coaches
Marietta Pioneers men's basketball coaches
Mayors of places in Ohio
Penn State Nittany Lions football coaches
Penn State Nittany Lions football players
Penn State Nittany Lions men's lacrosse players
People from Lackawanna County, Pennsylvania
Players of American football from Pennsylvania
Politicians from Marietta, Ohio
Lacrosse players from Pennsylvania
Sportspeople from Marietta, Ohio
United States Navy sailors
Republican Party members of the United States House of Representatives from Ohio
|
Pomadasys olivaceus, commonly named piggy, or pinky is a species of marine fish in the family Haemulidae, the grunts, first described by F.Day in 1875 as Pristipoma olivaceum in Day, F. (1875), The fishes of India; being a natural history of the fishes known to inhabit the seas and fresh waters of India, Burma, and Ceylon. London. Part 1.
Distribution
It is found on the south and east coasts of southern Africa from False Bay to Mozambique, and elsewhere in the western Indian Ocean, in coastal waters, on sand and reef to depths of 90 m, including tidal estuaries,
Description
Silvery body toning to olive on the back, and a dark blotch on the operculum behind the eye.
References
olivaceus
Animals described in 1875
Fish of the Indian Ocean
|
Enkutatash (Ge'ez: እንቁጣጣሽ) is a public holiday in coincidence of New Year in Ethiopia and Eritrea. It occurs on Meskerem 1 on the Ethiopian calendar, which is 11 September (or, during a leap year, 12 September) according to the Gregorian calendar.
Origin
According to Ethiopian tradition, on 11 September Queen of Sheba (Makeda in Ethiopian) returned to Ethiopia from her visit to King Solomon in Jerusalem. Her followers celebrated her return by giving her jewels. Hence ‘‘Enkutatash’’ means the ‘‘gift of jewels’’.
Observance
This holiday is based on the Ethiopian calendar. It is the Ethiopian New Year.
Large celebrations are held around the country, notably at the Raguel Church on Mount Entoto.
According to InCultureParent, "after attending church in the morning, families gather to share a traditional meal of injera (flat bread) and wat (sauce). Later in the day, young girls donning new clothes, gather daisies and present friends with a bouquet, singing New Year's songs." According to the Ethiopian Tourism Commission, "Enkutatash is not exclusively a religious holiday. Modern Enkutatash is also the season for exchanging formal new year greetings and cards among the urban sophisticated – in lieu of the traditional bouquet of flowers."
The Ethiopian counting of years begins in the year 8 of the common era. This is because the common era follows the calculations of Dionysius, a 6th-century monk, while the non-Chalcedonian countries continued to use the calculations of Annius, a 5th-century monk, which had placed the Annunciation of Christ exactly 8 years later. For this reason, on Enkutatash in the year 2016 of the Gregorian calendar, it became 2009 in the Ethiopian calendar.
See also
Culture of Ethiopia
Culture of Eritrea
New Year's Day
References
External links
Enkutatash 2005
Ethiopian culture
New Year celebrations
Public holidays in Ethiopia
September observances
|
```javascript
import SearchInput from './SearchInput'
export default SearchInput
```
|
```xml
export function apiRequestToCurl (payload: any = {}) {
const output = []
const request = payload.request || {}
const { method, headers, data, url } = request
if (method === "GET") {
output.push("curl")
} else {
output.push(`curl -X ${method} `)
}
for (const header in headers) {
output.push(` -H "${header}:${headers[header]}"`)
}
output.push(` ${url}`)
if (data) {
let parsedData = data
try {
if (typeof data === "string") {
parsedData = JSON.parse(parsedData)
}
parsedData = JSON.stringify(parsedData)
} catch (e) {}
output.push(` -d '${parsedData}'`)
}
return output.join("")
}
```
|
Julattenius lawrencei is a species of schizomid arachnids (commonly known as sprickets or short-tailed whip-scorpions) in the Hubbardiidae family. It is endemic to Australia. It was described in 1992 by Australian arachnologist Mark Harvey.
Distribution and habitat
The species occurs in Far North Queensland. The type locality is Julatten, at the eastern edge of the Atherton Tableland.
References
Hubbardiidae
Endemic fauna of Australia
Arachnids of Australia
Arthropods of Queensland
Animals described in 1992
Taxa named by Mark Harvey
|
The 2017 Auburn Tigers football team represented Auburn University in the 2017 NCAA Division I FBS football season. The Tigers played their home games at Jordan–Hare Stadium in Auburn, Alabama and competed in the Western Division of the Southeastern Conference (SEC). They were led by fifth-year head coach Gus Malzahn. Auburn finished the season 10–4 overall and 7–1 in SEC play to win a share of the Western Division title with Alabama. Due to their head-to-head win over Alabama, they represented the Western Division in the SEC Championship Game where they lost to Georgia. They were invited to the Peach Bowl, where they lost to American Athletic Conference champion UCF.
Recruiting
Position key
Recruits
The Tigers signed a total of 23 recruits.
Schedule
Auburn's 2017 schedule was announced on September 13, 2016. It consisted of 7 home games and 5 away games in the regular season. Auburn hosted SEC opponents Alabama, Georgia, Mississippi State, and Ole Miss, and the Tigers traveled to Arkansas, LSU, Missouri, and Texas A&M. The Tigers hosted three of their four non–conference games: Mercer from the Southern Conference and Georgia Southern and Louisiana–Monroe, both from the Sun Belt Conference. Auburn traveled to Clemson of the Atlantic Coast Conference. Auburn had seven home games during this season because it was playing non-conference Clemson on the road, a return date for Clemson's visit to Jordan–Hare in 2016.
Game summaries
Georgia Southern
Auburn opened the season against Georgia Southern. Prior to this meeting, the two teams had only met once, a 32–17 victory for Auburn in the 1991 season. Auburn suspended QB Sean White, RB Kamryn Pettway, and WR Kyle Davis prior to this game. The Tigers struggled on offense early, turning the ball over 3 times in the first half. However, in the second half the Tigers started to find their rhythm. On defense, however, the Tigers never struggled. The Tigers held the Eagles to 78 yards and no third down conversions on 15 attempts and allowed no points (the only Georgia Southern score was a fumble return). Auburn now leads the all-time series 2–0 and has never lost to a Sun Belt Conference team (26–0).
Clemson
Auburn had one of their worst offensive performances in recent memory in a 14–6 loss at the defending national champions, Clemson. The Tigers only mustered 117 yards of offense. The offensive line allowed 11 sacks on the night, one short of the Clemson record of 12 in a game. The defense was a bright spot, though, as Auburn held Clemson to its lowest point total since November 15, 2014 and stopped Clemson's run game effectively, though Clemson was able to convert on third down many times due to the passing game. The Tigers' 6 points were the fewest since they were shut out at Alabama in 2012.
Mercer
The third game of the season was against the Mercer Bears. It was Auburn's first game against Mercer since the 1922 season. Many people expected it to be a blowout, but Mercer kept it close throughout the game. Auburn's offense performed much better than the previous game, totaling 510 yards, and quarterback Jarrett Stidham had his best game completing 32 of 37 passes for 364 yards, which was the second most completions thrown by an Auburn quarterback in a game, only behind Patrick Nix against Arkansas in 1995. Turnovers, however, plagued the offense, which committed 5 turnovers, including 4 fumbles (2 of which were in the red zone). The defense once again played well, holding the Bears to just 10 points, just 246 total yards, and only 3.7 yards per play.
Missouri
The fourth game of the season was the first conference game for Auburn. In their most complete performance of the year, the visiting Tigers routed Missouri 51–14. Kerryon Johnson, in his first game back from an injury sustained in the first game, rushed for 5 touchdowns, one off the Auburn single game record of 6 held by Cadillac Williams. Daniel Carlson, after some early season struggles, made 3 field goals, including 2 from longer than 50 yards. It was Auburn's first game ever in the state of Missouri.
Mississippi State
In the fifth game of the season, it was a battle of teams in the top 25 as Auburn came in ranked #13 and Mississippi State was ranked #24. The Tigers dominated from the start, scoring a touchdown on their opening possession. After a Jarrett Stidham fumble, Mississippi State scored a field goal. However, Auburn used the long pass effectively, using it to set up their next touchdown and scoring their 3rd touchdown on a long pass. At halftime, it was Auburn 21, Mississippi State 10. Auburn then shut out Mississippi State out in the 2nd half and scored 4 more times, giving them a 49–10 victory. In this game, Mississippi State had 7 false start penalties, which coach Gus Malzahn credited to the nearly 87 thousand fans in attendance. Also in this game, Daniel Carlson set the SEC record for most consecutive extra points made with 162 in a row.
Ole Miss
The sixth game of the season was a home game against Ole Miss. Ole Miss received the opening kickoff. The Rebels drove down the field but the Auburn defense forced them to a field goal attempt which hit the upright and fell no good. The Tigers then drove down the field and scored on their first drive. The Tigers then allowed a field goal, but scored 4 more touchdowns for the 35–3 halftime lead. In the second half, the Tigers played more sloppily, but won going away 44–23. This was the first game of the season that Auburn allowed more than 14 points. Also, Auburn kicker Daniel Carlson became the SEC's all-time leading scorer after scoring his 413th point, breaking the record of 412 held by Georgia's Blair Walsh.
LSU
After building a 20–0 lead, Auburn was stunned by LSU as they allowed the Fighting Tigers to go on a 27–3 scoring run and fell 27–23. The Auburn Tigers came into the game ranked in the top 10, but the unranked LSU Tigers prevailed. Jarrett Stidham had one of the worst games of his career after a hot start. He had completed 7 of 8 passes to begin the game, he only completed 2 more the remainder of the game, although his receivers had many drops during the game. The key plays for the LSU comeback were a dropped interception by Auburn's Daniel Thomas, which lead to an LSU touchdown later in the drive, and a punt return for a touchdown early in the fourth quarter to cut Auburn's lead to 23–21. The Auburn Tigers only had 73 yards of offense the entire second half, which was a big part of the loss.
Arkansas
In the eighth game of the season, Auburn became bowl eligible with their sixth win of the year, a dominating 52–20 victory over Arkansas. The Tigers started fast on offense scoring on their first two drives. The defense started slow, but improved as the game went on, only allowing 13 points, only 6 of which were allowed by the first team (Arkansas scored on a kickoff return for an additional touchdown that was not allowed by the defense). It was only the second time Auburn had won at Arkansas since 2009. The key play came late in the first half when Arkansas fumbled a punt which was recovered by Auburn. The Tigers scored on the ensuing drive to make their lead 17–3 and shift the momentum of the game. This was the second game of a three-game road stretch for the Tigers, as they preceded this game with a loss at LSU, and a game at Texas A&M after a bye week followed this game. This was the Tigers' fourth SEC victory of the season, as well as the fourth SEC game they won by at least 20 points and the fourth time they scored 40 or more points in an SEC contest.
Texas A&M
After a bye week, Auburn concluded a 3-game road stretch with their final road game of the year, a trip to Texas A&M. The Tigers claimed a 42–27 victory over the Aggies. Kicker Daniel Carlson had unusual struggles, having two kicks blocked, both long attempts (49 and 52 yard attempts). Also, the Tigers blocked a Texas A&M punt and recovered it in the end zone for a touchdown, the first blocked punt for Auburn since 2013, and first blocked punt recovered for a touchdown since 2006. Jarrett Stidham had a great day passing completing 20 of 27 attempts for 268 yards. After Kamryn Pettway was ruled out with a broken bone, Kerryon Johnson had to carry the ball more than usual and gained 145 yards.
Georgia
In the Deep South's Oldest Rivalry, Auburn defeated previously undefeated Georgia handily, winning by a final score of 40–17. The Tigers held the dominant run attack of Georgia to 46 total yards and had 4 sacks of Georgia quarterback Jake Fromm. Kerryon Johnson had 167 rushing yards against a powerful Georgia rush defense, which put him over 1,000 yards for the year. Jarrett Stidham was also impressive, completing 16 of his 23 pass attempts for 214 yards. Daniel Carlson, after going 0 for 2 on field goals last week, had 4 good field goal attempts becoming the SEC's all-time leader in made field goals. This was Auburn's eighth win of the year, and their first victory over Georgia since 2013.
Louisiana–Monroe
The eleventh game of the year was a tune-up game for the following week's Iron Bowl. However, the Tigers struggled early, being tied with ULM for most of the first half and only leading 14–7 at halftime. The Tigers stepped it up in the second half, outscoring the Warhawks in that period 28–7. The Tigers also struggled with injuries with many key players, such as Jeff Holland, Austin Golson, and Tre Williams going down during the game, though some injured players returned. This was Auburn 9th win of the year, their most since 2013 (the Tigers had 8 wins twice since then and 7 wins once). This also assured the following week's Iron Bowl would match up two top ten teams with the SEC Western Division championship on the line.
Alabama
The final game of the regular season was the annual Iron Bowl game against Alabama, with a trip to the SEC Championship on the line. The Tigers struck first as Kerryon Johnson took a direct snap and completed a jump pass to Nate Craig-Myers. The Crimson Tide responded with a long touchdown pass of their own. The Tigers went ahead at the end of the first half with a field goal from Daniel Carlson to go into halftime with a 10–7 lead. Alabama had a long, quick drive to begin the second half and scored to go ahead 14–10. Auburn responded with another field goal to cut it to 14–13. Auburn then scored twice more and stopped Alabama on fourth down three times to win 26–14. Kerryon Johnson suffered a shoulder injury in the fourth quarter, and his backup, Kam Martin, twisted an ankle while playing for him. Ryan Davis also set the Auburn record for receptions in a single season in this game. The Tigers won the SEC West, and advanced to the SEC Championship Game against SEC East winner Georgia, whom Auburn defeated 40–10 earlier this season.
Georgia
The Tigers clinched a berth in the SEC Championship Game with their victory over Alabama. The Tigers played Georgia for the second time this season, after defeating the Bulldogs 40–17 on November 11. It was Auburn's sixth appearance in the SEC Championship, going 3–2 with losses to Tennessee in 1997 and Florida in 2000, and victories over Tennessee in 2004, South Carolina in 2010, and Missouri in 2013. It was also the first SEC Championship Game held in the new Mercedes-Benz Stadium after the Georgia Dome was demolished the week before. Despite beating #1 Georgia three weeks prior to the SEC championship, Georgia defeated Auburn 28–7, earning them a spot in the CFP Semifinal Rose Bowl at the #3 spot, where they will play #2 Oklahoma. Although they beat Alabama in the Iron Bowl, costing Alabama an undefeated season and a trip to the SEC Championship, Alabama was still selected to play #1 Clemson in the CFP Semifinal in the Sugar Bowl.
UCF
For their 10 win season, Auburn was chosen by the College Football Playoff committee to play in the Chick-fil-A Peach Bowl. It is Auburn's second appearance in a CFP New Year's Six bowl, after the 2017 Sugar Bowl to follow the 2016 season. It is also Auburn's fourth meeting with UCF, with the Tigers winning the previous three from 1997 to 1999. Auburn will be making their sixth appearance in the Peach Bowl, and their first since 2011, when they defeated Virginia. Overall, the Tigers are 4–1 in the Peach Bowl, with victories over Indiana in 1990, Clemson in 1997, Clemson in 2007, and Virginia in 2011. Their only loss came against North Carolina in 2001. It is the 50th anniversary of the Peach Bowl. Coincidentally, Auburn also played in the 50th anniversary games of the Sugar Bowl and Cotton Bowl Classic as well.
Rankings
Players in the 2018 NFL Draft
References
Auburn
Auburn Tigers football seasons
Auburn Tigers football
|
```php
<?php
/**
*/
namespace OCA\DAV\SystemTag;
use OCP\IUser;
use OCP\SystemTag\ISystemTag;
use OCP\SystemTag\ISystemTagManager;
use OCP\SystemTag\ISystemTagObjectMapper;
use OCP\SystemTag\TagNotFoundException;
use Sabre\DAV\Exception\Forbidden;
use Sabre\DAV\Exception\MethodNotAllowed;
use Sabre\DAV\Exception\NotFound;
/**
* Mapping node for system tag to object id
*/
class SystemTagMappingNode implements \Sabre\DAV\INode {
public function __construct(
private ISystemTag $tag,
private string $objectId,
private string $objectType,
private IUser $user,
private ISystemTagManager $tagManager,
private ISystemTagObjectMapper $tagMapper,
private \Closure $childWriteAccessFunction,
) {
}
/**
* Returns the object id of the relationship
*
* @return string object id
*/
public function getObjectId() {
return $this->objectId;
}
/**
* Returns the object type of the relationship
*
* @return string object type
*/
public function getObjectType() {
return $this->objectType;
}
/**
* Returns the system tag represented by this node
*
* @return ISystemTag system tag
*/
public function getSystemTag() {
return $this->tag;
}
/**
* Returns the id of the tag
*
* @return string
*/
public function getName() {
return $this->tag->getId();
}
/**
* Renames the node
*
* @param string $name The new name
*
* @throws MethodNotAllowed not allowed to rename node
*
* @return never
*/
public function setName($name) {
throw new MethodNotAllowed();
}
/**
* Returns null, not supported
*
* @return null
*/
public function getLastModified() {
return null;
}
/**
* Delete tag to object association
*
* @return void
*/
public function delete() {
try {
if (!$this->tagManager->canUserSeeTag($this->tag, $this->user)) {
throw new NotFound('Tag with id ' . $this->tag->getId() . ' not found');
}
if (!$this->tagManager->canUserAssignTag($this->tag, $this->user)) {
throw new Forbidden('No permission to unassign tag ' . $this->tag->getId());
}
$writeAccessFunction = $this->childWriteAccessFunction;
if (!$writeAccessFunction($this->objectId)) {
throw new Forbidden('No permission to unassign tag to ' . $this->objectId);
}
$this->tagMapper->unassignTags($this->objectId, $this->objectType, $this->tag->getId());
} catch (TagNotFoundException $e) {
// can happen if concurrent deletion occurred
throw new NotFound('Tag with id ' . $this->tag->getId() . ' not found', 0, $e);
}
}
}
```
|
```objective-c
//
//
// path_to_url
//
// Unless required by applicable law or agreed to in writing, software
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#pragma once
#include "paddle/phi/common/scalar.h"
#include "paddle/phi/core/dense_tensor.h"
namespace phi {
template <typename T, typename Context>
void FillGradKernel(const Context& dev_ctx,
const DenseTensor& out_grad,
const Scalar& value,
DenseTensor* in_grad);
} // namespace phi
```
|
Tephritis ovatipennis is a species of tephritid or fruit flies in the genus Tephritis of the family Tephritidae found in the United States.
Distribution
Canada, United States.
References
Tephritinae
Insects described in 1960
Diptera of North America
|
```xml
export interface ILayoutRootState {
layout: ILayoutState;
}
export interface ILayoutState {
isCollapsedSidebar: boolean;
}
```
|
The following is a list of Sites of Special Scientific Interest in the Renfrew and Cunninghame Area of Search. For other areas, see List of SSSIs by Area of Search.
Àrd Bheinn
Ardrossan to Saltcoats Coast
Arran Moors
Arran Northern Mountains
Ashgrove Loch
Ballochmartin Bay
Bankhead Moss, Beith
Barmufflock Dam
Benlister Glen
Black Cart SSSI
Bogside Flats
Boylestone Quarry
Brother and Little Lochs
Cart and Kittoch Valleys
Castle Semple and Barr Lochs
Clauchlands Point - Corrygills
Clochodrick Stone
Cockinhead Moss
Corrie Foreshore and Limestone Mines
Dargavel Burn
Dippin Head
Drumadoon-Tormore
Dundonald Burn
Dunrod Hill
Dykeneuk Moss
Formakin
Gleann Dubh
Glen Moss SSSI
High Smithstone Quarry De-notified (confirmed) on 16 April 2012
Inner Clyde
Kames Bay
Knocknairs Hill
Laggan SSSI
Largs Coast Section
Loch Libo
Lynn Spout
Muirkirk Uplands
North Newton Shore
Portencross Coast
Renfrewshire Heights
Rouken Glen
Shielhill Glen
Shovelboard
Skelmorlie Glen
South Coast of Arran
Trearne Quarry
Waulkmill Glen
Western Gailes
Renfrew and Cunninghame
|
```makefile
FW_PATH=$(NEXMON_ROOT)/firmwares/bcm4335b0/6.30.171.1_sta
```
|
German submarine U-358 was a Type VIIC U-boat of Nazi Germany's Kriegsmarine during World War II.
She carried out five patrols before being sunk north of the Azores by British warships on 1 March 1944.
She sank four ships and one warship.
Design
German Type VIIC submarines were preceded by the shorter Type VIIB submarines. U-358 had a displacement of when at the surface and while submerged. She had a total length of , a pressure hull length of , a beam of , a height of , and a draught of . The submarine was powered by two Germaniawerft F46 four-stroke, six-cylinder supercharged diesel engines producing a total of for use while surfaced, two AEG GU 460/8–27 double-acting electric motors producing a total of for use while submerged. She had two shafts and two propellers. The boat was capable of operating at depths of up to .
The submarine had a maximum surface speed of and a maximum submerged speed of . When submerged, the boat could operate for at ; when surfaced, she could travel at . U-358 was fitted with five torpedo tubes (four fitted at the bow and one at the stern), fourteen torpedoes, one SK C/35 naval gun, 220 rounds, and two twin C/30 anti-aircraft guns. The boat had a complement of between forty-four and sixty.
Service history
The submarine was laid down on 25 June 1940 at the Flensburger Schiffbau-Gesellschaft yard at Flensburg as yard number 477, launched on 30 April 1942 and commissioned on 15 August under the command of Oberleutnant zur See Rolf Manke.
First patrol
The boat's first patrol was in two parts; it began with her departure from Kiel on 12 January 1943. During the second part, which began with her departure from Kristiansand in Norway on the 16th, she negotiated the gap between Iceland and the Faroe Islands and sank the Neva west of these islands on the 22nd. On the 26th, she sank the Nortind east of Cape Farewell, (Greenland). She arrived at St. Nazaire in occupied France on 8 March.
Second patrol
Having left St. Nazaire (which would be her base for the rest of her career) on 11 April 1943, U-358 sank the Bristol City and the Wentworth; she was attacked south of Cape Farewell by the British corvette commanded by Lieutenant Robert Atkinson and badly damaged. (This attack had originally credited Pink with the destruction of .)
Third patrol
The submarine's third foray took her south, as far as the Gulf of Guinea, off the west African coast. At 84 days, it was her longest patrol.
Fourth patrol
Sortie number four saw the boat northeast of the Azores.
Fifth patrol and loss
U-358 had left St. Nazaire on 14 February 1944. From the 29th, she was hunted by the British frigates , , and north of the Azores. Gore and Garlies had to break off the assault and sail to Gibraltar to re-fuel. The U-boat sank Gould on 1 March, but Affleck persisted with the attack, sinking U-358 with gunfire after the submarine was forced to the surface.
50 men died in the U-boat; there was one survivor, Alfons Eckert.
Wolfpacks
U-358 took part in eleven wolfpacks, namely:
Haudegen (27 January – 2 February 1943)
Nordsturm (2 – 9 February 1943)
Haudegen (9 – 15 February 1943)
Taifun (15 – 20 February 1943)
Without name (15 – 18 April 1943)
Specht (19 April – 4 May 1943)
Fink (4 – 6 May 1943)
Schill (2 – 16 November 1943)
Schill 1 (16 – 22 November 1943)
Weddigen (22 November – 7 December 1943)
Preussen (22 February – 1 March 1944)
Summary of raiding history
References
Notes
Citations
Bibliography
External links
German Type VIIC submarines
U-boats commissioned in 1942
U-boats sunk in 1944
U-boats sunk by British warships
1942 ships
Ships built in Flensburg
World War II submarines of Germany
Maritime incidents in March 1944
|
```python
# -*- coding: utf-8 -*-
#
# SelfTest/Cipher/AES.py: Self-test for the AES cipher
#
# Written in 2008 by Dwayne C. Litzenberger <dlitz@dlitz.net>
#
# ===================================================================
# The contents of this file are dedicated to the public domain. To
# the extent that dedication to the public domain is not available,
# everyone is granted a worldwide, perpetual, royalty-free,
# non-exclusive license to exercise all rights associated with the
# contents of this file for any purpose whatsoever.
# No rights are reserved.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# ===================================================================
"""Self-test suite for Cryptodome.Cipher.AES"""
from Cryptodome.Util.py3compat import *
from binascii import hexlify
# This is a list of (plaintext, ciphertext, key[, description[, params]]) tuples.
test_data = [
# FIPS PUB 197 test vectors
# path_to_url
('00112233445566778899aabbccddeeff', '69c4e0d86a7b0430d8cdb78070b4c55a',
'000102030405060708090a0b0c0d0e0f', 'FIPS 197 C.1 (AES-128)'),
('00112233445566778899aabbccddeeff', 'dda97ca4864cdfe06eaf70a0ec0d7191',
'000102030405060708090a0b0c0d0e0f1011121314151617',
'FIPS 197 C.2 (AES-192)'),
('00112233445566778899aabbccddeeff', '8ea2b7ca516745bfeafc49904b496089',
your_sha256_hash,
'FIPS 197 C.3 (AES-256)'),
# Rijndael128 test vectors
# Downloaded 2008-09-13 from
# path_to_url~rijmen/rijndael/testvalues.tar.gz
# ecb_tbl.txt, KEYSIZE=128
('506812a45f08c889b97f5980038b8359', 'd8f532538289ef7d06b506a4fd5be9c9',
'00010203050607080a0b0c0d0f101112',
'ecb-tbl-128: I=1'),
('5c6d71ca30de8b8b00549984d2ec7d4b', '59ab30f4d4ee6e4ff9907ef65b1fb68c',
'14151617191a1b1c1e1f202123242526',
'ecb-tbl-128: I=2'),
('53f3f4c64f8616e4e7c56199f48f21f6', 'bf1ed2fcb2af3fd41443b56d85025cb1',
'28292a2b2d2e2f30323334353738393a',
'ecb-tbl-128: I=3'),
('a1eb65a3487165fb0f1c27ff9959f703', '7316632d5c32233edcb0780560eae8b2',
'3c3d3e3f41424344464748494b4c4d4e',
'ecb-tbl-128: I=4'),
('3553ecf0b1739558b08e350a98a39bfa', '408c073e3e2538072b72625e68b8364b',
'50515253555657585a5b5c5d5f606162',
'ecb-tbl-128: I=5'),
('67429969490b9711ae2b01dc497afde8', 'e1f94dfa776597beaca262f2f6366fea',
'64656667696a6b6c6e6f707173747576',
'ecb-tbl-128: I=6'),
('93385c1f2aec8bed192f5a8e161dd508', 'f29e986c6a1c27d7b29ffd7ee92b75f1',
'78797a7b7d7e7f80828384858788898a',
'ecb-tbl-128: I=7'),
('b5bf946be19beb8db3983b5f4c6e8ddb', '131c886a57f8c2e713aba6955e2b55b5',
'8c8d8e8f91929394969798999b9c9d9e',
'ecb-tbl-128: I=8'),
('41321ee10e21bd907227c4450ff42324', 'd2ab7662df9b8c740210e5eeb61c199d',
'a0a1a2a3a5a6a7a8aaabacadafb0b1b2',
'ecb-tbl-128: I=9'),
('00a82f59c91c8486d12c0a80124f6089', '14c10554b2859c484cab5869bbe7c470',
'b4b5b6b7b9babbbcbebfc0c1c3c4c5c6',
'ecb-tbl-128: I=10'),
('7ce0fd076754691b4bbd9faf8a1372fe', 'db4d498f0a49cf55445d502c1f9ab3b5',
'c8c9cacbcdcecfd0d2d3d4d5d7d8d9da',
'ecb-tbl-128: I=11'),
('23605a8243d07764541bc5ad355b3129', '6d96fef7d66590a77a77bb2056667f7f',
'dcdddedfe1e2e3e4e6e7e8e9ebecedee',
'ecb-tbl-128: I=12'),
('12a8cfa23ea764fd876232b4e842bc44', '316fb68edba736c53e78477bf913725c',
'f0f1f2f3f5f6f7f8fafbfcfdfe010002',
'ecb-tbl-128: I=13'),
('bcaf32415e8308b3723e5fdd853ccc80', '6936f2b93af8397fd3a771fc011c8c37',
'04050607090a0b0c0e0f101113141516',
'ecb-tbl-128: I=14'),
('89afae685d801ad747ace91fc49adde0', 'f3f92f7a9c59179c1fcc2c2ba0b082cd',
'2c2d2e2f31323334363738393b3c3d3e',
'ecb-tbl-128: I=15'),
('f521d07b484357c4a69e76124a634216', '6a95ea659ee3889158e7a9152ff04ebc',
'40414243454647484a4b4c4d4f505152',
'ecb-tbl-128: I=16'),
('3e23b3bc065bcc152407e23896d77783', '1959338344e945670678a5d432c90b93',
'54555657595a5b5c5e5f606163646566',
'ecb-tbl-128: I=17'),
('79f0fba002be1744670e7e99290d8f52', 'e49bddd2369b83ee66e6c75a1161b394',
'68696a6b6d6e6f70727374757778797a',
'ecb-tbl-128: I=18'),
('da23fe9d5bd63e1d72e3dafbe21a6c2a', 'd3388f19057ff704b70784164a74867d',
'7c7d7e7f81828384868788898b8c8d8e',
'ecb-tbl-128: I=19'),
('e3f5698ba90b6a022efd7db2c7e6c823', '23aa03e2d5e4cd24f3217e596480d1e1',
'a4a5a6a7a9aaabacaeafb0b1b3b4b5b6',
'ecb-tbl-128: I=20'),
('bdc2691d4f1b73d2700679c3bcbf9c6e', 'c84113d68b666ab2a50a8bdb222e91b9',
'e0e1e2e3e5e6e7e8eaebecedeff0f1f2',
'ecb-tbl-128: I=21'),
('ba74e02093217ee1ba1b42bd5624349a', 'ac02403981cd4340b507963db65cb7b6',
'08090a0b0d0e0f10121314151718191a',
'ecb-tbl-128: I=22'),
('b5c593b5851c57fbf8b3f57715e8f680', '8d1299236223359474011f6bf5088414',
'6c6d6e6f71727374767778797b7c7d7e',
'ecb-tbl-128: I=23'),
('3da9bd9cec072381788f9387c3bbf4ee', '5a1d6ab8605505f7977e55b9a54d9b90',
'80818283858687888a8b8c8d8f909192',
'ecb-tbl-128: I=24'),
('4197f3051121702ab65d316b3c637374', '72e9c2d519cf555e4208805aabe3b258',
'94959697999a9b9c9e9fa0a1a3a4a5a6',
'ecb-tbl-128: I=25'),
('9f46c62ec4f6ee3f6e8c62554bc48ab7', 'a8f3e81c4a23a39ef4d745dffe026e80',
'a8a9aaabadaeafb0b2b3b4b5b7b8b9ba',
'ecb-tbl-128: I=26'),
('0220673fe9e699a4ebc8e0dbeb6979c8', '546f646449d31458f9eb4ef5483aee6c',
'bcbdbebfc1c2c3c4c6c7c8c9cbcccdce',
'ecb-tbl-128: I=27'),
('b2b99171337ded9bc8c2c23ff6f18867', '4dbe4bc84ac797c0ee4efb7f1a07401c',
'd0d1d2d3d5d6d7d8dadbdcdddfe0e1e2',
'ecb-tbl-128: I=28'),
('a7facf4e301e984e5efeefd645b23505', '25e10bfb411bbd4d625ac8795c8ca3b3',
'e4e5e6e7e9eaebeceeeff0f1f3f4f5f6',
'ecb-tbl-128: I=29'),
('f7c762e4a9819160fd7acfb6c4eedcdd', '315637405054ec803614e43def177579',
'f8f9fafbfdfefe00020304050708090a',
'ecb-tbl-128: I=30'),
('9b64fc21ea08709f4915436faa70f1be', '60c5bc8a1410247295c6386c59e572a8',
'0c0d0e0f11121314161718191b1c1d1e',
'ecb-tbl-128: I=31'),
('52af2c3de07ee6777f55a4abfc100b3f', '01366fc8ca52dfe055d6a00a76471ba6',
'20212223252627282a2b2c2d2f303132',
'ecb-tbl-128: I=32'),
('2fca001224386c57aa3f968cbe2c816f', 'ecc46595516ec612449c3f581e7d42ff',
'34353637393a3b3c3e3f404143444546',
'ecb-tbl-128: I=33'),
('4149c73658a4a9c564342755ee2c132f', '6b7ffe4c602a154b06ee9c7dab5331c9',
'48494a4b4d4e4f50525354555758595a',
'ecb-tbl-128: I=34'),
('af60005a00a1772f7c07a48a923c23d2', '7da234c14039a240dd02dd0fbf84eb67',
'5c5d5e5f61626364666768696b6c6d6e',
'ecb-tbl-128: I=35'),
('6fccbc28363759914b6f0280afaf20c6', 'c7dc217d9e3604ffe7e91f080ecd5a3a',
'70717273757677787a7b7c7d7f808182',
'ecb-tbl-128: I=36'),
('7d82a43ddf4fefa2fc5947499884d386', '37785901863f5c81260ea41e7580cda5',
'84858687898a8b8c8e8f909193949596',
'ecb-tbl-128: I=37'),
('5d5a990eaab9093afe4ce254dfa49ef9', 'a07b9338e92ed105e6ad720fccce9fe4',
'98999a9b9d9e9fa0a2a3a4a5a7a8a9aa',
'ecb-tbl-128: I=38'),
('4cd1e2fd3f4434b553aae453f0ed1a02', 'ae0fb9722418cc21a7da816bbc61322c',
'acadaeafb1b2b3b4b6b7b8b9bbbcbdbe',
'ecb-tbl-128: I=39'),
('5a2c9a9641d4299125fa1b9363104b5e', 'c826a193080ff91ffb21f71d3373c877',
'c0c1c2c3c5c6c7c8cacbcccdcfd0d1d2',
'ecb-tbl-128: I=40'),
('b517fe34c0fa217d341740bfd4fe8dd4', '1181b11b0e494e8d8b0aa6b1d5ac2c48',
'd4d5d6d7d9dadbdcdedfe0e1e3e4e5e6',
'ecb-tbl-128: I=41'),
('014baf2278a69d331d5180103643e99a', '6743c3d1519ab4f2cd9a78ab09a511bd',
'e8e9eaebedeeeff0f2f3f4f5f7f8f9fa',
'ecb-tbl-128: I=42'),
('b529bd8164f20d0aa443d4932116841c', 'dc55c076d52bacdf2eefd952946a439d',
'fcfdfeff01020304060708090b0c0d0e',
'ecb-tbl-128: I=43'),
('2e596dcbb2f33d4216a1176d5bd1e456', '711b17b590ffc72b5c8e342b601e8003',
'10111213151617181a1b1c1d1f202122',
'ecb-tbl-128: I=44'),
('7274a1ea2b7ee2424e9a0e4673689143', '19983bb0950783a537e1339f4aa21c75',
'24252627292a2b2c2e2f303133343536',
'ecb-tbl-128: I=45'),
('ae20020bd4f13e9d90140bee3b5d26af', '3ba7762e15554169c0f4fa39164c410c',
'38393a3b3d3e3f40424344454748494a',
'ecb-tbl-128: I=46'),
('baac065da7ac26e855e79c8849d75a02', 'a0564c41245afca7af8aa2e0e588ea89',
'4c4d4e4f51525354565758595b5c5d5e',
'ecb-tbl-128: I=47'),
('7c917d8d1d45fab9e2540e28832540cc', '5e36a42a2e099f54ae85ecd92e2381ed',
'60616263656667686a6b6c6d6f707172',
'ecb-tbl-128: I=48'),
('bde6f89e16daadb0e847a2a614566a91', '770036f878cd0f6ca2268172f106f2fe',
'74757677797a7b7c7e7f808183848586',
'ecb-tbl-128: I=49'),
('c9de163725f1f5be44ebb1db51d07fbc', '7e4e03908b716116443ccf7c94e7c259',
'88898a8b8d8e8f90929394959798999a',
'ecb-tbl-128: I=50'),
('3af57a58f0c07dffa669572b521e2b92', '482735a48c30613a242dd494c7f9185d',
'9c9d9e9fa1a2a3a4a6a7a8a9abacadae',
'ecb-tbl-128: I=51'),
('3d5ebac306dde4604f1b4fbbbfcdae55', 'b4c0f6c9d4d7079addf9369fc081061d',
'b0b1b2b3b5b6b7b8babbbcbdbfc0c1c2',
'ecb-tbl-128: I=52'),
('c2dfa91bceb76a1183c995020ac0b556', 'd5810fe0509ac53edcd74f89962e6270',
'c4c5c6c7c9cacbcccecfd0d1d3d4d5d6',
'ecb-tbl-128: I=53'),
('c70f54305885e9a0746d01ec56c8596b', '03f17a16b3f91848269ecdd38ebb2165',
'd8d9dadbdddedfe0e2e3e4e5e7e8e9ea',
'ecb-tbl-128: I=54'),
('c4f81b610e98012ce000182050c0c2b2', 'da1248c3180348bad4a93b4d9856c9df',
'ecedeeeff1f2f3f4f6f7f8f9fbfcfdfe',
'ecb-tbl-128: I=55'),
('eaab86b1d02a95d7404eff67489f97d4', '3d10d7b63f3452c06cdf6cce18be0c2c',
'00010203050607080a0b0c0d0f101112',
'ecb-tbl-128: I=56'),
('7c55bdb40b88870b52bec3738de82886', '4ab823e7477dfddc0e6789018fcb6258',
'14151617191a1b1c1e1f202123242526',
'ecb-tbl-128: I=57'),
('ba6eaa88371ff0a3bd875e3f2a975ce0', 'e6478ba56a77e70cfdaa5c843abde30e',
'28292a2b2d2e2f30323334353738393a',
'ecb-tbl-128: I=58'),
('08059130c4c24bd30cf0575e4e0373dc', '1673064895fbeaf7f09c5429ff75772d',
'3c3d3e3f41424344464748494b4c4d4e',
'ecb-tbl-128: I=59'),
('9a8eab004ef53093dfcf96f57e7eda82', '4488033ae9f2efd0ca9383bfca1a94e9',
'50515253555657585a5b5c5d5f606162',
'ecb-tbl-128: I=60'),
('0745b589e2400c25f117b1d796c28129', '978f3b8c8f9d6f46626cac3c0bcb9217',
'64656667696a6b6c6e6f707173747576',
'ecb-tbl-128: I=61'),
('2f1777781216cec3f044f134b1b92bbe', 'e08c8a7e582e15e5527f1d9e2eecb236',
'78797a7b7d7e7f80828384858788898a',
'ecb-tbl-128: I=62'),
('353a779ffc541b3a3805d90ce17580fc', 'cec155b76ac5ffda4cf4f9ca91e49a7a',
'8c8d8e8f91929394969798999b9c9d9e',
'ecb-tbl-128: I=63'),
('1a1eae4415cefcf08c4ac1c8f68bea8f', 'd5ac7165763225dd2a38cdc6862c29ad',
'a0a1a2a3a5a6a7a8aaabacadafb0b1b2',
'ecb-tbl-128: I=64'),
('e6e7e4e5b0b3b2b5d4d5aaab16111013', '03680fe19f7ce7275452020be70e8204',
'b4b5b6b7b9babbbcbebfc0c1c3c4c5c6',
'ecb-tbl-128: I=65'),
('f8f9fafbfbf8f9e677767170efe0e1e2', '461df740c9781c388e94bb861ceb54f6',
'c8c9cacbcdcecfd0d2d3d4d5d7d8d9da',
'ecb-tbl-128: I=66'),
('63626160a1a2a3a445444b4a75727370', '451bd60367f96483042742219786a074',
'dcdddedfe1e2e3e4e6e7e8e9ebecedee',
'ecb-tbl-128: I=67'),
('717073720605040b2d2c2b2a05fafbf9', 'e4dfa42671a02e57ef173b85c0ea9f2b',
'f0f1f2f3f5f6f7f8fafbfcfdfe010002',
'ecb-tbl-128: I=68'),
('78797a7beae9e8ef3736292891969794', 'ed11b89e76274282227d854700a78b9e',
'04050607090a0b0c0e0f101113141516',
'ecb-tbl-128: I=69'),
('838281803231300fdddcdbdaa0afaead', '433946eaa51ea47af33895f2b90b3b75',
'18191a1b1d1e1f20222324252728292a',
'ecb-tbl-128: I=70'),
('18191a1bbfbcbdba75747b7a7f78797a', '6bc6d616a5d7d0284a5910ab35022528',
'2c2d2e2f31323334363738393b3c3d3e',
'ecb-tbl-128: I=71'),
('848586879b989996a3a2a5a4849b9a99', 'd2a920ecfe919d354b5f49eae9719c98',
'40414243454647484a4b4c4d4f505152',
'ecb-tbl-128: I=72'),
('0001020322212027cacbf4f551565754', '3a061b17f6a92885efbd0676985b373d',
'54555657595a5b5c5e5f606163646566',
'ecb-tbl-128: I=73'),
('cecfcccdafacadb2515057564a454447', 'fadeec16e33ea2f4688499d157e20d8f',
'68696a6b6d6e6f70727374757778797a',
'ecb-tbl-128: I=74'),
('92939091cdcecfc813121d1c80878685', '5cdefede59601aa3c3cda36fa6b1fa13',
'7c7d7e7f81828384868788898b8c8d8e',
'ecb-tbl-128: I=75'),
('d2d3d0d16f6c6d6259585f5ed1eeefec', '9574b00039844d92ebba7ee8719265f8',
'90919293959697989a9b9c9d9fa0a1a2',
'ecb-tbl-128: I=76'),
('acadaeaf878485820f0e1110d5d2d3d0', '9a9cf33758671787e5006928188643fa',
'a4a5a6a7a9aaabacaeafb0b1b3b4b5b6',
'ecb-tbl-128: I=77'),
('9091929364676619e6e7e0e1757a7b78', '2cddd634c846ba66bb46cbfea4a674f9',
'b8b9babbbdbebfc0c2c3c4c5c7c8c9ca',
'ecb-tbl-128: I=78'),
('babbb8b98a89888f74757a7b92959497', 'd28bae029393c3e7e26e9fafbbb4b98f',
'cccdcecfd1d2d3d4d6d7d8d9dbdcddde',
'ecb-tbl-128: I=79'),
('8d8c8f8e6e6d6c633b3a3d3ccad5d4d7', 'ec27529b1bee0a9ab6a0d73ebc82e9b7',
'e0e1e2e3e5e6e7e8eaebecedeff0f1f2',
'ecb-tbl-128: I=80'),
('86878485010203040808f7f767606162', '3cb25c09472aff6ee7e2b47ccd7ccb17',
'f4f5f6f7f9fafbfcfefe010103040506',
'ecb-tbl-128: I=81'),
('8e8f8c8d656667788a8b8c8d010e0f0c', 'dee33103a7283370d725e44ca38f8fe5',
'08090a0b0d0e0f10121314151718191a',
'ecb-tbl-128: I=82'),
('c8c9cacb858687807a7b7475e7e0e1e2', '27f9bcd1aac64bffc11e7815702c1a69',
'1c1d1e1f21222324262728292b2c2d2e',
'ecb-tbl-128: I=83'),
('6d6c6f6e5053525d8c8d8a8badd2d3d0', '5df534ffad4ed0749a9988e9849d0021',
'30313233353637383a3b3c3d3f404142',
'ecb-tbl-128: I=84'),
('28292a2b393a3b3c0607181903040506', 'a48bee75db04fb60ca2b80f752a8421b',
'44454647494a4b4c4e4f505153545556',
'ecb-tbl-128: I=85'),
('a5a4a7a6b0b3b28ddbdadddcbdb2b3b0', '024c8cf70bc86ee5ce03678cb7af45f9',
'58595a5b5d5e5f60626364656768696a',
'ecb-tbl-128: I=86'),
('323330316467666130313e3f2c2b2a29', '3c19ac0f8a3a3862ce577831301e166b',
'6c6d6e6f71727374767778797b7c7d7e',
'ecb-tbl-128: I=87'),
('27262524080b0a05171611100b141516', 'c5e355b796a57421d59ca6be82e73bca',
'80818283858687888a8b8c8d8f909192',
'ecb-tbl-128: I=88'),
('040506074142434435340b0aa3a4a5a6', 'd94033276417abfb05a69d15b6e386e2',
'94959697999a9b9c9e9fa0a1a3a4a5a6',
'ecb-tbl-128: I=89'),
('242526271112130c61606766bdb2b3b0', '24b36559ea3a9b9b958fe6da3e5b8d85',
'a8a9aaabadaeafb0b2b3b4b5b7b8b9ba',
'ecb-tbl-128: I=90'),
('4b4a4948252627209e9f9091cec9c8cb', '20fd4feaa0e8bf0cce7861d74ef4cb72',
'bcbdbebfc1c2c3c4c6c7c8c9cbcccdce',
'ecb-tbl-128: I=91'),
('68696a6b6665646b9f9e9998d9e6e7e4', '350e20d5174277b9ec314c501570a11d',
'd0d1d2d3d5d6d7d8dadbdcdddfe0e1e2',
'ecb-tbl-128: I=92'),
('34353637c5c6c7c0f0f1eeef7c7b7a79', '87a29d61b7c604d238fe73045a7efd57',
'e4e5e6e7e9eaebeceeeff0f1f3f4f5f6',
'ecb-tbl-128: I=93'),
('32333031c2c1c13f0d0c0b0a050a0b08', '2c3164c1cc7d0064816bdc0faa362c52',
'f8f9fafbfdfefe00020304050708090a',
'ecb-tbl-128: I=94'),
('cdcccfcebebdbcbbabaaa5a4181f1e1d', '195fe5e8a05a2ed594f6e4400eee10b3',
'0c0d0e0f11121314161718191b1c1d1e',
'ecb-tbl-128: I=95'),
('212023223635343ba0a1a6a7445b5a59', 'e4663df19b9a21a5a284c2bd7f905025',
'20212223252627282a2b2c2d2f303132',
'ecb-tbl-128: I=96'),
('0e0f0c0da8abaaad2f2e515002050407', '21b88714cfb4e2a933bd281a2c4743fd',
'34353637393a3b3c3e3f404143444546',
'ecb-tbl-128: I=97'),
('070605042a2928378e8f8889bdb2b3b0', 'cbfc3980d704fd0fc54378ab84e17870',
'48494a4b4d4e4f50525354555758595a',
'ecb-tbl-128: I=98'),
('cbcac9c893909196a9a8a7a6a5a2a3a0', 'bc5144baa48bdeb8b63e22e03da418ef',
'5c5d5e5f61626364666768696b6c6d6e',
'ecb-tbl-128: I=99'),
('80818283c1c2c3cc9c9d9a9b0cf3f2f1', '5a1dbaef1ee2984b8395da3bdffa3ccc',
'70717273757677787a7b7c7d7f808182',
'ecb-tbl-128: I=100'),
('1213101125262720fafbe4e5b1b6b7b4', 'f0b11cd0729dfcc80cec903d97159574',
'84858687898a8b8c8e8f909193949596',
'ecb-tbl-128: I=101'),
('7f7e7d7c3033320d97969190222d2c2f', '9f95314acfddc6d1914b7f19a9cc8209',
'98999a9b9d9e9fa0a2a3a4a5a7a8a9aa',
'ecb-tbl-128: I=102'),
('4e4f4c4d484b4a4d81808f8e53545556', '595736f6f0f70914a94e9e007f022519',
'acadaeafb1b2b3b4b6b7b8b9bbbcbdbe',
'ecb-tbl-128: I=103'),
('dcdddedfb0b3b2bd15141312a1bebfbc', '1f19f57892cae586fcdfb4c694deb183',
'c0c1c2c3c5c6c7c8cacbcccdcfd0d1d2',
'ecb-tbl-128: I=104'),
('93929190282b2a2dc4c5fafb92959497', '540700ee1f6f3dab0b3eddf6caee1ef5',
'd4d5d6d7d9dadbdcdedfe0e1e3e4e5e6',
'ecb-tbl-128: I=105'),
('f5f4f7f6c4c7c6d9373631307e717073', '14a342a91019a331687a2254e6626ca2',
'e8e9eaebedeeeff0f2f3f4f5f7f8f9fa',
'ecb-tbl-128: I=106'),
('93929190b6b5b4b364656a6b05020300', '7b25f3c3b2eea18d743ef283140f29ff',
'fcfdfeff01020304060708090b0c0d0e',
'ecb-tbl-128: I=107'),
('babbb8b90d0e0f00a4a5a2a3043b3a39', '46c2587d66e5e6fa7f7ca6411ad28047',
'10111213151617181a1b1c1d1f202122',
'ecb-tbl-128: I=108'),
('d8d9dadb7f7c7d7a10110e0f787f7e7d', '09470e72229d954ed5ee73886dfeeba9',
'24252627292a2b2c2e2f303133343536',
'ecb-tbl-128: I=109'),
('fefffcfdefeced923b3a3d3c6768696a', 'd77c03de92d4d0d79ef8d4824ef365eb',
'38393a3b3d3e3f40424344454748494a',
'ecb-tbl-128: I=110'),
('d6d7d4d58a89888f96979899a5a2a3a0', '1d190219f290e0f1715d152d41a23593',
'4c4d4e4f51525354565758595b5c5d5e',
'ecb-tbl-128: I=111'),
('18191a1ba8abaaa5303136379b848586', 'a2cd332ce3a0818769616292e87f757b',
'60616263656667686a6b6c6d6f707172',
'ecb-tbl-128: I=112'),
('6b6a6968a4a7a6a1d6d72829b0b7b6b5', 'd54afa6ce60fbf9341a3690e21385102',
'74757677797a7b7c7e7f808183848586',
'ecb-tbl-128: I=113'),
('000102038a89889755545352a6a9a8ab', '06e5c364ded628a3f5e05e613e356f46',
'88898a8b8d8e8f90929394959798999a',
'ecb-tbl-128: I=114'),
('2d2c2f2eb3b0b1b6b6b7b8b9f2f5f4f7', 'eae63c0e62556dac85d221099896355a',
'9c9d9e9fa1a2a3a4a6a7a8a9abacadae',
'ecb-tbl-128: I=115'),
('979695943536373856575051e09f9e9d', '1fed060e2c6fc93ee764403a889985a2',
'b0b1b2b3b5b6b7b8babbbcbdbfc0c1c2',
'ecb-tbl-128: I=116'),
('a4a5a6a7989b9a9db1b0afae7a7d7c7f', 'c25235c1a30fdec1c7cb5c5737b2a588',
'c4c5c6c7c9cacbcccecfd0d1d3d4d5d6',
'ecb-tbl-128: I=117'),
('c1c0c3c2686b6a55a8a9aeafeae5e4e7', '796dbef95147d4d30873ad8b7b92efc0',
'd8d9dadbdddedfe0e2e3e4e5e7e8e9ea',
'ecb-tbl-128: I=118'),
('c1c0c3c2141716118c8d828364636261', 'cbcf0fb34d98d0bd5c22ce37211a46bf',
'ecedeeeff1f2f3f4f6f7f8f9fbfcfdfe',
'ecb-tbl-128: I=119'),
('93929190cccfcec196979091e0fffefd', '94b44da6466126cafa7c7fd09063fc24',
'00010203050607080a0b0c0d0f101112',
'ecb-tbl-128: I=120'),
('b4b5b6b7f9fafbfc25241b1a6e69686b', 'd78c5b5ebf9b4dbda6ae506c5074c8fe',
'14151617191a1b1c1e1f202123242526',
'ecb-tbl-128: I=121'),
('868784850704051ac7c6c1c08788898a', '6c27444c27204b043812cf8cf95f9769',
'28292a2b2d2e2f30323334353738393a',
'ecb-tbl-128: I=122'),
('f4f5f6f7aaa9a8affdfcf3f277707172', 'be94524ee5a2aa50bba8b75f4c0aebcf',
'3c3d3e3f41424344464748494b4c4d4e',
'ecb-tbl-128: I=123'),
('d3d2d1d00605040bc3c2c5c43e010003', 'a0aeaae91ba9f31f51aeb3588cf3a39e',
'50515253555657585a5b5c5d5f606162',
'ecb-tbl-128: I=124'),
('73727170424140476a6b74750d0a0b08', '275297779c28266ef9fe4c6a13c08488',
'64656667696a6b6c6e6f707173747576',
'ecb-tbl-128: I=125'),
('c2c3c0c10a0908f754555253a1aeafac', '86523d92bb8672cb01cf4a77fd725882',
'78797a7b7d7e7f80828384858788898a',
'ecb-tbl-128: I=126'),
('6d6c6f6ef8fbfafd82838c8df8fffefd', '4b8327640e9f33322a04dd96fcbf9a36',
'8c8d8e8f91929394969798999b9c9d9e',
'ecb-tbl-128: I=127'),
('f5f4f7f684878689a6a7a0a1d2cdcccf', 'ce52af650d088ca559425223f4d32694',
'a0a1a2a3a5a6a7a8aaabacadafb0b1b2',
'ecb-tbl-128: I=128'),
# ecb_tbl.txt, KEYSIZE=192
('2d33eef2c0430a8a9ebf45e809c40bb6', 'dff4945e0336df4c1c56bc700eff837f',
'00010203050607080a0b0c0d0f10111214151617191a1b1c',
'ecb-tbl-192: I=1'),
('6aa375d1fa155a61fb72353e0a5a8756', 'b6fddef4752765e347d5d2dc196d1252',
'1e1f20212324252628292a2b2d2e2f30323334353738393a',
'ecb-tbl-192: I=2'),
('bc3736518b9490dcb8ed60eb26758ed4', 'd23684e3d963b3afcf1a114aca90cbd6',
'3c3d3e3f41424344464748494b4c4d4e5051525355565758',
'ecb-tbl-192: I=3'),
('aa214402b46cffb9f761ec11263a311e', '3a7ac027753e2a18c2ceab9e17c11fd0',
'5a5b5c5d5f60616264656667696a6b6c6e6f707173747576',
'ecb-tbl-192: I=4'),
('02aea86e572eeab66b2c3af5e9a46fd6', '8f6786bd007528ba26603c1601cdd0d8',
'78797a7b7d7e7f80828384858788898a8c8d8e8f91929394',
'ecb-tbl-192: I=5'),
('e2aef6acc33b965c4fa1f91c75ff6f36', 'd17d073b01e71502e28b47ab551168b3',
'969798999b9c9d9ea0a1a2a3a5a6a7a8aaabacadafb0b1b2',
'ecb-tbl-192: I=6'),
('0659df46427162b9434865dd9499f91d', 'a469da517119fab95876f41d06d40ffa',
'b4b5b6b7b9babbbcbebfc0c1c3c4c5c6c8c9cacbcdcecfd0',
'ecb-tbl-192: I=7'),
('49a44239c748feb456f59c276a5658df', '6091aa3b695c11f5c0b6ad26d3d862ff',
'd2d3d4d5d7d8d9dadcdddedfe1e2e3e4e6e7e8e9ebecedee',
'ecb-tbl-192: I=8'),
('66208f6e9d04525bdedb2733b6a6be37', '70f9e67f9f8df1294131662dc6e69364',
'f0f1f2f3f5f6f7f8fafbfcfdfe01000204050607090a0b0c',
'ecb-tbl-192: I=9'),
('3393f8dfc729c97f5480b950bc9666b0', 'd154dcafad8b207fa5cbc95e9996b559',
'0e0f10111314151618191a1b1d1e1f20222324252728292a',
'ecb-tbl-192: I=10'),
('606834c8ce063f3234cf1145325dbd71', '4934d541e8b46fa339c805a7aeb9e5da',
'2c2d2e2f31323334363738393b3c3d3e4041424345464748',
'ecb-tbl-192: I=11'),
('fec1c04f529bbd17d8cecfcc4718b17f', '62564c738f3efe186e1a127a0c4d3c61',
'4a4b4c4d4f50515254555657595a5b5c5e5f606163646566',
'ecb-tbl-192: I=12'),
('32df99b431ed5dc5acf8caf6dc6ce475', '07805aa043986eb23693e23bef8f3438',
'68696a6b6d6e6f70727374757778797a7c7d7e7f81828384',
'ecb-tbl-192: I=13'),
('7fdc2b746f3f665296943b83710d1f82', 'df0b4931038bade848dee3b4b85aa44b',
'868788898b8c8d8e90919293959697989a9b9c9d9fa0a1a2',
'ecb-tbl-192: I=14'),
('8fba1510a3c5b87e2eaa3f7a91455ca2', '592d5fded76582e4143c65099309477c',
'a4a5a6a7a9aaabacaeafb0b1b3b4b5b6b8b9babbbdbebfc0',
'ecb-tbl-192: I=15'),
('2c9b468b1c2eed92578d41b0716b223b', 'c9b8d6545580d3dfbcdd09b954ed4e92',
'c2c3c4c5c7c8c9cacccdcecfd1d2d3d4d6d7d8d9dbdcddde',
'ecb-tbl-192: I=16'),
('0a2bbf0efc6bc0034f8a03433fca1b1a', '5dccd5d6eb7c1b42acb008201df707a0',
'e0e1e2e3e5e6e7e8eaebecedeff0f1f2f4f5f6f7f9fafbfc',
'ecb-tbl-192: I=17'),
('25260e1f31f4104d387222e70632504b', 'a2a91682ffeb6ed1d34340946829e6f9',
'fefe01010304050608090a0b0d0e0f10121314151718191a',
'ecb-tbl-192: I=18'),
('c527d25a49f08a5228d338642ae65137', 'e45d185b797000348d9267960a68435d',
'1c1d1e1f21222324262728292b2c2d2e3031323335363738',
'ecb-tbl-192: I=19'),
('3b49fc081432f5890d0e3d87e884a69e', '45e060dae5901cda8089e10d4f4c246b',
'3a3b3c3d3f40414244454647494a4b4c4e4f505153545556',
'ecb-tbl-192: I=20'),
('d173f9ed1e57597e166931df2754a083', 'f6951afacc0079a369c71fdcff45df50',
'58595a5b5d5e5f60626364656768696a6c6d6e6f71727374',
'ecb-tbl-192: I=21'),
('8c2b7cafa5afe7f13562daeae1adede0', '9e95e00f351d5b3ac3d0e22e626ddad6',
'767778797b7c7d7e80818283858687888a8b8c8d8f909192',
'ecb-tbl-192: I=22'),
('aaf4ec8c1a815aeb826cab741339532c', '9cb566ff26d92dad083b51fdc18c173c',
'94959697999a9b9c9e9fa0a1a3a4a5a6a8a9aaabadaeafb0',
'ecb-tbl-192: I=23'),
('40be8c5d9108e663f38f1a2395279ecf', 'c9c82766176a9b228eb9a974a010b4fb',
'd0d1d2d3d5d6d7d8dadbdcdddfe0e1e2e4e5e6e7e9eaebec',
'ecb-tbl-192: I=24'),
('0c8ad9bc32d43e04716753aa4cfbe351', 'd8e26aa02945881d5137f1c1e1386e88',
'2a2b2c2d2f30313234353637393a3b3c3e3f404143444546',
'ecb-tbl-192: I=25'),
('1407b1d5f87d63357c8dc7ebbaebbfee', 'c0e024ccd68ff5ffa4d139c355a77c55',
'48494a4b4d4e4f50525354555758595a5c5d5e5f61626364',
'ecb-tbl-192: I=26'),
('e62734d1ae3378c4549e939e6f123416', '0b18b3d16f491619da338640df391d43',
'84858687898a8b8c8e8f90919394959698999a9b9d9e9fa0',
'ecb-tbl-192: I=27'),
('5a752cff2a176db1a1de77f2d2cdee41', 'dbe09ac8f66027bf20cb6e434f252efc',
'a2a3a4a5a7a8a9aaacadaeafb1b2b3b4b6b7b8b9bbbcbdbe',
'ecb-tbl-192: I=28'),
('a9c8c3a4eabedc80c64730ddd018cd88', '6d04e5e43c5b9cbe05feb9606b6480fe',
'c0c1c2c3c5c6c7c8cacbcccdcfd0d1d2d4d5d6d7d9dadbdc',
'ecb-tbl-192: I=29'),
('ee9b3dbbdb86180072130834d305999a', 'dd1d6553b96be526d9fee0fbd7176866',
'1a1b1c1d1f20212224252627292a2b2c2e2f303133343536',
'ecb-tbl-192: I=30'),
('a7fa8c3586b8ebde7568ead6f634a879', '0260ca7e3f979fd015b0dd4690e16d2a',
'38393a3b3d3e3f40424344454748494a4c4d4e4f51525354',
'ecb-tbl-192: I=31'),
('37e0f4a87f127d45ac936fe7ad88c10a', '9893734de10edcc8a67c3b110b8b8cc6',
'929394959798999a9c9d9e9fa1a2a3a4a6a7a8a9abacadae',
'ecb-tbl-192: I=32'),
('3f77d8b5d92bac148e4e46f697a535c5', '93b30b750516b2d18808d710c2ee84ef',
'464748494b4c4d4e50515253555657585a5b5c5d5f606162',
'ecb-tbl-192: I=33'),
('d25ebb686c40f7e2c4da1014936571ca', '16f65fa47be3cb5e6dfe7c6c37016c0e',
'828384858788898a8c8d8e8f91929394969798999b9c9d9e',
'ecb-tbl-192: I=34'),
('4f1c769d1e5b0552c7eca84dea26a549', 'f3847210d5391e2360608e5acb560581',
'a0a1a2a3a5a6a7a8aaabacadafb0b1b2b4b5b6b7b9babbbc',
'ecb-tbl-192: I=35'),
('8548e2f882d7584d0fafc54372b6633a', '8754462cd223366d0753913e6af2643d',
'bebfc0c1c3c4c5c6c8c9cacbcdcecfd0d2d3d4d5d7d8d9da',
'ecb-tbl-192: I=36'),
('87d7a336cb476f177cd2a51af2a62cdf', '1ea20617468d1b806a1fd58145462017',
'dcdddedfe1e2e3e4e6e7e8e9ebecedeef0f1f2f3f5f6f7f8',
'ecb-tbl-192: I=37'),
('03b1feac668c4e485c1065dfc22b44ee', '3b155d927355d737c6be9dda60136e2e',
'fafbfcfdfe01000204050607090a0b0c0e0f101113141516',
'ecb-tbl-192: I=38'),
('bda15e66819fa72d653a6866aa287962', '26144f7b66daa91b6333dbd3850502b3',
'18191a1b1d1e1f20222324252728292a2c2d2e2f31323334',
'ecb-tbl-192: I=39'),
('4d0c7a0d2505b80bf8b62ceb12467f0a', 'e4f9a4ab52ced8134c649bf319ebcc90',
'363738393b3c3d3e40414243454647484a4b4c4d4f505152',
'ecb-tbl-192: I=40'),
('626d34c9429b37211330986466b94e5f', 'b9ddd29ac6128a6cab121e34a4c62b36',
'54555657595a5b5c5e5f60616364656668696a6b6d6e6f70',
'ecb-tbl-192: I=41'),
('333c3e6bf00656b088a17e5ff0e7f60a', '6fcddad898f2ce4eff51294f5eaaf5c9',
'727374757778797a7c7d7e7f81828384868788898b8c8d8e',
'ecb-tbl-192: I=42'),
('687ed0cdc0d2a2bc8c466d05ef9d2891', 'c9a6fe2bf4028080bea6f7fc417bd7e3',
'90919293959697989a9b9c9d9fa0a1a2a4a5a6a7a9aaabac',
'ecb-tbl-192: I=43'),
('487830e78cc56c1693e64b2a6660c7b6', '6a2026846d8609d60f298a9c0673127f',
'aeafb0b1b3b4b5b6b8b9babbbdbebfc0c2c3c4c5c7c8c9ca',
'ecb-tbl-192: I=44'),
('7a48d6b7b52b29392aa2072a32b66160', '2cb25c005e26efea44336c4c97a4240b',
'cccdcecfd1d2d3d4d6d7d8d9dbdcdddee0e1e2e3e5e6e7e8',
'ecb-tbl-192: I=45'),
('907320e64c8c5314d10f8d7a11c8618d', '496967ab8680ddd73d09a0e4c7dcc8aa',
'eaebecedeff0f1f2f4f5f6f7f9fafbfcfefe010103040506',
'ecb-tbl-192: I=46'),
('b561f2ca2d6e65a4a98341f3ed9ff533', 'd5af94de93487d1f3a8c577cb84a66a4',
'08090a0b0d0e0f10121314151718191a1c1d1e1f21222324',
'ecb-tbl-192: I=47'),
('df769380d212792d026f049e2e3e48ef', '84bdac569cae2828705f267cc8376e90',
'262728292b2c2d2e30313233353637383a3b3c3d3f404142',
'ecb-tbl-192: I=48'),
('79f374bc445bdabf8fccb8843d6054c6', 'f7401dda5ad5ab712b7eb5d10c6f99b6',
'44454647494a4b4c4e4f50515354555658595a5b5d5e5f60',
'ecb-tbl-192: I=49'),
('4e02f1242fa56b05c68dbae8fe44c9d6', '1c9d54318539ebd4c3b5b7e37bf119f0',
'626364656768696a6c6d6e6f71727374767778797b7c7d7e',
'ecb-tbl-192: I=50'),
('cf73c93cbff57ac635a6f4ad2a4a1545', 'aca572d65fb2764cffd4a6eca090ea0d',
'80818283858687888a8b8c8d8f90919294959697999a9b9c',
'ecb-tbl-192: I=51'),
('9923548e2875750725b886566784c625', '36d9c627b8c2a886a10ccb36eae3dfbb',
'9e9fa0a1a3a4a5a6a8a9aaabadaeafb0b2b3b4b5b7b8b9ba',
'ecb-tbl-192: I=52'),
('4888336b723a022c9545320f836a4207', '010edbf5981e143a81d646e597a4a568',
'bcbdbebfc1c2c3c4c6c7c8c9cbcccdced0d1d2d3d5d6d7d8',
'ecb-tbl-192: I=53'),
('f84d9a5561b0608b1160dee000c41ba8', '8db44d538dc20cc2f40f3067fd298e60',
'dadbdcdddfe0e1e2e4e5e6e7e9eaebeceeeff0f1f3f4f5f6',
'ecb-tbl-192: I=54'),
('c23192a0418e30a19b45ae3e3625bf22', '930eb53bc71e6ac4b82972bdcd5aafb3',
'f8f9fafbfdfefe00020304050708090a0c0d0e0f11121314',
'ecb-tbl-192: I=55'),
('b84e0690b28b0025381ad82a15e501a7', '6c42a81edcbc9517ccd89c30c95597b4',
'161718191b1c1d1e20212223252627282a2b2c2d2f303132',
'ecb-tbl-192: I=56'),
('acef5e5c108876c4f06269f865b8f0b0', 'da389847ad06df19d76ee119c71e1dd3',
'34353637393a3b3c3e3f40414344454648494a4b4d4e4f50',
'ecb-tbl-192: I=57'),
('0f1b3603e0f5ddea4548246153a5e064', 'e018fdae13d3118f9a5d1a647a3f0462',
'525354555758595a5c5d5e5f61626364666768696b6c6d6e',
'ecb-tbl-192: I=58'),
('fbb63893450d42b58c6d88cd3c1809e3', '2aa65db36264239d3846180fabdfad20',
'70717273757677787a7b7c7d7f80818284858687898a8b8c',
'ecb-tbl-192: I=59'),
('4bef736df150259dae0c91354e8a5f92', '1472163e9a4f780f1ceb44b07ecf4fdb',
'8e8f90919394959698999a9b9d9e9fa0a2a3a4a5a7a8a9aa',
'ecb-tbl-192: I=60'),
('7d2d46242056ef13d3c3fc93c128f4c7', 'c8273fdc8f3a9f72e91097614b62397c',
'acadaeafb1b2b3b4b6b7b8b9bbbcbdbec0c1c2c3c5c6c7c8',
'ecb-tbl-192: I=61'),
('e9c1ba2df415657a256edb33934680fd', '66c8427dcd733aaf7b3470cb7d976e3f',
'cacbcccdcfd0d1d2d4d5d6d7d9dadbdcdedfe0e1e3e4e5e6',
'ecb-tbl-192: I=62'),
('e23ee277b0aa0a1dfb81f7527c3514f1', '146131cb17f1424d4f8da91e6f80c1d0',
'e8e9eaebedeeeff0f2f3f4f5f7f8f9fafcfdfeff01020304',
'ecb-tbl-192: I=63'),
('3e7445b0b63caaf75e4a911e12106b4c', '2610d0ad83659081ae085266a88770dc',
'060708090b0c0d0e10111213151617181a1b1c1d1f202122',
'ecb-tbl-192: I=64'),
('767774752023222544455a5be6e1e0e3', '38a2b5a974b0575c5d733917fb0d4570',
'24252627292a2b2c2e2f30313334353638393a3b3d3e3f40',
'ecb-tbl-192: I=65'),
('72737475717e7f7ce9e8ebea696a6b6c', 'e21d401ebc60de20d6c486e4f39a588b',
'424344454748494a4c4d4e4f51525354565758595b5c5d5e',
'ecb-tbl-192: I=66'),
('dfdedddc25262728c9c8cfcef1eeefec', 'e51d5f88c670b079c0ca1f0c2c4405a2',
'60616263656667686a6b6c6d6f70717274757677797a7b7c',
'ecb-tbl-192: I=67'),
('fffe0100707776755f5e5d5c7675746b', '246a94788a642fb3d1b823c8762380c8',
'7e7f80818384858688898a8b8d8e8f90929394959798999a',
'ecb-tbl-192: I=68'),
('e0e1e2e3424140479f9e9190292e2f2c', 'b80c391c5c41a4c3b30c68e0e3d7550f',
'9c9d9e9fa1a2a3a4a6a7a8a9abacadaeb0b1b2b3b5b6b7b8',
'ecb-tbl-192: I=69'),
('2120272690efeeed3b3a39384e4d4c4b', 'b77c4754fc64eb9a1154a9af0bb1f21c',
'babbbcbdbfc0c1c2c4c5c6c7c9cacbcccecfd0d1d3d4d5d6',
'ecb-tbl-192: I=70'),
('ecedeeef5350516ea1a0a7a6a3acadae', 'fb554de520d159a06bf219fc7f34a02f',
'd8d9dadbdddedfe0e2e3e4e5e7e8e9eaecedeeeff1f2f3f4',
'ecb-tbl-192: I=71'),
('32333c3d25222320e9e8ebeacecdccc3', 'a89fba152d76b4927beed160ddb76c57',
'f6f7f8f9fbfcfdfe00010203050607080a0b0c0d0f101112',
'ecb-tbl-192: I=72'),
('40414243626160678a8bb4b511161714', '5676eab4a98d2e8473b3f3d46424247c',
'14151617191a1b1c1e1f20212324252628292a2b2d2e2f30',
'ecb-tbl-192: I=73'),
('94959293f5fafbf81f1e1d1c7c7f7e79', '4e8f068bd7ede52a639036ec86c33568',
'323334353738393a3c3d3e3f41424344464748494b4c4d4e',
'ecb-tbl-192: I=74'),
('bebfbcbd191a1b14cfcec9c8546b6a69', 'f0193c4d7aff1791ee4c07eb4a1824fc',
'50515253555657585a5b5c5d5f60616264656667696a6b6c',
'ecb-tbl-192: I=75'),
('2c2d3233898e8f8cbbbab9b8333031ce', 'ac8686eeca9ba761afe82d67b928c33f',
'6e6f70717374757678797a7b7d7e7f80828384858788898a',
'ecb-tbl-192: I=76'),
('84858687bfbcbdba37363938fdfafbf8', '5faf8573e33b145b6a369cd3606ab2c9',
'8c8d8e8f91929394969798999b9c9d9ea0a1a2a3a5a6a7a8',
'ecb-tbl-192: I=77'),
('828384857669686b909192930b08090e', '31587e9944ab1c16b844ecad0df2e7da',
'aaabacadafb0b1b2b4b5b6b7b9babbbcbebfc0c1c3c4c5c6',
'ecb-tbl-192: I=78'),
('bebfbcbd9695948b707176779e919093', 'd017fecd91148aba37f6f3068aa67d8a',
'c8c9cacbcdcecfd0d2d3d4d5d7d8d9dadcdddedfe1e2e3e4',
'ecb-tbl-192: I=79'),
('8b8a85846067666521202322d0d3d2dd', '788ef2f021a73cba2794b616078a8500',
'e6e7e8e9ebecedeef0f1f2f3f5f6f7f8fafbfcfdfe010002',
'ecb-tbl-192: I=80'),
('76777475f1f2f3f4f8f9e6e777707172', '5d1ef20dced6bcbc12131ac7c54788aa',
'04050607090a0b0c0e0f10111314151618191a1b1d1e1f20',
'ecb-tbl-192: I=81'),
('a4a5a2a34f404142b4b5b6b727242522', 'b3c8cf961faf9ea05fdde6d1e4d8f663',
'222324252728292a2c2d2e2f31323334363738393b3c3d3e',
'ecb-tbl-192: I=82'),
('94959697e1e2e3ec16171011839c9d9e', '143075c70605861c7fac6526199e459f',
'40414243454647484a4b4c4d4f50515254555657595a5b5c',
'ecb-tbl-192: I=83'),
('03023d3c06010003dedfdcddfffcfde2', 'a5ae12eade9a87268d898bfc8fc0252a',
'5e5f60616364656668696a6b6d6e6f70727374757778797a',
'ecb-tbl-192: I=84'),
('10111213f1f2f3f4cecfc0c1dbdcddde', '0924f7cf2e877a4819f5244a360dcea9',
'7c7d7e7f81828384868788898b8c8d8e9091929395969798',
'ecb-tbl-192: I=85'),
('67666160724d4c4f1d1c1f1e73707176', '3d9e9635afcc3e291cc7ab3f27d1c99a',
'9a9b9c9d9fa0a1a2a4a5a6a7a9aaabacaeafb0b1b3b4b5b6',
'ecb-tbl-192: I=86'),
('e6e7e4e5a8abaad584858283909f9e9d', '9d80feebf87510e2b8fb98bb54fd788c',
'b8b9babbbdbebfc0c2c3c4c5c7c8c9cacccdcecfd1d2d3d4',
'ecb-tbl-192: I=87'),
('71707f7e565150537d7c7f7e6162636c', '5f9d1a082a1a37985f174002eca01309',
'd6d7d8d9dbdcdddee0e1e2e3e5e6e7e8eaebecedeff0f1f2',
'ecb-tbl-192: I=88'),
('64656667212223245555aaaa03040506', 'a390ebb1d1403930184a44b4876646e4',
'f4f5f6f7f9fafbfcfefe01010304050608090a0b0d0e0f10',
'ecb-tbl-192: I=89'),
('9e9f9899aba4a5a6cfcecdcc2b28292e', '700fe918981c3195bb6c4bcb46b74e29',
'121314151718191a1c1d1e1f21222324262728292b2c2d2e',
'ecb-tbl-192: I=90'),
('c7c6c5c4d1d2d3dc626364653a454447', '907984406f7bf2d17fb1eb15b673d747',
'30313233353637383a3b3c3d3f40414244454647494a4b4c',
'ecb-tbl-192: I=91'),
('f6f7e8e9e0e7e6e51d1c1f1e5b585966', 'c32a956dcfc875c2ac7c7cc8b8cc26e1',
'4e4f50515354555658595a5b5d5e5f60626364656768696a',
'ecb-tbl-192: I=92'),
('bcbdbebf5d5e5f5868696667f4f3f2f1', '02646e2ebfa9b820cf8424e9b9b6eb51',
'6c6d6e6f71727374767778797b7c7d7e8081828385868788',
'ecb-tbl-192: I=93'),
('40414647b0afaead9b9a99989b98999e', '621fda3a5bbd54c6d3c685816bd4ead8',
'8a8b8c8d8f90919294959697999a9b9c9e9fa0a1a3a4a5a6',
'ecb-tbl-192: I=94'),
('69686b6a0201001f0f0e0908b4bbbab9', 'd4e216040426dfaf18b152469bc5ac2f',
'a8a9aaabadaeafb0b2b3b4b5b7b8b9babcbdbebfc1c2c3c4',
'ecb-tbl-192: I=95'),
('c7c6c9c8d8dfdedd5a5b5859bebdbcb3', '9d0635b9d33b6cdbd71f5d246ea17cc8',
'c6c7c8c9cbcccdced0d1d2d3d5d6d7d8dadbdcdddfe0e1e2',
'ecb-tbl-192: I=96'),
('dedfdcdd787b7a7dfffee1e0b2b5b4b7', '10abad1bd9bae5448808765583a2cc1a',
'e4e5e6e7e9eaebeceeeff0f1f3f4f5f6f8f9fafbfdfefe00',
'ecb-tbl-192: I=97'),
('4d4c4b4a606f6e6dd0d1d2d3fbf8f9fe', '6891889e16544e355ff65a793c39c9a8',
'020304050708090a0c0d0e0f11121314161718191b1c1d1e',
'ecb-tbl-192: I=98'),
('b7b6b5b4d7d4d5dae5e4e3e2e1fefffc', 'cc735582e68072c163cd9ddf46b91279',
'20212223252627282a2b2c2d2f30313234353637393a3b3c',
'ecb-tbl-192: I=99'),
('cecfb0b1f7f0f1f2aeafacad3e3d3c23', 'c5c68b9aeeb7f878df578efa562f9574',
'3e3f40414344454648494a4b4d4e4f50525354555758595a',
'ecb-tbl-192: I=100'),
('cacbc8c9cdcecfc812131c1d494e4f4c', '5f4764395a667a47d73452955d0d2ce8',
'5c5d5e5f61626364666768696b6c6d6e7071727375767778',
'ecb-tbl-192: I=101'),
('9d9c9b9ad22d2c2fb1b0b3b20c0f0e09', '701448331f66106cefddf1eb8267c357',
'7a7b7c7d7f80818284858687898a8b8c8e8f909193949596',
'ecb-tbl-192: I=102'),
('7a7b787964676659959493924f404142', 'cb3ee56d2e14b4e1941666f13379d657',
'98999a9b9d9e9fa0a2a3a4a5a7a8a9aaacadaeafb1b2b3b4',
'ecb-tbl-192: I=103'),
('aaaba4a5cec9c8cb1f1e1d1caba8a9a6', '9fe16efd18ab6e1981191851fedb0764',
'b6b7b8b9bbbcbdbec0c1c2c3c5c6c7c8cacbcccdcfd0d1d2',
'ecb-tbl-192: I=104'),
('93929190282b2a2dc4c5fafb92959497', '3dc9ba24e1b223589b147adceb4c8e48',
'd4d5d6d7d9dadbdcdedfe0e1e3e4e5e6e8e9eaebedeeeff0',
'ecb-tbl-192: I=105'),
('efeee9e8ded1d0d339383b3a888b8a8d', '1c333032682e7d4de5e5afc05c3e483c',
'f2f3f4f5f7f8f9fafcfdfeff01020304060708090b0c0d0e',
'ecb-tbl-192: I=106'),
('7f7e7d7ca2a1a0af78797e7f112e2f2c', 'd593cc99a95afef7e92038e05a59d00a',
'10111213151617181a1b1c1d1f20212224252627292a2b2c',
'ecb-tbl-192: I=107'),
('84859a9b2b2c2d2e868784852625245b', '51e7f96f53b4353923452c222134e1ec',
'2e2f30313334353638393a3b3d3e3f40424344454748494a',
'ecb-tbl-192: I=108'),
('b0b1b2b3070405026869666710171615', '4075b357a1a2b473400c3b25f32f81a4',
'4c4d4e4f51525354565758595b5c5d5e6061626365666768',
'ecb-tbl-192: I=109'),
('acadaaabbda2a3a00d0c0f0e595a5b5c', '302e341a3ebcd74f0d55f61714570284',
'6a6b6c6d6f70717274757677797a7b7c7e7f808183848586',
'ecb-tbl-192: I=110'),
('121310115655544b5253545569666764', '57abdd8231280da01c5042b78cf76522',
'88898a8b8d8e8f90929394959798999a9c9d9e9fa1a2a3a4',
'ecb-tbl-192: I=111'),
('dedfd0d166616063eaebe8e94142434c', '17f9ea7eea17ac1adf0e190fef799e92',
'a6a7a8a9abacadaeb0b1b2b3b5b6b7b8babbbcbdbfc0c1c2',
'ecb-tbl-192: I=112'),
('dbdad9d81417161166677879e0e7e6e5', '2e1bdd563dd87ee5c338dd6d098d0a7a',
'c4c5c6c7c9cacbcccecfd0d1d3d4d5d6d8d9dadbdddedfe0',
'ecb-tbl-192: I=113'),
('6a6b6c6de0efeeed2b2a2928c0c3c2c5', 'eb869996e6f8bfb2bfdd9e0c4504dbb2',
'e2e3e4e5e7e8e9eaecedeeeff1f2f3f4f6f7f8f9fbfcfdfe',
'ecb-tbl-192: I=114'),
('b1b0b3b21714151a1a1b1c1d5649484b', 'c2e01549e9decf317468b3e018c61ba8',
'00010203050607080a0b0c0d0f10111214151617191a1b1c',
'ecb-tbl-192: I=115'),
('39380706a3a4a5a6c4c5c6c77271706f', '8da875d033c01dd463b244a1770f4a22',
'1e1f20212324252628292a2b2d2e2f30323334353738393a',
'ecb-tbl-192: I=116'),
('5c5d5e5f1013121539383736e2e5e4e7', '8ba0dcf3a186844f026d022f8839d696',
'3c3d3e3f41424344464748494b4c4d4e5051525355565758',
'ecb-tbl-192: I=117'),
('43424544ead5d4d72e2f2c2d64676661', 'e9691ff9a6cc6970e51670a0fd5b88c1',
'5a5b5c5d5f60616264656667696a6b6c6e6f707173747576',
'ecb-tbl-192: I=118'),
('55545756989b9a65f8f9feff18171615', 'f2baec06faeed30f88ee63ba081a6e5b',
'78797a7b7d7e7f80828384858788898a8c8d8e8f91929394',
'ecb-tbl-192: I=119'),
('05040b0a525554573c3d3e3f4a494847', '9c39d4c459ae5753394d6094adc21e78',
'969798999b9c9d9ea0a1a2a3a5a6a7a8aaabacadafb0b1b2',
'ecb-tbl-192: I=120'),
('14151617595a5b5c8584fbfa8e89888b', '6345b532a11904502ea43ba99c6bd2b2',
'b4b5b6b7b9babbbcbebfc0c1c3c4c5c6c8c9cacbcdcecfd0',
'ecb-tbl-192: I=121'),
('7c7d7a7bfdf2f3f029282b2a51525354', '5ffae3061a95172e4070cedce1e428c8',
'd2d3d4d5d7d8d9dadcdddedfe1e2e3e4e6e7e8e9ebecedee',
'ecb-tbl-192: I=122'),
('38393a3b1e1d1c1341404746c23d3c3e', '0a4566be4cdf9adce5dec865b5ab34cd',
'f0f1f2f3f5f6f7f8fafbfcfdfe01000204050607090a0b0c',
'ecb-tbl-192: I=123'),
('8d8c939240474645818083827c7f7e41', 'ca17fcce79b7404f2559b22928f126fb',
'0e0f10111314151618191a1b1d1e1f20222324252728292a',
'ecb-tbl-192: I=124'),
('3b3a39381a19181f32333c3d45424340', '97ca39b849ed73a6470a97c821d82f58',
'2c2d2e2f31323334363738393b3c3d3e4041424345464748',
'ecb-tbl-192: I=125'),
('f0f1f6f738272625828380817f7c7d7a', '8198cb06bc684c6d3e9b7989428dcf7a',
'4a4b4c4d4f50515254555657595a5b5c5e5f606163646566',
'ecb-tbl-192: I=126'),
('89888b8a0407061966676061141b1a19', 'f53c464c705ee0f28d9a4c59374928bd',
'68696a6b6d6e6f70727374757778797a7c7d7e7f81828384',
'ecb-tbl-192: I=127'),
('d3d2dddcaaadacaf9c9d9e9fe8ebeae5', '9adb3d4cca559bb98c3e2ed73dbf1154',
'868788898b8c8d8e90919293959697989a9b9c9d9fa0a1a2',
'ecb-tbl-192: I=128'),
# ecb_tbl.txt, KEYSIZE=256
('834eadfccac7e1b30664b1aba44815ab', '1946dabf6a03a2a2c3d0b05080aed6fc',
your_sha256_hash,
'ecb-tbl-256: I=1'),
('d9dc4dba3021b05d67c0518f72b62bf1', '5ed301d747d3cc715445ebdec62f2fb4',
your_sha256_hash,
'ecb-tbl-256: I=2'),
('a291d86301a4a739f7392173aa3c604c', '6585c8f43d13a6beab6419fc5935b9d0',
your_sha256_hash,
'ecb-tbl-256: I=3'),
('4264b2696498de4df79788a9f83e9390', '2a5b56a596680fcc0e05f5e0f151ecae',
your_sha256_hash,
'ecb-tbl-256: I=4'),
('ee9932b3721804d5a83ef5949245b6f6', 'f5d6ff414fd2c6181494d20c37f2b8c4',
your_sha256_hash,
'ecb-tbl-256: I=5'),
('e6248f55c5fdcbca9cbbb01c88a2ea77', '85399c01f59fffb5204f19f8482f00b8',
your_sha256_hash,
'ecb-tbl-256: I=6'),
('b8358e41b9dff65fd461d55a99266247', '92097b4c88a041ddf98144bc8d22e8e7',
your_sha256_hash,
'ecb-tbl-256: I=7'),
('f0e2d72260af58e21e015ab3a4c0d906', '89bd5b73b356ab412aef9f76cea2d65c',
your_sha256_hash,
'ecb-tbl-256: I=8'),
('475b8b823ce8893db3c44a9f2a379ff7', '2536969093c55ff9454692f2fac2f530',
your_sha256_hash,
'ecb-tbl-256: I=9'),
('688f5281945812862f5f3076cf80412f', '07fc76a872843f3f6e0081ee9396d637',
your_sha256_hash,
'ecb-tbl-256: I=10'),
('08d1d2bc750af553365d35e75afaceaa', 'e38ba8ec2aa741358dcc93e8f141c491',
your_sha256_hash,
'ecb-tbl-256: I=11'),
('8707121f47cc3efceca5f9a8474950a1', 'd028ee23e4a89075d0b03e868d7d3a42',
your_sha256_hash,
'ecb-tbl-256: I=12'),
('e51aa0b135dba566939c3b6359a980c5', '8cd9423dfc459e547155c5d1d522e540',
your_sha256_hash,
'ecb-tbl-256: I=13'),
('069a007fc76a459f98baf917fedf9521', '080e9517eb1677719acf728086040ae3',
your_sha256_hash,
'ecb-tbl-256: I=14'),
('726165c1723fbcf6c026d7d00b091027', '7c1700211a3991fc0ecded0ab3e576b0',
your_sha256_hash,
'ecb-tbl-256: I=15'),
('d7c544de91d55cfcde1f84ca382200ce', 'dabcbcc855839251db51e224fbe87435',
your_sha256_hash,
'ecb-tbl-256: I=16'),
('fed3c9a161b9b5b2bd611b41dc9da357', '68d56fad0406947a4dd27a7448c10f1d',
your_sha256_hash,
'ecb-tbl-256: I=17'),
('4f634cdc6551043409f30b635832cf82', 'da9a11479844d1ffee24bbf3719a9925',
your_sha256_hash,
'ecb-tbl-256: I=18'),
('109ce98db0dfb36734d9f3394711b4e6', '5e4ba572f8d23e738da9b05ba24b8d81',
your_sha256_hash,
'ecb-tbl-256: I=19'),
('4ea6dfaba2d8a02ffdffa89835987242', 'a115a2065d667e3f0b883837a6e903f8',
your_sha256_hash,
'ecb-tbl-256: I=20'),
('5ae094f54af58e6e3cdbf976dac6d9ef', '3e9e90dc33eac2437d86ad30b137e66e',
your_sha256_hash,
'ecb-tbl-256: I=21'),
('764d8e8e0f29926dbe5122e66354fdbe', '01ce82d8fbcdae824cb3c48e495c3692',
your_sha256_hash,
'ecb-tbl-256: I=22'),
('3f0418f888cdf29a982bf6b75410d6a9', '0c9cff163ce936faaf083cfd3dea3117',
your_sha256_hash,
'ecb-tbl-256: I=23'),
('e4a3e7cb12cdd56aa4a75197a9530220', '5131ba9bd48f2bba85560680df504b52',
your_sha256_hash,
'ecb-tbl-256: I=24'),
('211677684aac1ec1a160f44c4ebf3f26', '9dc503bbf09823aec8a977a5ad26ccb2',
your_sha256_hash,
'ecb-tbl-256: I=25'),
('d21e439ff749ac8f18d6d4b105e03895', '9a6db0c0862e506a9e397225884041d7',
your_sha256_hash,
'ecb-tbl-256: I=26'),
('d9f6ff44646c4725bd4c0103ff5552a7', '430bf9570804185e1ab6365fc6a6860c',
your_sha256_hash,
'ecb-tbl-256: I=27'),
('0b1256c2a00b976250cfc5b0c37ed382', '3525ebc02f4886e6a5a3762813e8ce8a',
your_sha256_hash,
'ecb-tbl-256: I=28'),
('b056447ffc6dc4523a36cc2e972a3a79', '07fa265c763779cce224c7bad671027b',
your_sha256_hash,
'ecb-tbl-256: I=29'),
('5e25ca78f0de55802524d38da3fe4456', 'e8b72b4e8be243438c9fff1f0e205872',
your_sha256_hash,
'ecb-tbl-256: I=30'),
('a5bcf4728fa5eaad8567c0dc24675f83', '109d4f999a0e11ace1f05e6b22cbcb50',
your_sha256_hash,
'ecb-tbl-256: I=31'),
('814e59f97ed84646b78b2ca022e9ca43', '45a5e8d4c3ed58403ff08d68a0cc4029',
your_sha256_hash,
'ecb-tbl-256: I=32'),
('15478beec58f4775c7a7f5d4395514d7', '196865964db3d417b6bd4d586bcb7634',
your_sha256_hash,
'ecb-tbl-256: I=33'),
('253548ffca461c67c8cbc78cd59f4756', '60436ad45ac7d30d99195f815d98d2ae',
your_sha256_hash,
'ecb-tbl-256: I=34'),
('fd7ad8d73b9b0f8cc41600640f503d65', 'bb07a23f0b61014b197620c185e2cd75',
your_sha256_hash,
'ecb-tbl-256: I=35'),
('06199de52c6cbf8af954cd65830bcd56', '5bc0b2850129c854423aff0751fe343b',
your_sha256_hash,
'ecb-tbl-256: I=36'),
('f17c4ffe48e44c61bd891e257e725794', '7541a78f96738e6417d2a24bd2beca40',
your_sha256_hash,
'ecb-tbl-256: I=37'),
('9a5b4a402a3e8a59be6bf5cd8154f029', 'b0a303054412882e464591f1546c5b9e',
your_sha256_hash,
'ecb-tbl-256: I=38'),
('79bd40b91a7e07dc939d441782ae6b17', '778c06d8a355eeee214fcea14b4e0eef',
your_sha256_hash,
'ecb-tbl-256: I=39'),
('d8ceaaf8976e5fbe1012d8c84f323799', '09614206d15cbace63227d06db6beebb',
your_sha256_hash,
'ecb-tbl-256: I=40'),
('3316e2751e2e388b083da23dd6ac3fbe', '41b97fb20e427a9fdbbb358d9262255d',
your_sha256_hash,
'ecb-tbl-256: I=41'),
('8b7cfbe37de7dca793521819242c5816', 'c1940f703d845f957652c2d64abd7adf',
your_sha256_hash,
'ecb-tbl-256: I=42'),
('f23f033c0eebf8ec55752662fd58ce68', 'd2d44fcdae5332343366db297efcf21b',
your_sha256_hash,
'ecb-tbl-256: I=43'),
('59eb34f6c8bdbacc5fc6ad73a59a1301', 'ea8196b79dbe167b6aa9896e287eed2b',
your_sha256_hash,
'ecb-tbl-256: I=44'),
('dcde8b6bd5cf7cc22d9505e3ce81261a', 'd6b0b0c4ba6c7dbe5ed467a1e3f06c2d',
your_sha256_hash,
'ecb-tbl-256: I=45'),
('e33cf7e524fed781e7042ff9f4b35dc7', 'ec51eb295250c22c2fb01816fb72bcae',
your_sha256_hash,
'ecb-tbl-256: I=46'),
('27963c8facdf73062867d164df6d064c', 'aded6630a07ce9c7408a155d3bd0d36f',
your_sha256_hash,
'ecb-tbl-256: I=47'),
('77b1ce386b551b995f2f2a1da994eef8', '697c9245b9937f32f5d1c82319f0363a',
your_sha256_hash,
'ecb-tbl-256: I=48'),
('f083388b013679efcf0bb9b15d52ae5c', 'aad5ad50c6262aaec30541a1b7b5b19c',
your_sha256_hash,
'ecb-tbl-256: I=49'),
('c5009e0dab55db0abdb636f2600290c8', '7d34b893855341ec625bd6875ac18c0d',
your_sha256_hash,
'ecb-tbl-256: I=50'),
('7804881e26cd532d8514d3683f00f1b9', '7ef05105440f83862f5d780e88f02b41',
your_sha256_hash,
'ecb-tbl-256: I=51'),
('46cddcd73d1eb53e675ca012870a92a3', 'c377c06403382061af2c9c93a8e70df6',
your_sha256_hash,
'ecb-tbl-256: I=52'),
('a9fb44062bb07fe130a8e8299eacb1ab', '1dbdb3ffdc052dacc83318853abc6de5',
your_sha256_hash,
'ecb-tbl-256: I=53'),
('2b6ff8d7a5cc3a28a22d5a6f221af26b', '69a6eab00432517d0bf483c91c0963c7',
your_sha256_hash,
'ecb-tbl-256: I=54'),
('1a9527c29b8add4b0e3e656dbb2af8b4', '0797f41dc217c80446e1d514bd6ab197',
your_sha256_hash,
'ecb-tbl-256: I=55'),
('7f99cf2c75244df015eb4b0c1050aeae', '9dfd76575902a637c01343c58e011a03',
your_sha256_hash,
'ecb-tbl-256: I=56'),
('e84ff85b0d9454071909c1381646c4ed', 'acf4328ae78f34b9fa9b459747cc2658',
your_sha256_hash,
'ecb-tbl-256: I=57'),
('89afd40f99521280d5399b12404f6db4', 'b0479aea12bac4fe2384cf98995150c6',
your_sha256_hash,
'ecb-tbl-256: I=58'),
('a09ef32dbc5119a35ab7fa38656f0329', '9dd52789efe3ffb99f33b3da5030109a',
your_sha256_hash,
'ecb-tbl-256: I=59'),
('61773457f068c376c7829b93e696e716', 'abbb755e4621ef8f1214c19f649fb9fd',
your_sha256_hash,
'ecb-tbl-256: I=60'),
('a34f0cae726cce41dd498747d891b967', 'da27fb8174357bce2bed0e7354f380f9',
your_sha256_hash,
'ecb-tbl-256: I=61'),
('856f59496c7388ee2d2b1a27b7697847', 'c59a0663f0993838f6e5856593bdc5ef',
your_sha256_hash,
'ecb-tbl-256: I=62'),
('cb090c593ef7720bd95908fb93b49df4', 'ed60b264b5213e831607a99c0ce5e57e',
your_sha256_hash,
'ecb-tbl-256: I=63'),
('a0ac75cd2f1923d460fc4d457ad95baf', 'e50548746846f3eb77b8c520640884ed',
your_sha256_hash,
'ecb-tbl-256: I=64'),
('2a2b282974777689e8e9eeef525d5c5f', '28282cc7d21d6a2923641e52d188ef0c',
your_sha256_hash,
'ecb-tbl-256: I=65'),
('909192939390919e0f0e09089788898a', '0dfa5b02abb18e5a815305216d6d4f8e',
your_sha256_hash,
'ecb-tbl-256: I=66'),
('777675748d8e8f907170777649464744', '7359635c0eecefe31d673395fb46fb99',
your_sha256_hash,
'ecb-tbl-256: I=67'),
('717073720605040b2d2c2b2a05fafbf9', '73c679f7d5aef2745c9737bb4c47fb36',
your_sha256_hash,
'ecb-tbl-256: I=68'),
('64656667fefdfcc31b1a1d1ca5aaaba8', 'b192bd472a4d2eafb786e97458967626',
your_sha256_hash,
'ecb-tbl-256: I=69'),
('dbdad9d86a696867b5b4b3b2c8d7d6d5', '0ec327f6c8a2b147598ca3fde61dc6a4',
your_sha256_hash,
'ecb-tbl-256: I=70'),
('5c5d5e5fe3e0e1fe31303736333c3d3e', 'fc418eb3c41b859b38d4b6f646629729',
your_sha256_hash,
'ecb-tbl-256: I=71'),
('545556574b48494673727574546b6a69', '30249e5ac282b1c981ea64b609f3a154',
your_sha256_hash,
'ecb-tbl-256: I=72'),
('ecedeeefc6c5c4bb56575051f5fafbf8', '5e6e08646d12150776bb43c2d78a9703',
your_sha256_hash,
'ecb-tbl-256: I=73'),
('464744452724252ac9c8cfced2cdcccf', 'faeb3d5de652cd3447dceb343f30394a',
your_sha256_hash,
'ecb-tbl-256: I=74'),
('e6e7e4e54142435c878681801c131211', 'a8e88706823f6993ef80d05c1c7b2cf0',
your_sha256_hash,
'ecb-tbl-256: I=75'),
('72737071cfcccdc2f9f8fffe710e0f0c', '8ced86677e6e00a1a1b15968f2d3cce6',
your_sha256_hash,
'ecb-tbl-256: I=76'),
('505152537370714ec3c2c5c4010e0f0c', '9fc7c23858be03bdebb84e90db6786a9',
your_sha256_hash,
'ecb-tbl-256: I=77'),
('a8a9aaab5c5f5e51aeafa8a93d222320', 'b4fbd65b33f70d8cf7f1111ac4649c36',
your_sha256_hash,
'ecb-tbl-256: I=78'),
('dedfdcddf6f5f4eb10111617fef1f0f3', 'c5c32d5ed03c4b53cc8c1bd0ef0dbbf6',
your_sha256_hash,
'ecb-tbl-256: I=79'),
('bdbcbfbe5e5d5c530b0a0d0cfac5c4c7', 'd1a7f03b773e5c212464b63709c6a891',
your_sha256_hash,
'ecb-tbl-256: I=80'),
('8a8b8889050606f8f4f5f2f3636c6d6e', '6b7161d8745947ac6950438ea138d028',
your_sha256_hash,
'ecb-tbl-256: I=81'),
('a6a7a4a54d4e4f40b2b3b4b539262724', 'fd47a9f7e366ee7a09bc508b00460661',
your_sha256_hash,
'ecb-tbl-256: I=82'),
('9c9d9e9fe9eaebf40e0f08099b949596', '00d40b003dc3a0d9310b659b98c7e416',
your_sha256_hash,
'ecb-tbl-256: I=83'),
('2d2c2f2e1013121dcccdcacbed121310', 'eea4c79dcc8e2bda691f20ac48be0717',
your_sha256_hash,
'ecb-tbl-256: I=84'),
('f4f5f6f7edeeefd0eaebecedf7f8f9fa', 'e78f43b11c204403e5751f89d05a2509',
your_sha256_hash,
'ecb-tbl-256: I=85'),
('3d3c3f3e282b2a2573727574150a0b08', 'd0f0e3d1f1244bb979931e38dd1786ef',
your_sha256_hash,
'ecb-tbl-256: I=86'),
('b6b7b4b5f8fbfae5b4b5b2b3a0afaead', '042e639dc4e1e4dde7b75b749ea6f765',
your_sha256_hash,
'ecb-tbl-256: I=87'),
('b7b6b5b4989b9a95878681809ba4a5a6', 'bc032fdd0efe29503a980a7d07ab46a8',
your_sha256_hash,
'ecb-tbl-256: I=88'),
('a8a9aaabe5e6e798e9e8efee4748494a', '0c93ac949c0da6446effb86183b6c910',
your_sha256_hash,
'ecb-tbl-256: I=89'),
('ecedeeefd9dadbd4b9b8bfbe657a7b78', 'e0d343e14da75c917b4a5cec4810d7c2',
your_sha256_hash,
'ecb-tbl-256: I=90'),
('7f7e7d7c696a6b74cacbcccd929d9c9f', '0eafb821748408279b937b626792e619',
your_sha256_hash,
'ecb-tbl-256: I=91'),
('08090a0b0605040bfffef9f8b9c6c7c4', 'fa1ac6e02d23b106a1fef18b274a553f',
your_sha256_hash,
'ecb-tbl-256: I=92'),
('08090a0bf1f2f3ccfcfdfafb68676665', '0dadfe019cd12368075507df33c1a1e9',
your_sha256_hash,
'ecb-tbl-256: I=93'),
('cacbc8c93a393837050403020d121310', '3a0879b414465d9ffbaf86b33a63a1b9',
your_sha256_hash,
'ecb-tbl-256: I=94'),
('e9e8ebea8281809f8f8e8988343b3a39', '62199fadc76d0be1805d3ba0b7d914bf',
your_sha256_hash,
'ecb-tbl-256: I=95'),
('515053524645444bd0d1d6d7340b0a09', '1b06d6c5d333e742730130cf78e719b4',
your_sha256_hash,
'ecb-tbl-256: I=96'),
('42434041ecefee1193929594c6c9c8cb', 'f1f848824c32e9dcdcbf21580f069329',
your_sha256_hash,
'ecb-tbl-256: I=97'),
('efeeedecc2c1c0cf76777071455a5b58', '1a09050cbd684f784d8e965e0782f28a',
your_sha256_hash,
'ecb-tbl-256: I=98'),
('5f5e5d5c3f3c3d221d1c1b1a19161714', '79c2969e7ded2ba7d088f3f320692360',
your_sha256_hash,
'ecb-tbl-256: I=99'),
('000102034142434c1c1d1a1b8d727371', '091a658a2f7444c16accb669450c7b63',
your_sha256_hash,
'ecb-tbl-256: I=100'),
('8e8f8c8db1b2b38c56575051050a0b08', '97c1e3a72cca65fa977d5ed0e8a7bbfc',
your_sha256_hash,
'ecb-tbl-256: I=101'),
('a7a6a5a4e8ebeae57f7e7978cad5d4d7', '70c430c6db9a17828937305a2df91a2a',
your_sha256_hash,
'ecb-tbl-256: I=102'),
('8a8b888994979689454443429f909192', '629553457fbe2479098571c7c903fde8',
your_sha256_hash,
'ecb-tbl-256: I=103'),
('8c8d8e8fe0e3e2ed45444342f1cecfcc', 'a25b25a61f612669e7d91265c7d476ba',
your_sha256_hash,
'ecb-tbl-256: I=104'),
('fffefdfc4c4f4e31d8d9dedfb6b9b8bb', 'eb7e4e49b8ae0f024570dda293254fed',
your_sha256_hash,
'ecb-tbl-256: I=105'),
('fdfcfffecccfcec12f2e29286679787b', '38fe15d61cca84516e924adce5014f67',
your_sha256_hash,
'ecb-tbl-256: I=106'),
('67666564bab9b8a77071767719161714', '3ad208492249108c9f3ebeb167ad0583',
your_sha256_hash,
'ecb-tbl-256: I=107'),
('9a9b98992d2e2f2084858283245b5a59', '299ba9f9bf5ab05c3580fc26edd1ed12',
your_sha256_hash,
'ecb-tbl-256: I=108'),
('a4a5a6a70b0809365c5d5a5b2c232221', '19dc705b857a60fb07717b2ea5717781',
your_sha256_hash,
'ecb-tbl-256: I=109'),
('464744455754555af3f2f5f4afb0b1b2', 'ffc8aeb885b5efcad06b6dbebf92e76b',
your_sha256_hash,
'ecb-tbl-256: I=110'),
('323330317675746b7273747549464744', 'f58900c5e0b385253ff2546250a0142b',
your_sha256_hash,
'ecb-tbl-256: I=111'),
('a8a9aaab181b1a15808186872b141516', '2ee67b56280bc462429cee6e3370cbc1',
your_sha256_hash,
'ecb-tbl-256: I=112'),
('e7e6e5e4202323ddaaabacad343b3a39', '20db650a9c8e9a84ab4d25f7edc8f03f',
your_sha256_hash,
'ecb-tbl-256: I=113'),
('a8a9aaab2221202fedecebea1e010003', '3c36da169525cf818843805f25b78ae5',
your_sha256_hash,
'ecb-tbl-256: I=114'),
('f9f8fbfa5f5c5d42424344450e010003', '9a781d960db9e45e37779042fea51922',
your_sha256_hash,
'ecb-tbl-256: I=115'),
('57565554f5f6f7f89697909120dfdedd', '6560395ec269c672a3c288226efdba77',
your_sha256_hash,
'ecb-tbl-256: I=116'),
('f8f9fafbcccfcef1dddcdbda0e010003', '8c772b7a189ac544453d5916ebb27b9a',
your_sha256_hash,
'ecb-tbl-256: I=117'),
('d9d8dbda7073727d80818687c2dddcdf', '77ca5468cc48e843d05f78eed9d6578f',
your_sha256_hash,
'ecb-tbl-256: I=118'),
('c5c4c7c6080b0a1588898e8f68676665', '72cdcc71dc82c60d4429c9e2d8195baa',
your_sha256_hash,
'ecb-tbl-256: I=119'),
('83828180dcdfded186878081f0cfcecd', '8080d68ce60e94b40b5b8b69eeb35afa',
your_sha256_hash,
'ecb-tbl-256: I=120'),
('98999a9bdddedfa079787f7e0a050407', '44222d3cde299c04369d58ac0eba1e8e',
your_sha256_hash,
'ecb-tbl-256: I=121'),
('cecfcccd4f4c4d429f9e9998dfc0c1c2', '9b8721b0a8dfc691c5bc5885dbfcb27a',
your_sha256_hash,
'ecb-tbl-256: I=122'),
('404142436665647b29282f2eaba4a5a6', '0dc015ce9a3a3414b5e62ec643384183',
your_sha256_hash,
'ecb-tbl-256: I=123'),
('33323130e6e5e4eb23222524dea1a0a3', '705715448a8da412025ce38345c2a148',
your_sha256_hash,
'ecb-tbl-256: I=124'),
('cfcecdccf6f5f4cbe6e7e0e199969794', 'c32b5b0b6fbae165266c569f4b6ecf0b',
your_sha256_hash,
'ecb-tbl-256: I=125'),
('babbb8b97271707fdcdddadb29363734', '4dca6c75192a01ddca9476af2a521e87',
your_sha256_hash,
'ecb-tbl-256: I=126'),
('c9c8cbca4447465926272021545b5a59', '058691e627ecbc36ac07b6db423bd698',
your_sha256_hash,
'ecb-tbl-256: I=127'),
('050407067477767956575051221d1c1f', '7444527095838fe080fc2bcdd30847eb',
your_sha256_hash,
'ecb-tbl-256: I=128'),
# FIPS PUB 800-38A test vectors, 2001 edition. Annex F.
('6bc1bee22e409f96e93d7e117393172a'+'ae2d8a571e03ac9c9eb76fac45af8e51'+
'30c81c46a35ce411e5fbc1191a0a52ef'+'f69f2445df4f9b17ad2b417be66c3710',
'3ad77bb40d7a3660a89ecaf32466ef97'+'f5d3d58503b9699de785895a96fdbaaf'+
'43b1cd7f598ece23881b00e3ed030688'+'7b0c785e27e8ad3f8223207104725dd4',
'2b7e151628aed2a6abf7158809cf4f3c',
'NIST 800-38A, F.1.1, ECB and AES-128'),
('6bc1bee22e409f96e93d7e117393172a'+'ae2d8a571e03ac9c9eb76fac45af8e51'+
'30c81c46a35ce411e5fbc1191a0a52ef'+'f69f2445df4f9b17ad2b417be66c3710',
'bd334f1d6e45f25ff712a214571fa5cc'+'974104846d0ad3ad7734ecb3ecee4eef'+
'ef7afd2270e2e60adce0ba2face6444e'+'9a4b41ba738d6c72fb16691603c18e0e',
'8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b',
'NIST 800-38A, F.1.3, ECB and AES-192'),
('6bc1bee22e409f96e93d7e117393172a'+'ae2d8a571e03ac9c9eb76fac45af8e51'+
'30c81c46a35ce411e5fbc1191a0a52ef'+'f69f2445df4f9b17ad2b417be66c3710',
'f3eed1bdb5d2a03c064b5a7e3db181f8'+'591ccb10d410ed26dc5ba74a31362870'+
'b6ed21b99ca6f4f9f153e7b1beafed1d'+'23304b7a39f9f3ff067d8d8f9e24ecc7',
your_sha256_hash,
'NIST 800-38A, F.1.3, ECB and AES-256'),
]
def get_tests(config={}):
from Cryptodome.Cipher import AES
from Cryptodome.Cipher.AES import _raw_cpuid_lib
from common import make_block_tests
tests = make_block_tests(AES, "AES", test_data, {'use_aesni': False})
if _raw_cpuid_lib.have_aes_ni():
# Run tests with AES-NI instructions if they are available.
tests += make_block_tests(AES, "AESNI", test_data, {'use_aesni': True})
else:
print "Skipping AESNI tests"
return tests
if __name__ == '__main__':
import unittest
suite = lambda: unittest.TestSuite(get_tests())
unittest.main(defaultTest='suite')
# vim:set ts=4 sw=4 sts=4 expandtab:
```
|
Mark Pennington is a British political scientist and economist. He serves as a Professor of Political Economy and Public Policy at King's College London.
Early life
Pennington received a PhD from the London School of Economics. His thesis, dated 1998, was titled Property rights, public choice and urban containment: A study of the British planning system.
Career
He is a Professor of Political Economy at King's College London. He is a co-editor of The Review of Austrian Economics. His work engages critics of the classical liberal and libertarian traditions and includes contributions on public choice theory, Friedrich Hayek, urban planning, environmental governance and the theory of democratic deliberation.
He served on the board of trustees of the Institute of Economic Affairs between 2008 and November 2018. He is currently Director of the Centre for the Study of Governance and Society at King's College London
Works
Public Choice and the Politics of Government Failure (Athlone/ Continuum: 2000).
Liberating the Land (IEA: 2002).
Robust Political Economy (Edward Elgar: 2010).
References
External links
Faculty webpage at King's College
Living people
Alumni of the London School of Economics
Academics of King's College London
British political scientists
British economists
Year of birth missing (living people)
|
Tia Powell is an American psychiatrist and bioethicist. She is Director of the Montefiore-Einstein Center for Bioethics and of the Einstein Cardozo Master of Science in Bioethics Program, as well as a Professor of Clinical Epidemiology and Clinical Psychiatry at the Albert Einstein College of Medicine in The Bronx, New York. She holds the Trachtenberg Chair in Bioethics and is Professor of Epidemiology, Division of Bioethics, and Psychiatry. She was director of Clinical Ethics at Columbia-Presbyterian Hospital in New York City from 1992-1998, and executive director of the New York State Task Force on Life and the Law from 2004-2008.
Powell graduated from Harvard-Radcliffe College and Yale Medical School.
Powell has served on a number of committees for the Institute of Medicine, especially focusing on ethical issues in the management of public health disasters. She worked with the Institute of Medicine on 5 separate projects related to public health disasters, including as co-chair of the IOM report on antibiotics for anthrax attack. She has bioethics expertise in public policy, dementia, consultation, end of life care, decision-making capacity, bioethics education and the ethics of public health disasters.
As executive director of the New York State Task Force on Life and the Law, Powell initiated development of guidelines for the allocation of ventilators in New York State, in the event of a crisis.
With Guthrie S. Birkhead, Powell co-chaired a 2007 workgroup that developed draft guidelines for New York State for the allocation of ventilators in the event of an influenza pandemic. This became the foundation for New York State's 2015 Ventilator Allocation Guidelines.
Dementia Reimagined
In 2019, Powell published Dementia Reimagined: Building a Life of Joy and Dignity from Beginning to End through Penguin Random House. Dementia Reimagined combines medicine and memoir, discussing both the history of dementia and Alzheimer's disease and the emotional and ethical issues involved in dealing with it in an elderly family member. One of the historical figures she discusses is Solomon Fuller, a black doctor whose research at the turn of the twentieth century anticipated important aspects of current medical knowledge about dementia.
Selected publications
References
Bioethicists
Yale School of Medicine alumni
Harvard University alumni
Living people
NewYork–Presbyterian Hospital physicians
Yeshiva University faculty
Albert Einstein College of Medicine faculty
Place of birth missing (living people)
American psychiatrists
American women psychiatrists
American ethicists
1957 births
American women academics
21st-century American women
|
```smalltalk
"
This class is an extension so we can mix command of Commander2 with Commander.
"
Class {
#name : 'SycProtocolCmCommand',
#superclass : 'SycCmCommand',
#instVars : [
'methodGroups'
],
#category : 'SystemCommands-MethodCommands',
#package : 'SystemCommands-MethodCommands'
}
{ #category : 'execution' }
SycProtocolCmCommand class >> activationStrategy [
^ SycProtocolMenuActivation
]
{ #category : 'preparation' }
SycProtocolCmCommand >> prepareFullExecution [
super prepareFullExecution.
methodGroups := context selectedMethodGroups
]
```
|
```c
#include <stddef.h>
#include <stdint.h>
#include "third_party/md/md4.h"
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
unsigned char digest[16];
MD4_CTX ctx;
MD4Init(&ctx);
MD4Update(&ctx, data, size);
MD4Final(digest, &ctx);
return 0;
}
```
|
```ruby
require_relative '../../../spec_helper'
require 'csv'
describe "CSV::StreamBuf#get" do
it "needs to be reviewed for spec completeness"
end
```
|
```ruby
# frozen_string_literal: true
module Decidim
module Conferences
# This type represents a conference.
class ConferenceSpeakerType < Decidim::Api::Types::BaseObject
description "A conference speaker"
field :id, GraphQL::Types::ID, "Internal ID of the speaker", null: false
field :full_name, GraphQL::Types::String, "Full name of the speaker", null: true
field :position, Decidim::Core::TranslatedFieldType, "Position of the speaker in the conference", null: true
field :affiliation, Decidim::Core::TranslatedFieldType, "Affiliation of the speaker", null: true
field :twitter_handle, GraphQL::Types::String, "X handle", null: true
field :short_bio, Decidim::Core::TranslatedFieldType, "Short biography of the speaker", null: true
field :personal_url, GraphQL::Types::String, "Personal URL of the speaker", null: true
field :avatar, GraphQL::Types::String, "Avatar of the speaker", null: true
field :user, Decidim::Core::UserType, "Decidim user corresponding to this speaker", null: true
field :created_at, Decidim::Core::DateTimeType, "The time this member was created ", null: true
field :updated_at, Decidim::Core::DateTimeType, "The time this member was updated", null: true
def avatar
object.attached_uploader(:avatar).url
end
end
end
end
```
|
Marissa Anita (born in Surabaya, East Java, Indonesia on 29 March 1983) is an Indonesian journalist, actress and television news presenter. She began her acting career as a theatre actress in 2005, but rose to prominence in 2008 as a TV news reporter and later anchor for Metro TV. Her acting career took off in 2013 with a supporting role in Lucky Kuswandi's drama In the Absence of the Sun, for which she won a Maya Award for Best New Actress.
She has received three Citra Award for Best Supporting Actress nominations for her roles in Joko Anwar's Impetigore (2020) as well as Lucky Kuswandi's Galih & Ratna (2017) and Ali & Ratu Ratu Queens (2021), winning the latter. In addition to her Maya Award for Best New Actress trophy, she has also received three additional nominations: Best Actress in a Leading Role (Solo, Solitude) and Best Actress in a Supporting Role (Impetigore and Ali & Ratu Ratu Queens).
Early life
Anita is of Minangese Indonesian descent from her mother's side and a mix of Javanese and Chinese descent from her father's side. She is a middle child in her family and she has an older brother and a younger brother. Anita graduated top of her class with a bachelor's degree in TESL from Atma Jaya Catholic University in 2005, followed by a master's degree in Media Practice from the University of Sydney in 2007 and another master's degree in Digital Media and Society from Loughborough University in 2017.
Career
Anita began acting in stage plays in theater with The Jakarta Players community in 2005 while she was still studying in school and has since starred in more than a dozen plays. Upon completing her master's degree in Sydney, Australia, she joined the 24-hour news station Metro TV in 2008 as a reporter before becoming an anchor for the 8–11 program alongside Tommy Tjokro and Prabu Revolusi as well as the weekly English-language news program Indonesia Now alongside former CNN anchor Dalton Tanonaka.
In 2010, Anita starred opposite Atiqah Hasiholan in Broken Vase, a queer short film directed by Edward Gunawan. The following year, she again starred opposite Hasiholan in Borrowed Time, another short film co-directed by Gunawan and Lucky Kuswandi. In both short films, she was credited as Marissa Trigg. Anita then had cameo and minor roles in films such as Wanita Tetap Wanita, Nia Dinata's Arisan! 2, Joko Anwar's Ritual, and Rako Prijanto's 3 Nafas Likas.
Anita left Metro TV and joined NET in 2013 to host the Indonesia Morning Show. Since then, she began to appear in more substantial film roles while still maintaining her job as a television presenter. In 2014, she had a breakthrough with a role in Lucky Kuswandi's sophomore feature film In the Absence of the Sun. Her performance as Naomi, a former lover of Adinia Wirasti's character Anggia, garnered praise and earned her a Maya Award for Best New Actress.
Anita's next film appearances did not come until 2016 with a leading role in Yosep Anggi Noen's biographical drama Solo, Solitude as Sipon, the wife of disappeared poet and activist Widji Thukul and a supporting role in Kuswandi's 2017 drama Galih & Ratna as Tantri, the aunt of the titular character Ratna played by Sheryl Sheinafia. She was nominated for a Maya Award for Best Actress in a Leading Role for her performance in Solo, Solitude and a Citra Award for Best Supporting Actress for the latter.
In March 2019, Anita launched Greatmind.id, an online media platform that explores ideas, aspirations, and advocacy on various topics of life, serving as its lead editor. In June, Anita left her job at NET , months before she was billed to appear in two Joko Anwar's projects. In August, she appeared as Kurniati Dewi, the mother of Sancaka, in Gundala, the first entry in the Bumilangit Cinematic Universe film series. In October, she co-starred as Dini, the best friend of Tara Basro's character Maya in Impetigore, alongside Ario Bayu and Christine Hakim. Both films were critical and commercial success, with Impetigore being selected as the Indonesian entry for the Best International Feature Film category at the 93rd Academy Awards and breaking the record for most nominations at the 40th Citra Awards. Anita received her second Citra Award for Best Supporting Actress nomination for Impetigore, but lost to co-star Christine Hakim. She then reunited with Yosep Anggi Noen for The Science of Fictions.
In 2020, Anita appeared in two segments of the anthology film Quarantine Tales. She joined Najwa Shihab's Narasi TV in July to host her own talkshow Enaknya Diobrolin and the newly launched SEA Today in October to host its flagship morning news program.
Anita next appeared in Kamila Andini's Yuni and Lucky Kuswandi's Netflix original Ali & Ratu Ratu Queens. For her performance as Mia Harrington in the latter, she won the Citra Award for Best Supporting Actress, beating her co-star Asri Welas, Yuni co-star Asmara Abigail, Dea Panendra (Photocopier), and Djenar Maesa Ayu (Cinta Bete).
Filmography
Awards and nominations
References
External links
1983 births
People from Surabaya
Indonesian actresses
Indonesian journalists
Indonesian women journalists
Indonesian television presenters
Indonesian women television presenters
University of Sydney alumni
Maya Award winners
Living people
Atma Jaya Catholic University of Indonesia alumni
|
The Duchess of Kent's Mausoleum is a mausoleum for Victoria of Saxe-Coburg-Saalfeld, Duchess of Kent, the mother of Queen Victoria. It is situated in Frogmore Gardens in the Home Park, Windsor. It was listed Grade I on the National Heritage List for England in October 1975. The bridge leading to the island from the mausoleum is listed Grade II.
The Duchess spent the last years of her life at Frogmore House and the top part of the structure was originally intended as a summer house, with the lower level of the structure to be the site of her interment. The Duchess had originally expressed a desire to be buried in the mausoleum of her brother, Ernest I, Duke of Saxe-Coburg and Gotha, in the now Bavarian town of Coburg. The Duchess died at Frogmore House on 16 March 1861 before the summer-house was completed so the upper chamber became part of the mausoleum and now contains a statue of the Duchess by William Theed completed in 1864. It was completed in July 1861 following the Duchess's death in March. The Duchess's body lay at St George's Chapel in Windsor before being interred in the mausoleum in a granite sarcophagus in August 1861.
The mausoleum was consecrated in July 1861 by Samuel Wilberforce, the Bishop of Oxford, assisted by the Rev Gerald Wellesley, the Dean of Windsor, the Rev Charles Leslie Courtenay, the Canon of Windsor, the Rev J. St. John Blunt, Chaplain to Albert, Prince Consort, and the Vicar of Old Windsor, the Rev H. J. Ellison, Chaplain at Windsor Castle and Vicar of New Windsor, and the Rev Charles Loyd, the Vicar of Great Hampden.
Design
It was built by the architect A. J. Humbert, based on designs by Professor Ludwig Gruner. Humbert had come to Victoria's attention after his successful redesign of St Mildred's Church, Whippingham, the parish church near Osborne House on the Isle of Wight. The design of the Duchess of Kent's Mausoleum was inspired by Nicholas Hawksmoor's Howard Mausoleum at Castle Howard in Yorkshire and the Donato Bramante's Tempietto of San Pietro in the Roman district of Montorio. The Historic England listing describes the style of the mausoleum as "Heavy late French neo-classical.” It is made from Portland stone with a ribbed dome in copper surmounted by a balustrade. The rotunda structure is surrounded by 16 Ionic 10 ft tall columns, made from Cornish granite from Penryn with bronze capitals and bases. The main approach to the mausoleum faces a bridge over a lake with a double flight of balustraded steps. The mausoleum is decorated with heraldic painting by Gruner. The ceiling is decorated by a blue glass dome ornamented with stars.
The mausoleum was built by Messrs I'Anson of Cirencester Place, with the bronze casting supplied by Messrs Robinson and Co. of Pimlico.
References
Buildings and structures completed in 1861
Grade I listed buildings in Berkshire
Grade I listed monuments and memorials
Mausoleums in England
1861 establishments in England
Frogmore
|
```kotlin
package io.gitlab.arturbosch.detekt.rules.naming
import io.gitlab.arturbosch.detekt.api.CodeSmell
import io.gitlab.arturbosch.detekt.api.Config
import io.gitlab.arturbosch.detekt.api.Configuration
import io.gitlab.arturbosch.detekt.api.Entity
import io.gitlab.arturbosch.detekt.api.Rule
import io.gitlab.arturbosch.detekt.api.config
import org.jetbrains.kotlin.psi.KtLambdaExpression
import org.jetbrains.kotlin.psi.KtNamedDeclaration
import org.jetbrains.kotlin.psi.KtParameter
/**
* Reports lambda parameter names that do not follow the specified naming convention.
*/
class LambdaParameterNaming(config: Config) : Rule(
config,
"Lambda parameter names should follow the naming convention set in the projects configuration."
) {
@Configuration("naming pattern")
private val parameterPattern: Regex by config("[a-z][A-Za-z0-9]*|_", String::toRegex)
override fun visitLambdaExpression(lambdaExpression: KtLambdaExpression) {
super.visitLambdaExpression(lambdaExpression)
lambdaExpression.valueParameters
.flatMap { it.getNamedDeclarations() }
.mapNotNull { it.nameIdentifier }
.forEach {
val identifier = it.text
if (!identifier.matches(parameterPattern)) {
report(
CodeSmell(
Entity.from(it),
message = "Lambda parameter names should match the pattern: $parameterPattern",
)
)
}
}
}
private fun KtParameter.getNamedDeclarations(): List<KtNamedDeclaration> =
this.destructuringDeclaration?.entries ?: listOf(this)
}
```
|
```php
<?php
use Illuminate\Support\Collection;
it('gets the first item of the collection', function () {
$data = new Collection([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
expect($data->first())->toEqual(1);
});
it('gets the second item of the collection', function () {
$data = new Collection([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
expect($data->second())->toEqual(2);
});
it('gets the third item of the collection', function () {
$data = new Collection([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
expect($data->third())->toEqual(3);
});
it('gets the fourth item of the collection', function () {
$data = new Collection([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
expect($data->fourth())->toEqual(4);
});
it('gets the fifth item of the collection', function () {
$data = new Collection([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
expect($data->fifth())->toEqual(5);
});
it('gets the sixth item of the collection', function () {
$data = new Collection([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
expect($data->sixth())->toEqual(6);
});
it('gets the seventh item of the collection', function () {
$data = new Collection([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
expect($data->seventh())->toEqual(7);
});
it('gets the eighth item of the collection', function () {
$data = new Collection([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
expect($data->eighth())->toEqual(8);
});
it('gets the ninth item of the collection', function () {
$data = new Collection([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
expect($data->ninth())->toEqual(9);
});
it('gets the tenth item of the collection', function () {
$data = new Collection([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
expect($data->tenth())->toEqual(10);
});
it('gets the nth item of the collection', function () {
$data = new Collection([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]);
expect($data->getNth(11))->toEqual(11);
});
it('returns null if index is undefined', function () {
$data = new Collection();
expect($data->first())->toBeNull();
expect($data->second())->toBeNull();
expect($data->third())->toBeNull();
expect($data->fourth())->toBeNull();
expect($data->fifth())->toBeNull();
expect($data->sixth())->toBeNull();
expect($data->seventh())->toBeNull();
expect($data->eighth())->toBeNull();
expect($data->ninth())->toBeNull();
expect($data->tenth())->toBeNull();
expect($data->getNth(11))->toBeNull();
});
```
|
```javascript
export default function Page() {
return (
<p id="pages-text">
hello from pages/dynamic-pages-route-app-overlap/[slug]
</p>
)
}
```
|
```javascript
/**
* Korean translation for bootstrap-datetimepicker
* Gu Youn <path_to_url
*/
;(function($){
$.fn.datetimepicker.dates['kr'] = {
days: ["", "", "", "", "", "", "", ""],
daysShort: ["", "", "", "", "", "", "", ""],
daysMin: ["", "", "", "", "", "", "", ""],
months: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"],
monthsShort: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"],
suffix: [],
meridiem: []
};
}(jQuery));
```
|
```go
/*
path_to_url
Unless required by applicable law or agreed to in writing, software
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
package gitlab
import (
"fmt"
"github.com/caicloud/nirvana/log"
v4 "github.com/xanzy/go-gitlab"
c_v1alpha1 "github.com/caicloud/cyclone/pkg/apis/cyclone/v1alpha1"
"github.com/caicloud/cyclone/pkg/server/apis/v1alpha1"
"github.com/caicloud/cyclone/pkg/server/biz/scm"
"github.com/caicloud/cyclone/pkg/util/cerr"
)
// V4 represents the SCM provider of API V4 GitLab.
type V4 struct {
scmCfg *v1alpha1.SCMSource
client *v4.Client
}
// GetToken gets the token by the username and password of SCM config.
func (g *V4) GetToken() (string, error) {
return getOauthToken(g.scmCfg)
}
// CheckToken checks whether the token has the authority of repo by trying ListRepos with the token.
func (g *V4) CheckToken() error {
if _, err := g.listReposInner(false); err != nil {
return err
}
return nil
}
// ListRepos lists the repos by the SCM config.
func (g *V4) ListRepos() ([]scm.Repository, error) {
return g.listReposInner(true)
}
// listReposInner lists the projects by the SCM config,
// list all projects while the parameter 'listAll' is true,
// otherwise, list projects by default 'provider.ListPerPageOpt' number.
func (g *V4) listReposInner(listAll bool) ([]scm.Repository, error) {
trueVar := true
opt := &v4.ListProjectsOptions{
ListOptions: v4.ListOptions{
PerPage: scm.ListOptPerPage,
},
Membership: &trueVar,
}
// Get all pages of results.
var allProjects []*v4.Project
for {
projects, resp, err := g.client.Projects.ListProjects(opt)
if err != nil {
return nil, convertGitlabError(err, resp)
}
allProjects = append(allProjects, projects...)
if resp.NextPage == 0 || !listAll {
break
}
opt.ListOptions.Page = resp.NextPage
}
repos := make([]scm.Repository, len(allProjects))
for i, repo := range allProjects {
repos[i].Name = repo.PathWithNamespace
repos[i].URL = repo.HTTPURLToRepo
}
return repos, nil
}
// ListBranches lists the branches for specified repo.
func (g *V4) ListBranches(repo string) ([]string, error) {
opts := &v4.ListBranchesOptions{
ListOptions: v4.ListOptions{
PerPage: scm.ListOptPerPage,
},
}
var allBranches []string
for {
branches, resp, err := g.client.Branches.ListBranches(repo, opts)
if err != nil {
log.Errorf("Fail to list branches for %s", repo)
return nil, convertGitlabError(err, resp)
}
for _, b := range branches {
allBranches = append(allBranches, b.Name)
}
if resp.NextPage == 0 {
break
}
opts.Page = resp.NextPage
}
return allBranches, nil
}
// ListTags lists the tags for specified repo.
func (g *V4) ListTags(repo string) ([]string, error) {
opts := &v4.ListTagsOptions{
ListOptions: v4.ListOptions{
PerPage: scm.ListOptPerPage,
},
}
var allTags []string
for {
tags, resp, err := g.client.Tags.ListTags(repo, opts)
if err != nil {
log.Errorf("Fail to list tags for %s", repo)
return nil, convertGitlabError(err, resp)
}
for _, t := range tags {
allTags = append(allTags, t.Name)
}
if resp.NextPage == 0 {
break
}
opts.Page = resp.NextPage
}
return allTags, nil
}
// ListPullRequests lists the merge requests for specified repo.
func (g *V4) ListPullRequests(repo, state string) ([]scm.PullRequest, error) {
// GitLab mr state: opened, closed, locked, merged, all
var s string
switch state {
case scm.PullRequestStateOpen:
s = openedPullRequestState
case openedPullRequestState, "closed", "locked", "merged", "all":
s = state
default:
return nil, cerr.ErrorUnsupported.Error("GitLab(v4) pull request state", state)
}
opts := &v4.ListProjectMergeRequestsOptions{
State: &s,
ListOptions: v4.ListOptions{
PerPage: scm.ListOptPerPage,
},
}
var allPRs []scm.PullRequest
for {
prs, resp, err := g.client.MergeRequests.ListProjectMergeRequests(repo, opts)
if err != nil {
log.Errorf("Fail to list merge requests for %s", repo)
return nil, convertGitlabError(err, resp)
}
for _, p := range prs {
allPRs = append(allPRs, scm.PullRequest{
ID: p.IID,
Title: p.Title,
Description: p.Description,
State: p.State,
TargetBranch: p.TargetBranch,
})
}
if resp.NextPage == 0 {
break
}
opts.Page = resp.NextPage
}
return allPRs, nil
}
// ListDockerfiles lists the Dockerfiles for specified repo.
func (g *V4) ListDockerfiles(repo string) ([]string, error) {
recursive := true
opt := &v4.ListTreeOptions{
Recursive: &recursive,
ListOptions: v4.ListOptions{
PerPage: scm.ListOptPerPage,
},
}
treeNodes := []*v4.TreeNode{}
for {
treeNode, resp, err := g.client.Repositories.ListTree(repo, opt)
if err != nil {
log.Errorf("Fail to list dockerfile for %s", repo)
return nil, convertGitlabError(err, resp)
}
treeNodes = append(treeNodes, treeNode...)
if resp.NextPage == 0 {
break
}
opt.Page = resp.NextPage
}
files := []string{}
for _, t := range treeNodes {
if t.Type == "blob" && scm.IsDockerfile(t.Path) {
files = append(files, t.Path)
}
}
return files, nil
}
// CreateStatus generate a new status for repository.
func (g *V4) CreateStatus(status c_v1alpha1.StatusPhase, targetURL, repo, commitSha string) error {
state, description := transStatus(status)
context := "continuous-integration/cyclone"
opt := &v4.SetCommitStatusOptions{
State: v4.BuildStateValue(state),
Description: &description,
TargetURL: &targetURL,
Context: &context,
}
_, resp, err := g.client.Commits.SetCommitStatus(repo, commitSha, opt)
return convertGitlabError(err, resp)
}
// GetPullRequestSHA gets latest commit SHA of pull request.
func (g *V4) GetPullRequestSHA(repo string, number int) (string, error) {
mr, resp, err := g.client.MergeRequests.GetMergeRequest(repo, number, nil)
if err != nil {
return "", convertGitlabError(err, resp)
}
return mr.SHA, nil
}
// GetWebhook gets webhook from specified repo.
func (g *V4) GetWebhook(repo string, webhookURL string) (*v4.ProjectHook, error) {
// log.Infof("repo: %s", url.PathEscape(repo))
hooks, resp, err := g.client.Projects.ListProjectHooks(repo, nil)
if err != nil {
return nil, convertGitlabError(err, resp)
}
for _, hook := range hooks {
if hook.URL == webhookURL {
return hook, nil
}
}
return nil, cerr.ErrorContentNotFound.Error(fmt.Sprintf("webhook url %s", webhookURL))
}
// CreateWebhook creates webhook for specified repo.
func (g *V4) CreateWebhook(repo string, webhook *scm.Webhook) error {
if webhook == nil || len(webhook.URL) == 0 || len(webhook.Events) == 0 {
return fmt.Errorf("The webhook %v is not correct", webhook)
}
_, err := g.GetWebhook(repo, webhook.URL)
if err != nil {
if !cerr.ErrorContentNotFound.Derived(err) {
return err
}
log.Infof("webhook url: %s", webhook.URL)
hook := generateV4ProjectHook(webhook)
_, resp, err := g.client.Projects.AddProjectHook(repo, hook)
if err != nil {
return convertGitlabError(err, resp)
}
return nil
}
log.Warningf("Webhook already existed: %+v", webhook)
return err
}
// DeleteWebhook deletes webhook from specified repo.
func (g *V4) DeleteWebhook(repo string, webhookURL string) error {
hook, err := g.GetWebhook(repo, webhookURL)
if err != nil {
return err
}
if resp, err := g.client.Projects.DeleteProjectHook(repo, hook.ID); err != nil {
log.Errorf("delete project hook %s for %s/%s error: %v", hook.ID, repo, err)
return convertGitlabError(err, resp)
}
return nil
}
func generateV4ProjectHook(webhook *scm.Webhook) *v4.AddProjectHookOptions {
enableState, disableState := true, false
// Push event is enable for Gitlab webhook in default, so need to remove this default option.
hook := &v4.AddProjectHookOptions{
PushEvents: &disableState,
}
for _, e := range webhook.Events {
switch e {
case scm.PullRequestEventType:
hook.MergeRequestsEvents = &enableState
case scm.PullRequestCommentEventType:
hook.NoteEvents = &enableState
case scm.PushEventType:
hook.PushEvents = &enableState
case scm.TagReleaseEventType:
hook.TagPushEvents = &enableState
default:
log.Errorf("The event type %s is not supported, will be ignored", e)
return nil
}
}
hook.URL = &webhook.URL
return hook
}
```
|
```java
/*
* 2016 - 2022; Simon Braconnier and contributors
* 2022 - present; JODConverter
*
* This file is part of JODConverter - Java OpenDocument Converter.
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
package org.jodconverter.cli.util;
import org.junit.jupiter.api.extension.AfterAllCallback;
import org.junit.jupiter.api.extension.BeforeAllCallback;
import org.junit.jupiter.api.extension.ExtensionContext;
/**
* Extension providing a way to prevent a call to System.exit to actually shut down the VM. Instead,
* a ExitException is thrown.
*/
public class NoExitExtension implements BeforeAllCallback, AfterAllCallback {
@Override
public void beforeAll(final ExtensionContext context) {
// Don't allow the program to exit the VM
System.setSecurityManager(new NoExitSecurityManager());
}
@Override
public void afterAll(final ExtensionContext context) {
// Restore security manager
System.setSecurityManager(null);
}
}
```
|
Skanifest was a punk, ska and rock festival organized in Ciney, Belgium from 2005 until 2009. The festival's aim was to host rock, ska and punk bands at fair prices. The Skanifest ASBL (non-profit organisation) was dissolved in 2010.
Each year, Skanifest tried to mix local groups starting out, more experienced local bands and artists with national, or even international, experience.
2005 Edition
The first edition (15 April 2005) gathered around 400 people. This was the line-up:
Wash Out Test(Be)
Gino's Eyeball (Be)
Mad Men's Team (Be)
Fucking Peanuts (Be)
BP Buckshot(Be)
Bilo Band (Be)
2006 Edition
The second edition (25 March 2006) was attended by around 1000 people. The line-up was:
Vic Ruggiero (The Slackers, ex Rancid) (USA)
The Moon Invaders (Be)
PO Box (Fr)
Skating Teenagers (Be)
Mad Men's Team (Be)
Shadocks (Be)
BP Buckshot (Be)
Bilo Band (Be)
2007 Edition
The third edition took place in "Salle Cecoco", Ciney, Belgium on 27 January 2007.
This was the line up:
Capdown (UK)
Joshua (B)
Sweek (B)
Camping Sauvach' (B)
Skafield (DE)
PO Box (Fr)
BP Buckshot (B)
2008 Edition
On 5 April 2008.
The Locos (ES)
La Ruda (FR)
The Experimental Tropic Blues Band (B)
PO Box (Fr)
Atomic Leaf (B)
Elvis Black Stars (B)
2009 Edition
The fifth edition took place in "Ciney Expo", Ciney, Belgium on 6 February 2009.
This was the line up:
Joshua (B)
Reel Big Fish (USA)
Malibu Stacy (B)
Camping Sauvach (B)
Suburban Legends (USA)
Sinus Georges (B)
Les Caricoles (B)
External links
Site de Skanifest
Photos de l'édition 2008
Music festivals in Belgium
Ska festivals
Punk rock festivals
Rock festivals in Belgium
Ciney
|
```javascript
/**
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
'use strict';
// MODULES //
var tape = require( 'tape' );
var proxyquire = require( 'proxyquire' );
var randu = require( '@stdlib/random/iter/randu' );
var iterEmpty = require( '@stdlib/iter/empty' );
var array2iterator = require( '@stdlib/array/to-iterator' );
var iteratorSymbol = require( '@stdlib/symbol/iterator' );
var iterPush = require( './../lib' );
// TESTS //
tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.strictEqual( typeof iterPush, 'function', 'main export is a function' );
t.end();
});
tape( 'the function throws an error if provided an iterator argument which is not an iterator protocol-compliant object (no other arguments)', function test( t ) {
var values;
var i;
values = [
'5',
5,
NaN,
true,
false,
null,
void 0,
{},
function noop() {}
];
for ( i = 0; i < values.length; i++ ) {
t.throws( badValue( values[i] ), TypeError, 'throws an error when provided '+values[i] );
}
t.end();
function badValue( value ) {
return function badValue() {
iterPush( value );
};
}
});
tape( 'the function throws an error if provided an iterator argument which is not an iterator protocol-compliant object (1 additional argument)', function test( t ) {
var values;
var i;
values = [
'5',
5,
NaN,
true,
false,
null,
void 0,
{},
function noop() {}
];
for ( i = 0; i < values.length; i++ ) {
t.throws( badValue( values[i] ), TypeError, 'throws an error when provided '+values[i] );
}
t.end();
function badValue( value ) {
return function badValue() {
iterPush( value, 1 );
};
}
});
tape( 'the function throws an error if provided an iterator argument which is not an iterator protocol-compliant object (2 additional arguments)', function test( t ) {
var values;
var i;
values = [
'5',
5,
NaN,
true,
false,
null,
void 0,
{},
function noop() {}
];
for ( i = 0; i < values.length; i++ ) {
t.throws( badValue( values[i] ), TypeError, 'throws an error when provided '+values[i] );
}
t.end();
function badValue( value ) {
return function badValue() {
iterPush( value, 1, 2 );
};
}
});
tape( 'the function throws an error if provided an iterator argument which is not an iterator protocol-compliant object (3 additional arguments)', function test( t ) {
var values;
var i;
values = [
'5',
5,
NaN,
true,
false,
null,
void 0,
{},
function noop() {}
];
for ( i = 0; i < values.length; i++ ) {
t.throws( badValue( values[i] ), TypeError, 'throws an error when provided '+values[i] );
}
t.end();
function badValue( value ) {
return function badValue() {
iterPush( value, 1, 2, 3 );
};
}
});
tape( 'the function returns an iterator protocol-compliant object (infinite iterator)', function test( t ) {
var it;
var v;
var i;
it = iterPush( randu() );
t.equal( it.next.length, 0, 'has zero arity' );
for ( i = 0; i < 100; i++ ) {
v = it.next();
t.equal( typeof v.value, 'number', 'returns expected value' );
t.equal( v.done, false, 'returns expected value' );
}
t.end();
});
tape( 'the function returns an iterator protocol-compliant object (finite iterator)', function test( t ) {
var expected;
var values;
var actual;
var it;
var i;
values = [ 1, 2, 3, 4 ];
expected = [
{
'value': 1,
'done': false
},
{
'value': 2,
'done': false
},
{
'value': 3,
'done': false
},
{
'value': 4,
'done': false
},
{
'value': 5,
'done': false
},
{
'value': 6,
'done': false
},
{
'done': true
}
];
it = iterPush( array2iterator( values ), 5, 6 );
t.equal( it.next.length, 0, 'has zero arity' );
actual = [];
for ( i = 0; i < expected.length; i++ ) {
actual.push( it.next() );
}
t.deepEqual( actual, expected, 'returns expected values' );
t.end();
});
tape( 'the function returns an iterator protocol-compliant object (empty iterator)', function test( t ) {
var expected;
var actual;
var it;
var i;
expected = [
{
'value': 5,
'done': false
},
{
'value': 6,
'done': false
},
{
'done': true
}
];
it = iterPush( iterEmpty(), 5, 6 );
t.equal( it.next.length, 0, 'has zero arity' );
actual = [];
for ( i = 0; i < expected.length; i++ ) {
actual.push( it.next() );
}
t.deepEqual( actual, expected, 'returns expected values' );
t.end();
});
tape( 'the function returns an iterator protocol-compliant object (empty iterator; no additional items)', function test( t ) {
var expected;
var actual;
var it;
var i;
expected = [
{
'done': true
}
];
it = iterPush( iterEmpty() );
t.equal( it.next.length, 0, 'has zero arity' );
actual = [];
for ( i = 0; i < expected.length; i++ ) {
actual.push( it.next() );
}
t.deepEqual( actual, expected, 'returns expected values' );
t.end();
});
tape( 'the function returns an iterator protocol-compliant object (no additional items)', function test( t ) {
var expected;
var values;
var actual;
var it;
var i;
values = [ 1, 2, 3, 4 ];
expected = [
{
'value': 1,
'done': false
},
{
'value': 2,
'done': false
},
{
'value': 3,
'done': false
},
{
'value': 4,
'done': false
},
{
'done': true
}
];
it = iterPush( array2iterator( values ) );
t.equal( it.next.length, 0, 'has zero arity' );
actual = [];
for ( i = 0; i < expected.length; i++ ) {
actual.push( it.next() );
}
t.deepEqual( actual, expected, 'returns expected values' );
t.end();
});
tape( 'the returned iterator has a `return` method for closing an iterator (no argument)', function test( t ) {
var it;
var r;
it = iterPush( randu(), 1, 2, 3 );
r = it.next();
t.equal( typeof r.value, 'number', 'returns a number' );
t.equal( r.done, false, 'returns expected value' );
r = it.next();
t.equal( typeof r.value, 'number', 'returns a number' );
t.equal( r.done, false, 'returns expected value' );
r = it.return();
t.equal( r.value, void 0, 'returns expected value' );
t.equal( r.done, true, 'returns expected value' );
r = it.next();
t.equal( r.value, void 0, 'returns expected value' );
t.equal( r.done, true, 'returns expected value' );
t.end();
});
tape( 'the returned iterator has a `return` method for closing an iterator (argument)', function test( t ) {
var it;
var r;
it = iterPush( randu(), 1, 2, 3 );
r = it.next();
t.equal( typeof r.value, 'number', 'returns a number' );
t.equal( r.done, false, 'returns expected value' );
r = it.next();
t.equal( typeof r.value, 'number', 'returns a number' );
t.equal( r.done, false, 'returns expected value' );
r = it.return( 'finished' );
t.equal( r.value, 'finished', 'returns expected value' );
t.equal( r.done, true, 'returns expected value' );
r = it.next();
t.equal( r.value, void 0, 'returns expected value' );
t.equal( r.done, true, 'returns expected value' );
t.end();
});
tape( 'if an environment supports `Symbol.iterator` and the provided iterator is iterable, the returned iterator is iterable', function test( t ) {
var iterPush;
var opts;
var rand;
var it1;
var it2;
var i;
iterPush = proxyquire( './../lib/main.js', {
'@stdlib/symbol/iterator': '__ITERATOR_SYMBOL__'
});
opts = {
'seed': 12345
};
rand = randu( opts );
rand[ '__ITERATOR_SYMBOL__' ] = factory;
it1 = iterPush( rand, 1, 2, 3 );
t.equal( typeof it1[ '__ITERATOR_SYMBOL__' ], 'function', 'has method' );
t.equal( it1[ '__ITERATOR_SYMBOL__' ].length, 0, 'has zero arity' );
it2 = it1[ '__ITERATOR_SYMBOL__' ]();
t.equal( typeof it2, 'object', 'returns an object' );
t.equal( typeof it2.next, 'function', 'has method' );
t.equal( typeof it2.return, 'function', 'has method' );
for ( i = 0; i < 100; i++ ) {
t.equal( it2.next().value, it1.next().value, 'returns expected value' );
}
t.end();
function factory() {
return randu( opts );
}
});
tape( 'if an environment does not support `Symbol.iterator`, the returned iterator is not "iterable"', function test( t ) {
var iterPush;
var it;
iterPush = proxyquire( './../lib/main.js', {
'@stdlib/symbol/iterator': false
});
it = iterPush( randu(), 1, 2, 3 );
t.equal( it[ iteratorSymbol ], void 0, 'does not have property' );
t.end();
});
tape( 'if a provided iterator is not iterable, the returned iterator is not iterable', function test( t ) {
var iterPush;
var rand;
var it;
iterPush = proxyquire( './../lib/main.js', {
'@stdlib/symbol/iterator': '__ITERATOR_SYMBOL__'
});
rand = randu();
rand[ '__ITERATOR_SYMBOL__' ] = null;
it = iterPush( rand, 1, 2, 3 );
t.equal( it[ iteratorSymbol ], void 0, 'does not have property' );
t.end();
});
```
|
```javascript
/**
* @license
*/
import log from 'lighthouse-logger';
import {ExecutionContext} from './driver/execution-context.js';
import {TargetManager} from './driver/target-manager.js';
import {Fetcher} from './fetcher.js';
import {NetworkMonitor} from './driver/network-monitor.js';
/** @return {*} */
const throwNotConnectedFn = () => {
throw new Error('Session not connected');
};
/** @type {LH.Gatherer.ProtocolSession} */
const throwingSession = {
setTargetInfo: throwNotConnectedFn,
hasNextProtocolTimeout: throwNotConnectedFn,
getNextProtocolTimeout: throwNotConnectedFn,
setNextProtocolTimeout: throwNotConnectedFn,
on: throwNotConnectedFn,
once: throwNotConnectedFn,
off: throwNotConnectedFn,
sendCommand: throwNotConnectedFn,
sendCommandAndIgnore: throwNotConnectedFn,
dispose: throwNotConnectedFn,
onCrashPromise: throwNotConnectedFn,
};
/** @implements {LH.Gatherer.Driver} */
class Driver {
/**
* @param {LH.Puppeteer.Page} page
*/
constructor(page) {
this._page = page;
/** @type {TargetManager|undefined} */
this._targetManager = undefined;
/** @type {NetworkMonitor|undefined} */
this._networkMonitor = undefined;
/** @type {ExecutionContext|undefined} */
this._executionContext = undefined;
/** @type {Fetcher|undefined} */
this._fetcher = undefined;
this.defaultSession = throwingSession;
}
/** @return {LH.Gatherer.Driver['executionContext']} */
get executionContext() {
if (!this._executionContext) return throwNotConnectedFn();
return this._executionContext;
}
get fetcher() {
if (!this._fetcher) return throwNotConnectedFn();
return this._fetcher;
}
get targetManager() {
if (!this._targetManager) return throwNotConnectedFn();
return this._targetManager;
}
get networkMonitor() {
if (!this._networkMonitor) return throwNotConnectedFn();
return this._networkMonitor;
}
/** @return {Promise<string>} */
async url() {
return this._page.url();
}
/** @return {Promise<void>} */
async connect() {
if (this.defaultSession !== throwingSession) return;
const status = {msg: 'Connecting to browser', id: 'lh:driver:connect'};
log.time(status);
const cdpSession = await this._page.target().createCDPSession();
this._targetManager = new TargetManager(cdpSession);
await this._targetManager.enable();
this._networkMonitor = new NetworkMonitor(this._targetManager);
await this._networkMonitor.enable();
this.defaultSession = this._targetManager.rootSession();
this._executionContext = new ExecutionContext(this.defaultSession);
this._fetcher = new Fetcher(this.defaultSession);
log.timeEnd(status);
}
/** @return {Promise<void>} */
async disconnect() {
if (this.defaultSession === throwingSession) return;
await this._targetManager?.disable();
await this._networkMonitor?.disable();
await this.defaultSession.dispose();
}
}
export {Driver};
```
|
The 2018 Kaveri River water sharing protests are a series of ongoing protests on the issue of water sharing problems from the River Kaveri between Tamil Nadu and Karnataka which are two states in India. The Kaveri water dispute has been a major controversial issue between Tamil Nadu and Karnataka over the years and the issue has been raised further with protests have been conducted across the state of Tamil Nadu by several groups including from the large pile of actors and directors who have temporarily stopped working on their projects, films over the Karnataka's sharing the Kaveri water to Tamil Nadu. The delay in establishing a Cauvery Management Board in order to share equal river share award has sparked off protests in Tamil Nadu against the Karnataka state government.
Several film makers of the Tamil film industry has also criticised and threatened to postpone the IPL matches involving Chennai Super Kings which are to be held in Chennai as a part of the 2018 Indian Premier League season as Chennai Super Kings making their comeback into the IPL league after 2 years as they were serving a 2-year ban along with Rajasthan Royals over the 2013 IPL betting scandal. This situation in Tamil Nadu has been a major concern along with the Nadigar Sangam's strike against the increase of VPF charges which has left the South Indian state vulnerable with no new film releases for about 50 days.
The 2018 Karnataka Legislative Assembly election which was a major concern in the state of Karnataka following the breakout of major Kaveri river water scandal has heaped in among several political dramatic turnarounds in the state with both main politicians B. S. Yeddyurappa and Siddaramaiah being historically defeated at the assembly elections.
Background
The genesis of this conflict rests in two agreements in 1892 and 1924 between the Madras Presidency and Kingdom of Mysore. The 802 kilometres (498 mi) Cauvery river has a 44,000 km2 basin area in Tamil Nadu and 32,000 km2 basin area in Karnataka. The inflow from Karnataka is 425 TMC ft whereas that from Tamil Nadu is 252 TMCft.
However the Karnataka state does not agree with the sharing of drinking water with the South Indian state, Tamil Nadu, which has been followed according to the British era agreement. The state also believes that the British agreement is a very old one and needs to be renewed because of the rainfall patterns. Karnataka desperately wanted to receive more water share from the River Cauvery and this would ultimately reduce the share of water to South Indian states such as Tamil Nadu, Puducherry and Kerala. Due to these arguments this has been the unsolved issue between the two states in the recent times.
On the other hand, there have been numerous criticisms and controversies regarding Karnataka and Tamil Nadu in the past, as the state has failed to deliver an expected water level to Tamil Nadu in the previous years due to draught despite the court order which has advised the Karnataka government to supply the amount which is expected by Tamil Nadu. Whereas Tamil Nadu has often demanded its complete share without considering the facts of insufficient rains and draught situation in Karnataka.
Development
Supreme Court (SC) on 8 January 2018 declared that it would pronounce its verdict clearing all the pending cases and the confusion within a month. On 16 February 2018, the Supreme Court has pronounced its verdict. The Supreme Court urged to reduce 14 tmc water allocation to Tamil Nadu and requested Karnataka to release only 177 tmc of water to Tamil Nadu for next 15 years. The verdict also mandated to formally constitute the Cauvery river management board by the union government within 40 days for implementing strictly the tribunal award and its verdict.
The government of Karnataka expressed its displeasure in setting up the Cauvery Management Board, which was instituted to monitor water availability and use, as per the verdict of the Supreme Court. Union government also indicated that it was uncomfortable with the SC verdict, specifically to form the Cauvery management board within the stipulated period.
The re-allocation of water between the states of Tamil Nadu and Karnataka by the three-member SC bench is considered as deviation from earlier rulings given by bigger benches of the Supreme Court, in terms of changing the water allocations to a state by reviewing water allocations of a tribunal. As per Article 262 of the Indian Constitution, the role of the Supreme Court in an interstate water dispute is limited only to the interpretation and implementation of the tribunal order and to examine whether tribunal exceeded its limit by violating the constitution and the Interstate River Water Disputes Act.
However, the Supreme Court pulled out to establish the Cauvery Management Board as the Union Government failed to submit the documents within the deadline. It instructed the Union Government to formulate and draft the Cauvery Management scheme by 3 May. The Supreme Court also directed the authorities of both Tamil Nadu and Karnataka to maintain calm and peace till the changes were implemented .
With the Union government ignoring the Supreme court verdict to prepare a plan for Cauvery water management board within the time limit and the reason mentioned for that in the court is the law and order situation in Karnataka, tensions mounted among the people in Tamil Nadu. [citation?]
On 18 May, the Supreme Court ordered that a marginal increase of 14.75 TMC of water is to be supplied to Karnataka while Tamil Nadu would receive 177 TMC of water, in total.
Reactions
The farmers in Tamil Nadu state have found themselves buried in the banks of the Kaveri river as they were not able to receive sufficient water which is necessary for farming. The farmers also demanded to establish the Cauvery Management Board to solve the water crisis.
On 7 April, the DMK chief M.K Stalin led the protests from Trichi to recover the Cauvery water sharing rights from Karnataka. On 11 April, the PMK followed and proceeded a rail strike and harthal from morning to evening.
The home matches of the Chennai Super Kings in the 2018 IPL season are under threat following the Cauvery river dispute and about 4000 security personnel were deployed in wake of the homecoming match for CSK against the Kolkata Knight Riders on 10 April 2018 at the M. A. Chidambaram Stadium. Amidst the IPL boycott threat over the Cauvery water controversy, the fans came in huge crowd to welcome and support the Chennai Super Kings team in the home soil during the clash against KKR. During the 8th over of the contest between CSK and KKR, few spectators who were inside the Chepauk Stadium threw shoes near the boundary line which fell close to Ravindra Jadeja who was fielding near the boundary rope.
Madras high court issued a notice to BCCI after a PIL was filed seeking stay on IPL. The IPL chief, Rajiv Shukla earlier announced that the IPL matches would proceed in Chennai as usual and ordered the security officials to provide extra security for the upcoming IPL matches which are to be held in Chennai.
However, later BCCI announced that the all 6 home matches of Chennai Super Kings are to be shifted out from hosting them in Chennai as the cops, security personnel couldn't able to control the protesters. The protesters were protesting against hosting the IPL matches outside the M.A Chidambaram Stadium and shown their undesire by burning the jerseys of CSK franchise. It was earlier rumoured that Dhoni's home city, Ranchi could be the neutral venue for the home matches of the Chennai Super Kings team. The home matches of the team were also assumed by the reports to be hosted in the state of Kerala. The Board of Control for Cricket in India later revealed that Pune would be the new temporary home ground for CSK.
On 8 April, the Tamil Film Fraternity organized a silent protest at Valluvar Kottam in Chennai. Veteran actors, including Sathyaraj, Rajinikanth, Kamal Haasan, Vijay, Dhanush, and Vishal joined the protest, demanding the Central Government to resolve the dispute. Rajinikanth, Kamal Haasan and Sathyaraj also requested the CSK cricket team players to wear black badges and black bands to show the support for the protests against Karnataka on the Kaveri water share issue. Tamil actor Silambarasan, who stayed away from the protest, clarified his stance in a press meet. He mentioned that he believes that the people of Karnataka have no issues in sharing Cauvery water with Tamil Nadu. He condemned the politicising efforts of the media and various political parties. He further requested the people of Karnataka to share a glass of water to their Tamil friends and post videos of the same on social networks, as a symbol of their truce with the people of Tamil Nadu. While this provoked criticism and ridicule in Tamil Nadu, it was well-received in Karnataka. And as requested by Simbu, on 11 April, between 3pm and 6pm, a large number of Kannada people in and around Bengaluru started posting photos of them physically handing over bottles of water to their Tamil friends. Actor Anant Nag appreciated Silambarasan for being more matured than Kamal Haasan and Rajinikanth in this issue and criticised both the veteran Tamil actors Rajnikanth and Kamal Haasan stating that the actors are trying to politicising the Kaveri water share between the two states. Despite some controversies, Simbu's initiative has managed to bring about a significant change in the mindset of people of both states.
RJ Balaji, a RJ turned actor who regularly works as a commentator for the Star Sports Tamil, a leading sports channel in India which has got the rights from hosting the 2018 IPL matches refrained himself from doing commentary just prior to the start of the match between Kolkata Knight Riders and Chennai Super Kings as the protests broke out against hosting the Indian Premier League matches in the Tamil Nadu capital on the cause of Cauvery issue. RJ Balaji also hinted that he would not work as a commentator for the upcoming matches involving Chennai Super Kings. He also later slammed the people of Tamil Nadu for the shift of the IPL league matches from Chennai to a different neutral venue and also argued that it is not correct to stop the professionals from doing their jobs in a peaceful way after he was forced to quit commentary on IPL matches.
The Indian Prime minister Narendra Modi was also scheduled to visit Tamil Nadu on 12 April to inaugurate the Def-Expo, infrastructure projects and the Dravida Munnetra Kazhagam chief, M. K. Stalin stated that the opposition party would waive black flags during Modi's visit to the ravaged state. The opposition party DMK has also asked the people to hoist black flags in the wake of the Prime Minister's visit in order to oppose his visit.
Downfall in Tamil film industry
The Kollywood had earlier planned not to release local Tamil language films in Tamil Nadu as of 1 March 2018 due to the conflicts between Nadigar Sangam and Digital Service Providers on the increase of VPF charges which has tremendously affected the South Indian film industry. It is expected that the film industry has been kept losing 2–3 crores daily due to the standoff between Tamil Film Producers Council and cinema theatres in Tamil Nadu.
In addition to the continuous Tamil film industry strike over the VPF charges which was started around March, in April the industry has also called the boycott over the IPL matches in Chennai and also continued their motive by not to release Tamil films over the Cauvery water row. The Kollywood proceeded their hunger strike until the establishment of the Cauvery Management Board to solve the water crisis. The film industry had also stopped shooting for their upcoming important movies including Sarkar, Viswasam and NGK until 19 April. Rajinikanth's upcoming mass budgeted films such as Kaala and 2.0 have also postponed to be released after the month of April as they were expected to be released in April coinciding the CSK IPL matches. Mercury, a silent thriller film of Prabhu Deva was released in other states of India on 13 April 2018 whereas in Tamil Nadu the film had delay in its release and was finally released on 20 April soon after the Kollywood's decision to end its strike on 19 April. This film was also the first film to have been released in Tamil Nadu around 50 days. Karthik Subbaraj, the director of the film Mercury apologised for not releasing the film in Tamil following the industry's continuous strike since March 2018 which resulted in a huge loss to the film industry within a month.
On 19 April 2018, the film industry finally ended their strike even without the establishing of the Kaveri Management Board and pointed out to release new films in Tamil Nadu despite the continuous protests over the water sharing issue. The social media and CSK supporters deeply criticised the Tamil film industry for allowing new Tamil film releases in the state even without the construction of the Cauvery Management Board but to boycott the IPL matches involving Chennai Super Kings in Chennai.
Ban on Kaala release in Karnataka
The Karnataka Film Chamber and Commerce stated that the Kaala film which is scheduled to be released on 7 June would be banned from its theatrical release in Karnataka citing the Rajinikanth's influence over the Kaveri water share dispute where he went onto criticise the Karnataka state and the government for not issuing the sufficient amount of water to Tamil Nadu. Actor Vishal stated that necessary actions would be proceeded with immediate effect to lift the ban on Kaala's theatrical release in Karnataka.
Karnataka election polls 2018
The 2018 Karnataka Legislative Assembly election which was held on 12 May 2018 sparked criticisms from Tamil Nadu over the Karnataka's government for not addressing the issue properly and for its delay in setting up a Kaveri Management Board. The Supreme Court also issued a strict notice to the Karnataka state government for using the Karnataka Legislative state election as an excuse to resolve the Kaveri riverwater crisis with Tamil Nadu cannot be acceptable.
See also
2017 pro-jallikattu protests
Chennai Super Kings–Royal Challengers Bangalore rivalry
Thoothukudi massacre
References
2018 in Indian politics
2018 in Tamil Nadu
Tamil Nadu protests for Kaveri water sharing
April 2018 events in India
Protests in India
|
```xml
<!--
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~
~ path_to_url
~
~ Unless required by applicable law or agreed to in writing, software
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-->
<properties>
<entry key="CoordinatorEnvironmentBean.commitOnePhase">YES</entry>
<entry key="ObjectStoreEnvironmentBean.transactionSync">ON</entry>
<entry key="CoreEnvironmentBean.nodeIdentifier">1</entry>
<entry key="JTAEnvironmentBean.xaRecoveryNodes">1</entry>
<entry key="JTAEnvironmentBean.xaResourceOrphanFilterClassNames">
com.arjuna.ats.internal.jta.recovery.arjunacore.JTATransactionLogXAResourceOrphanFilter
com.arjuna.ats.internal.jta.recovery.arjunacore.JTANodeNameXAResourceOrphanFilter
com.arjuna.ats.internal.jta.recovery.arjunacore.JTAActionStatusServiceXAResourceOrphanFilter
</entry>
<entry key="CoreEnvironmentBean.socketProcessIdPort">0</entry>
<entry key="RecoveryEnvironmentBean.recoveryModuleClassNames">
com.arjuna.ats.internal.arjuna.recovery.AtomicActionRecoveryModule
com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule
</entry>
<entry key="RecoveryEnvironmentBean.expiryScannerClassNames">
com.arjuna.ats.internal.arjuna.recovery.ExpiredTransactionStatusManagerScanner
</entry>
<entry key="RecoveryEnvironmentBean.recoveryPort">4712</entry>
<entry key="RecoveryEnvironmentBean.recoveryAddress" />
<entry key="RecoveryEnvironmentBean.transactionStatusManagerPort">0</entry>
<entry key="RecoveryEnvironmentBean.transactionStatusManagerAddress" />
<entry key="RecoveryEnvironmentBean.recoveryListener">NO</entry>
<entry key="RecoveryEnvironmentBean.recoveryBackoffPeriod">1</entry>
</properties>
```
|
```java
package com.yahoo.vespa.security.tool.crypto;
import io.airlift.compress.zstd.ZstdInputStream;
import com.yahoo.compress.ZstdOutputStream;
import com.yahoo.security.AeadCipher;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
/**
* @author vekterli
*/
public class CipherUtils {
/**
* Streams the contents of an input stream into an output stream after being wrapped by the input cipher.
* Depending on the Cipher mode, this either encrypts a plaintext stream into ciphertext,
* or decrypts a ciphertext stream into plaintext.
*
* @param input source stream to read from
* @param output destination stream to write to
* @param cipher an {@link AeadCipher} created for either encryption or decryption
* @throws IOException if any file operation fails
*/
public static void streamEncipher(InputStream input, OutputStream output, AeadCipher cipher) throws IOException {
try (var cipherStream = cipher.wrapOutputStream(output)) {
input.transferTo(cipherStream);
cipherStream.flush();
}
}
private static OutputStream maybeWrapCompress(OutputStream out, boolean compressZstd) throws IOException {
return compressZstd ? new ZstdOutputStream(out) : out;
}
public static void streamEncrypt(InputStream input, OutputStream output, AeadCipher cipher, boolean compressZstd) throws IOException {
try (var out = maybeWrapCompress(cipher.wrapOutputStream(output), compressZstd)) {
input.transferTo(out);
out.flush();
}
}
private static InputStream maybeWrapDecompress(InputStream in, boolean decompressZstd) throws IOException {
return decompressZstd ? new ZstdInputStream(in) : in;
}
public static void streamDecrypt(InputStream input, OutputStream output, AeadCipher cipher, boolean decompressZstd) throws IOException {
try (var in = maybeWrapDecompress(cipher.wrapInputStream(input), decompressZstd)) {
in.transferTo(output);
output.flush();
}
}
}
```
|
```groff
locale_charset.c:
../../lib/localcharset.c:
locale name locale charmap nl_langinfo(CODESET) locale_charset()
Ar_AA IBM-1046 IBM-1046 CP1046
Ar_AA.IBM-1046 IBM-1046 IBM-1046 CP1046
C ISO8859-1 ISO8859-1 ISO-8859-1
Ca_ES IBM-850 IBM-850 CP850
Ca_ES.IBM-850 IBM-850 IBM-850 CP850
Da_DK IBM-850 IBM-850 CP850
Da_DK.IBM-850 IBM-850 IBM-850 CP850
De_CH IBM-850 IBM-850 CP850
De_CH.IBM-850 IBM-850 IBM-850 CP850
De_DE IBM-850 IBM-850 CP850
De_DE.IBM-850 IBM-850 IBM-850 CP850
En_GB IBM-850 IBM-850 CP850
En_GB.IBM-850 IBM-850 IBM-850 CP850
En_US IBM-850 IBM-850 CP850
En_US.IBM-850 IBM-850 IBM-850 CP850
Es_ES IBM-850 IBM-850 CP850
Es_ES.IBM-850 IBM-850 IBM-850 CP850
Fi_FI IBM-850 IBM-850 CP850
Fi_FI.IBM-850 IBM-850 IBM-850 CP850
Fr_BE IBM-850 IBM-850 CP850
Fr_BE.IBM-850 IBM-850 IBM-850 CP850
Fr_CA IBM-850 IBM-850 CP850
Fr_CA.IBM-850 IBM-850 IBM-850 CP850
Fr_CH IBM-850 IBM-850 CP850
Fr_CH.IBM-850 IBM-850 IBM-850 CP850
Fr_FR IBM-850 IBM-850 CP850
Fr_FR.IBM-850 IBM-850 IBM-850 CP850
Is_IS IBM-850 IBM-850 CP850
Is_IS.IBM-850 IBM-850 IBM-850 CP850
It_IT IBM-850 IBM-850 CP850
It_IT.IBM-850 IBM-850 IBM-850 CP850
Iw_IL IBM-856 IBM-856 CP856
Iw_IL.IBM-856 IBM-856 IBM-856 CP856
Ja_JP IBM-932 IBM-932 CP932
Ja_JP.IBM-932 IBM-932 IBM-932 CP932
Nl_BE IBM-850 IBM-850 CP850
Nl_BE.IBM-850 IBM-850 IBM-850 CP850
Nl_NL IBM-850 IBM-850 CP850
Nl_NL.IBM-850 IBM-850 IBM-850 CP850
No_NO IBM-850 IBM-850 CP850
No_NO.IBM-850 IBM-850 IBM-850 CP850
POSIX ISO8859-1 ISO8859-1 ISO-8859-1
Pt_PT IBM-850 IBM-850 CP850
Pt_PT.IBM-850 IBM-850 IBM-850 CP850
Sv_SE IBM-850 IBM-850 CP850
Sv_SE.IBM-850 IBM-850 IBM-850 CP850
ZH_CN UTF-8 UTF-8 UTF-8
ZH_CN.UTF-8 UTF-8 UTF-8 UTF-8
ar_AA ISO8859-6 ISO8859-6 ISO-8859-6
ar_AA.ISO8859-6 ISO8859-6 ISO8859-6 ISO-8859-6
bg_BG ISO8859-5 ISO8859-5 ISO-8859-5
bg_BG.ISO8859-5 ISO8859-5 ISO8859-5 ISO-8859-5
cs_CZ ISO8859-2 ISO8859-2 ISO-8859-2
cs_CZ.ISO8859-2 ISO8859-2 ISO8859-2 ISO-8859-2
fr_FR ISO8859-1 ISO8859-1 ISO-8859-1
fr_FR.ISO8859-1 ISO8859-1 ISO8859-1 ISO-8859-1
hr_HR ISO8859-2 ISO8859-2 ISO-8859-2
hr_HR.ISO8859-2 ISO8859-2 ISO8859-2 ISO-8859-2
hu_HU ISO8859-2 ISO8859-2 ISO-8859-2
hu_HU.ISO8859-2 ISO8859-2 ISO8859-2 ISO-8859-2
iw_IL ISO8859-8 ISO8859-8 ISO-8859-8
iw_IL.ISO8859-8 ISO8859-8 ISO8859-8 ISO-8859-8
ja_JP.IBM-eucJP IBM-eucJP IBM-eucJP EUC-JP
ko_KR.IBM-eucKR IBM-eucKR IBM-eucKR EUC-KR
mk_MK ISO8859-5 ISO8859-5 ISO-8859-5
mk_MK.ISO8859-5 ISO8859-5 ISO8859-5 ISO-8859-5
pl_PL ISO8859-2 ISO8859-2 ISO-8859-2
pl_PL.ISO8859-2 ISO8859-2 ISO8859-2 ISO-8859-2
ro_RO ISO8859-2 ISO8859-2 ISO-8859-2
ro_RO.ISO8859-2 ISO8859-2 ISO8859-2 ISO-8859-2
ru_RU ISO8859-5 ISO8859-5 ISO-8859-5
ru_RU.ISO8859-5 ISO8859-5 ISO8859-5 ISO-8859-5
sh_SP ISO8859-2 ISO8859-2 ISO-8859-2
sh_SP.ISO8859-2 ISO8859-2 ISO8859-2 ISO-8859-2
sk_SK ISO8859-2 ISO8859-2 ISO-8859-2
sk_SK.ISO8859-2 ISO8859-2 ISO8859-2 ISO-8859-2
sl_SI ISO8859-2 ISO8859-2 ISO-8859-2
sl_SI.ISO8859-2 ISO8859-2 ISO8859-2 ISO-8859-2
sr_SP ISO8859-5 ISO8859-5 ISO-8859-5
sr_SP.ISO8859-5 ISO8859-5 ISO8859-5 ISO-8859-5
zh_CN.IBM-eucCN IBM-eucCN IBM-eucCN EUC-CN
zh_TW.IBM-eucTW IBM-eucTW IBM-eucTW EUC-TW
```
|
```ruby
# frozen_string_literal: true
require "spec_helper"
describe Decidim::OpenDataExporter do
subject { described_class.new(organization, path) }
let(:organization) { create(:organization) }
let(:path) { "/tmp/test-open-data.zip" }
describe "export" do
it "generates a zip file at the path" do
subject.export
expect(File.exist?(path)).to be(true)
end
describe "contents" do
let(:zip_contents) { Zip::File.open(path) }
let(:csv_file) { zip_contents.glob(csv_file_name).first }
let(:csv_data) { csv_file.get_input_stream.read }
describe "proposals" do
let(:csv_file_name) { "*open-data-proposals.csv" }
let(:component) do
create(:proposal_component, organization:, published_at: Time.current)
end
let!(:proposal) { create(:proposal, :published, component:, title: { en: "My super proposal" }) }
before do
subject.export
end
it "includes a CSV with proposals" do
expect(csv_file).not_to be_nil
end
it "includes the proposals data" do
expect(csv_data).to include(translated(proposal.title))
end
context "with unpublished components" do
let(:component) do
create(:proposal_component, organization:, published_at: nil)
end
it "includes the proposals data" do
expect(csv_data).not_to include(translated(proposal.title))
end
end
end
describe "results" do
let(:csv_file_name) { "*open-data-results.csv" }
let(:component) do
create(:accountability_component, organization:, published_at: Time.current)
end
let!(:result) { create(:result, component:) }
before do
subject.export
end
it "includes a CSV with results" do
expect(csv_file).not_to be_nil
end
it "includes the results data" do
expect(csv_data).to include(translated(result.title).gsub("\"", "\"\""))
end
context "with unpublished components" do
let(:component) do
create(:accountability_component, organization:, published_at: nil)
end
it "includes the results data" do
expect(csv_data).not_to include(translated(result.title).gsub("\"", "\"\""))
end
end
end
describe "meetings" do
let(:csv_file_name) { "*open-data-meetings.csv" }
let(:component) do
create(:meeting_component, organization:, published_at: Time.current)
end
let!(:meeting) { create(:meeting, :published, component:) }
before do
subject.export
end
it "includes a CSV with meetings" do
expect(csv_file).not_to be_nil
end
it "includes the meetings data" do
expect(csv_data).to include(meeting.title["en"].gsub(/"/, '""'))
end
context "with unpublished components" do
let(:component) do
create(:meeting_component, organization:, published_at: nil)
end
it "includes the meetings data" do
expect(csv_data).not_to include(meeting.title["en"])
end
end
end
end
end
end
```
|
```php
<?php
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
*/
namespace Google\Service\SecurityCommandCenter;
class SimulateSecurityHealthAnalyticsCustomModuleRequest extends \Google\Model
{
protected $customConfigType = GoogleCloudSecuritycenterV1CustomConfig::class;
protected $customConfigDataType = '';
protected $resourceType = SimulatedResource::class;
protected $resourceDataType = '';
/**
* @param GoogleCloudSecuritycenterV1CustomConfig
*/
public function setCustomConfig(GoogleCloudSecuritycenterV1CustomConfig $customConfig)
{
$this->customConfig = $customConfig;
}
/**
* @return GoogleCloudSecuritycenterV1CustomConfig
*/
public function getCustomConfig()
{
return $this->customConfig;
}
/**
* @param SimulatedResource
*/
public function setResource(SimulatedResource $resource)
{
$this->resource = $resource;
}
/**
* @return SimulatedResource
*/
public function getResource()
{
return $this->resource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SimulateSecurityHealthAnalyticsCustomModuleRequest::class, your_sha256_hashticsCustomModuleRequest');
```
|
The 21st Armoured Brigade "Pindus Cavalry" () is a tank formation of the Hellenic Army, based in Komotini, Western Thrace.
History
The 21st Armoured Brigade was planned in 1968, but delays in acquiring the necessary equipment meant that it began forming at Litochoro on 1 December 1970, and was moved to the Komotini-Alexandroupoli area in September 1971. Upon the completion of its formation in 1971, the Brigade comprised the 211th and 212th Medium Tank Battalions (211 & 212 ΕΜΑ), the 21st Reconnaissance Company (21 ΙΛΑΝ), and various support companies.
From 1977 on, all its sub-units have been concentrated at Komotini. On 1 December 2000, it received the honorific title "Pindus Cavalry Brigade".
Structure
21st Armoured Brigade "Pindus Cavalry"
HQ Company (ΙΣΤ)
211th Medium Tank Battalion (211 ΕΜΑ)
212th Medium Tank Battalion (212 ΕΜΑ)
646 Mechanized Infantry Battalion (646 M/K ΤΠ)
140 Self Propelled Artillery Battalion (140 Α/K ΜΠΒ)
21st Engineer Company (21 ΛΜΧ)
21st Signal Company (21 ΛΔΒ)
21st Support Battalion (21 ΕΥΠ)
References
Armoured brigades of Greece
Komotini
1970 establishments in Greece
Military units and formations established in 1970
|
```objective-c
/*
*
*/
#if defined(CONFIG_SOC_COMPATIBLE_NRF5340_CPUNET) || defined(DPPI_PRESENT)
/*******************************************************************************
* Enable Radio on Event Timer tick:
* wire the EVENT_TIMER EVENTS_COMPARE[0] event to RADIO TASKS_TXEN/RXEN task.
*/
#define HAL_RADIO_ENABLE_TX_ON_TICK_PPI 6
#define HAL_RADIO_ENABLE_RX_ON_TICK_PPI 6
/*******************************************************************************
* Capture event timer on Address reception:
* wire the RADIO EVENTS_ADDRESS event to the
* EVENT_TIMER TASKS_CAPTURE[<address timer>] task.
*/
#define HAL_RADIO_RECV_TIMEOUT_CANCEL_PPI 9
/*******************************************************************************
* Disable Radio on HCTO:
* wire the EVENT_TIMER EVENTS_COMPARE[<HCTO timer>] event
* to the RADIO TASKS_DISABLE task.
*/
#define HAL_RADIO_DISABLE_ON_HCTO_PPI 10
/*******************************************************************************
* Capture event timer on Radio end:
* wire the RADIO EVENTS_END event to the
* EVENT_TIMER TASKS_CAPTURE[<radio end timer>] task.
*/
#define HAL_RADIO_END_TIME_CAPTURE_PPI 11
/*******************************************************************************
* Start event timer on RTC tick:
* wire the RTC0 EVENTS_COMPARE[2] event to EVENT_TIMER TASKS_START task.
*/
#define HAL_EVENT_TIMER_START_PPI 7
/*******************************************************************************
* Capture event timer on Radio ready:
* wire the RADIO EVENTS_READY event to the
* EVENT_TIMER TASKS_CAPTURE[<radio ready timer>] task.
*/
#define HAL_RADIO_READY_TIME_CAPTURE_PPI 8
/*******************************************************************************
* Trigger encryption task upon address reception:
* wire the RADIO EVENTS_ADDRESS event to the CCM TASKS_CRYPT task.
*
* Note: we do not need an additional PPI, since we have already set up
* a PPI to publish RADIO ADDRESS event.
*/
#define HAL_TRIGGER_CRYPT_PPI HAL_RADIO_RECV_TIMEOUT_CANCEL_PPI
/*******************************************************************************
* Trigger automatic address resolution on Bit counter match:
* wire the RADIO EVENTS_BCMATCH event to the AAR TASKS_START task.
*/
#define HAL_TRIGGER_AAR_PPI 12
#if defined(CONFIG_BT_CTLR_PHY_CODED) && \
defined(CONFIG_HAS_HW_NRF_RADIO_BLE_CODED)
/*******************************************************************************
* Trigger Radio Rate override upon Rateboost event.
*/
#define HAL_TRIGGER_RATEOVERRIDE_PPI 13
#endif /* CONFIG_BT_CTLR_PHY_CODED && CONFIG_HAS_HW_NRF_RADIO_BLE_CODED */
#if defined(HAL_RADIO_GPIO_HAVE_PA_PIN) || defined(HAL_RADIO_GPIO_HAVE_LNA_PIN)
/******************************************************************************/
#define HAL_ENABLE_PALNA_PPI 5
#if defined(HAL_RADIO_FEM_IS_NRF21540)
#define HAL_DISABLE_PALNA_PPI 4
#else
#define HAL_DISABLE_PALNA_PPI HAL_ENABLE_PALNA_PPI
#endif
#define HAL_ENABLE_FEM_PPI 3
#define HAL_DISABLE_FEM_PPI HAL_DISABLE_PALNA_PPI
#endif /* HAL_RADIO_GPIO_HAVE_PA_PIN || HAL_RADIO_GPIO_HAVE_LNA_PIN */
/******************************************************************************/
#if !defined(CONFIG_BT_CTLR_TIFS_HW)
/* DPPI setup used for SW-based auto-switching during TIFS. */
/* Clear SW-switch timer on packet end:
* wire the RADIO EVENTS_END event to SW_SWITCH_TIMER TASKS_CLEAR task.
*
* Note: In case of HW TIFS support or single timer configuration we do not need
* an additional PPI, since we have already set up a PPI to publish RADIO END
* event. In other case separate PPI is used because packet end is marked by
* PHYEND event while last bit or CRC is marked by END event.
*/
#if !defined(CONFIG_BT_CTLR_SW_SWITCH_SINGLE_TIMER)
#define HAL_SW_SWITCH_TIMER_CLEAR_PPI 24
#else
#define HAL_SW_SWITCH_TIMER_CLEAR_PPI HAL_RADIO_END_TIME_CAPTURE_PPI
#endif /* !CONFIG_BT_CTLR_SW_SWITCH_SINGLE_TIMER */
/* Wire a SW SWITCH TIMER EVENTS_COMPARE[<cc_offset>] event
* to a PPI GROUP TASK DISABLE task (PPI group with index <index>).
* 2 adjacent PPIs (14 & 15) and 2 adjacent PPI groups are used for this wiring;
* <index> must be 0 or 1. <offset> must be a valid TIMER CC register offset.
*/
#define HAL_SW_SWITCH_GROUP_TASK_DISABLE_PPI_BASE 14
/* Enable the SW Switch PPI Group on RADIO END Event.
*
* Note: we do not need an additional PPI, since we have already set up
* a PPI to publish RADIO END event.
*/
#define HAL_SW_SWITCH_GROUP_TASK_ENABLE_PPI HAL_SW_SWITCH_TIMER_CLEAR_PPI
/* Enable Radio on SW Switch timer event.
* Wire a SW SWITCH TIMER EVENTS_COMPARE[<cc_offset>] event
* to a RADIO Enable task (TX or RX).
*
* Note:
* We use the same PPI as for disabling the SW Switch PPI groups,
* since we need to listen for the same event (SW Switch event).
*
* We use the same PPI for the alternative SW Switch Timer compare
* event.
*/
#define HAL_SW_SWITCH_RADIO_ENABLE_PPI_BASE 14
#if defined(CONFIG_BT_CTLR_PHY_CODED) && \
defined(CONFIG_HAS_HW_NRF_RADIO_BLE_CODED)
#define HAL_SW_SWITCH_RADIO_ENABLE_S2_PPI_BASE \
HAL_SW_SWITCH_RADIO_ENABLE_PPI_BASE
/* Cancel the SW switch timer running considering S8 timing:
* wire the RADIO EVENTS_RATEBOOST event to SW_SWITCH_TIMER TASKS_CAPTURE task.
*
* Note: We already have a PPI where we publish the RATEBOOST event.
*/
#define HAL_SW_SWITCH_TIMER_S8_DISABLE_PPI HAL_TRIGGER_RATEOVERRIDE_PPI
#endif /* CONFIG_BT_CTLR_PHY_CODED && CONFIG_HAS_HW_NRF_RADIO_BLE_CODED */
#if defined(CONFIG_BT_CTLR_DF_PHYEND_OFFSET_COMPENSATION_ENABLE)
/* Cancel the SW switch timer running considering PHYEND delay compensation timing:
* wire the RADIO EVENTS_CTEPRESENT event to SW_SWITCH_TIMER TASKS_CAPTURE task.
*/
#define HAL_SW_SWITCH_TIMER_PHYEND_DELAY_COMPENSATION_DISABLE_PPI 16
#endif /* CONFIG_BT_CTLR_DF_PHYEND_OFFSET_COMPENSATION_ENABLE */
#if defined(CONFIG_BT_CTLR_DF_CONN_CTE_RX)
/* Trigger encryption task upon bit counter match event fire:
* wire the RADIO EVENTS_BCMATCH event to the CCM TASKS_CRYPT task.
*
* Note: The PPI number is shared with HAL_TRIGGER_RATEOVERRIDE_PPI because it is used only
* when direction finding RX and PHY is set to PHY1M. Due to that it can be shared with Radio Rate
* override.
*/
#define HAL_TRIGGER_CRYPT_DELAY_PPI 13
#endif /* CONFIG_BT_CTLR_DF_CONN_CTE_RX */
/* The 2 adjacent PPI groups used for implementing SW_SWITCH_TIMER-based
* auto-switch for TIFS. 'index' must be 0 or 1.
*/
#define SW_SWITCH_TIMER_TASK_GROUP_BASE 0
#endif /* !CONFIG_BT_CTLR_TIFS_HW */
#endif /* CONFIG_SOC_COMPATIBLE_NRF5340_CPUNET || DPPI_PRESENT */
```
|
Xu Yue may refer to:
Xu Yue (mathematician)
Xu Yue (footballer)
|
```go
//
// path_to_url
//
// Unless required by applicable law or agreed to in writing, software
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
package writev2
import "github.com/prometheus/prometheus/model/labels"
// SymbolsTable implements table for easy symbol use.
type SymbolsTable struct {
strings []string
symbolsMap map[string]uint32
}
// NewSymbolTable returns a symbol table.
func NewSymbolTable() SymbolsTable {
return SymbolsTable{
// Empty string is required as a first element.
symbolsMap: map[string]uint32{"": 0},
strings: []string{""},
}
}
// Symbolize adds (if not added before) a string to the symbols table,
// while returning its reference number.
func (t *SymbolsTable) Symbolize(str string) uint32 {
if ref, ok := t.symbolsMap[str]; ok {
return ref
}
ref := uint32(len(t.strings))
t.strings = append(t.strings, str)
t.symbolsMap[str] = ref
return ref
}
// SymbolizeLabels symbolize Prometheus labels.
func (t *SymbolsTable) SymbolizeLabels(lbls labels.Labels, buf []uint32) []uint32 {
result := buf[:0]
lbls.Range(func(l labels.Label) {
off := t.Symbolize(l.Name)
result = append(result, off)
off = t.Symbolize(l.Value)
result = append(result, off)
})
return result
}
// Symbols returns computes symbols table to put in e.g. Request.Symbols.
// As per spec, order does not matter.
func (t *SymbolsTable) Symbols() []string {
return t.strings
}
// Reset clears symbols table.
func (t *SymbolsTable) Reset() {
// NOTE: Make sure to keep empty symbol.
t.strings = t.strings[:1]
for k := range t.symbolsMap {
if k == "" {
continue
}
delete(t.symbolsMap, k)
}
}
// desymbolizeLabels decodes label references, with given symbols to labels.
func desymbolizeLabels(b *labels.ScratchBuilder, labelRefs []uint32, symbols []string) labels.Labels {
b.Reset()
for i := 0; i < len(labelRefs); i += 2 {
b.Add(symbols[labelRefs[i]], symbols[labelRefs[i+1]])
}
b.Sort()
return b.Labels()
}
```
|
The Outing is a 1987 American supernatural slasher film directed by Tom Daley, and starring Deborah Winters, James Huston, Andra St. Ivanyi, Scott Bankston, and Red Mitchell. It follows a group of teenagers spending the night in a natural history museum who are stalked by the spirit of a malevolent jinn released from an ancient lamp.
The film was originally released in the United Kingdom as The Lamp on April 28, 1987, though it was released as The Outing for in the United States on September 11 of the same year with about 2 minutes of cuts, along with a different opening score.
The film was shot on location in Houston and Galveston, Texas, as well as Los Angeles.
Plot
In 1893, a young Arab girl arrives in Galveston, Texas as a stowaway on a ship with her mother. Her mother dons a magical bracelet, and lies helplessly on the boat as a malevolent jinn murders everyone on board. The girl manages to flee the scene, taking with her a brass lamp and the bracelet.
Many years later, three criminals—two men and a woman—burglarize a mansion owned by the now-elderly woman. When confronted by the criminals, the woman attempts to fight them, but one of the men, Harley, kills her with a hatchet. Harley finds the brass lamp in a lock box. Unbeknownst to him, the genie is released from inside and possesses the old woman's corpse, violently murdering the three burglars.
After surveying the crime scene, an officer sends the evidence, including the lamp and bracelet, for display at the Houston Museum of Natural Science. From inside the lamp, the genie observes the museum's curator, Dr. Bressling, cataloguing the newly arrived artifacts. Dr. Bressling later determines the brass lamp dates back to 3500 BC. The museum archaeologist, Dr. Wallace, is visited by his teenage daughter, Alex, who surreptitiously tries on the bracelet. She and her father subsequently get into an argument about his demanding work schedule, during which Alex tells him she wishes he would die. Afterward, Alex finds herself unable to remove the bracelet from her wrist, and notices a red jewel on the lamp glowing in conjunction with the bracelet.
The next day, Alex and her classmates take a field trip to the museum. There, Dr. Wallace greets Alex's teacher, Eve, whom he is dating. Alex secretly enters her father's office to further inspect the lamp, during which the jinn possesses her. After, Alex convinces her boyfriend Ted and her friends — couples Babs and Ross, and Gwen and Terry — to go on an "outing" to secretly spend the night at the museum. Alex's abusive ex-boyfriend, Mike, learns of the outing and plans to sabotage it. Meanwhile, the genie levitates Dr. Bressling's body and decapitates him with a ceiling fan in his office. It also uses a spear to murder an opera-singing security guard who works in the museum.
That night at the museum, Alex distracts the security guard, presumably sending him to his death as she is still possessed at this time, then lets her friends inside the museum. The group enter the museum, where Alex leads them to the basement where they plan to stay the night and elude the building's security guards. After Babs spills beer on her pants, she and Ross go to the specimen room to use the bath. The jinn tears Ross in two, before reviving and unleashing jars of poisonous snakes that bite Babs to death while she bathes. Gwen interrupts her and Terry's lovemaking to ask for a refreshment, which Terry goes in search of. He enters the specimen room to grab a beer and finds the bodies of Babs and Ross. In his horror, he takes no notice of a snake entering his pants. The trouser snake promptly bites him to death, leaving him in a pool of his own vomit.
Meanwhile, Mike and his friend, Tony, who broke into the museum earlier, have been rigging the place to torment the others. Having blocked the door to the room Alex is in and tied the door handle of the specimen room, they go to torment Gwen. Donning masks they find in an artifact storage area, they find Gwen attired in tribal clothing and proceed to harass her. Mike begins to rape Gwen while Tony watches, but the jinn interrupts, killing all three of them. Alex and Ted hear their screams, and rush to the scene. They run in terror from the murder scene and try to escape the museum. The jinn possesses a mummy, which it uses to kill Ted. Meanwhile, while Dr. Wallace and Eve are having a dinner date, they realize that Alex lied about her plans that night, and quickly rush to the museum.
Dr. Wallace and Eve find Alex fleeing through the museum, chased by the jinn, which has revealed its true monstrous form. The jinn tells Alex she is to be the new keeper of the lamp. Pursued by the jinn, the three manage to flee outside, but the jinn kills Dr. Wallace, which neither Alex nor Eve witness. The jinn then animates Dr. Wallace's corpse in an attempt to trick them. Realizing she must destroy the lamp to banish the jinn, Alex throws it into an incinerator inside the museum.
Cast
Release
The film was initially released in theaters in the United Kingdom in 1987 under the title The Lamp and was retitled The Outing for its United States theatrical release a few months later.
Home media
Scream Factory released The Outing on DVD in the US on August 8, 2013, packaged in an All Night Horror Marathon Collection with the films The Vagrant, The Godsend, and What's The Matter With Helen?. On July 14, 2015, Scream Factory released a Blu-ray double feature with The Godsend.
In 2021, Vinegar Syndrome released a limited-edition Blu-ray of the film under its original title The Lamp. This release features a 2K restoration from the film's 35mm interpositive print, with extended scenes, resulting in a 92-minute version of The Lamp not previously released on home video. Extra features include a feature-length audio commentary with the film's cast and crew, the original theatrical trailer, and an extended making-of retrospective documentary. Production of this Blu-ray is limited to 5,000 units.
Reception
The Outing received mostly unfavorable reviews. Richard Harrington of The Washington Post said it was "stupid and senseless, and the special effects look as if they were shot on a family's weekly shopping budget." The Boston Globe called it "a hokey loser". The Los Angeles Times criticized the depiction of evil in the film, saying that it existed merely to terrorize children without motive.
Mark L. Miller of Ain't It Cool News wrote that the film's kills are unimaginative and poorly done. Anthony Arrigo of Dread Central rated it 2/5 stars and called the kills fun but said the film overall is too dull. Writing in Fangoria, Brian Collins rated it 2/4 stars and said that although the film is overlong and boring in parts, it has "some bizarre charm".
In contrast, the Dallas Observer gave the film a more positive review as they felt that "Director Tom Daley's The Lamp is an entertaining slice of '80s cheese that actually delivers once it gets rolling."
References
External links
1987 films
1987 horror films
1980s slasher films
American supernatural horror films
Films set in Houston
Films set in natural history museums
Films shot in Houston
Films shot in Los Angeles
Genies in film
Supernatural slasher films
1980s English-language films
1980s American films
|
"Meet Mister Callaghan" is a 1952 song written by Eric Spear and performed by Les Paul in a hit recording.
Background
It reached number 5 on the U.S. pop chart in 1952. It was featured on Paul's and Mary Ford's 1953 album The Hit Makers! The song was used in the 1954 film Meet Mr. Callaghan.
The single ranked number 25 on Billboard's Year-End top 30 singles of 1952.
Other charting versions
Mitch Miller released a version of the song as a single in 1952 which reached number 23 on the U.S. pop chart.
Carmen Cavallaro and His Orchestra released a version of the song as a single in 1952 which reached number 28 on the U.S. pop chart.
Other versions
Chet Atkins released a version of the song as the B-side to his 1952 single "Chinatown, My Chinatown".
Jan August and Jerry Murad's Harmonicats released a version of the song as a single in 1952, but it did not chart.
Lawrence Welk and His Champagne Music released a version of the song as a single in 1952, but it did not chart.
Guy Lombardo and His Royal Canadians released a version of the song on his 1959 album Instrumentally Yours.
The Three Suns released a version of the song on their 1960 album On a Magic Carpet.
Frankie Carle: His Piano and His Orchestra released a version of the song on their 1964 album 30 Hits of the Fantastic 50's as part of a medley with the songs "The Old Piano Roll Blues" and "Little Rock Getaway".
Eddie Adcock and Talk of the Town released a version of the song on their 1988 album The Acoustic Collection.
The Ventures released a version of the song on their 1990 album The EP Collection.
Cyril Stapleton and His Orchestra released a version of the song on their 2003 album Decca Singles.
Frank Chacksfield released a version of the song on his 2007 album In the Limelight.
References
1952 songs
1952 singles
Les Paul songs
Chet Atkins songs
The Ventures songs
Mercury Records singles
Coral Records singles
Pop instrumentals
1950s instrumentals
|
```c++
/*******************************************************************************
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*******************************************************************************/
#include "dnnl_test_common.hpp"
#include "gtest/gtest.h"
#include "oneapi/dnnl/dnnl.h"
#include <algorithm>
#include <memory>
#include <sstream>
#include <vector>
namespace dnnl {
namespace {
bool is_sycl_engine(dnnl_engine_kind_t eng_kind) {
#if DNNL_CPU_RUNTIME == DNNL_RUNTIME_SYCL
if (eng_kind == dnnl_cpu) return true;
#endif
#if DNNL_GPU_RUNTIME == DNNL_RUNTIME_SYCL
if (eng_kind == dnnl_gpu) return true;
#endif
return false;
}
} // namespace
class memory_map_test_c_t
: public ::testing::TestWithParam<dnnl_engine_kind_t> {
protected:
void SetUp() override {
eng_kind = GetParam();
if (dnnl_engine_get_count(eng_kind) == 0) return;
DNNL_CHECK(dnnl_engine_create(&engine, eng_kind, 0));
DNNL_CHECK(
dnnl_stream_create(&stream, engine, dnnl_stream_default_flags));
}
void TearDown() override {
if (engine) { DNNL_CHECK(dnnl_engine_destroy(engine)); }
if (stream) { DNNL_CHECK(dnnl_stream_destroy(stream)); }
}
dnnl_engine_kind_t eng_kind;
dnnl_engine_t engine = nullptr;
dnnl_stream_t stream = nullptr;
};
class memory_map_test_cpp_t
: public ::testing::TestWithParam<dnnl_engine_kind_t> {};
TEST_P(memory_map_test_c_t, MapNullMemory) {
SKIP_IF(!engine, "Engine kind is not supported.");
SKIP_IF(is_sycl_engine(eng_kind), "Do not test C API with SYCL.");
int ndims = 4;
dnnl_dims_t dims = {2, 3, 4, 5};
dnnl_memory_desc_t mem_d;
dnnl_memory_t mem;
DNNL_CHECK(dnnl_memory_desc_create_with_tag(
&mem_d, ndims, dims, dnnl_f32, dnnl_nchw));
DNNL_CHECK(dnnl_memory_create(&mem, mem_d, engine, nullptr));
DNNL_CHECK(dnnl_memory_desc_destroy(mem_d));
void *mapped_ptr;
DNNL_CHECK(dnnl_memory_map_data(mem, &mapped_ptr));
ASSERT_EQ(mapped_ptr, nullptr);
DNNL_CHECK(dnnl_memory_unmap_data(mem, mapped_ptr));
DNNL_CHECK(dnnl_memory_destroy(mem));
}
HANDLE_EXCEPTIONS_FOR_TEST_P(memory_map_test_c_t, Map) {
SKIP_IF(!engine, "Engine kind is not supported.");
SKIP_IF(is_sycl_engine(eng_kind), "Do not test C API with SYCL.");
const int ndims = 1;
const dnnl_dim_t N = 15;
const dnnl_dims_t dims = {N};
dnnl_memory_desc_t mem_d;
DNNL_CHECK(dnnl_memory_desc_create_with_tag(
&mem_d, ndims, dims, dnnl_f32, dnnl_x));
// Create and fill mem_ref to use as a reference
dnnl_memory_t mem_ref;
DNNL_CHECK(
dnnl_memory_create(&mem_ref, mem_d, engine, DNNL_MEMORY_ALLOCATE));
float buffer_ref[N];
std::iota(buffer_ref, buffer_ref + N, 1);
void *mapped_ptr_ref = nullptr;
DNNL_CHECK(dnnl_memory_map_data(mem_ref, &mapped_ptr_ref));
float *mapped_ptr_ref_f32 = static_cast<float *>(mapped_ptr_ref);
GTEST_EXPECT_NE(mapped_ptr_ref_f32, nullptr);
std::copy(buffer_ref, buffer_ref + N, mapped_ptr_ref_f32);
DNNL_CHECK(dnnl_memory_unmap_data(mem_ref, mapped_ptr_ref));
// Create memory for the tested engine
dnnl_memory_t mem;
DNNL_CHECK(dnnl_memory_create(&mem, mem_d, engine, DNNL_MEMORY_ALLOCATE));
// Reorder mem_ref to memory
dnnl_primitive_desc_t reorder_pd;
DNNL_CHECK(dnnl_reorder_primitive_desc_create(
&reorder_pd, mem_d, engine, mem_d, engine, nullptr));
dnnl_primitive_t reorder;
DNNL_CHECK(dnnl_primitive_create(&reorder, reorder_pd));
dnnl_exec_arg_t reorder_args[2]
= {{DNNL_ARG_SRC, mem_ref}, {DNNL_ARG_DST, mem}};
DNNL_CHECK(dnnl_primitive_execute(reorder, stream, 2, reorder_args));
DNNL_CHECK(dnnl_stream_wait(stream));
// Validate the results
void *mapped_ptr = nullptr;
DNNL_CHECK(dnnl_memory_map_data(mem, &mapped_ptr));
float *mapped_ptr_f32 = static_cast<float *>(mapped_ptr);
GTEST_EXPECT_NE(mapped_ptr_f32, nullptr);
for (size_t i = 0; i < N; i++) {
ASSERT_EQ(mapped_ptr_f32[i], buffer_ref[i]);
}
DNNL_CHECK(dnnl_memory_unmap_data(mem, mapped_ptr));
// Clean up
DNNL_CHECK(dnnl_primitive_destroy(reorder));
DNNL_CHECK(dnnl_primitive_desc_destroy(reorder_pd));
DNNL_CHECK(dnnl_memory_desc_destroy(mem_d));
DNNL_CHECK(dnnl_memory_destroy(mem));
DNNL_CHECK(dnnl_memory_destroy(mem_ref));
}
HANDLE_EXCEPTIONS_FOR_TEST_P(memory_map_test_cpp_t, Map) {
#ifdef DNNL_SYCL_HIP
SKIP_IF(true,
"memory_map_test_cpp_t.Mapgpu is skipped for HIP because of "
"unimplemented Reorder");
#endif
auto engine_kind = static_cast<engine::kind>(GetParam());
SKIP_IF(engine::get_count(engine_kind) == 0,
"Engine kind is not supported");
engine eng(engine_kind, 0);
const dnnl::memory::dim N = 7;
memory::desc mem_d({N}, memory::data_type::f32, memory::format_tag::x);
auto mem_ref = test::make_memory(mem_d, eng);
float buffer_ref[N];
std::iota(buffer_ref, buffer_ref + N, 1);
float *mapped_ptr_ref = mem_ref.map_data<float>();
GTEST_EXPECT_NE(mapped_ptr_ref, nullptr);
std::copy(buffer_ref, buffer_ref + N, mapped_ptr_ref);
mem_ref.unmap_data(mapped_ptr_ref);
auto mem = test::make_memory(mem_d, eng);
reorder::primitive_desc reorder_pd(
eng, mem_d, eng, mem_d, primitive_attr());
reorder reorder_prim(reorder_pd);
stream strm(eng);
reorder_prim.execute(strm, mem_ref, mem);
strm.wait();
float *mapped_ptr = mem.map_data<float>();
GTEST_EXPECT_NE(mapped_ptr, nullptr);
for (size_t i = 0; i < N; i++) {
ASSERT_EQ(mapped_ptr[i], buffer_ref[i]);
}
mem.unmap_data(mapped_ptr);
}
namespace {
struct print_to_string_param_name_t {
template <class ParamType>
std::string operator()(
const ::testing::TestParamInfo<ParamType> &info) const {
return to_string(info.param);
}
};
auto all_engine_kinds = ::testing::Values(dnnl_cpu, dnnl_gpu);
} // namespace
INSTANTIATE_TEST_SUITE_P(AllEngineKinds, memory_map_test_c_t, all_engine_kinds,
print_to_string_param_name_t());
INSTANTIATE_TEST_SUITE_P(AllEngineKinds, memory_map_test_cpp_t,
all_engine_kinds, print_to_string_param_name_t());
} // namespace dnnl
```
|
```makefile
################################################################################
#
# python-hatch-vcs
#
################################################################################
PYTHON_HATCH_VCS_VERSION = 0.3.0
PYTHON_HATCH_VCS_SOURCE = hatch_vcs-$(PYTHON_HATCH_VCS_VERSION).tar.gz
PYTHON_HATCH_VCS_SITE = path_to_url
PYTHON_HATCH_VCS_LICENSE = MIT
PYTHON_HATCH_VCS_LICENSE_FILES = LICENSE.txt
PYTHON_HATCH_VCS_SETUP_TYPE = pep517
HOST_PYTHON_HATCH_VCS_DEPENDENCIES = \
host-python-hatchling \
host-python-setuptools-scm
$(eval $(host-python-package))
```
|
```html
<html><head><meta http-equiv="X-UA-Compatible" content="IE=edge" /><link rel="shortcut icon" href="../icons/favicon.ico" /><link rel="stylesheet" type="text/css" href="../styles/branding.css" /><link rel="stylesheet" type="text/css" href="../styles/branding-en-US.css" /><script type="text/javascript" src="../scripts/branding.js"> </script><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>RoslynEvaluator Properties</title><meta name="Language" content="en-us" /><meta name="System.Keywords" content="RoslynEvaluator class, properties" /><meta name="Microsoft.Help.Id" content="Properties.T:CSScriptLib.RoslynEvaluator" /><meta name="Microsoft.Help.ContentType" content="Reference" /><meta name="BrandingAware" content="true" /><meta name="container" content="CSScriptLib" /><meta name="file" content="62813cb3-4ff1-feab-56f4-8b37b36ec3df" /><meta name="guid" content="62813cb3-4ff1-feab-56f4-8b37b36ec3df" /><link rel="stylesheet" type="text/css" href="../styles/branding-Website.css" /><script type="text/javascript" src="../scripts/jquery-3.3.1.min.js"></script><script type="text/javascript" src="../scripts/branding-Website.js"></script><script type="text/javascript" src="../scripts/clipboard.min.js"></script></head><body onload="OnLoad('cs')"><input type="hidden" id="userDataCache" class="userDataStyle" /><div class="pageHeader" id="PageHeader">A Sandcastle Documented Class Library<form id="SearchForm" method="get" action="#" onsubmit="javascript:TransferToSearchPage(); return false;"><input id="SearchTextBox" type="text" maxlength="200" /><button id="SearchButton" type="submit"></button></form></div><div class="pageBody"><div class="leftNav" id="leftNav"><div id="tocNav"><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="../html/e862697d-3cd2-4fa7-bdbd-3d17ef405b58.htm" title="A Sandcastle Documented Class Library" tocid="roottoc">A Sandcastle Documented Class Library</a></div><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="../html/3bca438b-6a3b-acb6-218a-f07ec3aa462e.htm" title="CSScriptLib" tocid="3bca438b-6a3b-acb6-218a-f07ec3aa462e">CSScriptLib</a></div><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="../html/9674b5d1-3a9a-73ad-7eb0-38ff27b81336.htm" title="RoslynEvaluator Class" tocid="9674b5d1-3a9a-73ad-7eb0-38ff27b81336">RoslynEvaluator Class</a></div><div class="toclevel1 current" data-toclevel="1" data-childrenloaded="true"><a class="tocExpanded" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="../html/62813cb3-4ff1-feab-56f4-8b37b36ec3df.htm" title="RoslynEvaluator Properties" tocid="62813cb3-4ff1-feab-56f4-8b37b36ec3df">RoslynEvaluator Properties</a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/e9934cba-0d21-941b-ae5d-deeb63294f4a.htm" title="CompilerSettings Property " tocid="e9934cba-0d21-941b-ae5d-deeb63294f4a">CompilerSettings Property </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/20c06a92-1d55-9ee0-44b9-fc27ae651f28.htm" title="DebugBuild Property " tocid="20c06a92-1d55-9ee0-44b9-fc27ae651f28">DebugBuild Property </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/3ea68040-34fa-2b39-99c8-0756260830b0.htm" title="DisableReferencingFromCode Property " tocid="3ea68040-34fa-2b39-99c8-0756260830b0">DisableReferencingFromCode Property </a></div></div><div id="tocResizableEW" onmousedown="OnMouseDown(event);"></div><div id="TocResize" class="tocResize"><img id="ResizeImageIncrease" src="../icons/TocOpen.gif" onclick="OnIncreaseToc()" alt="Click or drag to resize" title="Click or drag to resize" /><img id="ResizeImageReset" src="../icons/TocClose.gif" style="display:none" onclick="OnResetToc()" alt="Click or drag to resize" title="Click or drag to resize" /></div></div><div class="topicContent" id="TopicContent"><table class="titleTable"><tr><td class="logoColumn"><img src="../icons/Help.png" /></td><td class="titleColumn"><h1>RoslynEvaluator Properties</h1></td></tr></table><span class="introStyle"></span> <p>The <a href="9674b5d1-3a9a-73ad-7eb0-38ff27b81336.htm">RoslynEvaluator</a> type exposes the following members.</p><div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID0RB')" onkeypress="SectionExpandCollapse_CheckKey('ID0RB', event)" tabindex="0"><img id="ID0RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Properties</span></div><div id="ID0RBSection" class="collapsibleSection"><table class="members" id="propertyList"><tr><th class="iconColumn">
</th><th>Name</th><th>Description</th></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" alt="Public property" title="Public property" /></td><td><a href="e9934cba-0d21-941b-ae5d-deeb63294f4a.htm">CompilerSettings</a></td><td><div class="summary">
Gets or sets the compiler settings.
</div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" alt="Public property" title="Public property" /></td><td><a href="20c06a92-1d55-9ee0-44b9-fc27ae651f28.htm">DebugBuild</a></td><td><div class="summary">
Gets or sets a value indicating whether to compile script with debug symbols.
<p>Note, setting <span class="code">DebugBuild</span> will only affect the current instance of Evaluator.
If you want to emit debug symbols for all instances of Evaluator then use
<a href="33e2b04a-87b0-98e5-bfc2-f85c47029951.htm">EvaluatorConfig</a>.DebugBuild.
</p></div></td></tr><tr data="public;declared;notNetfw;"><td><img src="../icons/pubproperty.gif" alt="Public property" title="Public property" /></td><td><a href="3ea68040-34fa-2b39-99c8-0756260830b0.htm">DisableReferencingFromCode</a></td><td><div class="summary">
Gets or sets the flag indicating if the script code should be analyzed and the assemblies
that the script depend on (via '//css_...' and 'using ...' directives) should be referenced.
</div></td></tr></table><a href="#PageHeader">Top</a></div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID1RB')" onkeypress="SectionExpandCollapse_CheckKey('ID1RB', event)" tabindex="0"><img id="ID1RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID1RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="9674b5d1-3a9a-73ad-7eb0-38ff27b81336.htm">RoslynEvaluator Class</a></div><div class="seeAlsoStyle"><a href="3bca438b-6a3b-acb6-218a-f07ec3aa462e.htm">CSScriptLib Namespace</a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
```
|
Ben Magec - Ecologists in Action is a Non-Governmental Organization from the Canary Islands and part of the federation Ecologists in Action, dedicated to the protection of the environment. It is currently based in La Palma with regular appearances in local, national and international headlines, and whose actions and opinions have a regular effect on environmental policy with the Canary Islands.
History
Ben Magec has its roots in Haria, Lanzarote when in 1989 a group of ecologists from all over the archipelago met together in order to join forces and a create a base for communication and exchange. This first meeting was called the Assembly of the Canarian Ecologist Movement. These meetings became annual, taking place on a rotating policy of each of the Canary Islands and were dedicated to the idea of creating a base for communication and exchange of ideas, looking for solutions to common problems and concrete solutions, whilst still respecting the autonomy of each group within the collective.
In the following years the collective took on several important issues, such as ´Save the Rincon´, a project to try to halt urbanisation and construction on farmland in the area of La Orotava.
Biggest campaigns
The importance of the organisation is said to be quite understated today, especially in consideration of the movement of ecologists and the potential changes to the countryside of the Canary Islands. It is said that there are many areas of the Canarian Archipelago that would have been developed and changed in a very different way to what they have been if it was not for the impact of Ben Magec.
Two examples of this are the rural coasts of Veneguera (Gran Canaria) and El Rincon (Tenerife). These two areas were seen as being under threat during the decade of development during the 1980s. The growth of the ecologist and social sectors lead to the creation of a Popular Legislative Initiative, calling for a halt to the development of tourism on the islands. It received more than the necessary number of signatures, and after going to parliament was respected and seen as the decision of the people. This theme continued into the 21st Century with the campaign relating to the growth of tourism, the campaign was called ´Canarias tiene un límite: Ni una cama más´ ( The canaries have a limit: Not one bed more). This campaign was particularly prominent on the island of Lanzarote.
This citizen initiative demonstrated Ben Magec's ability to prevent the transformation of countryside and areas that would have otherwise been more developed by now than Puerto Rico or Puerto de La Cruz. Although these are two important examples, this defense of the territory has not relented and the last example of such work were the protests against the idea of building a new maritime front in Las Palmas de Gran Canaria in which 60,000 people took part.
In spite of fluctuations, the organisation has grown, and since the year 2000, it has been more than a simple co-ordinator of isolated meetings and campaigns, but a more structured organisation with an important media presence. It has also been developing its own identity within the movement.
In 2003, Ben Magec- Ecologistas en Accion won the Cesar Manrique Prize for its work in defense of the environment.
References
External links
www.benmagec.org
Environmental organisations based in Spain
|
is a Japanese politician of the Liberal Democratic Party, a member of the House of Representatives in the Diet (national legislature). A native of Kamiita, Tokushima and graduate of Tokyo University of Agriculture, he had served in the assembly of Tokushima Prefecture for four terms since 1981. He was elected to the House of Representatives for the first time in 1993. He also served as mayor of Kamiita, Tokushima, from 2013 to 2017.
References
External links
Official website in Japanese.
|-
|-
|-
1951 births
Living people
People from Tokushima Prefecture
Members of the House of Representatives (Japan)
Liberal Democratic Party (Japan) politicians
21st-century Japanese politicians
|
The canton of Marvejols is an administrative division of the Lozère department, southern France. Its borders were modified at the French canton reorganisation which came into effect in March 2015. Its seat is in Marvejols.
Composition
It consists of the following communes:
Antrenas
Lachamp-Ribennes
Marvejols
Recoules-de-Fumas
Saint-Léger-de-Peyre
Councillors
Pictures of the canton
References
Cantons of Lozère
|
Murrill Hill is a summit in St. Francois County in the U.S. state of Missouri. The hill has a peak elevation of . The hill lies within a horseshoe bend in Big River about three quarters of a mile west of Desloge.
Murrill Hill has the name of Tom Murrill, the original owner of the site.
References
Landforms of St. Francois County, Missouri
Hills of Missouri
|
```python
from datetime import datetime
from typing import Optional
from botocore.client import ClientError
from pydantic import BaseModel
from prowler.lib.logger import logger
from prowler.lib.scan_filters.scan_filters import is_resource_filtered
from prowler.providers.aws.lib.service.service import AWSService
################## EC2
class EC2(AWSService):
def __init__(self, provider):
# Call AWSService's __init__
super().__init__(__class__.__name__, provider)
self.account_arn_template = f"arn:{self.audited_partition}:ec2:{self.region}:{self.audited_account}:account"
self.instances = []
self.__threading_call__(self.__describe_instances__)
self.__threading_call__(self.__get_instance_user_data__, self.instances)
self.security_groups = {}
self.regions_with_sgs = []
self.__threading_call__(self.__describe_security_groups__)
self.network_acls = []
self.__threading_call__(self.__describe_network_acls__)
self.snapshots = []
self.volumes_with_snapshots = {}
self.regions_with_snapshots = {}
self.__threading_call__(self.__describe_snapshots__)
self.__threading_call__(self.__determine_public_snapshots__, self.snapshots)
self.network_interfaces = []
self.__threading_call__(self.__describe_network_interfaces__)
self.images = []
self.__threading_call__(self.__describe_images__)
self.volumes = []
self.__threading_call__(self.__describe_volumes__)
self.attributes_for_regions = {}
self.__threading_call__(self.__get_resources_for_regions__)
self.ebs_encryption_by_default = []
self.__threading_call__(self.__get_ebs_encryption_settings__)
self.elastic_ips = []
self.__threading_call__(self.__describe_ec2_addresses__)
self.ebs_block_public_access_snapshots_states = []
self.__threading_call__(self.__get_snapshot_block_public_access_state__)
self.instance_metadata_defaults = []
self.__threading_call__(self.__get_instance_metadata_defaults__)
self.launch_templates = []
self.__threading_call__(self.__describe_launch_templates)
self.__threading_call__(
self.__get_launch_template_versions__, self.launch_templates
)
def __get_volume_arn_template__(self, region):
return (
f"arn:{self.audited_partition}:ec2:{region}:{self.audited_account}:volume"
)
def __describe_instances__(self, regional_client):
try:
describe_instances_paginator = regional_client.get_paginator(
"describe_instances"
)
for page in describe_instances_paginator.paginate():
for reservation in page["Reservations"]:
for instance in reservation["Instances"]:
arn = f"arn:{self.audited_partition}:ec2:{regional_client.region}:{self.audited_account}:instance/{instance['InstanceId']}"
if not self.audit_resources or (
is_resource_filtered(arn, self.audit_resources)
):
self.instances.append(
Instance(
id=instance["InstanceId"],
arn=arn,
state=instance["State"]["Name"],
region=regional_client.region,
type=instance["InstanceType"],
image_id=instance["ImageId"],
launch_time=instance["LaunchTime"],
private_dns=instance["PrivateDnsName"],
private_ip=instance.get("PrivateIpAddress"),
public_dns=instance.get("PublicDnsName"),
public_ip=instance.get("PublicIpAddress"),
http_tokens=instance.get("MetadataOptions", {}).get(
"HttpTokens"
),
http_endpoint=instance.get(
"MetadataOptions", {}
).get("HttpEndpoint"),
instance_profile=instance.get("IamInstanceProfile"),
monitoring_state=instance.get(
"Monitoring", {"State": "disabled"}
).get("State", "disabled"),
security_groups=[
sg["GroupId"]
for sg in instance.get("SecurityGroups", [])
],
subnet_id=instance.get("SubnetId", ""),
tags=instance.get("Tags"),
)
)
except Exception as error:
logger.error(
f"{regional_client.region} -- {error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}"
)
def __describe_security_groups__(self, regional_client):
try:
describe_security_groups_paginator = regional_client.get_paginator(
"describe_security_groups"
)
for page in describe_security_groups_paginator.paginate():
for sg in page["SecurityGroups"]:
arn = f"arn:{self.audited_partition}:ec2:{regional_client.region}:{self.audited_account}:security-group/{sg['GroupId']}"
if not self.audit_resources or (
is_resource_filtered(arn, self.audit_resources)
):
associated_sgs = []
for ingress_rule in sg["IpPermissions"]:
# check associated security groups
for sg_group in ingress_rule.get("UserIdGroupPairs", []):
if sg_group.get("GroupId"):
associated_sgs.append(sg_group["GroupId"])
self.security_groups[arn] = SecurityGroup(
name=sg["GroupName"],
region=regional_client.region,
id=sg["GroupId"],
ingress_rules=sg["IpPermissions"],
egress_rules=sg["IpPermissionsEgress"],
associated_sgs=associated_sgs,
vpc_id=sg["VpcId"],
tags=sg.get("Tags"),
)
if sg["GroupName"] != "default":
self.regions_with_sgs.append(regional_client.region)
except Exception as error:
logger.error(
f"{regional_client.region} -- {error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}"
)
def __describe_network_acls__(self, regional_client):
try:
describe_network_acls_paginator = regional_client.get_paginator(
"describe_network_acls"
)
for page in describe_network_acls_paginator.paginate():
for nacl in page["NetworkAcls"]:
arn = f"arn:{self.audited_partition}:ec2:{regional_client.region}:{self.audited_account}:network-acl/{nacl['NetworkAclId']}"
if not self.audit_resources or (
is_resource_filtered(arn, self.audit_resources)
):
nacl_name = ""
for tag in nacl.get("Tags", []):
if tag["Key"] == "Name":
nacl_name = tag["Value"]
self.network_acls.append(
NetworkACL(
id=nacl["NetworkAclId"],
arn=arn,
name=nacl_name,
region=regional_client.region,
entries=nacl["Entries"],
tags=nacl.get("Tags"),
)
)
except Exception as error:
logger.error(
f"{regional_client.region} -- {error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}"
)
def __describe_snapshots__(self, regional_client):
try:
snapshots_in_region = False
describe_snapshots_paginator = regional_client.get_paginator(
"describe_snapshots"
)
for page in describe_snapshots_paginator.paginate(OwnerIds=["self"]):
for snapshot in page["Snapshots"]:
arn = f"arn:{self.audited_partition}:ec2:{regional_client.region}:{self.audited_account}:snapshot/{snapshot['SnapshotId']}"
if not self.audit_resources or (
is_resource_filtered(arn, self.audit_resources)
):
if snapshots_in_region is False:
snapshots_in_region = True
self.snapshots.append(
Snapshot(
id=snapshot["SnapshotId"],
arn=arn,
region=regional_client.region,
encrypted=snapshot.get("Encrypted", False),
tags=snapshot.get("Tags"),
volume=snapshot["VolumeId"],
)
)
# Store that the volume has at least one snapshot
self.volumes_with_snapshots[snapshot["VolumeId"]] = True
# Store that the region has at least one snapshot
self.regions_with_snapshots[regional_client.region] = snapshots_in_region
except Exception as error:
logger.error(
f"{regional_client.region} -- {error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}"
)
def __determine_public_snapshots__(self, snapshot):
try:
regional_client = self.regional_clients[snapshot.region]
snapshot_public = regional_client.describe_snapshot_attribute(
Attribute="createVolumePermission", SnapshotId=snapshot.id
)
for permission in snapshot_public["CreateVolumePermissions"]:
if "Group" in permission:
if permission["Group"] == "all":
snapshot.public = True
except ClientError as error:
if error.response["Error"]["Code"] == "InvalidSnapshot.NotFound":
logger.warning(
f"{snapshot.region} --"
f" {error.__class__.__name__}[{error.__traceback__.tb_lineno}]:"
f" {error}"
)
except Exception as error:
logger.error(
f"{error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}"
)
def __describe_network_interfaces__(self, regional_client):
try:
# Get Network Interfaces with Public IPs
describe_network_interfaces_paginator = regional_client.get_paginator(
"describe_network_interfaces"
)
for page in describe_network_interfaces_paginator.paginate():
for interface in page["NetworkInterfaces"]:
eni = NetworkInterface(
id=interface["NetworkInterfaceId"],
association=interface.get("Association", {}),
attachment=interface.get("Attachment", {}),
private_ip=interface.get("PrivateIpAddress"),
type=interface["InterfaceType"],
subnet_id=interface["SubnetId"],
vpc_id=interface["VpcId"],
region=regional_client.region,
tags=interface.get("TagSet"),
)
self.network_interfaces.append(eni)
# Add Network Interface to Security Group
# 'Groups': [
# {
# 'GroupId': 'sg-xxxxx',
# 'GroupName': 'default',
# },
# ],
self.__add_network_interfaces_to_security_groups__(
eni, interface.get("Groups", [])
)
except Exception as error:
logger.error(
f"{regional_client.region} -- {error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}"
)
def __add_network_interfaces_to_security_groups__(
self, interface, interface_security_groups
):
try:
for sg in interface_security_groups:
for security_group in self.security_groups.values():
if security_group.id == sg["GroupId"]:
security_group.network_interfaces.append(interface)
except Exception as error:
logger.error(
f"{error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}"
)
def __get_instance_user_data__(self, instance):
try:
regional_client = self.regional_clients[instance.region]
user_data = regional_client.describe_instance_attribute(
Attribute="userData", InstanceId=instance.id
)["UserData"]
if "Value" in user_data:
instance.user_data = user_data["Value"]
except ClientError as error:
if error.response["Error"]["Code"] == "InvalidInstanceID.NotFound":
logger.warning(
f"{error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}"
)
except Exception as error:
logger.error(
f"{error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}"
)
def __describe_images__(self, regional_client):
try:
for image in regional_client.describe_images(Owners=["self"])["Images"]:
arn = f"arn:{self.audited_partition}:ec2:{regional_client.region}:{self.audited_account}:image/{image['ImageId']}"
if not self.audit_resources or (
is_resource_filtered(arn, self.audit_resources)
):
self.images.append(
Image(
id=image["ImageId"],
arn=arn,
name=image["Name"],
public=image.get("Public", False),
region=regional_client.region,
tags=image.get("Tags"),
)
)
except Exception as error:
logger.error(
f"{regional_client.region} -- {error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}"
)
def __describe_volumes__(self, regional_client):
try:
describe_volumes_paginator = regional_client.get_paginator(
"describe_volumes"
)
for page in describe_volumes_paginator.paginate():
for volume in page["Volumes"]:
arn = f"arn:{self.audited_partition}:ec2:{regional_client.region}:{self.audited_account}:volume/{volume['VolumeId']}"
if not self.audit_resources or (
is_resource_filtered(arn, self.audit_resources)
):
self.volumes.append(
Volume(
id=volume["VolumeId"],
arn=arn,
region=regional_client.region,
encrypted=volume["Encrypted"],
tags=volume.get("Tags"),
)
)
except Exception as error:
logger.error(
f"{regional_client.region} -- {error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}"
)
def __describe_ec2_addresses__(self, regional_client):
try:
for address in regional_client.describe_addresses()["Addresses"]:
public_ip = None
association_id = None
allocation_id = None
if "PublicIp" in address:
public_ip = address["PublicIp"]
if "AssociationId" in address:
association_id = address["AssociationId"]
if "AllocationId" in address:
allocation_id = address["AllocationId"]
elastic_ip_arn = f"arn:{self.audited_partition}:ec2:{regional_client.region}:{self.audited_account}:eip-allocation/{allocation_id}"
if not self.audit_resources or (
is_resource_filtered(elastic_ip_arn, self.audit_resources)
):
self.elastic_ips.append(
ElasticIP(
public_ip=public_ip,
association_id=association_id,
allocation_id=allocation_id,
arn=elastic_ip_arn,
region=regional_client.region,
tags=address.get("Tags"),
)
)
except Exception as error:
logger.error(
f"{regional_client.region} -- {error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}"
)
def __get_ebs_encryption_settings__(self, regional_client):
try:
volumes_in_region = self.attributes_for_regions.get(
regional_client.region, []
)
volumes_in_region = volumes_in_region.get("has_volumes", False)
self.ebs_encryption_by_default.append(
EbsEncryptionByDefault(
status=regional_client.get_ebs_encryption_by_default()[
"EbsEncryptionByDefault"
],
volumes=volumes_in_region,
region=regional_client.region,
)
)
except Exception as error:
logger.error(
f"{regional_client.region} -- {error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}"
)
def __get_snapshot_block_public_access_state__(self, regional_client):
try:
snapshots_in_region = self.attributes_for_regions.get(
regional_client.region, []
)
snapshots_in_region = snapshots_in_region.get("has_snapshots", False)
self.ebs_block_public_access_snapshots_states.append(
EbsSnapshotBlockPublicAccess(
status=regional_client.get_snapshot_block_public_access_state()[
"State"
],
snapshots=snapshots_in_region,
region=regional_client.region,
)
)
except Exception as error:
logger.error(
f"{regional_client.region} -- {error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}"
)
def __get_instance_metadata_defaults__(self, regional_client):
try:
instances_in_region = self.attributes_for_regions.get(
regional_client.region, []
)
instances_in_region = instances_in_region.get("has_instances", False)
metadata_defaults = regional_client.get_instance_metadata_defaults()
account_level = metadata_defaults.get("AccountLevel", {})
self.instance_metadata_defaults.append(
InstanceMetadataDefaults(
http_tokens=account_level.get("HttpTokens", None),
instances=instances_in_region,
region=regional_client.region,
)
)
except Exception as error:
logger.error(
f"{regional_client.region} -- {error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}"
)
def __get_resources_for_regions__(self, regional_client):
try:
has_instances = False
for instance in self.instances:
if instance.region == regional_client.region:
has_instances = True
break
has_snapshots = False
for snapshot in self.snapshots:
if snapshot.region == regional_client.region:
has_snapshots = True
break
has_volumes = False
for volume in self.volumes:
if volume.region == regional_client.region:
has_volumes = True
break
self.attributes_for_regions[regional_client.region] = {
"has_instances": has_instances,
"has_snapshots": has_snapshots,
"has_volumes": has_volumes,
}
except Exception as error:
logger.error(
f"{regional_client.region} -- {error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}"
)
def __describe_launch_templates(self, regional_client):
try:
describe_launch_templates_paginator = regional_client.get_paginator(
"describe_launch_templates"
)
for page in describe_launch_templates_paginator.paginate():
for template in page["LaunchTemplates"]:
template_arn = f"arn:aws:ec2:{regional_client.region}:{self.audited_account}:launch-template/{template['LaunchTemplateId']}"
if not self.audit_resources or (
is_resource_filtered(template_arn, self.audit_resources)
):
self.launch_templates.append(
LaunchTemplate(
name=template["LaunchTemplateName"],
id=template["LaunchTemplateId"],
arn=template_arn,
region=regional_client.region,
versions=[],
)
)
except Exception as error:
logger.error(
f"{regional_client.region} -- {error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}"
)
def __get_launch_template_versions__(self, launch_template):
try:
regional_client = self.regional_clients[launch_template.region]
describe_launch_template_versions_paginator = regional_client.get_paginator(
"describe_launch_template_versions"
)
for page in describe_launch_template_versions_paginator.paginate(
LaunchTemplateId=launch_template.id
):
for template_version in page["LaunchTemplateVersions"]:
launch_template.versions.append(
LaunchTemplateVersion(
version_number=template_version["VersionNumber"],
template_data=template_version["LaunchTemplateData"],
)
)
except Exception as error:
logger.error(
f"{regional_client.region} -- {error.__class__.__name__}[{error.__traceback__.tb_lineno}]: {error}"
)
class Instance(BaseModel):
id: str
arn: str
state: str
region: str
type: str
image_id: str
launch_time: datetime
private_dns: str
private_ip: Optional[str]
public_dns: Optional[str]
public_ip: Optional[str]
user_data: Optional[str]
http_tokens: Optional[str]
http_endpoint: Optional[str]
monitoring_state: str
security_groups: list[str]
subnet_id: str
instance_profile: Optional[dict]
tags: Optional[list] = []
class Snapshot(BaseModel):
id: str
arn: str
region: str
encrypted: bool
public: bool = False
tags: Optional[list] = []
volume: Optional[str]
class Volume(BaseModel):
id: str
arn: str
region: str
encrypted: bool
tags: Optional[list] = []
class NetworkInterface(BaseModel):
id: str
association: dict
attachment: dict
private_ip: Optional[str]
type: str
subnet_id: str
vpc_id: str
region: str
tags: Optional[list] = []
class SecurityGroup(BaseModel):
name: str
region: str
id: str
vpc_id: str
associated_sgs: list
network_interfaces: list[NetworkInterface] = []
ingress_rules: list[dict]
egress_rules: list[dict]
tags: Optional[list] = []
class NetworkACL(BaseModel):
id: str
arn: str
name: str
region: str
entries: list[dict]
tags: Optional[list] = []
class ElasticIP(BaseModel):
public_ip: Optional[str]
association_id: Optional[str]
arn: str
allocation_id: Optional[str]
region: str
tags: Optional[list] = []
class Image(BaseModel):
id: str
arn: str
name: str
public: bool
region: str
tags: Optional[list] = []
class EbsEncryptionByDefault(BaseModel):
status: bool
volumes: bool
region: str
class EbsSnapshotBlockPublicAccess(BaseModel):
status: str
snapshots: bool
region: str
class InstanceMetadataDefaults(BaseModel):
http_tokens: Optional[str]
instances: bool
region: str
class LaunchTemplateVersion(BaseModel):
version_number: int
template_data: dict
class LaunchTemplate(BaseModel):
name: str
id: str
arn: str
region: str
versions: list[LaunchTemplateVersion] = []
```
|
Tikhov is an eroded lunar impact crater on the Moon's far side. It is nearly attached to the east-southeastern outer rim of the larger crater Avogadro. About one crater diameter the east-northeast of Tikhov is the equally worn crater Emden, and to south-southeast lies the younger Tsinger.
This feature has been battered by subsequent impacts, leaving a series of smaller craters along the rim, inner wall, and floor of the crater. The most recent of these impacts are several small, cup-shaped craters along the eastern rim and inner wall and floor. As a result of this wear, the outer rim is rounded and uneven, although the circular nature of the rim can still be discerned.
See also
Asteroid 2251 Tikhov
References
Impact craters on the Moon
|
In mathematics, a Borwein integral is an integral whose unusual properties were first presented by mathematicians David Borwein and Jonathan Borwein in 2001. Borwein integrals involve products of , where the sinc function is given by for not equal to 0, and .
These integrals are remarkable for exhibiting apparent patterns that eventually break down. The following is an example.
This pattern continues up to
At the next step the pattern fails,
In general, similar integrals have value whenever the numbers are replaced by positive real numbers such that the sum of their reciprocals is less than 1.
In the example above, but
With the inclusion of the additional factor , the pattern holds up over a longer series,
but
In this case, but . The exact answer can be calculated using the general formula provided in the next section, and a representation of it is shown below. Fully expanded, this value turns into a fraction that involves two 2736 digit integers.
The reason the original and the extended series break down has been demonstrated with an intuitive mathematical explanation. In particular, a random walk reformulation with a causality argument sheds light on the pattern breaking and opens the way for a number of generalizations.
General formula
Given a sequence of nonzero real numbers, , a general formula for the integral
can be given. To state the formula, one will need to consider sums involving the . In particular, if is an -tuple where each entry is , then we write , which is a kind of alternating sum of the first few , and we set , which is either . With this notation, the value for the above integral is
where
In the case when , we have .
Furthermore, if there is an such that for each we have and , which means that is the first value when the partial sum of the first elements of the sequence exceed , then for each but
The first example is the case when .
Note that if then and but , so because , we get that
which remains true if we remove any of the products, but that
which is equal to the value given previously.
/* This is a sample program to demonstrate for Computer Algebra System "maxima". */
f(n) := if n=1 then sin(x)/x else f(n-2) * (sin(x/n)/(x/n));
for n from 1 thru 15 step 2 do (
print("f(", n, ")=", f(n) ),
print("integral of f for n=", n, " is ", integrate(f(n), x, 0, inf)) );
/* This is also sample program of another problem. */
f(n) := if n=1 then sin(x)/x else f(n-2) * (sin(x/n)/(x/n)); g(n) := 2*cos(x) * f(n);
for n from 1 thru 19 step 2 do (
print("g(", n, ")=", g(n) ),
print("integral of g for n=", n, " is ", integrate(g(n), x, 0, inf)) );
Method to solve Borwein integrals
An exact integration method that is efficient for evaluating Borwein-like integrals is discussed here. This integration method works by reformulating integration in terms of a series of differentiations and it yields intuition into the unusual behavior of the Borwein integrals. The Integration by Differentiation method is applicable to general integrals, including Fourier and Laplace transforms. It is used in the integration engine of Maple since 2019. The Integration by Differentiation method is independent of the Feynman method that also uses differentiation to integrate.
Infinite products
While the integral
becomes less than when exceeds 6, it never becomes much less, and in fact Borwein and Bailey have shown
where we can pull the limit out of the integral thanks to the dominated convergence theorem. Similarly, while
becomes less than when exceeds 55, we have
Furthermore, using the Weierstrass factorizations
one can show
and with a change of variables obtain
and
Probabilistic formulation
Schmuland has given appealing probabilistic formulations of the infinite product Borwein integrals. For example, consider the random harmonic series
where one flips independent fair coins to choose the signs. This series converges almost surely, that is, with probability 1. The probability density function of the result is a well-defined function, and value of this function at 2 is close to 1/8. However, it is closer to
Schmuland's explanation is that this quantity is times
References
External links
Integrals
|
George Smith (26 March 1840 – 19 August 1876) was a pioneering English Assyriologist who first discovered and translated the Epic of Gilgamesh, one of the oldest-known written works of literature.
Early life and early career
As the son of a working-class family in Victorian England, Smith was limited in his ability to acquire a formal education. At age fourteen, he was apprenticed to the London-based publishing house of Bradbury and Evans to learn banknote engraving, at which he excelled. From his youth, he was fascinated with Assyrian culture and history. In his spare time, he read everything that was available to him on the subject. His interest was so keen that while working at the printing firm, he spent his lunch hours at the British Museum, studying publications on the cuneiform tablets that had been unearthed near Mosul in present-day Iraq by Austen Henry Layard, Henry Rawlinson, and Hormuzd Rassam, during the archaeological expeditions of 1840–1855. In 1863 Smith married Mary Clifton (18351883), and they had six children.
British Museum
Smith's natural talent for cuneiform studies was first noticed by Samuel Birch, Egyptologist and Director of the Department of Antiquities, who brought the young man to the attention of the renowned Assyriologist Sir Henry Rawlinson. As early as 1861, he was working evenings sorting and cleaning the mass of friable fragments of clay cylinders and tablets in the Museum's storage rooms. In 1866 Smith made his first important discovery, the date of the payment of the tribute by Jehu, king of Israel, to Shalmaneser III. Sir Henry suggested to the Trustees of the Museum that Smith should join him in the preparation of the third and fourth volumes of The Cuneiform Inscriptions of Western Asia. Following the death of William H. Coxe in 1869 and with letters of reference from Rawlinson, Layard, William Henry Fox Talbot, and Edwin Norris, Smith was appointed Senior Assistant in the Assyriology Department early in 1870.
Discovery of inscriptions
Smith's earliest successes were the discoveries of two unique inscriptions early in 1867. The first, a total eclipse of the sun in the month of Sivan inscribed on Tablet K51, he linked to the spectacular eclipse that occurred on 15 June 763 BC, a description of which had been published 80 years earlier by French historian François Clément (17141793) in L'art de vérifier les dates des faits historiques. This discovery is the cornerstone of ancient Near Eastern chronology. The other was the date of an invasion of Babylonia by the Elamites in 2280 BC.
In 1871, Smith published Annals of Assur-bani-pal, transliterated and translated, and communicated to the newly founded Society of Biblical Archaeology a paper on "The Early History of Babylonia", and an account of his decipherment of the Cypriote inscriptions.
Epic of Gilgamesh and expedition to Nineveh
In 1872, Smith achieved worldwide fame by his translation of the Chaldaean account of the Great Flood, which he read before the Society of Biblical Archaeology on 3 December. The audience included the sitting prime minister, William Ewart Gladstone. According to the accounts of his coworkers in the reading room, on the day of the discovery, when Smith realized what he was reading he "began to remove articles of his clothing" and run around the room shouting in delight.
This work is better known today as the eleventh tablet of the Epic of Gilgamesh, one of the oldest known works of literature, discovered by Hormuzd Rassam in 1853 on an archaeological mission for the British Museum on behalf of his colleague and mentor Austen Henry Layard. The following January, Edwin Arnold, the editor of The Daily Telegraph, arranged for Smith to go to Nineveh at the expense of that newspaper and carry out excavations with a view to finding the missing fragments of the Flood story. This journey resulted not only in the discovery of some missing tablets, but also of fragments that recorded the succession and duration of the Babylonian dynasties.
In November 1873 Smith again left England for Nineveh for a second expedition, this time at the expense of the Museum, and continued his excavations at the tell of Kouyunjik (Nineveh). An account of his work is given in Assyrian Discoveries, published early in 1875. The rest of the year was spent in fixing together and translating the fragments relating to the creation, the results of which were published in The Chaldaean Account of Genesis (1880, co-written with Archibald Sayce).
Final expedition and death
In March 1876, the trustees of the British Museum sent Smith once more to excavate the rest of the Library of Ashurbanipal. At İkizce, a small village about sixty miles northeast of Aleppo, he fell ill with dysentery. He died in Aleppo on 19 August. He left a wife and several children to whom an annuity of 150 pounds was granted by the Queen.
Bibliography
Smith wrote about eight important works, including linguistic studies, historical works, and translations of major Mesopotamian literary texts. They include:
George Smith (1871). History of Assurbanipal, translated from the cuneiform inscriptions.
George Smith (1875). Assyrian Discoveries: An Account of Explorations and Discoveries on the Site of Nineveh, During 1873 to 1874
George Smith (1876). The Chaldean Account of Genesis
George Smith (18). The History of Babylonia. Edited by Archibald Henry Sayce.
Online editions
History of Assurbanipal, translated from the cuneiform inscriptions. London: Williams and Norgate, 1871. From Google Books.
Assyrian Discoveries. New York: Scribner, Armstrong & Co., 1876. From Google Books.
The Chaldean Account of Genesis. New York: Scribner, Armstrong & Co., 1876. From WisdomLib.
History of Sennacherib. London: Williams and Norgate, 1878. From Internet Archive.
The History of Babylonia. London: Society for Promoting Christian Knowledge; New York: E. & J. B. Young. From Internet Archive.
References
David Damrosch. The Buried Book: The Loss and Rediscovery of the Great Epic of Gilgamesh (2007). . Ch 1–2 (80 pages) of Smith's life, includes new-found evidence about Smith's death.
C. W. Ceram [Kurt W. Marek] (1967), Gods, Graves and Scholars: The Story of Archeology, trans. E. B. Garside and Sophie Wilkins, 2nd ed. New York: Knopf, 1967. See chapter 22.
Robert S. Strother (1971). "The great good luck of Mister Smith", in Saudi Aramco World, Volume 22, Number 1, January/February 1971. Last accessed March 2007.
"George Smith" (1876), by Archibald Henry Sayce, in Littell's Living Age, Volume 131, Issue 1687.
David Damrosch (2007). "Epic Hero", in Smithsonian, Volume 38, Number 2, May 2007.
Notes
External links
Smith, The Chaldean account of Genesis Cornell University Library Historical Monographs Collection.
The Chaldean account of Genesis HTML with images
George Smith | British Assyriologist
1840 births
1876 deaths
People from Chelsea, London
English archaeologists
English Assyriologists
Deaths from dysentery
Victorian writers
19th-century English writers
19th-century British archaeologists
British expatriates in the Ottoman Empire
Gilgamesh
Assyriologists
Nineveh
|
Aroga pascuicola is a moth of the family Gelechiidae. It is found in Portugal, Spain and Russia, as well as on Corsica and Sardinia. It has also been recorded from Algeria and Turkey.
References
Moths described in 1871
Aroga
Moths of Europe
Moths of Africa
Moths of Asia
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.